JPS62212750A - Memory check system - Google Patents

Memory check system

Info

Publication number
JPS62212750A
JPS62212750A JP61054709A JP5470986A JPS62212750A JP S62212750 A JPS62212750 A JP S62212750A JP 61054709 A JP61054709 A JP 61054709A JP 5470986 A JP5470986 A JP 5470986A JP S62212750 A JPS62212750 A JP S62212750A
Authority
JP
Japan
Prior art keywords
error
memory
signal line
data
read
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
JP61054709A
Other languages
Japanese (ja)
Inventor
Tsutomu Yokoi
勉 横井
Junichi Takuri
田栗 順一
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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP61054709A priority Critical patent/JPS62212750A/en
Publication of JPS62212750A publication Critical patent/JPS62212750A/en
Pending legal-status Critical Current

Links

Landscapes

  • Techniques For Improving Reliability Of Storages (AREA)

Abstract

PURPOSE:To decide whether the write or read data on a memory causes an error by using a deciding means to discriminate the error information and suppressing the reading action to the memory when an uncorrectable error occurs according to the result of discrimination of said error information. CONSTITUTION:A deciding circuit 5 reports a 1-bit error of a write mode to the read data receiver side via a signal line 19 by the error section information on a signal line 18 read out of an error information memory part 4 and the read control signal received via a signal line 14 in case the error section information shows a 1-bit error. At the same time, the read data given from a memory 1 are also transmitted by a memory control circuit 2 via a signal line 16 and then checked at its receiver side. Thus the 1-bit error is detected and corrected. Then the circuit 5 reports a plural-bit error to the receiver side of the read data when the error section information shows a plural-bit error. Thus it is possible to discriminate easily the trouble of the data obtained immediately before its writing from that of the memory read data.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明はメモリチェック方式に係り、特に書き込み直前
のデータをチェックしてそのエラー情報を記憶しておき
、読み出し時に記憶しているエラー情報を参照するメモ
リチェック方式に関する。
[Detailed Description of the Invention] [Industrial Application Field] The present invention relates to a memory check method, and in particular, it checks data immediately before writing, stores the error information, and uses the stored error information when reading. Regarding the reference memory check method.

〔従来の技術〕[Conventional technology]

従来のメモリ装置では、メモリからの読み出しデータの
みについてデータ系のチェック回路を備えていたが、こ
れでは障害指摘が的確にできなかった。この対策として
特公昭60−46457号公報に記載のように、メモリ
への書き込み直前でもデータをチェックし、もしエラー
ならばその時のアドレスを記憶しておく。読み出し時の
データチェックでエラー検出した時はそのエラーアドレ
スで記憶アドレスを参照し、一致アドレスがあれば書き
込み時のデータにエラーがあり、一致がなければメモリ
が故障と判定するものであった。しかしメモリの書き込
みデータのエラーは読み出しデータに伝播するから、書
き込みデータでエラー検出した時は読み出しデータにも
エラーが存在することである。書き込みデータに複数ビ
ットエラーが検出された時には、読み出し時に読み出し
アドレスと記憶されている書き込みアドレスとの一致が
とれればメモリへの読み出し動作は実行する必要がなく
、直に複数ビットエラーと考えられるのでエラー報告で
きる。また同一アドレスに再度書き込みが発生した時に
は、書き込みデータがチェック回路でチェック検出しな
かった時は記憶アドレスをキャンセルする必要があり、
これの配慮がされてなかった。
Conventional memory devices have been equipped with a data system check circuit only for data read from the memory, but this has not been able to accurately identify faults. As a countermeasure against this problem, as described in Japanese Patent Publication No. 60-46457, the data is checked even immediately before being written into the memory, and if an error occurs, the address at that time is stored. When an error is detected during data checking during reading, the storage address is referred to using the error address, and if there is a matching address, it is determined that there is an error in the data being written, and if there is no matching, it is determined that the memory is faulty. However, since an error in the write data of the memory is propagated to the read data, when an error is detected in the write data, it means that an error also exists in the read data. When a multiple bit error is detected in write data, if the read address matches the stored write address when reading, there is no need to perform a read operation to the memory, and it is immediately considered a multiple bit error. You can report errors. Also, when writing occurs again to the same address, if the write data is not detected by the check circuit, it is necessary to cancel the memory address.
This was not taken into consideration.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

