JP3114298B2 - First-in first-out storage device - Google Patents

First-in first-out storage device

Info

Publication number
JP3114298B2
JP3114298B2 JP03315941A JP31594191A JP3114298B2 JP 3114298 B2 JP3114298 B2 JP 3114298B2 JP 03315941 A JP03315941 A JP 03315941A JP 31594191 A JP31594191 A JP 31594191A JP 3114298 B2 JP3114298 B2 JP 3114298B2
Authority
JP
Japan
Prior art keywords
data
input
unit
storage
output
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 - Fee Related
Application number
JP03315941A
Other languages
Japanese (ja)
Other versions
JPH05210967A (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 JP03315941A priority Critical patent/JP3114298B2/en
Publication of JPH05210967A publication Critical patent/JPH05210967A/en
Application granted granted Critical
Publication of JP3114298B2 publication Critical patent/JP3114298B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Information Transfer Systems (AREA)

Description

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

【0001】[0001]

【産業上の利用分野】本発明は先入先出記憶装置(FI
FO)に関し、特に複数の入力ポートを有するマルチポ
ート型の先入先出記憶装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a first-in first-out storage device (FI).
More specifically, the present invention relates to a multi-port first-in first-out storage device having a plurality of input ports.

【0002】[0002]

【従来の技術】従来の先入先出記憶装置(FIFO)
は、図4に示すように、データが入力する入力ポート1
と、入力されたデータを格納する記憶部5Bと、記憶部
5B内のデータを出力端子TOまで内部タイミングによ
り自己シフトするシフト制御部8Bと、記憶部5Bのデ
ータ格納状態をモニタする状態監視部7Bと、出力ポー
ト9とを備えて構成されていた。この場合、入力ポート
1および出力ポート9はそれぞれ単一である。
2. Description of the Related Art Conventional first-in first-out storage device (FIFO)
Is an input port 1 to which data is input as shown in FIG.
A storage unit 5B for storing input data, a shift control unit 8B for self-shifting data in the storage unit 5B to an output terminal TO at an internal timing, and a state monitoring unit for monitoring a data storage state of the storage unit 5B. 7B and an output port 9. In this case, the input port 1 and the output port 9 are each single.

【0003】次に、従来の先入先出記憶装置の動作につ
いて説明する。
Next, the operation of the conventional first-in first-out storage device will be described.

【0004】入力ポート1から入力されたデータID
は、入力制御信号により記憶部5Bに格納される。格納
されたデータIDは、記憶部5B内を出力端子TOま
で、クロックCLKに同期したシフト制御部8Bの制御
により自己シフトされて、出力ポート9から先に入力さ
れた順序すなわち先入順序で出力データODとして出力
される。状態監視部7Bは、記憶部5Bのデータ格納状
態をモニタし、状態信号Sを出力する。
Data ID input from input port 1
Are stored in the storage unit 5B by the input control signal. The stored data ID is self-shifted in the storage unit 5B to the output terminal TO under the control of the shift control unit 8B in synchronization with the clock CLK, and the output data ID is output in the order of input from the output port 9, that is, in the first-in-first-out order. Output as OD. The state monitoring unit 7B monitors the data storage state of the storage unit 5B and outputs a state signal S.

【0005】この場合、複数の変数を扱うためには各変
数毎にFIFOを設ける必要がある。たとえば、3つの
変数の場合には、対応する3つのFIFOが必要であ
る。システムの動作モード等により、扱う変数が2つで
よい場合には対応するFIFOは全く使用されない。ま
た、各変数の入出力の頻度の比率が動作モード等により
変化する場合も各FIFOの全段が必らずしも使用され
るとは限らないので、結果としてFIFOの使用効率が
低下することになるというものであった。
In this case, in order to handle a plurality of variables, it is necessary to provide a FIFO for each variable. For example, for three variables, three corresponding FIFOs are needed. If only two variables need to be handled depending on the operation mode of the system, the corresponding FIFO is not used at all. Also, when the ratio of the frequency of input / output of each variable changes depending on the operation mode, etc., not all stages of each FIFO are necessarily used, and as a result, the usage efficiency of the FIFO is reduced. It was to become.

【0006】次に、従来の複数の入力および出力ポート
を有するマルチポート型のメモリの一例として複数アド
レスに対する同時読出可能、すなわち2ワードの同時読
出1ワードの書込2ポートメモリがある。従来の2ポー
トメモリは、図5に示すように、書込データが入力する
入力ポート101と、書込アドレスをデコードするデコ
ーダ102と、読出アドレスをデコードするデコーダ1
03,104と、データを格納するメモリセルアレイ1
05と、出力ポート106,107とを備えて構成され
ていた。
Next, as an example of a conventional multi-port type memory having a plurality of input and output ports, there is a 2-port memory capable of simultaneous reading of a plurality of addresses, that is, 2-word simultaneous reading and 1-word simultaneous reading. As shown in FIG. 5, a conventional two-port memory includes an input port 101 to which write data is input, a decoder 102 for decoding a write address, and a decoder 1 for decoding a read address.
03, 104 and a memory cell array 1 for storing data.
05 and output ports 106 and 107.

【0007】次に、従来の2ポートメモリの動作につい
て説明する。
Next, the operation of the conventional two-port memory will be described.

【0008】書込アドレスAWをデコーダ102に、入
力ポート101から書込データDWをそれぞれ入力す
る。メモリセル105はデコードされた書込アドレスA
Wの指定番地に書込データDWが書込まれる。一方、読
出アドレスAAをデコーダ103によりデコードし、そ
の指定番地のデータをメモリセル105から読出す。こ
の読出データDAは出力ポート106から出力する。こ
のとき、読出アドレスABをデコーダ104によりデコ
ードした番地のデータDBを同時に読出し、出力ポート
107から同時に出力することもできる。
[0008] Write address AW is input to decoder 102, and write data DW is input from input port 101. Memory cell 105 has decoded write address A
Write data DW is written to the designated address of W. On the other hand, read address AA is decoded by decoder 103, and data at the designated address is read from memory cell 105. This read data DA is output from output port 106. At this time, the data DB at the address obtained by decoding the read address AB by the decoder 104 can be simultaneously read and output from the output port 107 at the same time.

【0009】次に、レジスタ群と複数の入力ポートと複
数の出力ポートとを有するマルチポートレジスタファイ
ルがある。従来のマルチポートレジスタファイルは、レ
ジスタ群のアドレスをクロックで保持し、デコーダによ
りデコードした結果に基ずいて入力ポート切替信号と書
込レジスタ選択信号と読出レジスタ選択信号および出力
イネーブル信号を制御する。これにより、複数の入力ポ
ートと出力ポートの書込読出動作を組合せて同時に行な
うことができる。
Next, there is a multiport register file having a register group, a plurality of input ports, and a plurality of output ports. A conventional multi-port register file holds the address of a register group with a clock, and controls an input port switching signal, a write register selection signal, a read register selection signal, and an output enable signal based on a result decoded by a decoder. Thereby, the write and read operations of a plurality of input ports and output ports can be simultaneously performed in combination.

【0010】ただし、これらのマルチポートメモリやマ
ルチポートレジスタファイルをFIFOとして使用する
ためには、データの書込および読出状態やデータの格納
状態を個々のアドレス毎に管理する必要がある。すなわ
ち、複数の変数を扱う場合には、各変数毎に先入順序で
出力するために、各変数毎にアレス空間を割当てるとい
うものであった。
However, in order to use these multi-port memories and multi-port register files as FIFOs, it is necessary to manage data write and read states and data storage states for each individual address. That is, when a plurality of variables are handled, an ares space is allocated to each variable in order to output the variables in a first-in-first-out order.

【0011】システムの動作モード等により、扱う変数
の種類や各変数の入出力の頻度の比率が変化する場合に
は、メモリに使用されない不要領域が発生して使用効率
が低下する。また、データ格納状態を示す状態信号の生
成条件をその都度切替る必要がある等管理が複雑になる
というものであった。
If the types of variables to be handled and the ratio of the frequency of input and output of each variable change depending on the operation mode of the system, unnecessary areas not used in the memory are generated and the use efficiency is reduced. Further, the management becomes complicated, for example, it is necessary to switch the condition for generating the state signal indicating the data storage state each time.

【0012】[0012]

【発明が解決しようとする課題】上述した従来の先入先
出記憶装置は、入力ポートが単一であるため、複数の変
数を扱うためには各変数毎に先入先出記憶装置を設ける
必要があり、システムの動作モードにより各変数の使用
比率が変化する場合には記憶装置の使用効率が低下する
という欠点があった。また、マルチポートメモリやマル
チポートレジスタファイルを用いる先入先出記憶装置で
は、複数の変数を扱うためには各変数毎にアレス空間を
割当てて個々に管理する必要があり、システムの動作モ
ード等により扱う変数の種類や各変数の入出力の頻度の
比率が変化する場合には使用効率が低下するとともに、
データ格納状態を示す状態信号の生成条件をその都度切
替る必要があるので管理が複雑になるという欠点があっ
た。
Since the conventional first-in first-out storage device described above has a single input port, it is necessary to provide a first-in-first-out storage device for each variable in order to handle a plurality of variables. In addition, when the usage ratio of each variable changes depending on the operation mode of the system, there is a disadvantage that the usage efficiency of the storage device is reduced. In a first-in, first-out storage device using a multi-port memory or a multi-port register file, in order to handle a plurality of variables, it is necessary to allocate an Ares space for each variable and individually manage the variables. When the type of variable to be handled or the ratio of the frequency of input / output of each variable changes, the usage efficiency decreases and
Since it is necessary to switch the condition for generating the status signal indicating the data storage status each time, the management becomes complicated.

【0013】[0013]

【課題を解決するための手段】本発明の先入先出記憶装
置は、データ入力用の第一および第二の入力ポートと、
前記第一および第二の入力ポートからそれぞれ入力され
た第一および第二の入力データを格納する記憶部と、前
記第一および第二の入力データの前記記憶部への格納順
序の調停をする入力調停部と、入力制御信号に基き前
記第一および第二の入力データのそれぞれの属性を示し
それぞれ前記第一および第二の入力データに付加する属
性フラグを生成する属性フラグ生成部と、前記記憶部の
データ格納状態を監視する状態監視部と、出力制御信号
に基づき前記属性と一致する前記属性フラグを有するデ
ータ群の中から先入順序でデータを出力する出力選択部
と、新規のデータ入力時に前記記憶部に格納されている
データのシフト量を制御するシフト制御部とを備えて構
成されている。
SUMMARY OF THE INVENTION A first-in first-out storage device of the present invention comprises first and second input ports for data input;
A storage unit for storing first and second input data input from the first and second input ports, respectively, and arbitrating the order of storing the first and second input data in the storage unit; an input arbitration section, the attribute flag generation unit that generates attribute flag to be added to each of the respective shows the attributes first and second input data of the input control signal based on Dzu-out the first and second input data A state monitoring unit that monitors a data storage state of the storage unit, an output selection unit that outputs data in a first-in-first-out order from a data group having the attribute flag that matches the attribute based on an output control signal, A shift control unit for controlling a shift amount of data stored in the storage unit at the time of data input.

【0014】[0014]

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

【0015】図1は本発明の先入先出記憶装置の第一の
実施例を示す回路図である。
FIG. 1 is a circuit diagram showing a first embodiment of a first-in first-out storage device according to the present invention.

【0016】本実施例の先入先出記憶装置は2入力1出
力8ビット×3段であり、図1に示すように、データ入
力用の入力ポート1,2と、入力ポート1,2からの入
力データの記憶部5に対する格納順序の調停をする入力
調停部3と、入力制御信号に基ずき入力データの属性を
示し入力データに付加する属性フラグを生成する属性フ
ラグ生成部4と、入力ポート1,2から入力調停部3を
介して入力されたデータを格納する記憶部5と、出力制
御信号に基ずき属性と合致する属性フラグを有するデー
タ群の中から先入順序でデータを出力する出力選択部6
と、記憶部5のデータ格納状態を監視する状態監視部7
と、新規のデータ入力時に記憶部5に格納されているデ
ータのシフト量を制御するシフト制御部8と、出力ポー
ト9とを備えて構成されている。
The first-in, first-out storage device of this embodiment has two inputs and one output, eight bits × three stages. As shown in FIG. 1, input ports 1 and 2 for data input and input ports 1 and 2 An input arbitration unit 3 for arbitrating the storage order of the input data in the storage unit 5, an attribute flag generation unit 4 for generating an attribute flag indicating an attribute of the input data based on the input control signal and adding the attribute to the input data; A storage unit 5 for storing data input from the ports 1 and 2 via the input arbitration unit 3 and data in a first-in-first-out order from a data group having an attribute flag matching the attribute based on the output control signal Output selector 6
And a state monitoring unit 7 for monitoring the data storage state of the storage unit 5
And a shift control unit 8 for controlling a shift amount of data stored in the storage unit 5 when new data is input, and an output port 9.

【0017】入力調停部3は入力ポート1,2からの入
力データを切替えるマルチプレクサM31を備えてい
る。属性フラグ生成部4は入力制御信号WEA,WEB
により、フラグデータ’0’〜’3’のうちの1つを選
択して属性フラグFGを出力するマルチプレクサM41
を備えている。記憶部5はデータ保持用のフリップフロ
ップF51〜F53および属性フラグ保持用のフリップ
フロップF54〜F56と、排他的論理和回路E51
と、AND回路A51〜A54と、インバータI51と
を備えている。出力選択部6は、フリップフロップF6
1と、マルチプレクサM61,M62と、AND回路A
61〜A63と、OR回路O61〜O63と、排他的論
理和回路E61〜E63と、インバータI61,I62
とを備えている。状態監視部7は、AND回路A71
と、排他的論理和回路E71と、NAND回路N71と
を備えている。シフト制御部8は、AND回路A81〜
A83と、OR回路O81,O82と、排他的論理和回
路E81〜E83とを備えている。
The input arbitration unit 3 includes a multiplexer M31 for switching input data from the input ports 1 and 2. The attribute flag generator 4 receives the input control signals WEA, WEB
Multiplexer M41 that selects one of flag data '0' to '3' and outputs attribute flag FG
It has. The storage unit 5 includes flip-flops F51 to F53 for holding data, flip-flops F54 to F56 for holding attribute flags, and an exclusive OR circuit E51.
, AND circuits A51 to A54, and an inverter I51. The output selection unit 6 includes a flip-flop F6
1, multiplexers M61 and M62, and AND circuit A
61 to A63, OR circuits O61 to O63, exclusive OR circuits E61 to E63, and inverters I61 and I62.
And The state monitoring unit 7 includes an AND circuit A71
And an exclusive OR circuit E71 and a NAND circuit N71. The shift control unit 8 includes AND circuits A81 to A81.
A83, OR circuits O81 and O82, and exclusive OR circuits E81 to E83.

【0018】次に、本実施例の動作について説明する。Next, the operation of this embodiment will be described.

【0019】まず、入力ポート1,2にそれぞれ入力さ
れたデータIDA,IDBは、入力調停部3のマルチプ
レクサM31に入力される。マルチプレクサM31は、
入力制御信号WEA,WEBを選択信号としてデータI
DA,IDBのいずれを記憶部5に出力するかの調停を
行なう。同時に、属性フラグ生成部4のマルチプレクサ
41は、入力制御信号WEA,WEBの組合せに対応し
た属性フラグFGXを出力する。
First, the data IDA and IDB input to the input ports 1 and 2, respectively, are input to the multiplexer M31 of the input arbitration unit 3. The multiplexer M31 is
Input control signals WEA and WEB are used as selection signals for data I
Arbitration is performed to determine which of DA and IDB is output to the storage unit 5. At the same time, the multiplexer 41 of the attribute flag generator 4 outputs an attribute flag FGX corresponding to the combination of the input control signals WEA, WEB.

【0020】次に、記憶部5では、入力調停部3にて調
停済の入力データDAと属性フラグ生成部4からの属性
フラグFGとを対にしてフリップフロップF51および
F54に格納する。
Next, in the storage unit 5, the input data DA arbitrated by the input arbitration unit 3 and the attribute flag FG from the attribute flag generation unit 4 are paired and stored in the flip-flops F51 and F54.

【0021】次に、データ出力時には、出力選択部6の
マルチプレクサM62にて、出力制御信号RDA,RD
Bの組合せに対応した属性フラグFGYを出力する。こ
の属性フラグFGYと、記憶部5のフリップフロップF
54〜F56にそれぞれ格納されている属性フラグFG
1〜FG3とをそれぞれ排他的論理和回路E61〜E6
3により比較する。この比較結果、一致する属性フラグ
があれば、最終段のフリップフロップF56に近いフリ
ップフロップから優先的に出力され、マルチプレクサM
62を介してクロックCLKの″H″レベルの間に出力
ポート9から出力される。
Next, at the time of data output, the output control signals RDA and RD are output by the multiplexer M62 of the output selector 6.
An attribute flag FGY corresponding to the combination of B is output. The attribute flag FGY and the flip-flop F
Attribute flag FG stored in each of 54 to F56
1 to FG3 and exclusive OR circuits E61 to E6, respectively.
Compare by 3. As a result of this comparison, if there is a matching attribute flag, the flip-flop near the last-stage flip-flop F56 is preferentially output, and the multiplexer M
The signal is output from the output port 9 during the “H” level of the clock CLK via 62.

【0022】出力されたデータが格納されていたフリッ
プフロップの属性フラグは、クロックCLKが″L″レ
ベルのときに’0’にリセットされる。
The attribute flag of the flip-flop storing the output data is reset to "0" when the clock CLK is at "L" level.

【0023】新規のデータが入力されたとき、シフト制
御部8は、記憶部5の属性フラグ保持用のフリップフロ
ップF54〜F56にそれぞれ格納されている属性フラ
グFG1〜FG3の中で’0’にリセットされているも
のを探し、入力調停部3に最も近いフリップフロップ、
およびそれより前段のデータ保持用のフリップフロップ
と属性フラグ保持用のフリップフロップの全てに対して
書込クロックCKWを与え、保持データを更新する。こ
れによって、特定の属性のデータのみ途中から抽出して
その後を新規のデータにより充填することが可能とな
る。
When new data is input, the shift control unit 8 sets the value of the attribute flags FG1 to FG3 stored in the flip-flops F54 to F56 of the storage unit 5 to "0". Look for the reset, flip-flop closest to input arbitration unit 3,
The write clock CKW is applied to all of the data holding flip-flops and the attribute flag holding flip-flops preceding the same, and the held data is updated. As a result, it is possible to extract only data having a specific attribute from the middle, and to fill the rest with new data.

【0024】状態監視部7では、記憶部5の属性フラグ
保持用のフリップフロップF54〜F56が全て’0’
にリセットされている場合には、読出すべきデータが空
であるとして状態信号EMPを″H″レベルとする。ま
た、フリップフロップF54〜F56の全てに属性フラ
グが保持されている場合には、これ以上書込める余裕が
無いとして状態信号FULを″H″レベルとする。ま
た、あり得ない属性’3’を検出した場合には、状態信
号ERRを″H″レベルとする。
In the state monitoring unit 7, all of the flip-flops F54 to F56 for retaining attribute flags in the storage unit 5 are set to "0".
, The data to be read is empty, and the state signal EMP is set to the "H" level. When the attribute flags are held in all of the flip-flops F54 to F56, the state signal FUL is set to the “H” level because there is no more room for writing. When an impossible attribute “3” is detected, the state signal ERR is set to “H” level.

【0025】図2は、図1で示す本実施例の回路のタイ
ムチャ―トである。
FIG. 2 is a time chart of the circuit of this embodiment shown in FIG.

【0026】入力ポート1,2からの入力データID
A,IDBは、入力制御信号WEA,あるいはWEB
が″H″レベルであり、クロックCKの立上りで属性フ
ラグFGXと対にして記憶部5に格納される。
Input data ID from input ports 1 and 2
A and IDB are input control signals WEA or WEB
Are at the “H” level, and are stored in the storage unit 5 in pairs with the attribute flag FGX at the rising edge of the clock CK.

【0027】出力制御信号RDA,RDBが″H″レベ
ルであり、かつクロックCKが″H″レベルの間保持さ
れている属性フラグが、属性フラグFGYと一致するデ
ータの先頭データODを抽出し、出力ポート9から出力
する。
When the attribute flags held while the output control signals RDA and RDB are at the "H" level and the clock CK is at the "H" level extract the leading data OD of the data that matches the attribute flag FGY, Output from the output port 9.

【0028】次に、本発明の第二の実施例について説明
する。
Next, a second embodiment of the present invention will be described.

【0029】図3は、本発明の先入先出記憶装置の第二
の実施例を示す回路図である。
FIG. 3 is a circuit diagram showing a second embodiment of a first-in first-out storage device according to the present invention.

【0030】本実施例も2入力1出力8ビット×3段の
先入先出記憶装置であり、前述の第一の実施例に対する
本実施例の相違点は、クロックCLKから4相のクロッ
クS1,S2,S3,S4を生成するタイミング制御部
10が付加されたことである。
This embodiment is also a two-input, one-output 8-bit × 3 stage FIFO memory. The difference between this embodiment and the first embodiment is that the four-phase clocks S1 and S1 are different from the clock CLK. That is, a timing control unit 10 for generating S2, S3, and S4 is added.

【0031】クロックS1により、入力制御信号WE
A,WEB、および出力制御信号RFGを保持する。ク
ロックS2により、入力ポート1からの入力データID
Aのデータ書込を行なう。クロックS3により、入力ポ
ート2からの入力データIDBのデータ書込を行なう。
クロックS4により、出力ポート9からの出力データO
Dの読出と、読出したデータが格納されていた記憶部5
の属性フラグ保持用のフリップフロップF54〜F56
の’0’リセットを同時に行なう。
The input control signal WE is generated by the clock S1.
A, WEB, and an output control signal RFG. Input data ID from input port 1 by clock S2
A data writing is performed. The data of the input data IDB from the input port 2 is written by the clock S3.
The output data O from the output port 9 is generated by the clock S4.
D and the storage unit 5 storing the read data.
Flip-flops F54 to F56 for retaining attribute flags of
Is reset at the same time.

【0032】これにより、本実施例では2つの入力ポー
トから同時に書込を行なうことが可能になるという利点
がある。
Thus, this embodiment has an advantage that writing can be performed simultaneously from two input ports.

【0033】[0033]

【発明の効果】以上説明したように、本発明の先入先出
記憶装置は、入力データに付加する属性フラグを生成す
る属性フラグ生成部と、入力データに付加した属性フラ
グと合致する属性フラグを有するデータ群の中から先入
順序でデータを出力する出力選択部と、新規のデータ入
力時に記憶部に格納されているデータのシフト量を制御
するシフト制御部とを備えることにより、記憶部内に複
数の種類の変数のデータが混在していても、そのなかか
ら特定の属性のデータを抽出し、その抽出後を新規の入
力データで充填することが可能であるので、システムの
動作モード等により扱う変数の種類や各変数の入出力の
頻度の比率が変化しても使用効率が低下することがな
く、また、データの格納状態を示す状態信号の生成条件
をその都度切替る必要はないので管理が容易となるとい
う効果がある。
As described above, the first-in first-out storage device of the present invention includes an attribute flag generation unit for generating an attribute flag added to input data, and an attribute flag matching the attribute flag added to the input data. By providing an output selection unit that outputs data in a first-in-first-out order from a data group that has the same, and a shift control unit that controls the amount of shift of data stored in the storage unit when new data is input, Data of a specific attribute can be extracted from the data, and the data after the extraction can be filled with new input data. Even if the type of variable or the ratio of the frequency of input / output of each variable changes, the usage efficiency does not decrease, and the generation condition of the status signal indicating the data storage status must be switched each time. There is an effect that it is easy to manage because it is not.

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

【図1】本発明の先入先出記憶装置の第一の実施例を示
すブロック図である。
FIG. 1 is a block diagram showing a first embodiment of a first-in first-out storage device of the present invention.

【図2】本実施例の先入先出記憶装置における動作の一
例を示すタイムチャートである。
FIG. 2 is a time chart illustrating an example of an operation in the first-in first-out storage device of the present embodiment.

【図3】本発明の先入先出記憶装置の第二の実施例を示
すブロック図である。
FIG. 3 is a block diagram showing a second embodiment of a first-in first-out storage device according to the present invention;

【図4】従来の先入先出記憶装置の第一の例を示すブロ
ック図である。
FIG. 4 is a block diagram showing a first example of a conventional first-in first-out storage device.

【図5】従来の先入先出記憶装置の第二の例を示すブロ
ック図である。
FIG. 5 is a block diagram showing a second example of a conventional first-in first-out storage device.

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

1,2,101 入力ポート 3 入力調停部 4 属性フラグ生成部 5,5B 記憶部 6 出力選択部 7,7B 状態監視部 8,8B シフト制御部 9,106,107 出力ポート 10 タイミング制御部 102〜103 デコーダ 105 メモリセルアレイ A51〜A54,A61〜A63,A71,A81〜A
83 AND回路 E51,E61〜E63,E71,E81〜E83
排他的論理和回路 F51〜F56,F61 フリップフロップ I51,I61,I62 インバータ M31,M41,M61,M62 マルチプレクサ N71 NAND回路 O61〜O63,O81,O82 OR回路
1, 2, 101 input port 3 input arbitration unit 4 attribute flag generation unit 5, 5B storage unit 6 output selection unit 7, 7B status monitoring unit 8, 8B shift control unit 9, 106, 107 output port 10 timing control unit 102 to 103 decoder 105 memory cell array A51-A54, A61-A63, A71, A81-A
83 AND circuit E51, E61 to E63, E71, E81 to E83
Exclusive OR circuit F51-F56, F61 Flip-flop I51, I61, I62 Inverter M31, M41, M61, M62 Multiplexer N71 NAND circuit O61-O63, O81, O82 OR circuit

Claims (3)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 データ入力用の第一および第二の入力ポ
ートと、 前記第一および第二の入力ポートからそれぞれ入力され
た第一および第二の入力データを格納する記憶部と、 前記第一および第二の入力データの前記記憶部への格納
順序の調停をする入力調停部と、 入力制御信号に基き前記第一および第二の入力データ
のそれぞれの属性を示しそれぞれ前記第一および第二の
入力データに付加する属性フラグを生成する属性フラグ
生成部と、 前記記憶部のデータ格納状態を監視する状態監視部と、 出力制御信号に基ずき前記属性と一致する前記属性フラ
グを有するデータ群の中から先入順序でデータを出力す
る出力選択部と、 新規のデータ入力時に前記記憶部に格納されているデー
タのシフト量を制御するシフト制御部とを備えることを
特徴とする先入先出記憶装置。
A first and second input ports for inputting data; a storage unit for storing first and second input data input from the first and second input ports, respectively; first and an input arbitration section for the second arbitration storage order to the storage unit of the input data, each represent respective attributes of the-out group Dzu to the input control signal first and second input data said first And an attribute flag generation unit for generating an attribute flag to be added to the second input data; a state monitoring unit for monitoring a data storage state of the storage unit; and the attribute flag matching the attribute based on an output control signal. An output selection unit that outputs data in a first-in-first-out order from a data group having the following, and a shift control unit that controls a shift amount of data stored in the storage unit when new data is input. First-in, first-out storage device.
【請求項2】 前記入力制御信号および前記出力制御信
保持を制御する第一のクロックと、前記第一および
第二の入力データの書込をそれぞれ制御する第二および
第三のクロックと、前記記憶部に格納されているデータ
の読出および出力を制御する第四のクロックとからなる
4相のクロック群を生成するタイミング制御部を備える
ことを特徴とする請求項1記載の先入先出記憶装置。
2. A first clock for controlling holding of the input control signal and the output control signal , and second and third clocks for controlling writing of the first and second input data, respectively. 2. The first-in, first-out storage according to claim 1, further comprising a timing control unit that generates a four-phase clock group including a fourth clock that controls reading and outputting of data stored in the storage unit. apparatus.
【請求項3】 前記状態監視部が、前記記憶部のデータ
格納状態を前記属性フラグの格納状態により監視するこ
とを特徴とする請求項1記載の先入先出記憶装置。
3. The first-in, first-out storage device according to claim 1 , wherein the status monitoring unit monitors a data storage status of the storage unit based on a storage status of the attribute flag.
JP03315941A 1991-11-29 1991-11-29 First-in first-out storage device Expired - Fee Related JP3114298B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP03315941A JP3114298B2 (en) 1991-11-29 1991-11-29 First-in first-out storage device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP03315941A JP3114298B2 (en) 1991-11-29 1991-11-29 First-in first-out storage device

Publications (2)

Publication Number Publication Date
JPH05210967A JPH05210967A (en) 1993-08-20
JP3114298B2 true JP3114298B2 (en) 2000-12-04

Family

ID=18071447

Family Applications (1)

Application Number Title Priority Date Filing Date
JP03315941A Expired - Fee Related JP3114298B2 (en) 1991-11-29 1991-11-29 First-in first-out storage device

Country Status (1)

Country Link
JP (1) JP3114298B2 (en)

Also Published As

Publication number Publication date
JPH05210967A (en) 1993-08-20

Similar Documents

Publication Publication Date Title
US4809161A (en) Data storage device
US4486854A (en) First-in, first-out memory system
US20060020742A1 (en) Status bus accessing only available quadrants during loop mode operation in a multi-queue first-in first-out memory system
US4945518A (en) Line memory for speed conversion
US7257687B2 (en) Synchronization of active flag and status bus flags in a multi-queue first-in first-out memory system
JPS61148692A (en) Memory device
JPH04301290A (en) Pushup memory circuit
JPH0391188A (en) Fifo memory
US5781802A (en) First-in-first-out (FIFO) controller for buffering data between systems which are asynchronous and free of false flags and internal metastability
KR100498233B1 (en) First-in first-out memory circuit and method for executing the same
JP3114298B2 (en) First-in first-out storage device
US6678783B2 (en) Inter-device coupler
KR100343831B1 (en) Semiconductor memory
US6718429B1 (en) Configurable register file with multi-range shift register support
JPH04279945A (en) Memory circuit
US5404564A (en) High speed data train generating system with no restriction on length of generated data train
JPS5927624A (en) Integrated circuit possible for logical change
JPS6073730A (en) Buffer controller
JPS6243215A (en) Synchronization detecting circuit containing majority deciding function
JPH01269150A (en) Buffering device
SU966856A1 (en) Trigger device
JP2871688B2 (en) Digital signal multiplexing and demultiplexing circuits
KR0179903B1 (en) First in first out memory
JP2005504464A (en) Digital line delay using single port memory
KR20020011046A (en) Switching Device for cell of common bus type

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: 20000829

LAPS Cancellation because of no payment of annual fees