JP2007310731A - Data transfer device and image forming device - Google Patents

Data transfer device and image forming device Download PDF

Info

Publication number
JP2007310731A
JP2007310731A JP2006140643A JP2006140643A JP2007310731A JP 2007310731 A JP2007310731 A JP 2007310731A JP 2006140643 A JP2006140643 A JP 2006140643A JP 2006140643 A JP2006140643 A JP 2006140643A JP 2007310731 A JP2007310731 A JP 2007310731A
Authority
JP
Japan
Prior art keywords
control circuit
data
dmac
dma
data transfer
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2006140643A
Other languages
Japanese (ja)
Inventor
Etsuo Nagai
悦夫 永井
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ricoh Co Ltd
Original Assignee
Ricoh Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP2006140643A priority Critical patent/JP2007310731A/en
Publication of JP2007310731A publication Critical patent/JP2007310731A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To control starting and interruption of respective DMAC at a high speed, even when controlling transfer of data between a data processor and a memory, by using a plurality of DMAC for one processing function. <P>SOLUTION: A DMA starting control circuit 18 is a circuit by hardware arranged by this invention. When a data processing mode is set in a mode setting register 19, which DMAC of respective DMAC of a plurality of #1DMA12 to #3DMA14 is used, in which order the DMAC is started and in which order the DMAC is finished, are univocally determined, and starting of the DMAC is automatically controlled. The DMA starting control circuit 18 also monitors state signals A1 to A3 of indicating whether or not the respective #1DMA12 to #3DMA14 are put in a state of transferring image data between the circuit and a data processing circuit, and controls the starting of the respective DMAC of the #1DMA12 to #3DMA14 with every processing mode on the basis of these state signals. <P>COPYRIGHT: (C)2008,JPO&INPIT

Description

本発明は、データ転送装置及び画像形成装置に係り、特に、MFP等の画像形成装置内で画像データの処理を行う場合等に利用して好適なデータ転送装置及びこれを利用した画像形成装置に関する。   The present invention relates to a data transfer apparatus and an image forming apparatus, and more particularly to a data transfer apparatus suitable for use in processing image data in an image forming apparatus such as an MFP, and an image forming apparatus using the same. .

近年、LSI(大規模集積回路)は、動作速度は高速化し、微細加工技術の向上により多くの機能が、1つのLSIに集積することが可能になっている。それに伴い、画像形成装置内での画像データの処理は、画像処理を行うデータ処理装置とメモリとの間でのデータの転送を、画像データ処理の1つの機能に複数のDMAC(LSIにより構成され、CPUの力を利用せずに自身で直接メモリにアクセスする機能を有する)を割り当てて、複雑な画像処理の機能を並列処理により実現することができるようになっている。   In recent years, LSIs (Large Scale Integrated Circuits) have increased operating speed, and it has become possible to integrate more functions into one LSI due to improvements in microfabrication technology. Accordingly, the image data processing in the image forming apparatus is composed of a plurality of DMACs (LSIs) for transferring data between the data processing apparatus that performs image processing and the memory as one function of image data processing. And having a function of directly accessing the memory by itself without using the power of the CPU), a complex image processing function can be realized by parallel processing.

この場合、個々のDMACの動作タイミングの制御等も複雑になっており、通常、個々のDMACの動作タイミングの制御は、ソフトウェアによる制御により個々のDMACを制御することにより行われている。この制御は、1つの機能に利用する複数のDMACの起動タイミング等の組み合わせが膨大になり、データ処理のモードにより各DMACの起動順に制約がある場合にも、制御手順書からソフトウェアにより各DMACの起動タイミングを調整して実現されている。   In this case, the control of the operation timing of each DMAC is complicated, and usually the operation timing of each DMAC is controlled by controlling each DMAC by software control. This control has a huge number of combinations of activation timings of a plurality of DMACs used for one function, and even if there is a restriction on the activation order of each DMAC depending on the data processing mode, each DMAC can be controlled by software from the control procedure manual. It is realized by adjusting the start timing.

なお、画像処理を行うデータ処理装置とメモリとの間でのデータの転送を、複数のDMACを使用して制御する従来技術として、例えば、特許文献1等に記載された技術が知られている。
特開2002−278916号公報
As a conventional technique for controlling data transfer between a data processing apparatus that performs image processing and a memory using a plurality of DMACs, for example, a technique described in Patent Document 1 is known. .
JP 2002-278916 A

