JPS61173339A - First-in first-out buffer control device - Google Patents

First-in first-out buffer control device

Info

Publication number
JPS61173339A
JPS61173339A JP60013533A JP1353385A JPS61173339A JP S61173339 A JPS61173339 A JP S61173339A JP 60013533 A JP60013533 A JP 60013533A JP 1353385 A JP1353385 A JP 1353385A JP S61173339 A JPS61173339 A JP S61173339A
Authority
JP
Japan
Prior art keywords
data
output
stage
management information
permission signal
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
JP60013533A
Other languages
Japanese (ja)
Inventor
Osami Yatsuse
八瀬 長三
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 JP60013533A priority Critical patent/JPS61173339A/en
Publication of JPS61173339A publication Critical patent/JPS61173339A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To make an input and output permitting signal continuous, and to execute the high speed processing by remaining a preliminary buffer for one step or preliminary data for one step and non-permitting the input and non- permitting the output before the storing condition of the data to a buffer goes to be full or empty. CONSTITUTION:At a first-in first-out buffer circuit, a data shift register DSR of (n) steps having data latch circuits B1-Bnm and an indication shift register LSR having data control circuits A1-An are provided. When data control information of a circuit A2 is off, the data control information of the circuit A3 is latched to FF1, and an input permitting signal IR2 is outputted by AND with the output of FF1 and the control information of the circuit 2 at a gate circuit 4. An output permitting signal OR2 is generated in accordance with the control information of circuits An-1 and An in the same way by an FF2, inverters 7 and 8 and a gate circuit 5, a signal OR2 is turned off by the logical output of the output of the circuit An and the output of an FF3, and the input and output permitting signals are made continuous.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明はデータ処理装置に於ける転送データを一時的に
蓄える為の先入れ先出しバッファを制御する先入れ先出
しバッファ制御装置に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a first-in, first-out buffer control device for controlling a first-in, first-out buffer for temporarily storing transfer data in a data processing device.

〔従来の技術〕[Conventional technology]

従来、この種の先入れ先出しく以後FIFOと称す)バ
ッファ制御装置は第3図に示すように1ビット×n段の
データ管理回路A、 、 A2  ・・・Anよりなる
インデケーションシフトレジスタ■SRとmピントス0
段のデータランチ回路Bll。
Conventionally, this type of first-in, first-out (hereinafter referred to as FIFO) buffer control device has an index shift register ■SR and m consisting of a 1-bit×n stage data management circuit A, , A2 . . . An as shown in FIG. Pintos 0
stage data launch circuit Bll.

B21・・・BnlTlよりなるデータシフトレジスタ
DSRとで構成されている。インデケーションシフトレ
ジスタISRはデータシフトレジスタDSRヘラッチす
べきデータD、  ・・・DmがデータレジスタDSR
に到着したか否かの情報を管理するものであり、データ
シフトレジスタDSRにデータの入力ができることを示
す入力許可信号IRIはインデケーションシフトレジス
タISRの第1段目のデータ管理回路A、のデータ管理
情報■1を反転して使用し、データシフトレジスタDS
Rからデータをとることができることを示す出力許可信
号ORIはインデケーションシフトレジスタISRの最
終段のデータ管理回路Anのデータ管理情報■。を使用
している。
B21...BnlTl and a data shift register DSR. The indication shift register ISR is the data shift register DSR. The data to be latched D,...Dm is the data register DSR.
The input permission signal IRI, which indicates that data can be input to the data shift register DSR, is used to manage information on whether data has arrived at the data management circuit A of the first stage of the indication shift register ISR. Management information ■1 is inverted and used, data shift register DS
The output permission signal ORI indicating that data can be taken from R is data management information (2) of the data management circuit An at the final stage of the indication shift register ISR. are using.

