JPH02207321A - Bidirectional fifo memory - Google Patents

Bidirectional fifo memory

Info

Publication number
JPH02207321A
JPH02207321A JP1030292A JP3029289A JPH02207321A JP H02207321 A JPH02207321 A JP H02207321A JP 1030292 A JP1030292 A JP 1030292A JP 3029289 A JP3029289 A JP 3029289A JP H02207321 A JPH02207321 A JP H02207321A
Authority
JP
Japan
Prior art keywords
data
data input
output
register
bus
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
JP1030292A
Other languages
Japanese (ja)
Inventor
Masayoshi Tamura
田村 昌儀
Toru Ishikawa
透 石川
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 JP1030292A priority Critical patent/JPH02207321A/en
Publication of JPH02207321A publication Critical patent/JPH02207321A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To control the direction of data flow by means of two devices by providing a register which outputs a port selecting signal corresponding to a set state. CONSTITUTION:For example, when a register setting signal RS1 from a first device 101 is set at a high level, a register 3 is set at a state in which a port selecting signal PS as the high level is outputted. When a register setting signal RS2 from a second device 102 is set at the high level, the register 3 is set at the state in which the port selecting signal PS at a low level is outputted. For example, when the port selecting signal PS is at the high level, a first data input/output port in a port select control circuit 2 is connected to a data output bus OB, and a second data input/output port is connected to a data input bus IB. Thus the direction of the data flow can be controlled by either one of the first and second devices 101 and 102.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は双方向FIFOメモリに関し、特に二つのデー
タ入出力バスを備え、二つの方向から、書込んだデータ
を書込んだ時の順序で読出すことができる双方向FIF
Oメモリに関する。
[Detailed Description of the Invention] [Industrial Application Field] The present invention relates to a bidirectional FIFO memory, and particularly to a bidirectional FIFO memory that is provided with two data input/output buses and that writes data from two directions in the order in which it was written. Bidirectional FIF that can be read
Regarding O memory.

〔従来の技術〕[Conventional technology]

従来、FIFOメモリは、データ処理速度が異なる装置
間のデータ伝送を効率的に行なわせるために、データ列
の到来順序を崩さずに一時的に保存し出力するメモリと
して利用されてきた。
Conventionally, FIFO memory has been used as a memory that temporarily stores and outputs data sequences without changing the order in which they arrive, in order to efficiently transmit data between devices with different data processing speeds.

異なる装置の双方にデータの書込み2読出しができる従
来の双方向FIFOメモリの一例を第4図に示す。
FIG. 4 shows an example of a conventional bidirectional FIFO memory that can read and write data to and from different devices.

この双方向FIFOメモリは、データ入力バスIBから
到来する各データを到来順に順次記憶し、記憶された各
データを到来順に順次データ出カバスOBに出力するF
IFOメモリ1と、第1及び第2の装置101,102
とそれぞれ対応して接続する第1及び第2のデータ入出
力バスl0Bt 、l0B2と、これら第1及び第2の
データ入出力バスl0B1.l0B2とそれぞれ対応し
て接続する第1及び第2のデータ入出力ポートを備え、
一つのポートセレクト信号入力端子T’psから入力さ
れるポートセレクト信号PSに従って第1及び第2のデ
ータ入出力ポートとデータ入力バスIB及びデータ出力
バスOBとの間の接続を制御するポートセレクト制御回
路2とを有する構成となっており、ポートセレクト信号
入力端子TP5は一つしかないために第1及び第2の装
置101.102の何れか一方と接続され、何れか一方
からポートセレクト信号PSを出力するようになってい
た。
This bidirectional FIFO memory sequentially stores each piece of data arriving from the data input bus IB in the order of arrival, and outputs each stored data sequentially to the data output bus OB in the order of arrival.
IFO memory 1 and first and second devices 101 and 102
and first and second data input/output buses l0Bt, l0B2, which are respectively connected to the first and second data input/output buses l0B1. comprising first and second data input/output ports respectively correspondingly connected to l0B2;
Port select control for controlling the connection between the first and second data input/output ports and the data input bus IB and data output bus OB according to the port select signal PS input from one port select signal input terminal T'ps Since there is only one port select signal input terminal TP5, it is connected to either one of the first and second devices 101 and 102, and the port select signal PS is input from either one. It was supposed to output .