従来技術ではメモリの書き込み直前のデータと読み出し
データをチェックし、読み出しデータのエラーが検出さ
れたとき、その原因が書き込み時にあるかどうかを判別
するものである。しかし読み出しデータのチェックをし
なくとも同一アドレスでの書き込みデータにエラーが記
憶されていればそれで読み出しデータの判定は可能であ
る。またメモリの同一アドレスに対して何度も書き込み
が行なわれ、その都度データが異なる場合、書き込みデ
ータのチェック回路でエラー検出しそのエラー情報を記
憶するが、次の同一アドレスに対する書き込みデータで
エラーが生じない時は前の書き込みデータのエラー情報
をキャンセルする必要がある。
In the conventional technology, the data immediately before being written into the memory and the read data are checked, and when an error in the read data is detected, it is determined whether the cause of the error is during writing. However, even without checking the read data, if an error is stored in the write data at the same address, it is possible to determine the read data. Also, if writing is performed to the same address in memory many times and the data is different each time, the written data check circuit will detect an error and store the error information, but if the next written data to the same address is If it does not occur, it is necessary to cancel the error information of the previous written data.

本発明の目的は、メモリの書き込みデータまたは読み出
しデータのいずれのエラー原因かを最適に判定する方法
を提供することにある。
An object of the present invention is to provide a method for optimally determining whether an error is caused by writing data or reading data from a memory.

〔問題点を解決するための手段〕[Means for solving problems]

上記目的は、書き込み時書き込みデータをチェックする
チェック回路を設け、エラーが検出された時エラーアド
レスに加えてエラー区分情報も記憶すること、また記憶
されているエラーアドレスと同一アドレスの書き込みが
発生し、書き込みデータにエラーを検出しない時は記憶
されているエラー情報をキャンセルし、エラーが検出し
た時は新しいエラー情報を記憶することにより達成され
る。
The above purpose is to provide a check circuit that checks written data during writing, and to store error classification information in addition to the error address when an error is detected, and to prevent writing to the same address as the stored error address. This is achieved by canceling the stored error information when no error is detected in the write data, and storing new error information when an error is detected.

〔作用〕[Effect]

害き込み時にデータエラー検出を行ないエラー区分情報
を記憶する。ここでエラー区分情報とは。
Data error detection is performed at the time of damage, and error classification information is stored. What is error classification information here?

1ビツトエラーまたは複数ビットエラーである。This is a single bit error or multiple bit errors.

このエラー区分情報はエラー検出の有無にかかわらず書
き込みごとに記憶する。次にメモリからの読み出し時そ
のアドレスでエラー区分情報を参照し、そのエラー区分
を識別し、1ビツトエラーであればデータ受取り側にエ
ラー報告する。複数ビットエラーで自動修正不可能なエ
ラーであれば、これもただちにエラー報告をするが、メ
モリへの読み出し動作は中止または禁止する。これによ
りデータ受取り側へは読み出しデータのチェック結果よ
りも早くエラー報告が可能となり、メモリ側では無駄な
読み出し動作をおさえてエラーの伝播を防止することが
できる。
This error classification information is stored for each write regardless of whether or not an error is detected. Next, when reading from the memory, the error classification information is referred to at that address, the error classification is identified, and if it is a 1-bit error, the error is reported to the data receiving side. If the error is a multi-bit error that cannot be automatically corrected, the error will be reported immediately, but the read operation to the memory will be canceled or prohibited. This makes it possible to report an error to the data receiving side earlier than the result of checking the read data, and on the memory side, wasteful read operations can be suppressed to prevent error propagation.

〔実施例〕〔Example〕

