JPS6017552A - Data transfer control circuit - Google Patents

Data transfer control circuit

Info

Publication number
JPS6017552A
JPS6017552A JP58125794A JP12579483A JPS6017552A JP S6017552 A JPS6017552 A JP S6017552A JP 58125794 A JP58125794 A JP 58125794A JP 12579483 A JP12579483 A JP 12579483A JP S6017552 A JPS6017552 A JP S6017552A
Authority
JP
Japan
Prior art keywords
output
data
input
write
main 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
JP58125794A
Other languages
Japanese (ja)
Inventor
Yatori Koshimizu
輿水 八十里
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
Nippon Electric 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 NEC Corp, Nippon Electric Co Ltd filed Critical NEC Corp
Priority to JP58125794A priority Critical patent/JPS6017552A/en
Publication of JPS6017552A publication Critical patent/JPS6017552A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F5/00Methods or arrangements for data conversion without changing the order or content of the data handled
    • G06F5/06Methods or arrangements for data conversion without changing the order or content of the data handled for changing the speed of data flow, i.e. speed regularising or timing, e.g. delay lines, FIFO buffers; over- or underrun control therefor
    • G06F5/10Methods or arrangements for data conversion without changing the order or content of the data handled for changing the speed of data flow, i.e. speed regularising or timing, e.g. delay lines, FIFO buffers; over- or underrun control therefor having a sequence of storage locations each being individually accessible for both enqueue and dequeue operations, e.g. using random access memory
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/42Bus transfer protocol, e.g. handshake; Synchronisation
    • G06F13/4204Bus transfer protocol, e.g. handshake; Synchronisation on a parallel bus
    • G06F13/4221Bus transfer protocol, e.g. handshake; Synchronisation on a parallel bus being an input/output bus, e.g. ISA bus, EISA bus, PCI bus, SCSI bus
    • G06F13/4226Bus transfer protocol, e.g. handshake; Synchronisation on a parallel bus being an input/output bus, e.g. ISA bus, EISA bus, PCI bus, SCSI bus with asynchronous protocol

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Communication Control (AREA)

Abstract

PURPOSE:To perform efficient data transfer without conciousness of an opposite device and queuing by providing a data transfer control circuit capable of controlling independently input/output. CONSTITUTION:A first-in first-out (FIFO) memory 100 capable of independently controlling input/output, is provided on the input side. In addition, an FIFO300, capable of independently controlling input/output, is provided on the output side. A main memory 200 for temporary storage of transferred data is provided between the FIFO100 and FIFO300. A selector 700 selects a read address or write address from address counters 500 and 600, and supplies the address to the main memory 200. A write control 400 fetches data from the FIFO100 on the input side and controls writing into the main memory 200. A write control 900 reads data from the main memory 200, and controls writing into the FIFO300 on the output side.

Description

【発明の詳細な説明】 本発明は、装置と装置との間でデータ転送を行なう場合
における、データ転送制御回路に関するものである。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a data transfer control circuit for transferring data between devices.

従来、この種のデータ転送制御回路は、入出力が独自に
制御できないため、片側の装置がデータ送出中、もう一
方の装置は、その転送が終了するまで待ち合わせをする
ものか、または、片側の装置が転送終了したことを、も
う一方に知らせるものが多く、お互いの装置の処理が複
雑となシ、持ち合わせが起とるため、お伝いの装置の処
理能力が低下するなどの欠点があった。
Conventionally, this type of data transfer control circuit cannot independently control input/output, so while one device is sending data, the other device waits until the transfer is completed, or In many cases, one device notifies the other device that the transfer has been completed, which complicates the processing of both devices, and the processing capacity of the other device decreases due to the occurrence of backlogs.

本発明は、斯かる欠点に鑑みてなされたもので、データ
転送時、入力端と出力側で入出力を独自に制御すること
によシ、相手装置を意識することなく、父、待ち合せを
生ずることのない、効率の良いデータ転送を行なうこと
ができるデータ転送制御回路を提供することを目的とす
る。
The present invention has been made in view of these drawbacks, and by independently controlling input and output at the input and output sides during data transfer, it is possible to create a queue without being aware of the other device. An object of the present invention is to provide a data transfer control circuit that can perform efficient data transfer without causing problems.

