JPS60212034A - Sigma arithmetic circuit of reed solomon coding and decoding system - Google Patents

Sigma arithmetic circuit of reed solomon coding and decoding system

Info

Publication number
JPS60212034A
JPS60212034A JP6754784A JP6754784A JPS60212034A JP S60212034 A JPS60212034 A JP S60212034A JP 6754784 A JP6754784 A JP 6754784A JP 6754784 A JP6754784 A JP 6754784A JP S60212034 A JPS60212034 A JP S60212034A
Authority
JP
Japan
Prior art keywords
vector
syndrome
exponent
circuit
data
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.)
Pending
Application number
JP6754784A
Other languages
Japanese (ja)
Inventor
Tetsushi Itoi
哲史 糸井
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 JP6754784A priority Critical patent/JPS60212034A/en
Publication of JPS60212034A publication Critical patent/JPS60212034A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To obtain coefficients sigma1, sigma2 of an error position polynomial with simple circuit constitution by inputting properly syndromes S0-S3 from a common bus in matching with each operating processing, storing the product sum of the syndromes to a latch section, applying the operation of the coefficients sigma1, sigma2 of the error position polynomial again via the common bus and outputting the result as a vector. CONSTITUTION:Each syndrome is inputted to a vector/exponential converting section 2 from the common bus 1 and multiplication/division of the syndromes is applied by adding/subtracting a power exponent at an MOD operating section 6. The output of the MOD arithmetic section 6 is converted into a vector by at an exponent/vector converting section 11 again, the product sum of the syndromes corresponding to each term of the numerator/denominator of the coefficients sigma1, sigma2 is applied at a vector adder section of the next stage and the result is stored in a product sum latch section 20. The result S1<2>+S0S2, S0S3+S1S2, S2<2>+S1S3 are stored respectively in latch circuits 17, 18, 19, the result is inputted again the vector/exponent converting section 2 and outputted to latch circuits 12, 13 as a vector.

Description

【発明の詳細な説明】 技術分野 本発明は、ディジタルオーディオ機器などに用いられる
2シンボル誤シ訂正の可能なリードソロモン符号の復号
方式、特にその復号方式の一項として誤り位置多項式の
係数演算回路に関する。
DETAILED DESCRIPTION OF THE INVENTION Technical Field The present invention relates to a Reed-Solomon code decoding system capable of two-symbol error correction used in digital audio equipment, and more particularly to a coefficient calculation circuit for an error locator polynomial as one term of the decoding system. Regarding.

従来技術 ディジタルオーディオ機器では、記録媒体の情報を再生
する場合に、6穐の原因によシ符号誤りが生ずる。その
ためランダム誤)の対策として、情報を符号化して、誤
シ訂正可能な符号とする。誤シ訂正符号としては、BC
H符号。
In conventional digital audio equipment, when reproducing information from a recording medium, code errors occur for six reasons. Therefore, as a countermeasure against random errors, information is encoded into a code that can be corrected. As an error correction code, BC
H code.

リードソロモン符号がよく知られている。リードソロモ
ン符号は非2元BCH符号の1種であル、ディジタルオ
ーディオテープレコーダな、どでは8ビツトの元を1シ
ンボルとして取扱ったいわゆるCI(32,28)リー
ドソロモン符号。
Reed-Solomon codes are well known. The Reed-Solomon code is a type of non-binary BCH code, and is a so-called CI (32, 28) Reed-Solomon code in which an 8-bit element is treated as one symbol in digital audio tape recorders.

C2(28,24)リードソロモン符号を用いる。A C2 (28, 24) Reed-Solomon code is used.

こ工でC1符号は符号ブロック長が32個のシンボルで
あシ、情報シンボルが四個であることを示している。C
2符号でも同様である。そしてさらにC1符号、C2符
号の2系列の誤9訂正符号をインタリープを介して組合
せている。
This shows that the C1 code has a code block length of 32 symbols and four information symbols. C
The same is true for 2 codes. Furthermore, two series of false 9 correction codes, C1 code and C2 code, are combined via interleap.

リードソロモン符号の符号化はシフトレジスタなどによ
シ比較的簡単に実行できる。しかし復号化は複雑である
。ピータソンの方法として知られる復号方式は、シンド
ロームの演算、誤シ位置多項式の係数の演算、誤シ位置
の決定。
Reed-Solomon code can be encoded relatively easily using a shift register or the like. However, decoding is complicated. The decoding method known as Peterson's method involves calculating the syndrome, calculating the coefficients of the erroneous position polynomial, and determining the erroneous position.

エラーパターンの演算の順に行tう。本発明は、このう
ちの誤り位置多項式の係数の演算回路を対象とするもの
である。
The calculations are performed in the order of error pattern calculations. The present invention is directed to a circuit for calculating coefficients of an error locator polynomial.

この発明では、C工符号、C2符号のように2シンボル
誤シ訂正能力をもつリードソロモン符号を取り扱う。例
えばC1符号では符号ブロック長が32、検査シンボル
が4個で、最小間隔は5シンボルであって2シンボルの
誤シ訂正が可能である。
In this invention, Reed-Solomon codes having a two-symbol error correction ability, such as C-codes and C2 codes, are handled. For example, in the C1 code, the code block length is 32, the number of check symbols is 4, the minimum interval is 5 symbols, and error correction of 2 symbols is possible.

