JPS58123144A - Decoding system of read solomon code - Google Patents

Decoding system of read solomon code

Info

Publication number
JPS58123144A
JPS58123144A JP57006441A JP644182A JPS58123144A JP S58123144 A JPS58123144 A JP S58123144A JP 57006441 A JP57006441 A JP 57006441A JP 644182 A JP644182 A JP 644182A JP S58123144 A JPS58123144 A JP S58123144A
Authority
JP
Japan
Prior art keywords
intermediate information
circuit
symbol
error
information
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
JP57006441A
Other languages
Japanese (ja)
Other versions
JPS6217256B2 (en
Inventor
Yukihiro Okada
行弘 岡田
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 Home Electronics Ltd
NEC Corp
Original Assignee
NEC Home Electronics Ltd
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 Home Electronics Ltd, Nippon Electric Co Ltd filed Critical NEC Home Electronics Ltd
Priority to JP57006441A priority Critical patent/JPS58123144A/en
Publication of JPS58123144A publication Critical patent/JPS58123144A/en
Publication of JPS6217256B2 publication Critical patent/JPS6217256B2/ja
Granted legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/08Error detection or correction by redundancy in data representation, e.g. by using checking codes
    • G06F11/10Adding special bits or symbols to the coded information, e.g. parity check, casting out 9's or 11's

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Detection And Correction Of Errors (AREA)
  • Error Detection And Correction (AREA)

Abstract

PURPOSE:To use effectively the information on all syndromes of checking symbols and at the same time to simplify the circuit constitution, by applying a system which delivers an error flag after detecting an error by means of a read Solomon code. CONSTITUTION:For all positive values in which the shift clock number (i) delivered from a syndrome arithmetic controlling circuit is less than the symbol number forming a code block, an intermediate information all-zero deciding circuit 9 delivers no signal showing that intermediate informations M0-M2 are all 0. In such a case, an output showing that the coincidence is obtained between intermediate information ratios j' and j'' is supplied from an intermediate information ratio comparator 8 via a line 110 with an optional value of 1<=i<=32. At the same time, a signal showing that 0 is not contained in the informations M0-M2 is supplied to a correction execution driving circuit 13 from an intermediate information zero detecting circuit 10 via a line 109. In such a case, it is decided that two symbols are wrong. Both i and j' are supplied to an error correction executing circuit 14 via lines 115 and 116 respectively and in the form of error symbol positions.

Description

【発明の詳細な説明】 本発明はリード・ソロモン符号を用いた誤り訂正復号方
式に関する。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to an error correction decoding method using Reed-Solomon codes.

リード・ソロモン符号はランダム誤シを訂正するだめの
現在知られている最も強力な誤シ訂正符号の1つである
Reed-Solomon codes are one of the most powerful error-correcting codes currently known for correcting random errors.

リード・ソロモン符号に関しては米国のノース・ホーラ
ンド・パブリッシング カンパニイ(N0RTH−HO
LLAND PUBLISH工NGCOMPANY)か
ら1978年に発行されたエフ・ジエー・マツクウィリ
アム(r’ 、 J 、 MAC//I L]lA、J
 )エフ・ジエー・エイ・スローン(N、J、A、5L
OAN )著ザセオリイ オプ エラーコレクティング
 コープ(THE THEORY OF ERRORC
ORRKCTING C0DKS )K詳述サレテイル
Regarding Reed-Solomon codes, North Holland Publishing Company (N0RTH-HO
Published in 1978 by LLAND PUBLISH ENGINEERING COMPANY
) F.A.A. Sloan (N, J, A, 5L
THE THEORY OF ERRORC
ORRKCTING C0DKS ) K detailed sale tale.

この符号は、巡回符号の一種であるためにその符号化に
関しては、よく知られた巡回符号の符号器を用いて比較
的簡単に実現できるが、その復号に関しては一般的な従
来の方法を用いると装置が非常に複雑になるという欠点
を有している。
Since this code is a type of cyclic code, its encoding can be realized relatively easily using a well-known cyclic code encoder, but its decoding requires a general conventional method. This has the disadvantage that the device becomes very complicated.

本発明の目的は従来のこのような欠点を除去するにある
The object of the present invention is to eliminate these drawbacks of the prior art.

本発明の方式は、 M個(但しMは正の整数)の1次長項式の積でできる生
成多項式から生成される符号長N(但しNi1t、Mよ
りも大きい正の整数)のリード・ソロモン符号を受信し
て該受信符号に対するM個のシンドロームSo、Sl、
・・・、5M−1を演算し該シンドロー検出したらその
誤りを訂JISが千4牟=★4hシ蜘ニー      
     該受信符号−柑11[を出力し、3シンボル
以上の誤りを検前記シンドローム8o、S1.・・・、
5M−1より予め設定された演算によって定まるM−1
個の中間情報を演算する中間情報演算手段と、前記中間
情報各各全てが”0゛か否かを判定する中間情報オール
ゼロ判定手段と、 前記中間情報のうち少なくとも1個のmolO中間情報
が含まれるか否かを判定する中間情報ゼロ検出手段と、
前記中間情報よりM−2個の中間情報比を演算する中間
情報比演算手段とこれらの情報がすべて等しいか否かを
判定する中間情報化比較手段と、 前記中間情報演算手段より生成可能なシンボル位置と前
記中間情報オールゼロ判定手段の出力とに応答して予め
定めたアルゴリズムに従って17ンボルの誤り訂正を実
行すべきか否かを決定し訂) 正を行なう場合には前記シンボル位置が誤りシンボル位
置に対応するため、そのシンボルに対し、前記シンドロ
ームSoを誤り零手情報として誤り訂正を実行する1シ
ンボル誤り訂正手段と、前記中間情報演算手段より生成
可能なシンボル位置と、前記中間情報ゼロ検出手段の出
力と前記中間情報化比較手段の出力とに応答して予め定
めタアルゴリズムに従って2シンボルの誤り訂正を実行
すべきか否かを決定し訂正を行なう場合には前記シンボ
ル位置が2シンボルの誤り位置の1個ことにより前記誤
りシンボル位置i y 、j++5aを利用して前記指
定された各シ・ポル位置1s、Lに対する誤り訂正に使
用すべき廿i情報を演算呑≠参番手本実行する2シンボ
ル誤り訂正手段とを含む。
The method of the present invention uses a Reed-Solomon code of length N (Ni1t, a positive integer greater than M) generated from a generator polynomial formed by the product of M (M is a positive integer) first-order length terms. A code is received and M syndromes So, Sl,
..., after calculating 5M-1 and detecting the syndrome, correct the error.JIS is 1,400 meters = ★4h spider
The received code-11 is output and errors of 3 or more symbols are detected. ...,
M-1 determined by preset calculation from 5M-1
an intermediate information calculation means for calculating intermediate information of pieces; an intermediate information all-zero determination means for determining whether each piece of the intermediate information is "0"; and at least one piece of molO intermediate information among the intermediate information. intermediate information zero detection means for determining whether or not the
intermediate information ratio calculation means for calculating M-2 intermediate information ratios from the intermediate information; intermediate information comparison means for determining whether all of these pieces of information are equal; and symbols that can be generated by the intermediate information calculation means. In response to the position and the output of the intermediate information all-zero determination means, it is determined whether or not error correction of 17 symbols should be performed according to a predetermined algorithm. In order to cope with this, a one-symbol error correction means that performs error correction on the symbol using the syndrome So as error zero-hand information, a symbol position that can be generated by the intermediate information calculation means, and the intermediate information zero detection means In response to the output and the output of the intermediate information comparison means, it is determined whether or not to perform two-symbol error correction according to a predetermined algorithm. By using the error symbol positions i y and j++5a, calculate the i information to be used for error correction for each of the specified symbol positions 1s and L. and correction means.

第1図は本発明の一実施例を示すブロック図でありこの
実施例では、 1・・・シンドローム演算回路、2・・・シンドローム
演算制御回路、3・・・シンドローム記憶回路、4・・
・中間情報Mo演算回路、5・・・中間情報M1演算回
路、6・・・中間情報M2演算回路、7・・・中間情報
比演算回路、8・・・中間情報化比較回路、9・・・中
間情報オールゼロ判定回路、10・・・中間情報ゼロ検
出回路、11・・誤り訂正情報gi、Ej演算回路、1
2・・・シンドにより構成される。
FIG. 1 is a block diagram showing an embodiment of the present invention. In this embodiment, 1... syndrome calculation circuit, 2... syndrome calculation control circuit, 3... syndrome storage circuit, 4...
- Intermediate information Mo calculation circuit, 5... Intermediate information M1 calculation circuit, 6... Intermediate information M2 calculation circuit, 7... Intermediate information ratio calculation circuit, 8... Intermediate information comparison circuit, 9... - Intermediate information all-zero determination circuit, 10... Intermediate information zero detection circuit, 11... Error correction information gi, Ej calculation circuit, 1
2...Constituted by Sindh.

さて、このブロック図に従って本実施例の動作の詳細を
説明する前にまずその動作原理を先に説明するっ 一般テ、リード・ソロモン符号においては、N個のシン
ボルが1符号ブロックを構成し、この1符号ブロック中
にM個の検査用シンボルと、N−M個の情報伝達用シン
ボルとが含まれる。ここで用いられる各シンボルには種
種あるが、本実施例では、一般に広く用いられている8
ビツトの符号ベクトルと仮定する。また、説明を具体的
にするために、1符号ブロック中のシンボルの数(符号
長)N−32とし、また1符号ブロック中の検査用シン
ボルの数M=4と仮定する。従って1符号ブロック中の
情報伝達データ用シンボルの数は、N−M=28となる
Now, before explaining the details of the operation of this embodiment according to this block diagram, the principle of operation will first be explained.In general, in a Reed-Solomon code, N symbols constitute one code block, This one code block includes M check symbols and NM information transmission symbols. There are various types of symbols used here, but in this example, the commonly used 8 symbols are used.
Assume a code vector of bits. In order to make the explanation more concrete, it is assumed that the number of symbols (code length) in one code block is N-32, and the number of test symbols in one code block M=4. Therefore, the number of information transmission data symbols in one code block is NM=28.

さて、1符号ブロック中の32個の各シンボルをで表わ
すことにする。任意のBjは1バイトの符号であり、従
つ−て、28=−256個の元の中の1つの元を表わし
ている。また、この中のシンボルB4〜B31の28個
例示情報伝達データシンボルで、残りのBo−B3がこ
のB4.ThB5+をもとにして作られた検査用シンボ
ルであると仮定する。
Now, let each of the 32 symbols in one code block be represented by . Any Bj is a 1-byte code and therefore represents one element out of 28=-256 elements. Also, among these, there are 28 exemplary information transmission data symbols B4 to B31, and the remaining Bo-B3 are B4. Assume that the test symbol is created based on ThB5+.

さて、リード・ソロモン符号においては、符号化の過程
において、検査用シンボルBo = B3 td、 h
lf報伝達データ用シンボルB4〜13atとの間で次
の拘束関係を満足するように作られる。すなわち、この
(1)式においては、各シンボルの記号B、1のは1( かに・記号“が用いられ・また・十で結ばれた和   
   1の演算と、α同志間の積(αの1)およびαの
7とBjとの積の演算が用いられている。このαは特定
のシンボルを代表し、また上述の和および積も一般の2
進数の和および積とは異なる特別の演算を青味する。以
下これについて説明する。
Now, in the Reed-Solomon code, during the encoding process, the test symbol Bo = B3 td, h
It is created so as to satisfy the following constraint relationship with the lf reporting data symbols B4 to B13at. That is, in this equation (1), the symbol B for each symbol and 1 for 1 (crab symbol) are used, and the sum connected by tens is used.
1, the product of α (α of 1), and the product of 7 of α and Bj are used. This α represents a specific symbol, and the sum and product mentioned above are also general 2
Colors special operations different from sums and products of base numbers. This will be explained below.

上述のように、本実施例ではBjもαもともに8ビツト
のJl 、101符号でできている符号ペクトとする。
As mentioned above, in this embodiment, both Bj and α are code pects made of 8-bit Jl, 101 code.

従って、いずれも2B=256個の元の中の1つの元を
表わしている。
Therefore, each represents one element out of 2B=256 elements.

さて、この256個の中から任意の2つの元AとBとを
選び、この2つの元の和で指定される元A十Bおよび2
つの元の積で指定される元ABのいずれも、もとの25
6個中の1つの元になると仮定してその各各を次のよう
に定義する。
Now, select any two elements A and B from these 256 elements, and select the elements A + B and 2 specified by the sum of these two elements.
Any of the elements AB specified by the product of two elements is the original 25
Assuming that it is one of six elements, each of them is defined as follows.

昶:第2図に示すように元Aおよび元Bを符号ベクトル
の形で表示し、各桁(各次元)ごとの排他的倫理和をと
った結果生ずる符号ベクトルをA十Bと定義する。和の
演算がこのように定義されるために2個の同じ元の和は
常に101(各次元の成分がすべて“OIの符号ベク+
ル)となシ、また、和の逆算としての差の演算は和の演
算と同じになるという著るしい結果を生ずる。
昶:As shown in FIG. 2, elements A and B are represented in the form of code vectors, and the code vector resulting from taking the exclusive moral sum for each digit (each dimension) is defined as A+B. Because the sum operation is defined in this way, the sum of two same elements is always 101 (the components of each dimension are all “sign vector of OI +
Furthermore, the operation of the difference as an inverse operation of the sum has the remarkable result that it is the same as the operation of the sum.

債:例えば第3図11に示すような=Aおよび元Bがあ
ると、これをXの多項代表゛現 A = 1 + X2+ x3−) x5B=x2−1
−x4 とし、この多項式の積ABを AB=(1+x2+x3+x5 ) (x2+x4 )
=x2+(X’ +X4 )+X5+X6+(X7+X
7)+X9のように作る。この中でXの同じ1乗の項は
、符号ベクトルの同じ桁(次元)に対応するので、上述
の排他的嗣理和の規則を適用して整理すると上式は、 A B=x9−1− x6 +x5 +x2となる。こ
の多項式はXの7乗以上の項(すなわちx9の項)を含
むので、このままではこれに対応する8ビツトの符号ベ
クトルを指定することができない。
Bond: For example, if we have =A and element B as shown in Figure 3, we can define this as a polynomial representative of X (current A = 1 + X2 + x3-) x5B = x2-1
-x4, and the product AB of this polynomial is AB=(1+x2+x3+x5) (x2+x4)
=x2+(X'+X4)+X5+X6+(X7+X
7) Make it like +X9. Among these, the terms of the same first power of X correspond to the same digit (dimension) of the code vector, so if we apply the above-mentioned exclusive sum rule and rearrange it, the above equation becomes A B = x9-1 −x6 +x5 +x2. Since this polynomial includes a term equal to or higher than the seventh power of X (that is, the term x9), it is not possible to specify the corresponding 8-bit code vector as it is.

そこで、積を定義する場合には、それに伴って8次のあ
る既約多項式f (X)を予め定めておき、これを用い
て以下のように定義する。
Therefore, when defining the product, an irreducible polynomial f (X) of degree 8 is determined in advance and is used to define the product as follows.

とのf (X)を f(X)=X8+X5+X3+X+1 と仮定すると、とのf (X)を;1〕いて前記ABの
多項式を:;j 算し、その結果中ずる剰余を作る。こ
うすると、剰余は必らずXの7次またはそれ以下の次数
の多項式となるので、これに対応する8ビツトの符号ベ
クトルが存在する。これを積ABと定義する。今の場合
、上述のABの多項式をf(x)で除した商は、Xとな
9、剰余は x5+x4−)−x となる(この演算においても前述の排多的論理和の規則
が適用されていて、引き算と足し算は同じである)。こ
れより AB=x5−1−x’+x となり、これを符号ベクトルで表示すると第3図・、2
)に示すようになる。
Assuming that f(X) with is f(X)=X8+X5+X3+X+1, then f(X) with is calculated by ;1] to calculate the polynomial of AB, and the resulting remainder is created. In this case, the remainder will necessarily be a polynomial of degree 7 or lower than X, and therefore an 8-bit code vector will exist corresponding to this. This is defined as product AB. In this case, the quotient obtained by dividing the AB polynomial by f(x) is X9, and the remainder is subtraction and addition are the same). From this, AB=x5-1-x'+x, which is expressed as a code vector in Figure 3, 2
).