上記目的を達成すべく本発明は、装置と装置との間で、
データ転送を行なう場合における、データ転送制御回路
において、 入力側に設けられて入出力を独自に制御できるファース
トインファーストアウトメモリと、転送データを一時格
納する主メモリと、出力側に設けられて入出力を独自に
制御できるファーストインファーストアウトメモリと、
該入力側ファーストインファーストアウトメモリからの
データを上記主メモリに書込むための制御を行なうライ
トコントロールと、上記主メモリの書込みアドレスを指
定するライトアドレスカウンタと、上記主メモリの読出
しアドレスを指定するリードアドレスカウンタと、該ラ
イトコントロールの制御によシ上記うイトアドレスカウ
/りの出力とリードアドレスカウンタの出力とを切換え
るセレクタと、該ライトアドレスカウンタの値とリード
アトレースカウンタの値とを比較する比較部と、上記主
メモリの内容を読出して上記出力側ファーストインファ
ーストアウトメモリに書込む制御を行なうリードコント
ロールとを備えて成υ、データ転送時、入力側及び出力
側で入出力を各々独自に制御するよう構成したことを特
徴とする。
In order to achieve the above object, the present invention provides the following features:
In the data transfer control circuit when performing data transfer, there is a first-in-first-out memory provided on the input side that can independently control input and output, a main memory that temporarily stores the transferred data, and an input memory provided on the output side. First-in-first-out memory that allows you to independently control output,
a write control for controlling writing of data from the input side first-in-first-out memory into the main memory; a write address counter for specifying a write address of the main memory; and a write address counter for specifying a read address of the main memory. A read address counter, a selector that switches between the output of the write address counter and the output of the read address counter under the control of the write control, and the value of the write address counter and the value of the read trace counter are compared. and a read control that controls reading out the contents of the main memory and writing them to the output side first-in-first-out memory. It is characterized by being configured so that it can be controlled independently.

以下、図面を参照して本発明をさらに詳しく説明する。Hereinafter, the present invention will be explained in more detail with reference to the drawings.

第1図は、本発明回路を適用した一実施例を示すブロッ
ク図である。
FIG. 1 is a block diagram showing an embodiment to which the circuit of the present invention is applied.

図において、本発明回路は、入力側に設けられて入出力
を独自に制御できるファーストインファーストアウトメ
モリ(以下FIFOと略記する。)100と、転送デー
タ一時記憶用主メモリ(以下MEMと略記。)200と
、出力側に設けられて入出力を独自に制御できるファー
ストインファーストアウトメモリ(以下FIFOと略記
。)300と、上記入力側F I F 0100からデ
ータを取出して上記M E M 200に書込む制御を
行なうライトコントロール(以下WCTLと略記。)4
00と、上記ME M 200のライトアドレスを指定
するライトアドレスカウンタ(以下WACと略記。)5
00と、上記M E M 200のリードアドレスを指
定するリードアドレスカウンタ(以下RACと略記、 
) 600 、!:、リードアドレス又はライトアドレ
スを選択し上記M E M 200に供給するセレクタ
(以下SELと略記。)700と、リードアドレスとラ
イトアドレスとを比較し不一致を検出する比較部(以下
CMPと略記。)800と、上記M E M 200か
らデータを読出して出力側F’IFO300に1′込む
制御を行なうライトコントロール(以下RCTLと略記
。)900とを備えて構成される。
In the figure, the circuit of the present invention includes a first-in-first-out memory (hereinafter abbreviated as FIFO) 100 provided on the input side and capable of independently controlling input and output, and a main memory for temporary storage of transfer data (hereinafter abbreviated as MEM). ) 200, a first-in-first-out memory (hereinafter abbreviated as FIFO) 300 that is provided on the output side and can independently control input and output, and data is taken out from the input side FIFO 0100 and sent to the MEM 200. Write control (hereinafter abbreviated as WCTL) that controls writing 4
00 and a write address counter (hereinafter abbreviated as WAC) 5 that specifies the write address of the ME M 200.
00 and a read address counter (hereinafter abbreviated as RAC) that specifies the read address of the MEM200.
) 600,! :, a selector (hereinafter abbreviated as SEL) 700 that selects a read address or a write address and supplies it to the MEM 200, and a comparison unit (hereinafter abbreviated as CMP) that compares the read address and the write address and detects a mismatch. ) 800, and a write control (hereinafter abbreviated as RCTL) 900 that controls reading data from the MEM 200 and inputting it to the output F'IFO 300.

