JPS5841499A - Error correction circuit - Google Patents

Error correction circuit

Info

Publication number
JPS5841499A
JPS5841499A JP56140500A JP14050081A JPS5841499A JP S5841499 A JPS5841499 A JP S5841499A JP 56140500 A JP56140500 A JP 56140500A JP 14050081 A JP14050081 A JP 14050081A JP S5841499 A JPS5841499 A JP S5841499A
Authority
JP
Japan
Prior art keywords
data
error correction
correction code
syndrome
circuit
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.)
Granted
Application number
JP56140500A
Other languages
Japanese (ja)
Other versions
JPS6232825B2 (en
Inventor
Katsumi Fujinami
藤浪 克美
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
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 NEC Corp, Nippon Electric Co Ltd filed Critical NEC Corp
Priority to JP56140500A priority Critical patent/JPS5841499A/en
Publication of JPS5841499A publication Critical patent/JPS5841499A/en
Publication of JPS6232825B2 publication Critical patent/JPS6232825B2/ja
Granted legal-status Critical Current

Links

Classifications

    • G—PHYSICS
    • G06—COMPUTING OR CALCULATING; COUNTING
    • G06F—ELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00—Error detection; Error correction; Monitoring
    • G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/08—Error detection or correction by redundancy in data representation, e.g. by using checking codes
    • G06F11/10—Adding special bits or symbols to the coded information, e.g. parity check, casting out 9's or 11's
    • G06F11/1076—Parity data used in redundant arrays of independent storages, e.g. in RAID systems
    • G—PHYSICS
    • G06—COMPUTING OR CALCULATING; COUNTING
    • G06F—ELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00—Error detection; Error correction; Monitoring
    • G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/08—Error detection or correction by redundancy in data representation, e.g. by using checking codes
    • G06F11/10—Adding special bits or symbols to the coded information, e.g. parity check, casting out 9's or 11's
    • G06F11/1008—Adding special bits or symbols to the coded information, e.g. parity check, casting out 9's or 11's in individual solid state devices

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Techniques For Improving Reliability Of Storages (AREA)

Abstract

PURPOSE:To decrease the time for rewrite and to simplify the control, by using an error correction code corrector which takes an exclusive logical sum between an error correction code and a syndrome generated from a readout data. CONSTITUTION:A readout data (i) is inputted to an error correction code generator 1 to output an error correction code (c). The error correction code (c) and a readout check bit (j) are inputted to an exclusive OR circuit 2, where a syndrome (d) is generated. The readout data (i) is corrected at a data corrector 3, and a correction data (e) and a data correction display signal (m) are outputted. The error correction code (c) is inputted to an error correction code corrector 4, where a wirte check bit (n) taking an exclusive logical sum with the syndrome (d) is outputted, when the data correction display signal (m) is supplied. This write check bit (m) becomes the write check bit (n) for rewrite, and the corrected data and the write check bit for rewrite can be generated at the same time.

Description

【発明の詳細な説明】 本発明は、誤り訂正回路、特に、記憶装置における読出
データの訂正および再書込与■ための書込チェックビッ
トの発生を行なう誤り訂正回路に関する。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to an error correction circuit, and particularly to an error correction circuit that corrects read data in a storage device and generates a write check bit for rewriting data.

従来の誤り訂正回路は、書込時には書込データに応じて
続出時には読出データに応じて再書込時には訂正データ
に広じて誤り訂正符号を発生する誤ジ訂正符号発生器と
、前記誤り訂正符号と続出チェックビットとの排他的論
理和をと9て書込でないと齢にシンドロームを出力する
排他的論理和回路と、I!fiI記シンドロームが前記
読出データの訂正を示しているときに前記続出データを
前記′7/ドロームに従って訂正して前記再書込時に前
記誤り訂正符号とともに記憶媒体に1話込むための前記
訂正データを出力するデータ訂正器とを含んで構成され
る。
A conventional error correction circuit includes an error correction code generator that generates an error correction code according to written data when writing, according to read data when rewriting, and spreads to corrected data when rewriting; An exclusive OR circuit that outputs a syndrome if the code and successive check bits are not written as 9, and I! When the fiI syndrome indicates correction of the read data, the subsequent data is corrected in accordance with the '7/drome, and the correction data is read into the storage medium together with the error correction code at the time of rewriting. and a data corrector for outputting data.

すなわち、従来の誤p訂正回路は、誤り訂正符号発生i
t共用するもので、読出データに訂正可能なりApが存
在した場合続出データおよび読出チェックビットの誤り
を訂正し、再書込みのための誤り訂正符号を発生するK
は@1の誤フ訂正時に記憶媒体から読み出した続出デー
タおよび読出チェックビットから誤り訂正符号発生器を
介して排他的論理和回路圧よりシンドロームを発生させ
、前記シンドロームにより読出データの誤りを訂正して
訂正データを出力する。@2の符号発生時に記憶媒体に
格納されて−る情報を正しく書龜換えるためには、前記
訂正データを誤り訂正符号発生器に供給して誤シ訂正符
号を発生し、前記訂正データとともに再書込みする。
In other words, the conventional error p correction circuit generates an error correction code i
t is shared, and if there is a correctable Ap in the read data, it corrects the error in the subsequent data and the read check bit, and generates an error correction code for rewriting.
generates a syndrome from the successive data read from the storage medium and the read check bit at the time of @1 error correction through an error correction code generator using the exclusive OR circuit pressure, and corrects the error in the read data using the syndrome. output the corrected data. In order to correctly rewrite the information stored in the storage medium when the code @2 is generated, the correction data is supplied to an error correction code generator to generate an error correction code, and the correction data is rewritten along with the correction data. Write.

し九がりて、読出データの誤pを訂正し、再書込みのた
めの誤り訂正符号を発生するためKは、誤り訂正符号発
生器を前記誤り訂正時と前記符号発生時との2度使用し
なければならない。
Then, in order to correct the error p in the read data and generate an error correction code for rewriting, K uses the error correction code generator twice, once for the error correction and once for the code generation. There must be.

以下に、従来の誤り訂正回路について図面を参照して説
明する。
A conventional error correction circuit will be described below with reference to the drawings.

第1図は従来の誤シ訂正回路の一例を含むブロック図で
誤り訂正回路BCCの出力@IICは記憶媒体Mが接続
され、入力側圧はレジスタ几を介して選択回路Sが接続
されている。この誤p訂正回路ECCは、誤り訂正符号
発生器lと、排他的論理和回路2と、データ訂正器3と
、レジスタ20とで構成されている。
FIG. 1 is a block diagram including an example of a conventional error correction circuit. The output @IIC of the error correction circuit BCC is connected to a storage medium M, and the input side pressure is connected to a selection circuit S via a register. This error p correction circuit ECC is composed of an error correction code generator 1, an exclusive OR circuit 2, a data corrector 3, and a register 20.

第2図は第1図に示す従来例の動作を説明するためのタ
イムチャートである。
FIG. 2 is a time chart for explaining the operation of the conventional example shown in FIG.

書込動作の場合は、書込を指示する書込信号kが供給さ
れることにより選択回路Sで書込データaが選択されて
データbとなりて出力される。このデータbすなわち書
込データ暑は誤シ訂正符号発生器1に供給されるので、
誤フ訂正符号発生器1は誤り訂正符号Cを発生する。こ
の誤り訂正符号Cは書込データaとともに記憶媒体MK
書き一込まれる。
In the case of a write operation, when a write signal k instructing writing is supplied, write data a is selected by a selection circuit S and output as data b. Since this data b, that is, the write data is supplied to the error correction code generator 1,
An error correction code generator 1 generates an error correction code C. This error correction code C is applied to the storage medium MK together with the write data a.
It is written down.

読出動作の場合にはまず誤り訂正期間T1で、記憶媒体
Mから読み出された続出データgおよび続出チェックピ
ットhはレジスタB、に格納され続出データi、読出チ
ェックビットjとして出力される。
In the case of a read operation, first during the error correction period T1, successive data g and successive check pits h read from storage medium M are stored in register B and output as successive data i and read check bit j.

この読出データiおよび読出チェックビットjは読出時
に誤り訂正を行い、再書込時に符号発生を行うために用
いられる。
The read data i and read check bit j are used for error correction during reading and for code generation during rewriting.

まず、続出時には、選択回路Sには書込信号kが読出を
指示しているが再書込信号lは再書込を指示していない
。このため選択回路sti供給される書込テータa、読
出データlおよび訂正データfのうち読出データlを選
択してデータbとして出力する。
First, during successive output, the write signal k instructs the selection circuit S to read, but the rewrite signal l does not instruct rewrite. Therefore, the selection circuit sti selects the read data l out of the write data a, the read data l, and the correction data f supplied to it and outputs it as the data b.

誤り訂正符号発生器lはデータbすなわち続出データ1
から誤p訂正符号c1に発生する。
The error correction code generator l generates data b, that is, successive data 1.
An error p correction code c1 is generated from the error p correction code c1.

排他的論理和回路2は誤フ訂正符号Cと読出チ鳳、クビ
ットjとO排他的論理和をとつてシンドロームdを出力
する。なお、この排他的論理和回路2には書込信号kが
書込を示していないのでシンドロ・−ムdの出力を禁止
されることはない。
The exclusive OR circuit 2 performs an exclusive OR operation on the error correcting code C, the readout signal, and the bit j, and outputs the syndrome d. Note that since the write signal k does not indicate writing to the exclusive OR circuit 2, the output of the syndrome -m d is not prohibited.

データ訂正器3はシフドロー、ムdi解読して訂正位置
を得たのち、データbすなわち読出データkl訂正して
訂正データeを出力する。この訂正データeはレジスタ
5に格納され訂正データfとして出力される。
The data corrector 3 decodes shift draw and mudi to obtain a correction position, then corrects data b, that is, read data kl, and outputs correction data e. This correction data e is stored in the register 5 and output as correction data f.

次に、符号発生期間T2で書込信号には書込を指示する
とともに、再書込信号lが再書込を指示するため、誤り
訂正回路F20Cは再書込時の状態になる。これKよフ
、選択回路Sは訂正データfを選択してデータbとして
出力する。
Next, in the code generation period T2, the write signal instructs writing, and the rewrite signal l instructs rewriting, so that the error correction circuit F20C enters the state at the time of rewriting. After this, the selection circuit S selects the corrected data f and outputs it as data b.

誤り訂正符号発生器1はデータbすなわち訂正データf
に従った誤り訂正符号Cを出力する。
The error correction code generator 1 generates data b, that is, correction data f.
An error correction code C according to the following is output.

排他的論理和回路2は書込信号kが書込を指示している
ので、シンドロームの出力を禁止され、シンドロームd
としては誤りなしを示す符号が出力される。このため、
データ訂正器3はデータbすなわち訂正データfi訂正
することなく訂正データeとして出力される。
Since the write signal k instructs the exclusive OR circuit 2 to write, the exclusive OR circuit 2 is prohibited from outputting the syndrome, and the syndrome d
, a code indicating no error is output. For this reason,
The data corrector 3 outputs the data b, that is, the corrected data fi, as corrected data e without being corrected.

それゆえ、記憶媒体MKは訂正データfと、この訂正デ
ータfに対する誤り訂正符号Cとが再書込されることと
なる。
Therefore, the correction data f and the error correction code C for this correction data f are rewritten in the storage medium MK.

このように、従来の誤り訂正回路は記憶媒体Mから読み
出した続出データgおよび読出チェックビットhに訂正
可能な誤りが存在した場合、読出データおよび読出チェ
ックピットの誤シを訂正し訂正データeおよび再書込み
の九めの誤シ訂正符号Cを発生するときに、誤り訂正は
誤シ訂正期間T1だけかかハ誤シ訂正符号の発生は符号
発生期間T2だけかかるので、続出データの再書込には
(Tl+T2)の期間かかり、なおかつ誤り訂正符号発
生器を2度使用するため制御が複雑でかつ遅いという欠
点がありた。
In this way, when there is a correctable error in the successive data g and read check bit h read from the storage medium M, the conventional error correction circuit corrects the error in the read data and read check pit, and corrects the corrected data e and the read check bit h. When generating the ninth error correction code C for rewriting, the error correction takes only the error correction period T1, or the generation of the error correction code takes the code generation period T2, so it is difficult to rewrite successive data. It takes a period of (Tl+T2), and since the error correction code generator is used twice, the control is complicated and slow.

すなわち、従来の誤り訂正回路は続出データの再書込時
間が多大であるとともに、制御が複雑になるという欠点
があった。
That is, the conventional error correction circuit has disadvantages in that it takes a long time to rewrite successive data and the control is complicated.

本発明の目的は再書込時間を短縮で睡るとともに、制御
が簡巣になる誤り訂正回路を提供することにおる。
SUMMARY OF THE INVENTION An object of the present invention is to provide an error correction circuit that reduces rewriting time and facilitates control.

すなわち、本発明の目的は誤り訂正符号発生器において
続出データより発生した第2のチェッ“クビット誤り訂
正符号をシンドロームと排他的論理和をとって書込チェ
ックビットを発生させることにより上記欠点を解決し、
読出データQ誤り訂正と同時に再書込みのための書込チ
ェックビットの発生を可能にした誤り訂正回路を提供す
ることにある。
That is, an object of the present invention is to solve the above-mentioned drawbacks by generating write check bits by exclusive ORing the second check bit error correction code generated from successive data with the syndrome in the error correction code generator. death,
An object of the present invention is to provide an error correction circuit that can generate a write check bit for rewriting simultaneously with error correction of read data Q.

本発明oiA、o訂正回路は、書込時には書込データに
応じて続出時には続出データに応じて誤シ軒正符号を発
生する誤シ訂正符号発生器と、”、゛前記誤り訂正符号
と続出チェックビットとの排他的論理和?とりて書込で
ないと色にシンドロームを出力する排他的論理和回路と
、前記シンドロームが前記続出データの訂正を示してい
るときにデータ訂正安示信号を出力するとともに前記続
出データを前記シンドロームに従りて訂正して再書込時
に記憶媒体に書き込むための訂正データを出力するデー
タ訂正器と、前記データ訂正表示信号が供給されたと亀
に稼前記誤り訂正符号と前記シンドロームとの排他的論
理和をとタ前記データ訂正表示信号が供給されないとき
Kは前記誤り訂正符号をそのまま前記再書込時にl!t
r記記憶媒体に書き込むための書込チェックビットを発
生する誤り訂正符号訂正器とを含んで構成される。
The oiA, o correction circuit of the present invention includes an error correction code generator that generates an error correction code according to written data during writing and according to successive data when writing, Exclusive OR with check bit?An exclusive OR circuit that outputs a syndrome in color if it is not written, and outputs a data correction indication signal when the syndrome indicates correction of the successive data. a data corrector that corrects the successive data according to the syndrome and outputs corrected data to be written to a storage medium at the time of rewriting; and an error correction code that operates when the data correction display signal is supplied. When the data correction indication signal is not supplied, K uses the error correction code as it is at the time of rewriting l!t.
and an error correction code corrector that generates write check bits for writing to the storage medium.

すなわち、本発明の誤り訂正回路は、記憶媒体から読み
出したデータの誤り検出および訂正を行なう誤り訂正回
路で書込み用第1のチェックビットの発生および続出デ
ータから第2のテ具ツクビー仁7 ツトを発生する誤り訂正符号発生器と読出した第1のチ
ェックビットと第2のチェックビットとの一致、不一致
によりシンドロームを発生する排他的論理回路とシンド
ロームにより読出データの誤pを訂正する訂正器および
シンドロームにより第2のチェックビットを反転させ、
再書込み用第1のチェックピッ)f発生する誤フ訂正符
号訂正器とにより構成され、続出データの訂正と同時に
再書込み用第1のチェックビットを発生するように構成
される。
That is, the error correction circuit of the present invention detects and corrects errors in data read from a storage medium, and generates a first check bit for writing and detects a second check bit from successive data. An exclusive logic circuit that generates a syndrome based on a match or mismatch between an error correction code generator and a read first check bit and second check bit, a corrector that corrects an error p in read data based on the syndrome, and a syndrome. inverts the second check bit by
and an error correction code corrector which generates a first check bit for rewriting f), and is configured to generate a first check bit for rewriting at the same time as the successive data is corrected.