以上のように、8次の既約多項式f (X)を指定する
と、それに応じて256個の6尤の間で、和および積が
定義され、またその逆算。とじての差および商も定義さ
れ、256個の元の中で4則演算が矛盾なく行なわれる
As described above, when the 8th degree irreducible polynomial f (X) is specified, sums and products are defined among 256 6-likelihoods, and their inverse calculations are also performed. The difference and quotient are also defined, and the four arithmetic operations are performed consistently among the 256 elements.

さて、前記既約多項式f (X)を適当に選ぶことによ
り、前記256個の元の中の10”(すべての桁の成分
がllO″の元)を除く256個のすべての元を、ある
元αの1乗の形で表わすことができる。すなわち、1を
単位光とし、これにつぎつぎにαを乗することによって
生ずる元、α、α2.α3.・・・・・・、α255は
前記101を除くすべての元を一巡してα255で再び
単位光1に戻るようにすることができる。
Now, by appropriately selecting the irreducible polynomial f (X), all 256 elements except 10'' (all digit elements are elements of llO'') can be It can be expressed as the first power of the element α. That is, by taking 1 as a unit light and multiplying it by α one after another, the elements α, α2 . α3. . . . α255 can be made to go around all the elements except the above-mentioned 101 and return to unit light 1 again at α255.

