JPH07141288A - Dma transfer system - Google Patents

Dma transfer system

Info

Publication number
JPH07141288A
JPH07141288A JP28486593A JP28486593A JPH07141288A JP H07141288 A JPH07141288 A JP H07141288A JP 28486593 A JP28486593 A JP 28486593A JP 28486593 A JP28486593 A JP 28486593A JP H07141288 A JPH07141288 A JP H07141288A
Authority
JP
Japan
Prior art keywords
processing
channel
dma
transfer
data
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
JP28486593A
Other languages
Japanese (ja)
Inventor
Fumio Takatani
文夫 高谷
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.)
Fujifilm Business Innovation Corp
Original Assignee
Fuji Xerox 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 Fuji Xerox Co Ltd filed Critical Fuji Xerox Co Ltd
Priority to JP28486593A priority Critical patent/JPH07141288A/en
Publication of JPH07141288A publication Critical patent/JPH07141288A/en
Pending legal-status Critical Current

Links

Landscapes

  • Advance Control (AREA)
  • Image Input (AREA)
  • Image Processing (AREA)
  • Bus Control (AREA)

Abstract

PURPOSE:To obtain a control part which performs a pipeline process for data at a high speed without requiring a large-scale constitution. CONSTITUTION:This system is equipped with a DMA control part 1a which operates in order of every transfer cycle with >=2 channels, a dedicated integrated circuit 2a which performs a process through a multi-stage pipeline, a memory part 3 which stores the process result, an interface part 4 for external equipment, and a CPU 5 which controls the whole device, and, the DMA control part 1a is so constituted that the number of delay transfer cycle until the start of transfer operation of each channel is >=2. Consequently, unnecessary operation can be eliminated.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、専用集積回路(LS
I)により多段パイプラインで高速処理を行うデータ処
理装置のDMA転送方式で実行する装置に関する。
BACKGROUND OF THE INVENTION The present invention relates to a dedicated integrated circuit (LS).
According to I), the present invention relates to a data processing device for performing high-speed processing in a multi-stage pipeline, which is executed by the DMA transfer method.

【0002】[0002]

【従来の技術】従来のデータ処理装置では、 CPUがデータの処理を直接行うか 処理専用LSIを有しCPUバスに処理専用LSI
を接続してデータの転送をCPUが行って処理専用LS
Iがデータの処理を行うか 処理専用のバスと専用のLSIを使ってデータの処
理行うか 等の方式がとられている。
2. Description of the Related Art In a conventional data processing device, a CPU directly processes data or has a processing-dedicated LSI and a processing-dedicated LSI on a CPU bus.
LS for processing by connecting the CPU and transferring data by the CPU
A method is used such as whether I processes the data, or whether the data is processed by using a dedicated bus and a dedicated LSI.

【0003】また、CPUの介在なしにメモリと処理専
用LSIとの間で高速のデータ転送を行うDMA(Dire
ct Memory Access) 転送を用いたデータ処理方式として 特開平4−195448号公報のデータ転送制御方
法及びそれを用いたデータプロセッサに記載されている
ような2チャネルDMAの交互動作をデータ処理に応用
することも可能である。このデータ処理方式の場合に
は、2チャネルDMAの交互動作により、例えばインタ
フェース部が外部機器から受け取ったデータをDMA制
御部の片方のチャネルで処理専用LSIに入力し、パイ
プライン処理された結果をDMA制御部の他方のチャネ
ルでメモリ部に格納する。
In addition, a DMA (Dire) for high-speed data transfer between a memory and a processing-dedicated LSI without intervention of a CPU.
ct Memory Access) As a data processing method using transfer, the alternate operation of 2-channel DMA as described in the data transfer control method of JP-A-4-195448 and the data processor using the method is applied to data processing. It is also possible. In the case of this data processing method, for example, the data received from the external device by the interface unit is input to the processing-dedicated LSI through one channel of the DMA control unit by the alternate operation of the two-channel DMA, and the result of pipeline processing is displayed. The data is stored in the memory unit on the other channel of the DMA control unit.