前述したソフトウェアにより各DMACの起動タイミングを調整する従来技術は、ソフトウェアを複雑化するだけでなく、ハードウェアによる回路を動作制御する時間単位とソフトウェアで制御できる時間単位とに差があるため、システム動作としてタイムロスを発生させてしまうという問題点を有している。   The conventional technique for adjusting the start timing of each DMAC by the software described above not only complicates the software, but also there is a difference between a time unit for controlling the operation of a hardware circuit and a time unit that can be controlled by the software. There is a problem that time loss occurs as an operation.

また、前述の従来技術は、予期しないタイミング等でDMACを動作制御してしまうことがあり、多くの問題を発生させると共に、ハードウェアによる回路で可能な最短時間での制御動作に比べ、必要以上に多くの時間を要する制御しかできないため、システム全体としてのパフォーマンスが劣化させてしまうという問題点も生じさせている。   In addition, the above-described conventional technology may control the operation of the DMAC at an unexpected timing, which causes many problems and is more than necessary as compared with the control operation in the shortest time possible with a hardware circuit. However, since only time-consuming control can be performed, the performance of the entire system is deteriorated.

本発明の目的は、前述した従来技術の問題点を解決し、データ処理装置とメモリとの間でのデータの転送を、1つの処理機能に対して複数のDMACを使用して制御する場合にも、各DMACの起動を一括制御して高速に制御することを可能としたデータ転送装置及びこれを利用した画像形成装置を提供することにある。   An object of the present invention is to solve the above-mentioned problems of the prior art and to control data transfer between a data processing apparatus and a memory using a plurality of DMACs for one processing function. Another object of the present invention is to provide a data transfer apparatus capable of controlling the start-up of each DMAC at once and controlling it at high speed, and an image forming apparatus using the data transfer apparatus.

前記目的を解決するための本発明の第1の手段は、データ処理装置とメモリとの間で、データ処理のためのデータの転送を制御するデータ転送装置において、DMA起動制御回路と複数のDMACとを備え、前記DMA起動制御回路は、前記複数のDMACの起動を、1つの処理の開始指示により、所定の順序で実行することを特徴とする。   A first means of the present invention for solving the above object is to provide a DMA activation control circuit and a plurality of DMACs in a data transfer device that controls the transfer of data for data processing between the data processing device and the memory. The DMA activation control circuit executes activation of the plurality of DMACs in a predetermined order in response to an instruction to start one process.

また、本発明の第2の手段は、第1の手段において、前記DMA起動制御回路は、データ処理モードが設定され、このモードに応じて動作するDMACを切り替え制御することを特徴とする。   The second means of the present invention is characterized in that, in the first means, the DMA activation control circuit sets a data processing mode and switches and controls a DMAC operating in accordance with this mode.

また、本発明の第3の手段は、第1または第2の手段において、前記DMA起動制御回路は、ハードウェアにより構成され、ソフトウェアによる個別の制御手順処理を持たないことを特徴とする。   According to a third means of the present invention, in the first or second means, the DMA activation control circuit is configured by hardware and does not have individual control procedure processing by software.

また、本発明の第4の手段は、第3の手段において、前記DMA起動制御回路は、該DMA起動制御回路で可能な最短時間で前記複数のDMACの起動を制御することを特徴とする。   According to a fourth means of the present invention, in the third means, the DMA activation control circuit controls activation of the plurality of DMACs in the shortest time possible by the DMA activation control circuit.

また、本発明の第5の手段は、データ処理装置とメモリとの間で、データ処理のためのデータの転送を制御するデータ転送装置において、DMA起動制御回路と複数のDMACとを備え、前記DMA起動制御回路は、前記複数のDMACの中断を、1つの中断設定により、所定の順序で実行することを特徴とする。   According to a fifth aspect of the present invention, there is provided a data transfer device for controlling transfer of data for data processing between the data processing device and the memory, comprising a DMA activation control circuit and a plurality of DMACs, The DMA activation control circuit executes the interruption of the plurality of DMACs in a predetermined order by one interruption setting.

