JPH05282211A - Memory control circuit and fixed fault detecting circuit - Google Patents

Memory control circuit and fixed fault detecting circuit

Info

Publication number
JPH05282211A
JPH05282211A JP4109061A JP10906192A JPH05282211A JP H05282211 A JPH05282211 A JP H05282211A JP 4109061 A JP4109061 A JP 4109061A JP 10906192 A JP10906192 A JP 10906192A JP H05282211 A JPH05282211 A JP H05282211A
Authority
JP
Japan
Prior art keywords
error
data
circuit
address
corrected
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
JP4109061A
Other languages
Japanese (ja)
Inventor
Kunihiko Endo
邦彦 遠藤
Tokihiro Narumitsu
時広 成光
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 Software Shikoku Ltd
Original Assignee
NEC Software Shikoku 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 Software Shikoku Ltd filed Critical NEC Software Shikoku Ltd
Priority to JP4109061A priority Critical patent/JPH05282211A/en
Publication of JPH05282211A publication Critical patent/JPH05282211A/en
Pending legal-status Critical Current

Links

Landscapes

  • Techniques For Improving Reliability Of Storages (AREA)

Abstract

PURPOSE:To detect a single fault, and to early detect a fixed fault by rewriting normal data whose error is corrected an address in which the error occurs. CONSTITUTION:When the error which can be corrected is detected in a memory circuit to be controlled, it is communicated to an input terminal 7. A correction data feedback control circuit 1 allows an address holding circuit 2 to hold a reading address, a data holding circuit 3 to hold the normal data whose error is corrected, and syndrome holding circuit 11 to hold corrected correction data prepared by the memory circuit, address data indicating an error position, and a syndrome at that time. Then, the correction data feedback control circuit 1 stops an acceptance for the memory circuit, fetches the address and the data held by the address holding circuit 2 and the data holding circuit 3, outputs those data to the memory circuit, writes the corrected normal data in the address in which the fault occurs of the memory circuit, and updates the erroneous data.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、記憶装置への書き込
み、または読み出しエラー検出訂正を行うメモリ制御回
路および固定障害検出回路に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a memory control circuit and a fixed fault detection circuit for detecting or correcting a writing or reading error in a memory device.

【0002】[0002]

【従来の技術】従来メモリ制御装置においては、記憶装
置にデータを書き込み、または読み出し時にエラーを検
出し、誤り訂正可能なエラーであれば、誤りデータを訂
正し、かつ訂正したことをプロセッサに通知していた。
2. Description of the Related Art In a conventional memory control device, an error is detected when data is written in or read from a storage device, and if the error can be corrected, the error data is corrected and the correction is notified to a processor. Was.

【0003】[0003]

【発明が解決しようとする課題】しかしながらこのよう
な従来の装置は、記憶装置に記憶されているデータはプ
ロセッサからの再書き込みが発生するまで誤りデータを
保持し続けるという問題点がある。また、発生した誤り
に関して訂正可能であるか否かを上位装置か外部装置に
通知するだけに留まっていたので、単発障害であるか、
固定障害であるかの判別が困難であり、固定障害の検出
に時間がかかるという課題を有していた。
However, such a conventional device has a problem in that the data stored in the storage device keeps erroneous data until rewriting from the processor occurs. In addition, since it is merely to notify the host device or the external device whether or not the error that has occurred can be corrected, whether it is a single failure or not
There is a problem in that it is difficult to determine whether or not a fixed fault is present, and it takes time to detect the fixed fault.

【0004】本発明はこのような状況に鑑みてなされた
もので、単発障害を検出し、固定障害を早期に検出する
ようにしたものである。
The present invention has been made in view of such a situation, and is intended to detect a single fault and to detect a fixed fault at an early stage.

【0005】[0005]

【課題を解決するための手段】このような課題を解決す
るために請求項1の発明は、誤り訂正可能な誤りが発生
した際に該当するアドレスと誤りを訂正された正常デー
タを保持する保持手段と、誤りを訂正された正常データ
を前記誤りが発生したアドレスに書き戻す修正データ帰
還制御手段を備えたものである。請求項2の発明は、請
求項1において、誤り訂正用のシンドロームを保持する
第1の保持手段と、修正データ帰還制御手段により再書
き込み再読み出しされたシンドロームを保持する第2の
保持手段と、二つのシンドロームを比較する比較手段
と、この比較結果が一致した時に外部に固定障害の発生
を通知する保持通知手段とを備えたものである。
In order to solve such a problem, the invention of claim 1 holds a corresponding address and an error-corrected normal data when an error-correctable error occurs. Means and a corrected data feedback control means for writing back normal data whose error has been corrected to the address where the error has occurred. According to a second aspect of the present invention, in the first aspect, the first holding means holds the syndrome for error correction, and the second holding means holds the syndrome rewritten and reread by the corrected data feedback control means. It is provided with a comparing means for comparing two syndromes and a holding notifying means for notifying the outside of the occurrence of a fixed failure when the comparison results match.

