JPS6220041A - Asynchronous data transfer circuit for data processor - Google Patents

Asynchronous data transfer circuit for data processor

Info

Publication number
JPS6220041A
JPS6220041A JP60159761A JP15976185A JPS6220041A JP S6220041 A JPS6220041 A JP S6220041A JP 60159761 A JP60159761 A JP 60159761A JP 15976185 A JP15976185 A JP 15976185A JP S6220041 A JPS6220041 A JP S6220041A
Authority
JP
Japan
Prior art keywords
circuit
data
transfer
memory
buffer memory
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
JP60159761A
Other languages
Japanese (ja)
Inventor
Shoichi Kikukawa
菊川 昇一
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.)
NEC Corp
Original Assignee
NEC Corp
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 NEC Corp filed Critical NEC Corp
Priority to JP60159761A priority Critical patent/JPS6220041A/en
Publication of JPS6220041A publication Critical patent/JPS6220041A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To minimize a required time in a memory circuit related to transfer operation and a data processing circuit by transferring data between the memory circuit and the data processing circuit through a buffer memory. CONSTITUTION:Data existing before processing stored in a memory circuit 2 is transferred first to a buffer memory 5 by the control of a DMA control circuit 3. The write address is given by the counter value of a write address counter 6. A signal WACLK is given to the write address counter 6 for every write operation, and the number of these signals is counted. The value of the write address counter 6 is inputted to an address coincidence detecting circuit 9 and is compared with the valve of a read address counter 7. If this comparison becomes dissident reception of transfer data is requested to a processing circuit 4 through a transfer end decision circuit 10. The processing circuit 4 starts the transfer operation for reception. The read address counter 7 receives a signal RACLK for every read operation from the buffer memory 5 and counts this signal.

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明はデータ処理装置に関し、特にそのメモリ回路と
処理回路との間でのデータ転送をバッファメモリ回路を
介して行うように構成したデータ転送回路に関する。
DETAILED DESCRIPTION OF THE INVENTION (Field of Industrial Application) The present invention relates to a data processing device, and particularly to a data transfer device configured to transfer data between a memory circuit and a processing circuit thereof via a buffer memory circuit. Regarding circuits.

(従来の技術) 従来、この種のデータ転送回路ではデータ処理装置の動
作全制御するマイクロプロセサにより、直接、メモリ回
路と処理回路との間でプログラムを転送したり、あるい
はDMA制御回路により、直接、メモリ回路と処理回路
との間でデータをDMA転送したりしていた。
(Prior Art) Conventionally, in this type of data transfer circuit, a microprocessor that controls all operations of a data processing device directly transfers a program between a memory circuit and a processing circuit, or a DMA control circuit directly transfers a program. , data was transferred by DMA between the memory circuit and the processing circuit.

(発明が解決しようとする問題点) 上述した従来のデータ転送回路では、メモリ回路と処理
回路との間で直接、データ転送を行っているので、メモ
リ回路へのアクセスタイムと処理回路の処理時間との同
期をとvながらの転送を行なわなければならない。従っ
て、データ転送中は例えば、マイクロプロセサのメモリ
回路からの命令フェッチが制限されたジ、あるいは処理
回路でのデータ処理動作が制限されたりして、全体とし
てデータ処理時間が長くなると云う欠点がある。
(Problems to be Solved by the Invention) In the conventional data transfer circuit described above, data is transferred directly between the memory circuit and the processing circuit, so the access time to the memory circuit and the processing time of the processing circuit are The transfer must be performed while synchronizing with the data. Therefore, during data transfer, for example, instruction fetching from the microprocessor's memory circuit is limited, or data processing operations in the processing circuit are limited, resulting in a longer overall data processing time. .

本発明の目的は、メモリ回路と処理回路との間に転送デ
ータを一時蓄積するバッファメモリを設け、バッファメ
モリへの書込みアドレスとバッファメモリからの読出し
アドレスとを個別に管理してバッファメモリにファース
トインファーストアウト(FIFO)動作させることに
より上記欠点を除去し、データ処理時間を短縮できるよ
うに構成した非同期データ転送回路を提供することにあ
る。
An object of the present invention is to provide a buffer memory for temporarily storing transfer data between a memory circuit and a processing circuit, to separately manage write addresses to the buffer memory and read addresses from the buffer memory, and to write data to the buffer memory first. It is an object of the present invention to provide an asynchronous data transfer circuit configured to eliminate the above drawbacks and shorten data processing time by performing in-first-out (FIFO) operation.