例えば、ポートセレクト信号PSが高レベルのときは、
第1のデータ入出力ポートはデータ出力バスOBと接続
され、第2のデータ入出力ポートはデータ入力バスIB
と接続される。また、ポートセレクト信号゛PSが低レ
ベルのときは、第1のデータ入出力ポートとデータ入力
バスIBとが接続され、第2のデータ入出力ポートとデ
ータ出力バスOBとが接続される。
For example, when the port select signal PS is high level,
The first data input/output port is connected to the data output bus OB, and the second data input/output port is connected to the data input bus IB.
connected to. When the port select signal PS is at a low level, the first data input/output port is connected to the data input bus IB, and the second data input/output port is connected to the data output bus OB.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

上述した従来の双方向FIFOメモリは、第1及び第2
のデータ入出力ポートとデータ入力バスIB、データ出
力バスOBとの間の接続を制御するポートセレクト信号
入力端子T’psが一つしかない1成となっているので
、第1及び第2の装置101.102の何れか一方から
しかデータの流れる方向を制御することができないとい
う欠点がある。
The conventional bidirectional FIFO memory described above has a first and second
Since there is only one port select signal input terminal T'ps that controls the connection between the data input/output port of the data input/output port, the data input bus IB, and the data output bus OB, the first and second There is a drawback in that the direction in which data flows can only be controlled from one of the devices 101 and 102.

本発明の目的は、第1及び第2の装置の何れからもデー
タの流れる方向を制御することができる双方向FIFO
メモリを提供することにある。
An object of the present invention is to provide a bidirectional FIFO that can control the direction of data flow from either the first or second device.
The purpose is to provide memory.

〔課題を解決するための手段〕[Means to solve the problem]

本発明の双方向FIFOメモリは、データ入力バスから
到来する各データを到来順に順次記憶し、記憶された前
記各データを前記到来順に顆状データ出力バスへ出力す
るFIFOメモリと、第1及び第2の装置とそれぞれ対
応して接続しデータの伝達を行う第1及び第2のデータ
入出力バスと、これら第1及び第2のデータ入出力バス
とそれぞれ対応して接続する第1及び第2のデータ入出
力ポートを備え、ポートセレクト信号に従って前記第1
及び第2のデータ入出力ポートと前記データ入力バス及
びデータ出力バスとの間の接続を制御するポートセレク
ト制御回路と、二つの状態を設定することができ、この
設定された状態に従って前記ポートセレクト信号を出力
するレジスタと、前記第1及び第2の装置により前記レ
ジスタの状態を設定する手段とを有している。
The bidirectional FIFO memory of the present invention includes a FIFO memory that sequentially stores each data arriving from a data input bus in the order of arrival, and outputs the stored data to the condylar data output bus in the order of arrival; first and second data input/output buses that are respectively connected to the second device and transmit data; and first and second data input/output buses that are respectively connected to the first and second data input/output buses. data input/output ports, and the first
and a port select control circuit that controls the connection between the second data input/output port and the data input bus and the data output bus, and a port select control circuit that can set two states, and selects the port select according to the set state. It has a register for outputting a signal, and means for setting the state of the register by the first and second devices.

〔実施例〕〔Example〕

次に、本発明の実施例について図面を参照して説明する
Next, embodiments of the present invention will be described with reference to the drawings.

第1図は本発明の第1の実施例を示すブロック図である
FIG. 1 is a block diagram showing a first embodiment of the present invention.

FIFOメモリ1.ポートセレクト制御回路2、第1及
び第2のデータ入出力バスI OB lr OB 2は
そKぞれ第4図に示された従来の双方向F’IFOメモ
リと同様の構成2機能をもち、また同様に相互接続され
て動作する。
FIFO memory 1. The port select control circuit 2, the first and second data input/output buses IOBlrOB2 each have the same configuration and function as the conventional bidirectional F'IFO memory shown in FIG. They are also interconnected and operate in the same way.

レジスタ3は二つの状態を設定することができ、この設
定された状態に従ってポートセレクト信号psを出力す
る。
The register 3 can set two states, and outputs the port select signal ps according to the set state.

このレジスタ3の状態の設定は、第1及び第2の装置1
01,102からそれぞれレジスタ設定信号RS、、R
3,によって行う。例えば、第1の装置101からのレ
ジスタ設定信号R81を高レベルにすると、レジスタ3
は高レベルのポートセレクト信号PSを出力する状態に
設定され、第2の装置102からのレジスタ設定信号R
32を高レベルにすると、レジスタ3は低レベルのポー
トセレクト信号PSを出力する状態に設定される。
The setting of the state of this register 3 is performed by the first and second devices 1.
Register setting signals RS, , R from 01 and 102, respectively.
Perform according to 3. For example, when the register setting signal R81 from the first device 101 is set to high level, the register 3
is set to output a high-level port select signal PS, and the register setting signal R from the second device 102 is set to output a high-level port select signal PS.
32 is set to a high level, the register 3 is set to output a low level port select signal PS.