実際に、前記既約多項式f (X)として、f(x)=
x8+x5+x3+x+1 を用い、αとして多項式表現のXを用いると、255の
すべての元はαJ(但しj=o、i、2.・・・・・・
、255)として表わすことができる。但しαO=α2
55=1である。このαを原始光と呼び、またこのよう
な性質を有する多項式f (X)を原始多項式と呼ぶ。
Actually, as the irreducible polynomial f (X), f(x)=
Using x8+x5+x3+x+1 and using polynomial expression X as α, all elements of 255 are αJ (however, j=o, i, 2...
, 255). However, αO=α2
55=1. This α is called a primitive light, and the polynomial f (X) having such properties is called a primitive polynomial.

このような性質をもつ8次の原始多項式は、上述のもの
を含んで161vAあることが知られている。本実施例
においては、との]6..個の中の特定の一つの原始多
項式によって元の間の演算が定義されていると仮定し、
またこれによって定義される前記原始光αを用いること
にする。この結果0を除く任意の元は、αa(但し、;
=o、1,2.・・・・・・、254)で表現され、従
って、任意の元は、指数jだけでも指定することができ
る。これを元の指数表現と呼ぶことにする。この指数表
現を用いると、′O1を除く任意の2つの元の積は、6
各の元の指数表現をとり、この両者を255を法として
加えることにより両者の積の指数表現として簡単に演算
することができる。もし一方の元に@01が含まれる場
合には結果の元を”Owとすればよい。また、商を作る
場合には、分母になる元の指数表現の2進数を、その各
桁の”l′”0“を反転してから前述と同様に255を
法として加えればよい。
It is known that the 8th order primitive polynomial having such properties, including the above-mentioned one, has a power of 161 vA. In this embodiment, the following examples are used: 6. .. Assume that operations between elements are defined by a specific primitive polynomial among the elements,
Also, the primitive light α defined by this will be used. As a result, any element other than 0 is αa (however;
=o, 1, 2. ..., 254), and therefore any element can be specified using only the index j. We will call this the original exponential representation. Using this exponential representation, the product of any two elements except 'O1 is 6
By taking the exponential expression of each element and adding both of them modulo 255, it is possible to easily calculate the exponential expression of the product of both. If one of the elements contains @01, set the result element to "Ow".Also, when creating a quotient, change the binary number of the exponent representation of the original denominator to "Ow" for each digit. It is sufficient to invert l'"0" and then add 255 as a modulo in the same manner as described above.

勿論、2つの元の和を演算する場合には、符号ベクトル
の表現を用いると簡単に行なうことができる0 このように、各尤は、αの1乗でも、αの指数表現でも
、符号ベクトル表現としても、また多項式表現としても
指定することができる。これらの中のいずれの表現を用
いるかは、その使用目的によって最も適当なものを選ぶ
ことができる。
Of course, when calculating the sum of two elements, it can be easily done by using a sign vector representation. In this way, each likelihood can be expressed as a sign vector, whether expressed as the first power of α or as an exponential representation of α. It can be specified either as a representation or as a polynomial representation. Which of these expressions to use can be selected depending on the purpose of use.

さて、こうして(1)式の演算は定義されたが、実際に
、任意の情報伝達データ用シンボルB4〜B3+から(
1)式の拘束条件を満足する検査用シンボルBO〜B3
を生成するには次のようにする。
Now, the operation of equation (1) has been defined in this way, but in reality, from any information transmission data symbols B4 to B3+ (
1) Inspection symbols BO to B3 that satisfy the constraint conditions of Eq.
To generate , do the following:

今、生成多項式gへ)として、 g(X)=(X−1) (X−a ) (X−a2) 
(X−a3)を定義し、一方符号多項弐Cへ)としてC
(X)==B3.X31 +B3oX30+・、・、、
、−1−B4X4を定義する。このC(X)をgσ)で
除した剰余の多項式をRへ)とすると、RCx)はXに
関する3次またはそれ以下の多項式となるので、 R(lK)=b3X3+b2X2+b1x+b。
Now, as the generator polynomial g), g(X) = (X-1) (X-a) (X-a2)
(X-a3), and on the other hand sign polynomial 2C) as C
(X)==B3. X31 +B3oX30+・・・・・
, -1-B4X4. If the polynomial of the remainder obtained by dividing this C(X) by gσ) is expressed as R), then RCx) is a polynomial of degree 3 or lower regarding X, so R(lK)=b3X3+b2X2+b1x+b.

と表わせる。こうして定まるb3.b2.blおよびb
Oをそれぞれ検査用シンボルB3. B2. Blおよ
ヒBOと式 し1用“ると・2れらは次01うな理由″’c”(3,
4o拘束条件を満す検査用シンボルとなっている。
It can be expressed as b3 determined in this way. b2. bl and b
O respectively as inspection symbols B3. B2. Bl and HiBO are the formulas for 1 and 2 are the following 01 reasons''c (3,
This is an inspection symbol that satisfies the 4o constraint conditions.

今、CC1C)をg内で除した商をQσ)と書くと、C
へ)=gσ)Qσ)−1−Rへ)となり、これから、0
区)+Rσ)=gσ)Qへ)が導かれる(この場合もR
へ)を引くことはl)を加えることと同じである)。従
つてC(X)+Rσ)はg(X)で割り切れて、Ba1
 X”+B3oX”+−・・十B4X’十B5X3+B
zX2+BIX+BO=(X−1)(X−α)(X−α
2)(x−α3)Q(X) が成立する。上式の両辺のXに、それぞれ1.α。
Now, if we write the quotient of CC1C) divided by g as Qσ), we get C
to)=gσ)Qσ)-1-R), and from this, 0
ward) + Rσ) = gσ) to Q) is derived (also in this case R
Subtracting ) from is the same as adding l). Therefore, C(X)+Rσ) is divisible by g(X) and Ba1
X"+B3oX"+-...10B4X'10B5X3+B
zX2+BIX+BO=(X-1)(X-α)(X-α
2) (x-α3)Q(X) holds true. Add 1. to X on both sides of the above equation. α.

α2およびα3をつぎつぎに代入することによって、(
1)式の関係が導かれる。
By substituting α2 and α3 one after another, (
1) The relationship of equation is derived.

なお、生成多項式g(X)が与えられると、上述の割算
を実行して、B4〜]3atのシンボルかうBo%B3
のシンボルを生成する巡回符号の符号器の構成を決定す
ることも容易であるがここでは省略する。
Note that when the generator polynomial g(X) is given, the above-mentioned division is executed to obtain the symbol Bo%B3 of B4~]3at.
It is also easy to determine the configuration of a cyclic code encoder that generates symbols, but this is omitted here.

さて、上述のようにして送信側で作られた(1)式のツ
司束粂件を満す符号ブロックBo、 B、 、 B2 
、・・・・・・。
Now, the code blocks Bo, B, , B2 that satisfy the condition of equation (1) created on the transmitting side as described above are
,......