【0004】[0004]

【発明が解決しようとする課題】しかしながら、画像デ
ータ等の膨大な処理を行うには、上記従来の、の方
式ではCPUがデータを処理、転送するため処理時間を
要し、の方式では構成が大がかりになっていまい、し
かも、ハードウェアで構成されるため柔軟性に欠けると
いう問題がある。
However, in order to perform enormous processing of image data and the like, in the above-mentioned conventional method, the CPU requires processing time to process and transfer data, and in the method of the above method There is a problem in that it does not need to be large-scaled and it lacks flexibility because it is composed of hardware.

【0005】また、上記従来のの方式では、パイプラ
イン段数が2以上の処理専用LSIに適用すると、パイ
プライン段数合わせのための無駄な転送動作を行う必要
があり、効率よくデータ処理できないという問題があ
る。例えば画像処理において4段のパイプライン構成で
RGB信号からYMC信号への色変換を行う場合には、
処理専用LSIに続けて4個のデータを入力しなけれ
ば、変換出力が得られないため、交互動作ではその間に
無駄な転送動作を行うことになる。
Further, in the above-mentioned conventional method, if it is applied to a processing-dedicated LSI having two or more pipeline stages, it is necessary to perform a wasteful transfer operation for adjusting the number of pipeline stages, resulting in inefficient data processing. There is. For example, when performing color conversion from an RGB signal to a YMC signal with a 4-stage pipeline configuration in image processing,
The conversion output cannot be obtained unless four pieces of data are continuously input to the processing-dedicated LSI, so that in the alternate operation, useless transfer operation is performed in the meantime.

【0006】そこで、本発明は、上記の課題を解決する
ものであって、構成が大がかりにならず、かつ高速にデ
ータをパイプライン処理する制御部を実現することを目
的とするものである。
[0006] Therefore, the present invention is to solve the above problems, and an object of the present invention is to realize a control unit which does not require a large scale configuration and which pipelines data at high speed.

【0007】[0007]

【課題を解決するための手段】そのために本発明は、2
チャネル以上で1転送サイクルごとの順番に動作するD
MA制御部と、多段のパイプラインで処理を行う専用集
積回路と、処理結果を格納するメモリ部と、外部機器と
のインタフェース部と、装置全体を制御するCPUとを
備え、DMA制御部は、各チャネルが転送動作を開始す
る迄の遅延転送サイクル数を2以上となるように構成し
たことを特徴とするものである。
To this end, the present invention provides two
D that operates in order for each transfer cycle on channels or more
The MA control unit, a dedicated integrated circuit that performs processing in a multi-stage pipeline, a memory unit that stores the processing result, an interface unit with external devices, and a CPU that controls the entire apparatus are provided. It is characterized in that the number of delayed transfer cycles until each channel starts the transfer operation is set to 2 or more.

【0008】[0008]

【作用】本発明のDMA転送方式では、2チャネル以上
で1転送サイクルごとの順番に動作するDMA制御部
と、多段のパイプラインで処理を行う専用集積回路と、
処理結果を格納するメモリ部と、外部機器とのインタフ
ェース部と、装置全体を制御するCPUとを備え、DM
A制御部は、各チャネルが転送動作を開始する迄の遅延
転送サイクル数を2以上となるように構成したので、C
PUの制御下で、インタフェース部が外部機器から受け
取ったデータをDMA制御部の片方のチャネルで処理専
用LSIに入力し、多段のパイプライン処理された結果
をDMA制御部の他方のチャネルでメモリ部に格納する
場合にも、無駄な動作をなくすことができる。
According to the DMA transfer method of the present invention, a DMA control unit that operates in two or more channels in sequence for each transfer cycle, and a dedicated integrated circuit that performs processing in a multistage pipeline,
A DM including a memory unit for storing processing results, an interface unit for external devices, and a CPU for controlling the entire apparatus,
Since the A control unit is configured so that the number of delayed transfer cycles until each channel starts the transfer operation is 2 or more, C
Under the control of the PU, the interface unit inputs the data received from the external device to the processing-dedicated LSI in one channel of the DMA control unit, and the result of the multistage pipeline processing is performed in the memory unit in the other channel of the DMA control unit. Even when storing in, it is possible to eliminate unnecessary operations.

