JPH0652677A - Fifo memory - Google Patents

Fifo memory

Info

Publication number
JPH0652677A
JPH0652677A JP4201659A JP20165992A JPH0652677A JP H0652677 A JPH0652677 A JP H0652677A JP 4201659 A JP4201659 A JP 4201659A JP 20165992 A JP20165992 A JP 20165992A JP H0652677 A JPH0652677 A JP H0652677A
Authority
JP
Japan
Prior art keywords
fifo memory
data
circuit
signal
stage
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.)
Withdrawn
Application number
JP4201659A
Other languages
Japanese (ja)
Inventor
Kenji Fukuda
健司 福田
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 IC Microcomputer Systems Co Ltd
Original Assignee
NEC IC Microcomputer Systems Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC IC Microcomputer Systems Co Ltd filed Critical NEC IC Microcomputer Systems Co Ltd
Priority to JP4201659A priority Critical patent/JPH0652677A/en
Publication of JPH0652677A publication Critical patent/JPH0652677A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Communication Control (AREA)

Abstract

PURPOSE:To reduce a read spacing from an external and to speed up the entire FIFO memory. CONSTITUTION:The memory consists of plural FIFO memory circuits which have a same number of stages and a same number of bits, an input switching circuit 3 which successively distributes the inputted data to these FIFO memory circuits, an output switching circuit 4 which successively switches the data from the plural FIFO memories and outputs them and switching timing generating circuits 50 and 51. While data are read from a specific FIFO memory circuit, a data transfer is performed by another FIFO memory circuit and the data are always ready in the last stage of any one of the FIFO memory circuits. Thus, the reading spacing from an external is reduced and the entire FIFO memory is speeded up.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、FIFOメモリに関す
る。
FIELD OF THE INVENTION The present invention relates to a FIFO memory.

【0002】[0002]

【従来の技術】データの入出力動作において、データを
取り込んだ順に出力する方式のバッファメモリをFIF
O(First In First Out)メモリと
いう。このFIFOメモリは、主にデジタル電子回路に
用いられ、非同期で動作する装置間のデータ転送での動
作タイミングのずれを調整する働きを持つ。
2. Description of the Related Art In a data input / output operation, a buffer memory that outputs data in the order in which it is fetched is a FIFO memory.
It is called an O (First In First Out) memory. This FIFO memory is mainly used in a digital electronic circuit and has a function of adjusting a shift in operation timing in data transfer between devices that operate asynchronously.

【0003】従来のFIFOメモリの例としては、シフ
ト・レジスタ方式のFIFOメモリの概略ブロック図、
を図7に示す。図7において、シフト・レジスタ方式の
FIFOメモリは、1つのFIFOメモリ回路から成
り、8ビット×n段の場合の詳細ブロック図を、図8に
示す。
As an example of a conventional FIFO memory, a schematic block diagram of a shift register type FIFO memory,
Is shown in FIG. In FIG. 7, the shift register type FIFO memory is composed of one FIFO memory circuit, and FIG. 8 shows a detailed block diagram in the case of 8 bits × n stages.

【0004】図7のFIFOメモリは、ISR(インジ
ケーション・シフトレジスタ)部1と、DSR(データ
・シフト・レジスタ)部2とを有し、データDI0,D
0〜D7が入力され、データ出力信号DI(n+1),
D(n+1)0〜D(n+1)7が出力され、クリア信
号CLR(n+1)〜CLR0も入力される。図7のI
SR部1は、図8に示すように、n段のISR回路13
からなり、図7のDSR部2は、図8に示すようにn段
のDSR回路23からなり、各段のDSR回路23デー
タ入力信号DO0〜DO7に応じて、8個のレジスタか
らなる。
The FIFO memory shown in FIG. 7 has an ISR (indication shift register) section 1 and a DSR (data shift register) section 2, and has data DI0, D1.
0 to D7 are input, and the data output signal DI (n + 1),
D (n + 1) 0 to D (n + 1) 7 are output, and clear signals CLR (n + 1) to CLR0 are also input. I in FIG.
The SR unit 1 includes an n-stage ISR circuit 13 as shown in FIG.
The DSR unit 2 of FIG. 7 is composed of n stages of DSR circuits 23 as shown in FIG. 8, and is composed of eight registers according to the data input signals DO0 to DO7 of the DSR circuits 23 of each stage.