また、本発明の第6の手段は、第5の手段において、前記DMA起動制御回路は、データ処理モードが設定され、このモードに応じて中断するDMACを切り替え制御することを特徴とする。   The sixth means of the present invention is characterized in that, in the fifth means, the DMA activation control circuit sets a data processing mode and switches and controls the DMAC to be interrupted in accordance with this mode.

また、本発明の第7の手段は、第5または第6の手段において、前記DMA起動制御回路は、ハードウェアにより構成され、ソフトウェアによる個別の制御手順処理を持たないことを特徴とする。   According to a seventh means of the present invention, in the fifth or sixth means, the DMA activation control circuit is configured by hardware and does not have individual control procedure processing by software.

また、本発明の第8の手段は、第7の手段において、前記DMA起動制御回路は、該DMA起動制御回路で可能な最短時間で前記複数のDMACの中断を制御することを特徴とする。   According to an eighth means of the present invention, in the seventh means, the DMA activation control circuit controls interruption of the plurality of DMACs in the shortest time possible by the DMA activation control circuit.

また、本発明の第9の手段は、画像データの処理を行う機能を有する画像形成装置において、画像データの処理のために、第1ないし第8の手段のうち何れか1に記載のデータ転送装置を備えることを特徴とする。   According to a ninth aspect of the present invention, in the image forming apparatus having a function of processing image data, the data transfer described in any one of the first to eighth means is performed for processing the image data. A device is provided.

さらに、本発明の第10の手段は、第9の手段において、前記データ転送装置が、画像処理の種類毎に、複数備えられることを特徴とする。   Furthermore, a tenth means of the present invention is the ninth means characterized in that a plurality of data transfer devices are provided for each type of image processing.

本発明によれば、複数のDMACのそれぞれを、自動的に、かつ、最適のタイミングで起動し、また、自動的に、かつ、最適のタイミングで各DMACを順次中断していくことができるので、ソフトウェア制御による場合のような制御制約がなく、高速に各DMACを制御することができる。   According to the present invention, each of the plurality of DMACs can be started automatically and at the optimum timing, and each DMAC can be interrupted sequentially and automatically at the optimum timing. Each DMAC can be controlled at high speed without any control restrictions as in the case of software control.

図1は本発明の一実施形態によるデータ転送装置の構成を示すブロック図である。以下に説明する本発明の実施形態は、MFP等の画像形成装置内で画像データの処理を行う場合等に利用するものとして説明するが、1つの機能を複数のDMACを使用して実行するものであれば、一般的な情報処理装置内に設けられ、各種のデータ処理に利用されるデータ転送装置にも適用することができる。   FIG. 1 is a block diagram showing a configuration of a data transfer apparatus according to an embodiment of the present invention. The embodiment of the present invention described below is described as being used when image data is processed in an image forming apparatus such as an MFP. However, one function is executed using a plurality of DMACs. If so, the present invention can also be applied to a data transfer apparatus provided in a general information processing apparatus and used for various data processing.

図1に示す本発明の実施形態によるデータ転送装置は、データ処理回路11と、DMACとしての複数の#1DMA12〜#3DMA14と、メモリアービタ回路15と、メモリI/F回路16と、外部メモリ17と、DMA起動制御回路18と、モード設定レジスタ19とにより構成される。なお、図1では、DMACを3つ備えるとして示しているが、DMACの数は、限定されるものてはなく幾つあってもよい。   A data transfer apparatus according to an embodiment of the present invention shown in FIG. 1 includes a data processing circuit 11, a plurality of # 1DMA12 to # 3DMA14 as a DMAC, a memory arbiter circuit 15, a memory I / F circuit 16, and an external memory 17 And a DMA start control circuit 18 and a mode setting register 19. Although FIG. 1 shows that three DMACs are provided, the number of DMACs is not limited and may be any number.

