JPH0219921A - First-in/first-out memory - Google Patents

First-in/first-out memory

Info

Publication number
JPH0219921A
JPH0219921A JP63168777A JP16877788A JPH0219921A JP H0219921 A JPH0219921 A JP H0219921A JP 63168777 A JP63168777 A JP 63168777A JP 16877788 A JP16877788 A JP 16877788A JP H0219921 A JPH0219921 A JP H0219921A
Authority
JP
Japan
Prior art keywords
data
parity
signal
check
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.)
Pending
Application number
JP63168777A
Other languages
Japanese (ja)
Inventor
Yasuhiko Shima
嶋 靖彦
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 JP63168777A priority Critical patent/JPH0219921A/en
Publication of JPH0219921A publication Critical patent/JPH0219921A/en
Pending legal-status Critical Current

Links

Landscapes

  • Techniques For Improving Reliability Of Storages (AREA)

Abstract

PURPOSE:To confirm the normal state of a memory array by writing the check data added with a parity bit into a memory and reading out the data to perform the parity check. CONSTITUTION:The check data outputted from a check data production circuit 9 is inputted to a parity generator 11 from a selector 10 and written into the address of a memory array 6 designated by a write address pointer 5 after receiving a parity bit. Then the data is read out of the array 6 based on the designation of an address done by a read address pointer 7 and then inputted to a parity checker 12. The checker 12 performs the parity check of the data and outputs a parity check signal 110 showing the result the parity check. A write/read control circuit 13 checks the signal 110 and outputs a parity error signal 109 when a parity error is detected. As a result, the normal state of the memory array can be checked even in a data memory state.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、ファースト・イン・ファースト・アウト・メ
モリ(以下、FIFOメモリと略称する)に関するもの
である。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a first-in first-out memory (hereinafter abbreviated as FIFO memory).

〔従来の技術〕[Conventional technology]

従来のFIFOメモリについて、第2図を用いて説明す
る。
A conventional FIFO memory will be explained using FIG. 2.

書込信号102が書込制御回路21に入力されると、書
込制御回路21はデータランチ信号を発生し、入力バッ
ファ22に出力する。これにより入力バッファ22はそ
のとき入力されている書込データ101をラッチし、ラ
ッチした書込データをメモリアレイ26に出力する。書
込制御回路21はまた書込アドレスカウントアツプの指
示信号を書込アドレスボインタ25に出力する。これに
より書込アドレスポインタ25は書込アドレスをカウン
トアツプし、新たな書込アドレス情報と共に書込信号を
メモリアレイ26に与える。その結果、メモリアレイ2
6はポインタ25が指定するアドレスにバッファ22か
らのデータを書き込む。
When the write signal 102 is input to the write control circuit 21, the write control circuit 21 generates a data launch signal and outputs it to the input buffer 22. As a result, the input buffer 22 latches the write data 101 that is being input at that time, and outputs the latched write data to the memory array 26. The write control circuit 21 also outputs a write address count-up instruction signal to the write address pointer 25. As a result, the write address pointer 25 counts up the write address and provides a write signal together with new write address information to the memory array 26. As a result, memory array 2
6 writes data from the buffer 22 to the address specified by the pointer 25.

一方、読出信号106が読出制御回路24に入力される
と、制御回路24は続出アドレスカウントアツプの指示
信号を続出アドレスポインタ27に出力する。これによ
り続出アドレスポインタ27は続出アドレスをカウント
アツプし、新たな続出アドレス情報と共に続出信号をメ
モリアレイ26に与える。
On the other hand, when the read signal 106 is input to the read control circuit 24, the control circuit 24 outputs a successive address count up instruction signal to the successive address pointer 27. As a result, the successive address pointer 27 counts up the successive address, and provides the new successive address information and a successive signal to the memory array 26.

その結果、メモリアレイ26はポインタ27が指定する
データを読み出して出力バッファ23に出力する。
As a result, the memory array 26 reads out the data specified by the pointer 27 and outputs it to the output buffer 23.