【0009】[0009]

【実施例】以下、本発明の実施例を図面を参照しつつ説
明する。図1は本発明に係るDMA転送方式の1実施例
を示す図である。図1において、DMA制御部1aは、
Aチャネル、Bチャネルの2チャネルからなり、各チャ
ネルに遅延転送サイクルが設定されその設定に基づいて
遅延起動した後1転送サイクルごとの順番に動作するも
のである。専用LSI2aは、多段のパイプラインで処
理を行うものであり、その処理結果を格納するのがメモ
リ部3である。インタフェース部4は、外部機器とのイ
ンタフェースであり、CPU5は、装置全体を制御する
ものである。
Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 is a diagram showing an embodiment of a DMA transfer system according to the present invention. In FIG. 1, the DMA controller 1a
It is composed of two channels, A channel and B channel, and a delayed transfer cycle is set in each channel, and after delayed activation based on the setting, it operates in sequence for every one transfer cycle. The dedicated LSI 2a performs processing in a multi-stage pipeline, and the memory unit 3 stores the processing result. The interface unit 4 is an interface with an external device, and the CPU 5 controls the entire apparatus.

【0010】DMA制御部1aにおいて、Aチャネル
は、インタフェース部4から専用LSI2aにDMA転
送を行い、Bチャネルは、専用LSI2aからメモリ部
3にDMA転送を行う。また、動作の順番は、Aチャネ
ルが動作を開始して設定された遅延転送サイクル実行
後、Bチャネルが動作を開始して1転送サイクルづつ交
互に動作するように構成される。専用LSI2aは、デ
ータとライト信号入力を与えることにより、必要なデー
タ処理を実行し、結果をリード信号で読み出せるような
多段パイプライン構成とする。
In the DMA control section 1a, the A channel performs DMA transfer from the interface section 4 to the dedicated LSI 2a, and the B channel performs DMA transfer from the dedicated LSI 2a to the memory section 3. The operation sequence is such that the A channel starts the operation and executes the set delayed transfer cycle, and then the B channel starts the operation and operates alternately every one transfer cycle. The dedicated LSI 2a has a multi-stage pipeline configuration in which necessary data processing is executed by supplying data and a write signal input and the result can be read by a read signal.

【0011】上記構成では、インタフェース部4が外部
機器から受け取ったデータをDMA制御部1aの片方の
Aチャネルで処理専用LSI2aに所定サイクルかけて
入力し、その後、交互動作により多段のパイプライン処
理された結果をDMA制御部1aの他方のBチャネルで
メモリ部3に格納するので、メモリ部3とのDMA動作
も専用LSI2aの処理に追従するため、多段パイプラ
インにおいても正しい結果を得ることができる。パイプ
ライン段数が例えば5段であれば、Aチャネルが動作を
開始して5転送サイクル実行後、Bチャネルが動作を開
始し、以後1転送サイクルづつ交互に動作するように構
成される。このように構成することにより、CPU5か
らDMA制御部1aに対してDMAチャネルの遅延起動
設定を行うことで、パイプライン段数の異なる専用LS
Iも柔軟に使用できる。この実施例において、2つのチ
ャンネルを1転送サイクルごとに交互に動作するように
したが、処理専用LSI12の入力データ数と出力デー
タ数とが異なる場合には、一方あるいは双方のチャンネ
ルを複数の転送サイクルとして交互に動作させてデータ
数をバランスさせるようにしてもよい。
In the above configuration, the interface unit 4 inputs the data received from the external device to the processing-dedicated LSI 2a through one A channel of the DMA control unit 1a in a predetermined cycle, and thereafter is subjected to the multi-stage pipeline processing by the alternate operation. Since the obtained result is stored in the memory unit 3 through the other B channel of the DMA control unit 1a, the DMA operation with the memory unit 3 also follows the processing of the dedicated LSI 2a, so that a correct result can be obtained even in the multistage pipeline. . If the number of pipeline stages is, for example, 5, the A channel starts to operate and after 5 transfer cycles have been executed, the B channel starts to operate, and thereafter, the B channel operates alternately every 1 transfer cycle. With this configuration, the CPU 5 sets the delay activation of the DMA channel to the DMA control unit 1a, so that the dedicated LS having different pipeline stages can be used.
I can also be used flexibly. In this embodiment, the two channels are alternately operated for each transfer cycle. However, when the number of input data and the number of output data of the processing-dedicated LSI 12 are different, one or both channels are transferred a plurality of times. The number of data may be balanced by alternately operating as a cycle.

