JPS5953640B2 - Storage device - Google Patents

Storage device

Info

Publication number
JPS5953640B2
JPS5953640B2 JP51137563A JP13756376A JPS5953640B2 JP S5953640 B2 JPS5953640 B2 JP S5953640B2 JP 51137563 A JP51137563 A JP 51137563A JP 13756376 A JP13756376 A JP 13756376A JP S5953640 B2 JPS5953640 B2 JP S5953640B2
Authority
JP
Japan
Prior art keywords
information
address
error
error correction
signal
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
JP51137563A
Other languages
Japanese (ja)
Other versions
JPS5361925A (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 JP51137563A priority Critical patent/JPS5953640B2/en
Publication of JPS5361925A publication Critical patent/JPS5361925A/en
Publication of JPS5953640B2 publication Critical patent/JPS5953640B2/en
Expired legal-status Critical Current

Links

Landscapes

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

Description

【発明の詳細な説明】 本発明は、情報処理装置に関し、特に電子計算機等の主
記憶装置の高速記憶装置に関する。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to an information processing device, and particularly to a high-speed storage device for a main storage device of an electronic computer or the like.

従来、電子計算機等の情報処理装置の主記憶装置等の高
速でかつ大容量の記憶装置においては、それに記憶され
た情報内容の信頼性を向上させるために、ハミング符号
等の誤り訂正符号を付加して用いていた。例えば、ハミ
ング符号数mは、情報符号数にとすれば、に≦2m−m
−1必要であり、情報符号数の少ないこの種の記憶装置
においては、誤り訂正符号数の割合が多くなり、経済性
を害することになる欠点があつた。本発明の目的は、誤
り訂正符号を複数個のアドレスの情報ビットに1つ各ア
ドレスに分散させて付加することにより、情報符号数に
対する誤り訂正符号数の割合を減少させると共に、各ア
ドレスの情報ビットに付加された誤り訂正符号の一部を
用いて、読み出された記憶情報に誤りがあるかどうかを
判定し、誤りがなければそのまま読出し、誤りがあれば
これらの複数個のアドレスの全てを読出し訂正を行なう
ことができる記憶装置を提供することにある。
Conventionally, in high-speed, large-capacity storage devices such as the main memory of information processing devices such as computers, error correction codes such as Hamming codes have been added to improve the reliability of the information stored therein. It was used as For example, if the number m of Hamming codes is the number of information codes, then ≦2m−m
-1, and in this type of storage device with a small number of information codes, the ratio of the number of error correction codes increases, which has the disadvantage of impairing economic efficiency. An object of the present invention is to reduce the ratio of the number of error correction codes to the number of information codes and to reduce the ratio of the number of error correction codes to the number of information codes by adding error correction codes to the information bits of a plurality of addresses in a distributed manner to each address. A part of the error correction code added to the bit is used to determine whether there is an error in the read memory information. If there is no error, it is read out as is, and if there is an error, all of these multiple addresses are read out. The object of the present invention is to provide a storage device capable of reading and correcting the data.

本発明は、データと第1の検査ビットと第2の検査ビッ
トとを一組の情報とし、一群をなす複数組の前記情報の
うちの複数のデータによつて各組の第1の検査ビットが
作成され、各組に属するデータと第1の検査ビットのす
べてによりそれぞれの組の第2の検査ビットが作成され
る1以上の群を1組単位で記憶する記憶手段と、この記
憶手段のアドレスを指定するアドレス指定手段と、この
アドレス指定手段から出力されるアドレス指定信号によ
り前記一組の情報を読み出した後、前記一組の情報の全
てのビットに対し前記第2の検査ビットを用いてパリテ
イ検査を行ない1ビット誤りがあるか否かを検出する1
ビット誤り検出回路と、この検出により誤りがある場合
、この組が属する群の複数組の情報を前記記憶手段から
読み出してこの群の前記第1および第2の検査ビットを
用いて1ビット誤りを訂正する誤り訂正回路とを含むこ
とを特徴とする構成である。
The present invention includes data, a first check bit, and a second check bit as a set of information, and the first check bit of each set is is created, and a second check bit of each set is created by all of the data belonging to each set and the first check bit. Addressing means for specifying an address; and after reading the set of information using an addressing signal output from the addressing means, the second check bit is used for all bits of the set of information. Perform a parity check to detect whether there is a 1-bit error1
a bit error detection circuit, and if an error is detected by this detection, reads information of a plurality of sets of the group to which this set belongs from the storage means, and detects a 1-bit error using the first and second check bits of this group; This configuration is characterized by including an error correction circuit for correcting errors.

本発明の原理を表1及び第1図を用いて説明する。The principle of the present invention will be explained using Table 1 and FIG.

記憶装置のO及び1番地に、それぞれD。D at addresses O and 1 of the storage device, respectively.

,Dl,D2,D3及びD4,D5,D6,D7の各4
ビツトの情報符号を記憶させるものとする。特にD。−
D3及びD4〜D7がそれぞれ第1図の1及び2のよう
に与えられたとき、これらの情報符号から表1のパリテ
イ検査マトリクスを用いて上記マトリクスの各行のパリ
テイをとることにより誤り訂正符号POPlP2P3P
4P5がつくられる。これは、あらかじめ定められたデ
ータであり、この作成方法は以下に示すような式で作成
できる。これは、前記記憶装置に対して与えられ符号e
は排他的論理和を示す。
, Dl, D2, D3 and D4, D5, D6, D7 each 4
It is assumed that bit information codes are stored. Especially D. −
When D3 and D4 to D7 are given as 1 and 2 in FIG. 1, respectively, the error correction code POPlP2P3P is obtained by calculating the parity of each row of the matrix from these information codes using the parity check matrix in Table 1.
4P5 is created. This is predetermined data, and can be created using the formula shown below. This is given to the storage device and has the sign e
indicates exclusive OR.

まず表1において であり、表2に対しては、 であり、表3において の各式によつて求めうる。First, in Table 1 And for Table 2, In Table 3, It can be obtained using the following formulas.

すなわち、表1においてOで囲まれたものが誤り訂正符
号P。
That is, the code surrounded by O in Table 1 is the error correction code P.

−P5としてつくられる。DO−D7にP。−P5が付
加されて第1図の3が生成されると、第1図の4及び5
がそれぞれO番地及び1番地に書き込まれる。次に、0
番地が読み出されると、第1図の6のような記憶内容が
読み出され、表1を用いて第1行すなわちC2の行のパ
リテイをとると、第1図の8のようにOとなり、第1図
の6の情報符号D。
- Made as P5. P to DO-D7. -P5 is added to generate 3 in Figure 1, 4 and 5 in Figure 1
are written to address O and address 1, respectively. Then 0
When the address is read out, the stored content as shown in 6 in Figure 1 is read out, and if the parity of the first row, that is, the row of C2, is determined using Table 1, it becomes O as shown in 8 in Figure 1. Information code D at 6 in FIG.

〜D3には誤りのないことがわかり、第1図の7のよう
な情報符号が読み出される。一方、第1図の9に示すよ
うに、例えばD。に誤りがある記憶情報がO番地から読
み出されると、表1のC2の行のパリテイをとると今度
は、第1図の10のように1となり、第1図の9に示さ
れた記憶情報中に誤りがあることがわかる。このような
場合には、1番地の記憶情報、第1図の11に示された
ものを読み出すことにより、DO−D7及びP。−P5
から表1を用いて、各行のパリテイをとつてシンドロー
ムC22C5ラCOラClyC3ラC4を求めると)第
1図の12のように、C2,CO,Clが1となるので
、表1からD。に誤りがあることがわかり、第1図の1
3のようにD。の誤りが訂正されて、正して情報が得ら
れる。以上の説明から明らかなように、0番地の記憶情
報D。
It is found that there is no error in ~D3, and an information code such as 7 in FIG. 1 is read out. On the other hand, as shown at 9 in FIG. 1, for example, D. When the stored information with an error is read from address O, the parity of row C2 in Table 1 becomes 1, as shown in 10 in FIG. 1, and the stored information shown in 9 in FIG. It turns out that there is an error inside. In such a case, DO-D7 and P are read out by reading out the stored information at address 1, indicated by 11 in FIG. -P5
Using Table 1, calculate the parity of each row to find the syndrome C22C5raCOraClyC3raC4) As shown in 12 in Figure 1, C2, CO, and Cl are 1, so from Table 1, D. It turns out that there is an error in 1 in Figure 1.
D like 3. Errors are corrected and corrected information is obtained. As is clear from the above explanation, the storage information D at address 0.