制御回路24はまたデータランチ信号を発生し、出力バ
ッファ23に出力する。これによりメモリアレイ26か
らのデータは出力バッファ23にラッチされ、その後続
出データ105として出力される。
Control circuit 24 also generates a data launch signal and outputs it to output buffer 23. As a result, data from the memory array 26 is latched into the output buffer 23 and then output as subsequent data 105.

フラグ制御回路28は制御回路21.24が出力するデ
ータラッチ信号をそれぞれカウントしており、メモリア
レイ26に書き込まれたデータの数と、メモリアレイ2
6から読み出されたデータの数を常時比較し、メモリア
レイ26がデータで満杯となっているか、あるいはメモ
リアレイ26にデータが全く格納されていないか(デー
タエンプティ状態)を監視する。そしてデータ満杯のと
きはデータ満杯フラグ104を出力し、データエンプテ
ィのときはエンプティフラグ107を出力する。
The flag control circuit 28 counts the data latch signals output from the control circuits 21 and 24, and counts the number of data written in the memory array 26 and the memory array 2.
The number of data read from 6 is constantly compared to monitor whether the memory array 26 is full of data or whether no data is stored in the memory array 26 (data empty state). When the data is full, a data full flag 104 is output, and when the data is empty, an empty flag 107 is output.

なお、リセット信号103が入力されたときは、ポイン
タ25.27はリセットされ、それぞれ初期アドレスを
出力する。
Note that when the reset signal 103 is input, the pointers 25 and 27 are reset, and each outputs an initial address.

このような従来のFIFOメそりで、その正常性を確認
する場合には、例えばパリティビットが付加された書込
データがメモリアレイ26に格納されており、そしてそ
れらがメモリアレイ26から読み出されたときそのデー
タ、すなわち続出データ105のパリティチェックを行
っていた。
When checking the normality of such a conventional FIFO memory, for example, write data with a parity bit added is stored in the memory array 26, and then read from the memory array 26. At that time, a parity check was being performed on that data, that is, the successive data 105.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

従って従来のFIFOメそりでは、メモリアレイの正常
性の確認は、例えばパリティビットが付加された書込デ
ータがメモリアレイ26に格納されており、それらがメ
モリアレイ26から読み出されたときにのみ可能であり
、データエンプティ時には正常性のチエツクを行うこと
は不可能であった。
Therefore, in the conventional FIFO memory, the normality of the memory array can be confirmed only when, for example, write data with a parity bit added is stored in the memory array 26 and is read from the memory array 26. However, it was impossible to check the normality when the data was empty.

本発明の目的は、このような欠点を除去し、データエン
プティ時でもメモリアレイの正常性をチエツクできるF
IFOメモリを提供することにある。
The purpose of the present invention is to eliminate such drawbacks and to provide an F that can check the health of the memory array even when data is empty.
The purpose is to provide IFO memory.

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

本発明のFIFOメモリは、チェックデータを発生する
データ作成回路と、 所定の制御信号にもとづいて前記データ作成回路が発生
する前記チェックデータまたはメモリへの書込データの
いずれかを選択して出力するセレクタと、 このセレクタが出力するデータにパリティビットを付加
して前記メモリに出力するパリティジェネレータと、 前記メモリから読み出されたデータに対してパリティチ
ェックを行うパリティチェッカと、前記メモリにデータ
が格納されていないとき所定のフラグ信号を出力するフ
ラグ制御回路と、このフラグ制御回路が前記フラグ信号
を出力したとき、前記制御信号を出力して前記セレクタ
に前記チェックデータを選択させ、また前記パリティジ
ェネレータが出力するデータの書き込みおよびデータの
読み出しを前記メモリに指示する制御回路とを備えたこ
とを特徴とする。
The FIFO memory of the present invention includes a data creation circuit that generates check data, and a data creation circuit that selects and outputs either the check data generated by the data creation circuit or data to be written to the memory based on a predetermined control signal. a selector; a parity generator that adds a parity bit to the data output by the selector and outputs it to the memory; a parity checker that performs a parity check on the data read from the memory; and a parity checker that performs a parity check on the data read from the memory; a flag control circuit that outputs a predetermined flag signal when the check data is not selected; and a flag control circuit that outputs the control signal to cause the selector to select the check data when the flag control circuit outputs the flag signal; and a control circuit that instructs the memory to write data output from the memory and read data output from the memory.

