JPH03263681A - First-in first-out circuit - Google Patents

First-in first-out circuit

Info

Publication number
JPH03263681A
JPH03263681A JP2062321A JP6232190A JPH03263681A JP H03263681 A JPH03263681 A JP H03263681A JP 2062321 A JP2062321 A JP 2062321A JP 6232190 A JP6232190 A JP 6232190A JP H03263681 A JPH03263681 A JP H03263681A
Authority
JP
Japan
Prior art keywords
address
write
state
circuit
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
JP2062321A
Other languages
Japanese (ja)
Inventor
Hiroshi Sasama
笹間 洋
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.)
JFE Steel Corp
Original Assignee
Kawasaki Steel 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 Kawasaki Steel Corp filed Critical Kawasaki Steel Corp
Priority to JP2062321A priority Critical patent/JPH03263681A/en
Publication of JPH03263681A publication Critical patent/JPH03263681A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To attain miniaturization of the circuit, to improve the degree of integration of a semiconductor device and to reduce the cost by providing an address comparison section comparing bit addresses counted up by a write word address counter and a readout word address counter and a signal output section. CONSTITUTION:An address coincidence comparator circuit 34 compares count-up of each address of a write word address counter 30 and a readout word address counter 32 and outputs a signal representing the processing indicating a state (FULL state) of end of write to all addresses of a memory 10 or a signal representing the processing indicating a state (EMPTY state) of no write to all addresses of the memory 10 based on the information representing the state of write or read. Since it is not required to provided a flip-flop to each word address, a FULL signal and an EMPTY signal are surely outputted with simple circuit constitution. Thus, the miniaturization of the circuit and the degree of integration of the semiconductor device are improved and the cost is reduced.

Description

【発明の詳細な説明】[Detailed description of the invention] 【産業上の利用分野】[Industrial application field]

本発明は、例えぽ半導体集積回路のメモリに、所定の順
序に従ってデータの書込みと読出しをする際に用いられ
る、ファーストインファーストアウト回路に関する。
The present invention relates to a first-in-first-out circuit used when writing and reading data into and from a memory of a semiconductor integrated circuit, for example, in a predetermined order.

【従来の技術】[Conventional technology]