第2図はこの実施例のポートセレクト制御回路2の具体
例を示す回路図である。
FIG. 2 is a circuit diagram showing a specific example of the port select control circuit 2 of this embodiment.

ポートセレクト信号PSが高レベルのとき、及び低レベ
ルのときのポートセレクト制御回路2における第1及び
第2のデータ入出力ポート2OA、20Bとデータ入力
バスIB及びデータ出力バスOBとの間の接続は従来と
同様の接続となる。
Connections between the first and second data input/output ports 2OA, 20B and the data input bus IB and data output bus OB in the port select control circuit 2 when the port select signal PS is at high level and when the port select signal PS is at low level The connection is the same as before.

第3図は本発明の第2の実施例を示すブロック図である
FIG. 3 is a block diagram showing a second embodiment of the invention.

この実施例は、ポートセレクト信号PSを出力するレジ
スタ3^の状態を、第1及び第2の装置101.102
から入力される各データの特定のビット(以下、レジス
タ設定ビットという)を使用して設定するようにしたも
のである。
In this embodiment, the state of the register 3^ that outputs the port select signal PS is transmitted to the first and second devices 101 and 102.
The settings are made using specific bits (hereinafter referred to as register setting bits) of each data input from the register.

第1及び第2の装置101,102から入力される各デ
ータは、ポートセレクト制御回路2及びデータ入力バス
IBを介してFIFOメモリ1^に順次書込まれる。こ
のとき各データのレジスタ設定ビットは各データと対応
して順次レジスタ設定ビット領域11に記憶され、読出
されるときは各データと対応して順次読出され、レジス
タ3Aに入力される。レジスタ3Aはこのレジスタ設定
ビットの内容に従って状態を設定しこの状態に応tic
;jj−トセレクト信号PSを出力する。
Each data input from the first and second devices 101 and 102 is sequentially written into the FIFO memory 1^ via the port select control circuit 2 and the data input bus IB. At this time, the register setting bits of each data are sequentially stored in the register setting bit area 11 in correspondence with each data, and when read out, they are sequentially read out in correspondence with each data and input into the register 3A. Register 3A sets the state according to the contents of this register setting bit and responds to this state.
;outputs the jj-to select signal PS.

従って、第1及び第2の装置101,102からレジス
タ3Aの状態を設定するサイクルが不要になるという利
点がある。
Therefore, there is an advantage that a cycle for setting the state of the register 3A from the first and second devices 101 and 102 is not necessary.

〔発明の効果〕〔Effect of the invention〕

以上説明したように本発明は、二つの状態を設定するこ
とができこの設定された状態に応じたポートセレクト信
号を出力するレジスタと、二つのデータ入出力バスと接
続する二つの装置からこのレジスタの状態を設定する手
段とを設け、このポートセレクト信号によりデータの流
れる方向を制御する構成とすることにより、従来二つの
装置のうちの何れか一方でしかデータの流れる方向を制
御することができなかったのに対し、二つの装置双方か
ら制御することができるという効果がある。
As explained above, the present invention has a register that can set two states and outputs a port select signal according to the set state, and a register that is connected to two data input/output buses from two devices. Conventionally, by providing means for setting the state of the device and controlling the direction of data flow using this port select signal, it has been possible to control the direction of data flow in only one of the two devices. However, the advantage is that it can be controlled from both devices.

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

第1図は本発明の第1の実施例を示すブロック図、第2
図は第1図に示された実施例のポートセレクト制御回路
の具体例を示す回路図、第3図は本発明の第2の実施例
を示すブロック図、第4図は従来の双方向FIFOメモ
リの一例を示すブロック図である。 1、IA・・・FIFOメモリ、2・・・ポートセレク
ト制御回路、3,3A・・・レジスタ、11・・・レジ
スタ設定ビット領域、2OA、20B・・・データ入出
力ポート、21A、21B 、22A 、22g・・・
トライステートバッファ、101.l0IA・・・第1
の装置、102.1024・・・第2の装置、IB・・
・データ入力バス、l0B1.l0B2・・・データ入
出力バス、OB・・・データ出力バス。 代理人 弁理士  内 原  晋
FIG. 1 is a block diagram showing a first embodiment of the present invention;
The figure is a circuit diagram showing a specific example of the port select control circuit of the embodiment shown in Fig. 1, Fig. 3 is a block diagram showing a second embodiment of the present invention, and Fig. 4 is a conventional bidirectional FIFO. FIG. 2 is a block diagram showing an example of a memory. 1, IA... FIFO memory, 2... Port select control circuit, 3, 3A... Register, 11... Register setting bit area, 2OA, 20B... Data input/output port, 21A, 21B, 22A, 22g...
Tri-state buffer, 101. l0IA...1st
device, 102.1024... second device, IB...
-Data input bus, l0B1. l0B2...Data input/output bus, OB...Data output bus. Agent Patent Attorney Susumu Uchihara