〔実施例〕〔Example〕

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

第1図は本発明によるFIFOメモリの一実施例を示す
ブロック図である。書込制御回路1は、書込信号102
が入力されたとき、データラッチ信号を入力バッファ2
とフラグ制御回路8に、書込アドレスカウントアツプの
指示信号を書込アドレスポインタ5に、書込通知信号を
書込・続出制御回路13にそれぞれ出力する。
FIG. 1 is a block diagram showing one embodiment of a FIFO memory according to the present invention. The write control circuit 1 receives a write signal 102
is input, the data latch signal is input to buffer 2.
and a write address count-up instruction signal to the write address pointer 5, and a write notification signal to the write/continuation control circuit 13, respectively.

書込・続出制御回路13は、上記書込通知信号を受は取
ったときは、セレクタ10に制御信号を出力して入カバ
ソファ2からのデータを選択させる。
When the write/continuation control circuit 13 receives the write notification signal, it outputs a control signal to the selector 10 to select data from the input cover sofa 2.

入力バッファ2は上記データランチ信号が入力されると
書込データ101をラッチし、セレクタ10に出力する
。セレクタ10は制御回路13からの制御信号にもとづ
いて動作し、大力バッファ2またはチェックデータ作成
回路aからのデータを選択してパリティジェネレータ1
1に出力する。パリティジェネレータ11はセレクタ1
0からのデータにパリティビットを付加し、メモリアレ
イ6に出力する。
When input buffer 2 receives the data launch signal, it latches write data 101 and outputs it to selector 10 . The selector 10 operates based on a control signal from the control circuit 13, selects data from the large power buffer 2 or the check data generation circuit a, and selects the data from the large power buffer 2 or the check data generation circuit a to be sent to the parity generator 1.
Output to 1. Parity generator 11 is selector 1
A parity bit is added to the data starting from 0 and output to the memory array 6.

書込アドレスポインタ5は、上記指示信号が入力された
とき書込アドレスをカウントアツプさせ、新たな書込ア
ドレス情報と共に書込信号をメモリアレイ6に与える。
The write address pointer 5 counts up the write address when the instruction signal is input, and provides a write signal to the memory array 6 together with new write address information.

また、リセット信号103が入力されたときはメモリア
レイ6に与えるアドレスをリセットし、初期アドレスに
設定する。
Further, when the reset signal 103 is input, the address given to the memory array 6 is reset and set to the initial address.

続出制御回路4は、読出信号106が入力されたとき、
データラッチ信号を出力バッファ3とフラグ制御回路8
に、続出アドレスカウントアツプの指示信号を続出アド
レスポインタ7にそれぞれ出力する。
When the read signal 106 is input to the successive output control circuit 4,
Data latch signal output buffer 3 and flag control circuit 8
Then, a successive address count-up instruction signal is output to the successive address pointer 7, respectively.