第4図(a)にデータ入力動作の場合のタイムチャート
を示す。インデケーシジンシフトレジスタISRに入力
されるデータ入力制御信号SIによりデータ管理回路A
1においてデータシフトレジスタDSRの1段目の各デ
ータラッチ回路B11・・・BlmへのストローブST
B、が作成されデータの移動が行われるとともにデータ
管理回路A1のデータ管理情報1.がONとなる。デー
タ管理情報I、がONとなる事によりデータシフトレジ
スタDSRの2段目のデータラッチ回路B2+・・・8
2mが空であればデータ管理回路A2において2段目の
各データラッチ回路B21・・・82mへのストローブ
信号5TB2が発生し、1段目のデータラッチ回路から
2段目のデータラッチ回路へのデータ移動が行われると
ともにデータ管理情報■1をOFFとし2段目のデータ
管理回路A2のデータ管理情報■2をONとする。この
様な動作を順次後段へと行っていく。入力許可信号IR
Iはデータ管理情報■1 の反転した情報を使用してい
るため、第4図(a)に示すようにデータ管理情報1.
がONになる度毎に入力許可信号IRIがOFFとなり
データシフトレジスタDSRへの入力を不許可としてい
る。
FIG. 4(a) shows a time chart for data input operation. The data management circuit A is controlled by the data input control signal SI input to the index shift register ISR.
1, strobe ST to each data latch circuit B11...Blm of the first stage of data shift register DSR.
B is created and the data is moved, and the data management information 1.B of the data management circuit A1 is created. becomes ON. When the data management information I is turned ON, the second stage data latch circuit B2+...8 of the data shift register DSR
If 2m is empty, a strobe signal 5TB2 is generated in the data management circuit A2 to each of the second-stage data latch circuits B21...82m, and the strobe signal 5TB2 is transmitted from the first-stage data latch circuit to the second-stage data latch circuit. At the same time as data movement is performed, data management information (1) is turned off and data management information (2) of the second stage data management circuit A2 is turned on. Such operations are performed sequentially in subsequent stages. Input permission signal IR
I uses the inverted information of the data management information 1. Therefore, the data management information 1.1 is used as shown in FIG. 4(a).
Each time the input permission signal IRI is turned ON, the input permission signal IRI is turned OFF, disabling input to the data shift register DSR.

第4図(b)に出力動作のタイムチャートを示す、イン
デケーションシフトレジスタISRへのデータ出力制御
信号SOの供給に応答してデータ管理回路Anはストロ
ーブ信号5TBnをONとして最終段のデータラッチ回
路Bnl・・・Br1r11に供給し、これら回路に格
納しているデータを送出せしめる。これによりデータ管
理回路Anのデータ管理情報InがOFFとなり、これ
によりデータ管理回路An−1ではストローブ信号S 
T B n−+をONとして以下順次このような動作を
前段へと行っていく。出力許可信号ORIはデータ管理
情報Inを使用しているので第4図(b)に示すように
データ管理情報InがOFFになる度毎に出力許可信号
ORIもOFFとなりデータシフトレジスタDSRから
の出力を不許可としている。
FIG. 4(b) shows a time chart of the output operation. In response to the supply of the data output control signal SO to the indication shift register ISR, the data management circuit An turns on the strobe signal 5TBn to the final stage data latch circuit. Bnl...Br1r11 to send out the data stored in these circuits. As a result, the data management information In of the data management circuit An is turned OFF, and as a result, the data management circuit An-1 turns off the strobe signal S.
Turning on T B n-+, the above operations are sequentially performed in the previous stage. Since the output permission signal ORI uses the data management information In, as shown in FIG. 4(b), each time the data management information In turns OFF, the output permission signal ORI also turns OFF, and the output from the data shift register DSR. is not permitted.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

以上のように従来のFIFOバッファ制御装置では、デ
ータの入力動作毎に一時入力不許可、データの出力動作
毎に一時出力不許可となりFIFOバッファの使用を制
限しており、次の入出力動作を行うにはその度毎に必ず
待機せねばならす高速にFIFOバフファを使用するこ
とができないという欠点がある。
As described above, in the conventional FIFO buffer control device, the use of the FIFO buffer is restricted by temporarily disabling input for each data input operation and temporarily disabling output for each data output operation, and restricting the use of the FIFO buffer when the next input/output operation is performed. There is a drawback that the FIFO buffer cannot be used at high speed because it must be waited for each time it is used.

〔問題点を解決するための手段〕[Means for solving problems]