すなわち1本発明の誤り訂正回路は書き込み用第1のチ
ェックビットの発生および読出データかチェックビット
によりシンドロームを発生する排他的論理回路とシンド
ロームにより続出データの誤りを訂正する訂正器および
シンドロームにより第2のチェックビットを反転させ、
再書込み用第1のチェックビットヲ発生する誤り訂正符
号訂正器とにより構成される。
In other words, the error correction circuit of the present invention includes an exclusive logic circuit that generates a syndrome by generating a first check bit for write and read data or a check bit, a corrector that corrects errors in successive data by the syndrome, and a second error correction circuit by the syndrome. invert the check bit of
and an error correction code corrector that generates a first check bit for rewriting.

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

第3図は本発明の一実施?1Jt″含むブロック図で、
第3図に示す誤り訂正回路ECC’は誤り訂正符号Cを
発生する誤り訂正符号発生器1と、誤9訂り 正符号Cと読出チェックピットtにもとづいてシンドロ
ームdを発生する排他的論理和回路2と、シンドローム
dによシ、続出データlの訂正を行なうとともに読出デ
ータlが訂正されたと色にデータ訂正衣示信号mf出力
するデータ訂正器3と。
Is Figure 3 an implementation of the present invention? In the block diagram including 1Jt'',
The error correction circuit ECC' shown in FIG. A circuit 2, and a data corrector 3 which corrects successive data l according to syndrome d and outputs a data correction indication signal mf to indicate that read data l has been corrected.