このように構成されるデータ転送装置は、MFP等の画像形成装置内で画像データの処理を行う場合等に利用される場合、例えば、外部メモリ17内の画像データが、#1DMA12〜#3DMA14の1つにより読み出されてデータ処理回路11に与えられ、データ処理回路11が処理した画像データを、#1DMA12〜#3DMA14の1つを介して外部メモリ17に格納するというように利用される。そして、#1DMA12〜#3DMA14は、外部メモリ17に対するデータの書き込み読み出しのためのメモリアクセスを、メモリアービタ回路15、メモリI/F回路16を介して行い、データ処理回路11に対するデータの書き込み読み出しのためのアクセスを直接行う。   When the data transfer apparatus configured as described above is used when processing image data in an image forming apparatus such as an MFP, for example, the image data in the external memory 17 is stored in # 1DMA12 to # 3DMA14. The image data read out by one and given to the data processing circuit 11 and processed by the data processing circuit 11 is used to be stored in the external memory 17 through one of # 1DMA12 to # 3DMA14. The # 1DMA12 to # 3DMA14 perform memory access for writing / reading data to / from the external memory 17 via the memory arbiter circuit 15 and the memory I / F circuit 16, and write / read data to / from the data processing circuit 11. For direct access.

なお、外部メモリ17は、そのメモリ形態を問わずどのようなものであってもよく、例えば、DRAMによるメモリ、ハードディスク等の記憶装置、ネットワークを介して接続される他の装置内のメモリ、記憶装置であってよい。   The external memory 17 may be in any form regardless of its memory form, for example, a memory by DRAM, a storage device such as a hard disk, a memory in other devices connected via a network, a storage It may be a device.

前述において、データ処理回路11での画像データの処理としては、例えば、画像の回転、縮小、拡大、合成等を代表的なものとして挙げることができ、これらの画像処理の種類(以下、機能という)毎に、複数の#1DMA12〜#3DMA14と、DMA起動制御回路18と、モード設定レジスタ19とのセットが、機能の数だけ設けられる。これは、異なる機能の実行が同時並行的に行われることが多いためである。   In the above description, examples of the image data processing in the data processing circuit 11 include, for example, image rotation, reduction, enlargement, composition, and the like, and these types of image processing (hereinafter referred to as functions). ), A plurality of sets of # 1DMA12 to # 3DMA14, DMA activation control circuit 18, and mode setting register 19 are provided for each function. This is because different functions are often executed concurrently.

1つの機能の実行のために1または複数のDMACが同時に使用される。そして、同時に使用される複数のDMACは、1つの機能(画像処理)の実行のため必要なモード情報に従って、それぞれの起動タイミングが予め定められており、DMA起動制御回路18は、データ処理モード情報が設定されるモード設定レジスタ19の内容に従って、#1DMA12〜#3DMA14の各DMACの起動をハードウェア的に制御している。各機能毎のデータ処理モードの情報は、各機能により異なるものが用意されるが、1ピクセルのビット数を示す画像の種類、1枚の画像の大きさ(縦横のピクセル数)等を代表的なものとして挙げることができる。   One or more DMACs are used simultaneously to perform a function. A plurality of DMACs used at the same time have their activation timings determined in advance according to mode information necessary for executing one function (image processing), and the DMA activation control circuit 18 uses the data processing mode information. In accordance with the contents of the mode setting register 19 in which is set, activation of each DMAC of # 1DMA12 to # 3DMA14 is controlled by hardware. Information on the data processing mode for each function is prepared for each function, but the type of image indicating the number of bits per pixel, the size of the image (number of pixels in the vertical and horizontal directions), etc. are representative. Can be cited as

DMA起動制御回路18は、本発明により設けられたハードウェアによる回路であり、データ処理モードがモード設定レジスタ19に設定されると、複数の#1DMA12〜#3DMA14の各DMACのどのDMACを使用し、どのような順序で起動するか、どのような順序で終了させていけばよいかを、一意に決定し自動的にDMACの起動を管理する。また、DMA起動制御回路18は、各#1DMA12〜#3DMA14がデータ処理回路11との間で画像データの転送を行っている状態か否かを示す状態信号A1〜A3をモニターしており、この状態信号に基づいて、データ処理モード毎に#1DMA12〜#3DMA14の各DMACの起動を管理する。   The DMA activation control circuit 18 is a hardware circuit provided according to the present invention. When the data processing mode is set in the mode setting register 19, which DMAC of each of the plurality of # 1DMA12 to # 3DMA14 is used. The order of activation and the order of termination should be determined uniquely and the activation of the DMAC is automatically managed. The DMA activation control circuit 18 monitors status signals A1 to A3 indicating whether or not each of the # 1DMA12 to # 3DMA14 is transferring image data to and from the data processing circuit 11. Based on the status signal, activation of each DMAC of # 1DMA12 to # 3DMA14 is managed for each data processing mode.