このように構成される本発明の動作について、入力側及
び出力側に分けて説明する。
The operation of the present invention configured as described above will be explained separately for the input side and the output side.

書込みデータがデータ線101を介して、又、書込みパ
ルスが制at線102を介して送られてくると、入力側
F I F O100にデータが格納される。FIF 
0100は、入出力が独自に制御できるものであり、1
ワ一ド以上のデータを格納できるものである。F I 
F OZooへの書込みは、上記説明の様に連続的に出
力に関係なくできる。F I F 0100は、データ
が書込まれたことを、制御線103を介しWCT L 
400に送るとともに、データをM E M 200に
出力する。
When write data is sent via the data line 101 and a write pulse is sent via the AT control line 102, the data is stored in the input side FIFO 100. FIF
0100 is one in which input and output can be controlled independently, and 1
It can store data of one word or more. FI
Writing to FOZoo can be done continuously, as described above, regardless of the output. F IF 0100 indicates that data has been written to WCT L via control line 103.
400 and outputs the data to MEM 200.

WCTL400は、F I F 0100 Kデーター
1)K書込憧れたことを知ると、制御線401を介して
送られてくるライトタイミングによ、?、5EL700
を制御1m 402 K J: ツ?’ W A C5
00側に切換え、MEM200 K書込信号を制御線4
03 Kよって送出する。
When the WCTL 400 learns that it wants to write F IF 0100 K data 1) K, it uses the write timing sent via the control line 401 to determine whether the WCTL 400 is interested in writing the F IF 0100 K data. , 5EL700
Control 1m 402 K J: Tsu? ' W A C5
Switch to the 00 side and send the MEM200K write signal to the control line 4.
03 Send by K.

