JPH02197942A - Main storage - Google Patents

Main storage

Info

Publication number
JPH02197942A
JPH02197942A JP1018716A JP1871689A JPH02197942A JP H02197942 A JPH02197942 A JP H02197942A JP 1018716 A JP1018716 A JP 1018716A JP 1871689 A JP1871689 A JP 1871689A JP H02197942 A JPH02197942 A JP H02197942A
Authority
JP
Japan
Prior art keywords
data
error
detected
cycle
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
JP1018716A
Other languages
Japanese (ja)
Inventor
Hiroshi Tsuruya
鶴谷 寛
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 Ibaraki Ltd
Original Assignee
NEC Ibaraki 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 Ibaraki Ltd filed Critical NEC Ibaraki Ltd
Priority to JP1018716A priority Critical patent/JPH02197942A/en
Publication of JPH02197942A publication Critical patent/JPH02197942A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To attain an access to the data in the same timing as a case where no error is detected by outputting the data corrected by a correction means via a switch means only when an error bit is included in a data bit part and transmitting a correctable error production signal via a report means. CONSTITUTION:When a read address 107 is received in a cycle T1, the data on a designated address of a memory module 3 is held by a read data register RDR 4 in a cycle T2. The data held by the ROR 4 is checked by an error check circuit ECC 5 in the cycle T2. When an error is detected at a data bit part, the data bit part is corrected by a correction circuit 6. Then the corrected data on a signal line 102 is selected by a multiplexer 7 and outputted to the read data 103 in a cycle T3. Thus an access is possible to the data in the same timing as a case where no error is detected at all when an error is detected only at a check bit part.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は主記憶装置に関し、特にエラー訂正可能コード
を利用して誤りビットを訂正することができる主記憶装
置に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a main memory device, and more particularly to a main memory device capable of correcting erroneous bits using an error-correctable code.

〔従来の技術〕[Conventional technology]

従来、この種の装置では、エラー訂正可能コードで誤り
を検出し訂正した場合には、誤りを検出。
Conventionally, in this type of device, if an error is detected and corrected using an error-correctable code, the error is detected.

訂正する時間的遅れのために、誤りが検出されずに、メ
モリモジュールから読出したデータをそのまま使用でき
る場合に比べて、アクセスタイムが1サイクル延びるよ
うになっていた。
Due to the time delay in correction, the access time is extended by one cycle compared to when the error is not detected and the data read from the memory module can be used as is.

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

従来装置では、この1サイクルの遅延が、主記憶装置を
アクセスする装置では全く利用しないエラー訂正コード
のチエツクピント部の誤り訂正時にも発生するようにな
っているので、エラー訂正コードのチェックビット部の
誤り発生時には、アクセスタイムが延びるという欠点が
ある。
In conventional devices, this one-cycle delay also occurs when correcting errors in the check focus section of the error correction code, which is not used at all in devices that access the main memory. The disadvantage is that when an error occurs, the access time increases.

本発明の目的は前記課題を解決した主記憶装置を提供す
ることにある。
An object of the present invention is to provide a main memory device that solves the above problems.

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

前記目的を達成するため、本発明はデータビット部とチ
ェックビット部からなるエラー訂止可能コードを利用し
て誤りビットを訂正する主記憶装置において、訂正可能
誤りが発生していることを検出し、報告する第1の検出
報告手段と、誤りビットがチェックビット部にのみ含ま
れていることを検出し、報告する第2の検出報告手段と
、誤りビットを訂正する手段と、訂正済データと訂正前
データを切換える切換手段とを有し、前記訂正手段によ
る訂正済のデータを前記切換手段により出力し、前記第
1および第2の検出報告手段により主記憶アクセス結果
を報告するようにしたものである。
In order to achieve the above object, the present invention detects the occurrence of a correctable error in a main memory device that corrects error bits using an error correctable code consisting of a data bit part and a check bit part. , a first detection reporting means for reporting, a second detection reporting means for detecting and reporting that the error bit is included only in the check bit part, a means for correcting the error bit, and a means for correcting the corrected data. a switching means for switching uncorrected data, the switching means outputs data corrected by the correction means, and the first and second detection reporting means report main memory access results. It is.

〔実施例〕〔Example〕

次に本発明について図面を参照して説明する。 Next, the present invention will be explained with reference to the drawings.

第1図は本発明の一実施例を示すブロック図である。FIG. 1 is a block diagram showing one embodiment of the present invention.