Claims (1)

【特許請求の範囲】[Claims] データ入力バスから到来する各データを到来順に順次記
憶し、記憶された前記各データを前記到来順に順次デー
タ出力バスへ出力するFIFOメモリと、第1及び第2
の装置とそれぞれ対応して接続しデータの伝達を行う第
1及び第2のデータ入出力バスと、これら第1及び第2
のデータ入出力バスとそれぞれ対応して接続する第1及
び第2のデータ入出力ポートを備え、ポートセレクト信
号に従つて前記第1及び第2のデータ入出力ポートと前
記データ入力バス及びデータ出力バスとの間の接続を制
御するポートセレクト制御回路と、二つの状態を設定す
ることができ、この設定された状態に従って前記ポート
セレクト信号を出力するレジスタと、前記第1及び第2
の装置により前記レジスタの状態を設定する手段とを有
することを特徴とする双方向FIFOメモリ。
a FIFO memory that sequentially stores each data arriving from a data input bus in the order of arrival, and outputs each of the stored data sequentially to the data output bus in the order of arrival;
first and second data input/output buses that are connected to the corresponding devices and transmit data;
The first and second data input/output ports are connected to the data input/output bus in correspondence with each other, and the first and second data input/output ports are connected to the data input/output bus and the data output bus in accordance with a port select signal. a port select control circuit that controls connection with the bus; a register that can set two states and outputs the port select signal according to the set state;
and means for setting the state of the register by the device.
JP1030292A 1989-02-08 1989-02-08 Bidirectional fifo memory Pending JPH02207321A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1030292A JPH02207321A (en) 1989-02-08 1989-02-08 Bidirectional fifo memory

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1030292A JPH02207321A (en) 1989-02-08 1989-02-08 Bidirectional fifo memory

Publications (1)

Publication Number Publication Date
JPH02207321A true JPH02207321A (en) 1990-08-17

Family

ID=12299655

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1030292A Pending JPH02207321A (en) 1989-02-08 1989-02-08 Bidirectional fifo memory

Country Status (1)

Country Link
JP (1) JPH02207321A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6029253A (en) * 1997-10-30 2000-02-22 Micron Electronics, Inc. Method for synchronizing data with a bi-directional buffer
US6055597A (en) * 1997-10-30 2000-04-25 Micron Electronics, Inc. Bi-directional synchronizing buffer system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6029253A (en) * 1997-10-30 2000-02-22 Micron Electronics, Inc. Method for synchronizing data with a bi-directional buffer
US6055597A (en) * 1997-10-30 2000-04-25 Micron Electronics, Inc. Bi-directional synchronizing buffer system

Similar Documents

Publication Publication Date Title
US7093076B2 (en) Memory system having two-way ring topology and memory device and memory module for ring-topology memory system
CA1245305A (en) Full-duplex one-sided cross-point switch
JPH02207321A (en) Bidirectional fifo memory
US5712991A (en) Buffer memory for I/O writes programmable selective
US5488736A (en) Bidirectional programmable I/O driver array
JPH02171948A (en) Programmable output port
JPH0222938A (en) Time slot switching method
JPH02125356A (en) Bidirectional buffer circuit
JP2737916B2 (en) Digital signal connection device
JP2897774B2 (en) Output select circuit
JPS60209864A (en) Data transmission circuit unit
JPH01140302A (en) I/o module for programmable controller
JPH03116350A (en) Bus structure for data transfer
KR19980072575A (en) Interface control between PCI bus and Y bus
JPH0424741B2 (en)
JPH01234956A (en) Data transfer system
JPH0421149A (en) Dma data transmitting equipment
JPS6240514A (en) Bidirectional buffer circuit
JPS5953743B2 (en) Communication control device
JPS62206652A (en) Data transfer control system for bidirectional bus
JP2002342302A (en) Initial lsi setting circuit
JPH035863A (en) Digital system
JPH1031647A (en) Cpu board having data bus width conversion control circuit
JPS62266645A (en) Serial interface circuit
JPH01120661A (en) Memory control circuit