【0005】図7,図8において、シフト・レジスタ方
式のFIFOメモリ回路は、1ビット×n段のインジケ
ーション・シフトレジスタ(以下、ISRと略す)部1
と、8ビット×n段のデータ・シフト・レジスタ(以
下、DSRと略す)部2とで構成されている。各段のI
SR回路13は、同じ段のDSR回路23へラッチすべ
きデータが到着したか否かの情報を管理するためにあ
る。DSR回路23は、ISR回路13の管理の下に、
FIFOメモリ回路に到着したデータをラッチするため
のレジスタである。
In FIGS. 7 and 8, a shift register type FIFO memory circuit includes a 1-bit × n-stage indication shift register (hereinafter abbreviated as ISR) unit 1.
And an 8-bit × n-stage data shift register (hereinafter abbreviated as DSR) unit 2. I of each stage
The SR circuit 13 is for managing information on whether or not the data to be latched has arrived at the DSR circuit 23 at the same stage. The DSR circuit 23, under the control of the ISR circuit 13,
This is a register for latching the data that has arrived at the FIFO memory circuit.

【0006】図9にn段目のISR回路の論理構成を、
図10にその動作タイミングを示す。これら図7乃至図
10を基に、非同期型FIFOメモリの動作を説明す
る。
FIG. 9 shows the logical configuration of the n-th stage ISR circuit.
FIG. 10 shows the operation timing. The operation of the asynchronous FIFO memory will be described with reference to FIGS. 7 to 10.

【0007】図9において、本シフト・レジスタ方式の
FIFOメモリ回路のインジケーション・シフトレジス
タの論理構成は、クリア付きラッチ回路101と、S−
Rフリップ・フロップ102と、2入力ANDゲート1
03と、3入力ANDゲート104とからなる。
In FIG. 9, the logical structure of the indication shift register of this shift register type FIFO memory circuit is as follows.
R flip-flop 102 and 2-input AND gate 1
03 and a 3-input AND gate 104.

【0008】図10において、本シフト・レジスタ方式
のFIFOメモリ回路の各部の信号波形(図7乃至図1
0において、同一部分の信号は同一のアルファベットで
示す)が示されている。図中の矢印は、信号の流れの因
果関係を示している。
In FIG. 10, signal waveforms of respective portions of the shift register type FIFO memory circuit (FIGS. 7 to 1)
0, signals of the same part are indicated by the same alphabet). The arrows in the figure show the causal relationship of signal flow.

【0009】図7乃至図10において、データFIFO
メモリ回路に格納する動作開始時には、各段のDI信号
およびCLR信号を“0”にクリアする。この状態で、
n段目にデータが到着すると、すなわちDIn信号が
“1”となると、CLR(n+)信号とDI(n+1)
信号のいずれも“0”なので、STBn信号がアクティ
ブとなり、n段目のDSR回路23へ到着している8ビ
ット・データDn0〜Dn7をDSR回路23にラッチ
する。次に、n+1段目へのデータ転送準備と、n段目
におけるラッチ完了をn−1段目に知らせる動作に移
る。すなわち、STBn信号の立ち上がりによってDI
(n+1)信号をアクティブにして、n+1段目にラッ
チすべきデータが到着していることを知らせる。また、
STBn信号の降下でCLRn信号をアクティブとして
DIn信号が“0”になることにより、n段目へのデー
タの格納の完了と、n−1段目への新たなデータの格納
が可能であることを、n−1段目のISR回路13へ知
らせる。以上の動作を繰り返し、初段に到着したデータ
が、将棋倒しに後段へ転送されていく。このように、デ
ータがFIFOメモリ回路内を1段伝搬するには、次の
(1),(2),(3)の動作が必要となる。
In FIGS. 7 to 10, the data FIFO
At the start of the operation of storing in the memory circuit, the DI signal and CLR signal of each stage are cleared to "0". In this state,
When data arrives at the nth stage, that is, when the DIn signal becomes "1", the CLR (n +) signal and DI (n + 1) signal
Since all of the signals are "0", the STBn signal becomes active and the 8-bit data Dn0 to Dn7 arriving at the nth stage DSR circuit 23 is latched in the DSR circuit 23. Next, the operation proceeds to the preparation of data transfer to the (n + 1) th stage and the operation of notifying the completion of latching in the nth stage to the (n-1) th stage. That is, DI rises when the STBn signal rises.
The (n + 1) signal is activated to notify that the data to be latched has arrived at the (n + 1) th stage. Also,
When the STBn signal drops and the CLRn signal becomes active and the DIn signal becomes “0”, it is possible to complete data storage in the nth stage and store new data in the n−1th stage. To the n-1th stage ISR circuit 13. By repeating the above operation, the data arriving at the first stage is transferred to the latter stage by shogi. Thus, in order for data to propagate through the FIFO memory circuit one stage, the following operations (1), (2), and (3) are required.