図において、ECG1はライトデータ100からエラー
訂正可能コードのチェックビット部を生成するチェック
ビット発生回路である。WDR2はデータビット部(即
ちライトデータ)とチェックビット部からなるエラー訂
正コードを保持する書込みデータレジスタ、メモリモジ
ュール3はデータ(チェックビット部を含む)を記憶す
る記憶部、RDR4はメモリモジュール3からの読出し
データ(チェックビット部を含む)を保持するレジスタ
である。ECC5はRDR4上のデータ誤りをチエツク
するチエツク回路で、データビット部にのみ誤りを検出
した場合には信号線104をオンにし、チェックビット
部にのみ誤りを検出した場合はデータエラー信号線10
6をオンにする。又、ECC5はデータ誤り(チェック
ビット部を含む)を検出しなときは信号線105をオン
にする。訂正回路6はECC5でのチエツク結果に従っ
てRDR4の読出しデータを訂正する訂正回路、マルチ
プレクサ7はRDR4のデータと訂正回路6の出力であ
る誤り訂正済のデータを切換える切換回路である。又、
切換回路6は信号線104がオンの時にのみ、訂正済デ
ータ102を選択し、それ以外のときはRDR4上のデ
ータ101を選択する。
In the figure, ECG1 is a check bit generation circuit that generates a check bit portion of an error correctable code from write data 100. WDR2 is a write data register that holds an error correction code consisting of a data bit part (i.e. write data) and a check bit part, memory module 3 is a storage part that stores data (including the check bit part), and RDR4 is a register from memory module 3. This is a register that holds the read data (including the check bit part). ECC5 is a check circuit that checks data errors on RDR4. If an error is detected only in the data bit part, it turns on the signal line 104, and if an error is detected only in the check bit part, it turns on the data error signal line 10.
Turn on 6. Further, when the ECC 5 does not detect a data error (including the check bit part), it turns on the signal line 105. The correction circuit 6 is a correction circuit that corrects the read data of the RDR 4 according to the check result at the ECC 5, and the multiplexer 7 is a switching circuit that switches between the data of the RDR 4 and the error-corrected data output from the correction circuit 6. or,
The switching circuit 6 selects the corrected data 102 only when the signal line 104 is on, and selects the data 101 on the RDR 4 at other times.

次に第2図、第3図を参照して読出し動作について説明
する。
Next, the read operation will be explained with reference to FIGS. 2 and 3.

T1サイクルで読出しアドレスが107で与えられると
、メモリモジュール3の指定されたアドレスのデータが
T2サイクルでRDR4に保持される。RDR4のデー
タ(チェックビット部を含む)はT2サイクルでECC
5によりチエツクされ、データビット部に誤りがない場
合(誤りが全く検出されないか又は、チェックビット部
にしか誤りが検出されない場合)は、マルチプレクサ7
はRDR4の出力を選択したままなので、リードデータ
線103にはT2サイクル以降正しいデータが出力され
、データエラー信号線106はオフのままである。一方
、ECC5によりデータビット部に誤りが検出されると
、訂正回路6により誤りのあるデータビット部が訂正さ
れ、リードデータ103にはT3サイクルで信号線10
2上の訂正済データがマルチプレクサ7によって選択さ
れて、出力される。又、ECC5は信号線104 、1
05を共ニオンとする。
When a read address is given at 107 in the T1 cycle, data at the specified address in the memory module 3 is held in the RDR4 in the T2 cycle. RDR4 data (including check bit part) is ECCed in T2 cycle.
5, and if there is no error in the data bit section (no error detected at all or error detected only in the check bit section), the multiplexer 7
Since the output of RDR4 remains selected, correct data is output to the read data line 103 after the T2 cycle, and the data error signal line 106 remains off. On the other hand, when an error is detected in the data bit part by the ECC 5, the error data bit part is corrected by the correction circuit 6, and the read data 103 is sent to the signal line 10 in the T3 cycle.
The corrected data on 2 is selected by multiplexer 7 and output. In addition, ECC5 has signal lines 104 and 1
Let 05 be a co-ion.

本発明の主記憶をアクセスする装置は信号線104がオ
ンで、105がオフのときのみデータを再取込みするよ
うに構成すればよい、チェックビット部にのみ誤りが検
出された場合は、誤りが全く検出されない場合と同じタ
イミングで1サイクルの遅れなしにデータをアクセスす
ることができる。
The device for accessing the main memory of the present invention may be configured to re-capture data only when the signal line 104 is on and the signal line 105 is off. Data can be accessed at the same timing and without a one-cycle delay as when no detection is detected.

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

以上説明したように本発明は、誤りビットがデータビッ
ト部に含まれていることを検出する手段と、誤りビット
を訂正する手段と、訂正済データと訂正前データを切換
える手段と、訂正可能エラー発生報告手段とを有し、誤
りビットがデータビット部に含まれている時のみ、訂正
手段による訂正済データを切換手段により出力し、報告
手段による訂正可能エラー発生信号を送出することによ
り、エラー訂正可能コードのチェックビット部の誤りが
検出された場合でも、誤りが検出されない場合と同じタ
イミングで(即ちアクセスタイムの1サイクルの遅れな
しに)データをアクセスできる効果がある。
As explained above, the present invention provides a means for detecting that an error bit is included in a data bit portion, a means for correcting the error bit, a means for switching between corrected data and uncorrected data, and a correctable error bit. occurrence reporting means, and only when an error bit is included in the data bit part, the corrected data by the correction means is outputted by the switching means, and the reporting means sends out a correctable error occurrence signal. Even if an error in the check bit portion of the correctable code is detected, data can be accessed at the same timing as when no error is detected (that is, without one cycle of access time delay).

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