以下5本発明の一実施例を図面を用いて説明する。第1
図は本実施例の構成を示すブロック図である。メモリ1
にデータを書き込む時は、書込要求信号10を受けたメ
モリ制御回路2でメモリ1を駆動する制御信号&IX 
(RAS、CAS、WE等)11により、信号線12が
指定するアドレスに信号線13を介して書込データが書
き込まれる。チェック回路3は信号線13上の書込デー
タのデータビットとチェックピットから、回書込データ
のチェックを行ない、信号線15を通じてエラー区分情
報(1ビツトエラーか、複数ビットエラー)を出力する
。図には示していないが信号線16を介する読み出しデ
ータの受取り側にもチェック回路を持ち、1ビツトエラ
ーの検出と修正および複数ビットエラーの検出を実施し
、信号線13上の書込データのエラーはそのまま信号m
16上の読み出しデータに伝播するので、メモリ1の書
込直前でのチェック回路3ではエラー検出のみを行なう
An embodiment of the present invention will be described below with reference to the drawings. 1st
The figure is a block diagram showing the configuration of this embodiment. memory 1
When writing data to the memory 1, the memory control circuit 2 that receives the write request signal 10 sends a control signal &IX to drive the memory 1.
(RAS, CAS, WE, etc.) 11 writes write data to the address specified by the signal line 12 via the signal line 13. The check circuit 3 checks the write data based on the data bits and check pits of the write data on the signal line 13, and outputs error classification information (one bit error or multiple bit error) through the signal line 15. Although not shown in the figure, there is also a check circuit on the receiving side of the read data via the signal line 16, which detects and corrects 1-bit errors and detects multiple bit errors, and detects errors in the write data on the signal line 13. remains as signal m
Since the error is propagated to the read data on the memory 1, the check circuit 3 only performs error detection immediately before writing to the memory 1.

エラー情報記憶部4は、信号線12上のアドレスそのも
のでアドレス指定し、チェック回路3から出力される信
号線15上のエラー区分情報を信号線14を介してのエ
ラー情報記憶部4の書き込み制御信号で書き込み記憶す
る。すなわち書込データについてチェック回路3がエラ
ーを検出するしないにかかわらず、対応するアドレスに
ついてエラー区分情報が記憶部4に書き込まれる。
The error information storage section 4 is addressed by the address itself on the signal line 12, and the error classification information on the signal line 15 outputted from the check circuit 3 is controlled to be written into the error information storage section 4 via the signal line 14. Write and memorize signals. That is, regardless of whether or not the check circuit 3 detects an error in the write data, error classification information is written into the storage unit 4 for the corresponding address.

第2図は、エラー情報記憶部4に記憶されるエラー区分
情報の形式を示すものである。初期状jl!は第2図に
示すケース1のごとくエラー区分情報がOOであり、チ
ェック回路3でエラー検出しないときはケース1のOO
が記憶され、エラー検出した時にはケース2またはケー
ス3のエラー区分情報が記憶される。メモリ1への書き
込み時、信号線13上の書込データをチェック回路3で
エラー検出し、そのエラー区分情報をエラー情報記憶部
4に書き込む条件は第3図に示すようになり、チェック
回路3でエラー検出の有無にかかわらずチェック回路3
の出力信号であるエラー区分情報を信号線12上のアド
レスと信号線14を介するエラー情報記憶部4の書き込
み制御信号でそのまま書き込む。
FIG. 2 shows the format of error classification information stored in the error information storage section 4. As shown in FIG. Initial letter jl! The error classification information is OO as in case 1 shown in Fig. 2, and when the check circuit 3 does not detect an error, it is OO in case 1.
is stored, and when an error is detected, error classification information of case 2 or case 3 is stored. When writing to the memory 1, the check circuit 3 detects an error in the write data on the signal line 13, and the conditions for writing the error classification information to the error information storage section 4 are as shown in FIG. Check circuit 3 regardless of the presence or absence of error detection.
The error classification information, which is the output signal of , is written as is using the address on the signal line 12 and the write control signal of the error information storage section 4 via the signal line 14.