−D3,PO−P2及び1番地の記憶情報D4〜D7,
P3〜P5に対して、それぞれパリテイC2及びC5を
求めることにより1ビツトの誤りがあるかどうか明らか
にされ、もし誤りがなければ、当該番地をそのまま読み
出し、一方誤りがあれば両番地を読み出すと共にシンド
ロームC2,C5,CO,Cl,C3,C4を得ること
により、1ビツトの訂正を行なつて読み出すことにより
、情報符号に対する誤り訂正符号の比率を少なくするこ
とができる。表2に示したのは、偶数番地へD。−D7
を奇数番地へD8〜Dl5が記憶されるような場合の誤
り訂正符号P。
-D3, PO-P2 and storage information D4 to D7 at address 1,
By calculating the parities C2 and C5 for P3 to P5, respectively, it is determined whether there is a 1-bit error. If there is no error, the address in question is read out as is; if there is an error, both addresses are read out and By obtaining the syndromes C2, C5, CO, Cl, C3, and C4, the ratio of the error correction code to the information code can be reduced by performing 1-bit correction and reading. Table 2 shows D to an even address. -D7
Error correction code P in the case where D8 to Dl5 are stored at odd addresses.

−P5の発生方法を示すパリテイ検査マトリクスの1例
で、誤り訂正符号P。,P,,P2及びP3,P4,P
5はそれぞれ偶数番地及び奇数番地に情報符号D。−D
,及びD8〜D,,と共に記憶される。又、表3に示し
たのは、偶数番地へD。〜D,5を、奇数番地へD,6
〜D3lが記憶されるような場合の誤り訂正符号P。−
P,の発生方法を示すパリテイ検査マトリクスの1例で
、誤り訂正符号P。−P3及びP4〜P7はそれぞれD
。−Dl5と共に偶数番地及びD,6〜D3lと共に奇
数番地へ記憶される。なお、表2におけるP,及びP5
はそれぞれD。
- An example of a parity check matrix showing a method of generating error correction code P. ,P,,P2 and P3,P4,P
5 has information code D at even and odd addresses, respectively. -D
, and D8 to D, . Also, Table 3 shows D to an even address. ~D,5 to odd address D,6
Error correction code P in the case where D3l is stored. −
This is an example of a parity check matrix showing how to generate an error correction code P. -P3 and P4-P7 are each D
. - Dl5 is stored at an even address, and D, 6 to D3l are stored at an odd address. In addition, P and P5 in Table 2
are each D.