前述したデータ処理モードの設定は、図示しない画像形成装置全体の制御を行う制御装置からソフトウェアにより行われる。そして、このソフトウェアは、データ処理モードの設定後、処理の開始をDMA起動制御回路18に指示するだけでよいことになり、このソフトウェアの構成をよりシンプルなものとすることができる。また、ハードウェアによるDMA起動制御回路18の動作速度により最短時間での制御が可能になり、システムの動作速度がソフトウェアに依存しなくなり、タイムロスをなくすことができる。   The setting of the data processing mode described above is performed by software from a control device that controls the entire image forming apparatus (not shown). This software only needs to instruct the DMA activation control circuit 18 to start processing after the data processing mode is set, and the configuration of this software can be simplified. Further, the operation speed of the DMA activation control circuit 18 by hardware enables the control in the shortest time, the system operation speed does not depend on the software, and time loss can be eliminated.

図2は図1に示すデータ転送装置における#1DMA12〜#3DMA14の各DMACの起動について説明するタイミングチャートである。ここに示す図は、ある1つの機能の実行のためのデータ転送装置におけるDMA起動制御回路18でのある1つのデータ処理モードにおける起動制御の例を示すものであるが、モードの数だけタイミング制約が存在することになる。また、図2に示す例は、1つの機能を実行するために、#1DMA12〜#3DMA14の3つのDMACを必要し、また、与えられたデータ処理モードでの起動条件が、最初に、#1DMA12を起動し、#1DMA12が起動状態にある(状態信号が立ち上がっている)ことを条件に#2DMA13を起動し、#1DMA12、#2DMA13が起動状態にある(状態信号が立ち上がっている)ことを条件に#3DMA114を起動するというものであるとしている。   FIG. 2 is a timing chart for explaining activation of the DMACs # 1DMA12 to # 3DMA14 in the data transfer apparatus shown in FIG. The figure shown here shows an example of activation control in one data processing mode in the DMA activation control circuit 18 in the data transfer apparatus for execution of a certain function. Will exist. In addition, the example shown in FIG. 2 requires three DMACs # 1DMA12 to # 3DMA14 to execute one function, and the activation condition in a given data processing mode is first set to # 1DMA12. And # 2DMA13 is activated on condition that # 1DMA12 is activated (status signal is rising), and # 1DMA12 and # 2DMA13 are activated (condition signal is rising) It is assumed that # 3DMA 114 is activated.

図2において、DMA起動制御回路18は、モード設定レジスタ19にデータ処理モード情報が設定され、時刻t0で、処理の開始が指示されたものとする。これにより、DMA起動制御回路18は、前述した起動条件から最初に#1DMA12を時刻t1で起動する。この#1DMA12の起動は、処理の開始が指示された後直ちに、クロックCLKに同期して行われる。これにより、#1DMA12が起動状態になり、データ処理回路11と#1DMA12との間の状態信号A1が立ち上がる。   In FIG. 2, it is assumed that the DMA activation control circuit 18 is set with data processing mode information in the mode setting register 19 and is instructed to start processing at time t0. As a result, the DMA activation control circuit 18 first activates # 1DMA 12 at time t1 from the activation conditions described above. The activation of # 1 DMA 12 is performed in synchronization with the clock CLK immediately after the start of processing is instructed. As a result, # 1DMA 12 is activated, and the status signal A1 between the data processing circuit 11 and # 1DMA 12 rises.

次に、DMA起動制御回路18は、#1DMA12が起動状態にあることを条件に#2DMA13を起動するという前述した起動条件に従って、状態信号A1が立ち上がったことを確認できた後、直ちに、時刻t2で#2DMA13を起動する。図2に示す例では、#1DMA12が起動された後、1クロック後に#2DMA13を起動することができるが、これは、DMA起動制御回路18がハードウェア的に制御を行っているためであり、ソフトウェア制御の場合、数十〜数百CLKかかる。   Next, the DMA activation control circuit 18 immediately confirms that the state signal A1 has risen in accordance with the above-described activation condition that the # 2DMA 13 is activated on condition that the # 1DMA 12 is in the activated state, and then immediately after the time t2 Then, # 2DMA13 is started. In the example shown in FIG. 2, after the # 1 DMA 12 is activated, the # 2 DMA 13 can be activated one clock later, because the DMA activation control circuit 18 performs hardware control. In the case of software control, it takes tens to hundreds of CLK.

