JP3019917B2 - High-speed FIFO circuit - Google Patents

High-speed FIFO circuit

Info

Publication number
JP3019917B2
JP3019917B2 JP8205795A JP20579596A JP3019917B2 JP 3019917 B2 JP3019917 B2 JP 3019917B2 JP 8205795 A JP8205795 A JP 8205795A JP 20579596 A JP20579596 A JP 20579596A JP 3019917 B2 JP3019917 B2 JP 3019917B2
Authority
JP
Japan
Prior art keywords
shift register
memory
read
flag information
write
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.)
Expired - Lifetime
Application number
JP8205795A
Other languages
Japanese (ja)
Other versions
JPH1050052A (en
Inventor
晴樹 山下
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 JP8205795A priority Critical patent/JP3019917B2/en
Publication of JPH1050052A publication Critical patent/JPH1050052A/en
Application granted granted Critical
Publication of JP3019917B2 publication Critical patent/JP3019917B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明はFIFO(Firs
t In First Out)回路に関し、特に低速
でしか処理できないデータを一次保持し、高速で処理さ
れた順にデータを出力するのに適した高速FIFO回路
に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a FIFO (Firs
More particularly, the present invention relates to a high-speed FIFO circuit suitable for temporarily storing data that can be processed only at a low speed and outputting data in the order of high-speed processing.

【0002】[0002]

【従来の技術】通常、FIFO回路はメモリとして利用
され、記憶したデータを書き込んだ順序で読み出すこと
ができる。それ故、FIFO回路は、高速動作のデータ
プロセッサと低速動作の周辺装置との間に接続されて、
データプロセッサから周辺装置にデータを送る際のバッ
ファメモリとして利用される。
2. Description of the Related Art Usually, a FIFO circuit is used as a memory, and stored data can be read out in a writing order. Therefore, the FIFO circuit is connected between the high-speed operation data processor and the low-speed operation peripheral device,
It is used as a buffer memory when sending data from a data processor to a peripheral device.

【0003】ところで、FIFO回路は、記憶容量に制
限があるため、書込み回数に比べてリード回数が少ない
時には記憶データが一杯になってしまい、この状態で書
き込みを続けると、まだ読み出されていない記憶データ
の上に新たなデータが書き込まれてしまうおそれがあ
る。一方、例えば書き込みが中断している間に読み出し
が進んでしまうと、一度読み出しが行われた記憶データ
が再び読み出されてしまうおそれもある。
Since the FIFO circuit has a limited storage capacity, stored data becomes full when the number of reads is smaller than the number of writes, and if writing is continued in this state, the data has not been read yet. New data may be written on the stored data. On the other hand, if the reading proceeds while the writing is interrupted, for example, the stored data once read may be read again.

【0004】上記のような問題点を解消するために、F
IFO回路では、記憶データでメモリが一杯になるとフ
ルフラグ(Full Flag)情報を発生してデータ
プロセッサ側に知らせ、書き込みを禁止する。一方、一
度書き込まれた記憶データが一通り読み出されてしまっ
た場合には、エンプティフラグ(Empty Fla
g)情報を発生して読み出しを禁止する。
[0004] In order to solve the above problems, F
When the memory is full with storage data, the IFO circuit generates full flag information to notify the data processor side and inhibit writing. On the other hand, if the stored data that has been written once has been read out, the empty flag (Empty Flat) is read.
g) Generate information and inhibit reading.

【0005】上記のような機能を有する回路装置は、例
えば特開昭61−296424に記載されており、これ
を図4を参照して簡単に説明する。
A circuit device having the above functions is described in, for example, JP-A-61-296424, which will be briefly described with reference to FIG.

【0006】書込み/読取(以下、W/Rと略記する)
制御器30がメモリ48の書込み及び読取を制御する為
に、データプロセッサ及び周辺装置(いずれも図示せ
ず)からの書込み及び読取指令をそれぞれ受取る。W/
R制御器30は、書込み線34を介して書込みアドレス
・リング・カウンタ32に、そして読取線38を介して
読取アドレス・リング・カウンタ36に対応する書込み
及び読取信号を送る。
Writing / reading (hereinafter abbreviated as W / R)
Controller 30 receives write and read commands from a data processor and peripherals (both not shown) to control writing and reading of memory 48, respectively. W /
R controller 30 sends write and read signals corresponding to write address ring counter 32 via write line 34 and to read address ring counter 36 via read line 38.

【0007】比較器40は、複数の導線42,44を介
して書込みアドレス・リング・カウンタ32及び読取ア
ドレス・リング・カウンタ36に接続される。比較器4
0は線46によってW/R制御器30にも接続されてい
て、書込み及び読取アドレス・リング・カウンタ32,
36が同じアドレスを示す時を知らせる。この情報によ
り、W/R制御器30はメモリ48が一杯又は空である
時を決定することが出来る。
[0007] The comparator 40 is connected to the write address ring counter 32 and the read address ring counter 36 via a plurality of conductors 42 and 44. Comparator 4
0 is also connected to the W / R controller 30 by line 46, and the write and read address ring counters 32,
Signals when 36 indicates the same address. With this information, W / R controller 30 can determine when memory 48 is full or empty.

【0008】メモリ48は複数のメモリ・ワード・レジ
スタ50−1〜50−Nを持ち、これがワード1乃至N
を記憶する。各々のメモリ・ワード・レジスタが書込み
アドレス・リング・カウンタ32の1つの段に接続さ
れ、このメモリ・ワード・レジスタのメモリ書込み動作
を行う。更に各々のメモリ・ワード・レジスタが、メモ
リ読取動作を行なう為に、読取アドレス・リング・カウ
ンタ36の関連する段にも接続されている。以下の説明
では、書込み又は読取動作の間にアドレスされるメモリ
・ワード位置は、リング・カウンタ32又は36の一方
によって指示されるものとする。読取アドレス・リング
・カウンタ36が書込みアドレス・リング・カウンタ3
2と同じメモリ・ワード・レジスタ50−1乃至50−
Nを示し、且つ最後のメモリ動作が書込み動作であった
時、メモリ48は一杯である。
The memory 48 has a plurality of memory word registers 50-1 to 50-N which store words 1 to N.
Is stored. Each memory word register is connected to one stage of the write address ring counter 32 and performs a memory write operation of this memory word register. Further, each memory word register is also connected to an associated stage of read address ring counter 36 for performing a memory read operation. In the following description, the memory word location addressed during a write or read operation will be indicated by one of the ring counters 32 or 36. The read address ring counter 36 is the write address ring counter 3
2, the same memory word registers 50-1 to 50-
When N is indicated and the last memory operation was a write operation, the memory 48 is full.

【0009】同様に、書込み及び読取アドレス・リング
・カウンタ32,36が同じメモリ・ワード・レジスタ
50−1乃至50−Nを示し、且つ最後に受取った指令
が読取指令である時、メモリ48は空であるから、この
後の読取指令を受取っても処理されない。
Similarly, when the write and read address ring counters 32, 36 point to the same memory word registers 50-1 through 50-N, and when the last received command is a read command, memory 48 is Since it is empty, even if a subsequent read command is received, it is not processed.

【0010】例えば、メモリ48のメモリ・ワード・レ
ジスタ50−2が読取られ、その為、読取アドレス・リ
ング・カウンタ36がメモリ・ワード・レジスタ50−
2を指示していると仮定する。この時、メモリ・ワード
・レジスタ50−2乃至50−Nは50−1と同じく、
新しいデータを書込むことが出来る。メモリ・ワード・
レジスタ50−1が書込まれた時、メモリ48が一杯に
なる。更に、読取アドレス・リング・カウンタ36及び
書込みドレス・リング・カウンタがメモリ・ワード・レ
ジスタ50−2を指示し、最後のメモリ動作は書込み動
作であった時、メモリ48が一杯であることを検出でき
る。
For example, the memory word register 50-2 of the memory 48 is read, so that the read address ring counter 36 reads the memory word register 50-2.
Assume that you are pointing to 2. At this time, the memory word registers 50-2 to 50-N are the same as 50-1.
New data can be written. Memory word
When register 50-1 is written, memory 48 is full. In addition, the read address ring counter 36 and the write dress ring counter point to the memory word register 50-2 to detect that the memory 48 is full when the last memory operation was a write operation. it can.

【0011】逆に、メモリ48全体が書込まれていて、
この為、メモリ・ワード・レジスタ50−Nが書込まれ
ていれば、書込みアドレス・リング・カウンタ32がメ
モリ・ワード・レジスタ50−1を指示する。この状況
では、メモリ・ワード・レジスタ50−1乃至50−N
をこの後で読取ることが出来、メモリ48は空になる。
読取及び書込みアドレス・リング・カウンタ32,36
が同じメモリ・ワード・レジスタ50−1を指示し、最
後のメモリ動作が読取動作であった時、メモリ空状態を
検出することが出来る。
Conversely, the entire memory 48 has been written,
Thus, if memory word register 50-N has been written, write address ring counter 32 points to memory word register 50-1. In this situation, the memory word registers 50-1 through 50-N
Can be read after this, and the memory 48 is emptied.
Read and write address ring counters 32, 36
Point to the same memory word register 50-1, and when the last memory operation is a read operation, a memory empty condition can be detected.

【0012】[0012]

【発明が解決しようとする課題】上記の回路装置では、
アドレス指定を読取アドレス・リング・カウンタ32と
書込みアドレス・リング・カウンタ36とで行ってお
り、最後のメモリ読取り及び書込み動作の記述を管理す
ることでメモリフル及びメモリエンプティの識別を行う
ようにしている。ところが、このようなカウンタを利用
した識別方法ではメモリがフルかエンプティかを決定す
るまでに時間がかかりすぎてしまい、サイクルタイムで
見るとかなり低速のFIFO回路になってしまう。
In the above circuit device,
The addressing is performed by the read address ring counter 32 and the write address ring counter 36. By managing the description of the last memory read and write operations, memory full and memory empty are identified. I have. However, in such an identification method using a counter, it takes too much time to determine whether the memory is full or empty, resulting in a considerably slow FIFO circuit in terms of cycle time.

【0013】本発明はこのような問題点を解消しようと
するものであり、メモリがフルかエンプティかの識別を
速く行うことのできる高速FIFO回路を提供すること
にある。
An object of the present invention is to solve such a problem and to provide a high-speed FIFO circuit capable of quickly discriminating whether a memory is full or empty.

【0014】[0014]

【課題を解決するための手段】本発明は、メモリのライ
ト側とリード側にそれぞれシフトレジスタ手段を設け、
各シフトレジスタ手段にライトクロック、リードクロッ
クを入力し、各シフトレジスタ手段で生成されるアドレ
スを前記メモリのワード線及び比較手段に入力すると共
に、各シフトレジスタ手段で生成されるシフトレジスタ
の周回数を示す信号を前記比較手段に入力し、前記比較
手段は各シフトレジスタ手段からの前記アドレス及び前
記周回数を示す信号に応じて前記メモリが一杯であるこ
とを示すフルフラグ情報、前記メモリが空であることを
示すエンプティフラグ情報を生成し、前記フルフラグ情
報が生成された場合には前記ライトクロックを止め、前
記エンプティフラグ情報が生成された場合には前記リー
ドクロックを止めるようにしたことを特徴とする。
According to the present invention, shift registers are provided on the write side and the read side of a memory, respectively.
A write clock and a read clock are input to each shift register means, an address generated by each shift register means is input to a word line and a comparison means of the memory, and the number of turns of the shift register generated by each shift register means Is input to the comparing means, and the comparing means outputs full address information indicating that the memory is full according to the address and the signal indicating the number of revolutions from each shift register means. Generating empty flag information indicating that there is, stopping the write clock when the full flag information is generated, and stopping the read clock when the empty flag information is generated. I do.

【0015】なお、前記比較手段は、各シフトレジスタ
手段で生成されるアドレスが一致し、かつ各シフトレジ
スタ手段からの前記周回数を示す信号が一致した場合に
前記エンプティフラグ情報を生成し、各シフトレジスタ
手段で生成されるアドレスが一致し、かつ各シフトレジ
スタ手段からの前記周回数を示す信号が異なる場合に
は、前記フルフラグ情報を生成する。
The comparing means generates the empty flag information when an address generated by each shift register means matches and a signal indicating the number of turns from each shift register means matches. If the addresses generated by the shift register means match and the signals indicating the number of turns from each shift register means are different, the full flag information is generated.

【0016】また、前記シフトレジスタ手段は、1クロ
ック入力される毎に“H”レベルがシフトしてワード線
をオンとするnビットシフトレジスタと、このシフトレ
ジスタの“H”レベルが何周しているかを奇数周と偶数
周とで区別して出力するトグルフリップフロップとから
成る。
Further, the shift register means shifts the "H" level every time one clock is input to turn on the word line, and the number of turns of the "H" level of the shift register. And a flip-flop which outputs the data in an odd-numbered round and an even-numbered round.

【0017】[0017]

【発明の実施の形態】はじめに、図1を参照して、本発
明による高速FIFO回路の好ましい実施の形態につい
て説明する。図1において、メモリ10に対してライト
側シフトレジスタ回路11とリード側シフトレジスタ回
路12とが設けられる。ライト側シフトレジスタ回路1
1、リード側シフトレジスタ回路12はそれぞれ、ライ
トクロックWCLK、リードクロックRCLKを受け、
ライトアドレスWADR、リードアドレスRADRをメ
モリ10のワード線に入力すると共に、比較部13に入
力する。メモリ10にはライトアドレスWADRに基づ
いてデータDIが書込まれ、リードアドレスRADRに
基づいてデータDOが読み出される。ライト側シフトレ
ジスタ回路11とリード側シフトレジスタ回路12はま
た、内蔵のシフトレジスタの周回数を示す信号WT/F
F、RT/FFを比較部13に入力する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS First, a preferred embodiment of a high-speed FIFO circuit according to the present invention will be described with reference to FIG. In FIG. 1, a write-side shift register circuit 11 and a read-side shift register circuit 12 are provided for a memory 10. Write-side shift register circuit 1
1. The read-side shift register circuit 12 receives the write clock WCLK and the read clock RCLK, respectively.
The write address WADR and the read address RADR are input to the word line of the memory 10 and are input to the comparison unit 13. Data DI is written to the memory 10 based on the write address WADR, and data DO is read based on the read address RADR. The write-side shift register circuit 11 and the read-side shift register circuit 12 also provide a signal WT / F indicating the number of turns of the built-in shift register.
F and RT / FF are input to the comparison unit 13.

【0018】比較部13は、各シフトレジスタ回路から
のライトアドレスWADR、リードアドレスRADRと
周回数を示す信号WT/FF、RT/FFとに応じてメ
モリ10が一杯であることを示すフルフラグ情報FFL
G、メモリ10が空があることを示すエンプティフラグ
情報EFLGを生成する。比較部13はまた、フルフラ
グ情報FFLGを生成した時はライトクロックWCLK
を止め、エンプティフラグ情報EFLGを生成した時は
リードクロックRCLKを止める。
The comparison unit 13 provides full flag information FFL indicating that the memory 10 is full according to the write address WADR, read address RADR and signals WT / FF and RT / FF indicating the number of turns from each shift register circuit.
G, generates empty flag information EFLG indicating that the memory 10 is empty. When the comparison unit 13 generates the full flag information FFLG, the write clock WCLK
When the empty flag information EFLG is generated, the read clock RCLK is stopped.

【0019】厳密に言えば、比較部13はライトアドレ
スWADRとリードアドレスRADRとが一致し、かつ
周回数を示す信号WT/FF、RT/FFで示される周
回数が一致した時にエンプティフラグ情報EFLGを生
成し、ライトアドレスWADRとリードアドレスRAD
Rとが一致し、かつ周回数を示す信号WT/FF、RT
/FFで示される周回数が異なる場合はフルフラグ情報
FFLGを生成する。なお、周回数は、ここでは“奇数
周”と“偶数周”とで示されるものとし、信号WT/F
F、RT/FFで示される周回数がいずれも“奇数周”
あるいは“偶数周”の場合に周回数が一致したものとす
る。
Strictly speaking, the comparing unit 13 outputs the empty flag information EFLG when the write address WADR and the read address RADR match and the number of turns indicated by the signals WT / FF and RT / FF indicating the number of turns match. And write address WADR and read address RAD
R and WT / FF, RT indicating the number of revolutions
If the number of turns indicated by / FF is different, full flag information FFLG is generated. Here, the number of turns is represented by “odd number turns” and “even number turns”, and the signal WT / F
The number of turns indicated by F and RT / FF are both "odd number turns"
Alternatively, it is assumed that the number of turns matches in the case of “even number turns”.

【0020】図2を参照して、比較部13について説明
する。比較部13は、ライトアドレスWADRとリード
アドレスRADRとの一致の有無を判別する比較器13
−1と、周回数を示す信号WT/FFとRT/FFとを
入力とするEx−OR(排他的論理和)回路13−2
と、Ex−OR回路13−2の出力を入力とするインバ
ータ回路13−3と、インバータ回路13−3と比較器
13−1の出力を入力とするNAND回路13−4と、
Ex−OR回路13−2の出力と比較器13−1の出力
を入力とするNAND回路13−5とを含む。
The comparison section 13 will be described with reference to FIG. The comparator 13 determines whether the write address WADR matches the read address RADR.
Ex-OR (Exclusive OR) circuit 13-2 having -1 and signals WT / FF and RT / FF indicating the number of revolutions as inputs.
An inverter circuit 13-3 receiving an output of the Ex-OR circuit 13-2 as an input, a NAND circuit 13-4 receiving an output of the inverter circuit 13-3 and an output of the comparator 13-1 as an input,
The NAND circuit 13-5 receives the output of the Ex-OR circuit 13-2 and the output of the comparator 13-1.

【0021】このような回路構成により、ライトアドレ
スWADRとリードアドレスRADRとが一致し、かつ
信号WT/FF、信号RT/FFで示される周回数が一
致すると、NAND回路13−4からエンプティフラグ
情報EFLGが生成され、ライトアドレスWADRとリ
ードアドレスRADRとが一致し、かつ信号WT/F
F、信号RT/FFで示される周回数が不一致の場合に
は、NAND回路13−5からフルフラグ情報FFLG
が生成されることが理解できよう。
With such a circuit configuration, when the write address WADR matches the read address RADR and the number of turns indicated by the signals WT / FF and RT / FF matches, the empty flag information is output from the NAND circuit 13-4. EFLG is generated, the write address WADR matches the read address RADR, and the signal WT / F
F, when the number of turns indicated by the signal RT / FF does not match, the full flag information FFLG is output from the NAND circuit 13-5.
It will be understood that is generated.

【0022】次に、図3を参照して、ライト側シフトレ
ジスタ回路11について説明する。ライト側シフトレジ
スタ回路11は、ここでは32ビットのシフトレジスタ
11−1と、トグルフリップフロップ11−2とから成
る。シフトレジスタ11−1は、1クロック入力される
毎に“H(ハイ)”レベルがシフトし、メモリ10に至
るワード線をオンにしてゆく。したがって、アドレスを
決定してワード線をオンさせるのに必要な時間は、シフ
トレジスタ11−1を構成しているフリップフロップ1
個のディレイ分だけしか必要としない。また、トグルフ
リップフロップ11−2は、“H”レベルがフリップフ
ロップFF/0〜FF/31を一周すると状態が変化す
るフリップフロップであり、シフトレジスタ11−1の
“H”レベルが何周しているかを示す信号を、ここでは
奇数周の場合“1”、偶数周の場合“0”で表わして出
力する。上記の構成、作用はリード側シフトレジスタ回
路12についてもまったく同じである。
Next, the write-side shift register circuit 11 will be described with reference to FIG. The write-side shift register circuit 11 here includes a 32-bit shift register 11-1 and a toggle flip-flop 11-2. The shift register 11-1 shifts the “H (high)” level every time one clock is input, and turns on the word line reaching the memory 10. Therefore, the time required to determine the address and turn on the word line is determined by the flip-flop 1 constituting the shift register 11-1.
You only need one delay. The toggle flip-flop 11-2 is a flip-flop whose state changes when the “H” level goes around the flip-flops FF / 0 to FF / 31, and how many times the “H” level of the shift register 11-1 goes around. In this case, a signal indicating whether or not the data is output is represented by "1" for an odd number of revolutions and "0" for an even number of revolutions. The above configuration and operation are exactly the same for the read-side shift register circuit 12.

【0023】いずれにしても、エンプティフラグ情報E
FLGあるいはフルフラグ情報FFLGはRS−フリッ
プフロップ(図示せず)に生成され、エンプティフラグ
情報EFLGを受けたRS−フリップフロップはリード
クロックRCLKの停止を指示する信号を出力し、フル
フラグ情報FFLGを受けたRS−フリップフロップは
ライトクロックWCLKの停止を指示する信号を出力す
る。
In any case, the empty flag information E
The FLG or the full flag information FFLG is generated in an RS-flip-flop (not shown), and the RS-flip-flop receiving the empty flag information EFLG outputs a signal instructing stop of the read clock RCLK and receiving the full flag information FFLG. The RS flip-flop outputs a signal instructing stop of write clock WCLK.

【0024】以上、本発明を好ましい実施の形態につい
て説明したが、本発明による高速FIFO回路は、CP
U周辺に使われるASIC(Application
Specific Custom Product)
や、高速バスに対応したバッファ(100MHz程度で
動作)への利用が適しており、メモリ容量32ワード×
8ビット、32ワード×16ビット、32ワード×32
ビットのSRAMが考えられる。
The preferred embodiment of the present invention has been described above.
ASIC (Application) used around U
Specific Custom Product)
It is suitable for use as a buffer (operating at about 100 MHz) compatible with a high-speed bus, and has a memory capacity of 32 words ×
8 bits, 32 words x 16 bits, 32 words x 32
A bit SRAM can be considered.