〜D7,PO,P2及びD,〜Dl,,P3,P4に対
してつくられ、表2におけるP,及びP,はそれぞれD
O5Dl59PO″P2及びDl6ゝD3lPP4″P
6に対してつくられ、表2に説明した場合と同様で、い
ずれも誤り訂正符号はOで囲まれたものが最終的につく
られる。ハミング符号と比べて、表2又は表3のパリテ
イ検査マトリクスを付加して、記憶情報を2つのアドレ
スへ記憶させた場合、いずれも1ビツトの誤り訂正符号
が減少することになる。
~D7, PO, P2 and D, ~Dl,, P3, P4 are created, and P and P in Table 2 are respectively D
O5Dl59PO″P2 and Dl6ゝD3lPP4″P
6, and is similar to the case explained in Table 2, in which case the error correction code surrounded by O is finally created. Compared to the Hamming code, if the parity check matrix of Table 2 or Table 3 is added and storage information is stored in two addresses, the number of error correction codes will be reduced by 1 bit in both cases.

次に本発明の一実施例について、第2図を参照して説明
する。
Next, one embodiment of the present invention will be described with reference to FIG.

第2図を参照すると、本発明の一実施例はkビツトの書
込情報70を入力とし、偶数アドレスの書き込情報を保
持する書込みレジスタ50、書込情報70を入力とし、
奇数アドレスの書込情報を保持する書込レジスタ51、
書込レジスタ50及び51の書込情報出力72及び73
を入力とし、偶数アドレスに書き込まれる誤り訂正符号
74及び奇数アドレスに書き込まれる誤り訂正符号75
を出力する1ビツトの誤り訂正符号発生回路52、偶数
アドレスへ書き込まれる符号74及び書込レジスタ50
の出力である72又は奇数アドレスへ書き込まれる符号
75及び書込レジスタ51の出力である73を、それぞ
れ誤り訂正符号76及び書込み情報77として出力する
マルチプレクサ53と、入力76及び77を指定された
アドレスに記憶させ誤り訂正符号78及び読出情報79
を出力とする記憶回路54、偶数番地から読み出された
誤り訂正符号78及び読出情報79を入力として、これ
らを保持する読出情報レジスタ55、奇数番地から読み
出された78及び79を入力として、これらを保持する
読出情報レジスタ56,55の出力である偶数アドレス
から読み出された誤り訂正符号及び読出情報80、並び
に56の出力である奇数アドレスから読み出された誤り
訂正符号及び読出情報81を入力とし、この情報80又
は81に1ビツトの誤りがあるかどうかを示す信号84
を出力する誤り検査回路57、前記情報80及び81を
入力としシンドローム符号82を出力するシンドローム
発生回路58、シンドローム82を入力とし、誤り位置
を解読し誤り位置を指定する信号83を出力とする誤り
位置解読回路59、誤り位置指定信号83、情報80及
び81のうち読出情報を入力として、誤り位置指定信号
83により80又は81の誤りを訂正し、かつ指定され
た偶数アドレス又は奇数アドレスに記憶された情報85
を出力する誤り訂正回路60と、アドレス及び読出又は
書込命令入力信号71並ぴに誤り検査回路の出力信号8
4を入力とし、書込レジスタ50及び51をそれぞれセ
ツトする信号86及び87、マルチプレクサ53の出力
76及び77が偶数アドレスへ書き込まれるものか、奇
数アドレスへ書き込まれるものかを切替える信号88記
憶回路54の指定されたアドレスに書込み又は読出しを
行なわせる信号89、読出しレジスタ55及び56にそ
れぞれ偶数アドレスの誤り訂正符号78及び読出情報7
9をセツトする信号90及び奇数アドレスの78及び7
9をセツトする信号91、誤り検査回路57の入力80
又は81のいずれかについて検査を行なわせるかを指定
する信号92、誤り位置解読回路59の出力83を出力
させる信号93と誤り訂正回路60の出力85として偶
数アドレスの情報と奇数アドレスの情報のうちいずれを
与えるかを指定する信号94を出力する制御回路61と
を含む。
Referring to FIG. 2, one embodiment of the present invention takes k-bit write information 70 as input, a write register 50 holding write information of even addresses, write information 70 as input,
a write register 51 that holds write information of odd addresses;
Write information outputs 72 and 73 of write registers 50 and 51
as an input, an error correction code 74 written to an even address and an error correction code 75 written to an odd address.
A 1-bit error correction code generation circuit 52 that outputs a code 74 written to an even address and a write register 50
A multiplexer 53 that outputs the output 72 of the code 72 or the code 75 written to an odd address and the output 73 of the write register 51 as an error correction code 76 and write information 77, and inputs 76 and 77 to a specified address. Error correction code 78 and read information 79
A memory circuit 54 outputs the error correction code 78 and read information 79 read from even addresses, and a read information register 55 holds them, inputs 78 and 79 read from odd addresses. The error correction code and read information 80 read from the even address which is the output of the read information registers 56 and 55 that hold these, and the error correction code and read information 81 read from the odd address which is the output of the register 56. A signal 84 indicating whether there is a 1-bit error in this information 80 or 81.
An error checking circuit 57 which outputs the above information 80 and 81 and outputs the syndrome code 82, a syndrome generation circuit 58 which takes the syndrome 82 as input, decodes the error position, and outputs a signal 83 specifying the error position. The position decoding circuit 59 inputs the error position designation signal 83 and the read information from among the information 80 and 81, corrects the error in 80 or 81 by the error position designation signal 83, and stores it at the designated even address or odd address. Information 85
an error correction circuit 60 that outputs an address and read or write command input signal 71 as well as an output signal 8 of the error check circuit.
4 as an input, signals 86 and 87 that set the write registers 50 and 51, respectively, and a signal 88 that switches whether the outputs 76 and 77 of the multiplexer 53 are written to an even address or an odd address. A signal 89 causes writing or reading to be performed at the specified address of
Signal 90 to set 9 and odd addresses 78 and 7
Signal 91 to set 9, input 80 of error check circuit 57
or 81, a signal 93 that outputs the output 83 of the error position decoding circuit 59, and an output 85 of the error correction circuit 60, among the even address information and the odd address information. and a control circuit 61 that outputs a signal 94 specifying which one to give.