データ訂正表示信号mが供給されたときに誤り訂正符号
Cとシンドロームd との排他的論理和をとうて書込チェックピッ)nを発生
させるvAり訂正符号訂正器4とで構成される。
The error correction code corrector 4 performs an exclusive OR of the error correction code C and the syndrome d to generate a write check signal n when the data correction display signal m is supplied.

次に、第3図に示す誤り訂正回路の詳細な動作について
@4図を参照して説明する。
Next, the detailed operation of the error correction circuit shown in FIG. 3 will be explained with reference to FIG.

/まず、書込動作の場合、誤り訂正期間Tl“で書込を
指示する書込信号kが供給されるため、書込データaが
選択回路S′にょ夛選択されデーpbとして誤り訂正符
号発生器lに入力されて誤p訂正符号Cが出力される。
/First, in the case of a write operation, a write signal k instructing writing is supplied during an error correction period Tl'', so write data a is selected by the selection circuit S' and an error correction code is generated as data pb. The error p-correcting code C is inputted to the device l and outputted.

データbすなわち書込データaはデータ訂正器3に入力
され、書込信号kが書込を指示しているのでシンドロー
ムdが出力すれずデータbすなわち書込データaおよび
誤り訂正符号Cは符号訂正期間T 21でそのまま訂正
データCおよび書込チェックピッ)nになり記憶媒体M
KiFき込まれる。
Data b, that is, write data a, is input to the data corrector 3, and since the write signal k instructs writing, syndrome d is not output, and data b, that is, write data a and error correction code C are code corrected. In the period T21, the correction data C and the write check pin become n, and the storage medium M
KiF is included.

