JPS59128650A - High speed correcting circuit of byte error - Google Patents

High speed correcting circuit of byte error

Info

Publication number
JPS59128650A
JPS59128650A JP58003098A JP309883A JPS59128650A JP S59128650 A JPS59128650 A JP S59128650A JP 58003098 A JP58003098 A JP 58003098A JP 309883 A JP309883 A JP 309883A JP S59128650 A JPS59128650 A JP S59128650A
Authority
JP
Japan
Prior art keywords
circuit
syndrome
error
byte
register
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
JP58003098A
Other languages
Japanese (ja)
Other versions
JPH0351008B2 (en
Inventor
Toshio Horiguchi
敏男 堀口
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 JP58003098A priority Critical patent/JPS59128650A/en
Publication of JPS59128650A publication Critical patent/JPS59128650A/en
Publication of JPH0351008B2 publication Critical patent/JPH0351008B2/ja
Granted legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03MCODING; DECODING; CODE CONVERSION IN GENERAL
    • H03M13/00Coding, decoding or code conversion, for error detection or error correction; Coding theory basic assumptions; Coding bounds; Error probability evaluation methods; Channel models; Simulation or testing of codes
    • H03M13/03Error detection or forward error correction by redundancy in data representation, i.e. code words containing more digits than the source words
    • H03M13/05Error detection or forward error correction by redundancy in data representation, i.e. code words containing more digits than the source words using block codes, i.e. a predetermined number of check bits joined to a predetermined number of information bits
    • H03M13/13Linear codes
    • H03M13/15Cyclic codes, i.e. cyclic shifts of codewords produce other codewords, e.g. codes defined by a generator polynomial, Bose-Chaudhuri-Hocquenghem [BCH] codes

Landscapes

  • Physics & Mathematics (AREA)
  • Algebra (AREA)
  • General Physics & Mathematics (AREA)
  • Mathematical Physics (AREA)
  • Pure & Applied Mathematics (AREA)
  • Probability & Statistics with Applications (AREA)
  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Detection And Correction Of Errors (AREA)

Abstract

PURPOSE:To attain rapid decoding of a byte error correcting code and to correct rapidly the error by providing the titled circuit with a syndrome generating circuit and a decoding circuit finding out a byte position having an error by the syndrome. CONSTITUTION:Since syndrome registers S1, S2 are simultaneously shifted in parallel, the maximum number of shifting times necessary for the syndrome registers S1, S2 is equal to a larger one out of 2e1-1 and e2-1. When the registers S1, S2 coincide with a register So by the number of shifting times within 2e1-1 and e2-1 respectively, an error position is calculated by circuits 14, 15. Namely, the circuit 14 converts the number of shifting times stored in a counter 12 and the circuit 15 calculates the error position by the result obtained from the circuit 14. Thus, the rapid decoding of a byte error correcting code is attained and the error can be corrected rapidly by processing said decoding circuit.

Description

【発明の詳細な説明】[Detailed description of the invention]

本発明は単一バイト誤りを訂正する回路に関し、特に高
速に誤りを訂正する回路に関する。 磁気ディスクファイル等のファイル装置のデータ信頼性
を向上するためにしばしばファイア(Fire)符号、
さらをこファイア符号を高速復号可能なように修正した
修正ファイア符号が使用さわている。しかしy、Cがら
%最近の傾向としてデータの符号化をバイト単位の処理
で行えるb隣接県り訂正符号(1′J、下ではバイト誤
り訂正符号と呼ぶ)が用いられ、6ようになりたつし力
)しながら、バイト誤り訂正符号を高速復号可能なよう
に修正する方法とその回路的構成はこれ才で知られてい
f、「い。 従って本発明の目的は、高速復号可能なバイト誤り訂正
?″1″1″号六ri号回路を提供するにある。 本発明の語り訂正回路は、バリディ検食行列H。 に従ってデータを符号化するシステムにおいて、K+3
バイト(Kは情報バイト数)の符号ブロックに生じた単
一バイト誤りを高速ζこ復号する回路を提供する。ここ
で、mを任意の偶数のiF、整数とLz7.=時、I 
(j m >’ m単位行列、TIはG、(X)=Pl
(X!20) m X mコンパニオン行列である。但
しp+Mは次数百、位数elの任意の既約多項式であろ
うT2は次数m5位数e2の任意の既約多項式G2(X
)のm×mコンパニオン行列である。elとe2は互い
に素で、情報バイト数にげに=e1・e2で与えられ、
バイトはmビットを表わす。 本発明の誤り訂正回路は前記検査行列Hct)第1行、
第2行および第3行にそわ、ぞれ対応するシンドローム
86.StおよびG2を生成するシンドローム生成回路
と、シンドロームS 6 + 81及びG2から誤りの
あるバイトの位置を求める復号回路と力)ら構成される
。シンドロームS、、S□及びG2の生成回路げそn、
ぞわ1mビットのフィードバック・シフトレジスタで構
成される。S1生成回路の場合にはフィードバック・ル
ープ内に行列TIの乗算回路が、G2生成回路の場合t
こげ行列T2の乗算回路がそれぞれ押入される。(86
生成回路には学位行列工のgJ算回路が挿入さn、るが
、これは何も挿入しないのと同一である)。 復号回路はシンドローム揖及びG2生成回路のシフト・
レジスタの内容がシンドロームSoの内容と一致すうま
でSt及びG2のレジスタをそれぞη、シフトし、そわ
、ぞわ、のシフト回数に基づいて誤りのあるバイト位置
を計算する回路である。 本発明の誤りJ1°正回路の特徴は両式(1)のノで1
1ティ締査行列■]で表わさr、るノイイト誤り訂正符
+!fを用いる点にある。 行列Hの中の行列I 、 T1.T2Gズ次(1)−i
4りであ。。 I:mXm行列 Tl: G、(X+ = P、002a>−yンパニオ
ン行列(mXm行列)。P!(3)は次数嬰 位数e1
の既約多2ゝ 頂式。otrX)の周期は2etで、こわ、よりrp!
2el ==’rlO= I T2二次二次数位1位Pe2約多項式G2閃のコンパニ
オン行列(mXm行列)。位数e2よn T2e2= 
T2°=I K:情報バイト数。バイトコmビット。elとと 62G1互に素とす趙(= et 4zここで01(X
)= PsOO” == no+n+x+axx2+−
=−−−−=−・・+a、、、lx”−’ (aI=0
又t−s 1 > トvルト:l ンttニオン行列I
II、 Hゴ であ^。コンパニオン行列1重は次の性質を持つことが
容易に証明さn、る。ベクトルE=(66dl−・・・
’m−5)”(”は転置記号で、di=O又は1)に゛
対応する多項式をE(3)== (IQ+d、X+d、
2X+・・・・・・・・・+d□−xffl  とする
と・ 性質(al  E(3)がP、囚で割り切れる時(すな
わちE QQ= Omod PH(X)ノR)、T I
 ” B+T t ’ E=0となるのは’  jEO
modelの時に限られる。但し Tllはmxm行列
T1のi乗を表わし、TI’・Eは行列T1′トベクト
ルEのモジユロ2の上での積を表わす。 性7fr+hFJ)Of+s P、(X)テQ4In切
yn、r、cイ時<v’r、xワ% EDCIM n 
mod P 1(X)θ)時) 、’t’、tg−4−
’ll”、 1 ’E=n (” f、fるの<1 i
 −j = Q moc12e1σ)時に限られる。 同FO(こ、既約多)1′]′1ltl″()2+X・