次に、DMA起動制御回路18は、#1DMA12、#2DMA13が起動状態にあることを条件に#3DMA114を起動するという前述した起動条件に従って、状態信号A1が立ち上がっており、かつ、状態信号A2が立ち上がったことを確認できた後、直ちに、時刻t3で#3DMA14を起動する。この場合も、#2DMA13が起動された後、1クロック後に#3DMA14を起動することができるが、これは、DMA起動制御回路18がハードウェア的に制御を行っているためであり、ソフトウェアによる制御の場合、数十〜数百CLKかかる。   Next, the DMA activation control circuit 18 raises the state signal A1 according to the above-described activation condition of activating # 3DMA 114 on condition that # 1DMA12 and # 2DMA13 are activated, and the state signal A2 is Immediately after confirming that it has started, the # 3DMA 14 is activated at time t3. Also in this case, after # 2DMA13 is started, # 3DMA14 can be started after one clock, because this is because the DMA start control circuit 18 performs control by hardware and is controlled by software. In this case, it takes several tens to several hundreds CLK.

前述の#1DMA12の起動から#1DMA12〜#3DMA14の全てのDMACが起動されている状態で、図1に示すデータ転送装置は、与えられた機能の処理のために、データ処理回路11と外部メモリ17との間でのデータ転送の制御を行うことになる。そして、処理の終了後、#1DMA12〜#3DMA14を中断させることになるが、この場合にも、中断条件がデータ処理モードによって定められており、図2に示す例では、この中断条件が、#2DMA13、#3DMA14が起動されている状態で、#1DMA12を中断させ、#1DMA12が中断されていて、かつ、#3DMA14がまだ起動中である場合に、#2DMA13を中断させ、さらに、#1DMA12、#2DMA13がすでに中断状態にある場合に、#3DMA14を中断させるというものであるとする。   In a state where all DMACs # 1DMA12 to # 3DMA14 have been activated since the activation of # 1DMA12, the data transfer apparatus shown in FIG. 1 performs the data processing circuit 11 and the external memory for the processing of a given function. The data transfer to and from 17 is controlled. Then, after the processing ends, # 1DMA12 to # 3DMA14 are interrupted. Also in this case, the interrupting condition is determined by the data processing mode. In the example shown in FIG. When # 2DMA13 and # 3DMA14 are activated, # 1DMA12 is suspended, and when # 1DMA12 is suspended and # 3DMA14 is still activated, # 2DMA13 is suspended, and # 1DMA12, Assume that # 3DMA 14 is suspended when # 2DMA 13 is already suspended.

各DMACの中断処理を行う場合、DMA起動制御回路18は、まず、#2DMA13、#3DMA14が起動されている状態で、#1DMA12を中断するという前述した中断条件に従って、状態信号A2、A3が立ち上がっていることを確認して、時刻t4で#1DMA12を中断する。   When interrupt processing of each DMAC is performed, the DMA activation control circuit 18 first raises the status signals A2 and A3 in accordance with the above-described interruption condition that # 1DMA 12 is interrupted while # 2DMA13 and # 3DMA14 are activated. Is confirmed, and # 1DMA 12 is interrupted at time t4.

次に、DMA起動制御回路18は、#1DMA12が中断されていて、かつ、#3DMA14がまだ起動中である場合に、#2DMA13を中断するという前述した中断条件に従って、状態信号A1が立ち下がった状態にあり、状態信号A3が立ち上がっていることを確認して、時刻t5で#2DMA13を中断する。   Next, when the # 1 DMA 12 is suspended and the # 3 DMA 14 is still activated, the DMA activation control circuit 18 causes the status signal A1 to fall according to the above-described interruption condition that the # 2 DMA 13 is suspended. After confirming that the state signal A3 has risen, the # 2DMA 13 is interrupted at time t5.

その後、DMA起動制御回路18は、#1DMA12、#2DMA13がすでに中断状態にある場合に、#3DMA14を中断するという前述の中断条件に従って、状態信号A1、A2がすでに立ち下がった状態となっていることを確認して、時刻t6で#3DMA14を中断する。   After that, the DMA activation control circuit 18 is in a state in which the status signals A1 and A2 have already fallen in accordance with the above-described interruption condition that # 3DMA14 is interrupted when # 1DMA12 and # 2DMA13 are already in an interruption state. Confirming this, the # 3DMA 14 is interrupted at time t6.