次に、読出動作の場合、誤や訂正期間T 11で記憶媒
体Mから読み出された続出データgおよび続出チメック
ピットhはレジスタBE格納され、そのtま読出データ
i、@出チェ、クビ、トjとして出力される。続出デー
タlは書込信号kが読出を指示しているため選択回路S
Iにより選択され纏り訂正符号発生器1に入力され誤り
訂正符号発生器lけ誤り訂正符号Cを出力する。この髪
春a升友T鼻を千幸誤り訂正符号Cと続出チ纂ツクビッ
トjとが排他的論理和回路2に入力され、排他的論理和
かとられシンドロームdを発生する。前記シンドローム
dによシ訂正可能誤シと判断された場合、データbすな
わち読出データiViデータ訂正器3により訂正されデ
ータ訂正器3は訂正データeを出力するとともにデータ
訂正表示信号mを出がする。また、符号訂正期間T21
で誤り訂正符号Cは誤り訂正符号訂正器4に入力されデ
ータ訂正表示信号mが供給されているときシンドローム
dとの排他的ma!和がとられ1込チェックビットml
出力する。この書込チェックビットnは誤った続出デー
タを訂正した訂正データに対する再書込のための書込チ
ェックピットnになり、訂正データと再書込みのための
書込チェックピットが同時に発生される。
Next, in the case of a read operation, the successive data g and successive chip pit h read from the storage medium M during the error/correction period T11 are stored in the register BE, and until that time, the read data i, @out check, firing, and Output as j. Since the successive data l is read out by the write signal k, the selection circuit S
The error correction code C is selected by I and input to the error correction code generator 1, which outputs an error correction code C. The error correction code C and successive checked bits j are input to the exclusive OR circuit 2, and are exclusive ORed to generate syndrome d. If it is determined that the error is correctable due to the syndrome d, the data b, that is, the read data iVi is corrected by the data corrector 3, and the data corrector 3 outputs the corrected data e and also outputs the data correction display signal m. . In addition, the code correction period T21
When the error correction code C is input to the error correction code corrector 4 and the data correction display signal m is supplied, the error correction code C is exclusive ma! with the syndrome d. Sum is taken and 1 check bit ml
Output. This write check bit n becomes a write check pit n for rewriting the corrected data that corrects the erroneous successive data, and the corrected data and the write check pit for rewriting are generated simultaneously.