次にその動作について説明する。Next, its operation will be explained.

先ず、記憶回路54の2m番地(偶数番地)及び2m+
1番地(奇数番地)にそれぞれ任意のkビツトの情報を
書き込む場合には、入力信号71によりアドレス2mを
指定すると共に、読出し命令を発すると、入力70とし
て最初に与えられた書込み情報は、信号86によりレジ
スタ50にセツトされ、次に入力70として与えられた
書込み情報は、信号87によりレジスタ51にセツトさ
れ、これらの出力72及び73は誤り訂正符号発生回路
52に与えられて、偶数アドレス及び奇数アドレスに記
憶される書込惰報と共にそれぞれ記憶される誤り訂正符
号74及び75が得られるが、回路52は例えば表1、
表2、表3に示したようなパリテイ検査マトリクスによ
り誤り訂正符号を発生するものである。
First, addresses 2m (even addresses) and 2m+ of the memory circuit 54
When writing arbitrary k-bit information to address 1 (odd address), specify address 2m by input signal 71 and issue a read command. The write information initially given as input 70 is The write information set in register 50 by signal 86 and then given as input 70 is set in register 51 by signal 87, and these outputs 72 and 73 are given to error correction code generation circuit 52 to generate even addresses and Error correction codes 74 and 75 are obtained which are respectively stored together with the write information stored at odd addresses, and the circuit 52 is configured as shown in Table 1, for example.
Error correction codes are generated using parity check matrices as shown in Tables 2 and 3.