続出アドレスポインタ7は続出アドレスカウントアツプ
の指示信号を受は取ると続出アドレスをカウントアツプ
させ、新たな続出アドレス情報と共に続出信号をメモリ
アレイ6に与える。また、リセット信号103が入力さ
れたときはメモリアレイ6に与えるアドレスをリセット
し、初期アドレスに設定する。パリティチェッカ12は
メモリアレイ6から読み出されたデータのパリティチェ
ックを行い、その結果を表すパリティチェック信号11
0を制御回路13に出力する。出力バッファ3はデータ
ラッチ信号が入力されたときパリティチエ7カ12から
のデータをラッチし、続出データ105として出力する
When the successive address pointer 7 receives a successive address count-up instruction signal, it counts up the successive address and supplies the successive address signal to the memory array 6 together with new successive address information. Further, when the reset signal 103 is input, the address given to the memory array 6 is reset and set to the initial address. The parity checker 12 performs a parity check on the data read from the memory array 6, and a parity check signal 11 representing the result.
0 is output to the control circuit 13. When the data latch signal is input, the output buffer 3 latches the data from the parity checker 7 and 12 and outputs it as successive data 105.

フラグ制御回路8は制御回路1.4が出力するデータラ
ッチ信号をそれぞれカウントし、メモリアレイ6に書き
込まれたデータの数と、メモリアレイ6から読み出され
たデータの数を常時比較し、メモリアレイ6がデータで
満杯となっているか、あるいはメモリアレイ6にデータ
が全く格納されていないか(データエンプティ状態)を
監視する。
Flag control circuit 8 counts each data latch signal output by control circuit 1.4, constantly compares the number of data written to memory array 6 and the number of data read from memory array 6, and It is monitored whether the array 6 is full of data or whether no data is stored in the memory array 6 (data empty state).

そしてデータ満杯のときはデータ満杯フラグ104を出
力し、データエンプティのときはエンプティフラグ10
7を出力する。例えば、まだ空きがあるならデータ満杯
フラグ104を論理“0”とし、満杯なら論理“1”と
する。また、データが格納されている場合にはエンプテ
ィフラグ107を論理“0”とし、エンプティ状態なら
論理“l”とする。このようなフラグ信号を出力するこ
とにより満杯のときは次の書込を禁止し、またエンプテ
ィ状態で読出信号106が入力したときはデータが存在
しないことを表示する。
When the data is full, the data full flag 104 is output, and when the data is empty, the empty flag 10 is output.
Outputs 7. For example, if there is still space, the data full flag 104 is set to logic "0", and if it is full, it is set to logic "1". Furthermore, if data is stored, the empty flag 107 is set to logic "0", and if it is in an empty state, it is set to logic "1". By outputting such a flag signal, the next write is prohibited when the memory is full, and when the read signal 106 is input in the empty state, it is indicated that no data exists.

書込・続出制御回路13は、フラグ制御回路8がエンプ
ティフラグ107を出力したとき、クロック信号108
をカウントして所定の時間が経過すると、チェックデー
タの書き込みおよび読み出しを行うため、チェックデー
タ作成回路9にチェックデータの作成を指示し、セレク
タ10には制御信号を出力してチェックデータ作成回路
9からのデータを選択させる。制御回路13はまた書込
アドレスポインタ5に書込アドレスのカウントアンプを
指示し、新たな書込アドレスと共に書込信号をメモリア
レイ6に出力させる。制御回路13は引き続いて続出ア
ドレスポインタ7に対してアドレスのカウントアツプを
指示し、新たな続出アドレスと共に続出信号をメモリア
レイ6に出力させる。さらに制御回路13はパリティチ
ェッカ12からのパリティチェック信号110を調べ、
パリティエラーがある場合にはパリティエラー信号10
9を出力する。制御回路13はこの動作を制御回路1か
ら書込通知信号が入力されるまで繰り返す。
The write/continuation control circuit 13 outputs a clock signal 108 when the flag control circuit 8 outputs the empty flag 107.
When a predetermined time has elapsed, the check data creation circuit 9 is instructed to create check data in order to write and read check data, and a control signal is output to the selector 10 to cause the check data creation circuit 9 to write and read the check data. Select data from. The control circuit 13 also instructs the write address pointer 5 to count the write address and causes the write signal to be output to the memory array 6 together with the new write address. Control circuit 13 subsequently instructs successive address pointer 7 to count up the address, and outputs a successive signal to memory array 6 together with a new successive address. Furthermore, the control circuit 13 examines the parity check signal 110 from the parity checker 12,
Parity error signal 10 if there is a parity error
Outputs 9. The control circuit 13 repeats this operation until the write notification signal is input from the control circuit 1.