前述した各#1DMA12〜#3DMA14の中断は、図2に示している例から判るように、1CLKの時間間隔で行うことができる。起動時の処理で説明したと同様に、この場合にも、ソフトウェアによる制御の場合、多くの時間がかかってしますことになる。   The interruption of each # 1 DMA 12 to # 3 DMA 14 described above can be performed at a time interval of 1 CLK, as can be seen from the example shown in FIG. As described in the process at the time of starting, in this case, it takes a lot of time for the control by software.

前述した本発明の実施形態によれば、データ処理モードがモード設定レジスタ19に設定された後、DMA起動制御回路18が、複数の#1DMA12〜#3DMA14の各DMACを、自動的に、かつ、最適のタイミングで起動し、また、自動的に、かつ、最適のタイミングで各DMACを順次中断していくことができるので、ソフトウェア制御による場合のような制御制約がなく、高速に各DMACを制御することができる。   According to the above-described embodiment of the present invention, after the data processing mode is set in the mode setting register 19, the DMA activation control circuit 18 automatically assigns each DMAC of # 1DMA12 to # 3DMA14 and Each DMAC can be started at the optimum timing and automatically and sequentially interrupted at the optimum timing, so there is no control restriction as in the case of software control, and each DMAC is controlled at high speed. can do.

本発明の一実施形態によるデータ転送装置の構成を示すブロック図である。It is a block diagram which shows the structure of the data transfer apparatus by one Embodiment of this invention. 図1に示すデータ転送装置における複数のDMACのそれぞれの起動について説明するタイミングチャートである。3 is a timing chart for explaining activation of each of a plurality of DMACs in the data transfer apparatus shown in FIG. 1.

符号の説明Explanation of symbols

11 データ処理回路
12 #1DMA
13 #2DMA
14 #3DMA
15 メモリアービタ回路
16 メモリI/F回路
17 外部メモリ
18 DMA起動制御回路
19 モード設定レジスタ
11 Data processing circuit 12 # 1 DMA
13 # 2 DMA
14 # 3DMA
15 Memory Arbiter Circuit 16 Memory I / F Circuit 17 External Memory 18 DMA Start Control Circuit 19 Mode Setting Register

Claims (10)