【0006】[0006]

【作用】請求項1の発明は、保持手段に保持された誤り
が発生した際に該当するアドレスに修正済データが修正
データ帰還制御手段を介して書き戻される。請求項2の
発明は、誤り訂正時のシンドロームと修正データ帰還制
御手段によって再書き込み、再読み出しされたシンドロ
ームが比較され、その比較結果によって固定障害が検出
される。
According to the invention of claim 1, when an error held in the holding means occurs, the corrected data is written back to the corresponding address through the corrected data feedback control means. According to the second aspect of the present invention, the syndrome at the time of error correction and the syndrome rewritten and reread by the corrected data feedback control means are compared, and the fixed fault is detected by the comparison result.

【0007】[0007]

【実施例】図1は本発明の一実施例を示すメモリ制御装
置の構成を示すブロック図であって、このメモリ制御回
路は修正データ帰還制御回路1、アドレス保持回路2、
データ保持回路3、シンドローム保持回路11,12、
比較回路23、入出力端子4〜10、13、24から構
成され、図2に示した構成のメモリ回路と上位装置ある
いは外部装置との間に設置されている。
1 is a block diagram showing the configuration of a memory control device according to an embodiment of the present invention. This memory control circuit comprises a modified data feedback control circuit 1, an address holding circuit 2,
Data holding circuit 3, syndrome holding circuits 11 and 12,
It is composed of a comparison circuit 23 and input / output terminals 4 to 10, 13, and 24, and is installed between the memory circuit having the configuration shown in FIG. 2 and a host device or an external device.

【0008】上位装置あるいは外部装置より記憶装置に
対して読み出し、または部分書き込み要求があった場
合、修正データ帰還制御回路1の入出力端子4、6のそ
れぞれにアクセス先のアドレスコードとコマンドが供給
され、入出力端子8、出力端子10を介してメモリ回路
へと出力され、データが読み出される。
When there is a read or partial write request from the host device or external device to the memory device, the address code and command of the access destination are supplied to the input / output terminals 4 and 6 of the modified data feedback control circuit 1. Then, it is output to the memory circuit through the input / output terminal 8 and the output terminal 10, and the data is read.

【0009】図2は図1のメモリ制御回路によって制御
されるメモリ回路であり、図2の誤り検出訂正回路14
で訂正可能な誤りが検出されると、出力端子20より図
1の入力端子7へ訂正可能誤りが発生したことを通知す
る。修正データ帰還制御回路1はこの通知を受け、アド
レス保持回路2には読み出しアドレスを保持させ、デー
タ保持回路3には誤り検出訂正回路14によって誤りを
訂正した正常なデータを保持させ、シンドローム保持回
路11には誤り検出訂正回路14によって生成された修
正後の修正データと、誤り位置を示すアドレスデータと
そのときのシンドロームをそれぞれ保持させる。このと
きシンドローム保持回路12にはシンドロームは保持さ
れない。
FIG. 2 shows a memory circuit controlled by the memory control circuit shown in FIG. 1. The error detection correction circuit 14 shown in FIG.
When the correctable error is detected at, the output terminal 20 notifies the input terminal 7 of FIG. 1 that the correctable error has occurred. Upon receiving this notification, the corrected data feedback control circuit 1 causes the address holding circuit 2 to hold the read address, the data holding circuit 3 to hold the normal data in which the error is corrected by the error detection / correction circuit 14, and the syndrome holding circuit. 11 stores the corrected data after the correction generated by the error detection / correction circuit 14, the address data indicating the error position, and the syndrome at that time. At this time, the syndrome is not held in the syndrome holding circuit 12.

【0010】修正データ帰還制御回路1は訂正誤りの通
知が1回目であることを記憶すると共に、上位装置ある
いは外部装置より記憶装置15に対しての受付を停止
し、アドレス保持回路2、データ保持回路3に保持され
ているアドレスと、誤り訂正後のデータを取り込む。そ
して、修正データ帰還制御回路1で生成する書き込み命
令とともに、それぞれアドレス出力端子8、データ出力
端子9、コマンド出力端子10よりメモリ回路へと出力
し、記憶装置15の障害が発生したアドレスへ訂正後の
正常データを書き込み、記憶装置15の誤りデータを更
新する。
The corrected data feedback control circuit 1 stores that the notification of the correction error is the first time, and stops the reception of the correction error from the host device or the external device to the storage device 15, and the address holding circuit 2 and the data holding are held. The address held in the circuit 3 and the data after error correction are fetched. Then, together with the write command generated by the modified data feedback control circuit 1, the data is output to the memory circuit from the address output terminal 8, the data output terminal 9, and the command output terminal 10, respectively, and after correction to the address where the failure of the storage device 15 has occurred. Normal data is written and the error data in the storage device 15 is updated.