【0010】(1)前段からのデータの取り込み。(1) Acquisition of data from the previous stage.

【0011】(2)次段へのデータの出力。(2) Output of data to the next stage.

【0012】(3)前段のISR回路クリア。(3) Clear the ISR circuit in the previous stage.

【0013】次に、8ビット×n段のFIFOメモリ回
路内のデータ伝搬を具体的に説明する。まず、0段目に
1バイトのデータが到着すると、前述の動作をn段分行
い、n段目のDSR回路23へデータをラッチし、DI
(n+1)信号をアクティブにする。この時、CLR
(n+1)信号がアクティブでなければ、このデータは
n段目のDSR回路23に保持される。CLR(n+
1)信号がアクティブであると、n段目のラッチから、
すなわちこのFIFOメモリ回路からデータを引き取る
ことを意味する。よって、CLR(n+1)信号は、こ
のFIFOメモリ回路に対する読み取り信号(RD信
号)と言い替えることもできる。
Next, data propagation in the 8-bit × n-stage FIFO memory circuit will be specifically described. First, when 1-byte data arrives at the 0th stage, the above operation is performed for n stages, and the data is latched in the DSR circuit 23 at the nth stage and DI
Activate the (n + 1) signal. At this time, CLR
If the (n + 1) signal is not active, this data is held in the n-th stage DSR circuit 23. CLR (n +
1) If the signal is active,
That is, it means that data is taken from this FIFO memory circuit. Therefore, the CLR (n + 1) signal can be rephrased as a read signal (RD signal) for the FIFO memory circuit.

【0014】FIFOメモリに対する外部からの読み取
り動作間隔が、FIFOメモリ回路内でデータが1段分
伝搬するよりも短い場合、最終段からの読み取り間隔
は、FIFOメモリ回路の1段分のデータ伝搬時間に制
限される。
When the interval between external read operations to the FIFO memory is shorter than the data propagation for one stage in the FIFO memory circuit, the read interval from the final stage is the data propagation time for one stage of the FIFO memory circuit. Limited to.

【0015】[0015]

【発明が解決しようとする課題】このように、従来のF
IFOメモリでは、外部からの読み取り間隔を1段分の
データ伝搬時間よりも小さくすることは不可能であり、
また、1段分のデータ伝搬時間を縮めることは、回路の
構成上難しく、このデータ伝搬時間がFIFOメモリの
高速化の制限となっていた。
As described above, the conventional F
In the IFO memory, it is impossible to make the reading interval from the outside smaller than the data propagation time for one stage.
Further, it is difficult to shorten the data propagation time for one stage due to the circuit configuration, and this data propagation time has been a limitation for speeding up the FIFO memory.

【0016】本発明の目的は、前記欠点を解決して、外
部からの読み取り間隔を縮め、FIFOメモリ全体の高
速化を計ったFIFOメモリを提供することにある。
It is an object of the present invention to provide a FIFO memory which solves the above-mentioned drawbacks, shortens the reading interval from the outside, and speeds up the entire FIFO memory.

【0017】[0017]

【課題を解決するための手段】本発明のFIFOメモリ
の構成は、同一の段数かつ同一のビット数である複数個
のFIFOメモリ回路と、入力されるデータを前記複数
個のFIFOメモリ回路に、順に振り分ける入力切り換
え回路と、FIFOメモリ回路へのデータ入力完了によ
って切り換えタイミング信号を生成する入力切り換えタ
イミング生成回路と、前記複数個のFIFOメモリ回路
からのデータを順に切り換えて出力する出力切り換え回
路と、FIFOメモリ回路からのデータ出力完了によっ
て出力切り換えタイミング信号を生成する出力切り換え
タイミング生成回路とを備えることを特徴とする。
The structure of the FIFO memory of the present invention comprises a plurality of FIFO memory circuits having the same number of stages and the same number of bits, and input data to the plurality of FIFO memory circuits. An input switching circuit for sequentially distributing, an input switching timing generation circuit for generating a switching timing signal upon completion of data input to the FIFO memory circuit, and an output switching circuit for sequentially switching and outputting data from the plurality of FIFO memory circuits, And an output switching timing generation circuit for generating an output switching timing signal when data output from the FIFO memory circuit is completed.

【0018】[0018]