MEM200iI′i、WAC500で示めされたアド
レス[FIFOlooからのデータを、制御線403か
らの書込み信号によって書込む。
The data from the address [FIFOloo indicated by the MEM 200iI'i and the WAC 500 is written by the write signal from the control line 403.

WCTL400は、一定タイミング後、5EL700の
切換信号およびM E M 200の書込み信号をOF
Fにし、制御線404を介しWAC500にカウントア
ツプパルスを、又、FIFOlooに次のデータ取出し
信号を送る。
After a certain timing, WCTL400 turns off the switching signal of 5EL700 and the write signal of MEM200.
F, and sends a count up pulse to the WAC 500 via the control line 404 and a next data retrieval signal to FIFOloo.

これで、一つのデータの格納を終り、次のデータがある
と、上記動作を繰返し人からM E M 200に格納
していく。
This completes the storage of one data, and when the next data is available, the above operation is repeated and the data is stored in the MEM 200 from the user.

次に出力側の動作について説明する。Next, the operation on the output side will be explained.

CM P 800は、常時WAC500とRA C60
0の値を比較しておυ、不一致が生ずると、RCTL9
00に対し、出力すべきデータがあることを知らせる。
CM P800 always uses WAC500 and RA C60
If a mismatch occurs when comparing the values of 0, RCTL9
Notify 00 that there is data to be output.

RCT L 900は、出力すべきデータがあることを
知ると、FIFO300に1−込可能かどうかを制御線
301によってチェックする。このFIFO300は、
格納できる最大値になると書込禁止信号を送出するよう
になっている。
When the RCT L 900 learns that there is data to be output, it checks via the control line 301 whether or not it is possible to write 1 into the FIFO 300 . This FIFO300 is
When the maximum value that can be stored is reached, a write inhibit signal is sent.

RCT L 900は、書込が不可能の場合は何もしな
いが、可能の場合は、制御線901を介して送られてく
るリードタイミングにより、FIFO300に制御線9
02を介して書込み信号を送出する。
The RCT L 900 does nothing if writing is not possible, but if it is possible, it writes the control line 9 to the FIFO 300 according to the read timing sent via the control line 901.
A write signal is sent via 02.

一方、S E L 700は、ライト時以外は常にRA
C600側に切換っておシ、M E M 200にはリ
ードアドレスが供給されているため、MEM200から
はRA C600で示されるアドレスのデータが出力さ
れている。F I F 0300は、M E M 20
0からのデータをRCT L 900からの書込み信号
によって書込む。
On the other hand, SEL 700 always uses RA except when writing.
Since the read address is supplied to the MEM 200 after switching to the C600 side, the data at the address indicated by the RAC 600 is output from the MEM 200. F I F 0300 is M E M 20
Data from 0 is written by the write signal from RCT L 900.

RCT L 900は、一定タイミング後、制御線90
2の書込み信号をOFFとし、RA C600にカウン
トアツブノくルスを送出する。父、RCTL900は、
CM P 800で不一致の場合は、PIFO300に
書込み可能ならば、上記動作を繰返す。
RCT L 900 connects the control line 90 after a certain timing.
The write signal No. 2 is turned OFF and a count-up pulse is sent to the RAC600. My father, RCTL900,
If there is a mismatch in CMP 800, the above operation is repeated if writing to PIFO 300 is possible.

なお、制御線401と制御線901の各々のタイミング
は、リードおよびライトで競合を起さないよう位相差を
持たせである。
Note that the timings of the control line 401 and the control line 901 are set to have a phase difference so as not to cause conflict in reading and writing.

P I F O300は、データ線302.市1j伽l
線303を介し後位装置にデータを出力している。後位
装置が処理を終了すると、FIFO300内の次のデー
タ取出しを、制御線304を介して指示されるため、F
 I F 0300は、次データをIBブ〕する。尚、
市U御線303は、データの有効、無効を指示するもの
である。
P I F O 300 connects data line 302 . city 1j kal
Data is output to the downstream device via line 303. When the downstream device finishes processing, it is instructed to retrieve the next data from the FIFO 300 via the control line 304, so the F
IF 0300 loads the next data. still,
The city U control line 303 indicates whether data is valid or invalid.

以上の説明では、一方向の転送であったカニ、両方向の
場合、本発明の回路を逆方向にもう1回路膜ければ良い
In the above explanation, transfer was performed in one direction, but in the case of transfer in both directions, it is sufficient to add one more circuit of the present invention in the opposite direction.

本発明は以上説明したように人出ノコを独自に制御でき
るデータ転送制御回路を設けることにより、相手装置を
意識することなく、また待ち合わせもない効率の良いデ
ータ転送を行なうことができる効果がある。
As explained above, the present invention has the effect of being able to perform efficient data transfer without being aware of the other party's device and without waiting. .

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

第1図は本発明の一実施例を示すブロック図である。 100・・・入力側ファーストインファーストアウトメ
モリ(FIFO) 200・・・主メモリ(MEM) 300・・・出力側ファーストインファーストアウトメ
モリ(FIFO) 400・・・ライトコントロール(WCTL)500・
・・ライトアドレスカウンタ(WAC)600・・・リ
ードアドレスカウンタ(RAG)700・・・セレクタ
(SEL) 800・・・比較部(CMP)
FIG. 1 is a block diagram showing one embodiment of the present invention. 100... Input side first in first out memory (FIFO) 200... Main memory (MEM) 300... Output side first in first out memory (FIFO) 400... Write control (WCTL) 500.
...Write address counter (WAC) 600...Read address counter (RAG) 700...Selector (SEL) 800...Comparison section (CMP)

Claims (1)

【特許請求の範囲】[Claims] 装置と装置との間で、データ転送を行なう場合における
、データ転送制御回路に卦いて、入力側に設けられて入
出力を独自に制御できるファーストインファーストアウ
トメモリと、転送データを一時格納する主メモリと、出
力側に設けられて入出力を独自に制御できるファースト
インファーストアウトメモリと、該入力側ファーストイ
ンファーストアウトメモリからのデータを上記主メモリ
に書込むための制御を行なうライトコントロールと、上
記主メモリの書込みアドレスを指定するライトアドレス
カウンタと、上記主メモリの読出しアドレスを指定する
リードアドレスカウンタと、該ライトコントロールの制
御によ如上記ライトアドレスカウンタの出力とリードア
ドレスカウンタの出力とを切換えるセレクタと、該ライ
トアドレスカウンタの値とリードアドレスカウンタの値
とを比較する比較部と、上記主メモリの内容を読出して
上記出力側ファーストインファーストアウトメモリに書
込む制御を行なうリードコントロールとを備えて成8す
、データ転送時、入力側及び出力側で入出力を各々独自
に制御するよう構成したことを特徴とするデータ転送制
御回路。
When transferring data between devices, in addition to the data transfer control circuit, there is a first-in-first-out memory that is installed on the input side and can independently control input and output, and a main memory that temporarily stores the transferred data. a memory, a first-in-first-out memory provided on the output side and capable of independently controlling input/output, and a write control for controlling writing of data from the input-side first-in-first-out memory to the main memory; A write address counter that specifies a write address of the main memory, a read address counter that specifies a read address of the main memory, and an output of the write address counter and an output of the read address counter are controlled according to the control of the write control. A selector for switching, a comparison section for comparing the value of the write address counter and the value of the read address counter, and a read control for controlling the reading of the contents of the main memory and writing to the output side first-in-first-out memory. 8. A data transfer control circuit comprising: a data transfer control circuit configured to independently control input and output on an input side and an output side during data transfer.
JP58125794A 1983-07-11 1983-07-11 Data transfer control circuit Pending JPS6017552A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP58125794A JPS6017552A (en) 1983-07-11 1983-07-11 Data transfer control circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP58125794A JPS6017552A (en) 1983-07-11 1983-07-11 Data transfer control circuit

Publications (1)

Publication Number Publication Date
JPS6017552A true JPS6017552A (en) 1985-01-29

Family

ID=14919037

Family Applications (1)

Application Number Title Priority Date Filing Date
JP58125794A Pending JPS6017552A (en) 1983-07-11 1983-07-11 Data transfer control circuit

Country Status (1)

Country Link
JP (1) JPS6017552A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6361325A (en) * 1986-09-02 1988-03-17 Canon Inc Data input/output memory
WO1997037298A1 (en) * 1996-03-29 1997-10-09 Symbios, Inc. Fifo memory system
US6681314B1 (en) 1998-09-08 2004-01-20 Nec Electronics Corporation FIFO memory device suitable for data transfer apparatuses with different data bus widths and method for controlling the same

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6361325A (en) * 1986-09-02 1988-03-17 Canon Inc Data input/output memory
WO1997037298A1 (en) * 1996-03-29 1997-10-09 Symbios, Inc. Fifo memory system
US5956492A (en) * 1996-03-29 1999-09-21 Lsi Logic Corporation N-deep fixed latency fall-through FIFO architecture
US6681314B1 (en) 1998-09-08 2004-01-20 Nec Electronics Corporation FIFO memory device suitable for data transfer apparatuses with different data bus widths and method for controlling the same

Similar Documents

Publication Publication Date Title
US5038277A (en) Adjustable buffer for data communications in a data processing system
JPH04367023A (en) Duplex disk controller
JPS6017552A (en) Data transfer control circuit
RU2001133097A (en) DATA TRANSMISSION DEVICE, DATA TRANSFER SYSTEM AND METHOD FOR DATA TRANSFER WITH DOUBLE BUFFERING
JP2001118378A (en) Fifo storage device and fifo control method
JP2004206487A (en) Fifo memory circuit
JPH0149972B2 (en)
CA1270574A (en) Method for operating a memory apparatus serving as a clock interface and an apparatus for carrying out the method
JPH0344886A (en) Fast-in fast-out memory constituting system
KR20010102481A (en) Method and apparatus for the block transfer of data
JP2577604Y2 (en) Image memory and data processing device
JPH06284453A (en) Atm cell switch
JPH02179141A (en) Switch control system
JPH01269150A (en) Buffering device
JPH01147648A (en) Data memory device
JPS6019023B2 (en) data processing equipment
JP2006113870A (en) Data transfer device and electronic information apparatus
JPH01302416A (en) Computer output data switching device
JPH0950366A (en) Assembled type fifo device and its control method
JPH04263333A (en) Memory duplication system
JPS6326751A (en) Reading system for control information on input/output controller
JPH0520165A (en) System bus controller
JPH04139547A (en) Data transfer control circuit for storage controller
JPS63222549A (en) Reception buffer management equipment
JPS6188633A (en) Electronic switch