【0011】修正データ帰還制御回路1によって誤りデ
ータの更新が終了すると、修正データ帰還制御回路1は
アドレス保持回路2に保持されているアドレスのデータ
を読み出すために、アドレス読み出し命令を出力端子
8、10より出力し、読み出しを行う。
When the correction data feedback control circuit 1 finishes updating the error data, the correction data feedback control circuit 1 outputs an address read command to read out the data of the address held in the address holding circuit 2, Output from 10 and read.

【0012】読み出されたデータは誤り検出訂正回路1
4で障害の有無を検出する。このときデータに誤り訂正
可能な障害が発生していれば、訂正可能誤りを出力端子
20より出力する。この通知を修正データ帰還回路1が
受け取り、2回目の障害であることを記憶すると共に、
障害が再発したとして、シンドローム保持回路12に誤
り検出訂正回路14によって生成され、誤り位置を示す
シンドロームを保持するよう保持信号を出力し、シンド
ローム保持回路12はシンドロームを保持する。このと
き、シンドローム保持回路11は前のシンドロームを保
持している。
The read data is the error detection / correction circuit 1
In 4, the presence or absence of a fault is detected. At this time, if an error-correctable fault has occurred in the data, a correctable error is output from the output terminal 20. The correction data feedback circuit 1 receives this notification and memorizes that it is the second failure, and
Assuming that the failure has recurred, the syndrome holding circuit 12 outputs a holding signal generated by the error detection / correction circuit 14 to hold the syndrome indicating the error position, and the syndrome holding circuit 12 holds the syndrome. At this time, the syndrome holding circuit 11 holds the previous syndrome.

【0013】シンドローム比較回路23はシンドローム
保持回路11、12を比較し、一致した場合のみ修正デ
ータ帰還回路1に同一障害が発生したことを通知する。
The syndrome comparison circuit 23 compares the syndrome holding circuits 11 and 12, and only when they match, notifies the corrected data feedback circuit 1 that the same fault has occurred.

【0014】このように、同一アドレスの同一ビット位
置に誤り訂正可能な誤りが連続して発生した場合は固定
障害とみなされ、修正データ帰還制御回路1は同一障害
通知を受けると上位装置あるいは外部装置に固定障害通
知を保持しながら通知すると共に、記憶装置への要求の
受付を開始する。このとき、アドレス保持回路2、デー
タ保持回路3、シンドローム保持回路11、12の情報
は修正データ保持制御回路1の保持制御信号に保持され
たままである。
As described above, when consecutive errors that can be corrected at the same bit position of the same address occur, it is regarded as a fixed fault, and when the corrected data feedback control circuit 1 receives the same fault notification, the higher-order device or the external device. The device is notified while holding the fixed failure notification, and the acceptance of the request to the storage device is started. At this time, the information of the address holding circuit 2, the data holding circuit 3, and the syndrome holding circuits 11 and 12 is still held in the holding control signal of the corrected data holding control circuit 1.

【0015】[0015]

【発明の効果】以上説明したように、本発明の装置は障
害の発生したアドレスのデータを修正済のデータで他の
プロセッサ等の介在なしに迅速に更新する事ができると
いう効果を有する。また、訂正可能な障害の発生時のシ
ンドロームと、データを更新した次のサイクルで同一ア
ドレスのデータを読み出し時に、訂正可能な障害が発生
すれば、両者のシンドロームを比較し、一致すれば同一
アドレスの同一ビット位置に障害が発生したことにな
り、固定障害が発生したとみなし、障害情報を保持する
と共に、外部に通知するようにしたので、外部の制約を
受けず、迅速に固定障害のみを検出できるという効果を
有する。
As described above, the device of the present invention has the effect that the data at the address where the failure has occurred can be updated quickly with the corrected data without the intervention of another processor or the like. If a correctable failure occurs when the correctable failure occurs when reading the data at the same address in the next cycle in which the correctable failure occurs and when the data is updated, the syndromes of both are compared. Since a failure has occurred in the same bit position of, it is considered that a fixed failure has occurred and the failure information is retained and notified to the outside, so there is no external restriction and only the fixed failure can be promptly detected. It has the effect of being detectable.

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