【0025】[0025]

【発明の効果】本発明によれば、アドレス生成にシフト
レジスタを使用し、シフトレジスタの“H”レベルの位
置を比較することでメモリのフル,エンプティの認識を
高速で行うことができ、結果としてサイクルタイムを大
幅に短縮することができる。また、入力クロックは非同
期でも良い。
According to the present invention, a shift register is used for address generation, and by comparing the "H" level position of the shift register, full or empty memory can be recognized at high speed. As a result, the cycle time can be greatly reduced. The input clock may be asynchronous.

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

【図1】本発明による高速FIFO回路の構成を示すブ
ロック図である。
FIG. 1 is a block diagram showing a configuration of a high-speed FIFO circuit according to the present invention.

【図2】図1に示された比較部の構成を示した図であ
る。
FIG. 2 is a diagram illustrating a configuration of a comparison unit illustrated in FIG. 1;

【図3】図1に示されたライト側シフトレジスタ回路の
構成を示した図である。
FIG. 3 is a diagram illustrating a configuration of a write-side shift register circuit illustrated in FIG. 1;

【図4】従来の一例を示すブロック図である。FIG. 4 is a block diagram showing an example of the related art.

【符号の説明】[Explanation of symbols]

DI 入力データ DO 出力データ WADR ライトアドレス RADR リードアドレス WCLK ライトクロック RCLK リードクロック EFLG エンプティフラグ情報 FFLG フルフラグ情報 DI input data DO output data WADR write address RADR read address WCLK write clock RCLK read clock EFLG empty flag information FFLG full flag information