【0012】図2は本発明のDMA転送方式の第2の実
施例を示す図である。この実施例は、Aチャネル、Bチ
ャネル、Cチャネルの3チャネルからなり、1転送サイ
クルごとの順番に動作する3チャネルのDMA制御部1
cと、パイプライン処理を行う各専用LSI2a、2c
とを備えた構成を採用したものである。そして、Aチャ
ネルは、インタフェース部4から専用LSI2aにDM
A転送を行い、Bチャネルは、専用LSI2aから専用
LSI2cにDMA転送を行い、Cチャネルは、専用L
SI2cからメモリ部3にDMA転送を行うものであ
る。また、動作の順番は、Aチャネルが動作を開始して
設定された所定の遅延転送サイクル実行後、1転送サイ
クルずつ順次Bチャネル、Cチャネルと動作し、以後繰
り返し動作するように構成される。なお、専用LSI2
a、専用LSI2cは、データとライト信号入力を与え
ることにより、必要なデータ処理を実行し、結果をリー
ド信号で読み出せるようなパイプライン構成であり、パ
イプライン段数は、専用LSI2aが多段、専用LSI
2cが1段である。
FIG. 2 is a diagram showing a second embodiment of the DMA transfer system of the present invention. In this embodiment, there are three channels of A channel, B channel, and C channel, and a DMA control unit 1 of three channels that operates in sequence for each transfer cycle.
c and dedicated LSIs 2a, 2c for performing pipeline processing
It adopts a configuration with and. Then, the A channel is DMed from the interface unit 4 to the dedicated LSI 2a.
A transfer is performed, B channel is DMA transferred from the dedicated LSI 2a to the dedicated LSI 2c, and C channel is dedicated L
The DMA transfer is performed from the SI 2c to the memory unit 3. Further, the operation sequence is such that after the A channel starts to operate and a predetermined delay transfer cycle is set, one transfer cycle is sequentially performed for the B channel and the C channel, and thereafter, the operation is repeated. The dedicated LSI2
a, the dedicated LSI 2c has a pipeline configuration in which necessary data processing is performed by supplying data and a write signal input, and the result can be read by a read signal. The number of pipeline stages is such that the dedicated LSI 2a has multiple stages and is dedicated. LSI
2c is the first stage.

【0013】この実施例によれば、DMAチャネルの役
割設定を変更することで、専用LSIのカスケード接続
による処理順序を柔軟に構成できる。また、出来上がり
のデータ量が変化する場合には、その処理順の組み合わ
せを変えることによって、処理量を少なくすることがで
き、例えば縮拡処理と色変換処理とを行う場合、縮小と
色変換の組み合わせでは、縮小処理を先に実行した後色
変換処理を行うようにし、拡大と色変換の組み合わせで
は、色変換処理した後拡大処理を行うようにすることに
より、色変換の処理量を少なくすることができる。
According to this embodiment, by changing the role setting of the DMA channel, it is possible to flexibly configure the processing order by the cascade connection of the dedicated LSIs. Further, when the amount of completed data changes, the processing amount can be reduced by changing the combination of the processing order. For example, when performing the enlargement / reduction processing and the color conversion processing, the reduction and the color conversion are performed. In the combination, the reduction processing is performed first, and then the color conversion processing is performed. In the combination of enlargement and color conversion, the color conversion processing is performed and the enlargement processing is performed, thereby reducing the amount of color conversion processing. be able to.