次に書込動作について説明する。書込制御回路lは、書
込信号102が入力されると、書込通知信号を書込・続
出制御回路13に出力する。これにより書込・続出制御
回路13はセレクタ10に制御信号を出力して大力バッ
ファ2からのデータを選択させる。書込制御面路1はま
た書込信号102が入力されたとき入力バッファ2にデ
ータラッチ信号を出力し、このとき入力されている書込
データ101をラッチさせる。このラッチされた書込デ
ータはパリティジェネレータ11に入力され、そこでパ
リティビットが付加された後、メモリアレイ6に出力さ
れる。
Next, the write operation will be explained. When the write signal 102 is input, the write control circuit l outputs a write notification signal to the write/continuation control circuit 13. As a result, the write/continuation control circuit 13 outputs a control signal to the selector 10 to select data from the high-power buffer 2. The write control plane 1 also outputs a data latch signal to the input buffer 2 when the write signal 102 is input, causing the write data 101 input at this time to be latched. This latched write data is input to the parity generator 11, where a parity bit is added, and then output to the memory array 6.

書込制御回路1はまた書込信号102が入力されたとき
、書込アドレスのカウントアツプの指示信号を書込アド
レスポインタ5に出力する。これにより書込アドレスポ
インタ5は書込アドレスをカウントアツプさせ、新たな
書込アドレス情報と共に書込信号をメモリアレイ6に与
える。その結果、ポインタ5が指定するメモリアレイ6
のアドレスにパリティジェネレータ11からのデータが
書き込まれる。
The write control circuit 1 also outputs a write address count-up instruction signal to the write address pointer 5 when the write signal 102 is input. As a result, the write address pointer 5 counts up the write address and provides a write signal to the memory array 6 along with new write address information. As a result, memory array 6 specified by pointer 5
Data from the parity generator 11 is written to the address.

次に読出動作について説明する。続出信号106が入力
されると、続出制御回路4は続出アドレスカウントアツ
プの指示信号を続出アドレスポインタ7に出力する。続
出アドレスポインタ7はこれにより続出アドレスをカウ
ントアツプさせ、新たな続出アドレス情報と共に続出信
号をメモリアレイ6に与える。メモリアレイ6は与えら
れたアドレスのデータを読み出し、パリティチエ7カ1
2に出力する。パリティチェッカ12はメモリアレイ6
から読み出されたデータのパリティチェックを行い、そ
の結果を表すパリティチェック信号110を出力する。
Next, the read operation will be explained. When the continuation signal 106 is input, the continuation control circuit 4 outputs a continuation address count up instruction signal to the continuation address pointer 7. The successive address pointer 7 thereby counts up the successive address and supplies a successive signal to the memory array 6 together with new successive address information. The memory array 6 reads the data at the given address, and the parity
Output to 2. Parity checker 12 is memory array 6
A parity check is performed on the data read from the , and a parity check signal 110 representing the result is output.

制御回路13はこの信号をチエ’7りし、エラーがある
場合にはパリティエラー信号109を出力する。
The control circuit 13 checks this signal and outputs a parity error signal 109 if there is an error.

また、出カバソファ3にはこのときデータラッチ信号が
制御回路4から入力されるのでパリティチェッカ12か
らのデータをラッチし、続出データ105として出力す
る。
Also, since a data latch signal is input from the control circuit 4 to the output cover sofa 3 at this time, the data from the parity checker 12 is latched and outputted as successive data 105.

次にフラグ制御に関する動作について説明する。Next, operations related to flag control will be explained.