【実施例】図1は、本発明の第1の実施例のFIFOメ
モリを示すブロック図である。図1において、本実施例
では、シフト・レジスタ方式で8ビット×n段のFIF
Oメモリ回路の場合を想定している。本実施例の回路
は、ISR部とDSR部から成るFIFOメモリ回路が
2本と、入力切り換え回路3と、出力切り換え回路4
と、切り換えタイミング信号を生成する切り換えタイミ
ング生成回路50,51とから構成される。
1 is a block diagram showing a FIFO memory according to a first embodiment of the present invention. In FIG. 1, in the present embodiment, an 8-bit × n-stage FIF is adopted by the shift register method.
The case of an O memory circuit is assumed. The circuit of this embodiment includes two FIFO memory circuits each including an ISR section and a DSR section, an input switching circuit 3, and an output switching circuit 4.
And switching timing generation circuits 50 and 51 that generate switching timing signals.

【0019】図1中のA側ISR部10とB側ISR部
11は同一の構成で、かつ、図8,図9に示す従来のF
IFOメモリ回路のISR部1と同じ回路構成であり、
同様の動作をする。また、A側のDSR部20とB側D
SR部21も同一の回路構成で、かつ、図8の従来のF
IFOメモリ回路のDSR部2と同じ回路構成で、8ビ
ット×n段のラッチ回路から成り、同様の動作をする。
The A side ISR section 10 and the B side ISR section 11 in FIG. 1 have the same structure, and the conventional F shown in FIGS.
It has the same circuit configuration as the ISR unit 1 of the IFO memory circuit,
Do the same. Also, the A side DSR unit 20 and the B side D
The SR unit 21 also has the same circuit configuration, and the conventional F of FIG.
The circuit configuration is the same as that of the DSR unit 2 of the IFO memory circuit, and it is composed of a latch circuit of 8 bits × n stages and operates in the same manner.

【0020】入力切り換え回路3の内部ブロック図を、
図2に示す。図2において、入力切り換え回路3は、デ
マルチプレクサ(DMRX)33により、FIFOメモ
リに入力される8ビットのデータD0〜D7をA側かB
側のDSR部すなわちDSR部20かDSR部21に振
り分ける。さらに、ISR部10とISR部11の制御
信号であるDI0信号及びCLR0信号を切り換える機
能を持つ。入力されるDI0信号をDI0A信号かDI
0B信号に切り換えるのがデマルチプレクサ(DMP
X)31で、CLR0A信号とFLR0B信号からどち
らかを選び出し、外部にCLR0信号として出力するの
が、セレクタ(SEL)32である。
An internal block diagram of the input switching circuit 3 is shown in FIG.
As shown in FIG. In FIG. 2, the input switching circuit 3 uses the demultiplexer (DMRX) 33 to convert the 8-bit data D0 to D7 input to the FIFO memory to the A side or the B side.
It is distributed to the DSR unit on the side, that is, the DSR unit 20 or the DSR unit 21. Further, it has a function of switching between the DI0 signal and the CLR0 signal which are control signals of the ISR unit 10 and the ISR unit 11. The input DI0 signal is changed to DI0A signal or DI
Switching to the 0B signal is a demultiplexer (DMP
X) 31 selects either the CLR0A signal or the FLR0B signal and outputs it to the outside as the CLR0 signal by the selector (SEL) 32.

【0021】この時、切り換えタイミング制御するの
が、切り換えタイミング生成回路50で、その論理構成
を、図4に示す。図4において、本例では、D型フリッ
プ・フロップ52によってCLR0A信号またはCLR
0B信号の立ち上がりエッジで、短パルス信号が発生
し、この短パルスをR−Sフリップ・フロップ54にセ
ット(S)入力または、リセット(R)入力に交互に入
力することにより、R−Sフリップ・フロップ54の出
力(Q)がトグルに変化する。CLR0A信号はインバ
ータ53を介して、CLR0B信号はインバータ53を
介して、フリップ・フロップ52に出力される。
At this time, the switching timing is controlled by the switching timing generation circuit 50, and its logical configuration is shown in FIG. In FIG. 4, in this example, the D-type flip-flop 52 is used to output the CLR0A signal or the CLR0A signal.
At the rising edge of the 0B signal, a short pulse signal is generated, and this short pulse is alternately input to the set (S) input or the reset (R) input to the RS flip-flop 54, whereby the RS flip -The output (Q) of the flop 54 changes to a toggle. The CLR0A signal is output to the flip-flop 52 via the inverter 53, and the CLR0B signal is output to the flip-flop 52 via the inverter 53.