【0014】図3は本発明のDMA転送方式の第3の実
施例を示す図である。この実施例は、独立動作や1転送
サイクルごとの順番動作に機能設定可能な2チャネルの
DMA制御部1dと、1段のパイプラインで処理を行う
専用LSI2aとを備えた構成を採用したものである。
DMA制御部1dにおいて、Aチャネル、Bチャネルの
2チャネルがそれぞれ独立に動作可能なように設定され
た場合には、インタフェース部4からメモリ部3にDM
A転送を行ったり、メモリ部3の2つの領域間でDMA
転送を行ったりする。また、1転送サイクルごとの順番
動作に機能設定された場合には、Aチャネルがインタフ
ェース部4から専用LSI2aにDMA転送を行い、B
チャネルが専用LSI2aからメモリ部3にDMA転送
を行う。なお、専用LSI2aはデータとライト信号入
力を与えることにより、必要なデータ処理を実行し、結
果をリード信号で読み出せるような1段パイプライン構
成とする。
FIG. 3 is a diagram showing a third embodiment of the DMA transfer system of the present invention. This embodiment employs a configuration including a two-channel DMA control unit 1d capable of setting functions for independent operation and sequential operation for each transfer cycle, and a dedicated LSI 2a for performing processing in a one-stage pipeline. is there.
In the DMA control unit 1d, when the two channels, A channel and B channel, are set to be able to operate independently, DM is transferred from the interface unit 4 to the memory unit 3.
A transfer is performed, or DMA is performed between two areas of the memory unit 3.
Transfer it. When the function is set to the sequential operation for each transfer cycle, the A channel performs DMA transfer from the interface unit 4 to the dedicated LSI 2a, and
The channel performs DMA transfer from the dedicated LSI 2a to the memory unit 3. It should be noted that the dedicated LSI 2a has a one-stage pipeline configuration in which data and a write signal are input to perform necessary data processing and the result can be read by a read signal.

【0015】この実施例によれば、DMAチャネルの機
能設定で、通常のDMA動作やパイプライン処理を柔軟
に選択使用できる。
According to this embodiment, it is possible to flexibly select and use a normal DMA operation or pipeline processing by setting the function of the DMA channel.

【0016】なお、本発明は、上記の実施例に限定され
るものではなく、種々の変形が可能である。例えば上記
の実施例では、画像データをDMA転送する場合の例で
説明したが、他のジータをDMA転送する場合にも同様
に適用できることはいうまでもない。
The present invention is not limited to the above embodiment, but various modifications can be made. For example, in the above-described embodiment, an example in which the image data is DMA-transferred has been described, but it goes without saying that the same can be applied to the case of DMA-transferring another data.

【0017】[0017]

【発明の効果】以上述べたように、本発明によれば、任
意のパイプライン段数の処理をDMA制御部の各チャネ
ルの遅延動作を設定して実行できるようにしたので、比
較的高速で、柔軟性に富んだ処理装置を容易に提供でき
る。しかも、種々のデータ処理を専用LSIとDMA制
御部に任せるためデータ処理速度を向上させることがで
き、CPUは入出力制御等に専念することができるの
で、システム全体の処理能力を向上させることができ
る。
As described above, according to the present invention, the processing of an arbitrary number of pipeline stages can be executed by setting the delay operation of each channel of the DMA control unit, so that the processing can be performed at a relatively high speed. A highly flexible processing device can be easily provided. Moreover, since various data processing is left to the dedicated LSI and the DMA control unit, the data processing speed can be improved, and the CPU can concentrate on input / output control and the like, so that the processing capacity of the entire system can be improved. it can.

【図面の簡単な説明】[Brief description of drawings]

【図1】 本発明に係るDMA転送方式の1実施例を説
明するための図である。
FIG. 1 is a diagram for explaining one embodiment of a DMA transfer system according to the present invention.