フラグ制御回路8は、上述した書き込みあるいは読み出
し動作の間、制御回路1,4が出力するデータラッチ信
号をそれぞれカウントすることにより、メモリアレイ6
に書き込まれたデータの数と、メモリアレイ6から読み
出されたデータの数を常時比較し、メモリアレイ6がデ
ータで満杯となっているか、あるいはメモリアレイ6が
エンプティ状態かを監視している。そしてデータ満杯の
ときは論理“1”のデータ満杯フラグ104を出力し、
データエンプティのときは論理“1”のエンプティフラ
グ107を出力する。
The flag control circuit 8 controls the memory array 6 by counting the data latch signals output by the control circuits 1 and 4 during the write or read operation described above.
The number of data written to the memory array 6 is constantly compared with the number of data read from the memory array 6 to monitor whether the memory array 6 is full of data or empty. . When the data is full, a data full flag 104 of logic "1" is output,
When the data is empty, an empty flag 107 of logic "1" is output.

次にエンプティ状態のときの正常性のチエツク動作につ
いて説明する。書込・続出制御回路13は、フラグ制御
回路8が論理“1”のエンプティフラグ107を出力し
たとき、クロック信号108をカウントして所定の時間
が経過すると、エンプティ状態が継続していると判断す
る。そして、チェックデータの書き込みおよび読み出し
を行うため、チェックデータ作成回路9にチェックデー
タの作成を指示し、セレクタ10には制御信号を出力し
てチェックデータ作成回路9からのデータを選択させる
。制御回路13はまた書込アドレスポインタ5に書込ア
ドレスのカウントアツプを指示し、新たな書込アドレス
と共に書込信号をメモリアレイ6に出力させる。制御回
路13は引き続いて続出アドレスポインタ7に対して続
出アドレスのカウントアツプを措示し、新たな続出アド
レスと共に続出信号をメモリアレイ6に出力させる。
Next, the normality check operation in the empty state will be explained. When the flag control circuit 8 outputs the empty flag 107 with logic "1", the write/continuation control circuit 13 counts the clock signal 108 and determines that the empty state continues after a predetermined period of time has elapsed. do. Then, in order to write and read check data, the check data creation circuit 9 is instructed to create check data, and a control signal is output to the selector 10 to select data from the check data creation circuit 9. Control circuit 13 also instructs write address pointer 5 to count up the write address, and outputs a write signal to memory array 6 together with a new write address. The control circuit 13 then instructs the successive address pointer 7 to count up the successive address, and outputs the successive address signal to the memory array 6 together with the new successive address.

制御回路13はこのような動作により、チェックデータ
作成回路9が出力するチェックデータはセレクタ10か
らパリティジェネレータ11に入力され、そこでパリテ
ィビットが付加された後、ポインタ5が指定するメモリ
アレイ6のアドレスに書き込まれる。このデータはポイ
ンタ7のアドレス指定にもとづいてメモリアレイ6から
読み出され、パリティチェッカ12に入力される。パリ
ティチェッカ12はこのデータのパリティチェックを行
い、その結果を表すパリティチェック信号110を出力
する。制御回路13はこのパリティチェック信号110
をチエツクし、パリティエラーがある場合にはパリティ
エラー信号109を出力する。
Through this operation, the control circuit 13 inputs the check data output from the check data generation circuit 9 to the parity generator 11 from the selector 10, adds a parity bit there, and then converts it to the address of the memory array 6 specified by the pointer 5. will be written to. This data is read out from memory array 6 based on the addressing of pointer 7 and input to parity checker 12. Parity checker 12 performs a parity check on this data and outputs a parity check signal 110 representing the result. The control circuit 13 uses this parity check signal 110
is checked, and if there is a parity error, a parity error signal 109 is output.