(問題点を解決するための手段〕 本発明によるデータ処理装置の非同期データ転送回路は
、メモリ回路に格納されているデータを読出して処理回
路で処理し、メモリ回路に曹込むように構成されたもの
であって、DMA制御回路と、バッファメモリ回路と、
書込み/読出しアドレスカウンタ手段と、セレクタ回路
と、データ方向制御/ゲート手段と、転送終結判定回路
とを具備して構成したものである。
(Means for Solving the Problems) The asynchronous data transfer circuit of the data processing device according to the present invention is configured to read data stored in the memory circuit, process it in the processing circuit, and transfer it to the memory circuit. A DMA control circuit, a buffer memory circuit,
The device is configured to include a write/read address counter means, a selector circuit, a data direction control/gate means, and a transfer end determination circuit.

DMA制御回路は、メモリ回路と処理回路との間でデー
タ転送を制御するためのものである。
The DMA control circuit is for controlling data transfer between the memory circuit and the processing circuit.

バッファメモリ回路はメモリ回路と処理回路との間で転
送されるデータを一時的に蓄積し、ファーストインファ
ーストアウト動作させるためのものである。
The buffer memory circuit temporarily stores data transferred between the memory circuit and the processing circuit, and performs first-in first-out operation.

書込み/読出しアドレスカウンタ手段は、バッファメモ
リへの書込みアドレスおよび読出しアドレス全設定する
ためのものである。
The write/read address counter means is for setting all write addresses and read addresses to the buffer memory.

セレクタ回路は、バッファメモリのアドレス番地に対し
て書込みアドレスと読出しアドレスとのいずれか一方を
入力するためのものである。
The selector circuit is for inputting either a write address or a read address to an address address of the buffer memory.

データ方向制御/ゲート手段は、バッファメモリを介し
て転送されるデータの転送方向を制御するためのもので
ある。
The data direction control/gate means is for controlling the transfer direction of data transferred via the buffer memory.

転送終結判定回路は、書込みアドレスと読出しアドレス
との間で一致を検出し、データの転送の終結を判定する
ためのものである。
The transfer end determination circuit detects a match between a write address and a read address and determines the end of data transfer.

(実 施 例) 次に、本発明について図面を参照して説明する。(Example) Next, the present invention will be explained with reference to the drawings.

第1図は、本発明による非同期データ転送回路の一実施
例を示すブロック図である。第1図において、1はマイ
クロプロセサ、2はメモリ回路、3はDMA制御回路、
4は処理回路、5はバッファメモリ、6は書込みアドレ
スカウンタ、7は読出しアドレスカウンタ、8はセレク
タ回路、9はアドレス−数構出回路、10は転送終結判
定回路、11はデータ方向制御回路、12゜13はそれ
ぞれゲート回路である。
FIG. 1 is a block diagram showing one embodiment of an asynchronous data transfer circuit according to the present invention. In FIG. 1, 1 is a microprocessor, 2 is a memory circuit, 3 is a DMA control circuit,
4 is a processing circuit, 5 is a buffer memory, 6 is a write address counter, 7 is a read address counter, 8 is a selector circuit, 9 is an address-number configuration circuit, 10 is a transfer end determination circuit, 11 is a data direction control circuit, 12 and 13 are gate circuits, respectively.

第1図において、マイクロプロセサ1はデータ処理装置
全体の動作を制御するプロセサであり、メモリ回路2に
格納されている処理前のデータiDMA制御回路3の制
御により、まずバッファメモリ5に転送する。このとき
、DMA制御回路3にはメモリ回路2からバッファメモ
リ5ヘデータ転送を行うためのD M Aアドレスや転
送バイト数などの必要なデータを、マイクロプロセサエ
の指定により設定した後に転送開始の指示を与えている
In FIG. 1, a microprocessor 1 is a processor that controls the operation of the entire data processing device, and first transfers unprocessed data stored in a memory circuit 2 to a buffer memory 5 under the control of an iDMA control circuit 3. At this time, the DMA control circuit 3 is instructed to start the transfer after setting the necessary data such as the DMA address and the number of transfer bytes to transfer data from the memory circuit 2 to the buffer memory 5 as specified by the microprocessor. is giving.

なお、バッファメモリ5への転送データの書込みアドレ
スは書込みアドレスカウンタ6のカウント値によって与
えられ、このカウンタ値はセレクタ回路8を介してバッ
ファメモリ5に4えられる。バッファメモリ5への転送
データの誓込み動作回数を計数するために、書込みアド
レスカウンタ6には書込み動作ごとにWAOLK信号が
与えられ、査込みアドレスカウンタ6は上記WAOLK
信号の数を計数する。書込みアドレスカウンタ6のカウ
ント値は同時にアドレス−数構出回路6に入力され、読
出しアドレスカランタフのカウント値と比較される。比
較の結果、書込みアドレスカウンタ6のカウント値ト読
出しアドレスカウンタ7のカウント値とが不一致である
場合には、この旨を転送終結判定回路10に出力する。
The write address of the transfer data to the buffer memory 5 is given by the count value of the write address counter 6, and this counter value is added to the buffer memory 5 via the selector circuit 8. In order to count the number of commit operations for transfer data to the buffer memory 5, a WAOLK signal is given to the write address counter 6 for each write operation, and the scan address counter 6 receives the WAOLK signal.
Count the number of signals. The count value of the write address counter 6 is simultaneously input to the address-number construction circuit 6 and compared with the count value of the read address counter. As a result of the comparison, if the count value of the write address counter 6 and the count value of the read address counter 7 do not match, this fact is output to the transfer end determination circuit 10.

そこで、転送終結判定回路10は処理回路4に対して転
送データの引取、!lllを要求する。処理回路4は、
バッファメモリ5の転送データを引取るためにデータ転
送動作を開始スる。このとき、バッファメモリ5の読出
しアドレスは読出しアドレスカランタフのカウント値が
セレクタ回路8を介してバッファメモリ5に与えられる
。読出しアドレスカランタフには書込みアドレスカウン
タ6の場合と同様に、バッファメモリ5からの読出し動
作ごとにFLAOLK信号が与えられ、読出しアドレス
カウンタ7はEtAOLK信号の数を計数する。
Therefore, the transfer completion determination circuit 10 requests the processing circuit 4 to receive the transfer data, ! Request lll. The processing circuit 4 is
A data transfer operation is started to receive the transfer data from the buffer memory 5. At this time, the read address of the buffer memory 5 is given to the buffer memory 5 via the selector circuit 8 as the count value of the read address carantuff. As in the case of the write address counter 6, the read address counter 7 is given the FLAOLK signal for each read operation from the buffer memory 5, and the read address counter 7 counts the number of EtAOLK signals.

次に、処理回路4で処理されたデータは上述した方法と
逆の動作で、バッファメモリ5を介してメモリ回路2へ
転送される。なお、これらのデータ転送における転送デ
ータの方向はデータ方向制御回路11によりゲート回路
12.13’i制御して決定される。
Next, the data processed by the processing circuit 4 is transferred to the memory circuit 2 via the buffer memory 5 in a reverse operation to the method described above. Note that the direction of transfer data in these data transfers is determined by the data direction control circuit 11 controlling the gate circuits 12, 13'i.

また、データの転送が終結したときには、書込みアドレ
スカウンタ6のカラントイ直と読出しアドレスカランタ
フのカウント値とが再び一致する。これをアドレス−数
構出回路9によって検出し、転送終結判定回路10にデ
ータ転送の終結を通知し、転送終結判定回路10から処
理回路4およびDMA制御回路3にデータ転送の終結を
通知して一連の転送動作が終結する。
Furthermore, when the data transfer is completed, the count value of the write address counter 6 and the count value of the read address count coincide again. This is detected by the address/number configuration circuit 9, and the transfer end determination circuit 10 is notified of the end of the data transfer.The transfer end determination circuit 10 notifies the processing circuit 4 and the DMA control circuit 3 of the end of the data transfer. A series of transfer operations is completed.

(発明の効果) 以上説明したように本発明は、メモリ回路とデータ処理
回路との間のデータ転送をバッファメモリを介して行う
ことによジ、メモリ回路とデータ処理回路とで共に非同
期に転送を制御することができ、転送動作に関与するメ
モリ回路、およびデータ処理回路における所要時間を最
小にすることができる九め、効率的なデータ処理動作を
行うことができると云う効果がある。
(Effects of the Invention) As explained above, the present invention transfers data between a memory circuit and a data processing circuit via a buffer memory, thereby asynchronously transferring data between the memory circuit and the data processing circuit. This has the advantage that the time required for the memory circuit and data processing circuit involved in the transfer operation can be minimized, and that an efficient data processing operation can be performed.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は、本発明による非同期データ転送回路の一実施
例を示すブロック図である。 1・・・マイクロプロセサ  2・・・メモリ回路3・
・・DMA制御回路   4・・・処理回路5・・・バ
ッファメモリ 6・・・書込みアドレスカウンタ 7・・・読出しアドレスカウンタ 8・・・セレクタ回路 9・・・アドレス−数構出回路 10・・・転送終結判定回路 11・・・データ方向制御回路 12.13・・・ゲート回路 特許出願人  日本電気株式会社 代理人 弁理士 井 ノ ロ    壽第1図
FIG. 1 is a block diagram showing one embodiment of an asynchronous data transfer circuit according to the present invention. 1...Microprocessor 2...Memory circuit 3.
DMA control circuit 4 Processing circuit 5 Buffer memory 6 Write address counter 7 Read address counter 8 Selector circuit 9 Address-number configuration circuit 10...・Transfer completion determination circuit 11...Data direction control circuit 12.13...Gate circuit Patent applicant NEC Corporation Representative Patent attorney Hisashi Inoro Figure 1

Claims (1)

【特許請求の範囲】[Claims] メモリ回路に格納されているデータを読出して処理回路
で処理し、前記メモリ回路に書込むように構成されたデ
ータ処理装置の非同期データ転送回路において、前記メ
モリ回路と前記処理回路との間でデータ転送を制御する
ためのDMA制御回路と、前記メモリ回路と前記処理回
路との間で転送されるデータを一時的に蓄積し、ファー
ストインファーストアウト動作させるためのバッファメ
モリ回路と、前記バッファメモリへの書込みアドレスお
よび読出しアドレスを設定するための書込み/読出しア
ドレスカウンタ手段と、前記バッファメモリのアドレス
番地に対して前記書込みアドレスと前記読出しアドレス
とのいずれか一方を入力するためのセレクタ回路と、前
記バッファメモリを介して転送されるデータの転送方向
を制御するためのデータ方向制御/ゲート手段と、前記
書込みアドレスと前記読出しアドレスとの間で一致を検
出し、前記データの転送の終結を判定するための転送終
結判定回路とを具備して構成したことを特徴とするデー
タ処理装置の非同期データ転送回路。
In an asynchronous data transfer circuit of a data processing device configured to read data stored in a memory circuit, process it in a processing circuit, and write it into the memory circuit, data is transferred between the memory circuit and the processing circuit. a DMA control circuit for controlling transfer; a buffer memory circuit for temporarily storing data transferred between the memory circuit and the processing circuit and performing a first-in-first-out operation; write/read address counter means for setting a write address and a read address of the buffer memory; a selector circuit for inputting either the write address or the read address to an address address of the buffer memory; data direction control/gate means for controlling the transfer direction of data transferred via the buffer memory, detecting a match between the write address and the read address, and determining the end of the data transfer; 1. An asynchronous data transfer circuit for a data processing device, characterized in that the asynchronous data transfer circuit includes a transfer completion determination circuit for determining the completion of transfer.
JP60159761A 1985-07-19 1985-07-19 Asynchronous data transfer circuit for data processor Pending JPS6220041A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60159761A JPS6220041A (en) 1985-07-19 1985-07-19 Asynchronous data transfer circuit for data processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60159761A JPS6220041A (en) 1985-07-19 1985-07-19 Asynchronous data transfer circuit for data processor

Publications (1)

Publication Number Publication Date
JPS6220041A true JPS6220041A (en) 1987-01-28

Family

ID=15700686

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60159761A Pending JPS6220041A (en) 1985-07-19 1985-07-19 Asynchronous data transfer circuit for data processor

Country Status (1)

Country Link
JP (1) JPS6220041A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6468160A (en) * 1987-08-13 1989-03-14 Digital Equipment Corp Method of packeting data
JPH01144751A (en) * 1987-08-13 1989-06-07 Digital Equip Corp <Dec> Repeater box for periphery

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6468160A (en) * 1987-08-13 1989-03-14 Digital Equipment Corp Method of packeting data
JPH01144751A (en) * 1987-08-13 1989-06-07 Digital Equip Corp <Dec> Repeater box for periphery

Similar Documents

Publication Publication Date Title
US4412303A (en) Array processor architecture
KR920007905B1 (en) Direct memory access controller
EP0542417A1 (en) Method and direct memory access controller for asynchronously reading/writing data from/to a memory with improved throughput
JPH04290150A (en) Device and method for controlling bidirectional fifo as interface between two buses in multi-task system
JPH05250305A (en) Data transfer control system
US5287471A (en) Data transfer controller using direct memory access method
JPS6220041A (en) Asynchronous data transfer circuit for data processor
KR920002830B1 (en) Direct memory access controller
EP0378422B1 (en) Look ahead bus transfer request
JPH04120652A (en) Parallel processors
EP0410382A2 (en) Data transfer controller using direct memory access method
JPH02294755A (en) Data processor
JP2604051B2 (en) Data transfer method
JPH0736806A (en) Dma system
JPS61859A (en) Clinical inspection data processor
JPS63187943A (en) Communication control equipment
JPH0344753A (en) Data transfer system
JPS58189719A (en) Data transfer control system
JPH02287661A (en) Data access system
JPH03241442A (en) Store buffer control system
JPH0769885B2 (en) Data transfer device
JPS61128331A (en) Data transfer control system
JPH04283848A (en) Data transfer control system
JPH07146839A (en) Dma circuit
JPS60136853A (en) Data transfer system