本発明Q誤り訂正回路は誤り訂正符号訂正@を追加する
ことにより、続出データの再書込を行うにあたり、誤や
訂正符号発生器を続出時と再書込時との二度にわたり使
用する代りに誤シ訂正符号発生静は続出時に使用するの
みでよいので、再書込の丸めの時間を短縮できるととも
に制御を量率にできるという効果がある。
By adding an error correction code correction @, the Q error correction circuit of the present invention can replace the need to use an error correction code generator twice, once for successive data and once for rewriting, when rewriting successive data. Since the error correction code generation station only needs to be used when successive occurrences occur, the rounding time for rewriting can be shortened and the control can be made more efficient.

すなわち、本発明の誤り訂正回路は誤り訂正符号発生器
を共用した誤p訂正回路において、続出データより発生
した誤り訂正符号をシンドロームと排他的論理和をとる
誤り訂正符号訂正器を用いることにより、読み出し誤シ
データに対する再書き込みのための書込チ鼻ツクピット
の発生を簡単かつ同時にできるという効果がおる。
That is, the error correction circuit of the present invention uses an error correction code corrector that takes the exclusive OR of the error correction code generated from successive data with the syndrome in the error p correction circuit that shares the error correction code generator. This has the effect of easily and simultaneously generating write holes for rewriting erroneously read data.

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