メモリ1からの読み出し時は、読み出し要求信号10と
信号線12のアドレスを受は取ると、信号線14を介す
る読み出し制御信号と信号線12上のアドレスをエラー
情報記憶部4に伝え、該当するアドレスのエラー情報を
読み出す。これは信号線12上のアドレスでエラー情報
記憶部4を参照することにより、記憶されているエラー
アドレスと読み出し時のアドレスが一致したエラー区分
情報を読み出したことになる。判定回路5は、エラー情
報記憶部4から読み出された信号線18上のエラー区分
情報と信号線14を介する読み出し制御信号とにより、
エラー区分情報が1ビツトエラーの時は、信号線19を
介して読み出しデータ受取り側に書き込み時の1ビツト
エラーの報告をする。またメモリ制御回路2によりメモ
リ】、からの読み出しデータも信号線16を介して送出
し。
When reading from the memory 1, when the read request signal 10 and the address on the signal line 12 are received, the read control signal via the signal line 14 and the address on the signal line 12 are transmitted to the error information storage unit 4, and the corresponding Read address error information. This means that by referring to the error information storage section 4 using the address on the signal line 12, error classification information whose read address matches the stored error address is read out. The determination circuit 5 uses the error classification information on the signal line 18 read from the error information storage unit 4 and the read control signal via the signal line 14 to
When the error classification information indicates a 1-bit error, the 1-bit error during writing is reported to the read data receiving side via the signal line 19. The memory control circuit 2 also sends read data from the memory via the signal line 16.

このデータの受取り側で読み出しデータのチェックを行
ない、1ビツトエラーの検出と修正を行なう。また判定
回路5は、エラー区分情報が複数ビットエラーのときは
、読み出しデータ受取り側に書き込み時の複数ビットエ
ラーの報告を行ない、また信号線17を介して複数ビッ
トエラーであることをメモリ制御回路2に伝え、読み出
し動作の中止または実行させないようにすることにより
メモリ1への無駄な読み出し動作をおさえ、エラーの伝
播を防ぐことができる。
The data receiving side checks the read data and detects and corrects 1-bit errors. Further, when the error classification information indicates a multi-bit error, the determination circuit 5 reports the multi-bit error during writing to the read data receiving side, and also informs the memory control circuit via the signal line 17 that there is a multi-bit error. 2 and cancel or prevent the read operation from being executed, it is possible to suppress wasteful read operations to the memory 1 and prevent error propagation.

第1図には示していないが、従来から信号線16上の読
み出しデータにもチェック回路が用意されており、この
読み出しデータのチェック結果と判定回路5からの信号
線19へのエラー報告信号により容易にメモリ1への書
き込み直前のデータエラーかメモリ1からの読み出しデ
ータエラーかの判定が可能である。また判定回路5から
信号線19を介して報告される書き込み時の1ビツトエ
ラーあるいは複数ビットエラーの報告信号はメモリ1か
らの読み出しデータのチェック結果より得られるエラー
判定より相当時間早いため、メモリ読み出しデータの受
取り側では、そのエラーに対する種々のエラー処理の実
行が可能となる。
Although not shown in FIG. 1, a check circuit has conventionally been provided for the read data on the signal line 16, and based on the check result of this read data and the error report signal from the judgment circuit 5 to the signal line 19. It is possible to easily determine whether it is a data error immediately before writing to the memory 1 or a data error reading from the memory 1. Furthermore, since the report signal of a 1-bit error or multiple-bit error during writing, which is reported from the determination circuit 5 via the signal line 19, is considerably earlier than the error determination obtained from the check result of the read data from the memory 1, the memory read data On the receiving side, it is possible to perform various types of error processing for the error.

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

本発明によれば、ECC方式を採用したメモリ装置にお
いて、メモリへの書き込み直前のデータをチェックし、
エラー区分情報を記憶しているので、メモリ書き込み直
前のデータとメモリ読み出しデータとの障害切分けが容
易に可能である。また読み出し時にはエラー情報記憶部
に記憶されているとき読み出しデータのチェック結果か
ら判定するのではなく、記憶されているエラー情報より
判定するので、エラー報告が早くなる。
According to the present invention, in a memory device adopting the ECC method, data immediately before being written to the memory is checked,
Since error classification information is stored, it is possible to easily distinguish faults between data immediately before being written to the memory and data read from the memory. Further, when reading data, the error information is not determined based on the check result of the read data while it is stored in the error information storage unit, but is determined based on the stored error information, so that the error report can be made more quickly.

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