Claims (3)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 メモリのライト側とリード側にそれぞれ
シフトレジスタ手段を設け、各シフトレジスタ手段にラ
イトクロック、リードクロックを入力し、各シフトレジ
スタ手段で生成されるアドレスを前記メモリのワード線
及び比較手段に入力すると共に、各シフトレジスタ手段
で生成されるシフトレジスタの周回数を示す信号を前記
比較手段に入力し、前記比較手段は各シフトレジスタ手
段からの前記アドレス及び前記周回数を示す信号に応じ
て前記メモリが一杯であることを示すフルフラグ情報、
前記メモリが空であることを示すエンプティフラグ情報
を生成し、前記フルフラグ情報が生成された場合には前
記ライトクロックを止め、前記エンプティフラグ情報が
生成された場合には前記リードクロックを止めるように
したことを特徴とする高速FIFO回路。
1. A shift register means is provided on each of a write side and a read side of a memory. A write clock and a read clock are input to each shift register means, and an address generated by each shift register means is transferred to a word line and a memory of the memory. A signal indicating the number of turns of the shift register generated by each shift register means is input to the comparing means, and the comparison means inputs the signal indicating the address and the number of turns from each shift register means. Full flag information indicating that the memory is full according to
It generates empty flag information indicating that the memory is empty, stops the write clock when the full flag information is generated, and stops the read clock when the empty flag information is generated. A high-speed FIFO circuit characterized by:
【請求項2】 前記比較手段は、各シフトレジスタ手段
で生成されるアドレスが一致し、かつ各シフトレジスタ
手段からの前記周回数を示す信号が一致した場合に前記
エンプティフラグ情報を生成し、各シフトレジスタ手段
で生成されるアドレスが一致し、かつ各シフトレジスタ
手段からの前記周回数を示す信号が異なる場合には、前
記フルフラグ情報を生成することを特徴とする請求項1
記載の高速FIFO回路。
2. The comparing means generates the empty flag information when an address generated by each shift register means matches and a signal indicating the number of turns from each shift register means matches. 2. The full flag information is generated when an address generated by a shift register means matches and a signal indicating the number of turns from each shift register means is different.
A high-speed FIFO circuit as described.
【請求項3】 前記シフトレジスタ手段は、1クロック
入力される毎に“H”レベルがシフトしてワード線をオ
ンとするnビットシフトレジスタと、このシフトレジス
タの“H”レベルが何周しているかを奇数周と偶数周と
で区別して出力するトグルフリップフロップとから成る
ことを特徴とする請求項1あるいは2記載の高速FIF
O回路。
3. The shift register means includes an n-bit shift register that shifts the "H" level every time one clock is input to turn on a word line, and how many times the "H" level of the shift register goes around. 3. A high-speed FIF according to claim 1, further comprising a toggle flip-flop which outputs whether the operation is odd or even.
O circuit.
JP8205795A 1996-08-05 1996-08-05 High-speed FIFO circuit Expired - Lifetime JP3019917B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP8205795A JP3019917B2 (en) 1996-08-05 1996-08-05 High-speed FIFO circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8205795A JP3019917B2 (en) 1996-08-05 1996-08-05 High-speed FIFO circuit

