JPS5823678B2 - How to use the warm air conditioner - Google Patents

How to use the warm air conditioner

Info

Publication number
JPS5823678B2
JPS5823678B2 JP49132722A JP13272274A JPS5823678B2 JP S5823678 B2 JPS5823678 B2 JP S5823678B2 JP 49132722 A JP49132722 A JP 49132722A JP 13272274 A JP13272274 A JP 13272274A JP S5823678 B2 JPS5823678 B2 JP S5823678B2
Authority
JP
Japan
Prior art keywords
circuit
check
check bit
error
bit generation
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
Application number
JP49132722A
Other languages
Japanese (ja)
Other versions
JPS5158838A (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
Nippon Electric Co 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 Nippon Electric Co Ltd filed Critical Nippon Electric Co Ltd
Priority to JP49132722A priority Critical patent/JPS5823678B2/en
Publication of JPS5158838A publication Critical patent/JPS5158838A/ja
Publication of JPS5823678B2 publication Critical patent/JPS5823678B2/en
Expired legal-status Critical Current

Links

Landscapes

  • Techniques For Improving Reliability Of Storages (AREA)
  • Detection And Correction Of Errors (AREA)

Description

【発明の詳細な説明】 本発明は自己チェック機能を有する誤り訂正回路、特に
情報処理装置等に於て使用されるデータを検査し、誤り
を検出し、誤り箇所を修正する回路の検査に関する。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to an error correction circuit having a self-checking function, and particularly to a circuit that inspects data used in information processing devices, detects errors, and corrects error locations.

従来一般の大容量記憶装置では信頼性の向上を目的とし
て、誤り訂正回路すなわち1ビツトエラー訂正、2ビツ
トエラー検出回路がもうけられているのが普通である。
Conventional large-capacity storage devices generally include an error correction circuit, that is, a 1-bit error correction circuit and a 2-bit error detection circuit, for the purpose of improving reliability.

第1図に従来の誤り訂正回路を示す。FIG. 1 shows a conventional error correction circuit.

図に於てWDRは書込データレジスタ、RDRは読出デ
ータレジスタ、RCRは読出チェックピットレジスタ、
AO,AIはAND回路、01はOR回路、CGはチェ
ックビット発生回路、CKはチェック回路、SYはシン
ドローム回路、DECは解読器、CORは訂正回路、■
0はインバータ回路である。
In the figure, WDR is a write data register, RDR is a read data register, RCR is a read check pit register,
AO and AI are AND circuits, 01 is an OR circuit, CG is a check bit generation circuit, CK is a check circuit, SY is a syndrome circuit, DEC is a decoder, COR is a correction circuit, ■
0 is an inverter circuit.

本回路では書込時にWR倍信号II OIIとなってA
ND回路AOが選択され、その結果、書込データが書込
データレジスタWDRからOR回路01、訂正回路CO
Rを介してチェックビット発生回路CGに送出される。
In this circuit, when writing, the WR multiplied signal II OII becomes A
ND circuit AO is selected, and as a result, write data is transferred from write data register WDR to OR circuit 01 and correction circuit CO.
It is sent to the check bit generation circuit CG via R.

そのときにチェックビット発生回路CGから書込データ
に対応するチェックビットが発生し、それがメモリME
Mに書込まれる。
At that time, a check bit corresponding to the write data is generated from the check bit generation circuit CG, and it is sent to the memory ME.
Written to M.

読出時には読出データは読出データレジスタRDRから
チェック回路CKに送出され、該チェック回路から読出
データに対するチェックビットが発生する。
At the time of reading, the read data is sent from the read data register RDR to the check circuit CK, and the check circuit generates a check bit for the read data.

そのチェックビットはメモリMEMから読出されたチェ
ックビットとともにシンドローム回路SYに送出されシ
ンドロームを発生する。
The check bit is sent to the syndrome circuit SY together with the check bit read from the memory MEM to generate a syndrome.

読出されたデータ又はチェックビットに誤りがあった場
合には、シンドロームが解読器DECにより解読され、
該エラービットは訂正回路CQRにおいて訂正される。
If there is an error in the read data or check bit, the syndrome is decoded by the decoder DEC,
The error bit is corrected in correction circuit CQR.

この場合チェックビット発生回路CG又はチェック回路
CKに不良又は故障があった時には誤ったチェックビッ
トを書込むか又は読出データに対し誤ったチェックビッ
トを発生することになる。
In this case, if the check bit generation circuit CG or the check circuit CK has a defect or failure, an erroneous check bit will be written or an erroneous check bit will be generated for read data.

従ってこの場合に於て第1図に示された如き従来の回路
では、不良が1ビツトエラーとなるシンドロームを発生
する場合には、誤り訂正回路CORは読出データ又はチ
ェックビットに1ビツトエラーがあったと判断し誤り訂
正を行ってしまう欠点がある。
Therefore, in this case, in the conventional circuit as shown in FIG. 1, if a defect causes a syndrome in which a 1-bit error occurs, the error correction circuit COR determines that there is a 1-bit error in the read data or check bit. However, the disadvantage is that error correction is performed.

本発明は従来の技術に内在する上記欠点を克服する為に
なされたものであり、従って本発明の目的は、誤り訂正
回路が正常動作をしていることをチェックする回路を設
けて上記の如き誤訂正されるのを除去し、信頼性の向上
を計るための新規な誤り訂正回路を提供することにある
The present invention has been made in order to overcome the above-mentioned drawbacks inherent in the prior art, and an object of the present invention is to provide a circuit for checking that the error correction circuit is operating normally. The object of the present invention is to provide a new error correction circuit for eliminating erroneous corrections and improving reliability.

本発明の上記目的は、書込データよりチェックビットを
発生するチェックビット発生回路と、読出データより誤
りを検出するチェック回路と、該チェック回路から発生
したチェックビットとメモリから読出されたチェックビ
ットとによりエラーチェックコードすなわち、シンドロ
ームを発生するシンドローム回路と、エラービットの解
読訂正を行う訂正回路とを有する誤り検出訂正回路に於
て、書込時及び読出時ともに書込データあるいは読出デ
ータを前記チェックビット発生回路及びチェック回路へ
送出するゲート回路と、前記チェックビット発生回路及
びチェック回路の出力を比較する比較回路とを具備して
おり、前記比較回路の出力により前記チェックビット発
生回路及びチェック回路のチェックを行うことを特徴と
する自己チェック機能を有する誤り訂正回路によって達
成される。
The above object of the present invention is to provide a check bit generation circuit that generates a check bit from write data, a check circuit that detects an error from read data, and a check bit generated from the check circuit and a check bit read from a memory. In an error detection and correction circuit having an error check code, that is, a syndrome circuit that generates a syndrome, and a correction circuit that decodes and corrects error bits, the written data or read data is checked as described above during both writing and reading. The circuit includes a gate circuit for sending out data to the bit generation circuit and the check circuit, and a comparison circuit for comparing the outputs of the check bit generation circuit and the check circuit. This is achieved by an error correction circuit having a self-checking function.

即ち本発明は、上記の如く、書込み及び読出データに誤
り検出、修正用チェックビットを付加した記憶装置に於
て、書込データからチェックビットを発生するチェック
ビット発生回路と、読出データに従いチェックビットを
発生するチェック回路が同等な回路構成である場合に、
書込み時には書込データをチェックビット発生回路と更
にチェック回路へ送出することにより、又読出時には読
出データをチェック回路と更にチェックビット発生回路
に送出することにより両回路の出力を比較し両回路のチ
ェックを行うことを特徴とするものである。
That is, the present invention provides a check bit generation circuit that generates check bits from write data and a check bit generating circuit that generates check bits according to read data in a storage device in which check bits for error detection and correction are added to write and read data as described above. If the check circuit that generates has an equivalent circuit configuration,
When writing, the write data is sent to the check bit generation circuit and then to the check circuit, and when reading, the read data is sent to the check circuit and then to the check bit generation circuit, and the outputs of both circuits are compared to check both circuits. It is characterized by performing the following.

次に本発明をその良好な一実施例について第2図を参照
しながら更に具体的に説明しよう。
Next, a preferred embodiment of the present invention will be explained in more detail with reference to FIG.

第2図は本発明に係る自己チェック機能を有する誤り訂
正回路の一実施例を示す構成図である。
FIG. 2 is a block diagram showing an embodiment of an error correction circuit having a self-checking function according to the present invention.

図に於て、CPUは中央処理装置、WDRは書込データ
レジスタ、AO>AI >A2 > A3はAND回路
、01 t 02はOR回路、CORは訂正回路、CG
はチェックビット発生回路、RDRは読出データレジス
タ、RCRは読出チェックビットレジスタ、CKはチェ
ック回路、SYはシンドローム回路、DECは解読器、
CPは比較回路、MEMはメモリ、IOはインバータ回
路である。
In the figure, CPU is a central processing unit, WDR is a write data register, AO>AI>A2>A3 is an AND circuit, 01 t 02 is an OR circuit, COR is a correction circuit, CG
is a check bit generation circuit, RDR is a read data register, RCR is a read check bit register, CK is a check circuit, SY is a syndrome circuit, DEC is a decoder,
CP is a comparison circuit, MEM is a memory, and IO is an inverter circuit.

本発明に於ては、書込時及び読出時共に書込データ或い
は読出データをチェックビット発生回路CG及びチェッ
ク回路CKへ送出する様に、回路IO、レジスタWDR
,RDRと訂正回路CORとの間に、AND回路AOt
AI、OR回路01から成るゲート回路が設けられてい
るのみならず、インバータ回路■0、書込データレジス
タWDR1読出データレジスタRDRとチェック回路C
Kとの間には、AND回路A 2 t A 3及びOR
回路02から成るゲート回路が設けられている。
In the present invention, the circuit IO and the register WDR are configured so that write data or read data is sent to the check bit generation circuit CG and the check circuit CK during both writing and reading.
, RDR and the correction circuit COR, an AND circuit AOt
Not only is a gate circuit consisting of AI and OR circuit 01 provided, but also an inverter circuit 0, write data register WDR1 read data register RDR, and check circuit C.
AND circuit A 2 t A 3 and OR
A gate circuit consisting of circuit 02 is provided.

またチェックビット発生回路CGからの発生するチェッ
クビットとチェック回路CKから発生するチェックビッ
トとを比較し、チェックする様に、回路CG及びCKの
出力には比較回路CPが接続されており、該回路CPの
出力はメモリMEMに結合されている。
Further, a comparison circuit CP is connected to the outputs of the circuits CG and CK so as to compare and check the check bit generated from the check bit generation circuit CG and the check bit generated from the check circuit CK. The output of CP is coupled to memory MEM.

書込時には書込データが書込データレジスタWDRに保
持され、WRにII OIIが入来すると該書込データ
はAND回路AO,A3、OR回路01.02、訂正回
路CORを介して、チェックビット発生回路CG及びチ
ェック回路CKに送出される。
During writing, the write data is held in the write data register WDR, and when II OII is input to WR, the write data is sent to the check bit via the AND circuit AO, A3, the OR circuit 01.02, and the correction circuit COR. It is sent to the generation circuit CG and check circuit CK.

チェックビット発生回路CGとチェック回路CKの出力
は夫々比較回路CPに送られる。
The outputs of the check bit generation circuit CG and the check circuit CK are sent to the comparison circuit CP, respectively.

チェックビット発生回路CGとチェック回路CKとは同
等な回路構成であり、両回路が正常であれば両回路の出
力は等しく比較回路CPは正常であると判断しメモリM
EMへの書込を実行する。
The check bit generation circuit CG and the check circuit CK have the same circuit configuration, and if both circuits are normal, the outputs of both circuits are equal and the comparison circuit CP determines that the memory M is normal.
Executes writing to EM.

チェックビット発生回路CG又はチェック回路CKに不
良があった場合には、同時に同一場所で不良を発生した
場合を除けば、両回路の出力は異なり比較回路CPは異
常と判断し該比較回路CPの出力によってメモリMEM
への書込動作を中止する。
If there is a defect in the check bit generation circuit CG or the check circuit CK, the outputs of both circuits will be different, and the comparator circuit CP will determine that it is abnormal and the comparator circuit CP will Memory MEM by output
Aborts the write operation to.

読出時にはメモリMEMから読出されたデータ及びデー
タに附随するチェックビットは各レジスタRDR,RC
Rに保持される。
At the time of reading, the data read from the memory MEM and the check bits accompanying the data are stored in each register RDR, RC.
It is held in R.

WRが1111であると読出データはAND回路AI、
A2、OR回路01,02、訂正回路CORを介してチ
ェックビット発生回路CG及びチェック回路CKに送出
される。
When WR is 1111, the read data is sent to the AND circuit AI,
A2, the OR circuits 01 and 02, and the correction circuit COR are sent to the check bit generation circuit CG and the check circuit CK.

チェックビット発生回路CGとチェック回路CKの出力
は比較回路CPに送られる。
The outputs of the check bit generation circuit CG and the check circuit CK are sent to the comparison circuit CP.

比較回路CPは前述した如く回路の正常、異常を判断す
る。
The comparison circuit CP determines whether the circuit is normal or abnormal as described above.

正常であると判断した時にはチェック回路CKの出力は
シンドローム回路SYに送出され読出チェックピットレ
ジスタRCRの出力とによりシンドロームを発生する。
When it is determined that it is normal, the output of the check circuit CK is sent to the syndrome circuit SY, and a syndrome is generated by the output of the read check pit register RCR.

シンドロームが訂正可能エラーと判断した場合には、シ
ンドロームは解読器DECにより解読され該エラービッ
トを訂正するための訂正信号を発生する。
If the syndrome is determined to be a correctable error, the syndrome is decoded by the decoder DEC and a correction signal is generated to correct the error bit.

訂正信号は訂正回路CORに送出され、該エラービット
の訂正を行う。
The correction signal is sent to the correction circuit COR to correct the error bit.

訂正されたデータは再びチェックビット発生回路CGに
送出され新しいチェックビットを発生する。
The corrected data is again sent to the check bit generation circuit CG to generate a new check bit.

この場合には比較回路CPの判断は無視される。In this case, the judgment of the comparison circuit CP is ignored.

第3図は比較回路CP及びその周辺部の詳細なブロック
構成図である。
FIG. 3 is a detailed block diagram of the comparator circuit CP and its peripheral parts.

チェック回路CK及びチェックピット発生回路CGに入
力されるデータD1〜D64 を64ビツト、それらの
回路から出力されるチェックビットC1〜C8,C11
−C8/を8ビツトとした場合を一例として示されてい
る。
64 bits of data D1 to D64 are input to the check circuit CK and check pit generation circuit CG, and check bits C1 to C8 and C11 are output from those circuits.
-C8/ is shown as an example of 8 bits.

チェック回路CK及びチェックピット発生回路CGばH
ammingコードを発生する為の回路であり、このH
a mm i ng :7−ドについては、例えばごI
BMJournal of research and
development1970年7月、Vol 、
14、/164”の395頁〜400頁に記載されてお
り、これらの回路は周知のものである。
Check circuit CK and check pit generation circuit CGBAH
This is a circuit for generating an amming code, and this H
a mm i ng: For example, please refer to
BMJournal of research and
developmentJuly 1970, Vol.
14, /164'', pages 395 to 400, and these circuits are well known.

比較回路CPは排他的論理和回路XOR及び論理和回路
QRにより構成されている。
The comparison circuit CP is composed of an exclusive OR circuit XOR and an OR circuit QR.

本発明は以上説明した様に従来の回路に簡単な回路を付
加するだけでチェックビットを発生する回路のチェック
を行うことができその結果誤訂正が防止され、信頼性の
向上をもたらす効果がある。
As explained above, the present invention can check the circuit that generates check bits by simply adding a simple circuit to the conventional circuit, thereby preventing erroneous corrections and improving reliability. .

以上本発明はその良好な一実施例について説明されたが
、ここで説明された実施例によってのみ本願発明が限定
されるものでないことは勿論である。
Although the present invention has been described above with respect to one preferred embodiment thereof, it goes without saying that the present invention is not limited only to the embodiment described here.

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

第1図は従来の誤り訂正回路を示す概略構成図、第2図
は本発明に係る誤り訂正回路の一実施例を示す概略構成
図、第3図は比較回路の詳細なブロック構成図である。 □CPU・・・・・・中央処理装置、MEM・
・・・・・メモリ、WDR・・・・・・書込デー、タレ
ジスタ、RDR・・・・・・読出データレジスタ、RC
R−・肩・読出チェックビットレジスタ、IO・−・・
・・インバータ回路、AO〜A3・・・・・・AND回
路、01,02・−・・・・OR回路、COR・−・・
・・訂正回路、CG・−・・・チェックピット発生回路
、CK・・・・・・チェック回路、SY・・・・・・シ
ンドローム回路、CP・・・・・・比較回路、DEC・
・・・・・解読器、XOR・・・・・・排他的論理和回
路、OR・・・・・・論理和回路。
FIG. 1 is a schematic block diagram showing a conventional error correction circuit, FIG. 2 is a schematic block diagram showing an embodiment of the error correction circuit according to the present invention, and FIG. 3 is a detailed block diagram of a comparison circuit. . □CPU・・・Central processing unit, MEM・
...Memory, WDR...Write data, data register, RDR...Read data register, RC
R-/shoulder/read check bit register, IO...
...Inverter circuit, AO~A3...AND circuit, 01,02...OR circuit, COR...
・・Correction circuit, CG・・・Check pit generation circuit, CK・・・Check circuit, SY・・・Syndrome circuit, CP・・・Comparison circuit, DEC・
... Decoder, XOR ... Exclusive OR circuit, OR ... Logical sum circuit.

Claims (1)

【特許請求の範囲】[Claims] 1 書込データよりチェックビットを発生するチェック
ビット発生回路と、読出データより誤りを検出するチェ
ック回路と、エラーピットの解読訂正を行う訂正回路と
を有する誤り検出訂正回路に於て、書込時及び読出時と
もに書込データ或いは読出データを前記チェックビット
発生回路及びチェック回路へ送出するゲート回路と、前
記チェックビット発生回路及びチェック回路の出力を比
較する比較回路とを具備しており、前記比較回路の出力
により前記チェックビット発生回路及びチェック回路の
チェックを行うことを特徴とする自己チェック機能を有
する誤り訂正回路。
1. In an error detection and correction circuit that has a check bit generation circuit that generates check bits from write data, a check circuit that detects errors from read data, and a correction circuit that decodes and corrects error pits, and a gate circuit that sends write data or read data to the check bit generation circuit and the check circuit during reading, and a comparison circuit that compares the outputs of the check bit generation circuit and the check circuit. An error correction circuit having a self-checking function, characterized in that the check bit generation circuit and the check circuit are checked based on the output of the circuit.
JP49132722A 1974-11-20 1974-11-20 How to use the warm air conditioner Expired JPS5823678B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP49132722A JPS5823678B2 (en) 1974-11-20 1974-11-20 How to use the warm air conditioner

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP49132722A JPS5823678B2 (en) 1974-11-20 1974-11-20 How to use the warm air conditioner

Publications (2)

Publication Number Publication Date
JPS5158838A JPS5158838A (en) 1976-05-22
JPS5823678B2 true JPS5823678B2 (en) 1983-05-17

Family

ID=15088041

Family Applications (1)

Application Number Title Priority Date Filing Date
JP49132722A Expired JPS5823678B2 (en) 1974-11-20 1974-11-20 How to use the warm air conditioner

Country Status (1)

Country Link
JP (1) JPS5823678B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9904595B1 (en) * 2016-08-23 2018-02-27 Texas Instruments Incorporated Error correction hardware with fault detection

Also Published As

Publication number Publication date
JPS5158838A (en) 1976-05-22

Similar Documents

Publication Publication Date Title
JP2772391B2 (en) Bad data algorithm
US8140940B2 (en) Method and apparatus for controlling memory
US8738989B2 (en) Method and apparatus for detecting free page and a method and apparatus for decoding error correction code using the method and apparatus for detecting free page
CN111428280B (en) SoC (System on chip) security chip key information integrity storage and error self-repairing method
JPS5823678B2 (en) How to use the warm air conditioner
JP3170145B2 (en) Memory control system
JPH01292550A (en) Error detecting circuit
JPS6327940A (en) Storage controller
JP2993099B2 (en) Redundant memory device
JPH0756816A (en) Controller for memory
JPS5837638B2 (en) Kiokusouchi
JPH06301604A (en) Storage reproducing system
JPH02143352A (en) Memory error detection and correction system
JPS6010661B2 (en) Error checking method
JPS6240742B2 (en)
JPH01309421A (en) Error correction system
JPS60258663A (en) Memory error processing circuit
JPH04311236A (en) Memory error processing circuit
JPH03111953A (en) Method for detecting fault of memory address
JPS6232822B2 (en)
JPS61278100A (en) Semiconductor memory device
JPH01223546A (en) Memory
JPS59217298A (en) Memory error relieve system
JPH01140356A (en) System for checking ecc circuit
JPS6155131B2 (en)