第1図は従来の一例を含むブロック図、第2図は第1図
に示す従来例の動作を説明するためのタイムチャート、
第3図は本発明の一実施例を含むブロック図、第4図は
第3図に示す実施例の動作を説明するためのタイムチャ
ートである。 Ecc、Ecct・・・・・・誤シ訂正回路、M・・・
・・・記゛憶媒体、s、s’・・・・・・選択回路、R
・・・・・・レジスタ、1・・・・・・誤り訂正符号発
生器、2・川・・排他的論理和回路、3・・・・・・デ
ータ訂正器、4・・・・・・誤り訂正符号訂正器、5・
・・・・・レジスタ、 a・・・・・・書込データ、b・・・・・・データ、C
・・・・・・誤り訂正符号、、d・・・・・・シンドロ
ーム、e・旧・・訂正データ、f・・・・・・訂正デー
タ、g・・・・・・読出データ、h・・・・・・読出チ
ェックピット、i・・・・・・続出データ、j・・・ 
   ゞ・・・読出チェックピット、k・・・・・・書
込信号、!・・・・・・再書込信号、m・・・・・・デ
ータ訂正表示信号、n・・・・・・書込チェックピット
。
FIG. 1 is a block diagram including a conventional example; FIG. 2 is a time chart for explaining the operation of the conventional example shown in FIG. 1;
FIG. 3 is a block diagram including an embodiment of the present invention, and FIG. 4 is a time chart for explaining the operation of the embodiment shown in FIG. Ecc, Ecct...Error correction circuit, M...
...Storage medium, s, s'...Selection circuit, R
... Register, 1 ... Error correction code generator, 2 ... Exclusive OR circuit, 3 ... Data corrector, 4 ... error correction code corrector, 5.
...Register, a...Write data, b...Data, C
...Error correction code, d...Syndrome, e. Old...Correction data, f...Correction data, g...Read data, h. ...Reading check pit, i...Continuing data, j...
ゞ...Read check pit, k...Write signal,! ...Rewrite signal, m...Data correction display signal, n...Write check pit.