データ処理装置とメモリとの間で、データ処理のためのデータの転送を制御するデータ転送装置において、DMA起動制御回路と複数のDMACとを備え、
前記DMA起動制御回路は、前記複数のDMACの起動を、1つの処理の開始指示により、所定の順序で実行することを特徴とするデータ転送装置。
A data transfer device that controls transfer of data for data processing between a data processing device and a memory, comprising a DMA activation control circuit and a plurality of DMACs,
The DMA activation control circuit executes activation of the plurality of DMACs in a predetermined order according to a start instruction of one process.
前記DMA起動制御回路は、データ処理モードが設定され、このモードに応じて動作するDMACを切り替え制御することを特徴とする請求項1記載のデータ転送装置。   2. The data transfer apparatus according to claim 1, wherein the DMA activation control circuit sets a data processing mode and switches and controls a DMAC operating in accordance with the mode. 前記DMA起動制御回路は、ハードウェアにより構成され、ソフトウェアによる個別の制御手順処理を持たないことを特徴とする請求項1または2記載のデータ転送装置。   3. The data transfer apparatus according to claim 1, wherein the DMA activation control circuit is configured by hardware and does not have individual control procedure processing by software. 前記DMA起動制御回路は、該DMA起動制御回路で可能な最短時間で前記複数のDMACの起動を制御することを特徴とする請求項3記載のデータ転送装置。   4. The data transfer apparatus according to claim 3, wherein the DMA activation control circuit controls activation of the plurality of DMACs in the shortest possible time by the DMA activation control circuit. データ処理装置とメモリとの間で、データ処理のためのデータの転送を制御するデータ転送装置において、DMA起動制御回路と複数のDMACとを備え、
前記DMA起動制御回路は、前記複数のDMACの中断を、1つの中断設定により、所定の順序で実行することを特徴とするデータ転送装置。
A data transfer device that controls transfer of data for data processing between a data processing device and a memory, comprising a DMA activation control circuit and a plurality of DMACs,
The data transfer apparatus, wherein the DMA activation control circuit executes the interruption of the plurality of DMACs in a predetermined order according to one interruption setting.
前記DMA起動制御回路は、データ処理モードが設定され、このモードに応じて中断するDMACを切り替え制御することを特徴とする請求項5記載のデータ転送装置。   6. The data transfer device according to claim 5, wherein the DMA activation control circuit sets a data processing mode and controls switching of the DMAC to be interrupted according to the mode. 前記DMA起動制御回路は、ハードウェアにより構成され、ソフトウェアによる個別の制御手順処理を持たないことを特徴とする請求項5または6記載のデータ転送装置。   7. The data transfer device according to claim 5, wherein the DMA activation control circuit is configured by hardware and does not have individual control procedure processing by software. 前記DMA起動制御回路は、該DMA起動制御回路で可能な最短時間で前記複数のDMACの中断を制御することを特徴とする請求項7記載のデータ転送装置。   8. The data transfer apparatus according to claim 7, wherein the DMA activation control circuit controls interruption of the plurality of DMACs in the shortest possible time by the DMA activation control circuit. 画像データの処理を行う機能を有する画像形成装置において、画像データの処理のために、請求項1ないし8のうち何れか1記載のデータ転送装置を備えることを特徴とする画像形成装置。   9. An image forming apparatus having a function of processing image data, comprising the data transfer device according to claim 1 for processing image data. 前記データ転送装置が、画像処理の種類毎に、複数備えられることを特徴とする請求項9記載の画像形成装置。   The image forming apparatus according to claim 9, wherein a plurality of data transfer apparatuses are provided for each type of image processing.
JP2006140643A 2006-05-19 2006-05-19 Data transfer device and image forming device Pending JP2007310731A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006140643A JP2007310731A (en) 2006-05-19 2006-05-19 Data transfer device and image forming device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006140643A JP2007310731A (en) 2006-05-19 2006-05-19 Data transfer device and image forming device

Publications (1)

Publication Number Publication Date
JP2007310731A true JP2007310731A (en) 2007-11-29

Family

ID=38843509

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006140643A Pending JP2007310731A (en) 2006-05-19 2006-05-19 Data transfer device and image forming device

Country Status (1)

Country Link
JP (1) JP2007310731A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008063992A (en) * 2006-09-06 2008-03-21 Denso Corp Device for processing data for engine control, and engine controlling device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008063992A (en) * 2006-09-06 2008-03-21 Denso Corp Device for processing data for engine control, and engine controlling device
JP4532450B2 (en) * 2006-09-06 2010-08-25 株式会社デンソー Engine control data processing apparatus and engine control apparatus

Similar Documents

Publication Publication Date Title
JP2007133527A (en) Clock signal generation circuit, semiconductor integrated circuit, and frequency-division rate control method
JPH11250228A (en) Picture processor and system therefor
US6806872B2 (en) Video signal processing system
US20110314323A1 (en) Semiconductor device and data processor
JP2008009817A (en) Semiconductor device and data transfer method
JP2007048022A (en) Asynchronous bus interface and its processing method
US6081877A (en) Method and apparatus for fast data transfer using internal clock of relatively low frequency
US8386725B2 (en) USB host controller and controlling method for USB host controller
JP2007310731A (en) Data transfer device and image forming device
JP2009301339A (en) Bus control device
US20060047866A1 (en) Computer system having direct memory access controller
JP2007188171A (en) Memory controller
JP2006126938A (en) Data transfer system and its data transfer method
JP5489871B2 (en) Image processing device
JP3959407B2 (en) Image processing apparatus and image processing system
JP4292218B2 (en) Image processing apparatus and image processing system
JP2006024134A (en) Dma transfer device and dma transfer method
JP2007219925A (en) Bus controller, bus control program and recording medium
JP2010140440A (en) Bus arbitration device
JP2007328647A (en) Data transfer method between cpus
JP2003308289A (en) Data processor
JP2007334600A (en) Semiconductor integrated circuit device
JP2005063358A (en) Instruction supply controller and semiconductor device
JP6119997B2 (en) Data processing apparatus and data processing apparatus control method
JP2021068157A (en) Image processing device, image processing method and program