次いで、マルチプレクサSは、出力信号76及び77と
してそれぞれ74及び72を出力するように、すなわち
記憶回路54の偶数アドレスに記憶される誤り訂正符号
及び書込み情報を出力するように、信号88により制御
された後、信号89が記憶回路54の2m番地に信号7
6及び77を書き込むよう発せられ、当該番地に書込み
が行なわれた後、信号88は、マルチプレクサ53の出
力76及び77をそれぞれ75及び73を出力するよう
に、すなわち記憶回路54の奇数アドレスに記憶される
誤り訂正符号及び書込み情報を出力するように発せられ
、信号89は記憶回路54の2n+1番地に信号76及
び77を書き込むように発せられて当該番地に書込みが
行なわれる。このようにして任意の対になつた偶数番地
及び奇数番地に対して書込みを行なうことができる。一
方、読出し時においては、まず入力信号71により指定
アドレス及び読出し命令力堵1脚回路61に入力される
が、以下では指定アドレスが2n番地(偶数番地)であ
る場合について説明する。
Multiplexer S is then controlled by signal 88 to output signals 74 and 72 as output signals 76 and 77, respectively, i.e., to output the error correction code and write information stored in even addresses of storage circuit 54. After that, the signal 89 is transferred to the signal 7 at address 2m of the memory circuit 54.
6 and 77 are issued, and after the writing has taken place at that address, the signal 88 directs the outputs 76 and 77 of the multiplexer 53 to output 75 and 73, respectively, i.e., to store them at odd addresses in the storage circuit 54. The signal 89 is issued to output the error correction code and write information, and the signal 89 is issued to write the signals 76 and 77 to address 2n+1 of the memory circuit 54, thereby writing to that address. In this way, writing can be performed to any pair of even and odd addresses. On the other hand, at the time of reading, first, the designated address and read command are inputted to the one-legged circuit 61 by the input signal 71, and below, a case where the designated address is address 2n (even address) will be explained.