本発明の目的は、上記のような従来の欠点を解決し、入
力許可信号、出力許可信号を連続的に出力し高速処理を
することができるFIFOバッファ制御装置を提供する
ことにある。
SUMMARY OF THE INVENTION An object of the present invention is to provide a FIFO buffer control device which can solve the above-mentioned conventional drawbacks and can perform high-speed processing by continuously outputting an input permission signal and an output permission signal.

本発明は、n段(nは3以上の自然数)のバッファから
なる先入れ先出しバッファのデータ入力を許可するデー
タ入力許可信号とデータ出力を許可するデータ出力許可
信号とを制御する先入れ先出しバッファ制御装置におい
て、少なくとも第2段、第3段、第(n−2)段、第(
n−1)段および第n段目の前記各バッファ内にデータ
が格納されているか否かをそれぞれ示すデータ管理情報
を発生するデータ管理情報発生手段と、前記第2段目の
バッファのデータ管理情報と前記第3段目のバッファの
データ管理情報との供給をうけて前記データ入力許可信
号を発生し、前記第2段目のバッファと前記第3段目の
バッファとにデータが格納されているときのみ前記デー
タ入力許可信号の発生を停止するデータ入力許可信号発
生手段と、前記第(n −2)段目のバッファのデータ
管理情報と前記第(n−1)段目のバッファのデータ管
理情報との供給をうけて前記データ出力許可信号を発生
し、前記第(n−2)段目のバッファと前記第(n−1
)段目のバッファとにデータが格納されていないときの
み前記データ出力許可信号の発生を停止するデータ出力
許可信号発生手段と、最終データの取り出しである事を
認識し前記第n段目のバッファのデータ管理情報により
前記データ出力許可信号の発生の停止を解除する手段と
を備えることを特徴としている。
The present invention provides a first-in, first-out buffer control device that controls a data input permission signal that allows data input and a data output permission signal that allows data output to a first-in, first-out buffer consisting of an n-stage buffer (n is a natural number of 3 or more). At least the second stage, the third stage, the (n-2)th stage, the (
n-1) data management information generation means for generating data management information indicating whether or not data is stored in each of the buffers in the stage and nth stage, and data management in the buffer in the second stage; The data input permission signal is generated in response to the information and the data management information of the third stage buffer, and the data is stored in the second stage buffer and the third stage buffer. data input permission signal generating means for stopping generation of the data input permission signal only when the data input permission signal is present; data management information of the (n-2)th stage buffer; and data of the (n-1)th stage buffer; In response to the supply of management information, the data output permission signal is generated, and the data output permission signal is generated, and
) data output permission signal generating means that stops generating the data output permission signal only when no data is stored in the nth stage buffer; and means for canceling the stoppage of generation of the data output permission signal based on the data management information.

〔実施例〕〔Example〕

次に本発明の一実施例について図面を参照して詳細に説
明する。
Next, one embodiment of the present invention will be described in detail with reference to the drawings.