第1図は本発明の一実施例を示すブロック図、第2図は
データビット部に誤りが検出されない場合のタイムチャ
ート、第3図はデータビット部に誤りか検出された場合
のタイムチャートである。 1・・・ECG (チェックビット生成回路)2・・・
WDR(ライトデータレジスタ)3・・・メモリモジュ
ール 4・・・RDR<リードデータレジスタ)5・・・EC
C(エラーチエツク回路)6・・・誤り訂正回li!8
7・・・データ切換回路特許出願人   茨城日本電気
株式会社代  理  人    弁理士 菅 野   
中[1・、′−5・粂 +tI−,1Ill ひ謬−1L、) ゛(ヂ゛′
Fig. 1 is a block diagram showing an embodiment of the present invention, Fig. 2 is a time chart when no error is detected in the data bit section, and Fig. 3 is a time chart when an error is detected in the data bit section. be. 1... ECG (check bit generation circuit) 2...
WDR (write data register) 3...Memory module 4...RDR<read data register) 5...EC
C (error check circuit) 6...Error correction circuit li! 8
7...Data switching circuit patent applicant: Ibaraki NEC Co., Ltd. Representative: Patent attorney: Sugano
Medium [1・,′-5・粂+tI-,1Ill hi-1L,) ゛(゛゛′

Claims (1)

【特許請求の範囲】[Claims] (1)データビット部とチェックビット部からなるエラ
ー訂正可能コードを利用して誤りビットを訂正する主記
憶装置において、訂正可能誤りが発生していることを検
出し、報告する第1の検出報告手段と、誤りビットがチ
ェックビット部にのみ含まれていることを検出し、報告
する第2の検出報告手段と、誤りビットを訂正する手段
と、訂正済データと訂正前データを切換える切換手段と
を有し、前記訂正手段による訂正済のデータを前記切換
手段により出力し、前記第1および第2の検出報告手段
により主記憶アクセス結果を報告するようにしたことを
特徴とする主記憶装置。
(1) A first detection report that detects and reports that a correctable error has occurred in a main memory device that corrects error bits using an error-correctable code consisting of a data bit section and a check bit section. means, second detection reporting means for detecting and reporting that the error bit is included only in the check bit portion, means for correcting the error bit, and switching means for switching between corrected data and uncorrected data. 2. A main memory device comprising: a main memory device, wherein data corrected by the correction means is outputted by the switching means, and main memory access results are reported by the first and second detection reporting means.
JP1018716A 1989-01-27 1989-01-27 Main storage Pending JPH02197942A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1018716A JPH02197942A (en) 1989-01-27 1989-01-27 Main storage

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1018716A JPH02197942A (en) 1989-01-27 1989-01-27 Main storage

Publications (1)

Publication Number Publication Date
JPH02197942A true JPH02197942A (en) 1990-08-06

Family

ID=11979383

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1018716A Pending JPH02197942A (en) 1989-01-27 1989-01-27 Main storage

Country Status (1)

Country Link
JP (1) JPH02197942A (en)

Similar Documents

Publication Publication Date Title
US6044483A (en) Error propagation operating mode for error correcting code retrofit apparatus
US6018817A (en) Error correcting code retrofit method and apparatus for multiple memory configurations
WO1981001893A1 (en) Self-correcting memory system and method
JP3039455B2 (en) Semiconductor memory device test method and semiconductor memory device
JPH02197942A (en) Main storage
JP3130796B2 (en) Control storage device
SU1167659A1 (en) Storage with self-check
JPH06149685A (en) Memory error recovering circuit
JPH03147041A (en) Error correction system
SU1667156A1 (en) Error correcting memory
JPH0675864A (en) Memory error recovery system
SU1249590A1 (en) Storage with self-checking
JPH01116746A (en) Information processor
JPH0296856A (en) Main storage device
SU1003089A1 (en) Device for testing memory monitoring units
SU746744A1 (en) Self-checking storage
SU970480A1 (en) Self-checking memory device
SU769624A1 (en) Method of generating electric pulses
SU1104588A1 (en) Storage with self-check
SU1531174A1 (en) Memory with correction of single errors
SU410461A1 (en)
SU1547035A1 (en) Memory unit
SU1531175A1 (en) Memory
JPH01231151A (en) Address distributing system in storage device
JPS6223337B2 (en)