従来の代表的なファーストインファーストアウト処理(
Fast In Fast Out、以下、FIFOと
略記する)回路には、例えば第5図のような構成のもの
がある0図のFIFO回路は、n=2“ワードを持つ記
憶部10を有している。 このFIFO回路に入力データと共に書込み要求信号が
与えられると、書込み制御部12の作動により書込みの
ワードアドレスを示す■ビットカウンタ13に従ってデ
ータが前記記憶部10に書込まれ、それと共に、カウン
タ13が1つカウントアツプする毎にアドレス毎に用意
されているフリップフロップ14が順次r1jにセット
される。 又、書込まれたデータを読出す場合には、書込みと同様
に、読出し要求信号か与えられると、読出し制御部16
の作動により、呼出しワードアドレスを示す■ビットの
カウンタ17に従ってデータが記憶部10から読出され
、それと共に、カウンタ17が1つカウントアツプする
毎にフリップフロップ14が順次「0」にリセットされ
る。なお、図において、符号22Aは書込みデコーダ、
22Bは読出しデコーダである。24A、24Bは書込
み、読出し許可信号でデータを記憶部10へ書込み、読
出すための演算アンプである。 ここで、前記フリップフロップ14が全て「1」にセッ
トされると、該フリップフロップ14出力側のAND回
#118が作動し、記憶部10の全てのアドレスに書込
みが終了していることを示す信号(FULL信号)がA
ND回路18から書込み制御部12へ出力されて、これ
以上の書込みを禁じる。逆に、フリップフロップ14が
全て「0」になると、該フリップフロップ14出力測の
N。 R回路20が作動し、全てのアドレスには何も書込まれ
ていないことを示す信号(EMPTY信号)が該NOR
回路20から読出し制御部16へ出力されて、これ以上
の読出しを禁じる。
Conventional typical first-in, first-out processing (
Some Fast In Fast Out (hereinafter abbreviated as FIFO) circuits have a configuration as shown in FIG. 5, for example. The FIFO circuit in FIG. When a write request signal is applied to this FIFO circuit along with input data, the data is written to the storage unit 10 according to the bit counter 13 indicating the write word address by the operation of the write control unit 12; Each time the count is increased by one, the flip-flops 14 prepared for each address are sequentially set to r1j.Also, when reading the written data, the read request signal is given as in the case of writing. When the read control unit 16
As a result of the operation, data is read from the storage section 10 according to the counter 17 of the ■ bit indicating the calling word address, and at the same time, the flip-flops 14 are sequentially reset to "0" every time the counter 17 counts up by one. In addition, in the figure, the code 22A is a write decoder;
22B is a read decoder. 24A and 24B are operational amplifiers for writing and reading data into and from the storage unit 10 using write and read permission signals. Here, when the flip-flops 14 are all set to "1", the AND circuit #118 on the output side of the flip-flops 14 is activated, indicating that writing to all addresses in the storage section 10 has been completed. The signal (FULL signal) is A
The signal is output from the ND circuit 18 to the write control unit 12 to prohibit further writing. Conversely, when all the flip-flops 14 become "0", the output of the flip-flops 14 becomes N. The R circuit 20 is activated, and a signal (EMPTY signal) indicating that nothing has been written to any address is sent to the NOR
The signal is output from the circuit 20 to the read control unit 16, and further reading is prohibited.

【発明が解決しようとする課N】[Problem N that the invention attempts to solve]

しかしながら、前記従来のFIFO回路では、FULL
信号及びEMPTY信号を形成するためには、記憶部1
0のアドレス数と同数のフリップフロップ14が必要で
あるため、アドレス数の大きい大容量のFIFO回路を
m戒する場合には、要求されるフリップフロップの数が
多数になり過ぎて大型化していた。又、そのフリップフ
ロップ出力の論理和(NOR)や論理wI(AND)を
取るにも多段の論理が要求されることから、論理回路の
構成が複雑化していた。従って、従来のFIFO回路で
は、大型化、複雑化が避けられず、半導体装置の集積度
を向上させ、且つ、コストを低下させる上での障害があ
るという問題点があった。 本発明は、前記従来の問題を解決するべくなされたもの
で、簡単な回路構成で確実にFULL信号及びE M 
P T Y信号を出力し得る、ファーストインファース
トアウト回路を提供することを課題とする。
However, in the conventional FIFO circuit, the FULL
In order to form the signal and the EMPTY signal, the storage unit 1
Since the same number of flip-flops 14 as the number of addresses of 0 is required, when using a large capacity FIFO circuit with a large number of addresses, the number of required flip-flops becomes too large and the size becomes large. . Further, multi-stage logic is required to obtain the logical OR (NOR) and logic wI (AND) of the outputs of the flip-flops, making the configuration of the logic circuit complicated. Therefore, conventional FIFO circuits inevitably become larger and more complex, which poses a problem in improving the degree of integration of semiconductor devices and reducing costs. The present invention was made to solve the above-mentioned conventional problems, and it is possible to reliably handle the FULL signal and E M with a simple circuit configuration.
An object of the present invention is to provide a first-in first-out circuit that can output a PTY signal.

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

本発明は、ファーストインファーストアウト回路におい
て、書込みワードアドレスカウンタ及び読出しワードア
ドレスカウンタの各アドレスのカウントアツプを比較す
るためのアドレス比較部と、比較の結果及び、メモリが
書込み又は読出しの状態となっていることを示す情報に
基づき、メモリの全てのアドレスに書込みが終了してい
ることを示す信号、又は、メモリの全てのアドレスには
何も書込まれていないことを示す信号を出力するための
信号出力部とを備えたことにより、前記課題を解決した
ものである。
In a first-in-first-out circuit, the present invention includes an address comparison section for comparing the count-up of each address of a write word address counter and a read word address counter, and a comparison result and a memory in a write or read state. To output a signal indicating that writing has been completed to all addresses in memory, or a signal indicating that nothing has been written to all addresses in memory, based on information indicating that writing has been completed to all addresses in memory. The above-mentioned problem has been solved by providing a signal output section.

【作用】[Effect]

ファーストインファーストアウト回路(FIFO回B)
においては、データの書込み及び読出しは、書込みワー
ドアドレスカウンタ及び読出しワードアドレスカウンタ
のそれぞれが1つづつカウントアツプして示されるアド
レスに応じて行われる。 そこで、発明者は、読出し及び書込みワードアドレスカ
ウンタの動作について種々の調査、考察を行った。その
結果を、例えば第1図の、書込み読出し各アドレスカウ
ンタ(ワード数n=21′n)のカウントアツプアドレ
ス(書込みカウントアツプアドレスAw、読出しカウン
トアツプアドレスAr)を示す模式図に従って説明する
。 即ち、同図(A)に示すように、初期状態で記メモリに
は何も書込まれていない状態(EMPTY状態)では、
各カウンタのカウントアツプアドレスは等しい(AV 
=Ar )。次いで、データの書込みが始まると同図(
B)に示すように書込みフードアドレスカウンタは順次
カウントアツプして行き、カウントアツプアドレスは異
なる(AV≠Ar)状態になる。この場合に、読出しを
行なって、同図(C)に示すように、読出しカウンタの
カウントアツプアドレスA「が書込みのカウントアツプ
アドレスAWと等しくなれば(AV =Ar ) 、E
MPTY状態となる。 又、書込みが進んで書込みアドレスが同図(D)に示す
ように、最上位アドレス(図ではAV=2m−1)を超
えて最初のアドレス(図ではアドレスAv=O)に戻り
、更に書込みが進んで、同図(C)に示すように、書込
みアドレスが読出しアドレスと等しくなれti (AV
 =Ar ) +これ以上メモリにはデータを書込めな
い状態(FULL状態)になる。 従って、EMPTY状態、FULL状態共、書込みアド
レスAw及び読出しアドレスArの等しい時に発生する
のが理解される。従って、AV=Arの条件を判別すれ
ば、EMPTY状態又はFULL状態のいずれかの状態
が生じたことを判別できる。 又、各アドレスがAW =Arの条件を満す場合におい
て、メモリがEMPTY状態又はFULL状態のうちの
いずれであるかの判別は、メモリが書込み又は読出しの
状態になっていることを示す情報に基づき行える。 例えは、書込み、読出しの各アドレスカウンタのビット
数をメモリのビット数より1つ増やし、その最上位ビッ
ト(AjL Ajr)を書込みアドレスAwが先行した
か、先行していないかの判別情報用ビットにあてる。こ
のビットの出力により、このビットにおいてAjw= 
A jrであt′Lζi書込み状態であり、AJv4=
Ajrであれ番i読出し状態て゛あることを判別できる
6 ス、例えば現在書込み要求信号が入力されていれば書込
み状態であり、読出し要求信号が入力されていれば読出
し状態であるため、これら各要求信号を書込み及び読出
しの情報とすることができる。 以上のことに基づき、それぞれのカウンタか何処までカ
ウントアツプしているかを比較し、且つ、書込み又は読
出しの状態を示す情報に基づき、全てのアドレスに書込
みが終了している状Q(FULL8:態)、全てのアド
レスには何も書込まれていない状!g<EMPTY状!
9)を知ることが可能であることを着想し、本発明を創
案したものである。 本発明によれは、従来のような各ワードアドレス毎にフ
リップフロップを設ける必要がないため、簡単な回路i
或でFULL信号、EMPTY信号を確実に出力し得る
。よって、FIFO回路の小型化ひいては半導体集M回
路等の半導体装置の集積度向上やコスト低減を図ること
ができる。
First-in first-out circuit (FIFO times B)
In this case, writing and reading of data is performed according to the address indicated by each of the write word address counter and the read word address counter counting up by one. Therefore, the inventor conducted various investigations and considerations regarding the operation of read and write word address counters. The results will be explained, for example, with reference to the schematic diagram of FIG. 1 which shows the count-up addresses (write count-up address Aw, read count-up address Ar) of each write and read address counter (number of words n=21'n). That is, as shown in FIG. 5A, in the initial state where nothing is written in the memory (EMPTY state),
The count-up address of each counter is equal (AV
=Ar). Next, when data writing begins, the same figure (
As shown in B), the write food address counter sequentially counts up, and the count-up addresses become different (AV≠Ar). In this case, when reading is performed and the read counter's count-up address A' becomes equal to the write count-up address AW (AV = Ar), E
It becomes MPTY state. Also, as the writing progresses, the write address exceeds the highest address (AV=2m-1 in the figure) and returns to the first address (address Av=O in the figure), as shown in (D) in the same figure. progresses, and the write address becomes equal to the read address, as shown in FIG.
=Ar) +No more data can be written to the memory (FULL state). Therefore, it is understood that both the EMPTY state and the FULL state occur when the write address Aw and the read address Ar are equal. Therefore, by determining the condition of AV=Ar, it can be determined that either the EMPTY state or the FULL state has occurred. Furthermore, when each address satisfies the condition of AW = Ar, determining whether the memory is in the EMPTY state or the FULL state is based on information indicating that the memory is in the write or read state. It can be done based on For example, the number of bits of each address counter for writing and reading is increased by one from the number of bits of the memory, and the most significant bit (AjL Ajr) is used as a bit for determining whether the write address Aw precedes or not. Apply to. The output of this bit allows Ajw=
A jr is in t′Lζi writing state, and AJv4=
For example, if a write request signal is currently being input, it is in the write state, and if a read request signal is currently being input, it is in the read state. The signals can be write and read information. Based on the above, compare how far each counter has counted up, and based on the information indicating the write or read status, determine the state Q (FULL 8: state) in which writing has been completed to all addresses. ), nothing is written to all addresses! g<EMPTY condition!
The present invention was conceived based on the idea that it is possible to know 9). According to the present invention, there is no need to provide a flip-flop for each word address as in the conventional case, so a simple circuit i.
Alternatively, the FULL signal and EMPTY signal can be reliably output. Therefore, it is possible to reduce the size of the FIFO circuit, thereby increasing the degree of integration and reducing the cost of semiconductor devices such as semiconductor integrated M circuits.