第1図は本発明の一実施例を示すブロック図である。第
1図のFIFOバッファ制御装置は、データシフトレジ
スタDSR(FIFOバッファ)と、インデケーション
シフトレジスタISRと、フリップフロップ1,2およ
び3と、ゲート回路4.5および6と、インバータ7お
よび8とから構成される。データシフトレジスタDSR
とインデケーションシフトレジスタISRとは第3図に
示した従来回路と同じでありその構成については前述し
たので説明を省略する。フリップフロ・ノブ1はデータ
管理回路A3のデータ管理情報I3をデータ管理回路A
2のデータ管理情報I2のOFF状態でラッチし、ゲー
ト回路4においてフリップフロップ1の出力情報とデー
タ管理情報I2とのNANDをとり入力許可信号IR2
を作成している。従ってデータ管理情報I2と13とが
共にONの場合のみ(これはFIFOバッファが1段分
を残して満杯であることを示す)入力許可信号IR2が
OFFとなり入力を不許可とする。フリップフロップ2
はデータ管理回路An−2のデータ管理情報In−2の
インバータ7により反転された値をデータ管理回路An
−1のデータ管理情報In−IのON状態でラッチし、
ゲート回路5においてフリップフロップ2の出力情報と
データ管理情報In−1の反転した値とのNANDをと
り出力許可信号OR2を作成している。従ってデータ管
理情報■。−2とIn−1とが共にOFFの場合のみ(
これはFIFOバッファが1段分の予備を残して空であ
ることを示す)、出力許可信号OR2がOFFとなり出
力を不許可とする。下位装置からの指示信号によりフリ
ップフロップ3がONとなり最終データの取り出しであ
る事を認識した場合、データ管理情報Inにより出力許
可信号OR2をONとする。
FIG. 1 is a block diagram showing one embodiment of the present invention. The FIFO buffer control device shown in FIG. It consists of data shift register DSR
and the indication shift register ISR are the same as the conventional circuit shown in FIG. 3, and the structure thereof has been described above, so a description thereof will be omitted. Flip-flow knob 1 transfers data management information I3 of data management circuit A3 to data management circuit A.
The data management information I2 of 2 is latched in the OFF state, and the gate circuit 4 performs a NAND between the output information of the flip-flop 1 and the data management information I2 to generate an input permission signal IR2.
is being created. Therefore, only when the data management information I2 and 13 are both ON (this indicates that the FIFO buffer is full except for one stage), the input permission signal IR2 turns OFF and input is not permitted. flip flop 2
is the value inverted by the inverter 7 of the data management information In-2 of the data management circuit An-2.
-1 data management information In-I is latched in the ON state,
In the gate circuit 5, the output information of the flip-flop 2 and the inverted value of the data management information In-1 are NANDed to generate an output permission signal OR2. Therefore data management information■. Only when both -2 and In-1 are OFF (
This indicates that the FIFO buffer is empty with one stage of spare space remaining), and the output permission signal OR2 is turned OFF, disabling output. When the flip-flop 3 is turned ON by the instruction signal from the lower-level device and it is recognized that the final data is to be retrieved, the output permission signal OR2 is turned ON by the data management information In.

第2図(a)には第1図の実施例の入力動作のタイムチ
ャートを、第2図(b)には第1図の実施例の出力動作
タイムチャートを示す。第1図と第2図とを参照して入
力動作および出力動作を詳細に説明する。
FIG. 2(a) shows a time chart of input operation in the embodiment of FIG. 1, and FIG. 2(b) shows a time chart of output operation of the embodiment of FIG. The input operation and output operation will be explained in detail with reference to FIGS. 1 and 2.