Frjl脚回路61の出力信号89は、記憶回路54の
2n番地を読出すように発せられ、2n番地の誤り訂正
符号78及び読出し情報79が出力され信号90により
レジスタ55にセツトされた後、その出力80は誤り検
査回路57に入力されて、信号91は80のパリテイ検
査を行なうよう、すなわち例えば表1、表2のC2、表
3のC,のパリテイ検査を行なうよう発せられて、信号
80に1ビツトの誤りがあるかどうかが検査され、もし
誤りがなければ信号84は匍卿回路61に対して誤りの
ないことを通知するので、信号93は誤り位置解読回路
59の出力83にその指定を行なわないように発せられ
ると共に、誤り訂正回路60の出力は、偶数アドレスに
記憶された情報である80がそのまま読出し情報85と
して出力されるように信号94が発生されて、読出しが
行なわれる。ところが、誤り検査回路57において、記
憶情報80に1ビツトの誤りがあることが発見されると
、信号84は匍卿回路61に対して誤りのあることを通
知し、その結果、信号89が再び記憶回路54の2n+
1番地を読み出すよう発せられ、誤り訂正符号78及び
読出し情報79が出力され、信号91によりレジスタ5
6にそれらがセツトされた後、出力80及び出力81が
シンドローム発生回路58に与えられて、シンドローム
符号82が発生され、信号93は誤り位置解読回路59
の出力として解読信号83を出力するように発せられる
ので、誤り位置の解読が行なわれて、信号83が記憶情
報80及び81と共に誤り訂正回路60に与えられて、
信号94により偶数アドレスの記憶情報の1ビツトが訂
正されて、回路60の出力として読出し情報85が出力
されて、誤り訂正が行なわれる。読出しが2n+1番地
(奇数アドレス)に対して行なわれる場合も、偶数アド
レスの場合と同様で、もし誤りがないと誤り検査回路5
7により判断されれば、そのまま読み出され、1ビツト
の誤りが発見されると、対になつた偶数アドレス2n番
地の記憶情報を読み出すことにより、1ビツトの誤り訂
正を行なうことができる。
The output signal 89 of the Frjl leg circuit 61 is issued to read the 2n address of the memory circuit 54, and the error correction code 78 and read information 79 at the 2n address are output and set in the register 55 by the signal 90, and then The output 80 is input to the error checking circuit 57, and the signal 91 is issued to perform the parity check of 80, eg, the parity check of Table 1, C2 of Table 2, C of Table 3, and the signal 91 It is checked whether there is a 1-bit error in the error position, and if there is no error, the signal 84 notifies the output circuit 61 that there is no error, and the signal 93 is sent to the output 83 of the error position decoding circuit 59. At the same time, the output of the error correction circuit 60 generates a signal 94 so that the information 80 stored at the even address is outputted as read information 85, and reading is performed. . However, when the error checking circuit 57 discovers that there is a 1-bit error in the stored information 80, the signal 84 notifies the error circuit 61 that there is an error, and as a result, the signal 89 is turned on again. 2n+ of the memory circuit 54
A signal is issued to read address 1, an error correction code 78 and read information 79 are output, and a signal 91 causes register 5 to be read.
6, outputs 80 and 81 are applied to syndrome generation circuit 58 to generate syndrome code 82, and signal 93 is applied to error position decoding circuit 59.
Since the decoding signal 83 is outputted as an output, the error position is decoded and the signal 83 is given to the error correction circuit 60 along with the stored information 80 and 81.
One bit of the stored information at the even address is corrected by the signal 94, and the read information 85 is output as the output of the circuit 60, thereby performing error correction. When reading is performed to address 2n+1 (odd address), it is the same as when reading from even address, and if there is no error, the error check circuit 5
7, the information is read out as is. If a 1-bit error is found, the 1-bit error can be corrected by reading out the stored information at the paired even address 2n.

第2図の一実施例においては、書き込み時においては、
2n番地と2n+1番地に対し、1動作で書き込むよう
説明したが、書替えを行なうような場合には、一度2n
又は2n+1番地を読出した後、これらを書込み情報と
して用いると共に2n+1又は2n番地へ書込む情報を
外部から与えて書き込む動作を行なうような装置として
拡張できることも明らかである。
In one embodiment of FIG. 2, during writing,
We explained that addresses 2n and 2n+1 should be written in one operation, but when rewriting, it is necessary to write to addresses 2n+1 once.
Alternatively, it is obvious that after reading address 2n+1, this information can be used as write information, and the device can also be expanded to perform a writing operation by externally supplying information to be written to address 2n+1 or 2n.

さらに、第2図の一実施例においては、誤り訂正符号を
共有する番地が2つであつたが、3つ以上に拡張するこ
とも容易にできることも明らかである。
Further, in the embodiment shown in FIG. 2, there are two addresses that share an error correction code, but it is clear that this can be easily extended to three or more addresses.