誤シ位置多項式は1+σ1x十σ、x2の2次式になシ
、σ1.σ2はシンドロームSo、 St、 Ss、 
Ss から与えられるが、この計算式は複雑であシ、従
来完全にハード的手段でめた例がない。
The incorrect position polynomial is 1+σ1x10σ, which is a quadratic expression of x2, σ1. σ2 is the syndrome So, St, Ss,
Ss, but this calculation formula is complicated and there has never been a case where it has been achieved completely by hardware means.

発明の開示 本発明の目的は、2シンボル誤シ訂正能力をもつリード
ソロモン符号復号方式において、比較的簡単な回路構成
によって、誤シ位置多項式の係数σ1.σ雪をシンドロ
ーム5o−8s よ請求める回路を提供することにある
DISCLOSURE OF THE INVENTION It is an object of the present invention to correct the coefficients σ1 . The object of the present invention is to provide a circuit that can claim σ snow as syndrome 5o-8s.

(誤ル位置多項式の説明) 本発明の構成を記述する前に誤シ位置多項式の誘導につ
いて説明する。C1符号、C2符号では、各シンボルは
1バイトの符号であって、2’=256個の元の中の1
つである。そして巡回符号に属するから多項式表示のベ
クトルとして表わすことができる。さらに原始多項式の
根である原始元のαのべき乗で表わすことができる。す
なわちベクトル表示とべき指数とが1対1の対応になる
。なお、本発明は、各シンボルが1バイトに限定される
ものでないことに注意しておく。
(Description of Erroneous Position Polynomial) Before describing the configuration of the present invention, the derivation of the Erroneous Position Polynomial will be explained. In C1 code and C2 code, each symbol is a 1-byte code, and 2'=1 out of 256 elements.
It is one. Since it belongs to a cyclic code, it can be expressed as a vector in polynomial representation. Furthermore, it can be expressed as a power of α of the primitive element, which is the root of the primitive polynomial. In other words, there is a one-to-one correspondence between the vector representation and the exponent. Note that in the present invention, each symbol is not limited to one byte.

いまCI(32,28)リードソロモン符号について、
符号ブロックをシンボルの組(Ao、A、・・・ASS
)とすると、シンドロームSo〜S3は次式により計算
される。
Now about the CI(32,28) Reed-Solomon code,
A code block is a set of symbols (Ao, A,...ASS
), the syndromes So to S3 are calculated by the following formula.