【図2】 本発明に係るDMA転送方式の第2の実施例
を説明するための図である。
FIG. 2 is a diagram for explaining a second embodiment of the DMA transfer system according to the present invention.

【図3】 本発明に係るDMA転送方式の第3の実施例
を説明するための図である。
FIG. 3 is a diagram for explaining a third embodiment of the DMA transfer system according to the present invention.

【符号の説明】[Explanation of symbols]

1a…DMA制御部、2a…専用LSI、3…メモリ
部、4…インタフェース部、5…CPU
1a ... DMA control section, 2a ... dedicated LSI, 3 ... memory section, 4 ... interface section, 5 ... CPU

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.6 識別記号 庁内整理番号 FI 技術表示箇所 G06T 1/20 ─────────────────────────────────────────────────── ─── Continuation of the front page (51) Int.Cl. 6 Identification code Internal reference number FI technical display location G06T 1/20

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 2チャネル以上で1転送サイクルごとの
順番に動作するDMA制御部と、多段のパイプラインで
処理を行う専用集積回路と、処理結果を格納するメモリ
部と、外部機器とのインタフェース部と、装置全体を制
御するCPUとを備え、DMA制御部は、各チャネルが
転送動作を開始する迄の遅延転送サイクル数を2以上と
なるように構成したことを特徴とするDMA転送方式。
1. A DMA controller that operates in two or more channels in sequence for each transfer cycle, a dedicated integrated circuit that performs processing in a multi-stage pipeline, a memory unit that stores a processing result, and an interface with an external device. And a CPU that controls the entire apparatus, and the DMA control unit is configured so that the number of delayed transfer cycles until each channel starts a transfer operation is 2 or more.
JP28486593A 1993-11-15 1993-11-15 Dma transfer system Pending JPH07141288A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP28486593A JPH07141288A (en) 1993-11-15 1993-11-15 Dma transfer system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP28486593A JPH07141288A (en) 1993-11-15 1993-11-15 Dma transfer system

Publications (1)

Publication Number Publication Date
JPH07141288A true JPH07141288A (en) 1995-06-02

Family

ID=17684036

Family Applications (1)

Application Number Title Priority Date Filing Date
JP28486593A Pending JPH07141288A (en) 1993-11-15 1993-11-15 Dma transfer system

Country Status (1)

Country Link
JP (1) JPH07141288A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007188357A (en) * 2006-01-13 2007-07-26 Fujitsu Ltd Data transfer device
JP2013029900A (en) * 2011-07-27 2013-02-07 Shuichi Takada Dma controller

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007188357A (en) * 2006-01-13 2007-07-26 Fujitsu Ltd Data transfer device
JP2013029900A (en) * 2011-07-27 2013-02-07 Shuichi Takada Dma controller

Similar Documents

Publication Publication Date Title
JPS5916053A (en) Pipeline arithmetic device
JPH0552989B2 (en)
JPH07141288A (en) Dma transfer system
JPS61156363A (en) Data processing unit
US5761472A (en) Interleaving block operations employing an instruction set capable of delaying block-store instructions related to outstanding block-load instructions in a computer system
JPH0267665A (en) Interface circuit
JPS6136859A (en) Interface controller
JPH0334648A (en) Method of interconnecting computers
JPS63118966A (en) Data transfer controller
JPS63147247A (en) Converting device for data format
JPH04167043A (en) Portable electronic equipment
JPH06290128A (en) Communication switching system of controller
JPH0410031A (en) Microprogram controller
JPH0341547A (en) Multiprocessor constitution system
JPH0895895A (en) Controller for serial port i/q equipment of information processor
JPH02219165A (en) Data transfer system
JPS6365574A (en) Recognition processor
JPH0282342A (en) Data communication equipment
JPH1031641A (en) Semiconductor device
JPH02245978A (en) Picture processor
JPH02136982A (en) Method and device for arithmetic network constitution
JPS60138636A (en) General-purpose pipeline arithmetic device
JPH02114354A (en) Interruption control unit
JPS6217776B2 (en)
JPH05159042A (en) Picture processor