【実施例】【Example】

以下、図面を参照して本発明の実施例を詳細に説明する
。 まず、第1実施例について説明する。 この第1実施例は、第2図に示すような構成の、11+
1ビツトを有する書込みアドレスカウンタ30と、l+
1ビツトの読出しアドレスカウンタ32と、各アドレス
カウンタ30.32の各カウントアツプアドレスの比較
等からFULL信号又はEMPTY信号を出力するため
のアドレス−数比較回路34とを有するFIFO回路で
ある。なお、その他の構成は、前出第5図に示した従来
のFIFO回路と同様であるため、同様の部分に同一の
番号を付してその説明は略する。 実施例に係るFIFO回路においては、アドレスカウン
タ30.32のビット数を記憶部10の、ワードアドレ
スに要求されるビット数より1つ増やしている点に特徴
がある。 即ち、n == 2mワードの記憶部(メモリ>10を
有する場合、各アドレスカウンタ30−32のビット数
はm+1ビツトとしている。このアドレスカウンタ30
.32においては、下位mビット(Awo 〜AWI1
1−1 、Aro−Ar1−1 )を各デコーダ22A
、22Bに送るアドレス信号用のビットとし、最上位1
ビツト(Ajw、 Arj)をFULL状態の判別信号
及びEMPTY状態の判別信号用のビットとする。 又、前記アドレス−数比較回路34は、詳細には第3図
に示すように、各カウンタ30.32の同じビット番号
における出力の排他論理81f!−とるためのエクスク
ル−シブオア回#l36(0)〜36〈 七−1)−3
6僧と、NOR回N38と、NA、 N D回路40、
インバータ42の組合せからなっている。 実施例に係るFIFO回路のアドレスカウンタのシーケ
ンスを前出第1図に基づき説明する。 FULL状態は、最上位ビットの各判別信号がAjw≠
Ajr、且つ、各カウンタ30.32のカウントアツプ
アドレスがAvL=Arとなることから判別され、EM
PTY状態は、Ajw=Ajr、且つ、Aw=Arとな
ることから判別される。 即ち、第3図において、スタート時において何も記憶部
10に書込まれていない場合、書込みアドレスAl、読
出しアドレスArとも最初のアドレスO10になる。又
、最上位ビットAjJ Ajrはいずれもカウントアツ
プしておらず0である。 従って、アドレス−数比較回路34からはAW=A「、
且つ、Ajw=Ajrであるから、前記記憶部10がE
MPTY状態であると判断される。 次いで書込みアドレスがJ2まで進んだ状態が同図(B
)でAV +Arであるから記憶部10の状態は、Ft
JLLでもなければEMPTYでもない。 その後、読出しが始まり、読出しアドレスA「が書込み
アドレスAWに追付いてAW =Arとなった状態が第
3図(C)である、この場合、Aw=Arであり、且つ
、最上位ビットはカウントアツプしていないためAJW
=Ajrであることから、記憶部10はEMPTY状態
であると判断される。 更に、書込みのアドレスが進んで、同図(D)に示すよ
うに最上位アドレス2rn−1までの書込みが終了し、
最初のアドレス0からカウントアツプしていくとする。 この場合、書込みの最上位ビットAJwはカウントアツ
プしているが、読出しの最上位ビットAJ「はカウント
アツプしておらす、AJW#AJrとなる。但し、AV
≠八「であるため、FULL状態でない。 更に、書込みアドレスAMが進んで、同図(E)に示す
ように、Aw =Arとなれば、最上位の各ビットがA
 jw、i−Ajrとなっていることがら、記憶部10
のメモリはFULLfl:態であるこが判定される。 この実施例においては、前出第5図に示した、0個のフ
リップフロップ出力を検出しなけれζ2ならなかった、
従来のFIFO回路に比べて、(l十1)ビットのアド
レスカウンタの出力を比較すれば記憶部10がEMPT
Y状態が、あるいはFULL状態かを精度良く判定でき
るため、フリップフロップではなく比較回路を用いれば
よく、大幅にFIFO回路の簡略化を図ることができる
。 次に、第2の実施例を説明する。 前記第1実施例においては、第3図のように、アドレス
−数比較回路34において、書込みアドレスカウンタ3
0及び読み出しアドレスカウンタ32に(rI+1)ビ
ットのものを使用し、最上位ビットAjW、 Ajrが
等しいか否かとの組み合せでメモリのFULL状態、E
MPTY状態を判別していた。これに対して、この第2
実施例は、第4図に示すように、各カウンタ30.32
に0+1ビツトではなく、11ビツトのアドレスカウン
タを使用し、NAND回路40に書込み要求信号、読出
し要求信号をフリップフロップからなるラッチ回路44
W、44Rを介して入力するようにしたものである。 この第2実施例では、巾ビットのそれぞれの書込みアド
レスカウンタ(出力AWO〜Awn−1)、読出しアド
レスカウンタ(出力ArO〜Arl′1l−1)のカウ
ントアツプアドレス出力が一致するか否かを各エクスク
ル−シブオア回路36(0)〜36(n−1)で判断し
、それらエクスクル−シブオア回路36出力のNORを
取る。又、読出し要求信号をあるいは書込み要求信号を
ラッチ回路44W、44Rでラッチし、前記NOR回路
38の出力とのANDをとって、EMPTY状態あるい
はFULL状態がを判定する。 即ち、書込みアドレスAVと読出しアドレスArが等し
い場合(AW =Ar )において、読出し要求信号が
入っているときには記憶部1oはEMPTY状態であり
、又、書込み要求信号が入っているときには、記憶部1
0はFULL状態であることを判定するこができる。
Embodiments of the present invention will be described in detail below with reference to the drawings. First, a first example will be described. This first embodiment has an 11+ configuration as shown in FIG.
A write address counter 30 with 1 bit and l+
It is a FIFO circuit having a 1-bit read address counter 32 and an address-number comparison circuit 34 for outputting a FULL signal or an EMPTY signal from a comparison of each count-up address of each address counter 30.32. The rest of the configuration is the same as the conventional FIFO circuit shown in FIG. 5 above, so similar parts are given the same numbers and their explanation will be omitted. The FIFO circuit according to the embodiment is characterized in that the number of bits of the address counters 30 and 32 is increased by one than the number of bits required for the word address of the storage section 10. That is, if the memory has n==2m words (memory>10), the number of bits of each address counter 30-32 is m+1 bits.
.. In 32, the lower m bits (Awo ~ AWI1
1-1, Aro-Ar1-1) to each decoder 22A.
, 22B, and the most significant 1
The bits (Ajw, Arj) are used as a FULL state determination signal and an EMPTY state determination signal. Further, as shown in detail in FIG. 3, the address-number comparison circuit 34 outputs exclusive logic 81f! of the same bit number of each counter 30.32. - Exclusive or times to take #l36(0)~36〈7-1)-3
6 monks, NOR times N38, NA, ND circuits 40,
It consists of a combination of inverters 42. The sequence of the address counter of the FIFO circuit according to the embodiment will be explained based on FIG. 1 mentioned above. In the FULL state, each determination signal of the most significant bit is Ajw≠
Ajr and the count-up address of each counter 30.32 is determined from AvL=Ar, and EM
The PTY state is determined from the fact that Ajw=Ajr and Aw=Ar. That is, in FIG. 3, if nothing is written in the storage section 10 at the time of start, both the write address Al and the read address Ar are the first address O10. Furthermore, the most significant bits AjJ and Ajr are all 0, with no count up. Therefore, from the address-number comparison circuit 34, AW=A'',
Moreover, since Ajw=Ajr, the storage section 10 is
It is determined that the state is MPTY. Next, the state in which the write address has advanced to J2 is shown in the same figure (B
) and AV +Ar, the state of the storage unit 10 is Ft
Neither JLL nor EMPTY. After that, reading starts, and the state in which the read address A' catches up with the write address AW and becomes AW = Ar is shown in Fig. 3 (C). In this case, Aw = Ar, and the most significant bit is AJW because the count is not up
=Ajr, it is determined that the storage unit 10 is in the EMPTY state. Furthermore, the writing address advances, and writing to the highest address 2rn-1 is completed, as shown in (D) of the same figure.
Assume that the count is increased from the initial address 0. In this case, the most significant bit AJw for writing is counting up, but the most significant bit AJ for reading is counting up, resulting in AJW#AJr.However, AV
≠8, so it is not in the FULL state.Furthermore, as the write address AM advances and becomes Aw = Ar as shown in (E) in the same figure, each of the most significant bits becomes A.
jw, i-Ajr, the storage unit 10
It is determined that the memory of is in the FULLfl: state. In this embodiment, zero flip-flop outputs had to be detected ζ2, as shown in FIG. 5 above.
Compared to a conventional FIFO circuit, if the outputs of the (11) bit address counters are compared, the memory section 10 is EMPT.
Since it is possible to accurately determine whether the Y state or the FULL state is present, a comparator circuit can be used instead of a flip-flop, and the FIFO circuit can be significantly simplified. Next, a second example will be described. In the first embodiment, as shown in FIG. 3, in the address-number comparison circuit 34, the write address counter 3
0 and the read address counter 32 are (rI+1) bits, and the FULL state of the memory, E
The MPTY status was determined. On the other hand, this second
In the embodiment, as shown in FIG.
An 11-bit address counter is used instead of 0+1 bits, and a latch circuit 44 consisting of a flip-flop is used to send a write request signal and a read request signal to the NAND circuit 40.
It is designed to be input via W and 44R. In this second embodiment, it is determined whether the count-up address outputs of the respective write address counters (outputs AWO to Awn-1) and read address counters (outputs ArO to Arl'1l-1) of width bits match. The exclusive OR circuits 36(0) to 36(n-1) make a judgment, and the outputs of these exclusive OR circuits 36 are NORed. Further, the read request signal or the write request signal is latched by the latch circuits 44W and 44R, and ANDed with the output of the NOR circuit 38 to determine the EMPTY state or the FULL state. That is, when the write address AV and the read address Ar are equal (AW = Ar), the storage unit 1o is in the EMPTY state when the read request signal is input, and the storage unit 1o is in the EMPTY state when the write request signal is input.
It can be determined that 0 is a FULL state.

【発明の効果】【Effect of the invention】

以上説明した通り、本発明のよれば、メモリがFULL
状態であるが、EMPTY状態であるがを、従来よりも
大幅に簡略化した回路構成で確実に判定することができ
る。従って、半導体集積回路の集積度向上、及びコスト
低減を大幅に図ることができるという優れた効果が得ら
れる。
As explained above, according to the present invention, the memory is FULL.
However, it is possible to reliably determine the EMPTY state using a circuit configuration that is much simpler than the conventional one. Therefore, excellent effects can be obtained in that the degree of integration of semiconductor integrated circuits can be improved and costs can be significantly reduced.

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

第1図は、本発明の詳細な説明するための、各アドレス
カウンタのカウント状況を示す模式図、第2図は、本発
明の第1実施例に係るFIFO回路の構成を示すブロッ
ク図、 第3図は、前記回路中のアドレス−数比較回路の構成例
を示す論理回路図、 第4図は、本発明の第2実施例に係る、アドレス−数比
較回路の構成例を示す論理回路図、第5図は、従来のF
IFO回路の#l或例を示すブロック図である。 40・・・NAND回路。 44・・・ラッチ回路。
1 is a schematic diagram showing the counting status of each address counter for detailed explanation of the present invention; FIG. 2 is a block diagram showing the configuration of a FIFO circuit according to a first embodiment of the present invention; 3 is a logic circuit diagram showing a configuration example of an address-number comparison circuit in the circuit, and FIG. 4 is a logic circuit diagram showing a configuration example of an address-number comparison circuit according to a second embodiment of the present invention. , Figure 5 shows the conventional F
FIG. 2 is a block diagram showing an example of an IFO circuit. 40...NAND circuit. 44...Latch circuit.

Claims (1)

【特許請求の範囲】[Claims] (1)書込みワードアドレスカウンタ及び読出しワード
アドレスカウンタのカウントアップしているビットのア
ドレスを比較するためのアドレス比較部と、 比較の結果、及び、メモリが書込み又は読出しの状態に
なっていることを示す情報に基づき、メモリの全てのア
ドレスに書込みが終了していることを示す信号又はメモ
リの全てのアドレスには何も書込まれていないことを示
す信号を出力するための信号出力部と、 を備えることを特徴とするファーストインファートスア
ウト回路。
(1) An address comparison unit for comparing the addresses of bits that are counting up in the write word address counter and read word address counter, and the result of the comparison and whether the memory is in the write or read state. a signal output unit for outputting a signal indicating that writing has been completed to all addresses of the memory or a signal indicating that nothing has been written to all addresses of the memory, based on the information indicated; A first-in-first-out circuit characterized by comprising:
JP2062321A 1990-03-13 1990-03-13 First-in first-out circuit Pending JPH03263681A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2062321A JPH03263681A (en) 1990-03-13 1990-03-13 First-in first-out circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2062321A JPH03263681A (en) 1990-03-13 1990-03-13 First-in first-out circuit

Publications (1)

Publication Number Publication Date
JPH03263681A true JPH03263681A (en) 1991-11-25

Family

ID=13196762

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2062321A Pending JPH03263681A (en) 1990-03-13 1990-03-13 First-in first-out circuit

Country Status (1)

Country Link
JP (1) JPH03263681A (en)

Similar Documents

Publication Publication Date Title
US5079693A (en) Bidirectional FIFO buffer having reread and rewrite means
CA1286421C (en) Message fifo buffer controller
JPS61156954A (en) Buffer memory system
EP0312238A2 (en) FIFO buffer controller
JP3803246B2 (en) Asynchronous FIFO circuit
JPS61264379A (en) Memory circuit
US5355113A (en) Serialized difference flag circuit
JPH03263681A (en) First-in first-out circuit
US6480912B1 (en) Method and apparatus for determining the number of empty memory locations in a FIFO memory device
KR100301653B1 (en) High speed empty flag generator
US6445635B1 (en) High speed asynchronous and programmable state machine for generating almost empty synchronous flags in a synchronous FIFO
JP2002050172A (en) Fifo control circuit
JPH01106136A (en) Hardware queue
JPH0535443A (en) Buffer control system
JPH03100851A (en) Fifo storage device
KR100380601B1 (en) Address management system and method of FFC for IPC
JP3489110B2 (en) First in first out memory controller
JPS63138591A (en) First in first out memory circuit
US7409479B2 (en) Semiconductor integrated circuit
JPH0684343A (en) First in first out storage device
JPH0241694Y2 (en)
JPH0522360A (en) Fifo test diagnostic circuit
RU1803919C (en) Device for processing messages
JPH02292792A (en) First-in first-out memory device and counter
JPH01169654A (en) Asynchronous data transmission control system