2重誤り訂正符号では、符号量最小距離は5で、シンド
ロームをSo〜S3 までめ、とのシンドロームから次
の多項式すなわち誤シ位置多項式σ(幻によって誤シ位
置をきめる。
In the double error correction code, the minimum code amount distance is 5, and the syndrome is set from So to S3, and the error position is determined by the following polynomial, that is, the error position polynomial σ (phantom).

2つの誤シ位置が頭首のAoの桁を0番目としてそれよ
シ算えて、n1番目、n2番目であるとし、 σ(x)= (1−rnl−”x) (1−γn2−”
 x) (2)とする。こへでγ・=α−1である。X
がα−nl、α−n2でσ(x)=Oとなるので、指数
表示で誤シ位置311゜n2を定めることができる。
Let us assume that the two incorrect positions are the n1th and n2th digits, which can be calculated from the 0th digit of Ao on the head, and σ(x) = (1-rnl-"x) (1-γn2-"
x) (2). Here, γ·=α−1. X
Since σ(x)=O with α−nl and α−n2, the erroneous position 311°n2 can be determined by index display.

σ(XIはシンドローム5o−8s と次のように関係
づけられる。
σ(XI is related to syndrome 5o-8s as follows.

nl = Vi * rnj =V2として(2)式を
展開すると、’(x)=(I VIX) (1−VzX
 ) (3)= 1 (Vt+Vg)X+VIV1x”
=1+aIX十〇2x2 一方シンドロームを係数とする多項式S。(Xlを考え
る a、JX) = So +S1x + SzX” +S
ax” 十−(32、28)リードソロモン符号では 
X3までの係数はシンドローム演算で与えられる。4次
以上の係数は未知であるが、すベズのiにつ(・て、V
1=γ。、−1=α”、 v2= rn、□1=αn2
 であるから(1)式から St = en、Vl + en2V2が成立する。こ
〜でenl l en2はエラーパターンである。
Expanding equation (2) as nl = Vi * rnj = V2, '(x) = (IVIX) (1-VzX
) (3)=1 (Vt+Vg)X+VIV1x”
=1+aIX102x2 On the other hand, polynomial S whose coefficient is the syndrome. (a, JX considering Xl) = So +S1x + SzX” +S
ax” 10-(32, 28) Reed-Solomon code
The coefficients up to X3 are given by syndrome calculation. The coefficients of fourth order or higher are unknown, but for Svez i(・te, V
1=γ. , −1=α”, v2=rn, □1=αn2
Therefore, from equation (1), St = en, Vl + en2V2 hold true. Here, enl l en2 is an error pattern.

つま#)s So= en□+ en。Tsuma#)s So=en□+en.

51=enIV1+en2v2 S2= en、Vl +52x2 + Sl = e、V、 十en2Vz と表わすことができる。従って5oo(x)は次のよう
に表わされる。
51=enIV1+en2v2 S2=en,Vl +52x2+Sl=e,V, 10en2Vz. Therefore, 5oo(x) is expressed as follows.

””′XJ= (ent 十〇ng) +(eHIV1
+en、V、)x−)−であるから上式は簡略化され となる。(3)式のσ(増と(4)式のS。o(X) 
との積をとると σ(x)S、、(Xl=en□(1−v2X)+en!
<1−V、り (53この式は一次式である。
””′XJ= (ent 10ng) + (eHIV1
+en, V, )x-)-, so the above equation is simplified. σ(increase) in equation (3) and S.o(X) in equation (4)
Taking the product of σ(x)S, (Xl=en□(1-v2X)+en!
<1-V, ri (53 This equation is a linear equation.

以下において、Xの多項式F(X)について X)よp
xj項までの和を〔F(yrJ)iと表示するものとす
れば、S−(転)の3次項までの和は、5(x) = 
Sg+ S1x + S2x’ + s、X3=〔5o
o(xl)。
In the following, for a polynomial F(X) in X,
If the sum up to the xj term is expressed as [F(yrJ)i, the sum up to the cubic term of S-(trans) is 5(x) =
Sg+ S1x + S2x' + s, X3=[5o
o(xl).

と表わされる。It is expressed as

5oo(Xlの4次以上の項は、σ(X)S−(転)に
おいて4次以上の項にのみ影響するから、 〔σfX) 5(X) ) 。= (σ(x)S−(X
) )。
5oo(Since the fourth-order or higher-order terms of Xl affect only the fourth-order or higher-order terms in σ(X)S-(transition), [σfX) 5(X) ). = (σ(x)S−(X
) ).

が成立する。ところがσ(X)S、、、(X)は(5)
式に示すよ5に1次式であるから、 〔σ(xis(Xi) =0 (6) でなければならない。ところで〜 σ(X)= 1 + ff□x−112x”5(x)=
 So+S1x +52x2+ 53x3であるからσ
(XI S (X)を計算するとσ(x)S(x)= 
So+ (S1+a、So) x + (S2+ a□
S1+ a、5o)X2+(S3+σ1S2+σ2S1
)X3+(σ□S3+σ2S2)X4+σ2σ3x5(
6)式の条件からS2+σISI+σ2So=O,S3
+σIS2+σ2S□=0は σ(xl=1+σ、X (8) 同様の考察により次の関係式が得られる。
holds true. However, σ(X)S, , (X) is (5)
As shown in equation 5, it is a linear equation, so it must be [σ(xis(Xi) = 0 (6). By the way ~ σ(X)= 1 + ff□x−112x”5(x)=
Since So+S1x +52x2+53x3, σ
(XI S (X) is calculated as σ(x)S(x)=
So+ (S1+a, So) x + (S2+ a□
S1+ a, 5o)X2+(S3+σ1S2+σ2S1
)X3+(σ□S3+σ2S2)X4+σ2σ3x5(
6) From the condition of formula, S2+σISI+σ2So=O,S3
+σIS2+σ2S□=0 is σ(xl=1+σ, X (8) From the same consideration, the following relational expression can be obtained.

S1+(71S、=O、S2+σ1S□=0.S3+σ
l52=0従ってσ1 =s、/Sg −82/S1 
=83/32Xに(Sl/So)”を代入するとσ(X
)=0になる。りまシ誤シ位置n1に対応するα−n1
を代入したときσ<x>=oが成立するからS、/S0
がαn1に等しく、S1/Soのべき指数から直ちに誤
り位置n、が得られる。
S1+(71S,=O, S2+σ1S□=0.S3+σ
l52 = 0 therefore σ1 = s, /Sg -82/S1
=83/32X by substituting (Sl/So)”, we get σ(X
)=0. α-n1 corresponding to incorrect position n1
Since σ<x>=o holds when substituted, S, /S0
is equal to αn1, and the error position n can be immediately obtained from the exponent of S1/So.

本発明はσl、σ2を(7)式により演算する回路を提
供するものであるが、シンドロームSo−8mを入力し
て繰返し、各種演算を行なわねばならない。シンドロー
ムSo”Saはベクトルとして与えられるが、それらの
乗算・除算は直接には困難である。しかし前述したよう
にリードソロモン符号ては、各シンボルは多項式表現の
ベクトルと原始多項式の根の原始元のべき指数値と1対
1の対応がつけられるから、上記の乗算・除算は、ベク
トルを指数に直し、]V10D255 の演算で加算拳
減算することで行ないうる。こ工でα255=α0=1
となるからMOD 255の演算になる。また86〜S
3を含む代数式、例えばSl” +S、082などもベ
クトルであシ、べき指数表現とすることができるからσ
!、σ2の分子/分母比もMOD255の演算で行なう
ことができる。
Although the present invention provides a circuit that calculates σl and σ2 using equation (7), it is necessary to input the syndrome So-8m and repeatedly perform various calculations. The syndrome So"Sa is given as a vector, but it is difficult to directly multiply and divide them. However, as mentioned above, in a Reed-Solomon code, each symbol is a vector of polynomial representation and a primitive element of the root of a primitive polynomial. Since there is a one-to-one correspondence with the power exponent value, the above multiplication and division can be performed by converting the vector into an exponent and adding and subtracting it using the operation of ]V10D255.In this way, α255=α0=1
Therefore, it becomes a calculation of MOD 255. Also 86~S
Algebraic expressions containing 3, such as Sl" + S, 082, are also vectors and can be expressed as exponents, so σ
! , the numerator/denominator ratio of σ2 can also be calculated by MOD255.

(発明の構成) 上記よシ、本発明の演算回路は、共通パスに接続されベ
クトルとして入力する、シンドロームSo+〜Ss、t
t)るいはシンドロームの積和をリードソロモン符号の
原始元のべき指数値に変換するベクトル/指数変換部と
、前記べき指数値の2項の和および差のMOD演算を行
な5M0D演算部と、前記MOD演算値をベクトルに変
換する指数/ベクトル変換部と、前記指数/ベクトル変
換部の出力ベクトルを論理和加算するベクトル加算部と
、前記の加算ベクトルを入力してラッチし、出力側が共
通バスに接続されているシンドローム積和ラッチ部とを
備え、前記シンドローム5o−8sを共通バスから、各
演算処理に合わせて適宜入力して演算して得九るS1+
5oSz 、 5oSs+ StSg 、 Ss 十S
t’sをそれぞれ前記シンドロームラッチ部にストアし
た後、前記のストアされたベクトルを再び共通バスを介
して、前記ベクトル/指数変換部に人力してσ1.σ2
の演算を行ない、前記指数/ベクトル変換部からベクト
ルとして出力することを特徴とするものである。
(Structure of the Invention) As described above, the arithmetic circuit of the present invention has a syndrome So+ to Ss, t that is connected to a common path and input as a vector.
t) a vector/exponent conversion unit that converts the sum of products of syndromes into a power exponent value of a primitive element of a Reed-Solomon code; and a 5M0D calculation unit that performs a MOD operation of the sum and difference of two terms of the power exponent values. , an exponent/vector conversion unit that converts the MOD operation value into a vector, a vector addition unit that performs logical summation of the output vectors of the exponent/vector conversion unit, and a vector addition unit that inputs and latches the addition vector, and has a common output side. and a syndrome sum-of-products latch unit connected to the bus, and the syndrome 5o-8s is inputted from the common bus as appropriate in accordance with each calculation process and calculated.
5oSz, 5oSs+ StSg, Ss 10S
After storing σ1. σ2
It is characterized in that it performs the calculation and outputs it as a vector from the exponent/vector conversion section.

(発明の効果) ・本発明の01.σ2演算回路は、リードソロモン符号
のシンボルのベクトル表現とべき指数表現との対応関係
を利用して、シンドローム5o=Ssの積あるいは積和
などの必要な演算を、それぞれ対応するべき指数のMO
D加算に置換えることで、極めて簡単な構成となってい
る。
(Effects of the invention) -01 of the present invention. The σ2 arithmetic circuit utilizes the correspondence between the vector representation of Reed-Solomon code symbols and the exponent representation to perform necessary operations such as the product or sum of products of the syndrome 5o=Ss using the MO of the corresponding exponent.
By replacing it with D addition, it becomes an extremely simple configuration.

発明を実施するための最良の形態 第1図、第2図を参照して本発明の一実施例を説明する
。第1図は回路ブロック図で、第2図は動作を示すタイ
ムチャートである。
DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described with reference to FIGS. 1 and 2. FIG. FIG. 1 is a circuit block diagram, and FIG. 2 is a time chart showing the operation.

なおこの実施例では1バイト誤9のときに誤シ位置をn
lとすればσ* = St/so =αn1 として誤
り位置niがめられるので、51ZSoをべき指数とし
て演算しnlを直ちに出力する回路を本発明回路に附加
している。
In this embodiment, when one byte error is 9, the error position is set to n.
Since the error position ni can be found as σ*=St/so=αn1 if l, a circuit for calculating 51ZSo as a power exponent and immediately outputting nl is added to the circuit of the present invention.

第1図において、共通バス1にシンドローム演算回路2
1 、22 、23 、24が接続し、それぞれシンド
ロームSo、 Sl、 Sl、 Ssをベクトルで出力
する。共通バス1から後述の動作説明および第2図に示
すタイム順に各シンドロームがベクトル/指数変換部2
に入力して原始元αのべき指数となシ、次のラッチ回路
3 、EX−NOR回路4゜MOD255加算回路5よ
シなるMOD演算部6で、べき指数の加法・減算をする
ことでシンドロームの乗算・除算を行なう。EX−NO
R回路4は反転回路あるいはバッファとして動作する。
In Figure 1, the common bus 1 is connected to the syndrome calculation circuit 2.
1, 22, 23, and 24 are connected and output the syndromes So, Sl, Sl, and Ss as vectors, respectively. From the common bus 1, each syndrome is transferred to the vector/exponent converter 2 in the time order shown in the operation explanation described later and in FIG.
The next latch circuit 3, EX-NOR circuit 4゜MOD255 adder circuit 5, and MOD operation section 6 add and subtract the exponents to obtain the syndrome. Performs multiplication and division. EX-NO
The R circuit 4 operates as an inversion circuit or a buffer.

ラッチ回路7,28には1バイト誤シの場合のときの8
1/Soをラッチする。MOD演算部6の出力は再びラ
ッチ回路9.指数/ベクトル変換回路10からなる指数
/ベクトル変換部11でベクトルに変換され、次段のラ
ッチ回路14 、 EX−OR回路15からなるベクト
ル加算部16で、σ1.σ2の分子・分母の各項に相当
するシンドロームの積和をとシ、これをシンドローム積
和ラッチ部加でストアする。こへでラッチ回路17 、
18 、19にそれぞれSx”+5oSx r 5oS
s+5tSz、 S2”+5ISllがストアされる。
The latch circuits 7 and 28 contain 8 bits when there is a 1-byte error.
Latch 1/So. The output of the MOD calculation unit 6 is again sent to the latch circuit 9. It is converted into a vector by an index/vector converter 11 consisting of an index/vector conversion circuit 10, and then converted into a vector by a vector adder 16 consisting of a latch circuit 14 and an EX-OR circuit 15 at the next stage. The sum of products of syndromes corresponding to each term of the numerator and denominator of σ2 is calculated and stored in the syndrome sum of products latch section. Here is the latch circuit 17,
18 and 19 respectively Sx”+5oSx r 5oS
s+5tSz, S2''+5ISll are stored.

各ラッチ回路17〜19は共通バスIK接続され、再び
ベクトル/指数変換部2に入力し、前に説明したパスを
とおって、σ1.σ2をめる除算が行なわれ、その結果
がベクトルとしてラッチ回路12 、13に出力される
。なおベクトル/指数変換部2.指数/ベクトル変換回
路10はいずれもリードオンリメモリで、ベクトルと指
数とが対応ずけられて記憶されている。
Each of the latch circuits 17 to 19 is connected to the common bus IK, and inputs the σ1. Division by σ2 is performed, and the result is output to latch circuits 12 and 13 as a vector. Note that the vector/exponent conversion unit 2. The exponent/vector conversion circuit 10 is a read-only memory in which vectors and exponents are stored in correspondence.

以上の第1図の回路動作を詳細に第2図のタイムチャー
トを参照して説明する。タイムチャートはPiePzy
・・・と時間を分け、以下、その時間ごとのステップで
説明をす〜める。第2図の最上段のEl以下の各信号は
構成回路のそれぞれの時間的動作を制御する信号を表わ
す。
The above circuit operation of FIG. 1 will be explained in detail with reference to the time chart of FIG. 2. The time chart is PiePzy
I will divide the time into . . . and explain the steps for each time. The signals below El in the top row of FIG. 2 represent signals that control the respective temporal operations of the constituent circuits.

Pl:シンドローム演%回路nのシンドローム81デー
タを共通バスlを介してベクトル/指数変換部2に入力
しべき指数値をラッチ回路3にストアする。
Pl: Syndrome performance % Syndrome 81 data of circuit n is inputted to vector/exponent converter 2 via common bus 1. An exponent value to be input to vector/exponent converter 2 is stored in latch circuit 3.

P2:シンドローム演算回路21のシンドローム81デ
ータをベクトル/指数変換部2に入力し島べき指数値を
EX−NOR回路4で反転し、ラッチ回路3にストアさ
れたデータとMOD255加算し、ラッチ回路7にスト
アする。すなわち−次誤りのときのσ5=s1/Soを
演算したことになる。
P2: Syndrome 81 data from the syndrome arithmetic circuit 21 is input to the vector/exponent converter 2, the exponent value is inverted by the EX-NOR circuit 4, and the MOD 255 is added to the data stored in the latch circuit 3. Store in. In other words, σ5=s1/So for the −th error is calculated.

P3:シンドローム演算回路nの81データをベクトル
/指数変換をなし、ラッチ回路3にストアする。
P3: 81 data of the syndrome calculation circuit n is subjected to vector/exponent conversion and stored in the latch circuit 3.

P4:再びシンドローム演算回路nのSlデータをベク
トル/指数変換して、ラッチ回路3のデータとMOD2
55加算して、ラッチ回路9にストアする。(Sl”の
演算) P5:上記のラッチ回路9のデータを指数/ベクトル変
換してラッチ回路14にストアする。
P4: Vector/exponential conversion is performed on the SL data of the syndrome calculation circuit n again, and the data of the latch circuit 3 and MOD2 are
55 is added and stored in the latch circuit 9. (Calculation of Sl'') P5: The data in the latch circuit 9 is converted into an index/vector and stored in the latch circuit 14.

P6:シンドローム演算回路21のシンドロームS0デ
ータをベクトル/指数変換してラッチ回路3にストアす
る。
P6: The syndrome S0 data of the syndrome arithmetic circuit 21 is subjected to vector/exponential conversion and stored in the latch circuit 3.

P7:シンドローム演算回路るのシンドロームS2デー
タをベクトル/指数変換して、ラッチ回路3のデータと
MOD255演算をしてラッチ回路9にラッチする。(
5oS2の演算)P8:ラッチ回路9のデータを指数/
ベクトル変換をしてラッチ回路14のデータとEX−O
R回路15で加算し、ラッチ回路17にストアする。(
Sr” + 5oSsの演算) Pg:シンドローム演算回路21のシンドロームS0デ
ータをベクトル/指数変換してラッチ回路3にストアす
る。
P7: The syndrome arithmetic circuit performs vector/exponential conversion on the syndrome S2 data, performs MOD255 arithmetic operation on the data in the latch circuit 3, and latches it in the latch circuit 9. (
5oS2 calculation) P8: Data of latch circuit 9 is indexed/
After vector conversion, the data of latch circuit 14 and EX-O
The R circuit 15 adds the result and stores it in the latch circuit 17. (
Pg: The syndrome S0 data of the syndrome calculation circuit 21 is subjected to vector/exponential conversion and stored in the latch circuit 3.

plO: シンドローム演算回路列のシンドロームS3
データをベクトル/指数変換してラッチ回路3のデータ
とMOD255加算してラッチ回路9にストアする。(
Sodmの演算) Pll: ランチ回路9のデータを指数/ベクトル変換
して、ラッチ回路14にストアする。
plO: Syndrome S3 of syndrome arithmetic circuit array
The data is vector/exponential converted, added to the data in the latch circuit 3 by the MOD 255, and stored in the latch circuit 9. (
Calculation of Sodm) Pll: Data in the launch circuit 9 is subjected to index/vector conversion and stored in the latch circuit 14.

PI3: シンドローム演算回路nのシンドロームS1
データをベクトル/指数変換してラッチ回路3にストア
する。
PI3: Syndrome S1 of syndrome calculation circuit n
The data is vector/exponential converted and stored in the latch circuit 3.

PI3: シンドローム演x回路囚の一シンドロームS
2データをベクトル/指数変換してラッチ回路3のデー
タとMOD255加算してラッチ回路9にストアする。
PI3: Syndrome performance x circuit prisoner syndrome S
2 data is subjected to vector/exponential conversion, added to the data in the latch circuit 3 by the MOD 255, and stored in the latch circuit 9.

(8182の演算) P14: ランチ回路9のデータを指数/ベクトル変換
し、ラッチ回路14のデータとEX−ORをとシ、ラッ
チ回路18にストアする。(5oSa +SI S2の
演算) Plsi シンドローム演算回路器のシンドロームS2
データをベクトル/指数変換し、ラッチ回路3にストア
する。
(Operation of 8182) P14: The data in the launch circuit 9 is converted into an index/vector, and the data in the latch circuit 14 is EX-ORed and stored in the latch circuit 18. (5oSa + SI S2 calculation) Plsi syndrome calculation circuit syndrome S2
The data is vector/exponential converted and stored in the latch circuit 3.

Pg6 : シンドローム演算回路器のシンドロームS
2データをベクトル/指数変換し、ラッチ回路3のデー
タとMOD255加算してラッチ回路9にストアする。
Pg6: Syndrome S of syndrome calculation circuit
2 data is subjected to vector/exponential conversion, added to the data of latch circuit 3 by MOD255, and stored in latch circuit 9.

(S22の演算) PI3: ランチ回路9のデータを指数/ベクトル変換
してラッチ回路14にストアする。
(Calculation in S22) PI3: Data in the launch circuit 9 is subjected to index/vector conversion and stored in the latch circuit 14.

PI3 : シンドローム演x回路zのシンドロームS
1データをベクトル/指数変換してラッチ回路3にスト
アする。
PI3: Syndrome S of syndrome performance x circuit z
1 data is subjected to vector/exponential conversion and stored in the latch circuit 3.

P2O: シンドローム演算回路列のシンドロームS3
データをベクトル/指数変換して、ラッチ回路3のデー
タとMOD255加算してラッチ回 。
P2O: Syndrome S3 of syndrome arithmetic circuit array
The data is vector/exponential converted and added to the data of latch circuit 3 by MOD255 to be latched.

路9にストアする( 5ISaの演算)。Store in path 9 (operation of 5ISa).

pro: ラッテ回路9のデータを指数/ベクトル変換
し、ラッチ回路14のデータとEX−ORをとシラツチ
回路19にストアする( Ss” + 5tSsの演算
)。
pro: The data in the latch circuit 9 is subjected to index/vector conversion, and the EX-OR with the data in the latch circuit 14 is stored in the shiratch circuit 19 (operation of Ss" + 5tSs).

P21: ラッチ回路18にストアされた5oSa+S
*Szデータを共通バス1を介してベクトル/指数変換
部2に人力して指数に変換しラッチ回路3にストアする
P21: 5oSa+S stored in latch circuit 18
*Sz data is manually sent to the vector/exponent converter 2 via the common bus 1, converted into an index, and stored in the latch circuit 3.

P22: ラッチ回路17にストアされたSl + S
ongデータを共通バス1を介して、再びベクトル/指
数変換し、極性を反転して、ラッチ回路3のデータとM
OD255加算してラッチ回路9にストアする。(σs
 =SoSa +5xSz/Sx”+5oSzの演算)
P23: ラッチ回路9のデータを指数/ベクトル変換
し、ラッチ回路12にストアする。
P22: Sl + S stored in latch circuit 17
ong data is vector/exponentially converted again via the common bus 1, the polarity is inverted, and the data of the latch circuit 3 and M
OD255 is added and stored in the latch circuit 9. (σs
=SoSa +5xSz/Sx”+5oSz calculation)
P23: The data in the latch circuit 9 is converted into an index/vector and stored in the latch circuit 12.

P24二 ランチ回路19にストアされたSt + S
temデータを共通バス1を介して、再びベクトル/指
数変換し、ラッチ回路3にストアする。
P242 St + S stored in launch circuit 19
The tem data is again subjected to vector/exponential conversion via the common bus 1 and stored in the latch circuit 3.

P25: ランチ回路17にストアされたSs+SoS
zデータを共通バスlを介して、再びベクトル/指数変
換し、極性を反転し、ラッチ回路3のデータとMOD 
255加算してラッチ回路9にストアする(σ2=S2
”+ 5IS3/S1”+ 5oS2の演算)。
P25: Ss+SoS stored in launch circuit 17
The z data is vector/exponentially converted again via the common bus l, the polarity is inverted, and the data of the latch circuit 3 and MOD
255 is added and stored in the latch circuit 9 (σ2=S2
"+5IS3/S1"+5oS2 calculation).

P26: ラッチ回路9のデータを指数/ベクトル変換
してラッチ回路13にストアする。
P26: Data in the latch circuit 9 is subjected to index/vector conversion and stored in the latch circuit 13.

P27: Clデコーダのときはラッチ回路7のデータ
をラッチ回路8にストア、C2デコーダのときはラッチ
回路7のデータはC1訂正動作終了後ラッチ回路8にス
トアする。
P27: When the decoder is a Cl decoder, the data in the latch circuit 7 is stored in the latch circuit 8. When the decoder is a C2 decoder, the data in the latch circuit 7 is stored in the latch circuit 8 after the C1 correction operation is completed.

最後のR27ステツプは、C1符号、C2符号をこの同
一回路で、継続的に行なう場合に、データが消滅しない
ようにデータを移転するためである。
The final R27 step is for transferring data so that the data will not be lost when the C1 code and C2 code are continuously performed in the same circuit.

以上の説明では、動作が極めて複雑な様に見えるが、実
質的には、べき指数のMOD加算と、ベクトル加算とを
組合わせた各項の演算の実行であって時間的にクロック
によシ整然と行なうことができる。なお、MOD255
加算は、本実施例では1バイトのデータをとシ扱ったか
らである。あつかうデータのビット数が異なれば、それ
に合わせて変更すればよい。
In the above explanation, the operation seems extremely complicated, but it is actually a combination of MOD addition of power exponents and vector addition, and the calculation is performed for each term by a clock. It can be done in an orderly manner. In addition, MOD255
This is because addition deals with 1 byte of data in this embodiment. If the number of bits of the data to be handled differs, you can change it accordingly.

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

図面は本発明の一実施例を示し、第1図が回路ブロック
図、第2図がタイムチャートである。 1・・・共通バス、2・・・ベクトル/指数変換部、3
 、7 、8 、9.12,13,14,17,18.
19・・・ラッチ回路、4・・・EX−NOR回路、5
・・・11i’LOD255加算回路、6・・・MOD
演算部、10・・・指数/ベクトル変換回路、11・・
・指数/ベクトル変換部、15・・・EX−OR回路、
16・・・ベクトル加算部、加・・・シンドローム積和
ラッチ部、21−24・・・シンドローム演算回路。 特許出願人 日本電気ホームエレクトロニクス株式会社
代理人 弁理士 佐 藤 秋 比 古 −Nrつ ぐ −へ LL、IILILL、lLL、1100円 −Nrつ 
−j Ln ■ さ ω ■■1)ココ)11LILL
luO
The drawings show an embodiment of the present invention, with FIG. 1 being a circuit block diagram and FIG. 2 being a time chart. 1...Common bus, 2...Vector/exponential conversion unit, 3
, 7 , 8 , 9.12, 13, 14, 17, 18.
19...Latch circuit, 4...EX-NOR circuit, 5
...11i'LOD255 addition circuit, 6...MOD
Arithmetic unit, 10... Exponent/vector conversion circuit, 11...
・Exponent/vector conversion unit, 15...EX-OR circuit,
16...Vector addition section, addition...Syndrome product-sum latch section, 21-24...Syndrome calculation circuit. Patent Applicant NEC Home Electronics Co., Ltd. Agent Patent Attorney Akihiro Sato LL, IILILL, LL, 1100 yen
-j Ln ■ Sa ω ■■1) Here) 11LILL
luO

Claims (1)

【特許請求の範囲】 2シンボル誤シ訂正能力をもつリードソロモン符号の復
号に際し、誤)位置多項式l+σIX+σ2x2(ただ
しXはシンボルを表わす)の係数σ1.σ2をシンドロ
ームSo、S1.St、Ssから演算する回路において
、 共通バスに接続され、ベクトルとして人力する前記シン
ドローム5o−8spあるいはシンドロームの積和をリ
ードソロモン符号の原始元のべき指数値に変換するベク
トル/指数変換部と。 前記べき指数値の和または差のMOD演算を行なうMO
D演算部と、前記MOD演算値をベクトルに変換する指
数/ベクトル変換部と、前記指数/ベクトル変換部の出
力ベクトルを論理和加算するベクトル加算部と、前記加
算ベクトルを入力してラッチし、出力側が共通ノζスに
接続され【いるシンドローム積和ラッチ部とを備え、前
記シンドロームSo=Sg を共通ノ(スから、各演算
処理に合わせて適宜入力して、演算して得たるSl”+
5oSz s 508m+ 8182 、 Sz”+5
tSsなるシンドローム積和を前記シンドローム積和ラ
ッチ部にストアした後、前記のストアされたベクトルを
、再び共通バスを介して前記ベクトル/指数変換部に入
力して、al、σ2の演算を行ない、前記指数/ベクト
ル変換部からベクトルとして出力することを特徴とする
リードソロそン符号・復号方式のσ演算回路。
[Claims] When decoding a Reed-Solomon code having a two-symbol error correction capability, coefficients σ1 . σ2 is the syndrome So, S1. In a circuit that operates from St and Ss, a vector/exponent conversion unit connected to a common bus and converting the syndrome 5o-8sp or the sum of products of syndromes manually input as a vector into an exponent value of a primitive element of a Reed-Solomon code. MO that performs MOD calculation of the sum or difference of the power exponent values
a D calculation unit, an exponent/vector conversion unit that converts the MOD calculation value into a vector, a vector addition unit that adds the output vectors of the exponent/vector conversion unit, and inputs and latches the addition vector; It is equipped with a syndrome product-sum latch unit whose output side is connected to a common node ζ, and inputs the syndrome So=Sg from the common node as appropriate in accordance with each calculation process, and calculates the syndrome Sl'' +
5oSz s 508m+ 8182, Sz”+5
After storing the syndrome product sum tSs in the syndrome product sum latch unit, the stored vector is again input to the vector/exponent conversion unit via the common bus to calculate al and σ2, A σ arithmetic circuit using a Reed Solo encoding/decoding system, characterized in that the exponent/vector converter outputs a vector as a vector.
JP6754784A 1984-04-06 1984-04-06 Sigma arithmetic circuit of reed solomon coding and decoding system Pending JPS60212034A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6754784A JPS60212034A (en) 1984-04-06 1984-04-06 Sigma arithmetic circuit of reed solomon coding and decoding system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6754784A JPS60212034A (en) 1984-04-06 1984-04-06 Sigma arithmetic circuit of reed solomon coding and decoding system

Publications (1)

Publication Number Publication Date
JPS60212034A true JPS60212034A (en) 1985-10-24

Family

ID=13348093

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6754784A Pending JPS60212034A (en) 1984-04-06 1984-04-06 Sigma arithmetic circuit of reed solomon coding and decoding system

Country Status (1)

Country Link
JP (1) JPS60212034A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63132532A (en) * 1986-11-25 1988-06-04 Ricoh Co Ltd Polynomial dividing circuit for extended galois field

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63132532A (en) * 1986-11-25 1988-06-04 Ricoh Co Ltd Polynomial dividing circuit for extended galois field

Similar Documents

Publication Publication Date Title
US5170399A (en) Reed-Solomon Euclid algorithm decoder having a process configurable Euclid stack
US5517509A (en) Decoder for decoding ECC using Euclid&#39;s algorithm
JP3288883B2 (en) Error correction encoding device, error correction decoding device, data transmission system with error correction code, and error correction code decoding method
US5440570A (en) Real-time binary BCH decoder
JPH0452556B2 (en)
JPS59123945A (en) Numerous byte error correction system
EP0249982B1 (en) Decoder
JPS59151246A (en) Encoder inspector
JP2001196938A (en) Device and method for decoding digital data
JP2694792B2 (en) Error position polynomial arithmetic circuit
JP2800723B2 (en) Error location detection circuit of Reed-Solomon decoder
JP3485075B2 (en) Decoding circuit and decoding method thereof
JPS60212034A (en) Sigma arithmetic circuit of reed solomon coding and decoding system
EP0595326B1 (en) Reed-Solomon decoding with Euclid algorithm
JPS63107319A (en) Polynomial division circuit on expanded galois field
JPS61216044A (en) Signal processor
JPH0750595A (en) Decoding device
JP2752510B2 (en) Error correction decoder
JP2000315955A (en) Encoding method, syndrome calculating method, number of erroneous bits estimating method, erroneous bit position estimating method, decoding method and decoder
KR100335482B1 (en) Error correcting system
KR950008485B1 (en) Unierror correction r-s decoder
JPH08139612A (en) Reed solomon error correction code decoding circuit
KR940007929B1 (en) Error correction system and method therefor
JPS62130026A (en) Error pattern arithmetic circuit of reed solomon coding decoding system
KR0167390B1 (en) Decoder