【0022】出力切り換え回路4の内部ブロック図を、
図3に示す。図3において、出力切り換え回路4は、セ
レクタ(SEL)43により、A側のDSR部20とB
側のDSR部21からの8ビット・データD(n+1)
0〜D(n+1)7内、片方を選択する。さらに、IS
R部10とISR部11の制御信号であるDI(n+
1)信号及びCLR(n+1)信号を切り換える機能を
持つ。DI(n+1)A信号とDI(n+1)B信号か
らどちらかを選び、外部にDI(n+1)信号として出
力するのがセレクタ(SEL)41で、入力されるCL
R(n+1)信号をCLR(n+1)AかCLR(n+
1)Bに切り換えるのが、デマルチプレクサ(DMP
X)42である。この時、切り換えタイミングを制御す
るのが、図1の切り換えタイミング生成回路51で、C
LR(n+1)A信号とCLR(n+1)B信号の各立
ち下がりエッジで、出力がトグルに変化する。この出力
側の切り換えタイミング生成回路51の論理構成、及び
動作は、入力側の切り換えタイミング生成回路50と同
一である。
An internal block diagram of the output switching circuit 4 is
As shown in FIG. In FIG. 3, the output switching circuit 4 uses the selector (SEL) 43 to connect the ASR side DSR section 20 and the B side DSR section 20 to the B side.
8-bit data D (n + 1) from the DSR unit 21 on the side
One of 0 to D (n + 1) 7 is selected. Furthermore, IS
DI (n +) which is a control signal for the R section 10 and the ISR section 11
1) It has a function of switching between the signal and the CLR (n + 1) signal. The selector (SEL) 41 selects one of the DI (n + 1) A signal and the DI (n + 1) B signal and outputs it as a DI (n + 1) signal to the outside.
The R (n + 1) signal is changed to CLR (n + 1) A or CLR (n +
1) Switching to B is the demultiplexer (DMP
X) 42. At this time, the switching timing is controlled by the switching timing generation circuit 51 in FIG.
The output changes to toggle at each falling edge of the LR (n + 1) A signal and the CLR (n + 1) B signal. The logical configuration and operation of the output side switching timing generation circuit 51 are the same as those of the input side switching timing generation circuit 50.

【0023】次に、図1の実施例について、図5のタイ
ミング図を参照して、動作を具体的に説明する。
Next, the operation of the embodiment of FIG. 1 will be described in detail with reference to the timing chart of FIG.

【0024】図1,図5において、A側のFIFOメモ
リ回路であるISR部10とDSR部20は、図8に示
す従来のFIFOメモリ回路の回路構成であり、同様の
働きをする。すなわち、A側のFIFOメモリ回路のn
段目にデータが到着すると、DInA信号が“1”にな
り、CLR(n+1)信号とDI(n+1)A信号のい
ずれも“0”なので、STBnA信号がアクティブとな
り、n段目のDSR回路へ到着している8ビット・デー
タDn0〜Dn7をDSR回路にラッチする。
In FIGS. 1 and 5, the ISR section 10 and the DSR section 20 which are the FIFO memory circuits on the A side have the circuit configuration of the conventional FIFO memory circuit shown in FIG. 8 and have the same functions. That is, n of the A-side FIFO memory circuit
When the data arrives at the stage, the DInA signal becomes "1", and both the CLR (n + 1) signal and the DI (n + 1) A signal are "0", so the STBnA signal becomes active and the DSR circuit at the nth stage is reached. The arriving 8-bit data Dn0 to Dn7 is latched in the DSR circuit.

【0025】続いて、n+1段目へのデータ転送準備
と、n段目におけるラッチ完了をn−1段目に知らせる
動作に移る。すなわち、STBnA信号の立ち上がりに
よってDI(n+1)A信号をアクティブにして、n+
1段目にラッチすべきデータが到着していることを知ら
せる。また、STBnA信号の降下でCLRnA信号を
アクティブとしてDInA信号が“0”になることによ
り、n段目へのデータの格納の完了と、n−1段目への
新たなデータの格納が可能であることを、n−1段目の
ISR回路へ知らせる。
Next, the operation proceeds to the preparation of data transfer to the (n + 1) th stage and the operation of informing the n-1th stage of the completion of latching in the nth stage. That is, the DI (n + 1) A signal is activated by the rising edge of the STBnA signal, and n +
Notify that the data to be latched has arrived at the first stage. Further, the CLRnA signal is activated by the fall of the STBnA signal and the DInA signal becomes “0”, whereby the storage of data in the nth stage and the storage of new data in the n−1th stage can be performed. This is notified to the n-1th stage ISR circuit.