第2図(a)は、時刻toにおいてFIFOバッファの
第1段目と第2段目と第3段目のデータラッチ回路が空
で第4段目以降のデータラッチ回路はデータが格納され
ている状態(代表として第4段目のデータ管理回路A4
のデータ管理情報I4がON状態であることを図示して
いる)からの入力動作のタイムチャートを示している。
FIG. 2(a) shows that at time to, the data latch circuits in the first, second, and third stages of the FIFO buffer are empty, and the data latch circuits in the fourth and subsequent stages are filled with data. state (representatively, the fourth stage data management circuit A4
3 shows a time chart of an input operation from the data management information I4 (which shows that the data management information I4 is in the ON state).

時刻toの状態ではフリップフロップ1の出力は論理“
0” (以下ON状態を論理“1”、OFF状態を論理
“O”として示す)であり入力許可信号IR2は論理″
1”となっている。ここで上位装置よりデータ入力制御
信号SIがインデケーションシフトレジスタISRに時
刻t1 で到来し、データシフトレジスタDSRにおい
て入力データが第1段目のデータラッチ回路から第2段
目のデータラッチ回路へ、第2段目のデータラッチ回路
から第3段目のデータラッチ回路へと移動格納され、第
3段目のデータ管理回路A3のデータ管理情報I3が時
刻t2において論理“1”になりこれに応答してフリッ
プフロップ1の入力も論理“1”となる。時刻t2まで
は少なくともフリップフロップ1の出力が論理“0”で
ある故、たとえ第2段目のデータ管理回路A2のデータ
管理情報■2が論理“1”となっても入力許可信号IR
2の論理“1”が維持されて、従来の制御装置のように
入力の度毎に入力許可信号IR2が論理“O” (第2
図(a)で点線で図示)になることは防止される0時刻
t2以降はデータ管理情報■2の論理“0”により入力
許可信号IR2の論理“1”が維持される。次いで時刻
t3においてデータ入力制御信号S■が上位装置よりイ
ンデケーションシフトレジスタISRに供給され、FI
FOバッファにおいて入力データが第1段目のデータラ
ッチ回路、第2段目のデータラッチ回路へと移動格納さ
れると時刻t4においてデータ管理情報I2が論理“1
”となる。第3段目以降のデータラッチ回路にはすべて
のデータがラッチされているため上記の動作でFIFO
バッフプは第1段目のデータラッチ回路を残してデータ
満杯の状態となりこれ以上はデータを受入れない。つま
り時刻t4においてデータ管理情報■2の論理“1”へ
の変化に応答して入力許可信号IR2を論理“0”とし
て入力を禁止する。フリップフロップ1によりデータ管
理情報■2の論理“1”の状態におけるデータ管理情報
I3の変化の影響を無くしているのは、ストローブ信号
5TB3の立上りに対応してのデータ管理情報■2の応
答とデータ管理情報I3の応答との応答時間の差により
、データ管理情報■2とI3とが共に論理“1”となっ
た場合の誤動作を防止するためのものであり、このよう
にすることにより一段と高速化を図ることができる。
In the state of time to, the output of flip-flop 1 is logic “
0" (hereinafter, ON state is indicated as logic "1" and OFF state is indicated as logic "O"), and input permission signal IR2 is logic".
Here, the data input control signal SI from the host device arrives at the indication shift register ISR at time t1, and the input data is transferred from the first stage data latch circuit to the second stage data latch circuit in the data shift register DSR. The data management information I3 of the third stage data management circuit A3 becomes a logic "" at time t2. 1", and in response, the input of flip-flop 1 also becomes logic "1". Since at least the output of flip-flop 1 is logic "0" until time t2, even if the data management circuit in the second stage Data management information of A2 ■Even if 2 becomes logic “1”, input permission signal IR
2 is maintained at logic "1", and the input permission signal IR2 changes to logic "O" (second
From time t2 onwards, the logic "1" of the input permission signal IR2 is maintained due to the logic "0" of the data management information (2). Next, at time t3, the data input control signal S is supplied from the host device to the indication shift register ISR, and the FI
When the input data is moved and stored in the FO buffer to the first stage data latch circuit and the second stage data latch circuit, the data management information I2 becomes logic "1" at time t4.
”. Since all the data is latched in the data latch circuits from the third stage onward, the above operation will cause the FIFO
The buffer, leaving only the first stage data latch circuit, becomes full of data and does not accept any more data. That is, at time t4, in response to the change of data management information 2 to logic "1", input permission signal IR2 is set to logic "0" to prohibit input. The reason why the flip-flop 1 eliminates the influence of the change in the data management information I3 in the logic "1" state of the data management information II is the response of the data management information II in response to the rise of the strobe signal 5TB3. This is to prevent malfunctions when both data management information 2 and I3 become logic "1" due to the difference in response time from the response of data management information I3. It is possible to increase the speed.

第2図(b)は時刻1(、において〔便宜上時刻表示は
第2図(a)と同一記号を使用している〕、FIFOバ
ッファの第(n−2) yIt目と第(n −1)段目
のデータラッチ回路にはデータが格納されていて、第(
n−3)段目以前のデータラッチ回路が空の状態(代表
として第(n−3)段目のデータ管理回路An−3のデ
ータ管理情報I n−3が論理“0”であることを図示
している〕からの出力動作のタイムチャートを示してい
る。この状態ではフリップフロップ2の出力は論理“O
″であり、従って出力許可信号OR2は論理“1”とな
っている。ここでデータ出力制御信号SOが下位装置か
らインデケーションシフトレジスタISRに時刻t1で
到来し、第n段目のデータラッチ回路のデータが出力さ
れるとともに第(n−1)段目のデータラッチ回路のデ
ータが第n段目のデータラッチ回路にシフトし、第(n
−2)段目のデータラッチ回路のデータが第(fl−1
)段目のデータラッチ回路にシフトする。時刻t2にお
°いてデータ管理回路An−2のデータ管理情報I n
−2が論理“0″となりこれに応答してフリップフロッ
プ2の出力は論理“1”となる。時刻t2までは少なく
ともフリップフロップ2の出力が論理“0”である故、
たとえ第(n−1)段目のデータラッチ回路のデータ管
理情報In−1が論理“0”となっても出力許可信号O
R2の論理“1”が維持され、従来装置のように出力の
度毎に出力許可信号OR2が論理“0”(第2図(b)
で点線で図示)になることは防止される。時刻t2以降
はデータ管理情報I n−1の論理“1”により出力許
可信号OR2の論理“1”が維持される0次いで時刻t
3においてデータ出力制御信号SOが下位装置より供給
され、第n段目のデータランチ回路のデータが出力され
るとともに第(n−1)段目のデータラッチ回路のデー
タが第n段目のデータラッチ回路にシフトされると、デ
ータ管理回路An−1のデータ管理情報In−1が時刻
t4において論理“O”となる、第(n−2)一段目以
前のデータラッチ回路はすべてデータを格納しておらず
、そのため上記の動作でFIFOバッファは第n段目の
データラッチ回路を除いて空の状態となり、これ以上は
データを送出しない様に時刻t4においてデータ管理情
報tn−tの論理“0”への変化に応答して出力許可信
号OR2を論理“O”とし出力を禁止する。フリップフ
ロップ2によりデータ管理情報I n−1の論理“0”
の状態におけるデータ管理情報I n−2の変化の影響
を無くしているのは、ストローブ信号S T B n−
2の立上りに対応してのデータ管理情報I n−1の応
答とデータ管理情報I n−2の応答との応答時間の差
により、データ管理情報I n−1とI n−2とが共
に論理“0”となった場合の誤動作を防止するためΦも
のであり、このようにすることにより一段と高速化を図
ることができる。
FIG. 2(b) shows that at time 1 (, for convenience, the same symbols as in FIG. 2(a) are used for time display), the (n-2)th yIt and (n-1)th ) stage data latch circuit stores data, and
The data latch circuits before the n-3)th stage are in an empty state (representatively, the data management information I n-3 of the data management circuit An-3 of the (n-3)th stage is logic "0". In this state, the output of the flip-flop 2 is at logic “0”.
'', therefore, the output permission signal OR2 is logic "1". Here, the data output control signal SO arrives from the lower device to the indication shift register ISR at time t1, and the data latch circuit of the nth stage At the same time, the data of the (n-1)th stage data latch circuit is shifted to the nth stage data latch circuit, and the data of the (n-1)th stage data latch circuit is outputted.
-2) The data of the data latch circuit of the (fl-1)th stage is
)-th stage data latch circuit. At time t2, the data management information I n of the data management circuit An-2
-2 becomes a logic "0" and in response, the output of the flip-flop 2 becomes a logic "1". Since at least the output of flip-flop 2 is logic "0" until time t2,
Even if the data management information In-1 of the (n-1)th stage data latch circuit becomes logic "0", the output permission signal O
The logic "1" of R2 is maintained, and the output permission signal OR2 becomes logic "0" every time the output is performed (as shown in FIG. 2(b)), as in the conventional device.
(indicated by a dotted line) is prevented. After time t2, the logic "1" of the data management information I n-1 maintains the logic "1" of the output permission signal OR2.Then, the logic "1" of the output permission signal OR2 is maintained.
3, the data output control signal SO is supplied from the lower device, the data of the n-th stage data launch circuit is output, and the data of the (n-1)th stage data latch circuit becomes the data of the n-th stage. When shifted to the latch circuit, the data management information In-1 of the data management circuit An-1 becomes logic "O" at time t4, and all data latch circuits before the (n-2) first stage store data. Therefore, with the above operation, the FIFO buffer becomes empty except for the nth stage data latch circuit, and the logic of data management information tn-t is changed at time t4 so that no more data is sent out. In response to the change to "0", the output permission signal OR2 is set to logic "O" and output is prohibited. Flip-flop 2 sets data management information I n-1 to logic “0”
It is the strobe signal S T B n- that eliminates the influence of the change in the data management information I n-2 in the state of
Due to the difference in response time between the response of data management information I n-1 and the response of data management information I n-2 in response to the rising edge of data management information I n-2, both data management information I n-1 and I n-2 Φ is used to prevent malfunction when the logic becomes "0", and by doing so, it is possible to further increase the speed.

第n段目のデータラッチ回路にのみデータが格納されて
いる場合に、このデータが最終データであり取り出す必
要がある場合には、下位装置の指示信号によりフリップ
フロップ3がONされ、出力許可信号OR2を論理“1
”としデータ出力を許可する。
When data is stored only in the n-th stage data latch circuit, if this data is the final data and needs to be taken out, the flip-flop 3 is turned ON by an instruction signal from the lower device, and an output permission signal is sent. OR2 is logic “1”
” to enable data output.

以上のように本実施例によれば従来装置の様に入力の度
毎に一時入力の禁止、出力の度毎に一時出力の禁止をす
ることを防止することができるので、データの高速入力
、高速出力を行うことができる。
As described above, according to this embodiment, it is possible to prevent temporary inhibition of input every time input is performed and temporary prohibition of output every time output unlike conventional devices, so high-speed data input, Capable of high-speed output.

以上本発明の一実施例を説明したが本発明はこの実施例
にのみ限定されるものではなく本発明の範囲内で種々の
変形、変更が可能なことは勿論である。
Although one embodiment of the present invention has been described above, the present invention is not limited to this embodiment, and it goes without saying that various modifications and changes can be made within the scope of the present invention.

(発明の効果〕 本発明によれば、FIFOバッフ1へのデータの格納状
態が満杯となる前に1段分の予備バッファを残して入力
不許可とし、また格納状態が空になる前に1段分の予備
データを残して出力不許可とする事により入力許可信号
、出力許可信号を連続的に出力するようにしているので
、高速処理をすることができるF(FOバッファ制御装
置を得ることが可能となる。
(Effects of the Invention) According to the present invention, a spare buffer for one stage is left and input is not permitted before the storage state of data in the FIFO buffer 1 becomes full, and input is not permitted before the storage state of FIFO buffer 1 becomes empty. The input permission signal and the output permission signal are continuously output by leaving the preliminary data for the stages and disabling the output. becomes possible.

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

第1図は本発明の一実施例を示すブロック図、第2図は
第1図のFIFOバッファ制御装置の入力動作及び出力
動作のタイムチャート、第3図は従来のFIFOバッフ
ァ制御装置のブロック図、 第4図は第3図のFIFOバッファ制御装置の入力動作
及び出力動作のタイムチャートである。 1.2.3・・・フリップフロップ 4.5.6・・・ゲート回路 7.8・・・・・インバータ Bll〜13nm・・・データラッチ回路A、#An 
・・・データ管理回路 ISR・・・・・インデケーションシフトレジスタ DSR・・・・・データシフトレジスタSI・・・・・
・データ入力制御信号 SO・・・・・・データ出力制御信号 I、 xin ・・・データ管理情報 IR1,IR2・入力許可信号 ORI、OR2・出力許可信号
FIG. 1 is a block diagram showing an embodiment of the present invention, FIG. 2 is a time chart of input and output operations of the FIFO buffer control device shown in FIG. 1, and FIG. 3 is a block diagram of a conventional FIFO buffer control device. , FIG. 4 is a time chart of the input operation and output operation of the FIFO buffer control device of FIG. 3. 1.2.3...Flip-flop 4.5.6...Gate circuit 7.8...Inverter Bll~13nm...Data latch circuit A, #An
... Data management circuit ISR ... Indication shift register DSR ... Data shift register SI ...
・Data input control signal SO...Data output control signal I, xin...Data management information IR1, IR2・Input permission signal ORI, OR2・Output permission signal

Claims (1)

【特許請求の範囲】[Claims] (1)n段(nは3以上の自然数)のバッファからなる
先入れ先出しバッファのデータ入力を許可するデータ入
力許可信号とデータ出力を許可するデータ出力許可信号
とを制御する先入れ先出しバッファ制御装置において、
少なくとも第2段、第3段、第(n−2)段、第(n−
1)段および第n段目の前記各バッファ内にデータが格
納されているか否かをそれぞれ示すデータ管理情報を発
生するデータ管理情報発生手段と、前記第2段目のバッ
ファのデータ管理情報と前記第3段目のバッファのデー
タ管理情報との供給をうけて前記データ入力許可信号を
発生し、前記第2段目のバッファと前記第3段目のバッ
ファとにデータが格納されているときのみ前記データ入
力許可信号の発生を停止するデータ入力許可信号発生手
段と、前記第(n−2)段目のバッファのデータ管理情
報と前記第(n−1)段目のバッファのデータ管理情報
との供給をうけて前記データ出力許可信号を発生し、前
記第(n−2)段目のバッファと前記第(n−1)段目
のバッファとにデータが格納されていないときのみ前記
データ出力許可信号の発生を停止するデータ出力許可信
号発生手段と、最終データの取り出しである事を認識し
前記第n段目のバッファのデータ管理情報により前記デ
ータ出力許可信号の発生の停止を解除する手段とを備え
ることを特徴とする先入れ先出しバッファ制御装置。
(1) In a first-in, first-out buffer control device that controls a data input permission signal that allows data input to a first-in, first-out buffer that includes n stages (n is a natural number of 3 or more) and a data output permission signal that allows data output,
At least the second stage, the third stage, the (n-2)th stage, the (n-th stage)
1) data management information generation means for generating data management information indicating whether or not data is stored in each of the buffers in the second stage and the nth stage; and data management information for the second stage buffer; When the data input permission signal is generated in response to the data management information of the third stage buffer, and data is stored in the second stage buffer and the third stage buffer. data input permission signal generation means for stopping generation of the data input permission signal; data management information for the (n-2)th stage buffer; and data management information for the (n-1)th stage buffer. The data output permission signal is generated in response to the data output, and the data is output only when no data is stored in the (n-2)th stage buffer and the (n-1)th stage buffer. data output permission signal generating means for stopping generation of the output permission signal; and recognizing that the final data is to be taken out, cancels the stoppage of generation of the data output permission signal based on data management information of the n-th stage buffer. A first-in, first-out buffer control device comprising means.
JP60013533A 1985-01-29 1985-01-29 First-in first-out buffer control device Pending JPS61173339A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60013533A JPS61173339A (en) 1985-01-29 1985-01-29 First-in first-out buffer control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60013533A JPS61173339A (en) 1985-01-29 1985-01-29 First-in first-out buffer control device

Publications (1)

Publication Number Publication Date
JPS61173339A true JPS61173339A (en) 1986-08-05

Family

ID=11835795

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60013533A Pending JPS61173339A (en) 1985-01-29 1985-01-29 First-in first-out buffer control device

Country Status (1)

Country Link
JP (1) JPS61173339A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012522986A (en) * 2009-04-03 2012-09-27 アナログ デバイシス, インコーポレイテッド Digital output sensor FIFO buffer with single port memory

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012522986A (en) * 2009-04-03 2012-09-27 アナログ デバイシス, インコーポレイテッド Digital output sensor FIFO buffer with single port memory

Similar Documents

Publication Publication Date Title
US4748588A (en) Fast data synchronizer
JP2916045B2 (en) FIFO module
US6567338B1 (en) Fully synchronous pipelined RAM
US5813040A (en) Write controller for a CAM-based switch with lineraly searchable memory utilizing hardware-encoded status tags to indicate avaliablity of each memory location for writing
JPS61173339A (en) First-in first-out buffer control device
JP2001159970A (en) Interdevice coupling device
JPH0721103A (en) Data transfer device
JPS60225935A (en) First in first out buffer control device
US5249154A (en) Data access controller and method
JPH1131066A (en) Buffer control system
JP2917290B2 (en) Register control circuit
JP3157662B2 (en) LSI diagnostic control circuit
JPS61289448A (en) Buffer memory device
KR950014088B1 (en) Fifo circuit used with general memory
JP3048762B2 (en) Semiconductor integrated circuit device
JPH09319863A (en) Set data changing device for image processor
JP2747353B2 (en) Address generator
JP2583501B2 (en) Data transmission circuit
JPS63157390A (en) Control circuit for first-in/first-out buffer memory
JPH06223036A (en) Serial communication device
JPS59123974A (en) Vector data storage control system
JPH0877125A (en) Synchronous transfer system for asynchronous data
JPS598058A (en) Microprocessor
JPH0376557B2 (en)
JPH05257878A (en) Buffer device