△ △ △       △ Bank受信し、それらがBO+ B1 + B2.・
・”” + Ba1として受信されたとする。そしてこ
れらの中の2つのすなわちi、J以外のkに対しては BK= Bk・・・・・・・・・・・・・・・・・・・
・・(2)Bi:B1−1−Ei・・・・・・・・・・
・・(3)る演算を行ない、その結果をそれぞれ5oS
IS2S3とする。すなわち、 とする。もし、受信に全く誤りがなければ、(5)式の
左辺は(1)式の左辺と全く同じになり、従って、5o
−83はすべて“じになる侍噂寺i0受信に誤りがある
と(5)式の各左辺に相当する演算結果は一般にOでな
いそれぞれの値s、、sl、s2.およびB3をとるこ
とになる。これをシンドロームという。
△ △ △ △ Bank is received and they are BO + B1 + B2.・
- Assume that it is received as "" + Ba1. And for two of these, namely i and k other than J, BK = Bk・・・・・・・・・・・・・・・・・・
...(2) Bi:B1-1-Ei...
...(3) Perform the calculations, and each result is 5oS
IS2S3. In other words, let. If there is no error in reception, the left side of equation (5) will be exactly the same as the left side of equation (1), and therefore 5o
-83 are all ``If there is an error in the reception of Samurai Rumorji i0, the calculation results corresponding to the left side of equation (5) will generally take the respective values s, sl, s2., and B3 that are not O. This is called a syndrome.

本実施例は、このシンドローム5o=Saヲ用い、  
    )送信側で−プロンク内のシンボル間に加えた
(1)式の拘束演算関係から誤り分を求めてこれを訂正
する方式である。
This example uses this syndrome 5o=Sawo,
) This is a method in which the error is determined from the constraint calculation relationship of equation (1) added between the symbols in the -pronk on the transmitting side and corrected.

さて、(2)式、(3)式、(4)式の関係を(5)式
に代入し、(1)の関係を用いると、結果は次のように
なる。
Now, by substituting the relationships in equations (2), (3), and (4) into equation (5) and using the relationship in (1), the result is as follows.

この田)式を変形すると、次の3個の式が導かれる。By transforming this equation, the following three equations are derived.

ここで ai So+S、 =MO α’S1+SZ””Ml ai 52−4−83=M2 とおくと(7)式の関係よシ次の式が導かれる。Here ai So+S, = MO α’S1+SZ””Ml ai 52-4-83=M2 Based on the relationship in equation (7), the following equation is derived.

y、=y、−(=αj)・・・・・・・・・・・・・・
・・・・・・・・・・・・・・・・(8)Mo  rl
H したがって、2シンボルの誤りを仮定した場合に求めら
れる          。
y,=y,-(=αj)・・・・・・・・・・・・・・・
・・・・・・・・・・・・・・・・・・(8) Morl
H Therefore, it can be found assuming a two-symbol error.

また、前記誤りシンボル位置土、jに対する誤り群生情
報Ei、 Ejは(6)式より求めることができ次の2
個の式で表わされる 求められた誤り4’1=ffi情報E1.E、1および
誤りシンボル位置i、jよシ(3)式、(4)式を、用
いて2シンボルの誤り訂正を実行することができる。
In addition, the error cluster information Ei and Ej for the error symbol position and j can be obtained from equation (6), and can be calculated using the following two equations.
The determined error 4'1=ffi information E1. Error correction of two symbols can be performed using equations (3) and (4) for E, 1 and error symbol positions i, j.

