JP2007310731A - Data transfer device and image forming device - Google Patents
Data transfer device and image forming device Download PDFInfo
- 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
Links
Images
Abstract
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等に記載された技術が知られている。
前述したソフトウェアにより各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
このように構成されるデータ転送装置は、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
なお、外部メモリ17は、そのメモリ形態を問わずどのようなものであってもよく、例えば、DRAMによるメモリ、ハードディスク等の記憶装置、ネットワークを介して接続される他の装置内のメモリ、記憶装置であってよい。
The
前述において、データ処理回路11での画像データの処理としては、例えば、画像の回転、縮小、拡大、合成等を代表的なものとして挙げることができ、これらの画像処理の種類(以下、機能という)毎に、複数の#1DMA12〜#3DMA14と、DMA起動制御回路18と、モード設定レジスタ19とのセットが、機能の数だけ設けられる。これは、異なる機能の実行が同時並行的に行われることが多いためである。
In the above description, examples of the image data processing in the
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
DMA起動制御回路18は、本発明により設けられたハードウェアによる回路であり、データ処理モードがモード設定レジスタ19に設定されると、複数の#1DMA12〜#3DMA14の各DMACのどのDMACを使用し、どのような順序で起動するか、どのような順序で終了させていけばよいかを、一意に決定し自動的にDMACの起動を管理する。また、DMA起動制御回路18は、各#1DMA12〜#3DMA14がデータ処理回路11との間で画像データの転送を行っている状態か否かを示す状態信号A1〜A3をモニターしており、この状態信号に基づいて、データ処理モード毎に#1DMA12〜#3DMA14の各DMACの起動を管理する。
The DMA
前述したデータ処理モードの設定は、図示しない画像形成装置全体の制御を行う制御装置からソフトウェアにより行われる。そして、このソフトウェアは、データ処理モードの設定後、処理の開始を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
図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
図2において、DMA起動制御回路18は、モード設定レジスタ19にデータ処理モード情報が設定され、時刻t0で、処理の開始が指示されたものとする。これにより、DMA起動制御回路18は、前述した起動条件から最初に#1DMA12を時刻t1で起動する。この#1DMA12の起動は、処理の開始が指示された後直ちに、クロックCLKに同期して行われる。これにより、#1DMA12が起動状態になり、データ処理回路11と#1DMA12との間の状態信号A1が立ち上がる。
In FIG. 2, it is assumed that the DMA
次に、DMA起動制御回路18は、#1DMA12が起動状態にあることを条件に#2DMA13を起動するという前述した起動条件に従って、状態信号A1が立ち上がったことを確認できた後、直ちに、時刻t2で#2DMA13を起動する。図2に示す例では、#1DMA12が起動された後、1クロック後に#2DMA13を起動することができるが、これは、DMA起動制御回路18がハードウェア的に制御を行っているためであり、ソフトウェア制御の場合、数十〜数百CLKかかる。
Next, the DMA
次に、DMA起動制御回路18は、#1DMA12、#2DMA13が起動状態にあることを条件に#3DMA114を起動するという前述した起動条件に従って、状態信号A1が立ち上がっており、かつ、状態信号A2が立ち上がったことを確認できた後、直ちに、時刻t3で#3DMA14を起動する。この場合も、#2DMA13が起動された後、1クロック後に#3DMA14を起動することができるが、これは、DMA起動制御回路18がハードウェア的に制御を行っているためであり、ソフトウェアによる制御の場合、数十〜数百CLKかかる。
Next, the DMA
前述の#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
各DMACの中断処理を行う場合、DMA起動制御回路18は、まず、#2DMA13、#3DMA14が起動されている状態で、#1DMA12を中断するという前述した中断条件に従って、状態信号A2、A3が立ち上がっていることを確認して、時刻t4で#1DMA12を中断する。
When interrupt processing of each DMAC is performed, the DMA
次に、DMA起動制御回路18は、#1DMA12が中断されていて、かつ、#3DMA14がまだ起動中である場合に、#2DMA13を中断するという前述した中断条件に従って、状態信号A1が立ち下がった状態にあり、状態信号A3が立ち上がっていることを確認して、時刻t5で#2DMA13を中断する。
Next, when the # 1
その後、DMA起動制御回路18は、#1DMA12、#2DMA13がすでに中断状態にある場合に、#3DMA14を中断するという前述の中断条件に従って、状態信号A1、A2がすでに立ち下がった状態となっていることを確認して、時刻t6で#3DMA14を中断する。
After that, the DMA
前述した各#1DMA12〜#3DMA14の中断は、図2に示している例から判るように、1CLKの時間間隔で行うことができる。起動時の処理で説明したと同様に、この場合にも、ソフトウェアによる制御の場合、多くの時間がかかってしますことになる。
The interruption of each # 1
前述した本発明の実施形態によれば、データ処理モードがモード設定レジスタ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
11 データ処理回路
12 #1DMA
13 #2DMA
14 #3DMA
15 メモリアービタ回路
16 メモリI/F回路
17 外部メモリ
18 DMA起動制御回路
19 モード設定レジスタ
11
13 # 2 DMA
14 # 3DMA
15
Claims (10)
前記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つの中断設定により、所定の順序で実行することを特徴とするデータ転送装置。 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.
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)
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 |
-
2006
- 2006-05-19 JP JP2006140643A patent/JP2007310731A/en active Pending
Cited By (2)
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 |