=h(、+h、x+b2x +・=−・・+b、n−1
x”−’ (hI= n ’y4:j 1 ) Oyコ
ンハニ@−ン行列T2Tゴ である。行列T2hこ1−1m l、てけ次())性ノ
erh<加らnている。 性質(C)  り’2’E+’l”2’Fi==0トr
j6(1)Gjj−jミQ mod C2の時に限らn
る。 前記パリティ検査行列Hが単一バイト誤り訂正卯力を有
することは前記性質(a)、 (bl 、 (e)を用
いて容易に証明される。 JLI下図面を用いて本発明の詳細な説明するθ平1図
は前記パリティ検査行列Hに則したエンコーダ回路(符
号化回路)を示すブロック図である。第1図において回
路1,2および3はそn、ぞn、mビットのレジスタで
あう。回路4,5および6 Gi + TE、J しt
n ’c ッ) (1)排他的OR(EXCLU8 I
VE−OR)回路である。又、回路7は前記行列T1の
乗算回路、回路8は前記行列T2の乗算回路である。K
 (= es ・C2,’4個の情報ハイドE I)K
−11DK−2、T)X−s l −−、Dt 、no
(Di Lt m次元列ベクトル)と表わせば、チェッ
クバイ+−C6HC1+ 02(C目1m次元列ペクト
Iし)は次式で生成される。 ((−コでT+ ’ lT2 ’ (’jそn、ぞfl
、行列’r、 、 T20) ! 乗を表わす。)m1
図0)回路において、データ入力5k7i−介シテ4゛
青報ハイ) DK−I J)+c−2,−−−−−−、
Dt 、T’)。 をこの順に入力すれば削代(2)に則したチェックバイ
トCo、C+々びC2が生成され、る。ここで、Co、
C1及びC21ゴそnlぞnレジスタ1,2及び3の出
力であ6゜前t’1FTI東算回絡7及びT2乗算回路
8(1次のように1ぎ成さイする。例えば01閃−X’
+X2+1とすると、コンパニオンマトリクスTIは次
式で表わされる。 T1乗升回路7への入力をベクトルA=(aoa182
a3)’(ここで、a1=0又は1、tは転置記号)、
出力をベクトルB = Cbob+ b2b3 ) ’
 (ここで%bl=0又は1)とす^とT1乗算回路の