本発明は、以上説明したように、同一アドレスに記憶さ
れる情報符号数をk1検査符号数をmとし、j個のアド
レスに対して1ビツトの誤りを訂正できる場合には、で
表わされ、従来の と比較した場合の如く2個のアドレスに対して1ビツト
の誤りを訂正できる場合は、となり、同一の符号検査数
mに対してm≧3の場合、同一アドレスに記憶される情
報符号数の許容範囲は、多くなる。
As explained above, in the present invention, when the number of information codes stored at the same address is k1 and the number of check codes is m, and if a 1-bit error can be corrected for j addresses, then , if a 1-bit error can be corrected for two addresses as in the case of the conventional case, then if m≧3 for the same number of code checks m, then the information stored at the same address The allowable range of the number of codes increases.

これはすなわち情報符号数に対する誤り訂正符号数の割
合を減少させると共に、各アドレスの情報ビツトに付加
された誤り訂正符号の一部を用いて読み出された記憶情
報に誤りがあるかどうか判定し、誤りがなければそのま
ま読み出し、誤りがあれば、これらの複数個のアドレス
の全てを読み出し訂正を行なうことができる効果がある
。本発明を用いた場合通常読出し情報に誤りがあること
は極めてまれであるので、複数個のアドレスを読み出す
ために要する時間の増加は問題とならないし、一方書込
み時には複数個のアドレスに書込みを行なうのに時間を
要するが、通常の高速記憶装置においては、読出しに比
べて書込みの比率が極めて低く、大きな問題とはならず
、さらに読出し専用記憶装置においては、非常に有効で
ある。
This means that the ratio of the number of error correction codes to the number of information codes is reduced, and a part of the error correction code added to the information bits of each address is used to determine whether there is an error in the read stored information. , if there is no error, the address can be read as is, and if there is an error, all of these addresses can be read and corrected. When using the present invention, it is extremely rare for there to be errors in read information, so an increase in the time required to read multiple addresses is not a problem.On the other hand, when writing, data is written to multiple addresses. However, in normal high-speed storage devices, the ratio of writes compared to reads is extremely low, so this does not pose a major problem, and it is very effective in read-only storage devices.

また、記憶装置に使用される誤り訂正符号を複数のアド
レスの情報符号に対して1つ与えると共に、1つのアド
レスの誤り訂正符号のみで当該アドレスに記憶された情
報に誤りがあるかどうかを検出することができるような
記憶装置を構成することにより、情報符号数に対する誤
り訂正符号数を減らすことにより、誤り訂正符号を用い
た記憶装置を安価につくることができる効果がある。
In addition, one error correction code used in the storage device is given to the information code of multiple addresses, and the error correction code of one address is used to detect whether there is an error in the information stored at the address. By configuring a storage device that can do this, the number of error correction codes relative to the number of information codes can be reduced, thereby making it possible to manufacture a storage device using error correction codes at low cost.

ところで、本発明によれば、読出し動作は誤りがほとん
どないので速いが、書込み動作は、誤り訂正符号が分散
されるので複数のアドレスに対して行なう必要があり遅
くなる。しかしながら、通常の計算機では、読出しの方
が書込みよりも比率がかなり高く、又読出し専用記憶装
置に対しては非常に有効となる。
By the way, according to the present invention, the read operation is fast because there are almost no errors, but the write operation is slow because the error correction codes are distributed and it has to be performed for a plurality of addresses. However, in a typical computer, the ratio of reads is much higher than that of writes, and it is very effective for read-only storage devices.

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

第1図は本発明の原理を説明する図、第2図は本発明の
一実施例を説明する図である。 50,51・・・・・・書込レジスタ、52・・・・・
・誤り訂正符号発生回路、53・・・・・・マルチプレ
クサ、54・・・・・・主記憶部、55,56・・・・
・・読出レジスタ、57・・・・・・1ビツト誤り検査
回路、58・・・・・・シンドローム発生回路。
FIG. 1 is a diagram for explaining the principle of the present invention, and FIG. 2 is a diagram for explaining an embodiment of the present invention. 50, 51...Write register, 52...
・Error correction code generation circuit, 53...Multiplexer, 54...Main storage section, 55, 56...
. . . Read register, 57 . . . 1-bit error check circuit, 58 . . . Syndrome generation circuit.

Claims (1)