制御回路13は制御回路1から書込通知信号が入力され
るまでこの状態を維持し、その間メモリアレイ6のアド
レスを順次アクセスして異常がある場合には、パリティ
エラー信号109を出力する。
The control circuit 13 maintains this state until the write notification signal is input from the control circuit 1, and during that time it sequentially accesses the addresses of the memory array 6 and outputs a parity error signal 109 if there is an abnormality.

そして書込通知信号が制御回路1から入力されると、制
御回路13は正常性のチエツク動作を終了し、ポインタ
5,7およびチェックデータ作成回路9をリセットし、
セレクタ10は入カバソファ2からのデータを選択する
状態に設定する。その後、上述したデータ101の書き
込みが制御回路1の制御にもとづいて行われる。
When the write notification signal is input from the control circuit 1, the control circuit 13 finishes the normality check operation, resets the pointers 5 and 7 and the check data creation circuit 9, and
The selector 10 is set to select data from the input sofa 2. Thereafter, writing of the data 101 described above is performed under the control of the control circuit 1.

〔発明の効果〕〔Effect of the invention〕

以上説明したように本発明のFIFOメそりは、チェッ
クデータを発生するデータ作成回路と、所定の制御信号
にもとづいてデータ作成回路が発生するチェックデータ
かまたはメモリへの書込データのいずれかを選択して出
力するセレクタと、このセレクタが出力するデータにパ
リテイビットを付加してメモリに出力するパリティジェ
ネレータと、メモリから読み出されたデータに対してパ
リティチェックを行うパリティチェッカと、メモリにデ
ータが格納されていないとき所定のフラグ信号を出力す
るフラグ制御回路と、このフラグ制御回路が上記フラグ
信号を出力したとき、制御信号を出力してセレクタに上
記チェックデータを選択させ、またパリティジェネレー
タが出力するデータの書き込みおよびデータの読み出し
をメモリに)旨示する制御回路とを備えている。
As explained above, the FIFO memory of the present invention includes a data creation circuit that generates check data, and a data creation circuit that generates either check data or write data to memory based on a predetermined control signal. A selector that selects and outputs data, a parity generator that adds a parity bit to the data output by this selector and outputs it to the memory, a parity checker that performs a parity check on the data read from the memory, and a parity checker that performs a parity check on the data read from the memory. A flag control circuit outputs a predetermined flag signal when no data is stored, and when this flag control circuit outputs the flag signal, outputs a control signal to cause the selector to select the check data, and a parity generator. and a control circuit for instructing the memory to write data output from the memory and read data output from the memory.

従って本発明のFIFOメモリでは、データエンプティ
時においても、パリティビットを付加したチェックデー
タをメモリに書き込み、そしてそのデータをメモリから
読み出してパリティチェックを行うことにより、メモリ
アレイの正常性を確認することができる。
Therefore, in the FIFO memory of the present invention, even when data is empty, the normality of the memory array can be confirmed by writing check data with a parity bit added to the memory, and then reading that data from the memory and performing a parity check. I can do it.

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

第1図は本発明によるFIFOメモリの一実施例を示す
ブロック図、 第2図は従来のFIFOメモリの一例を示すブロック図
である。 1・・・・・書込制御回路 2・・・・・入カバソファ 3・・・・・出カバソファ 4・・・・・続出制御回路 5・・・・・書込アドレスポインタ 6・・・・・メモリアレイ 7・・・・・続出アドレスポインタ 8・・・・・フラグ制御回路 9・・・・・チェックデータ作成回路 10・・・・・セレクタ 11・・・・・パリティジェネレータ 12・・・・・パリティチェッカ 13・・・・・書込・読出制御回路
FIG. 1 is a block diagram showing an embodiment of a FIFO memory according to the present invention, and FIG. 2 is a block diagram showing an example of a conventional FIFO memory. 1...Write control circuit 2...Input cover sofa 3...Output cover sofa 4...Continuation control circuit 5...Write address pointer 6...・Memory array 7... Successive address pointer 8... Flag control circuit 9... Check data creation circuit 10... Selector 11... Parity generator 12... ...Parity checker 13...Write/read control circuit