さて、1シンボルの誤りの場合であるが、その誤シシン
ボル位置を1とすると、(方式においてに、1=Oとお
くことにより次の3つの式を得るすなわち前記2シンボ
ルの誤りを訂正する過程において(10)式の関係を満
足した場合、それは1シンポルの誤りであることに他な
らない。
Now, in the case of a one-symbol error, if the position of the erroneous symbol is set to 1, then by setting 1=O in the method, the following three equations can be obtained. If the relationship of equation (10) is satisfied, it is nothing but a one-symbol error.

その時、誤りシンボル立置iに対する誤シ弁士隋報E1
は次の式で表わすことができる。
At that time, the error symbol E1 for the error symbol placement i
can be expressed by the following formula.

Ei=So・・・・・・・・・・・・・・・αυしたが
って(3)式より1シンボルの誤シ訂正を実行すること
ができる。
Ei=So . . . αυ Therefore, one symbol error correction can be performed from equation (3).

次に第1図を用いて本実施例の動作の詳細を説明する。Next, details of the operation of this embodiment will be explained using FIG.

受信された入力信号の符号ブロックは、データ△   
△ 入力ライン100より、各シンボルがB31 T B2
O1・・・。
The code block of the received input signal is the data △
△ From input line 100, each symbol is B31 T B2
O1...

ム Boの順序で、シンドローム演算回路1に供給され眸 る。それと共にまた誤り訂正実行回路刊に供給される。Mu The eyes are supplied to the syndrome calculation circuit 1 in the order of Bo. Ru. At the same time, it is also supplied to an error correction execution circuit.

回路lにおいてまず前記(5)式に対応する演算が実行
されて、シンドロームSQ、Sl、S2.およびS3が
求められる。上記シンドローム5o−83を求める回路
例を第4図に示す。
In the circuit l, the calculation corresponding to the equation (5) is first executed, and the syndromes SQ, Sl, S2 . and S3 are obtained. An example of a circuit for obtaining the above syndrome 5o-83 is shown in FIG.

第4図においてスイッチSW1およびS’91/2はA
の位置に接続しておく。(Bの位置に接続された場合は
後述する。)この回路は、1段のシフトレジスタ30 
、31 、32.33、読み出し専用メモリ(ROM)
25.26,27,28,29、および排他的論理和回
路21゜22.23,24、から成り立っている。シフ
トレジスタ30,31,32.33および回路21,2
2,23.24はそれぞれ8ビツト分を並列に処理する
。また、ROM25.26.28は同一のROMであり
ROM’25は、シフトレジスタ30の出力(8ビツト
)でアドレス指定され、ROM26はシフトレジスタ3
1の出力(8bit)でアドレス指定される。同様にR
OM27.28とROM29はそれぞれシフトレジスタ
32゜33でアドレス指定される。各々のROMは25
6のメモリアドレスを有し、各メモリアドレス当98ビ
ットのデータを格納できる容量を有する。Slを求める
回路を例にとるとシフトレジスタ31の出力によシ指定
されるROM26のメモリアドレスからデータが読み出
され、回路22により入力データとの排他的論理和がと
られ、これがシフトレジスタ31に読み込まれる。任意
の8ビツトの2進数A′で指定されるROM26のメモ
リアドレスにαA′(但しαA′はこの2進数A′に対
応する符号ベクトルと原始元αとの積とする)を書き込
んでおくと、ROM26はα倍の乗算器として動作する
。かくて、最初にシフトレジスタ31をリセットし、入
力デー△  △      △ りを前述のようにB31 、”30 +・・・・・・、
BOの順序で次次に回路22を介して入力すると、BO
が入力されたα十B′0=α31B3.十α30B30
+・・・・・・+α拾+伶=s。
In FIG. 4, switches SW1 and S'91/2 are A
Connect it to the position. (The case where it is connected to position B will be described later.) This circuit consists of a one-stage shift register 30
, 31 , 32. 33, read-only memory (ROM)
25, 26, 27, 28, 29, and an exclusive OR circuit 21, 22, 23, 24. Shift registers 30, 31, 32, 33 and circuits 21, 2
2, 23, and 24 each process 8 bits in parallel. Also, ROM25, 26, and 28 are the same ROM, and ROM'25 is addressed by the output (8 bits) of shift register 30, and ROM26 is addressed by the output (8 bits) of shift register 30.
The address is specified by the output of 1 (8 bits). Similarly R
OM 27, 28 and ROM 29 are addressed by shift registers 32 and 33, respectively. Each ROM is 25
It has 6 memory addresses, and each memory address has a capacity to store 98 bits of data. Taking the circuit for calculating Sl as an example, data is read from the memory address of the ROM 26 specified by the output of the shift register 31, exclusive ORed with the input data by the circuit 22, and this is stored in the shift register 31. is loaded into. If αA' (where αA' is the product of the code vector corresponding to this binary number A' and the primitive element α) is written to the memory address of the ROM 26 specified by an arbitrary 8-bit binary number A', then , ROM26 operates as an α-times multiplier. Thus, first, the shift register 31 is reset, and the input data △ △ △ is changed to B31, "30 +...," as described above.
When inputted through the circuit 22 one after another in the order of BO, BO
is input α+B′0=α31B3. 10α30B30
+・・・・・・+αpick+伶=s.

となり、求めるシンドロームSlとなる。ROM#の内
容を、上述のαのかわりにα2およびα3に相当するも
のとすることにより、同様な回路を用いてそれぞれシン
ドロームS2およびS3を演算する回路が得られ、また
ROM26を除きシフトレジスタ31の内容をそのまま
回路22にフィートノ々ツクするような構成にすれば、
シンドロームSOを演算する回路が得られる。
Therefore, the desired syndrome SL is obtained. By setting the contents of ROM# to be equivalent to α2 and α3 instead of α described above, a circuit for calculating syndromes S2 and S3, respectively, can be obtained using a similar circuit, and the shift register 31 except for the ROM 26 can be obtained. If the configuration is configured such that the contents of are directly clicked into the circuit 22,
A circuit for calculating the syndrome SO is obtained.

かくして得られたシンドロームSO〜S3は、シンドロ
ーム記憶回路3、シンドロームオールゼロに供給され、
また前記(9)式をに対応する演算を行なうために誤り
弁乎情報E1.Ej演算回路11に供給される。
The syndromes SO to S3 thus obtained are supplied to the syndrome storage circuit 3, syndrome all zero,
Also, in order to perform the calculation corresponding to the above equation (9), error information E1. The signal is supplied to the Ej calculation circuit 11.

また回路3により記憶されたシンドロームSl。Also, the syndrome Sl stored by the circuit 3.

S2.S3は、それぞれ中間情報MO演算回路4、中間
情報Ml演算回路5、中間情報M2演算回路6に供し、
再びシンドロームSO〜S3の演算と同様にしてシンド
ローム演算制御回路2により与えられる後のシフトクロ
ック数1を出力ライン106に出力するものとする。R
OM 25,26.28は全てα倍の乗算器として動作
するためシフトクロック数1の時のシフトレジスタ30
,31.32はそれぞれαl5O9αN S l、αi
S2で表わされる演算結果を出力することになる。ここ
でシフトレジスタ30,31.32の出力はそれぞれラ
イン101 、102.103を介して回路4、回路5
、回路6に供給される。
S2. S3 is provided to intermediate information MO calculation circuit 4, intermediate information Ml calculation circuit 5, and intermediate information M2 calculation circuit 6, respectively,
Again, it is assumed that the subsequent shift clock number 1 given by the syndrome calculation control circuit 2 is output to the output line 106 in the same manner as in the calculations for the syndromes SO to S3. R
Since OM 25, 26, and 28 all operate as α-times multipliers, the shift register 30 when the number of shift clocks is 1
, 31.32 are αl5O9αN S l, αi respectively
The calculation result represented by S2 will be output. Here, the outputs of the shift registers 30, 31.32 are sent to circuits 4 and 5 via lines 101 and 102, 103, respectively.
, are supplied to the circuit 6.

回路4,5.6は排他的論理和回路であり回路4におい
て (113o + S 1 (”” MO)が演算され回
路5において αi S、 −1−82(””Ml )が演算され回路
6において αi B2+33(:M2 ) r −″  次に前記中間情報Mo 、M、 、M2は(8
)式に対応する演算を行なうために中間情報比演算回路
7に供給される。回路7における(8)式のM 1/ 
 M2y  を演Mo’   Ml 算するだめの回路例を第5図に示す。供給されたけ25
6のメモリアドレスを有し、各メモリアドレスごとに1
バイトの容量を有するが、任意の2進数A〃で指定され
るメモリアドレスにはA〃=αbの関係をもつbの補数
を格納しておくことにより上述のMo→にへの変換が実
行される。一方供給された中間情報Mlは、読み出し専
用メモlJROM41によシ、Ml=αtなる関係を満
足する指数値tに変換される。ROM41はROM4Q
と同様な容量を有し、任意の8bitの2進数A〃で指
定されるメモリアドレスにA〃=αbなる関係を有する
bを格納しておくことによって、Ml→tの変換を実行
することができる。
Circuits 4 and 5.6 are exclusive OR circuits, in which (113o + S 1 ("" MO) is calculated in circuit 4, αi S, -1-82 ("" Ml ) is calculated in circuit 5, and circuit 6 is Then, the intermediate information Mo, M, , M2 is (8
) is supplied to the intermediate information ratio calculation circuit 7 to perform the calculation corresponding to the equation. M 1/ of equation (8) in circuit 7
An example of a circuit for calculating M2y is shown in FIG. Bamboo shoots supplied: 25
It has 6 memory addresses, 1 for each memory address.
It has a capacity of 1 byte, but by storing the complement of b with the relationship A = αb in the memory address specified by an arbitrary binary number A, the above conversion from Mo to Ru. On the other hand, the supplied intermediate information Ml is converted by the read-only memory IJROM 41 into an index value t that satisfies the relationship Ml=αt. ROM41 is ROM4Q
By storing b in a memory address specified by an arbitrary 8-bit binary number A with a capacity similar to that of A and having the relationship A = αb, it is possible to perform the conversion Ml → t. can.

こうして MO−1が指数表現に変換されたkと、同じ
くMlが指数表現に変換されたtとをMOD255加算
器44に供給           −るこも同様にし
て演算することができる。例えばj〃を演算する場合に
M、−1の指数表現が必要になるが、これはROM41
で求め、たMlの指数表現tの各ピットをインバータ4
3を用いて反転すれば容易に得られる。そしてlROM
41、インバータ43、ROM42、およびMOD25
5加州器45を用いて 2/M1の指数表現j〃が得ら
れる。
In this way, k obtained by converting MO-1 into an exponential representation and t obtained by similarly converting Ml into an exponential representation can be supplied to the MOD255 adder 44 and calculated in the same manner. For example, when calculating j〃, an exponent representation of M, -1 is required, but this is
Each pit of the index expression t of Ml is calculated by inverter 4.
It can be easily obtained by inverting using 3. and lROM
41, inverter 43, ROM42, and MOD25
Using the 5-Kashu unit 45, the exponential representation j of 2/M1 is obtained.

かくして、回路7のクロフクを全く用いない静的演算回
路によってMo、M、、M2からM 1/  M2/M
o’   Ml の指数表現j’、 j”を迅速確実に得ることができる
Thus, by the static arithmetic circuit of circuit 7 which does not use any clocks, from Mo, M, , M2, M1/M2/M
The exponential representations j', j'' of o'Ml can be obtained quickly and reliably.

(j//でもよい)が訂正実行制御回路13にライン1
07を介して供給される。
(or j//) is sent to the correction execution control circuit 13 on line 1.
07.

回路8は供給されたj′およびj〃の値が一致するか否
かを検出する回路である。
The circuit 8 is a circuit that detects whether the supplied values of j' and j〃 match.

前記・7)、t8)、(9J式−bj疏明らかなように
、誤りシンボルが2個の場合には上述のようにして求め
られた誤りシンボル位置に相当するjの値つまりj′と
j〃は一致する。
7), t8), (9J Equation-bj) As is clear, when there are two error symbols, the value of j corresponding to the error symbol position obtained as described above, that is, j' and j 〃 matches.

従ってこの場合には回路8は一致出力をライン110を
介して訂正実行制御回路13に供給することになる。こ
の時2個の誤り番亜情報E1.Fi、1を回路13に供
給する回路が誤り−ffi情報Fil、IJ演算回路1
1であり前記19)式に対応する演算を行なう? 回路である。すなわち中間情報比演算回路でより、指数
表現に変換されたα’So+8+ (=Mo )の演算
結果が供給され、シンドローム記憶回路3よりライン1
05を介してB8が供給され、また中間情報比給され、
シンドローム演算制御回路2より7回路工され演算が実
行される。
Therefore, in this case, circuit 8 will supply a coincidence output to correction execution control circuit 13 via line 110. At this time, two pieces of error number sub-information E1. The circuit that supplies Fi, 1 to the circuit 13 is incorrect - ffi information Fi, IJ calculation circuit 1
1 and perform the operation corresponding to equation 19) above? It is a circuit. That is, the intermediate information ratio calculation circuit supplies the calculation result of α'So+8+ (=Mo) converted into an exponential representation, and the syndrome storage circuit 3 supplies the calculation result to line 1.
B8 is supplied via 05, and intermediate information is also supplied,
Seven circuits are constructed from the syndrome calculation control circuit 2 to execute calculations.

誤り榔情報Ei 、 Ej演算回路11の回路例を第6
図にボす。
A circuit example of the error information Ei, Ej calculation circuit 11 is shown in the sixth example.
Draw on the diagram.

供給されたシフトクロック数1は読み出し専用メモlJ
ROM51により指数表現から符号ベクトル(αi)の
変換が行なわれるすなわちROM51に任意の81)i
tのデータA〃に対しメモリアドレスA〃にαAI= 
Btrで指定される符号ベクトルB〃を格納することに
より上述の変換を行なうことができる。
The supplied shift clock number 1 is a read-only memory lJ
The ROM 51 converts the code vector (αi) from the exponential representation.
αAI=at memory address A for data A at t
The above conversion can be performed by storing the code vector B designated by Btr.