【0026】同様に、B側のFIFOメモリ回路である
ISR部11とDSR部21も、図8に示す従来のFI
FOメモリ回路と同一の回路構成であり、A側のFIF
Oメモリ回路と同様の働きをする。入力回路3と切り換
えタイミング生成回路50の働きにより、外部からの8
ビット・データは、A側とB側のFIFOメモリ回路に
交互に入力され、各々のFIFOメモリ回路内部で最終
段に向かってデータがシフトしていく。最終段に到達し
たデータは、DI(n+1)信号をアクティブにし、外
部に対してデータの読み取りが可能であることを示す。
Similarly, the ISR section 11 and the DSR section 21, which are B-side FIFO memory circuits, also have the conventional FI shown in FIG.
The circuit configuration is the same as that of the FO memory circuit, and the A-side FIF
Functions like an O memory circuit. By the functions of the input circuit 3 and the switching timing generation circuit 50, 8
Bit data is alternately input to the A-side and B-side FIFO memory circuits, and the data is shifted toward the final stage inside each FIFO memory circuit. The data reaching the final stage activates the DI (n + 1) signal and indicates that the data can be read to the outside.

【0027】この時、図5のタイミング図に示す様に、
出力切り換え回路4と切り換えタイミング生成回路51
の働きにより、外部へ出力されるデータD(n+1)0
〜D(n+1)7は、A側とB側とに交互に切り換えら
れる。切り換えタイミングは、選ばれている側のCLR
n+1信号で、A側が選択されている時はCLR(n+
1)A信号、B側が選択されている時はCLR(n+
1)B信号になる。よって図5のタイミング図に示す様
に、A側,B側をFIFOメモリ回路から交互にデータ
が出力される。また、A側のデータ出力中にB側のデー
タ伝搬が行なわれ、逆に、B側のデータ中には、A側の
データ伝搬が行なわれるので、常に、どちらかのFIF
Oメモリ回路の最終段にデータが準備されており、切り
換え直後に、データ出力が可能となる。
At this time, as shown in the timing chart of FIG.
Output switching circuit 4 and switching timing generation circuit 51
Of data D (n + 1) 0 output to the outside by
~ D (n + 1) 7 are alternately switched to the A side and the B side. The switching timing is the CLR of the selected side.
When the A side is selected by the n + 1 signal, CLR (n +
1) When A signal and B side are selected, CLR (n +
1) It becomes a B signal. Therefore, as shown in the timing chart of FIG. 5, data is alternately output from the FIFO memory circuit on the A side and the B side. Further, since the B side data is propagated while the A side data is being output, and conversely, the A side data is propagated in the B side data, so that either FIF is always transmitted.
Data is prepared in the final stage of the O memory circuit, and data can be output immediately after switching.

【0028】この結果、FIFOメモリからのデータ読
み取り間隔は、内蔵するFIFOメモリ回路の持つ1段
分のデータ伝搬時間よりも小さくなり、FIFOメモリ
回路全体としての出力間隔(外部からの読み取り間隔)
が、大幅に縮小される。本実施例の動作を示す図5と従
来例の動作を示す図10を比較すると、データの出力間
隔を示すD(n+1)0〜D(n+1)7から分かる様
に、本実施例のデータ出力間隔は、1/2以下に縮小さ
れることが期待できる。
As a result, the data read interval from the FIFO memory becomes smaller than the data propagation time for one stage of the built-in FIFO memory circuit, and the output interval of the FIFO memory circuit as a whole (read interval from the outside).
However, it is greatly reduced. Comparing FIG. 5 showing the operation of this embodiment with FIG. 10 showing the operation of the conventional example, as can be seen from D (n + 1) 0 to D (n + 1) 7 showing the data output intervals, the data output of this embodiment The interval can be expected to be reduced to 1/2 or less.

【0029】次に、本発明の第2の実施例について説明
する。図6は本第2の実施例のブロック図である。図6
において、本実施例では、内部に8ビット×n段のFI
FOメモリ回路を3本内蔵している。
Next, a second embodiment of the present invention will be described. FIG. 6 is a block diagram of the second embodiment. Figure 6
In this embodiment, the FI of 8 bits × n stages is internally provided.
It has three built-in FO memory circuits.