第1図は本発明の一実施例を示すブロック図、第2図は
エラー区分情報を示す図、第3図はエラー区分情報をエ
ラー情報記憶部に書き込む条件を示す図である。 1・・・メモリ、2・・・メモリ制御回路、3・・・チ
ェック回路、4・・・エラー情報記憶部、5・・・判定
回路、10〜19・・・信号線。 専l凹 d エラー庸代畜乙1N印 lj : 、、l喜号稼(Lラー区す7汽〒()も2幻
FIG. 1 is a block diagram showing an embodiment of the present invention, FIG. 2 is a diagram showing error classification information, and FIG. 3 is a diagram showing conditions for writing error classification information into an error information storage section. DESCRIPTION OF SYMBOLS 1... Memory, 2... Memory control circuit, 3... Check circuit, 4... Error information storage part, 5... Judgment circuit, 10-19... Signal line. Special l concave d error yōdai ku tsu 1N seal lj: ,, lkigo earn (L ra ku s 7 h 〒() also 2 phantom

Claims (1)

【特許請求の範囲】[Claims] 1、ECC方式を採用するメモリにおいて、メモリへの
書き込み時に書き込み情報をチェックするチェック回路
と、メモリへの書き込み要求によって該チェック回路か
ら得られるエラー情報結果を順次記憶しメモリへの読み
出し要求によって参照されるエラー情報記憶手段と、メ
モリからの読み出し時にエラー情報記憶手段に記憶され
ているエラー情報の識別を行なう判定手段を備え、エラ
ー情報の識別結果により修正不可能なエラー時にはメモ
リへの読み出し動作を抑止することを特徴とするメモリ
チェック方式。
1. In a memory that adopts the ECC method, there is a check circuit that checks written information when writing to the memory, and error information results obtained from the check circuit in response to a write request to the memory are sequentially stored and referenced by a read request to the memory. and a determining means for identifying the error information stored in the error information storage means when reading from the memory, and when an error that cannot be corrected based on the identification result of the error information, the reading operation to the memory is performed. A memory check method characterized by suppressing.
JP61054709A 1986-03-14 1986-03-14 Memory check system Pending JPS62212750A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61054709A JPS62212750A (en) 1986-03-14 1986-03-14 Memory check system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61054709A JPS62212750A (en) 1986-03-14 1986-03-14 Memory check system

Publications (1)

Publication Number Publication Date
JPS62212750A true JPS62212750A (en) 1987-09-18

Family

ID=12978328

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61054709A Pending JPS62212750A (en) 1986-03-14 1986-03-14 Memory check system

Country Status (1)

Country Link
JP (1) JPS62212750A (en)

Similar Documents

Publication Publication Date Title
US8140940B2 (en) Method and apparatus for controlling memory
US4926426A (en) Error correction check during write cycles
JPH02206843A (en) Defective data algorithm
JPH03248251A (en) Information processor
KR102131337B1 (en) Cache memory with fault tolerance
US5467361A (en) Method and system for separate data and media maintenance within direct access storage devices
US7496822B2 (en) Apparatus and method for responding to data retention loss in a non-volatile memory unit using error checking and correction techniques
US5768494A (en) Method of correcting read error in digital data processing system by implementing a predetermind number of data read retrials
JPS62212750A (en) Memory check system
JP2818659B2 (en) Error correction method
JPH07105102A (en) Memory control unit
JPH0652065A (en) Memory control circuit
JP3130796B2 (en) Control storage device
JP2513615B2 (en) Storage device with ECC circuit
JPS6051142B2 (en) Logging error control method
JPH01283654A (en) Error detecting device
KR0121094B1 (en) The method of memory system
JPH03152643A (en) Double bit error control circuit
JPH04115339A (en) Memory error processing system
JPH0756816A (en) Controller for memory
JP2601038B2 (en) Microprogram error detection / correction device
JP2503981B2 (en) Peripheral storage
JPH02148343A (en) Memory parity error discriminating system
KR100307517B1 (en) Defect cell detecting method of flash memory
JPH038040A (en) 1-bit error information storage device