出力B cz B−T−Aで表わされる。すなわち C2となる。 (ここでb2=a1+a3における配号
十はモジュロ2の力日算すなわち排他的ORである。)
第2図はTriこよる乗算回路の例を示すブロック図で
ある。第2図において回路100は2人力の排他的OR
回路である。一般のGl(X)、 (MX)に対応する
コンパニオン行列Tl及びT2による乗算回路も同様に
構成されるので、こ17以上の説明は要しない。第1図
のエンコーダ回路はシンドローム生成にも利用され、る
。受信された情報バイト及びチ・ツク・バイトをり、、
−1,Dニー2.D、、−3,・・・・・・、D;。 Do、C二、C:、C;とするとシンドロームSo、8
1.及びS2は次式で生成され、るり 以下余白1 (ココテ、8 層+ DJ l c′e’3そn、ぞイ
1. m次元列ベクトル。Tiはmxm行列。)両式(
3)lこ従ったシンドロームを前記@1図の回路を用い
て生成するにLj。 受M’fl報ハ’f ) DK−1、TJK−2、−−
、I)2 、rt、 、I)Ofこの順に第1図の回路
に入力し7、一ついでチェックバイF、c二、c、、c
≦をこの順に入力T6o但し1c≦はレジスタ1のみ船
こ、CI’fルジスタ2のみに、弓′プレジスタ3のみ
にそれぞn、に入力するように制御する。受信バイトの
入力が終了するとレジスタ1,2及び3カ)らは両式(
3)で表わさn、6シンドロームS 6 + 81及び
S2がそnぞわ、出力される。 符号化(チェックバイトの生成)とシンドロームの生成
は以上のようをこ行わn、る。次にシンドロームから誤
りバイトのパターンと位置を解読する〜号回路をi4Q
、明する。 い才、1番目(oくj<K−1)の悄嘲斎バイトに誤り
パターン’Fli’ (E+ばm次元列ベクトル)の誤
りが生じたとすると、シンドロームS。、81.82は
次式で表わされ5たことが両式(21、(31より容易
に示される。 ここで、シンドロームSo、S、及び82GIlみが既
知であり、誤りパターンEと誤り位置jは未知数である
。復号は既知数86.81およびS2から誤りパターン
Eと誤り位置jを求めることである。式(4)より誤り
パターンE(まS。と一致するから、Eげ80より直ち
に求められ、る。誤り位置jは次のように求められ、る
。誤り位置を求めるためにげ、第1図の回路においてシ
ンドロームS、σ)レジスタ2々シンドロームS2り)
レジスタ3を、そn、ぞr12シンドロームSoのレジ
スタ1の出力に一致するまでシフトする。但し、このシ
フトfこおいてデータ入力線は論理ゼロに保持し、又8
6のレジスタ1はシフトしfloい。Sルジスタ2i6
よびS2レジスタ3の出力+−r を回目0)シフトで
そわ、ぞrl、 T+ ’S 1゜T24S2(世し、
81およびS2Cゴレジスタの内容の初期#)となる。 既
The present invention relates to a circuit for correcting single byte errors, and more particularly to a circuit for correcting errors at high speed. Fire codes are often used to improve the data reliability of file devices such as magnetic disk files.
A modified Fire code, which is a modified Sarawoko Fire code that enables high-speed decoding, is in use. However, as a recent trend, adjacent error correction codes (1'J, hereinafter referred to as byte error correction codes), which can encode data by byte-by-byte processing, are being used. However, the method of modifying a byte error correction code so that it can be decoded at high speed and its circuit configuration are well known. ?″1″1″ No. 6RI circuit is provided. The story correction circuit of the present invention uses a valid test matrix H. In a system that encodes data according to K+3
A circuit is provided for high-speed decoding of a single byte error occurring in a code block of bytes (K is the number of information bytes). Here, m is any even number iF, an integer and Lz7. = time, I
(j m >' m identity matrix, TI is G, (X) = Pl
(X!20) m X m companion matrix. However, p+M is an arbitrary irreducible polynomial of degree 100 and order el.T2 is an arbitrary irreducible polynomial G2(X
) is an m×m companion matrix of el and e2 are relatively prime, and the number of information bytes is given by = e1・e2,
A byte represents m bits. The error correction circuit of the present invention includes the first row of the parity check matrix Hct),
Syndrome 86 corresponding to the second and third rows, respectively. It consists of a syndrome generation circuit that generates St and G2, and a decoding circuit that determines the position of an erroneous byte from syndromes S 6 + 81 and G2. Syndrome S,, S□ and G2 generation circuit n,
It consists of a 1m-bit feedback shift register. In the case of the S1 generation circuit, there is a multiplication circuit of the matrix TI in the feedback loop, and in the case of the G2 generation circuit, there is a multiplication circuit of the matrix TI in the feedback loop.
The multiplication circuits of the burnt matrix T2 are respectively inserted. (86
A gJ arithmetic circuit of a degree matrix engineer is inserted into the generation circuit, but this is the same as not inserting anything). The decoding circuit is a syndrome shift and G2 generation circuit.
This circuit shifts the St and G2 registers by η until the contents of the registers match the contents of the syndrome So, and calculates the position of the erroneous byte based on the number of shifts. The characteristics of the error J1° positive circuit of the present invention are 1 in both equations (1).
1T parity matrix ■] r, Neuite error correction mark +! The point is to use f. Matrix I in matrix H, T1. T2Gs next (1)-i
4 Ria. . I: mXm matrix Tl: G, (X+ = P, 002a>-y companion matrix (mXm matrix). P! (3) is the order e1
is an irreducible multi-divertical formula. The period of otrX) is 2et, and it is more rp!
2el =='rlO= I T2 quadratic quadratic order 1st order Pe2 approximately polynomial G2 companion matrix (mXm matrix). Order e2 yon T2e2=
T2°=I K: Number of information bytes. Byteco m bit. Zhao (= et 4z where 01 (X
)= PsOO” == no+n+x+axx2+-
=−−−−=−・・+a,,,lx”−’ (aI=0
Also, t-s 1 > torque: l n ttnion matrix I
II, H Go ^. It is easily proven that the single companion matrix has the following properties. Vector E=(66dl-...
'm-5)''('' is a transpose symbol, and the polynomial corresponding to di=O or 1) is expressed as E(3)== (IQ+d, X+d,
2X+・・・・・・・・・+d□−xffl When property (al E(3) is divisible by P and prisoner (i.e. E QQ= Omod PH(X) no R), T I
” B+T t ' E=0 is ' jEO
Limited to model. However, Tll represents the i-th power of the mxm matrix T1, and TI'·E represents the product of the matrix T1' and the vector E modulo 2. Sex7fr+hFJ)Of+s P, (X) TeQ4Incutyn, r, c when <v'r, xwa% EDCIM n
mod P 1(X)θ), 't', tg-4-
'll'', 1 'E=n (''f, fruno<1 i
−j = Q moc12e1σ). Same FO(ko, irreducible many) 1']'1ltl''()2+X・
=h(, +h, x+b2x +・=-・・+b, n-1
x''-'(hI=n'y4:j1) Oyconhanin@-n matrix T2Tgo.Matrix T2hko1-1ml, Tekeji()) property noerh<addn.Property ( C) ri'2'E+'l"2'Fi==0tr
j6 (1) Gjj-jmi Q mod n only when C2
Ru. It is easily proven using the properties (a), (bl, and (e)) that the parity check matrix H has single-byte error correction capability.Detailed explanation of the present invention using the JLI drawings below 1 is a block diagram showing an encoder circuit (encoding circuit) conforming to the parity check matrix H. In FIG. .Circuit 4, 5 and 6 Gi + TE, J
n'c) (1) Exclusive OR (EXCLU8 I
VE-OR) circuit. Further, circuit 7 is a multiplication circuit for the matrix T1, and circuit 8 is a multiplication circuit for the matrix T2. K
(= es ・C2, '4 information hides E I)K
-11DK-2, T)X-s l --, Dt, no
If expressed as (Di Lt m-dimensional column vector), checkby+-C6HC1+02 (Cth 1m-dimensional column vector I) is generated by the following equation. ((-) T+ 'lT2'('json, zofl
, matrix 'r, , T20)! represents the power. )m1
Figure 0) In the circuit, data input 5k7i-intermediate 4゛ blue report high) DK-I J) + c-2, ---------,
Dt, T'). If input in this order, check bytes Co, C+bi C2 conforming to cutting allowance (2) will be generated. Here, Co,
The outputs of C1 and C21 registers 1, 2, and 3 are 6° before t'1. -X'
+X2+1, the companion matrix TI is expressed by the following formula. The input to the T1 multiplication circuit 7 is expressed as vector A=(aoa182
a3)' (where a1=0 or 1, t is the transposition symbol),
The output is vector B = Cbob + b2b3)'
(Here, %bl=0 or 1) and the output of the T1 multiplier circuit B cz B-T-A. In other words, it becomes C2. (Here, the number 10 in b2=a1+a3 is a power calculation modulo 2, that is, exclusive OR.)
FIG. 2 is a block diagram showing an example of a multiplication circuit based on Tri. In FIG. 2, the circuit 100 is a two-person exclusive OR
It is a circuit. Since the multiplication circuits using companion matrices Tl and T2 corresponding to general Gl(X) and (MX) are similarly configured, no further explanation is necessary. The encoder circuit shown in FIG. 1 is also used for syndrome generation. The received information bytes and check bytes are
-1, D knee 2. D,, -3,...,D;. Do, C2, C:, C; then syndrome So, 8
1. and S2 are generated by the following formula, and the margin below 1 (Kokote, 8 layers + DJ l c'e'3, zoi 1. m-dimensional column vector. Ti is mxm matrix.) Both formulas (
3) Generate a syndrome that follows Lj using the circuit shown in Figure 1 above. Reception M'fl information c'f) DK-1, TJK-2, --
, I) 2 , rt, , I) Of Input into the circuit of Fig. 1 in this order 7, check by one F, c 2, c, , c
≦ is input in this order T6o, but 1c≦ is controlled so that n is input only to register 1, CI'f register 2, and bow register 3, respectively. When the input of the received byte is completed, registers 1, 2, and 3) write both formulas (
3) n, 6 syndromes S 6 + 81 and S2 are output. Encoding (generation of check bytes) and generation of syndromes are performed as described above. Next, the i4Q circuit that decodes the pattern and position of the error byte from the syndrome is
, reveal. If an error of the error pattern 'Fli' (E + m-dimensional column vector) occurs in the first (okuj<K-1) byte, syndrome S occurs. , 81.82 are expressed by the following equations, and it is easily shown from both equations (21, (31). Here, only the syndromes So, S, and 82GIl are known, and the error pattern E and the error position are j is an unknown number. Decoding is to find the error pattern E and error position j from the known number 86.81 and S2. From Equation (4), since it matches the error pattern E (S), The error position j can be found as follows.In order to find the error position, in the circuit shown in Figure 1, the syndrome S, σ) register 2 syndrome S2)
Shift register 3 until it matches the output of register 1 of the n,zor12 syndrome So. However, during this shift f, the data input line is held at logic zero, and 8
Register 1 of 6 shifts and floats. S Lujista 2i6
and the output +-r of S2 register 3 is shifted 0), T+ 'S 1°T24S2 (shift,
81 and the initial #) of the contents of the S2C register. Already