【0030】即ち、A側ISR部10,A側DSR部2
0と、B側ISR部11,B側DSR部21と、C側I
SR部12,C側DSR部22とを備えている。
That is, the A side ISR unit 10 and the A side DSR unit 2
0, B side ISR section 11, B side DSR section 21, and C side I
An SR unit 12 and a C-side DSR unit 22 are provided.

【0031】出力切り換え回路4と切り換えタイミング
生成回路51との働きにより、外部へ出力されるデータ
D(n+1)0〜D(n+1)7は、A側,B側,C側
とに、順に切り換えられる。本実施例では、前記第1の
実施例より、一層の高速化が実現できる。また、内蔵す
るFIFOメモリ回路の数をさらに増やすことも可能で
ある。
By the operation of the output switching circuit 4 and the switching timing generation circuit 51, the data D (n + 1) 0 to D (n + 1) 7 output to the outside are switched to the A side, B side, C side in this order. To be In this embodiment, higher speed can be realized as compared with the first embodiment. It is also possible to further increase the number of built-in FIFO memory circuits.

【0032】以上の説明においては、実施例として、シ
フト・レジスタ方式のFIFOメモリ路を使用するもの
としたが、これに限られることはなく、カウンタ方式の
FIFOメモリ回路等に応用した場合にも同様の効果が
得られる。また、入力/出力切り換え回路、切り換えタ
イミング生成回路についても前記実施例で示した回路構
成以外にも様々な回路構成で実現できる。
In the above description, the shift register type FIFO memory path is used as an embodiment, but the present invention is not limited to this, and may be applied to a counter type FIFO memory circuit or the like. The same effect can be obtained. Further, the input / output switching circuit and the switching timing generation circuit can be realized by various circuit configurations other than the circuit configurations shown in the above-mentioned embodiments.

【0033】[0033]

【発明の効果】以上説明したように、本発明のFIFO
メモリでは、外部からの読み取り間隔を1段分のデータ
伝搬時間よりも小さくすることが可能であり、外部から
の読み取り間隔を縮め、FIFOメモリ全体の高速化が
得られるという効果を有する。
As described above, the FIFO of the present invention
In the memory, the reading interval from the outside can be made shorter than the data propagation time for one stage, and the reading interval from the outside can be shortened, and the speed of the entire FIFO memory can be increased.

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

【図1】本発明の第1の実施例のFIFOメモリを示す
ブロック図である。
FIG. 1 is a block diagram showing a FIFO memory according to a first embodiment of the present invention.

【図2】図1に示した実施例の入力切り換え回路のブロ
ック図である。
FIG. 2 is a block diagram of an input switching circuit of the embodiment shown in FIG.

【図3】図1に示した実施例の出力切り換え回路のブロ
ック図である。
FIG. 3 is a block diagram of an output switching circuit of the embodiment shown in FIG.

【図4】図1に示した実施例の切り換えタイミング生成
回路の論理図である。
4 is a logic diagram of a switching timing generation circuit of the embodiment shown in FIG.

【図5】図1に示した実施例のタイミング図である。5 is a timing diagram of the embodiment shown in FIG.

【図6】本発明の第2の実施例のブロック図である。FIG. 6 is a block diagram of a second embodiment of the present invention.

【図7】従来のシフト・レジスタ方式のFIFOメモリ
の概略ブロック図である。
FIG. 7 is a schematic block diagram of a conventional shift register type FIFO memory.

【図8】従来のシフト・レジスタ方式のFIFOメモリ
回路の詳細ブロック図である。
FIG. 8 is a detailed block diagram of a conventional shift register type FIFO memory circuit.

【図9】シフト・レジスタ方式のFIFOメモリ回路の
ISR(IndicationShift Regis
ter)の論理図である。
FIG. 9 shows an ISR (Indication Shift Register) of a shift register type FIFO memory circuit.
is a logical diagram of (ter).

【図10】シフト・レジスタ方式のFIFOメモリ回路
のISRのタイミング図である。
FIG. 10 is a timing diagram of ISR of a shift register type FIFO memory circuit.

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