Claims (1)

【特許請求の範囲】[Claims] 書込時には書込データに応じて続出時には読出データに
応じて誤り訂正符号を発生する誤り訂正符号発生器と、
前記誤り訂正符号と続出チェックビットとの排他的81
i1哩和をとりて書込でないときにシンドロームを出力
する排他的論理和回路と、前記シンドロームが前記読出
データの訂正を示しているときにデータ訂正表示信号を
出力するとともに゛前記続出データt−前記シンドロー
ムに従って訂正して再書込時に記憶媒体に1話込むため
の訂正データを出力するデータ訂正器と、前記データ訂
正費示信号が供給されたときには前記誤p訂正符号と前
記シンドロームとの排他的論理和をとり前記データ訂正
表示信号が供給されないと色には前記誤り訂正符号をそ
のまま前記再書込時に前記記憶媒体に書き込むための書
込チェックビットを発生する誤り訂正符号訂正器とを含
むことを特徴とする誤り訂正回路。
an error correction code generator that generates an error correction code according to written data when writing and according to read data when continuing;
Exclusive 81 of the error correction code and successive check bits
an exclusive OR circuit that calculates the sum of i1 and outputs a syndrome when the data is not written; and an exclusive OR circuit that outputs a data correction display signal when the syndrome indicates correction of the read data; a data corrector that corrects according to the syndrome and outputs correction data for writing one story into a storage medium at the time of rewriting, and exclusion of the error p correction code and the syndrome when the data correction cost indication signal is supplied. and an error correction code corrector that performs a logical sum and generates a write check bit for writing the error correction code as it is to the storage medium at the time of rewriting when the data correction display signal is not supplied. An error correction circuit characterized by:
JP56140500A 1981-09-07 1981-09-07 Error correction circuit Granted JPS5841499A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP56140500A JPS5841499A (en) 1981-09-07 1981-09-07 Error correction circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP56140500A JPS5841499A (en) 1981-09-07 1981-09-07 Error correction circuit

Publications (2)

Publication Number Publication Date
JPS5841499A true JPS5841499A (en) 1983-03-10
JPS6232825B2 JPS6232825B2 (en) 1987-07-16

Family

ID=15270073

Family Applications (1)

Application Number Title Priority Date Filing Date
JP56140500A Granted JPS5841499A (en) 1981-09-07 1981-09-07 Error correction circuit

Country Status (1)

Country Link
JP (1) JPS5841499A (en)

Also Published As

Publication number Publication date
JPS6232825B2 (en) 1987-07-16

Similar Documents

Publication Publication Date Title
US4726021A (en) Semiconductor memory having error correcting means
JP2001351398A (en) Storage device
GB1366013A (en) Error checking and correcting system
EP0096783A3 (en) Method for storing data words in fault tolerant memory to recover uncorrectable errors
JPS6151253A (en) Memory error correctng circuit
US5063565A (en) Single-error detecting and correcting system
JPS5797151A (en) Instruction storage device
JPS6232825B2 (en)
JPH02146200A (en) Eeprom device
JP2518333B2 (en) Storage device
JPS61290556A (en) Memory error recovering system
JPS567299A (en) Error correcting circuit
JPH0675864A (en) Memory error recovery system
JPH01133299A (en) Semiconductor memory device
JPS6223337B2 (en)
SU974410A1 (en) Device for recording and reproducing data from on-line memory units with error correction
JPH0520215A (en) Information processor
JPS60171525A (en) Memory controller
JPS6261974B2 (en)
SU1059629A2 (en) Self-checking storage
SU1453445A1 (en) Domain storage with localization of failed registers
JPS6232826B2 (en)
JPH04367046A (en) Information processor
JPS5766598A (en) Memory circuit having error correction function
JPS62254540A (en) Error correction device