【こ述べたように+p、2et=1゜T2e2=■で
あるからレジスタ2及びレジスタ3の量大シフト回数は
、そnぞil、2el−1、及びe2−1である。 い才、!1回目のシフトで8ルジスタ2の内容がSOレ
ジスタ11こ一改したとすると1■式(4)より86=
T1 ”5I=T1”月F+=E(O<11<2e+ 
 1 )であ6゜従って、@記性質(a)および(bl
より、11 + j= Omod e1又LJ tt 
+J = 0 ”0d2er +換言すn、ば、 1.1 =−j mOd e !又はA1=−j mo
d 2e1(5)が成立T6゜ 両式(5)(こ含まr16ふたつの式はなる新しい数r
1を導入すn、ば下式(7)のようにひとつの式に統一
さn、る。 rI=−jmodel、(11<rl<e+  1)(
力なぜならば両式(5)(こおけ611E−j mod
 2e Tと両式(6)におけるrl=t1 mod 
elはそれぞれ、−j=a・2e+ +LH(a 、 
14 (jそnぞれ−jを2elで割りた時の商と余り
)及びt1=b−el+rl (b、 rlはそれぞれ
ll’;;6fで割った時の商と余り)で書き表わさn
5、これより−j=a−2e1+b−e1+r1=(2
aI−b)eI+「lとなり、rt  jmode、が
成立することになるからである。 同様に、r2回目σ)シフトで82レジスタ3の内容が
Soレジスターに一致したとすると両式(4)より So= T2r2S2=T2r2+l E、=Eである
。前記性質(c)よりr2 + j=Q mod e2
 、換言すれば r2 = −j mod e2 、  (o<r2<e
2−1 )     (8)が成立する。以上をまとめ
ると となる。 ここで、r1/−r2jj既知であり、jが未知数であ
るっ削代(+ 0)<t ”中(ト)人のf!II余定
t’!lj (Chinese ne−mainrle
r Thenrem )  にヨッて容易に解くコトが
で入る。 −r7Tわち、1゛II式00)ヲ満7j T j (
0(j <T(−1、K=e+−ez)け下式で求めら
れ、6゜ J =K  (A+r++Azrz)modx    
 fll)ここで(A+r++A2r2)modKfj
A+rl+A2r2 f=Iぐで割った時の余りを示す
。世し、K=e】・ez、AI= a1e2.A2 =
 a2e1oal及びa2はaI62+a2e1= 1
 mod x        02)を満たす定数で、 から求められろ。式(圃のようにjはrl、r2&こそ
わ。 ぞn定数A1及びA2を掛けて加算して44%られる数
AT r 1+ A−2r 2 f Kで割ツタ時の余
りをKから引き算したものに等しい。 第3図の(a)及び(1))は以上0)原理を用いた復
号θ)フローチャートラ示す。但し、第3図(a)と第
31’Xl由)は行先/・原先關号Aを介してつながっ
ている。 図のように、シンドロームに関して、5O=81 =8
2−〇の時は誤り無しである。S 6 + S 1及び
S2の中の1個のみが非ゼロ0)時はチェックバイトc
o、C1又はcoの中の1バイト誤りと判定するう例え
ば5oj0 、81−(1、82== Oの時はチェ7
クバイトCo (こ誤りがちる(情報バイト及びチェッ
クバイトC,,C2ζこは誤りが4fい)。 また、So、S、、S、の中の2個が非零の時(例えば
、5o==Q 、 Sl〆0.S2〆0の時)は訂正不
可能誤りすなわち2バイト以上の誤りが生じたと判定す
る。 So〆o、5lpinかつS2〆0の時は情報バイトに
誤りが生じていると判定し、前述した復号手順を実行す
る。すなわち、シンドローム・レジスタS0及びシンド
ローム・レジスタS2の内容がシンドロームS。に一致
するまでシフトするっ世し、第3図のフローのように、
レジスタS1の内容が2e1−1回以内のシフトでレジ
スタSoに一致しない」4合、又はレジスタS2の内容
がez−1以内のシフトでレジスタS。4こ一秒しf(
い場合ζこげ訂正不可能誤り、すなわち2バイト以上の
誤りが生じたと判定するっここで、第3図のフローチャ
ートではシンドローム・レジスタ81(bシフトづ終了
シタ後にシンドローム・レジスタS2のシフトを開始す
るよう(こデいであるが、実際にはレジスタS1と82
 (1)シフトを同時ζこ並行して行う。 第4図(ゴ以上の排量原理を実覗1した復号回路を示す
ブロック図である。図において、回路1,2及び3はそ
れぞれ既
[As stated above, since +p, 2et=1°T2e2=■, the number of large shift times for registers 2 and 3 are respectively il, 2el-1, and e2-1. Great talent! If the contents of 8 registers 2 are changed by 11 SO registers in the first shift, then 1■ From equation (4), 86=
T1 “5I=T1”Month F+=E(O<11<2e+
1) and 6° Therefore, @ property (a) and (bl
From, 11 + j= Omod e1 or LJ tt
+J = 0 "0d2er + In other words, n, b, 1.1 = -j mOd e! or A1 = -j mo
d 2e1(5) holds true T6゜ Both equations (5) (including r16 The two equations become a new number r
1 is introduced, n is unified into one equation as shown in equation (7) below. rI=-jmodel, (11<rl<e+ 1)(
Because of the force, both formulas (5) (Koke 611E-j mod
2e T and rl=t1 mod in both equations (6)
el is −j=a・2e+ +LH(a,
14 (j is the quotient and remainder when dividing −j by 2el, respectively) and t1=b−el+rl (b and rl are respectively ll';; the quotient and remainder when dividing by 6f) n
5. From this, -j=a-2e1+b-e1+r1=(2
This is because aI - b) eI + "l, and rt jmode is established. Similarly, if the contents of 82 register 3 match the So register at the r second shift σ), then from both equations (4) So= T2r2S2=T2r2+l E, =E. From the property (c) above, r2 + j=Q mod e2
, in other words, r2 = −j mod e2 , (o<r2<e
2-1) (8) holds true. To summarize the above. Here, r1/-r2jj is known and j is unknown.
There are some things you can do to easily solve the problem. −r7T, that is, 1゛II formula 00) 7j T j (
0(j < T(-1, K=e+-ez), calculated using the lowering formula, 6°J = K (A+r++Azrz) modx
fll) where (A+r++A2r2) modKfj
A+rl+A2r2 f=I Indicates the remainder when divided by . World, K=e】・ez, AI= a1e2. A2 =
a2e1oal and a2 are aI62+a2e1=1
mod x 02), and find it from . Formula (like the field, j is rl, r2 & showa.) The number AT r 1 + A - 2r 2 f which is 44% by multiplying and adding the n constants A1 and A2 is divided by K and the remainder when ivy is subtracted from K. (a) and (1) in FIG. 3 show the decoding θ) flowchart using the above principle. However, Fig. 3(a) and No. 31'Xl) are connected via destination/origin link number A. As shown in the figure, regarding the syndrome, 5O = 81 = 8
When it is 2-0, there is no error. If only one of S 6 + S 1 and S2 is non-zero (0), check byte c
For example, check 5oj0, 81-(1, 82 == O if 1 byte error is detected in o, C1 or co).
(Information byte and check byte C, ,C2ζ have 4f errors).Also, when two of So, S, ,S are non-zero (for example, 5o== Q, Sl〆0.S2〆0), it is determined that an uncorrectable error, that is, an error of 2 bytes or more has occurred.When So〆o, 5lpin and S2〆0, it is determined that an error has occurred in the information byte. The above-mentioned decoding procedure is executed, that is, the contents of the syndrome register S0 and the syndrome register S2 are shifted until they match the syndrome S. As shown in the flowchart of FIG.
The contents of register S1 do not match register So within 2e1-1 shifts, or the contents of register S2 do not match register S within ez-1 shifts. 4 seconds and f(
If not, it is determined that a burnt uncorrectable error, that is, an error of 2 bytes or more has occurred.In this case, in the flowchart of FIG. (This is what it looks like, but actually registers S1 and 82
(1) Shifts are performed simultaneously. FIG. 4 (This is a block diagram showing a decoding circuit that takes a practical look at the displacement principle above 1. In the figure, circuits 1, 2, and 3 are respectively

【こ述べたシンドローム・レジスタSQ、8I
及びS2、回路7,8はそわぞn、既lこ述べたT、、
T2乗算回路である。図において、シンドローム・レジ
スタS、と82は同時にシフトされる。回路I2はシン
ドローム・レジスタS1のシフト回数を計数するカウン
タであり、回路13はシンドローム・レジスタS2のシ
フト回数を計数するカウンタである。回路10.11は
それぞれレジスタS。とSl及びレジスタSoと825
:比較する比較回路である。Soと81が一致すると回
路10は出力信号線20を介してカウンタ12の計数動
作を停止させる。同様にSoと82が一致すると回路1
1は出力信号線21を介してカウンタ13の計数動作を
停止させる。従って、カウンタ12にはSlがSo(こ
一致するまでに要したシフト回数tlが保持され1、カ
ウンタ13にはS2がSOに一致するまで要したシフト
回数r2が保持される。ここで、前記第3図のフローチ
ャートより、シンドローム・レジスタ81ζこ必gなシ
フト回数は最大2e1−1回、シンドローム7・レジス
タS2に必要なシフト回数は最大e2−1回である。 シンドローム・レジスタSlと82は同時に並行してシ
フトされるから、シンドローム・レジスタに必要な最大
シフト数は2el−1とez−1のいづれか大きい方に
等しい。 カウンタ12の計数値が2e1−1を越えてもSlがS
oに一致しない場合、またはカウンタ13の計数値がe
z−1を越えてもS2が8o+こ一致しt「い場合には
訂正不可能誤りが生じたとして、誤り訂正動作は終了す
る。そうでf「い場合、すなわちシンドロームS1及び
S2がシンドロームSolこ、そわぞn2eド」回、e
l−1回以内のシフト回数で一致した場合tこ(ゴ回路
14及び回路15によって誤り位置が計算されるう 回路14は前記カウンタ12に保持された前記シフト回
数t1(0く〕、+<2el−1)を両式(6)に従っ
てシフト回数r1に変換する回路である。すなわち回1
Mr】4は入力t1をelで割った時の余りrl(O<
r+ <6.−1 )を求め出力する回路である。回路
15は前記シフト回数r1及びr2(0くr2 <:、
 el −1)から、両式(11)に従って誤り位置j
を計算す6回路である。すなわち、回路15げj = 
K −(AHrl +A2r2 ) m□d Kを計算
する回路である。 ここで、比較回路10と11、カウンタ12六13は市
販の集積回路(IC)を用いてハードウェア的に容易(
こ実施でき^。まf:、回路14及び回路15けハード
ウェア的(こも字現できるが、ファームウェア方式でも
実現できる。多くの固気ディスク装+rffiはマイク
ロプログラム制御方式(ファームウェア方式)を採用し
ているので、回路14及び15の計算機卵をファームウ
ェアで実施するのけ比較的容易であるし、この場合回路
14.15を実現fるに必要なハードウェア回路がいら
なくなる他点がある。 履−ヒの説明から明らかなように、2fi:発明の得号
回路でG−1r、シンドロームレジスタS1の最大シフ
ト回数は2el−1回、シンドロームレジスタS2の最
大シフト回数(ゴe2−1回である。シンドロームレジ
スタS、と32は同時にシフトされへから、徨号に必要
なシンドローム・レジスタのシフト回数は2el−1と
el−1のいづわ、か大きい方に等しい。従って、復号
時間はシンドローム・レジスタa)シフト時間(2ex
−1とelのいづれ力\大きい方)と計算時間(’j 
==に−(A4rl+A2rz)mod Kを計算する
時間)の和に等しい。一方、逆常のタカ方法では、情報
バイト数K(=el−62)に等しいシフト回数が必要
とされるから、本発明により復号時間をか1Cり短縮す
ることが可能である。 以下において、具体例を用いて本発明をより詳しく説明
する。 G1(X)、 G2(X)として4次(m=4
)の多項式を用いろものとするう従って、バイト−4ビ
ットrm=4)である。 Gl(X> : Gl(X’1=Pl(X)2= X”
+X” + 1゜但シ、Px(X)=X2+X+1は位
数el=3の既約多項式である。 G2(Xl : G2(X)=X’+ X3+ X2+
 X + 1 。Gaハ位ne2=5(J〕既約多項式
。 G、(X)、 G、Q tこ対応するコンパニオン行列
(4×4行列)5−それぞわ、T、 、T2とし、4×
4単位行列をIとすaとこわ、らは次のように表わされ
る。 ここで情報バイト数にけに=e1・e2=15である。 又、位数e1=3よりT、の周期は6(=2e2)、す
なわちT、’ = Tである。位数e2=5よりT2の
周期は5、すなわちT2’ = Iである。こわらは次
のように確かめられる。 T、に関しては次の1由りである〇 さらにT2tこ関して次の通りである。 i番目の情報バイト(ここでバイト−4ビツト)に誤り
パターンEが生じたとするとシンドロームSO+81+
82は次式で表わされ、る。 86=E s1=’r、’E S 2 ” T2 ’ R ここで、oくt<14である。 復号は次のステップ1〜3に従って行なわれる。 〔ステップ1〕 シンドローム・レジスタSlとSzPシフトし、レジス
タ86と]上載するうレジスタS1と80Cゴt1回目
rOくlIく2e1−1=5)、レジスタS2ト80は
r2回目(0<C2<62−1 = 4 ) T!ソt
1.ソれ一致したとする。すなわち8g−=T1”St
 、so ”T2C282トv;a。 〔ステップ2〕 r+= C1+ )mod e1= (tt )mod
 3 ’E:求める。 〔ステップ3〕 娯り位tf’ij =K  (A+rt+A2r2)m
od x= 15− (10r++6r2)mocl+
sを求める。 ここで、定数A1=10及びA2=6は次のように求め
られる。前弐〇挿、すなわちa+ e2:l mod 
el 。 a2ex”:] mod e2より、まずalと32ヲ
求める。 (ale2 )mode1= (5al )mods=
1及び(a2el )mode2=(3az)mods
=1よりal=2゜a2=2゜従って、AI=ale2
==2X5=10.Az=azet=2x3=6である
。 次に以上のステップを用いて実際に誤り位置が求められ
ることを例示する。 〔例 1〕 14番目の情報バイトに誤りパターンE = (101
1)’(tは転置記号)が生じたと仮定する。ここでベ
クトルEに対応する多項式E(3)=X3+X”+1は
P1閃=X2+X+1で割り切れない。すなわちE(X
)j Omod P 1(X)である。シンドローム8
..8.、S2は次のようになる。 次にFl11紀ステップに従って瞑り位置j=14が氷
めらn、/)ことをボす。 〔不テップ1〕 第 5図に示す。こT1よりtl =4 、 C2=1
〔ステップ2〕 rr= (Lt )rnod 3=] 〔ステップ3〕 j = 15− (10X1+6X1 ) mod+5
=15−1=14次に誤りパターンg(x、がP!lX
)で割り切れaJjJ合について例示する〇 〔例 2〕 7番目の情報バイトに誤りパターンE=(1001)’
が生じたと仮定する。ここで、E(m=x’+x=(X
+1)(X”+X+1)’=(X+1)P、囚、すなわ
チE□(l三〇modP+(3)である。シンドローム
はであう。 しステップ1〕 第6図に示す。これよりtt=2.rz=3゜[ステッ
プ2〕 rx= (tl)mods=2 rステップ3] j=15− (10X2+6X3)mod+5=15−
8m7以上より、本発明により誤りが正しく復号・され
。 ることが示さl′15た。 しかしながら、本発明のり号回路Q〕利点(ま以上の短
かいバイト幅の符号では十分(こ理解することはできな
い。本発明の復号回路は長いツマイト幅(ここでバイト
中1嘔ハバイト−mヒ゛2トにぢけ6mの値である)の
符号に最も適している。例えば。 バイト−16ビソl−(m=16)の場合を考えれば、
本発明の利点を十分に理解することができる。 生成多項式G、(3)、Gへとして次の次数16(m=
16)の多項式を選ぶものとする。 (hoo: GIQG−P1%2=X16+X8+X’
 +X2+ 1゜但シ、P+(X)は次数8、位数e+
=51の既約多項式でP+(X)=X8+X’ 十X3
+X+ 1゜G200: G2(X)=X” +X15
+X14+X13+X9+X8+Xフ+X′+X2+X
+1゜但し、Gaは位数e2=257の既約多項式。 情報バイト数K : K= el−e2=13107/
q ト。 イロし、バイト=16ビツト。 ここで、G!(3)、 G2(X)に対応するコンパニ
オン行列(1次の通りである。 ’0010000000000(+01 110001
000000000000 !10000100000
000000  □1oonoo1ooooooooo
o  1この符号の場合、誤り位置jは次式で求められ
る。 j=に−(A、+ rl +A、2 r2)mod x
=に−(fi682r+ +6426rz ) mod
 K 但し、K=13107である。 ここで、定数A1およびA2は次のように求められる。 AlA2はAx=ate2=257a 、A2=a2e
l=51a2である。又、al、a2は(257a1)
mods、+”1+ (51a2 ) mod25y=
1 ’29たす“脚数であり、次のようにユーク1)ラ
ドの互除法で得らη、る。 257=5X51+2.51=25X2+1.こわ、よ
り1 = 51−2X25=51−25X (257−
5X51 ) =126X51−25X257゜これよ
り、(126X51.)mod2sy=1.従6て82
=126゜又、((−25) X257)rmd5+=
(26×257)mods1−1.従ってal=26゜
以上より、AI=ale2=26X257=6682.
A2=azet=126X51=6426である。 ここで、従来の復号法では、シンドローム・レジスタを
情報バイト数に=13107に等しい回数だけシフトす
る必要がある。従って従来の復号法の復号時間をTlと
すればT、=13107シフト時間、である。 一方、本発明の復号法ではシンドローム・レジスタF2
et  1 (=101)又はez−1(=256 )
のいづわ、か大きい方に等しい回数だけシフトすれば良
い。すなわち必要なシフト回数は256回であ6つ従っ
て、不発明の稗す回路の布量時間をT2とすわば’I’
2−256シフト時116+計算時開16+計算 の計算に要する時間である。ワアームウエアを用いわば
、こ0)計Wを高速に実行可卵であろから、本発明によ
るイトj号時間T2ヲ従来の(V号時間T1よりもかな
り小さくすうこ占が可能である。 以−ヒより、本発明のバイト誤り計重回路は高速に誤り
をfl)号fめこ々かり能であり、不発明の目的亭十分
に搾成で六〇。
[Syndrome register SQ, 8I mentioned above]
And S2, circuits 7 and 8 are complicated, T, which I have already mentioned,...
This is a T2 multiplication circuit. In the figure, syndrome registers S and 82 are shifted simultaneously. The circuit I2 is a counter that counts the number of shifts of the syndrome register S1, and the circuit 13 is a counter that counts the number of shifts of the syndrome register S2. Circuits 10 and 11 are each a register S. and Sl and register So and 825
: Comparison circuit for comparison. When So and 81 match, the circuit 10 stops the counting operation of the counter 12 via the output signal line 20. Similarly, if So and 82 match, circuit 1
1 causes the counter 13 to stop counting via the output signal line 21. Therefore, the counter 12 holds the number of shifts tl required until Sl matches So (1), and the counter 13 holds the number of shifts r2 required until S2 matches SO. From the flowchart in FIG. 3, the number of shifts necessary for syndrome register 81ζ is at most 2e1-1 times, and the number of shifts required for syndrome 7 register S2 is at most e2-1 times.Syndrome registers Sl and 82 are Since they are shifted simultaneously and in parallel, the maximum number of shifts required for the syndrome register is equal to the larger of 2el-1 and ez-1.Even if the count value of counter 12 exceeds 2e1-1, Sl
o, or the count value of the counter 13 is e.
If S2 matches 8o+ even if it exceeds z-1, it is assumed that an uncorrectable error has occurred, and the error correction operation ends. Hey, I'm nervous n2e do' times, e
If the number of shifts is within l-1, the error position is calculated by the circuit 14 and the circuit 15. 2el-1) into the number of shifts r1 according to both equations (6).
Mr】4 is the remainder rl when input t1 is divided by el (O<
r+<6. -1) and outputs it. The circuit 15 calculates the number of shifts r1 and r2 (0×r2 <:,
el −1), the error position j according to both equations (11)
There are 6 circuits to calculate . That is, circuit 15gej =
This is a circuit that calculates K − (AHrl + A2r2 ) m□d K. Here, the comparison circuits 10 and 11 and the counters 12 and 13 are easily constructed using commercially available integrated circuits (ICs) in terms of hardware (
This can be done. Maf:, circuit 14 and circuit 15 can be realized by hardware (this can be expressed literally, but it can also be realized by firmware method.Many solid disk systems + RFFI adopt a microprogram control method (firmware method), so the circuit It is relatively easy to implement the computer systems 14 and 15 in firmware, and in this case, there is no need for the hardware circuitry required to implement circuits 14 and 15. As is clear, 2fi: In the winning circuit of the invention, G-1r, the maximum number of shifts of the syndrome register S1 is 2el-1 times, and the maximum number of shifts of the syndrome register S2 (goe2-1 times).Syndrome register S, and 32 are shifted at the same time, so the number of syndrome register shifts required for the error code is equal to the greater of 2el-1 and el-1.Therefore, the decoding time is the syndrome register a) shift time (2ex
-1 and el (the larger one) and calculation time ('j
= = equal to the sum of - (A4rl+A2rz) mod the time to calculate K). On the other hand, since the reverse normal method requires a number of shifts equal to the number of information bytes K (=el-62), the present invention can reduce the decoding time by 1C. In the following, the present invention will be explained in more detail using specific examples. G1(X), G2(X) as 4th order (m=4
), so byte-4 bits rm=4). Gl(X>: Gl(X'1=Pl(X)2=X"
+
X+1. Ga = 5 (J) irreducible polynomial. G, (X), G, Q t corresponding companion matrix (4 x 4 matrix) 5 - each, T, , T2, 4 x
The 4-unit matrix is expressed as follows: I, a, and stiffness. Here, the number of information bytes is equal to e1 and e2=15. Also, since the order e1=3, the period of T is 6 (=2e2), that is, T,' = T. Since the order e2=5, the period of T2 is 5, that is, T2'=I. Stiffness can be confirmed as follows. Regarding T, the following is true. Furthermore, regarding T2t, the following is true. If error pattern E occurs in the i-th information byte (here byte - 4 bits), the syndrome SO+81+
82 is expressed by the following formula. 86=E s1='r,'E S 2 "T2 ' R where ot<14. Decoding is performed according to the following steps 1 to 3. [Step 1] Syndrome register Sl and SzP shift and register 86] register S1 and 80C are the first time rOklIku2e1-1=5), and register S2 and 80 are the second time (0<C2<62-1 = 4) T!Sot
1. Suppose that they match. That is, 8g-=T1”St
, so "T2C282tv;a. [Step 2] r+= C1+ ) mod e1= (tt ) mod
3'E: Ask. [Step 3] Amusement level tf'ij =K (A+rt+A2r2)m
od x= 15- (10r++6r2)mocl+
Find s. Here, the constants A1=10 and A2=6 are determined as follows. The first two insertions, i.e. a+ e2:l mod
el. a2ex":] From mod e2, first find al and 32. (ale2) mode1= (5al) mods=
1 and (a2el)mode2=(3az)mods
=1, so al=2゜a2=2゜Therefore, AI=ale2
==2X5=10. Az=azet=2x3=6. Next, an example will be given of how the error position is actually determined using the above steps. [Example 1] Error pattern E = (101
1) Assume that '(t is the transposition symbol) has occurred. Here, the polynomial E (3) = X3 + X'' + 1 corresponding to the vector E is not divisible by P1 = X2 +
)j Omod P 1(X). syndrome 8
.. .. 8. , S2 are as follows. Next, according to the Fl 11th step, it is determined that the closing position j = 14 is ice Mera n, /). [Non-step 1] Shown in Figure 5. From this T1, tl = 4, C2 = 1
[Step 2] rr= (Lt)rnod 3=] [Step 3] j = 15- (10X1+6X1) mod+5
=15-1=14 Next, error pattern g(x, is P!lX
) 〇 [Example 2] Error pattern E = (1001)' in the 7th information byte
Assume that this occurs. Here, E(m=x'+x=(X
+1)(X''+X+1)'=(X+1)P, prison, i.e. ChiE□(l30 mod P+(3).The syndrome is. Step 1) It is shown in Figure 6.From this, tt= 2.rz=3゜[Step 2] rx= (tl) mods=2 rStep 3] j=15- (10X2+6X3) mod+5=15-
From 8m7 and above, errors are correctly decoded and decoded by the present invention. It was shown that l'15. However, the advantage of the decoding circuit Q of the present invention is that a code with a shorter byte width is sufficient. For example, if we consider the case of bytes - 16 bits (m = 16),
The advantages of the present invention can be fully understood. As the generator polynomial G, (3), the next degree 16 (m=
16) is selected. (hoo: GIQG-P1%2=X16+X8+X'
+X2+ 1゜However, P+(X) has degree 8 and order e+
=51 irreducible polynomial P+(X)=X8+X' 1X3
+X+ 1゜G200: G2(X)=X” +X15
+X14+X13+X9+X8+Xfu+X'+X2+X
+1° However, Ga is an irreducible polynomial with order e2=257. Number of information bytes K: K=el-e2=13107/
q. Byte = 16 bits. Here, G! (3), the companion matrix corresponding to G2(X) (of order 1 is as follows: '0010000000000(+01 110001
000000000000! 10000100000
000000 □1oonoo1oooooooooo
o 1 In the case of this code, the error position j is determined by the following equation. j = to - (A, + rl + A, 2 r2) mod x
=ni-(fi682r+ +6426rz) mod
K However, K=13107. Here, constants A1 and A2 are determined as follows. AlA2 is Ax=ate2=257a, A2=a2e
l=51a2. Also, al, a2 is (257a1)
mods, +”1+ (51a2) mod25y=
1 '29 plus the number of legs, which is obtained by Yuk1) Rad's algorithm as follows. 257-
5X51) = 126X51-25X257° From this, (126X51.) mod2sy=1. 6th 82
=126゜Also, ((-25) x257)rmd5+=
(26×257) mods1-1. Therefore, since al=26° or more, AI=ale2=26X257=6682.
A2=azet=126X51=6426. Here, in the conventional decoding method, it is necessary to shift the syndrome register a number of times equal to the number of information bytes=13107. Therefore, if the decoding time of the conventional decoding method is Tl, then T=13107 shift times. On the other hand, in the decoding method of the present invention, the syndrome register F2
et 1 (=101) or ez-1 (=256)
All you have to do is shift the number of times equal to Noizuwa or the larger one. In other words, the required number of shifts is 256, which is 6.Therefore, the amount of cloth for the uninvented circuit is T2 and 'I'.
It is the time required for calculation of 2-256 shifts 116 + calculations open 16 + calculations. Since it is possible to execute the total W at a high speed using the software, it is possible to predict the time T2 of the item J according to the present invention to be much smaller than the conventional time T1 of the item V. As can be seen from the above, the byte error counting circuit of the present invention is capable of detecting errors at high speed, and the purpose of the invention is fully exploited to the extent of 60.

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

第11ヅ1は本発明によ6パイト誤り訂正符号の符号化
回路を示すブロック南、畠2図げG囚−X4+X2月の
コンパニオン行列Tを乗算する回路を示すブロワ4図、
第3図1(at 、 (b)i丁イリ号法を示すフロー
チャート、第4図は秤量回路のブロック1′カ、第5図
及び菖6図はそれぞわ.i1号迦程の例を示す図である
。 図において、]、2.3はシンドローム・レジスタ、/
1,5.6は排他的OR回路、7,8はそれぞれG+(
X)及びG1間のコンパニオン行列’r+及ヒT2を乗
算する回路、100(ば排他的O R,回路、10。 11は一致を検出するための比較回路、14は入力信号
1.を出力信号r1にrl = ( 1−1) mod
 elに従って変換する回路、15は信号t1及びrl
に基づいて誤りのあるバイトの位置を計算すり回路をそ
わ,ぞ減示す。 代理人弁理士「:、H f7   晋 オ フ 図 オ 2 図 7  3 図 (α) 第3図(b)
11th part 1 is a block south showing an encoding circuit of a 6-byte error correction code according to the present invention, a blower 4 diagram showing a circuit for multiplying the companion matrix T of Hatake 2, G-X4+X2,
Fig. 3 is a flowchart showing the i-cho method, Fig. 4 is the block 1' of the weighing circuit, and Fig. 5 and irises 6 are examples of the i-1 process. In the figure, ], 2.3 is a syndrome register, /
1, 5.6 are exclusive OR circuits, and 7, 8 are G+(
A circuit for multiplying the companion matrix 'r+ and H T2 between X) and G1, 100 (exclusive OR, circuit, 10; 11 is a comparison circuit for detecting a match; 14 is an output signal for input signal 1. rl to r1 = (1-1) mod
A circuit for converting according to el, 15 is the signal t1 and rl
The circuit calculates the location of the erroneous byte based on the . Representative patent attorney:, H f7 Shinoff Figure 2 Figure 7 3 Figure (α) Figure 3 (b)

Claims (1)

【特許請求の範囲】 パリティ検査行列 (ここで、mを任意の偶数の正整数とすると、IGet
 m X m単位行列、T+ Gl G+(X) = 
p、(x−20) m X mコンパニオン行列。P、
(XIは次数11位?i&e+の任意の既約多項式であ
る。T2は次数m1位救e2の任意の既約多項式G2(
X)のm :/mコンパニオン行列。 elとe2は互いをこ素で、情報バイト数K(jK=e
、・e2つバイト(ゴmビットを表わす。)に従ってデ
ータを符号化すへシステムにおいて、受信データ・バイ
ト力1ら前記検査行列Gl+@1.第2及び第3行に対
応してシ ドロームS(i、81及び82.Hそn、ぞ
れ生成する第1.第2および第3のシンドローム・1/
ジスタと、シンドロームの生成終了後前記第2及び第3
のシンドローム・レジスタをシフトし、前記第2のシン
ドローム・レジスタの内容Slが前記第1のシンドロー
ム・レジスタの内容Soに一致すへまでに弗したシフト
回数を計数し保持する第1のカウンタと、前記第3のシ
ンドローム・レジフタの内容S 2が前記第10)シン
ドローム・レジスタの内容SOに一散T6オでに要した
シフト回数を計数し保持すう第2のカウンタと、前記第
1及び第20)カウンタに保持され、たシフト回数に基
づいて誤りのあるバイトの位置を計算する回路とから構
成されろ高速バイト誤り訂正回路。
[Claims] Parity check matrix (where m is any even positive integer, IGet
m x m identity matrix, T+ Gl G+(X) =
p, (x-20) m X m companion matrix. P,
(XI is any irreducible polynomial of degree 11th?i&e+.T2 is any irreducible polynomial G2(
m of X) :/m companion matrix. el and e2 are disjoint from each other, and the number of information bytes is K (jK=e
, ·e In a system for encoding data according to two bytes (representing m bits), the received data byte force 1 to the parity check matrix Gl+@1 . Corresponding to the second and third rows, the syndrome S(i, 81 and 82.
After the generation of the syndrome, the second and third
a first counter that counts and holds the number of shifts until the content Sl of the second syndrome register matches the content So of the first syndrome register; a second counter for counting and holding the number of shifts required for dispersing the content S2 of the third syndrome register to the content SO of the tenth syndrome register; ) a circuit that calculates the location of the erroneous byte based on the number of shifts held in a counter; and a high-speed byte error correction circuit.
JP58003098A 1983-01-12 1983-01-12 High speed correcting circuit of byte error Granted JPS59128650A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP58003098A JPS59128650A (en) 1983-01-12 1983-01-12 High speed correcting circuit of byte error

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP58003098A JPS59128650A (en) 1983-01-12 1983-01-12 High speed correcting circuit of byte error

Publications (2)

Publication Number Publication Date
JPS59128650A true JPS59128650A (en) 1984-07-24
JPH0351008B2 JPH0351008B2 (en) 1991-08-05

Family

ID=11547864

Family Applications (1)

Application Number Title Priority Date Filing Date
JP58003098A Granted JPS59128650A (en) 1983-01-12 1983-01-12 High speed correcting circuit of byte error

Country Status (1)

Country Link
JP (1) JPS59128650A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0338496A2 (en) * 1988-04-20 1989-10-25 Sanyo Electric Co., Ltd. Method and circuit for detecting data error
JPH0264956U (en) * 1988-11-04 1990-05-16
JPH02206887A (en) * 1989-02-06 1990-08-16 Fuji Xerox Co Ltd Data input converting device
JPH0429414A (en) * 1990-05-25 1992-01-31 Natl Sci Council Step-by-step type coding of cyclic code and decoder

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0338496A2 (en) * 1988-04-20 1989-10-25 Sanyo Electric Co., Ltd. Method and circuit for detecting data error
JPH0264956U (en) * 1988-11-04 1990-05-16
JPH02206887A (en) * 1989-02-06 1990-08-16 Fuji Xerox Co Ltd Data input converting device
JPH0429414A (en) * 1990-05-25 1992-01-31 Natl Sci Council Step-by-step type coding of cyclic code and decoder

Also Published As

Publication number Publication date
JPH0351008B2 (en) 1991-08-05

Similar Documents

Publication Publication Date Title
Meggitt Error correcting codes and their implementation for data transmission systems
Chien Cyclic decoding procedures for Bose-Chaudhuri-Hocquenghem codes
WO2010115371A1 (en) Implementation method and apparatus for cyclic redundancy check crc codes
US5856987A (en) Encoder and decoder for an SEC-DED-S4ED rotational code
Ramabadran et al. A tutorial on CRC computations
US5440570A (en) Real-time binary BCH decoder
JPS63244935A (en) Method and system for detecting and correcting errors
US5778009A (en) Dedicated ALU architecture for 10-bit Reed-Solomon error correction module
JPH03136524A (en) Error detection and correction system to long burst error
JPS59123945A (en) Numerous byte error correction system
US5537427A (en) Modular multiple error correcting code system
GB1437115A (en) Message error handling
US20080104492A1 (en) Data Processing
US7093183B2 (en) Symbol level error correction codes which protect against memory chip and bus line failures
JPS59128650A (en) High speed correcting circuit of byte error
Babaie et al. Double bits error correction using CRC method
EP3610576B1 (en) Pipelined forward error correction for vector signaling code channel
US5526370A (en) Weighted sum codes for error detection
JPH0361210B2 (en)
JPS6217256B2 (en)
JP2585361B2 (en) Error position and error pattern extraction device for Reed-Solomon code
JPS59163650A (en) High-speed correcting circuit for byte error
CA1082815A (en) Table lookup direct decoder for double-error- correcting (dec) bch codes using general pair of syndromes
Zhang et al. A Method for Reducing the Complexity of Meggitt Decoder
JPH05151007A (en) Crc arithmetic unit