ROM52もROM51と同様のROMであり、供給さ
れた指数衣4 j/よシ符号ベクトル(αj′)に変換
するものである。符号ベクトルαi、αj′は排他的論
理和回路55によりαi十αJ′の演算が実行される。
The ROM 52 is also a ROM similar to the ROM 51, and converts the supplied index code 4j/yoshi code vector (αj'). The code vectors αi and αj' are subjected to an operation of αi + αJ' by an exclusive OR circuit 55.

ROM53は前述の第5図におけるROM41.42と
同一のROMであり供給されたαi十αj′の符号ベク
トルを指数表現に変換する。
The ROM 53 is the same ROM as the ROMs 41 and 42 shown in FIG. 5, and converts the supplied code vector of αi + αj' into exponential representation.

回路7より指数表現されたMo(=α1So + 8 
s )と、同じく指数表現されたαi+αj′とをMO
D255加算器57に供給しMOD255加算を行なう
と(9)式におけるEjの指数表現を得ることができる
Mo expressed exponentially from circuit 7 (=α1So + 8
s ) and αi + αj′, which is also expressed as an index, by MO
By supplying the signal to the D255 adder 57 and performing MOD255 addition, the exponential expression of Ej in equation (9) can be obtained.

これを誤り抛情報Ejとして出力するためには、ROM
54により指数表現→符号ベクトルの変換を行なうこと
により可能である。ROM54はROM51゜52と同
一のものである。誤り#壬情報Eiは(9)式より供給
されたシンドロームSoとEjとを排他的論理和回路5
6に供給し演算することができる。
In order to output this as error information Ej, the ROM
This is possible by converting from index representation to code vector using 54. The ROM 54 is the same as the ROMs 51 and 52. The error #壬 information Ei is obtained by adding the syndromes So and Ej supplied from equation (9) to the exclusive OR circuit 5.
6 and can be calculated.

このように誤り弁士情報Ki 、 Kjは回路2が出力
するiに対して即時に演算されていく。
In this way, the erroneous benshi information Ki and Kj are immediately calculated on the i output from the circuit 2.

さて、前述の中間情報MO,M1.M2は、中間情報オ
ールゼロ判定回路9に供給される。この回路9はMg 
、 J 、 M2の全ての中間情報が101の場合オー
ルゼロ信号をライン108を介して訂正実行制御論理回
路13に供給する。
Now, the aforementioned intermediate information MO, M1. M2 is supplied to the intermediate information all-zero determination circuit 9. This circuit 9 is Mg
, J, M2 is 101, an all-zero signal is supplied to the correction execution control logic circuit 13 via line 108.

また、中間情報MO,Ml、M2は、中間情報ゼロ検出
回路10に供給される。この回路10は、Mg 、 M
I。
Further, the intermediate information MO, Ml, and M2 are supplied to the intermediate information zero detection circuit 10. This circuit 10 includes Mg, M
I.

M2の中に1個でも101の中間情報が含まれると、こ
れを検出し、そのゼロ検出信号をライン109を介して
回路13に供給する。
If even one piece of intermediate information 101 is included in M2, it is detected and its zero detection signal is supplied to the circuit 13 via line 109.

一方tiff述のようにシンドローム5o−63はシン
ドロームオールゼロ判定回路12に供給される。
On the other hand, as described in tiff, syndromes 5o-63 are supplied to the syndrome all-zero determination circuit 12.

この回路12は5o−83の全てのシンドロームカ”o
”の場合シンドロームオールゼロ信号をライン117を
介して回路13に供給する。
This circuit 12 covers all syndromes of 5o-83.
”, a syndrome all-zero signal is supplied to the circuit 13 via line 117.

さて、訂正実行制御回路13は、以上のようにして供給
された詩人力信号を用い、下記のような制御動作により
誤り訂正の実行を制御する。
Now, the correction execution control circuit 13 controls execution of error correction through the following control operations using the poet's force signal supplied as described above.

まず、回路12の出力117にシンドロームオールゼロ
信号が出力された場合、すなわちシンドロームSo〜S
3が全て10“め場合には、他の詩人力ためのエラーフ
ラグ出力200にこの符号クロックに誤りが無いという
信号を出力する。≠≠≠;1次に、シンドローム演算制
御回路次においてシンドローム5o−83演算後に発生
するシフトクロック数iの時点で中間情報オールゼロ判
定回路9の出力108に中間情報MO,Ml、M2が全
て101であるという信号が発生し回路13に供給され
た場阜ハ回路13は前記(1[1式の関係より1シンボ
ルの誤りであることを判定し”ヘイの時のシフトクロッ
クfiiが誤りシンボルの位置であるから上記1をライ
ン115 k介して誤り訂正実行回路14に供給する。
First, when the syndrome all zero signal is output to the output 117 of the circuit 12, that is, the syndrome So~S
3 are all 10", a signal indicating that there is no error in this code clock is output to the error flag output 200 for other poets. ≠≠≠; First, the syndrome calculation control circuit -83 At the time of the shift clock number i generated after the calculation, a signal indicating that the intermediate information MO, Ml, and M2 are all 101 is generated at the output 108 of the intermediate information all zero determination circuit 9 and is supplied to the circuit 13. 13 determines that there is a one-symbol error from the relationship in equation 1 [1]. Since the shift clock fii at the time of "hay" is at the position of the error symbol, the above 1 is sent to the error correction execution circuit 14 via the line 115k. supply to.

また、誤り番手情報E1は前記α9式の関係から明らか
なようにシンドロームSOに他ならない。このSoは回
路13に供給されているため、これを###雪情報Ei
としてライン113を介して1シンボルの誤り訂正を実
行するように回路14を制御する。また、この場合には
、エラーフラグ出力ロノクには誤りが無いという信号を
出力する。
Moreover, the error number information E1 is nothing but the syndrome SO, as is clear from the relationship of the α9 formula. Since this So is supplied to the circuit 13, it is ### snow information Ei
The circuit 14 is controlled via line 113 to perform one symbol error correction. Further, in this case, a signal indicating that there is no error is outputted to the error flag output ronoku.

次に前述の回路2が出力するシフトクロック数1が符号
ブロックを構成するシンボル数(ここではシンボルBO
〜B31の32としている)以下の全ての正の値におい
て、中間情報オールゼロ判定回路9より中間情報MO+
Ml +M2が全て“OIであるという信号が出力され
ない場合には、この符号ブロックには2シンボル以上の
誤りがあることを判定し、次の操作を行ylう。
Next, the number of shift clocks 1 output by the circuit 2 described above is the number of symbols constituting the code block (here, the symbol BO
~32 of B31) For all the following positive values, the intermediate information all zero determination circuit 9 selects the intermediate information MO+
If a signal indicating that all M1 + M2 are "OI" is not output, it is determined that this code block has errors of two or more symbols, and the following operation is performed.

回路2から出力されるシフトクロック数1が前述の1の
範囲、すなわち1≦i≦32の任意の1つの値において
中間情報化比較回路8より中間情報比j’、 j〃が一
致したという出力がライン110を介して供給され、か
つ、中間情報ゼロ検出回路10より上記の時点で中間情
報MO,M、 、M2には“0“を含まないという信号
がライン109を介して、回路13に供給された場合、
前記(8)式の関係より2シンボルの誤9であることを
判定する。そして2個の誤りシンボル位置として前記1
とj′(これはj〃でもよい)をそれぞれライン115
、ライン116を介して誤り訂正実行回路14に供給す
る。
When the number of shift clocks 1 output from the circuit 2 is in the range of 1 described above, that is, any one value of 1≦i≦32, the intermediate information comparison circuit 8 outputs that the intermediate information ratios j' and j〃 match. is supplied via line 110, and the intermediate information zero detection circuit 10 sends a signal to the circuit 13 via line 109 indicating that the intermediate information MO, M, , M2 does not contain "0" at the above point in time. If supplied,
From the relationship in equation (8) above, it is determined that there is a two-symbol error 9. Then, the above 1 is used as the two error symbol positions.
and j′ (this can also be j), respectively, on line 115
, to the error correction execution circuit 14 via line 116.

また、誤り苧唖情報Ei 、 Ejは誤り#=情報Ei
Also, the error information Ei and Ej are error #=information Ei
.

Eつ演算回路11により演算されているためそれぞれラ
インII3、ライン114を介して回路14に供給する
Since they are calculated by E calculation circuits 11, they are supplied to the circuit 14 via line II3 and line 114, respectively.

甘た、この場合エラーフラグ出力200に2シンボルの
誤りの訂正の結果、この符号ブロックには誤りが無いと
いう信号を出力する。
In this case, a signal indicating that there is no error in this code block is output to the error flag output 200 as a result of correction of the two-symbol error.

次に、前記シフトクロック数i′において、回路8より
j′、j//の一致信号がラインISOを介して供給さ
れ、回路10より中間清報Mo 、M、 、M2に少な
くとも1個の101が含まれているという信号が供給さ
れた場合、回路7において演算された中間情報比j′、
j/7は全く意味が無いものである。
Next, at the shift clock number i', a coincidence signal of j', j// is supplied from the circuit 8 via the line ISO, and at least one 101 When a signal indicating that j′ is included is supplied, the intermediate information ratio j′ calculated in the circuit
j/7 is completely meaningless.

すなわち、回路7において前記(8)式の演算を行なう
ために、第5図に示したように符号ベクトル→指数表現
への変換をROM 40,41.42により実行してい
るが、符号ベクトルが“0”の場合、指数表・見が不可
能であり、ROM 40,41.42のメモリアドレス
Molにはそれぞれ無意味な指数表現C1,C//。
That is, in order to perform the calculation of equation (8) in the circuit 7, conversion from code vector to exponential expression is executed by ROMs 40, 41, and 42 as shown in FIG. If it is "0", it is impossible to view the index table, and the memory addresses Mol of ROMs 40, 41, and 42 have meaningless index expressions C1 and C//, respectively.

CINが格納されているため、それらのC/ 、 C1
,C///を使用(7て演算された中間情報比jZ j
//も全く意味が無いものとなる。
Since the CIN is stored, their C/, C1
, C/// is used (7) intermediate information ratio jZ j
// also becomes completely meaningless.

したがってこの場合のシフトクロック数l′、およびj
′は誤りシンボル位置を示していないことは明らかであ
り、誤シ訂正を実行しないように制御する。
Therefore, in this case, the number of shift clocks l′ and j
It is clear that ' does not indicate the error symbol position, and control is performed so that error symbol correction is not performed.

前述の、1シンボル誤りに対する詩人力の条件と2シン
ボル誤りに対する詩人力の条件、および誤りが無い場合
の諸人力の条件のいずれも満足されない場合には、(1
1、(5)、(6)、(l)、(8)、およびα01式
の関係よシ誤りの数が2個以下(0を含む)であるとい
う条件が成立しないことは明らかであシる。従ってこの
場合には誤りの訂正を行なわず、またこの符号ブロック
中に誤りが含まれることをエラーフラグ出力200に出
力する。
If none of the above-mentioned conditions of poet's power for one symbol error, poet's power condition for two symbol errors, and conditions of human power in the case of no error are satisfied, (1
1, (5), (6), (l), (8), and the relationship between equation α01, it is clear that the condition that the number of errors is 2 or less (including 0) does not hold true. Ru. Therefore, in this case, error correction is not performed, and a message indicating that an error is included in this code block is outputted to the error flag output 200.

さて、誤り訂正実行回路14は、データ人力100より
入力する1符号フ、ロック分のシンボルB31゜△ B2O、・・・・・・、Boをつぎつぎのシンボル位置
に格納す      )るバッファを有する。1シンボ
ルの誤り訂正の場合は、このように格納されたシンボル
の中の前記誤り/ンボル位置指定情報・iにより指定さ
れる位置のシンボルB1に対し、供給された前記誤り念
↓情報E4(SO)を排他的論理和を用いて加算するこ
とにより誤り訂正を実行する。同様に、2シンボルの誤
り訂正の場合には前述のように格納されたシンボルの中
の前記誤りシンボル位置指定情報iおよびj′により指
定される位置のシンボルBiおよ△ びBJ′に対し、供給された前記誤り番手情報E1およ
びEjを排他的論理和を用いて加算することにより誤り
訂正を実行する。かくして誤り訂正され以上の実施例に
おいては、説明を具体的にするために、符号長Nとして
32.1符号ブロック中の検査用シンボルの数Mとして
4、さらに各シンボルのビット数にとして8で構成され
るようなリード・ソロモン符号を用いる場合について詳
述したが、本発明の方式はN、MおよびKの値がこれら
に限られるものでないことは明らかである。また、使用
した64回路についての回路例も実現するための例を示
したもので、何もこれに限られるものではない。
Now, the error correction execution circuit 14 has a buffer for storing symbols B31°ΔB2O, . In the case of error correction of one symbol, the supplied error memory ↓ information E4 (SO ) is added using exclusive OR to perform error correction. Similarly, in the case of two-symbol error correction, for the symbols Bi, △ and BJ' at the positions specified by the error symbol position designation information i and j' among the symbols stored as described above, Error correction is performed by adding the supplied error number information E1 and Ej using exclusive OR. In the above embodiment, the code length N is 32. The number M of check symbols in a code block is 4, and the number of bits of each symbol is 8. Although the case in which a Reed-Solomon code such as the one shown in FIG. Further, the circuit examples for the 64 circuits used are shown as examples for realizing the circuits, and the present invention is not limited thereto.

以上のように、本発明を用いると、Nシンボルで1個の
ブロックをなすリード・ソロモン符号内に生じた1個あ
るいは2個の誤りを訂正し3シンボル以上の誤りを検出
したらエラーフラグを出す方式において、検査用シンボ
ルの数M個までのすべてのシンドロームの情報を有効に
利用し、かつ、簡潔な回路構成によシ目的を達成する信
頼性の高い復号方式を提供することができる。これによ
り信頼性、経済性の向上を達成できる。
As described above, when the present invention is used, one or two errors occurring in a Reed-Solomon code that forms one block of N symbols is corrected, and if three or more symbols are detected, an error flag is issued. In this method, it is possible to provide a highly reliable decoding method that effectively utilizes information on all syndromes of up to M test symbols and achieves the objective with a simple circuit configuration. This makes it possible to improve reliability and economy.

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

第1図は本発明の一実施例を示すブロック図、第2図は
本実施例で用いる和の演算を説明するための図、第3図
(1)は本実施例で用いる演算の符号多項式を説明する
ための図、第3図(2)は本実施で用いる積の演算を説
明するための図、第4図は本実施例のシンドローム演算
回路の内部回路例を示す図、第5図は本実施例の中間情
報比演算回路の内部回路例を示す図、第6図は誤り呑≠
情報Ei。 Ej演算回路の内部回路例を示す図である。 14において、1・・・シンドローム演算回路、2・・
・シンドローム演算制御回路、3・・・シンドローム記
憶回路、4・・・中間情報MO演算回路、5・・・中間
情報J7寅軍団路、6・・・中間情報M2演算回路、7
・・中間情報比演算回路、8・・・中間情報孔比較回路
、9・・・中間情報オールゼロ判定回路、10・・・中
間情報ゼL+検出回路、11・・・誤り#亜情報Ei 
、 Ej演30.31,32.33・・・シフトレジス
タ、21.22,23,24,55.56・・・排他的
論理和回路、25.26,27,28,29,40,4
1,42,51,52,53.54・・・読み出し専用
メモリ(ROM )、44,45.57・・・・・・2
55を法とする加算器(MOD255加算器)、43 
、46・・・インバータ。 特 許 出 願 人  新日本電気株式会社第2厘 A        B        AB第3図 第4図 第5図
Fig. 1 is a block diagram showing an embodiment of the present invention, Fig. 2 is a diagram for explaining the sum operation used in this embodiment, and Fig. 3 (1) is a sign polynomial for the operation used in this embodiment. FIG. 3 (2) is a diagram for explaining the product calculation used in this embodiment. FIG. 4 is a diagram showing an example of the internal circuit of the syndrome calculation circuit of this embodiment. is a diagram showing an example of the internal circuit of the intermediate information ratio calculation circuit of this embodiment, and FIG.
Information Ei. FIG. 3 is a diagram showing an example of an internal circuit of an Ej calculation circuit. In 14, 1... syndrome calculation circuit, 2...
- Syndrome arithmetic control circuit, 3... Syndrome storage circuit, 4... Intermediate information MO arithmetic circuit, 5... Intermediate information J7 Tiger Corps Road, 6... Intermediate information M2 arithmetic circuit, 7
. . . Intermediate information ratio calculation circuit, 8 . . . Intermediate information hole comparison circuit, 9 . . . Intermediate information all zero judgment circuit, 10 .
, Ej performance 30.31, 32.33... Shift register, 21.22, 23, 24, 55.56... Exclusive OR circuit, 25.26, 27, 28, 29, 40, 4
1,42,51,52,53.54...Read-only memory (ROM), 44,45.57...2
Adder modulo 55 (MOD255 adder), 43
, 46...inverter. Patent applicant Shin Nippon Electric Co., Ltd. No. 2 A B AB Figure 3 Figure 4 Figure 5

Claims (1)

【特許請求の範囲】 M個(但しMは正の整数)の1次多項式の積でできる生
成多項式から生成される符号長N(但しNはMよりも大
きい正の整数)のリード・ソロモン符号を受信して該受
信符号に対するM個のシンドロームS6 、81 、・
・・、s、−1を演算し該シンドロームをもとに該受信
符号内に1シンボルの誤りを検出したらその誤りを訂正
するとともに、2シンボルの誤りを検出したらその誤り
を訂正して該受信符号   −゛ を出力し、3シンボ
ル以前記シンドロームSo、 sl、・・・l5M−1
より予め設定”された演算によって定まるM−1個の中
間情報を演算する中間情報演算手段と、前記中間情報各
各全てが′()“か否かを判定する中間情報オールゼロ
判定手段と、 前記中間情報のうち少なくとも1個の“0“の中間情報
が含まれるか否かを判定する中間情報ゼロ検出手段と、
前記中間情報よりM−2個の中間情較手段と、 前記中間情報演算手段よシ生成可能なシンボル位置と前
記中間情報オールゼロ判定手段の出力とに応答して予め
定めたアルゴリズムに従って1シンボルの誤り訂正を実
行すべきか否かを決定し、訂正を行なう場合には前記シ
ンボル位置が誤シシンボル位置に対応することによって
、そのシンボルに対し、前記シンドロームSoを誤り!
情報として誤シ訂正を実行する1シンボル誤り訂正手段
と、 前記中間情報演算手段より生成可能なシンボル位置と前
記中間情報ゼロ検出手段の出力と前記中間情報演算手段
の出力とに応答して予め定めたアルゴリズムに従って2
シンボルの誤シ訂正を実行すべきか否かを決定し、訂正
を行なう場合には!!’] 記7ンボル位置が2シンボ
ルの誤り位置の1個(1−)K対応し、かつ前記中間情
報比演算手段の出力が他の1個のシンボル誤り位置(@
)に対応する誤り訂正に使用すべき誤垢弄i情報を演算
する2シンボル誤り訂正手段とを含むことを特徴とする
リード・ソロモン符号復号方式。
[Claims] A Reed-Solomon code of code length N (where N is a positive integer greater than M) generated from a generator polynomial formed by the product of M (where M is a positive integer) first-order polynomials. is received and M syndromes S6, 81, . . .
..., s, -1 is calculated, and if one symbol error is detected in the received code based on the syndrome, the error is corrected, and if two symbol errors are detected, the error is corrected and the reception is performed. The code -゛ is output, and the previous syndrome So, sl,...l5M-1 is output for the three symbols.
intermediate information calculation means for calculating M-1 pieces of intermediate information determined by calculations set in advance; intermediate information all-zero determination means for determining whether each of the intermediate information is '()''; intermediate information zero detection means for determining whether at least one “0” intermediate information is included in the intermediate information;
M-2 intermediate comparison means based on the intermediate information, and detecting a one-symbol error according to a predetermined algorithm in response to symbol positions that can be generated by the intermediate information calculation means and the output of the intermediate information all-zero determination means. It is determined whether or not to perform correction, and if correction is to be performed, the symbol position corresponds to an erroneous symbol position, so that the syndrome So is erroneously determined for that symbol.
1-symbol error correction means for performing error correction as information; and 1-symbol error correction means for performing error correction as information; 2 according to the algorithm
Deciding whether or not to perform symbol error correction, and when performing correction! ! '] The seventh symbol position corresponds to one (1-)K of the two symbol error positions, and the output of the intermediate information ratio calculation means corresponds to the other one symbol error position (@
2-symbol error correction means for calculating error correction information to be used for error correction corresponding to ).
JP57006441A 1982-01-18 1982-01-18 Decoding system of read solomon code Granted JPS58123144A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP57006441A JPS58123144A (en) 1982-01-18 1982-01-18 Decoding system of read solomon code

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP57006441A JPS58123144A (en) 1982-01-18 1982-01-18 Decoding system of read solomon code

Publications (2)

Publication Number Publication Date
JPS58123144A true JPS58123144A (en) 1983-07-22
JPS6217256B2 JPS6217256B2 (en) 1987-04-16

Family

ID=11638484

Family Applications (1)

Application Number Title Priority Date Filing Date
JP57006441A Granted JPS58123144A (en) 1982-01-18 1982-01-18 Decoding system of read solomon code

Country Status (1)

Country Link
JP (1) JPS58123144A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6077529A (en) * 1983-10-05 1985-05-02 Nippon Gakki Seizo Kk Data error detection and correction circuit
JPS60217735A (en) * 1984-04-13 1985-10-31 Nec Home Electronics Ltd Error location deciding circuit of reed solomon coding and decoding system
JPS63197241A (en) * 1987-02-12 1988-08-16 Hitachi Ltd Error detector
JPS63317837A (en) * 1987-10-09 1988-12-26 Sanyo Electric Co Ltd Data processor
WO1989000363A1 (en) * 1987-06-30 1989-01-12 Matsushita Electric Industrial Co., Ltd. Galois field arithmetic unit

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6077529A (en) * 1983-10-05 1985-05-02 Nippon Gakki Seizo Kk Data error detection and correction circuit
JPH0153940B2 (en) * 1983-10-05 1989-11-16 Yamaha Corp
JPS60217735A (en) * 1984-04-13 1985-10-31 Nec Home Electronics Ltd Error location deciding circuit of reed solomon coding and decoding system
JPH0151096B2 (en) * 1984-04-13 1989-11-01 Nippon Denki Hoomu Erekutoronikusu Kk
JPS63197241A (en) * 1987-02-12 1988-08-16 Hitachi Ltd Error detector
WO1989000363A1 (en) * 1987-06-30 1989-01-12 Matsushita Electric Industrial Co., Ltd. Galois field arithmetic unit
US5020060A (en) * 1987-06-30 1991-05-28 Matsushita Electric Industrial Co., Ltd. Error code correction device having a galois arithmetic unit
JPS63317837A (en) * 1987-10-09 1988-12-26 Sanyo Electric Co Ltd Data processor

Also Published As

Publication number Publication date
JPS6217256B2 (en) 1987-04-16

Similar Documents

Publication Publication Date Title
KR101266746B1 (en) Instruction-set architecture for programmable cyclic redundancy check(crc) computations
US5517509A (en) Decoder for decoding ECC using Euclid&#39;s algorithm
EP0114938A2 (en) On-the-fly multibyte error correction
US5778009A (en) Dedicated ALU architecture for 10-bit Reed-Solomon error correction module
JPS63244935A (en) Method and system for detecting and correcting errors
JP2001502153A (en) Hardware-optimized Reed-Solomon decoder for large data blocks
KR20110010771A (en) Implementation of arbitrary galois field arithmetic on a programmable processor
JPH0452556B2 (en)
JPS6122826B2 (en)
JP2011514743A (en) Method and system for detecting and correcting phased burst errors, erasures, symbol errors, and bit errors in received symbol sequences
JPS6316929B2 (en)
JPH02178738A (en) Detection of errors in arithmetic computation of at least two operands
JPS58123144A (en) Decoding system of read solomon code
JPH10112660A (en) Error decoding method and device utilizing reed solomon code
JPH10322226A (en) Reed solomon decoding method
JP3850512B2 (en) Reed-Solomon decoder
JP3071482B2 (en) Error correction circuit of packet receiver
JPH0133055B2 (en)
JPH0361210B2 (en)
JP2008112522A (en) Device and method for detecting error
JP2017098945A (en) Circuit arrangement for determining correction signal, and method therefor
JP2543319B2 (en) Encoder
KR0155762B1 (en) Reed-solomon decoder enable to correct error
JPS6221137B2 (en)
KR950008485B1 (en) Unierror correction r-s decoder