Claims (1)

【特許請求の範囲】[Claims] (1)チェックデータを発生するデータ作成回路と、 所定の制御信号にもとづいて前記データ作成回路が発生
する前記チェックデータまたはメモリへの書込データの
いずれかを選択して出力するセレクタと、 このセレクタが出力するデータにパリテイビットを付加
して前記メモリに出力するパリテイジェネレータと、 前記メモリから読み出されたデータに対してパリテイチ
ェックを行うパリテイチェッカと、前記メモリにデータ
が格納されていないとき所定のフラグ信号を出力するフ
ラグ制御回路と、このフラグ制御回路が前記フラグ信号
を出力したとき、前記制御信号を出力して前記セレクタ
に前記チェックデータを選択させ、また前記パリテイジ
ェネレータが出力するデータの書き込みおよびデータの
読み出しを前記メモリに指示する制御回路とを備えたこ
とを特徴とするファースト・イン・ファースト・アウト
・メモリ。
(1) a data generation circuit that generates check data; a selector that selects and outputs either the check data generated by the data generation circuit or data written to memory based on a predetermined control signal; a parity generator that adds a parity bit to the data output by the selector and outputs it to the memory; a parity checker that performs a parity check on the data read from the memory; and a parity checker that performs a parity check on the data read from the memory; a flag control circuit that outputs a predetermined flag signal when the check data is not checked; and when the flag control circuit outputs the flag signal, outputs the control signal to cause the selector to select the check data; A first-in first-out memory comprising: a control circuit for instructing the memory to write data output from a generator and read data output from the generator.
JP63168777A 1988-07-08 1988-07-08 First-in/first-out memory Pending JPH0219921A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63168777A JPH0219921A (en) 1988-07-08 1988-07-08 First-in/first-out memory

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63168777A JPH0219921A (en) 1988-07-08 1988-07-08 First-in/first-out memory

Publications (1)

Publication Number Publication Date
JPH0219921A true JPH0219921A (en) 1990-01-23

Family

ID=15874271

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63168777A Pending JPH0219921A (en) 1988-07-08 1988-07-08 First-in/first-out memory

Country Status (1)

Country Link
JP (1) JPH0219921A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2000079378A1 (en) * 1999-06-22 2000-12-28 Seiko Epson Corporation First-in first-out storage device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2000079378A1 (en) * 1999-06-22 2000-12-28 Seiko Epson Corporation First-in first-out storage device
US6772280B1 (en) 1999-06-22 2004-08-03 Seiko Epson Corporation First-in first-out storage device

Similar Documents

Publication Publication Date Title
US4839866A (en) Cascadable first-in, first-out memory
US5335235A (en) FIFO based parity generator
JPS59161744A (en) Scanning system of information processor
JPH0219921A (en) First-in/first-out memory
JP2580558B2 (en) Interface device
US5396611A (en) Microprocessor use in in-circuit emulator having function of discriminating user's space and in-circuit emulator space
JP3036442B2 (en) Memory monitoring method
JPS59104800A (en) Parity check system of picture memory
JPH01239485A (en) Large-scale integrated circuit
JPH08115268A (en) Memory circuit device
JPH0855077A (en) Information use circuit
JPS6353576B2 (en)
JP3254781B2 (en) Semiconductor device
JPS59173868A (en) Address control system
JPS61192100A (en) Semiconductor memory device
JPH02302855A (en) Memory control system
JPH0646520B2 (en) Semiconductor memory device
JPH08297592A (en) Controller
JPS63175956A (en) Parity circuit
JPS61190389A (en) Character display unit
JPH08221282A (en) Parity generation and check circuit
JPS60237696A (en) Magnetic bubble memory device
JPS62145593A (en) Semiconductor memory device
JPS59188756A (en) Scan bus controlling device
JPS59188753A (en) Parity generating method