Publications (2)

Publication Number Publication Date
JPH1050052A JPH1050052A (en) 1998-02-20
JP3019917B2 true JP3019917B2 (en) 2000-03-15

Family

ID=16512819

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8205795A Expired - Lifetime JP3019917B2 (en) 1996-08-05 1996-08-05 High-speed FIFO circuit

Country Status (1)

Country Link
JP (1) JP3019917B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6782486B1 (en) 2000-08-11 2004-08-24 Advanced Micro Devices, Inc. Apparatus for stopping and starting a clock in a clock forwarded I/O system depending on the presence of valid data in a receive buffer
JP2003263884A (en) 2002-03-07 2003-09-19 Mitsubishi Electric Corp Fifo circuit

Also Published As

Publication number Publication date
JPH1050052A (en) 1998-02-20

Similar Documents

Publication Publication Date Title
US5587953A (en) First-in-first-out buffer memory
US5365485A (en) Fifo with fast retransmit mode
US8230174B2 (en) Multi-queue address generator for start and end addresses in a multi-queue first-in first-out memory system
JP2000148444A (en) Multi-logical fifo system
JP2007525766A (en) Collision detection in multiport memory systems
JPH037300B2 (en)
JPH08255475A (en) Page-in burst-out fifo
US7257687B2 (en) Synchronization of active flag and status bus flags in a multi-queue first-in first-out memory system
US7870310B2 (en) Multiple counters to relieve flag restriction in a multi-queue first-in first-out memory system
JPH11502656A (en) Method and apparatus for combining writes to memory
WO2003044652A2 (en) High-speed first-in-first-out buffer
US6058439A (en) Asynchronous first-in-first-out buffer circuit burst mode control
US6853588B2 (en) First-in first-out memory circuit and method for executing same
JP3019917B2 (en) High-speed FIFO circuit
US6243770B1 (en) Method for determining status of multiple interlocking FIFO buffer structures based on the position of at least one pointer of each of the multiple FIFO buffers
JP2001357607A (en) Data processor
JPH04279945A (en) Memory circuit
US6097656A (en) High speed empty flag generator
JP3559299B2 (en) Buffer memory device
JP2002109874A (en) Method and device for deciding number of empty memory position in fifo memory device
JP3520570B2 (en) Memory access control device
JP4478592B2 (en) Memory circuit
JP2908331B2 (en) List vector processing system
JP2550359B2 (en) Method and apparatus for simultaneously operating address increment and memory write
JPH06103026A (en) Memory system

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 19991208