【図1】本発明の一実施例を示すブロック図FIG. 1 is a block diagram showing an embodiment of the present invention.

【図2】図1の回路によりメモリ制御、固定障害検出対
象となるメモリ回路の構成を示すブロック図
FIG. 2 is a block diagram showing a configuration of a memory circuit that is a target for memory control and fixed fault detection by the circuit of FIG.

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

1 修正データ帰還制御回路 2 アドレス保持回路 3 データ保持回路 11、12 シンドローム保持回路 23 比較回路 1 Corrected data feedback control circuit 2 Address holding circuit 3 Data holding circuit 11, 12 Syndrome holding circuit 23 Comparison circuit

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 エラーが検出された時それを訂正して修
正するメモリ制御回路において、 誤り訂正可能な誤りが発生した際に該当するアドレスと
誤りを訂正された正常データを保持する保持手段と、 前記誤りを訂正された正常データを前記誤りが発生した
アドレスに書き戻す修正データ帰還制御手段を備えるこ
とにより単発障害による誤りデータを修正し、かつ他の
プロセッサの介在無く記憶装置に迅速に書き込むことを
特徴とするメモリ制御回路。
1. A memory control circuit that corrects and corrects an error when it is detected, and a holding means for holding a corresponding address and an error-corrected normal data when an error-correctable error occurs. By providing a correction data feedback control means for writing back the error-corrected normal data to the address in which the error has occurred, the error data due to a single failure is corrected and is quickly written to the storage device without the intervention of another processor. A memory control circuit characterized by the above.
【請求項2】 請求項1において、誤り訂正用のシンド
ロームを保持する第1の保持手段と、 修正データ帰還制御手段により再書き込み再読み出しさ
れたシンドロームを保持する第2の保持手段と、 前記第1の保持手段と第2の保持手段とに記憶されてい
る二つのシンドロームを比較する比較手段と、 この比較結果が一致した時に外部に固定障害の発生を通
知する通知手段とを備えることにより、固定障害発生を
上位装置または、外部装置に対して迅速に通知すること
ができることを特徴とする固定障害検出回路。
2. The first holding means for holding the syndrome for error correction, the second holding means for holding the syndrome rewritten and reread by the corrected data feedback control means, according to claim 1, By providing the comparing means for comparing the two syndromes stored in the first holding means and the second holding means, and the notifying means for notifying the occurrence of the fixed failure to the outside when the comparison results match. A fixed-fault detection circuit capable of promptly notifying a host device or an external device of the occurrence of a fixed fault.
JP4109061A 1992-04-03 1992-04-03 Memory control circuit and fixed fault detecting circuit Pending JPH05282211A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4109061A JPH05282211A (en) 1992-04-03 1992-04-03 Memory control circuit and fixed fault detecting circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4109061A JPH05282211A (en) 1992-04-03 1992-04-03 Memory control circuit and fixed fault detecting circuit

Publications (1)

Publication Number Publication Date
JPH05282211A true JPH05282211A (en) 1993-10-29

Family

ID=14500612

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4109061A Pending JPH05282211A (en) 1992-04-03 1992-04-03 Memory control circuit and fixed fault detecting circuit

Country Status (1)

Country Link
JP (1) JPH05282211A (en)

Similar Documents

Publication Publication Date Title
US6681299B1 (en) Cache-tag control method in information processing apparatus having cache, with error checking mechanism in cache tag, and information processing apparatus using this control method
JP2001290710A (en) Device for detecting data error
JPH05282211A (en) Memory control circuit and fixed fault detecting circuit
JP2818659B2 (en) Error correction method
JPH0652065A (en) Memory control circuit
JPH0314054A (en) Electronic disk device
JPH0520215A (en) Information processor
JPH04115340A (en) Duplex storage circuit
JP2601038B2 (en) Microprogram error detection / correction device
US5375231A (en) Control memory error correcting apparatus
JPH0756816A (en) Controller for memory
JP3281982B2 (en) Data buffer
JPH03154950A (en) Fixed fault detecting device
JPH0667989A (en) Patrol circuit for memory
JPH05210597A (en) Patrol circuit for storage device
JPS6327940A (en) Storage controller
JPH04219700A (en) Semiconductor memory
JPH04162161A (en) Storage controller
JPH03152643A (en) Double bit error control circuit
JPH0854988A (en) Magnetic disk processor
JPS6223337B2 (en)
JPH0327432A (en) Electronic disk device
JPH05173899A (en) Information processor
JPH054266U (en) Memory device
JPS5823679B2 (en) Storage device