1 ISR(Indication Shift R
egister) 2 DSR(Data Shift Registe
r) 3,63 入力切り換え回路 4,64 出力切り換え回路 10 A側ISR部 11 B側ISR部 12 C側ISR部 20 A側DSR部 21 B側DSR部 22 C側DSR部 23 DSR回路 31,33,42 デマルチプレクサ 32,41,43 セレクタ 50,60 入力側切り換えタイミング生成回路 51,61 出力側切り換えタイミング生成回路 52 D型フリップ・フロップ 53 インバータ 54,102 R−Sフリップ・フロップ 101 クリア付きラッチ回路 103 2入力ANDゲート 104 3入力ANDゲート
1 ISR (Indication Shift R
egister) 2 DSR (Data Shift Register)
r) 3,63 Input switching circuit 4,64 Output switching circuit 10 A side ISR section 11 B side ISR section 12 C side ISR section 20 A side DSR section 21 B side DSR section 22 C side DSR section 23 DSR circuit 31, 33 , 42 Demultiplexer 32, 41, 43 Selector 50, 60 Input side switching timing generation circuit 51, 61 Output side switching timing generation circuit 52 D-type flip-flop 53 Inverter 54, 102 RS flip-flop 101 Latch circuit with clear 103 2-input AND gate 104 3-input AND gate

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 互いに同一の段数かつ同一のビット数で
ある複数のFIFOメモリ回路と、入力されるデータを
前記複数のFIFOメモリ回路に、順に振り分ける入力
切り換え回路と、前記FIFOメモリ回路へのデータ入
力完了によって切り換えタイミング信号を生成する入力
切り換えタイミング生成回路と、前記複数のFIFOメ
モリ回路からのデータを順に切り換えて出力する出力切
り換え回路と、前記FIFOメモリ回路からのデータ出
力完了によって出力切り換えタイミング信号を生成する
出力切り換えタイミング生成回路とを備えることを特徴
とするFIFOメモリ。
1. A plurality of FIFO memory circuits having the same number of stages and the same number of bits, an input switching circuit for sequentially distributing input data to the plurality of FIFO memory circuits, and data to the FIFO memory circuits. An input switching timing generation circuit that generates a switching timing signal upon completion of input, an output switching circuit that sequentially switches and outputs data from the plurality of FIFO memory circuits, and an output switching timing signal upon completion of data output from the FIFO memory circuit. And an output switching timing generation circuit for generating
【請求項2】 FIFOメモリ回路は、いずれも8ビッ
トであり、3回路からなる請求項1記載のFIFOメモ
リ。
2. The FIFO memory according to claim 1, wherein each of the FIFO memory circuits has 8 bits and comprises 3 circuits.
JP4201659A 1992-07-29 1992-07-29 Fifo memory Withdrawn JPH0652677A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4201659A JPH0652677A (en) 1992-07-29 1992-07-29 Fifo memory

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4201659A JPH0652677A (en) 1992-07-29 1992-07-29 Fifo memory

Publications (1)

Publication Number Publication Date
JPH0652677A true JPH0652677A (en) 1994-02-25

Family

ID=16444769

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4201659A Withdrawn JPH0652677A (en) 1992-07-29 1992-07-29 Fifo memory

Country Status (1)

Country Link
JP (1) JPH0652677A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6853588B2 (en) 2002-10-31 2005-02-08 Electronics And Telecommunications Research Institute First-in first-out memory circuit and method for executing same

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6853588B2 (en) 2002-10-31 2005-02-08 Electronics And Telecommunications Research Institute First-in first-out memory circuit and method for executing same

Similar Documents

Publication Publication Date Title
JP4322548B2 (en) Data format conversion circuit
JP3992871B2 (en) Synchronous random access memory access method
US5548775A (en) System and method for adaptive active monitoring of high speed data streams using finite state machines
US5295174A (en) Shifting circuit and shift register
US5534796A (en) Self-clocking pipeline register
US7243252B2 (en) Synchronization circuit for transferring data using a bus of a different width
JP2576366B2 (en) Variable delay buffer circuit
KR100238869B1 (en) Semiconductor memory device for providing bust mode control signal
JP2004171738A (en) Pipe latch circuit for outputting high-speed data
EP1012700B1 (en) Multiple parallel identical finite state machines which share combinatorial logic
US5381455A (en) Interleaved shift register
US4425562A (en) Device for coding signals which are distributed between a number of channels
US5978295A (en) Sequential access memories
JPH0652677A (en) Fifo memory
JP2000188555A (en) Block interleave circuit
JPH0715800B2 (en) Memory circuit
KR20010006850A (en) Improved skew pointer generation
KR0176845B1 (en) Extension method and circuit for i/o port of microcomputer
EP1050883B1 (en) Circuits for controlling the storage of data into memory
JPH08212794A (en) Shift register
US6701423B2 (en) High speed address sequencer
IL118203A (en) Precision time of day counting system
JP2000011637A (en) Fifo-type storage
JPH09147594A (en) Shift register circuit
JPH0668691A (en) Shift register circuit

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 19991005