【特許請求の範囲】[Claims] 1 データと第1の検査ビットと第2の検査ビットとを
一組の情報とし、一群をなす複数組の前記情報のうち複
数のデータによつて各組の第1の検査ビットが作成され
、各組に属するデータと第1の検査ビットのすべてによ
りそれぞれの組の第2の検査ビットが作成される1以上
の群を1組単位で記憶する記憶手段と、この記憶手段の
アドレスを指定するアドレス指定手段と、このアドレス
指定手段から出力されるアドレス指定信号により前記一
組の情報を読み出した後、前記一組の情報の全てのビッ
トに対し前記第2の検査ビットを用いてバリテイ検査を
行ない1ビットの誤りがあるか否かを検出する1ビット
誤り検出手段と、この検出により誤りがある場合、この
組が属する群の複数組の情報を前記記憶手段から読み出
してこの群の前記第1および第2の検査ビットを用いて
1ビット誤りを訂正する誤り訂正手段とを含むことを特
徴とする記憶装置。
1. The data, the first check bit, and the second check bit are set as a set of information, and the first check bit of each set is created from a plurality of data among the plurality of sets of information forming a group, Specify a storage means for storing one or more groups in units of one set, in which the second check bits of each set are created by all the data belonging to each set and the first check bits, and the address of this storage means. After reading the set of information using an addressing means and an addressing signal output from the addressing means, a validity check is performed on all bits of the set of information using the second check bit. a 1-bit error detection means for detecting whether or not there is a 1-bit error; and error correction means for correcting a one-bit error using the first and second check bits.
JP51137563A 1976-11-15 1976-11-15 Storage device Expired JPS5953640B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP51137563A JPS5953640B2 (en) 1976-11-15 1976-11-15 Storage device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP51137563A JPS5953640B2 (en) 1976-11-15 1976-11-15 Storage device

Publications (2)

Publication Number Publication Date
JPS5361925A JPS5361925A (en) 1978-06-02
JPS5953640B2 true JPS5953640B2 (en) 1984-12-26

Family

ID=15201636

Family Applications (1)

Application Number Title Priority Date Filing Date
JP51137563A Expired JPS5953640B2 (en) 1976-11-15 1976-11-15 Storage device

Country Status (1)

Country Link
JP (1) JPS5953640B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS58129663A (en) * 1982-01-29 1983-08-02 Nec Corp Error detecting circuit
JPH0679958B2 (en) * 1988-10-07 1994-10-12 東レ株式会社 Yarn winding device

Also Published As

Publication number Publication date
JPS5361925A (en) 1978-06-02

Similar Documents

Publication Publication Date Title
US6009548A (en) Error correcting code retrofit method and apparatus for multiple memory configurations
US6044483A (en) Error propagation operating mode for error correcting code retrofit apparatus
JP4071940B2 (en) Shared error correction for memory design
US5619642A (en) Fault tolerant memory system which utilizes data from a shadow memory device upon the detection of erroneous data in a main memory device
US9252814B2 (en) Combined group ECC protection and subgroup parity protection
US6158038A (en) Method and apparatus for correcting data errors
US8010875B2 (en) Error correcting code with chip kill capability and power saving enhancement
US5537425A (en) Parity-based error detection in a memory controller
US6751769B2 (en) (146,130) error correction code utilizing address information
US8171377B2 (en) System to improve memory reliability and associated methods
US20080282128A1 (en) Method of Error Correction Code on Solid State Disk to Gain Data Security and Higher Performance
US5768294A (en) Memory implemented error detection and correction code capable of detecting errors in fetching data from a wrong address
JPS6115238A (en) Correction of errors
US4716566A (en) Error correcting system
JPH087721B2 (en) Data processing system having error detection / correction mechanism
JPS63115239A (en) Error inspection/correction circuit
KR970707493A (en) ERROR CORRECTION METHOD AND APPARATUS FOR DISK DRIVE EMULATOR FOR A DISK DRIVE
US5691996A (en) Memory implemented error detection and correction code with address parity bits
JPS6349245B2 (en)
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
US3898443A (en) Memory fault correction system
US5761221A (en) Memory implemented error detection and correction code using memory modules
KR100509137B1 (en) Error correction device
JPS5953640B2 (en) Storage device
JP2006323434A (en) Data processor and memory correction method therefor