[go: up one dir, main page]

JPH03195217A - Eucledian algorithm circuit - Google Patents

Eucledian algorithm circuit

Info

Publication number
JPH03195217A
JPH03195217A JP33588489A JP33588489A JPH03195217A JP H03195217 A JPH03195217 A JP H03195217A JP 33588489 A JP33588489 A JP 33588489A JP 33588489 A JP33588489 A JP 33588489A JP H03195217 A JPH03195217 A JP H03195217A
Authority
JP
Japan
Prior art keywords
polynomial
error
quotient
circuit
coefficients
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
JP33588489A
Other languages
Japanese (ja)
Other versions
JP2797570B2 (en
Inventor
Masayuki Hattori
雅之 服部
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.)
Sony Corp
Original Assignee
Sony Corp
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 Sony Corp filed Critical Sony Corp
Priority to JP33588489A priority Critical patent/JP2797570B2/en
Priority to EP19900123470 priority patent/EP0431629A3/en
Priority to US07/623,235 priority patent/US5185711A/en
Priority to KR1019900020087A priority patent/KR910013754A/en
Publication of JPH03195217A publication Critical patent/JPH03195217A/en
Application granted granted Critical
Publication of JP2797570B2 publication Critical patent/JP2797570B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Error Detection And Correction (AREA)

Abstract

PURPOSE:To make the entire circuit scale small by using a division means obtaining quotients for plural Eucledian algorithm units in common for the plural Eucledian algorithm units connected in cascade and differentiating the timing of obtaining the quotients in the plural Eucledian algorithm units. CONSTITUTION:A quotient and a residue RiX when a polynomial including a 1st input polynomial Ri-1X as its factor is divided by a 2nd input polynomial Qi-1X are obtained and the entire quotient lambdaiX so far is obtained from the former quotient and a 3rd input polynomial lambdai-1X. Plural Eucledian algorithm units 41A-41Z with 1st, 2nd and 3rd output polynomials from the residue RiX, the 1st and 2nd input polynomials and the entire quotient are connected in cascade. A division means 42 obtaining the quotient for the plural Eucledian algorithm units is used in common. Then each of the Eucledian algorithm units uses sequentially the division means 42 to obtain the quotient. Thus, one division means 42 is enough for the purpose and then the entire circuit scale is made small.

Description

【発明の詳細な説明】 以下の順序で本発明を説明する。[Detailed description of the invention] The present invention will be explained in the following order.

A 産業上の利用分野 B 発明の概要 C従来の技術 C1誤り訂正符号のエンコーダの説明 C2誤り訂正符号のデコーダの全体構成の説明(第9図
) C3ユークリツドの互除法を用いた従来の誤り位置多項
式の導出回路の説明(第10図、第11図) C4従来の改善された誤り位置多項式の導出回路の説明
(第12図、第13図) D 発明が解決しようとする課題 E 課題を解決するための手段 F 作用 G 実施例 G、一実施例で使用する互除ユニットの説明(第14図
〜第18図) G2一実施例の誤り位置多項式の導出回路の説明(第1
図、第2図) G3互除ユニットのより具体的な構成の説明(第3図、
第4図) G4互除ユニットの他の例の説明(第5図、第6図) G1本発明の他の実施例の説明 図) I] 発明の効果 (第7図、 第8 A 産業上の利用分野 本発明は、例えば誤り訂正符号のデコーダに適用して好
適なユークリッドの互除回路に関する。
A. Field of industrial application B. Summary of the invention C. Prior art C1. Explanation of an encoder for an error correction code. C2. Explanation of the overall configuration of a decoder for an error correction code (Fig. 9). C3. Conventional error location using Euclid's mutual division method. Explanation of the polynomial derivation circuit (Figs. 10 and 11) C4 Explanation of the conventional improved error locator polynomial derivation circuit (Figs. 12 and 13) D Problem to be solved by the invention E Solving the problem Embodiment G, explanation of mutual division unit used in one embodiment (FIGS. 14 to 18) G2 Description of error locator polynomial derivation circuit of one embodiment (first embodiment)
(Fig. 2) Explanation of a more specific configuration of the G3 mutually exclusive unit (Fig. 3, Fig. 2)
Figure 4) Explanation of other examples of the G4 mutually exclusive unit (Figures 5 and 6) G1 Explanatory diagram of other embodiments of the present invention) I] Effects of the invention (Figures 7 and 8 A) Industrial effects FIELD OF THE INVENTION The present invention relates to a Euclidean mutual divider circuit suitable for application to, for example, an error correction code decoder.

B 発明の概要 本発明は、例えば誤り訂正符号のデコーダに適用して好
適なユークリッドの互除回路に関し、第1の人力多項式
を因子に含む多項式を第2の入力多項式で除したときの
商及び剰余を求めると共にその商及び第3の人力多項式
よりそれまでの全体の商を求め、その剰余、それら第1
の入力多項式又は第2の入力多項式及びその全体の商を
夫々第1の出力多項式、第2の出力多項式及び第3の出
力多項式となす互除ユニットを複数個継続接続し、それ
ら複数の互除ユニットにおいて夫々その商を求める除算
手段を共用し、それら複数の互除ユニットにおいて夫々
その商を求めるタイミングを異ならしめることにより、
比較的回路規模の大きな除算手段の数を1個にして全体
の回路規模を小型化できる様にしたものである。
B. Summary of the Invention The present invention relates to a Euclidean mutual divider circuit suitable for application to, for example, an error correction code decoder, and relates to a Euclidean algorithm that calculates the quotient and remainder when a polynomial including a first human polynomial as a factor is divided by a second input polynomial. At the same time, find the quotient of the whole up to that point from the quotient and the third human polynomial, and calculate the remainder, the first
A plurality of mutually dividing units are continuously connected, each of which makes the input polynomial or the second input polynomial and its total quotient a first output polynomial, a second output polynomial and a third output polynomial, and By sharing the division means for calculating the quotient and making the timing for calculating the quotient different for each of the plurality of mutual division units,
The number of dividing means, which is relatively large in circuit scale, is reduced to one, thereby making it possible to reduce the overall circuit scale.

C従来の技術 C1誤り訂正符号のエンコーダの説明 音声信号や映像信号等をデジタル信号の形式で記録再生
するデジタル処理技術が広く普及しつつある。このデジ
タル信号処理技術における重要な技術は誤り訂正符号の
符号化及び復号化の技術である。誤り訂正符号には広義
のBCH符号、Goppa符号等があり本発明はこれら
の誤り訂正符号にも適用できるものであるが、本明細書
においてはBCH符号の特別な場合であるReecl−
3olomon符号のみを扱う。
C. Prior Art C1. Description of Error Correction Code Encoder Digital processing technology for recording and reproducing audio signals, video signals, etc. in the form of digital signals is becoming widespread. An important technology in this digital signal processing technology is error correction code encoding and decoding technology. Error correction codes include BCH codes in a broad sense, Goppa codes, etc., and the present invention can also be applied to these error correction codes, but in this specification, Reecl-- which is a special case of BCH codes
Only 3olomon codes are handled.

Reed −Solomon符号では有限体CF(21
N)(mは1以上の整数)の元を各シンボルに対応させ
ている。また、その有限体CF (2″′)の既約生成
多項式をG(X)としてG(X)=Oの根をαとすると
、その有限体G F (211′)の各元即ち各シンボ
ルはαのべき乗で表現することができる。更に、このα
のべき乗αh (+は整数)はベクトル表現ではmビッ
トの2進数で表現することができ、デジタル信号処理に
おいてはこのベクトル表現が便利である。
In the Reed-Solomon code, the finite field CF (21
N) (m is an integer of 1 or more) is associated with each symbol. Also, if the irreducible generator polynomial of the finite field CF (2''') is G(X) and the root of G(X)=O is α, then each element of the finite field CF (211'), that is, each symbol can be expressed as a power of α.Furthermore, this α
The power αh (+ is an integer) can be expressed as an m-bit binary number in vector representation, and this vector representation is convenient in digital signal processing.

Reed−5olomon符号の符号化を行なうには先
ず上述のαを用いて次の様なパリティ・チエツク・マト
リックスHを定義する。
To encode the Reed-5 olomon code, first define the following parity check matrix H using the above α.

この場合、nは符号長、tは訂正可能なシンボルの数を
示し、原情報を(n−2t)個のシンボルU。〜u、、
□、−0、パリティ情報を2を個のシンボルp。−22
4,□Iで表現すると、送信符号語fは次の様にn個の
シンボルを要素とするベクトルで表現できる。尚、〔・
・・・〕1は転置行列を示す。
In this case, n is the code length, t is the number of symbols that can be corrected, and the original information is (n-2t) symbols U. ~u,,
□, -0, parity information of 2 symbols p. -22
4,□I, the transmission code word f can be expressed as a vector having n symbols as elements as follows. still,〔·
...] 1 indicates a transposed matrix.

f −(PoP+””Pzt−+uou+・・”tln
−zj−+) ’・・ ・・ (2八) そして、エンコーダは Hf = 0          ・・・・(3)が成
立する様にパリティ情報のシンボルp。〜pzt−+を
決定する。また、送信符号語fを多項式表現でf(X)
とすると、 f (X)=po + p+X ++・++ ++)z
t−+X2t+uoX2t−1−・・・・+un−zt
−+X”−’  ””(2B)となり、この式(2B)
の変数Xにα、α2.・・・・、α2tを順次代入する
ことにより式(3)は次の様に表現することができる。
f −(PoP+""Pzt-+uou+..."tln
-zzj-+) '... (28) Then, the encoder encodes the parity information symbol p so that Hf = 0...(3) holds true. Determine ~pzt-+. Also, the transmission code word f is expressed as a polynomial by f(X)
Then, f (X)=po + p+X ++・++ ++)z
t-+X2t+uoX2t-1-...+un-zt
-+X"-'""(2B), and this formula (2B)
α, α2. ..., α2t can be expressed as follows by sequentially substituting α2t.

f(α)−Of(α2) −〇 、・・・・、f(α2
t)=0・・・・(4) C2誤り訂正符号のデコーダの全体構成の説明(第9図
) 送信符号語fに対して伝送誤りをeとすると、受信符号
語rはベクトル表現では r=f十e            ・・・・(5A)
となり、この弐(5A)を多項式表現するとr (X)
= f (X)→−e (X)= rO+r+X’(−
・・−+r、l−+X″・・・・(5B) となる。Reed−3olomon符号では、符号長を
n、パリティ情報のシンボルの数を2もとすると、伝送
誤りeの中のO以外の誤りシンボルの数がL個以下の場
合に誤り訂正を行なうことができる。
f(α)−Of(α2) −〇 ,..., f(α2
t)=0...(4) Explanation of the overall configuration of the C2 error correction code decoder (Figure 9) If the transmission error is e for the transmitted code word f, then the received code word r is expressed as r in vector representation. =f1e...(5A)
Then, when this 2 (5A) is expressed as a polynomial, r (X)
= f (X)→-e (X)= rO+r+X'(-
...-+r, l-+X''...(5B) In the Reed-3 olomon code, assuming that the code length is n and the number of parity information symbols is 2, transmission errors other than O in the transmission error e Error correction can be performed when the number of error symbols is L or less.

第9図は誤り訂正符号のデコーダの全体構成を示し、こ
の第9図において、(1)はシンドローム発生回路であ
り、このシンドローム発生回路(1)は式(1)のパリ
ティ・チエツク・マトリックス■1と受信符号語rとを
乗算することによりシンドロームSを生成する。このシ
ンドロームSはヘクトル表現では S=  (S、   S 2 ・・ ・・ 52t) 
t          ・・ ・・ (6八)となり、
多項式表現では 5(X)=SI+S2X+S3χ2+ ” ” + S
 zt X 2t・・・・(6B) となる。そして、5=Hrを各要素を用いて表現すると
次の様になる。
FIG. 9 shows the overall configuration of an error correction code decoder. In this FIG. 9, (1) is a syndrome generation circuit, and this syndrome generation circuit (1) is a parity check matrix A syndrome S is generated by multiplying 1 by the received code word r. In hectorian representation, this syndrome S is S = (S, S 2 ... 52t)
t... (68),
In polynomial expression, 5(X)=SI+S2X+S3χ2+ ” ” + S
zt X 2t...(6B). When 5=Hr is expressed using each element, it becomes as follows.

Sj−Σ r、α”=r(α’)(j =L2+・・−
・2t)・・・・(7B) となるが、伝送誤りeの多項式表現をe(X)−eoX
+e、X2+−−−−+e、l−、X”−’ として、
式(4)のエンコーダにおける条件を用いると、式(7
B)は次の様に表現することができる。
Sj-Σ r, α”=r(α') (j = L2+...-
・2t)...(7B) However, the polynomial expression of the transmission error e is expressed as e(X)-eoX
+e, X2+−−−−+e, l−, X”−’,
Using the condition in the encoder of equation (4), equation (7
B) can be expressed as follows.

S J= e (α’) (j =L2. = =2t
)    = ・・(7C)第9図において、(2)は
誤り位置多項式の導出回路を示し、この誤り位置多項式
の導出回路(2)はそノシンドローム多項式5(X)(
実際にば5(X)の各係数)より誤り位置多項式σ(X
)の各係数及び誤り評価多項式ω(X)の各係数を計算
して、これら各係数を誤り位置の検出回路(3)及び誤
りパターンの算出回路(4)に供給する。
S J= e (α') (j = L2. = =2t
) = ... (7C) In Fig. 9, (2) shows the derivation circuit of the error locator polynomial, and this derivation circuit (2) of the error locator polynomial is derived from the syndrome polynomial 5(X) (
In fact, the error locator polynomial σ(X
) and each coefficient of the error evaluation polynomial ω(X) are calculated, and these coefficients are supplied to an error position detection circuit (3) and an error pattern calculation circuit (4).

この場合、受信符号語rの先頭からj番目の位置に誤り
が生じたときに(即ちe、〜0のときに)、αJを誤り
位置と呼ぶことにする。そして、伝送誤りeの非零の要
素の数をν個(ν≦t)として、これらν個の非零の要
素(誤りシンボル)の誤り位置をXl、誤りパターンを
Y、(i =L2.・・・・ν)とすると、ν個の誤り
シンボルは夫々(X、。
In this case, when an error occurs at the j-th position from the beginning of the received code word r (ie, when e is ~0), αJ is called the error position. Then, let the number of non-zero elements of the transmission error e be ν (ν≦t), the error position of these ν non-zero elements (error symbols) is Xl, the error pattern is Y, (i = L2. ...ν), then each of the ν error symbols is (X, .

Y、)によって表現されると共に、式(7C)を次の様
に表現することができる。
Y, ), and equation (7C) can be expressed as follows.

S、H=e(α’)−Σ YIXtj(j =L2.・
−,2t)式(7D)ば2を個の方程式を示し、未知数
は(XiY工)の2ν個(2ν≦2t)であるからこれ
ら未知数(X、、Y、)は一意的に求めることができる
。しかしながら、弐(7D)を充足する未知数(x8゜
y;)に =L2+・・・・、ν)を容易に求めるため
に、次の様に誤り位置多項式σ(X)及び誤り評価多項
式ω(X)を導入する。
S, H = e (α') - Σ YIXtj (j = L2.・
-, 2t) Equation (7D) shows the equation of can. However, in order to easily obtain =L2+...,ν) for the unknown quantity (x8°y;) that satisfies 2(7D), the error locator polynomial σ(X) and the error evaluation polynomial ω X) will be introduced.

σ(X)=TT (1−XX、) =1+σ1X+σ X2+・・・・+σ、Xν・・・・
(8) ω(X)= S (X)−ty (X)(modX2t
)・・・・(9) 式(8)よりσ(X+−’)=O(i=L2.・・・・
、ν)が成立するので、この誤り位置多項式σ(X)の
係数σ、が求められれば、α−’ (j =0.1.・
・・・nl)を順次σ(X)に代入してσ(α−’)−
〇となるときのα−″を全数サーチすることにより、誤
り位置xt (1=L2+・・・・、ν)を検出するこ
とができる。
σ(X)=TT (1-XX,) =1+σ1X+σ X2+...+σ, Xν...
(8) ω(X)=S(X)−ty(X)(modX2t
)...(9) From equation (8), σ(X+-')=O(i=L2.....
, ν) holds, so if the coefficient σ of this error locator polynomial σ(X) is found, α−' (j = 0.1.・
...nl) to σ(X) sequentially to obtain σ(α−')−
The error position xt (1=L2+ . . . , ν) can be detected by performing a complete search for α−″ when 〇.

一方、誤り位置X。に対する誤りパターンをYlとする
と、誤り評価多項式ω(X)を用いて誤りパターンY、
は次の様に算出できることが知られている。
On the other hand, error position X. Let Yl be the error pattern for the error pattern Y, using the error evaluation polynomial ω(X).
It is known that can be calculated as follows.

・・・・(10) 後述の如く、誤り位置多項式σ(X)及び誤り評価多項
式ω(X)はユークリッドの互除法によってシンドロー
ム多項式S (X)より導出することができる。そして
、第9図における誤り位置の検出回路(3)は誤り位置
多項式σ(X)より誤り位MX、を検出し、その誤り位
置の所でハイレベル“1”となるデジタル信号を生成し
てアントゲート群(5)の夫々の一方の入力端子に供給
する。また、誤りパターンの算出回路(4)が式(10
)を用いて算出した誤りパターンY、のベクトル表現で
あるmビットの2進数を夫々の誤り位置の所でアンドゲ
ート群(5)の夫々の他方の入力端子に供給すると、ア
ンドゲート群(5)からは伝送誤り多項式e (X)の
各係数のベクトル表現が時系列的に生成される。そして
、受信符号語の多項式r (X)の各係数を遅延回路(
7)にて所定時間だけ遅延させてなる係数のヘクトル表
現とその伝送誤り多項式e (X)の各係数のベクトル
表現とをmod 2の加算器群(6)で加算することに
より、誤りが訂正された送信符号語の多項式f(X)の
各係数のベクトル表現が求められる。こればmod 2
では加算と減算とは同一の演算であることを利用してい
る。
(10) As described later, the error locator polynomial σ(X) and the error evaluation polynomial ω(X) can be derived from the syndrome polynomial S (X) by Euclidean's algorithm. Then, the error position detection circuit (3) in FIG. 9 detects the error position MX from the error position polynomial σ(X), and generates a digital signal that becomes high level "1" at the error position. is supplied to one input terminal of each of the ant gate group (5). In addition, the error pattern calculation circuit (4) is calculated using the formula (10
) is applied to the other input terminal of the AND gate group (5) at each error position. ), a vector representation of each coefficient of the transmission error polynomial e (X) is generated in time series. Then, each coefficient of the polynomial r (X) of the received code word is transferred to a delay circuit (
Errors are corrected by adding the hector representation of the coefficients delayed by a predetermined time in step 7) and the vector representation of each coefficient of the transmission error polynomial e(X) using mod 2 adder group (6). A vector representation of each coefficient of the polynomial f(X) of the transmitted codeword is determined. Koreba mod 2
This uses the fact that addition and subtraction are the same operation.

C3ユークリツドの互除法を用いた従来の誤り位置多項
式の導出回路の説明(第10図、第11図) 2つの多項式r−+(X)、 r o(X)が与えられ
、deg(次数)ro≦degr−+であるとすれば、
ユークリッドの互除法では次の様な除算を繰返し実行す
る。
Explanation of the conventional derivation circuit for error locator polynomials using C3 Euclid's algorithm (Figures 10 and 11) Two polynomials r-+(X) and r o(X) are given, and deg (order) If ro≦degr−+,
In Euclidean's mutual division method, the following division is repeatedly executed.

r−+(X)−q 100−r o(Xl+r 1(X
i)、 deg r 1<deg r a・・・・(I
IA) ro (Xl=qz(XL ri(X)±r 2(X)
) 、 deg r z<deg r・・・・(IIB
) ri−zoo=q=(Xi rJ−+(Xl+rj(X
)、degr;<degr;−+・・・・(IIY) r J−+0O−q j++(Xi −r ;tJJ 
          −・−(11Z)そして、最後に
割り切れた非零のr;(X)がr(X)とro(X)と
の最大公約多項式(GreatestCommon D
evisor : GCD)になる。
r-+(X)-q 100-r o(Xl+r 1(X
i), deg r 1< deg r a...(I
IA) ro (Xl=qz(XL ri(X)±r 2(X)
), deg r z < deg r...(IIB
) ri-zoo=q=(Xi rJ-+(Xl+rj(X
), degr;<degr;-+...(IIY) r J-+0O-q j++(Xi-r;tJJ
-・-(11Z) Then, the finally divisible non-zero r; (X) is the greatest common polynomial (GreatestCommon D) of r(X) and ro(X)
evisor: GCD).

また、このユークリッドの互除法に基づいて次の定理が
導かれる。即ち、2つの多項式r−+(X)。
Furthermore, the following theorem can be derived based on Euclid's algorithm of mutual division. That is, two polynomials r-+(X).

ro(X)が与えられ、deB r 、≦deg r 
−、且つCCDがh (X)であるとすると、 U(X) ・r−+(X)+V(X) ・ro(X)=
h(X)・・・・(12) ? を充足するU(X)、  V(X)が存在し、degU
deg Vは共にdeg r −Iより小さい。U(X
)及びV[X)を求めるには U−+(χ)=0.     Uo(X)=i    
 ・・ ・・ (13八)V−、(X)=1.   V
、(X)=0   ・・−・(13B)と定義して、式
(IIA)〜(11Z)に現われる商q。
ro(X) is given, deB r ,≦deg r
−, and the CCD is h (X), then U(X) ・r−+(X)+V(X) ・ro(X)=
h(X)...(12)? There exist U(X) and V(X) that satisfy degU
Both deg V are smaller than deg r −I. U(X
) and V[X), use U−+(χ)=0. Uo(X)=i
... (138)V-, (X)=1. V
, (X)=0 (13B), and the quotient q appearing in formulas (IIA) to (11Z).

(i=1+2+・・・・、 j −1−1)を用いて次
の式よりUi(X)、V、(X)を計算する。
Using (i=1+2+..., j-1-1), Ui(X), V, and (X) are calculated from the following equations.

Ui(X)= qt(X)、Ut−+(X)+tJ+−
z(X)・・・・(14A)V、(X)−q +(X)
・VH−+(X)+V+−z(X)・・・・(14B)
この場合、(−1)’″’Vj(X)がU(X)となり
、(−1EUj(X)がV(X)となる。
Ui(X) = qt(X), Ut-+(X)+tJ+-
z(X)...(14A)V, (X)-q +(X)
・VH-+(X)+V+-z(X)...(14B)
In this case, (-1)''''Vj(X) becomes U(X), and (-1EUj(X) becomes V(X).

式(11へ)〜(IIZ)及び式(14八)、 (14
B)のユークリッドの互除法を適用すると、シンドロー
ム多項式5(X)(式(6B))より第11図に示すス
テップ(100)〜(105)のアルゴリズムによって
誤り位置多項式σ(X)、誤り評価多項式ω(X)が求
められることが知られている。
Formula (11) to (IIZ) and formula (148), (14
When Euclidean's algorithm in B) is applied, the error locator polynomial σ(X) and the error evaluation are obtained from the syndrome polynomial 5(X) (Equation (6B)) by the algorithm of steps (100) to (105) shown in FIG. It is known that a polynomial ω(X) can be obtained.

ステップ(100) 誤り訂正できるシンボルの数の上限をtとした場合、r
−+(X)及びro(χ)を夫々)(2を及びS (X
)として、U−1(X)及びU。(X)を夫々0及び1
に設定する。
Step (100) If the upper limit of the number of symbols that can be error corrected is t, then r
−+(X) and ro(χ) respectively)(2 and S(X
) as U-1(X) and U. (X) is 0 and 1 respectively
Set to .

ステップ(101) ステップ数iを1に設定する。Step (101) Set the step number i to 1.

ステップ(102) rt−z(X)をri−1(X)で除した商をqt(X
)として、式(IIY)でjをiに置換えた式及び式(
14A)よりr +(X)及びUi(X)を算出する。
Step (102) The quotient of rt-z(X) divided by ri-1(X) is qt(X
), the formula (IIY) with j replaced by i and the formula (
14A), calculate r + (X) and Ui (X).

即ち、 r +(X)−r t−z(X)  Q +(X) r
 ;−+(X)・・・・(15A) Ui(X)=Ut−z(X)+qH(X)Ut−+(X
)・・・・(15B) ステップ(103) ri(X)の次数が(t−1)次以下になったかどうか
を調べる。degr+(X)≦t−1のときにはステッ
プ(105)に移り、degr+(X)>tlのときに
はステップ(104)に移る。
That is, r + (X) - r tz (X) Q + (X) r
;-+(X)...(15A) Ui(X)=Ut-z(X)+qH(X)Ut-+(X
)...(15B) Step (103) Check whether the order of ri(X) has become the (t-1) order or less. When degr+(X)≦t-1, the process moves to step (105), and when degr+(X)>tl, the process moves to step (104).

ステップ(104) ステップ数1を1だけ増分してステップ(102)に戻
る。
Step (104) Increment step number 1 by 1 and return to step (102).

ステップ(105) Ui(X)のδ倍が誤り位置多項式σ(X)となり、r
t(X)の(−1)“δ倍が誤り評価多項式ω(X)と
なる。
Step (105) δ times Ui(X) becomes the error locator polynomial σ(X), and r
The error evaluation polynomial ω(X) is (-1) δ times t(X).

δばσ。(式(8)の0次の係数)を1とするための定
数であり、実際の計算ではσ(X i) = 0となる
X、のみが問題となるためδ−1とすることができる。
δbaσ. It is a constant to set (the 0th order coefficient of equation (8)) to 1, and in actual calculations, only X for which σ(X i) = 0 is a problem, so it can be set to δ-1. .

また、有限体CF (2″) u−では加算と減算とは
同一・であるため、(−1)’ も1とすることができ
る。
Furthermore, since addition and subtraction are the same in the finite field CF (2'') u-, (-1)' can also be set to 1.

第10図は第11図のアルゴリズムを実行するための仮
想的な回路(従来の誤り位置多項式の導出回路(2)の
具体的な構成)を示し、この第10図において、(8A
)〜(8Z)は夫々全体として同一構成の互除ユニット
、(9八)〜(9Z)は夫々第11図のステップ(10
2)におけるqi(X)及びrt(X)を計算する主計
算ユニット、(IOA)〜(10Z)は夫々U、(X)
を計算する副計算ユニットである。また、先頭の互5 除ユニット(8八)に関数r;(X)、U、(X)の初
期値r−+(X)−X”+  ro(X)−3(XLU
−+(X)、U。
FIG. 10 shows a virtual circuit (specific configuration of the conventional error locator polynomial derivation circuit (2)) for executing the algorithm shown in FIG.
) to (8Z) are mutually exclusive units having the same configuration as a whole, and (98) to (9Z) are respectively identical to step (10) in FIG.
The main calculation unit that calculates qi (X) and rt (X) in 2), (IOA) to (10Z) are U and (X), respectively.
It is a sub-computation unit that calculates . In addition, the initial values r−+(X)−X”+ro(X)−3(XLU
−+(X), U.

(X)を供給すると、これらの関数は互除ユニットを1
つ通過する毎に次第に(ro(X)、rt(X)、U。
(X), these functions reduce the mutually divisible unit to 1
(ro(X), rt(X), U).

(X)、 Ui(X))、 (r 、(X)、 r 2
(X)、 U、(X)、 U2(X))、・・・・と変
化して、後端の互除ユニット(8Z)からω(X)及び
σ(X)が出力される。
(X), Ui(X)), (r, (X), r2
(X), U, (X), U2(X)), etc., and ω(X) and σ(X) are output from the mutually dividing unit (8Z) at the rear end.

この様にユークリッドの互除法を用いると、同一構成の
互除ユニッ) (8A)〜(8Z)を縦続接続すること
によりシストリック構造(systolic−arra
yarchitecture)を採ることができる利益
かある。
In this way, when Euclid's algorithm is used, a systolic structure (systolic-array) can be created by cascade-connecting mutually dividing units (8A) to (8Z) with the same configuration.
There are benefits that can be taken by building a yard.

しかしながら、主計算ユニッ1−(9A)〜(9Z)に
おいて多項式r =−z(X)、 r +−+(X)間
の除算を如何にして実現するかが課題となる。
However, the problem is how to realize division between the polynomials r = -z (X) and r + - + (X) in the main calculation units 1-(9A) to (9Z).

C4従来の改善された誤り位置多項式の導出回路の説明
(第12図、第13図) 上述の多項式間の除算を分割してそれら多項式の係数間
の除算に帰着せしめたのがこの従来の改善されたユーク
リッドの互除法によるアルゴリズムであり、このアルゴ
リズムはTBEE Trans、 onCompute
rs、 Vol、C−34,No、5. May 19
85.pp、393403において提案されたものであ
る。この改善されたアルゴリズムは基本的には式(12
)の定理を発展させて、i番目の繰返し手順においてr
t(X)−X”十λ、(X)−5(X)=Rt(X)・
・・・(16) を充足する様な多項式Ri(X)、 r 1(X)、λ
、(X)を順に算出して行くものである。そして、剰余
Ri(X)の次数が1次未満になったときにアルゴリズ
ムを停止するものである。このアルゴリズムを第13図
のステップ(106)〜(114)に示す。
C4 Explanation of the conventional improved error locator polynomial derivation circuit (Figures 12 and 13) This conventional improvement divides the above-mentioned division between polynomials and reduces it to division between the coefficients of those polynomials. This algorithm is based on Euclidean algorithm, and this algorithm is TBEE Trans, onCompute
rs, Vol, C-34, No, 5. May 19
85. It was proposed in pp. 393403. This improved algorithm is basically based on equation (12
), and in the i-th iterative step r
t(X)-X''10λ, (X)-5(X)=Rt(X)・
...(16) Polynomials Ri(X), r 1(X), λ that satisfy
, (X) are calculated in order. The algorithm is then stopped when the order of the remainder Ri(X) becomes less than the first order. This algorithm is shown in steps (106) to (114) in FIG.

ステップ(106) 誤り訂正できるシンボルの数の−FT@をtとすと、初
期設定としてRo(X)、Qo(X)、λo(X)μo
(X)、 r o(X)及びη0(X)を夫々X2tS
 (X)、0,1.1及びOに設定する。
Step (106) If t is the number of symbols that can be error corrected, -FT@, then Ro(X), Qo(X), λo(X)μo as initial settings.
(X), r o(X) and η0(X) respectively as X2tS
(X), 0, 1.1 and O.

ステップ(107) ステップiを1に設定する。Step (107) Set step i to 1.

ステップ(108) Ri−+(X) の次数とQi−1(X) ノ次数との
差!、−1を求め、R+−+ (X)及びQi−1(X
)の最高次の係数を夫々a、−3及びす、−、とする。
Step (108) Difference between the order of Ri-+(X) and the order of Qi-1(X)! , -1, and calculate R+-+ (X) and Qi-1(X
) are respectively a, -3 and s, -.

ステップ(109) 次数の差尼、−8の正負によって、Ni−1≧0であれ
ばステップ(110)を経てステップ(112)に進み
、ffi+−+<Oであればステップ(111)を経て
ステップ(112)に進む。
Step (109) Depending on the order difference, the sign of -8, if Ni-1≧0, proceed to step (110) and proceed to step (112), and if ffi+-+<O, proceed to step (111). Proceed to step (112).

ステップ(110)(ノーマルモード)1 i−1≧O
即チRt−+ (X) ノ次数カQ+−+ (X)の次
数以上の場合の動作であり、以下の式によってR4(X
)、λrCX>、r t (X)を計算する。
Step (110) (normal mode) 1 i-1≧O
This is the operation when the order of Rt-+ (X) is higher than or equal to the order of Q+-+ (X), and R4(X
), λrCX>, r t (X).

Ri(X)−Ri−+(Xl+(a t−+/b+−+
)Qi−+CX1.X”−’(17/l) λI(X)−λ1−1(X)+ (a l−1/ b 
1−1)/I l−1(Xi、X”−’・・・・ (1
7B) r 、0O−r i−+(X)十(a +−1/ b 
+−+) 77 r−100−X”−’・・・・ (1
7B) また、Qi(X)=Qi−,(X)、μ、(X)−μ1
−1(XLη、(X)−ηi−,(X)とする。これば
除算R,−,(X)/Qi−1(X)を最高次の係数同
士の除算a i−1/b i−1で置換えたものである
Ri(X)-Ri-+(Xl+(a t-+/b+-+
)Qi-+CX1. X"-'(17/l) λI(X)-λ1-1(X)+ (a l-1/b
1-1)/I l-1(Xi, X"-'... (1
7B) r, 0O−r i−+(X) ten(a +−1/ b
+-+) 77 r-100-X"-'... (1
7B) Also, Qi(X)=Qi-, (X), μ, (X)-μ1
−1(XLη, (X)−ηi−, (X). Then, the division R,−, (X)/Qi−1(X) is the division between the highest order coefficients a i−1/b i -1.

ステップ(111)(クロスモード) n、−1<Q即ちRi−、(X)(7)次数力Q+−+
(X)の次数より小さい場合の動作であり、以下の式に
よってRi(X)、λ+(X)、r=(X)を計算する
Step (111) (cross mode) n, -1<Q i.e. Ri-, (X) (7) Order power Q+-+
This is an operation when the order is smaller than the order of (X), and Ri(X), λ+(X), and r=(X) are calculated using the following formula.

R+oO= Qi−+fXl+(b +−+7 a +
−+) Rr−+CO−X ’−’・・・・(18A) λtoo−μ、−1(3)+(b r−+7 a 1−
1)λ、−1閃・X−パ−“・・・・(]、8B) r t(X)= +71−+(Xl+ (b r−+/
 a ;−+) ’r +−+(XL X−”−’・・
・・(18C) また、Qi(X)=R4−+(X)、μt(X)−λ1
−1(X)77 +(X)= T +−+(X)とする
。これはR1−1(X)とQi−+(X)とを入替えた
ことに相当する。
R+oO=Qi-+fXl+(b+-+7 a+
-+) Rr-+CO-X '-'... (18A) λtoo-μ, -1(3)+(b r-+7 a 1-
1) λ, -1 flash x
a ;-+) 'r +-+(XL X-"-'...
...(18C) Also, Qi(X)=R4-+(X), μt(X)-λ1
−1(X)77 +(X)=T +−+(X). This corresponds to exchanging R1-1(X) and Qi-+(X).

ステップ(11,2) 式(16)における剰余R,(X)の次数がt次より小
さくなったかどうかを調べ、R,(χ)の次数がt次よ
り小さくなったときはステップ(114)に進みt次以
上であればステップ(113)へ進む。
Step (11, 2) Check whether the order of the remainder R, (X) in equation (16) has become smaller than the t order, and if the order of R, (χ) has become smaller than the t order, step (114) If it is the tth order or higher, the process advances to step (113).

9 ステップ(113) ステップ数1を1だけ増分してステップ(108)へ戻
る。
9 Step (113) Increment step number 1 by 1 and return to step (108).

ステップ(114) 最終処理としてλ8(X)及びRi(X)を夫々誤り位
置多項式σ(X)及び誤り評価多項式ω(X)となす。
Step (114) As a final process, λ8(X) and Ri(X) are made into error locator polynomial σ(X) and error evaluation polynomial ω(X), respectively.

この場合iは2tとなっている。In this case, i is 2t.

第12図は第13図のアルゴリズムを実行するための従
来の改善された誤り位置多項式の導出回路(2)の具体
的な構成を示し、この第12図において、(LIA)〜
(110)は夫々全体として同一構成の互除ユニットで
ある。例えば先頭の互除ユニット(11八)において、
 (12A)及び(13A)は1対のスイッチ回路、(
14A)及び(1511)は他の1対のスイッチ回路を
示し、これらスイッチ回路(12A)〜(15A)の入
力ポートに夫々R0(X)、 QO(X)、λ0(X)
及びμo(X)の係数を供給する。deg Ro(X)
  deg Q。
FIG. 12 shows a specific configuration of the conventional improved error locator polynomial derivation circuit (2) for executing the algorithm of FIG.
(110) are mutually exclusive units having the same structure as a whole. For example, in the first mutually exclusive unit (118),
(12A) and (13A) are a pair of switch circuits, (
14A) and (1511) indicate another pair of switch circuits, and the input ports of these switch circuits (12A) to (15A) are R0(X), QO(X), and λ0(X), respectively.
and the coefficients of μo(X). degRo(X)
deg Q.

<x>=i。が0又は正の場合にはスイッチ回路(L2
A)〜(15A)は夫々人力ボートに供給される係数を
そのまま出力ボート側へ伝える。一方、!。
<x>=i. is 0 or positive, the switch circuit (L2
A) to (15A) each transmit the coefficients supplied to the human-powered boat directly to the output boat side. on the other hand,! .

0 が負の場合には、スイッチ回路(12A)と(13A)
 とは交差する如く動作すると共に、スイッチ回路(1
4A)と(15A)とは交差する如く動作する。
If 0 is negative, switch circuits (12A) and (13A)
The switch circuit (1
4A) and (15A) operate as if they intersect.

スイッチ回路(12A)の出力ポートに現われる係数を
除算器(19A)の被除数入力ボート及び加算器(2O
A)の一方の入力ポートに供給し、スイッチ回路(13
A)の出力ポートに現われる係数を除算器(19A)の
除数人カポ−1−及び乗算器(23A)の一方の入力ポ
ートに供給し、除算器(19A)で最初に得られた商を
データ保持用のレジスタ(22A)を介して乗算器(2
3A)の他方の入力ポートに供給し、この乗算器(23
A)の出力を加算器(2OA)の他方の入力ポートに供
給する。また、スイッチ回路(14八)及び(15/l
)の出力ポートに現われる係数を夫々加算器(21Δ)
の一方の入力ボート及び乗算器(24A)の一方の入力
ポートに供給し、レジスタ(22A)に保持されている
係数を乗算器(24A)の他方の入力ポートに供給し、
この乗算器(24Δ)の出力を加算器(21A)の4.
b方の入力ポートに供給する。
The coefficient appearing at the output port of the switch circuit (12A) is connected to the dividend input port of the divider (19A) and the adder (2O
A) to one input port of the switch circuit (13
The coefficient appearing at the output port of A) is supplied to the divisor capo-1- of the divider (19A) and one input port of the multiplier (23A), and the quotient obtained first in the divider (19A) is inputted as data. The multiplier (2
3A) to the other input port of this multiplier (23
The output of A) is supplied to the other input port of the adder (2OA). In addition, the switch circuit (148) and (15/l
) are added to the coefficients appearing at the output ports of the respective adders (21Δ).
and one input port of the multiplier (24A), and supplying the coefficient held in the register (22A) to the other input port of the multiplier (24A);
The output of this multiplier (24Δ) is sent to the adder (21A) at 4.
Supplied to the b-side input port.

尚、本例の加算器、乗算器、除算器は全て有限体G F
 (2″)の元同士の演算を行なうものである。
Note that the adder, multiplier, and divider in this example are all finite field G F
It performs operations between the elements of (2″).

また、 (16A)〜(18A) は夫々D型フリップ
フロップより成る遅延レジスタを示し、入力される係数
の最高次の係数との同期を採るためのスタートフラグ信
号SFをレジスタ(16Δ)を介して次段の互除ユニッ
ト(IIB)に供給し、スイッチ回路(13A)及び(
15A)の出力ポートに現われる係数を夫々レジスタ(
17A)及び(18A)を介して多項式Ql(X)及び
μm(X)の係数として次段の互除ユニット(IIB)
に供給し、加算器(2〇八)及び(21八)の出カポ−
I・に現われる係数を多項式R,(X)及びス(X)の
係数として次段の互除ユニット(IIB)に供給する。
In addition, (16A) to (18A) each indicate a delay register consisting of a D-type flip-flop, and a start flag signal SF for synchronizing with the highest order coefficient of the input coefficients is transmitted through the register (16Δ). It is supplied to the next-stage mutual division unit (IIB), and the switch circuit (13A) and (
The coefficients appearing at the output ports of 15A) are stored in respective registers (
17A) and (18A) as coefficients of the polynomials Ql(X) and μm(X) to the next stage mutual division unit (IIB)
and the output capacitors of adders (208) and (218)
The coefficients appearing in I. are supplied to the next-stage mutual division unit (IIB) as coefficients of polynomials R, (X) and S(X).

他の互除ユニント(1][) 、 (IIC) 、・・
・・も入力される多項式R7−1(X)、Qi−、(X
)、λ1−1(X)。
Other mutually exclusive units (1] [) , (IIC) ,...
... are also input polynomials R7-1(X), Qi-, (X
), λ1-1(X).

μi−+(X)の係数よりスタートフラグ信号SFに同
期して多項式R+(XLQ;(X)、 λ+(XLμ1
(X)の係数を生成する如くなす。
From the coefficients of μi−+(X), the polynomial R+(XLQ;(X), λ+(XLμ1
The coefficients of (X) are generated.

第12図例の回路の具体的な応用例について説明するに
、既約生成多項式G(χ)がX’+X+1の有限体CF
 (2’)の各元によって各シンボルを表現する。即ち
、X’+X+1=0の根をαとすると、各シンボルはα
のべき乗で表現できる。また、符号長nを11、訂正可
能なシンボルの数t、を2とすると、原情報のシンボル
数は7個、パリティ情報のシンボル数は2を個(・−4
個)である。この場合、原情報のベクトルをmとして、
具体的にm = (α目cxlOo:9cx”a7rx
6a5) ’  −(19)とすると、式(3)よりパ
リティ情報のシンボルp。
To explain a specific application example of the circuit shown in FIG. 12, the irreducible generator polynomial G(χ) is a finite field CF of
Each symbol is expressed by each element of (2'). That is, if the root of X'+X+1=0 is α, then each symbol is α
It can be expressed as a power of Furthermore, if the code length n is 11 and the number of correctable symbols t is 2, then the number of original information symbols is 7, and the number of parity information symbols is 2 (・-4
). In this case, let the vector of original information be m,
Specifically, m = (αth cxlOo:9cx”a7rx
6a5) ' - (19), then the symbol p of parity information is obtained from equation (3).

〜p3は夫々0.α12.  α6.α′1となり、送
信符号語fは次の様になる。
~p3 are each 0. α12. α6. α′1, and the transmitted code word f is as follows.

f−〔0αI2α6αIIα11α10α9α8α7α
6αs)t・・・・(20) また、伝送誤りのベクトルeを e=(α3α9000000000)’  ・・・・(
21)とすると、受信符号語r(=f+e)には2個の
誤りシンボルが存在する。この場合、式(7Δ)に従っ
てパリティ・チエツク・マトリックスI]と受信符号語
rとを乗算することにより、シンドローム多項式5(X
)は次の如くなり、 5(X)−3,−1,−32X−1,、−33X2+−
34X”3 一α12+α5X+αI OX 2+α8 X 3・・
・・(22)第13図のステップ(106)における各
多項式の初期値は次の如くなる。
f-[0αI2α6αIIα11α10α9α8α7α
6αs)t...(20) Also, the vector e of transmission error is e=(α3α9000000000)'...(
21), there are two error symbols in the received codeword r(=f+e). In this case, the syndrome polynomial 5(X
) is as follows, 5(X)-3,-1,-32X-1,,-33X2+-
34X"3 -α12+α5X+αI OX 2+α8 X 3...
(22) The initial values of each polynomial in step (106) in FIG. 13 are as follows.

RO(X)=X’、  QQ(X)−3(X)λa(X
)=0.tt o(X)=1.60(X)=1,770
(X)−〇第12図に示す如く、RO(X)及びλ。(
X)の係数を高次(X4)の係数から順に互除ユニッ)
 (11A)に供給し、Q、(X)及びμ。(X)の係
数を高次(X3)の係数から順に互除ユニット(IIA
)に供給し、最高次の係数に同期させてスタートフラグ
信号SFをハイレベル“1′に立上げる。
RO(X)=X', QQ(X)-3(X)λa(X
)=0. tto(X)=1.60(X)=1,770
(X)-〇As shown in FIG. 12, RO(X) and λ. (
The coefficients of X) are divided in order from the coefficients of higher order (X4)
(11A), Q, (X) and μ. The coefficients of (X) are sequentially divided into a division unit (IIA)
) and raises the start flag signal SF to high level "1' in synchronization with the highest order coefficient.

(互除ユニット(IIA)における動作)この場合、f
io=deg Ro(X)  deg Qo(X)=4
−3−1≧0であるため、スイッチ回路(1211)〜
(15A)は夫々き供給されて来る係数をそのまま通過
させる。また、R,(X)及びQO(X)の最高次の係
数a。及びす。が夫々1及びα8であるため、レジスタ
(22Δ)にはa o/ b o= 1 /α8=α7
が設定され、R,(X)及びX + (χ)は夫々次の
様になる。
(Operation in mutually exclusive unit (IIA)) In this case, f
io=deg Ro(X) deg Qo(X)=4
Since -3-1≧0, the switch circuit (1211) ~
(15A) allows each supplied coefficient to pass through as is. Also, the highest order coefficient a of R, (X) and QO(X). And. are 1 and α8, respectively, so the register (22Δ) has a o/bo=1/α8=α7
is set, and R, (X) and X + (χ) are respectively as follows.

R,0O=X’+α7(αB X 3+α1°X2+α
5X十α12)・X4 一α2X″+α12X2+α4x λ、00=0+α7x=α7χ また、QI (X)−Qo(X)、II + (X) 
=1,7 I(X)−1、η1(χ)−〇である。尚、
式(17A)及び(17B)におけるXZO即ちXの乗
算は、本例では予めQ。
R,0O=X'+α7(αB X 3+α1°X2+α
(5
=1,7 I(X)-1, η1(χ)-〇. still,
In equations (17A) and (17B), XZO, that is, the multiplication of X, is Q in advance in this example.

(X)及びμ。(X)の係数を1桁高次側ヘシフトして
おくことにより実行していると共にレジスタ(17A)
及び(18A )を介することによってそれらQ。
(X) and μ. It is executed by shifting the coefficient of (X) by one digit to the higher order side, and register (17A)
and those Q by way of (18A).

(X)及びμ。(X)の係数を1桁低次側ヘシフトして
いる。
(X) and μ. The coefficient of (X) is shifted by one digit to the lower order side.

(互除ユニッ) (IIB)における動作)ff+=d
eg R+(X)  deg R+(X)=3 3=0
であるため、スイッチ回路(12B)〜(15r()は
夫々供給されて来る係数をそのまま通過させる。また、
R,(X)及びQ、(X)の最高次の係数a、及びbl
が夫々α2及びα8であるため、レジスタ(22B)に
はal/b+−α2/α8−α9が設定され、R2(X
)及びX2(X)は夫々次の様になる。
(Mutual division unit) (Operation in IIB)) ff+=d
eg R+(X) deg R+(X)=3 3=0
Therefore, the switch circuits (12B) to (15r() pass the supplied coefficients as they are. Also,
The highest order coefficients a and bl of R, (X) and Q, (X)
are α2 and α8, respectively, so al/b+-α2/α8-α9 is set in the register (22B), and R2(X
) and X2(X) are respectively as follows.

R2(X)−R+(X)+ (at/l)+)QI(X
)−α6X2]−α9X+α″ X2(X)−X1(X)→−(at/b+)μ+(X)
−α2x+α9 また、Qz(X)−QI(XLμz(X)=Lrz(X
)−1,η2(X)=Oである。
R2(X)-R+(X)+ (at/l)+)QI(X
)-α6X2]-α9X+α'' X2(X)-X1(X)→-(at/b+)μ+(X)
-α2x+α9 Also, Qz(X)-QI(XLμz(X)=Lrz(X
)−1, η2(X)=O.

(互除ユニット(11C)における動作)ffz=de
g R2(X)  deg Q2(X)=2−3=1く
0であるため、スイッチ回路(12G)と(13C)及
びスイッチ回路(14C) と(15C)は夫々入力さ
れる多項式の係数を交差させて出力ポート側へ伝送する
。従って、動作は実質的に第13図のステップ(111
)に移る。そして、R,(X)及びQZ(X)の最高次
の係数a2及びb2が夫々α6及びαBであるため、レ
ジスタ(22C)にはbz/az−α8/α6−α2が
設定されR3(X)及びX3(X)は夫々次の如くなる
(Operation in mutual division unit (11C)) ffz=de
g R2(X) deg Q2(X)=2-3=1×0, so the switch circuits (12G) and (13C) and the switch circuits (14C) and (15C) each calculate the coefficients of the input polynomial. Cross them and transmit to the output port side. Therefore, the operation is substantially the step (111) of FIG.
). Then, since the highest order coefficients a2 and b2 of R, (X) and QZ(X) are α6 and αB, respectively, bz/az-α8/α6-α2 is set in the register (22C) and R3(X ) and X3(X) are respectively as follows.

Ra(X)=Qz(X)+ (bz/az)R2(X)
・X=αl4xz+α4X+αI2 X3(X)−〇 z(x)−1−(b z/ a 2)
X2(X)、X−αQ X 2+α目X+1 また、CL+(X)= R2(X)= cr’X 2+
α9X + tx’。
Ra(X)=Qz(X)+(bz/az)R2(X)
・X=αl4xz+α4X+αI2 X3(X)-〇 z(x)-1-(b z/a 2)
X2(X), X-αQ X 2+αth X+1 Also, CL+(X)= R2(X)= cr'X 2+
α9X + tx'.

μ3(X)=/z(X)=α7X+α9.73(X)=
77z(X)十α2X−α2xlη、(X)−1である
μ3(X)=/z(X)=α7X+α9.73(X)=
77z(X) ten α2X−α2xlη, (X)−1.

(互除ユニッI−(LID)におりる動作)fl s=
deg R3(X)  deg Q3(X)= 2 2
 = 0であるため、スイッチ回路(120)〜(15
D)は夫々供給されて来る係数をそのまま通過させる。
(Operation to enter mutual division unit I-(LID)) fl s=
deg R3(X) deg Q3(X)= 2 2
= 0, the switch circuits (120) to (15
D) allows each supplied coefficient to pass through as is.

また、R3(X)及びQ3(X)の最高次の係数a、及
びb3は夫々α14及びα6であるため、レジスタ(2
2D)にはa 3/ b 3= α”/ tx6= c
x”が設定され、R4(X)及びλ4(X)は次の如く
なる。
Also, since the highest order coefficients a and b3 of R3(X) and Q3(X) are α14 and α6, respectively, register (2
2D) has a 3/ b 3= α”/ tx6= c
x'' is set, and R4(X) and λ4(X) are as follows.

R4(X)=R3(X)+ (a、/b3)Q3(X)
−αIOX+α5 λ4(X)=λ3(X)+(a3/b3)μ3(X)−
α9 X 2+α12X+α8 また、(L(X)=(lh(X)、μ4(X)=μ:+
(X) テある。この場合、deg R4(X)= 1
 < 2となったので、第13図のステップ(112)
によりアルゴリズムは停止して、誤り位置多項式σ(X
)及び誤り評価多項式ω(X)は夫々 σ(X)−λa(X)=α9X2+αI2X+αθ7 一α8(αX2+α’x+1) ω(X)−α”X十α5 である。本例ではG(α)−α4+α」−1= Oであ
ルタメ、σ(α0)−α8(α+α4+1)−〇、σ(
α−I)−α7(α]α’+4)−0が成立し、X、−
α0.X2−α1という2つの誤り位置が正確に検出で
きた(式(21)参照)。
R4(X)=R3(X)+ (a,/b3)Q3(X)
−αIOX+α5 λ4(X)=λ3(X)+(a3/b3)μ3(X)−
α9 X 2+α12X+α8 Also, (L(X)=(lh(X), μ4(X)=μ:+
(X) There is a chance. In this case, deg R4(X)=1
< 2, so step (112) in Figure 13
The algorithm stops and the error locator polynomial σ(X
) and the error evaluation polynomial ω(X) are σ(X) − λa(X) = α9X2 + αI2X + αθ7 - α8 (αX2 + α'x+1) ω(X) − α''X + α5. In this example, G(α) − α4+α”-1=O, σ(α0)-α8(α+α4+1)-〇, σ(
α-I)-α7(α]α'+4)-0 holds, and X, -
α0. Two error positions, X2-α1, could be detected accurately (see equation (21)).

上述の様に第13図のアルゴリズムによれば原則として
正確に誤り位置多項式を導出できるが、途中段階でR,
(X)の次数が1次ずつ減少するのではなく2次以上減
少する場合には、E t−、< Oであってもステップ
(110)のノーマルモードに進む如くなす。また、こ
のユークリッドの互除法によるアルゴリズムではR,(
X)の次数は原則として1回に1次ずつしか減らすこと
ができないので、誤りシンボルをt個訂正可能な符号で
は第12図における互ユニソ) (]、IA) 、 (
IIB) 、・・・・の数は2L個必要となる。
As mentioned above, according to the algorithm shown in FIG.
If the order of (X) does not decrease by one degree but decreases by two or more degrees, the process proceeds to the normal mode of step (110) even if E t-<O. In addition, in this algorithm based on Euclidean algorithm, R, (
In principle, the order of
IIB), 2L pieces are required.

D 発明が解決しようとする課題 8 Reed−5olomon符号を用いた場合、現状では
、デジタルVTRなどのリアルタイム性(クロック周波
数15MHz程度)が要求ささる用途においては、3シ
ンボル訂正が既に実現されており、一方、リアルタイム
性が要求されない光ディスク等の用途に対しては8シン
ボル訂正までが実現されている。
D Problem 8 to be solved by the invention When using the Reed-5olomon code, 3-symbol correction has already been realized in applications that require real-time performance (clock frequency of about 15 MHz), such as digital VTRs. On the other hand, for applications such as optical discs that do not require real-time performance, up to 8-symbol correction has been realized.

更に、最近は符号長nが150程度に対して、誤り訂正
可能なシンボル数もが16程度の多重誤り訂正符号のデ
コーダの開発が要求されている。
Furthermore, recently there has been a demand for the development of a decoder for multiple error correction codes in which the code length n is about 150 and the number of error-correctable symbols is about 16.

しかしながら、上述の従来の誤り位置多項式の導出回路
(第12図)では、訂正可能なシンボル数tを16とす
ると互除ユニッ1−(11八)、(IIB)、・・・・
を2を個即ち32個縦続接続しなげればならず、回路規
模がその訂正可能なシンボル数tに比例して大型化して
しまう不都合があった。
However, in the conventional error locator polynomial derivation circuit (FIG. 12) described above, if the number t of symbols that can be corrected is 16, the mutual division units 1-(118), (IIB), . . .
2, that is, 32 symbols, must be connected in cascade, resulting in an inconvenience that the circuit size increases in proportion to the number t of symbols that can be corrected.

本発明は斯かる点に鑑み、誤り訂正可能なシンボル数t
を大きくできると共に回路規模を小型化できるユークリ
ッドの互除回路を提案することを目的とする。
In view of this point, the present invention provides the number of error-correctable symbols t
The purpose of this study is to propose a Euclidean mutually dividing circuit that can increase the circuit size and reduce the circuit scale.

E 課題を解決するための手段 本発明によるユークリッドの互除回路は例えば第1図及
び第3図に示す如く、第1の入力多項式Rt−+ (X
)を因子に含む多項式を第2の入力多項式Q+−+(X
)で除したときの商及び剰余R4(X)を求めると共に
その商及び第3の入力多項式λ1−1(X)よりそれま
での全体の商λ、(X)を求め、その剰余Ri(X)、
それら第1の入力多項式Ri −1(X)又は第2の入
力多項式Qi−+(X)及びその全体の商λ8(X)を
夫々第1の出力多項式、第2の出力多項式及び第3の出
力多項式となす互除ユニッ) (41A)〜(41Z)
を複数個縦続接続し、それら複数の互除ユニットにおい
て夫々その商を求める除算手段(42)を共用し、それ
ら複数の互除ユニッ)  (41A)〜(41Z)にお
いて夫々その商を求めるタイミングを異ならしめるよう
にしたものである。
E. Means for Solving the Problems The Euclidean mutual division circuit according to the present invention has a first input polynomial Rt-+ (X
) as a factor as the second input polynomial Q+−+(X
), the quotient and remainder R4(X) are determined, and the entire quotient λ, (X) up to that point is determined from the quotient and the third input polynomial λ1-1(X), and the remainder Ri(X ),
The first input polynomial Ri −1(X) or the second input polynomial Qi−+(X) and their total quotient λ8(X) are converted into the first output polynomial, the second output polynomial, and the third output polynomial, respectively. Mutual division unit formed with the output polynomial) (41A) to (41Z)
A plurality of mutual division units (41A) to (41Z) are connected in cascade, and the division means (42) for calculating the quotient are shared among the plural mutual division units, and the timing for calculating the quotient is made different in each of the plural mutual division units (41A) to (41Z). This is how it was done.

F 作用 斯かる本発明によれば、それら複数の互除ユニット (
41A)〜(41Z)において夫々その商を求めるタイ
ミングが異なっているため、各互除ユニッI・(41A
)〜(41Z)は順次その除算手段(42)を使用して
その商を求めることができる。従って、除算手段(42
)が1個で済むため全体としての回路規模を小型化する
ことができる。
F Function According to the present invention, the plurality of mutually exclusive units (
41A) to (41Z), the timing for calculating the quotient is different, so each mutual division unit I・(41A
) to (41Z), their quotients can be obtained by sequentially using the dividing means (42). Therefore, the division means (42
), the overall circuit scale can be reduced.

尚、通常は先頭の互除ユニット(4稀)の出力が次第に
後端の互除ユニット(41Z)まで伝播して行くように
動作するため、それら互除ユニット(41Δ)〜(41
Z)において夫々その商を求めるタイミングが競合する
ことばない。但し、第7図例の如くループ構造にする場
合やデータを連続的に処理する場合には、その商を求め
るタイミングを意図的に異ならしめる必要が生ずる場合
がある。
Normally, the output of the first mutual division unit (4 rare) gradually propagates to the last mutual division unit (41Z), so these mutual division units (41Δ) to (41
There is no conflict in the timing of finding the quotient in Z). However, when a loop structure is used as in the example shown in FIG. 7, or when data is processed continuously, it may be necessary to intentionally vary the timing at which the quotient is calculated.

G 実施例 G、一実施例で使用する互除ユニットの説明(第14図
〜第18図) 第12図に示した従来の改善された誤り位置多項式の導
出回路に使用されている互除ユニッ1−(IIA)〜(
IID)には次の様な2つの不都合がある。
G Example G, Description of mutual division unit used in one embodiment (FIGS. 14 to 18) The mutual division unit 1- used in the conventional improved error locator polynomial derivation circuit shown in FIG. (IIA)~(
IID) has the following two disadvantages.

1 ■ deg Rt−+(X)<deg Qt−+(X)
が成立して入力係数を交差させた場合にそのRt、(X
)の最高次数の係数が0になると、除算器(19A)〜
(190)における除算ができないために計算エラーが
発生ずる。これは、第12図例の互除ユニット(11A
)〜(LID)は次数を常に1次ずつしか低下すること
ができないことに起因している。
1 ■ deg Rt-+(X)<deg Qt-+(X)
holds true and the input coefficients intersect, then its Rt, (X
) becomes 0, the divider (19A) ~
A calculation error occurs because the division in (190) cannot be performed. This is the mutually exclusive unit (11A) in the example in Figure 12.
) to (LID) are caused by the fact that the order can always be lowered by only one order.

■ Q、−1(X)の初期値Q。(X)であるシンドロ
ーム多項式S (X)の最高次数の係数が0であるとき
にも、除算器(19A)における除算ができずに計算エ
ラーが発生する。
■ Initial value Q of Q, -1(X). Even when the coefficient of the highest degree of the syndrome polynomial S (X), which is (X), is 0, the division in the divider (19A) cannot be performed and a calculation error occurs.

この一実施例では第12図例の互除ユニッ) (IIA
)〜(LID)の有する不都合を解消した互除ユニット
を使用しているので、先ずこの一実施例で使用する互ユ
ニットについて説明する。
In this embodiment, the mutually exclusive unit shown in FIG. 12) (IIA
) to (LID) are used, so the mutual unit used in this embodiment will first be explained.

第14図は本例の互除ユニッ) (25)の構成を示し
、この第14図において、(26)〜(28)は夫々遅
延レジスタであり、これら遅延レジスタ(26) 、 
(27) 、 (28)に夫々スタートフラグ信号SF
、多項式Qi−1(X)の係数、μi−,(X)の係数
を供給する。レジスタ2 (26)の出力信号は後続の回路へのスタートフラグ信
号SFOとする。(29)〜(31)は夫々供給されて
来る係数を平行に又は交差して伝送するスイッチ回路を
示し、スイッチ回路(29)の2つの入力ポートに夫々
多項式の次数を示ず変数dRi−,及びdQt−+を供
給し、スイッチ回路(29)の一方の出力ボートに現わ
れる変数に加算器(32)にて−1を加算して変数dR
8を生成し、この変数dR,及びスイッチ回路(29)
の他方の出力ポートに現われる変数dQiを後続の回路
に供給する。
FIG. 14 shows the configuration of the mutual division unit (25) of this example, and in this FIG. 14, (26) to (28) are delay registers, respectively, and these delay registers (26),
Start flag signal SF is applied to (27) and (28), respectively.
, the coefficients of the polynomial Qi-1(X), and the coefficients of μi-,(X). The output signal of register 2 (26) is used as a start flag signal SFO to the subsequent circuit. (29) to (31) respectively show switch circuits that transmit the supplied coefficients in parallel or in a crosswise manner, and variables dRi-, dRi-, and dRi-, which do not indicate the degree of the polynomial, are input to the two input ports of the switch circuit (29), respectively. and dQt-+, and an adder (32) adds -1 to the variable appearing on one output port of the switch circuit (29) to create a variable dR.
8, this variable dR, and the switch circuit (29)
The variable dQi appearing at the other output port of is supplied to the subsequent circuit.

また、スイッチ回路(30)の一方及び他方の入力ポー
トに夫々多項式R1−1(X)の係数及びレジスタ(2
7)から出力される係数を供給し、スイッチ回路(30
)の一方の出力ポートに現われる係数を除算器(33)
の被除数人力ポート及び加算器(34)の一方の入力ポ
ートに供給し、スイッチ回路(30)の他方の人力ボー
トに現われる係数を除算器(33)の除数入力ポート及
び除算器(37)の一方の入力ポートに供給する。また
、スイッチ回路(31)の一方及び他方の入力ポートに
夫々多項式λi−,(X)の係数及びレジスタ(28)
から出力される係数を供給し、スイッチ回路(31)の
一方及び他方の出力ポートに現われる係数を夫々加算器
(35)の一方の入力ポート及び乗算器(38)の一方
の入力ポートに供給し、除算器(33)から出力される
商をレジスタ(36)に保持し、この保持した商を乗算
器(37)及び(38)の夫々の他方の入力ポートに供
給し、乗算器(37)及び(38)の出力データを夫々
加算器(34)及び(35)の他方の入力ポートに供給
する如くなす。加算器(34)の出力ポート、スイッチ
回路(30)の他方の出力ポート、加算器(35)の出
力ポート及びスイッチ回路(31)の他方の出力ポート
より夫々多項式Ri(X)。
Further, the coefficients of the polynomial R1-1(X) and the register (2
7) and supplies the coefficients output from the switch circuit (30
) divider (33) by the coefficient appearing at one output port of
is supplied to the dividend input port of the divider (33) and one input port of the adder (34), and the coefficient appearing in the other input port of the switch circuit (30) is supplied to the divisor input port of the divider (33) and one input port of the divider (37). input port. Further, coefficients of polynomials λi-, (X) and registers (28) are provided at one and the other input ports of the switch circuit (31), respectively.
and supplies the coefficients appearing at one and the other output ports of the switch circuit (31) to one input port of the adder (35) and one input port of the multiplier (38), respectively. , the quotient output from the divider (33) is held in a register (36), and the held quotient is supplied to the other input port of each of the multipliers (37) and (38). and (38) are supplied to the other input ports of adders (34) and (35), respectively. Polynomial Ri(X) from the output port of the adder (34), the other output port of the switch circuit (30), the output port of the adder (35), and the other output port of the switch circuit (31).

Qi(X)、λ、(X)及びμ8(X)の係数が後続の
回路に供給される。
The coefficients of Qi(X), λ, (X) and μ8(X) are supplied to subsequent circuits.

第14図例の互除ユニッ) (25)と同一構成の2を
個の互除ユニッ) (25A)〜(25Z)を縦続接続
した例を第15図に示す。この第15図において、初段
の互除ユニッ) (25A)には各変数及び多項式の初
期値(シンドローム多項式5(X)、X2を等を含む。
FIG. 15 shows an example in which two mutually exclusive units (25A) to (25Z) having the same configuration as (25) in the example shown in FIG. 14 are connected in cascade. In FIG. 15, the first stage mutual division unit (25A) includes initial values of each variable and polynomial (syndrome polynomial 5(X), X2, etc.).

)を供給し、終段の互除ユニット(25Z)からは誤り
位置多項式σ(X)(=λ2t(X))及び誤り評価多
項式ω(X)(= R2t(X))を取り出す如くなす
), and the error locator polynomial σ(X) (=λ2t(X)) and the error evaluation polynomial ω(X) (=R2t(X)) are taken out from the mutual division unit (25Z) at the final stage.

第16図のステップ(115)〜(125)を参照して
第14図例の互除ユニットに適用される改善されたユー
クリッドの互除法によるアルゴリズムにつき説明するに
、誤り訂正できるシンボル数の上限をもとする。また、
このアルゴリズムも基本的には1番目の繰返し手順にお
いて式(16)を充足する様な多項式Rt(X)、r 
1(X)、λ8(X)を順に算出して行くものであるが
、r+(X)についての処理は省略する。
Referring to steps (115) to (125) in FIG. 16, the algorithm based on the improved Euclidean algorithm applied to the example algorithm in FIG. 14 will be described. shall be. Also,
This algorithm also basically uses polynomials Rt(X), r that satisfy equation (16) in the first iteration step.
1(X) and λ8(X) are calculated in order, but the processing for r+(X) is omitted.

ステップ(115) 初期設定としてR6(X)、 Qo(x)、λo(X)
、μ。
Step (115) R6(X), Qo(x), λo(X) as initial settings
, μ.

(X)、dR,及びdQoに夫々シンドローム多項式5
(X)、X2t、 1.0. 2 t−1及び2tを設
定する。第13図のアルゴリズムと比較してR6(X)
及びQ。(X)の初期値が交換され、λ。(X)及びμ
。(X)の初期値も交換ささている。これによればQi
(X)の初期値Q。(X)であるXztの最高次数の係
数が1となり除数がOの除算を回避する5 ことができるため、上述の従来の互除ユニッI・(II
A)〜(LID)の不都合■を解消することができる。
(X), dR, and dQo are each given by the syndrome polynomial 5.
(X), X2t, 1.0. 2 Set t-1 and 2t. R6(X) compared to the algorithm in Figure 13
and Q. The initial values of (X) are exchanged and λ. (X) and μ
. The initial value of (X) is also exchanged. According to this, Qi
Initial value Q of (X). The coefficient of the highest degree of Xzt, which is
A) Inconveniences (2) to (LID) can be resolved.

ステップ(116) ステップ数iを1に設定する。Step (116) Set the step number i to 1.

ステップ(117) dR8−、とdQi−+ との差で、−5を求め、R1
−1(X)ノdRt−+次の係数及びQ、−、(X)ノ
d Q。
Step (117) -5 is calculated from the difference between dR8- and dQi-+, and R1
−1 (X) no dRt−+ the coefficient of order and Q, −, (X) no d Q.

次の係数を夫々a、−1及びす、−1とする。この場合
、R,(X)であるシンドローム多項式S (X)の最
高次の係数は0にもなり得るため、係数a8の値がOに
なることもある。
Let the following coefficients be a, -1 and s, -1, respectively. In this case, the highest order coefficient of the syndrome polynomial S (X), which is R, (X), can be 0, so the value of the coefficient a8 can also be 0.

ステップ(118) 次数の差n1−1の正負によって、R8,、l≧0であ
ればステップ(119)を経てステップ(123)に進
み、l i−+ < Oであればステップ(120)に
進む。
Step (118) Depending on the sign of the order difference n1-1, if R8,, l≧0, proceed to step (119) and step (123); if l i-+ < O, proceed to step (120). move on.

ステップ(119)(ノーマルモード)!、−1≧0即
ちdR,、がdQi−、以上の場合の動作であり、以下
の式によってR,(X)、λ、(X)を計算する。
Step (119) (Normal mode)! , -1≧0, that is, dR, is greater than or equal to dQi-, and R, (X), λ, and (X) are calculated using the following equations.

R,(X)=R,−+(X)+(a +−+/ II−
+LX−Q+−+(X)・・ ・・ (23八) λ8(X)−λt−+(X)+(a i−1/bi−1
)−X・μ1−1(X)・・・・(23B) また、Qi(X)=Q+−+(X)、μ、(X)−μ、
−,(X)。
R, (X)=R, −+(X)+(a +−+/ II−
+LX-Q+-+(X)... (238) λ8(X)-λt-+(X)+(a i-1/bi-1
)-X・μ1-1(X)...(23B) Also, Qi(X)=Q+-+(X), μ, (X)-μ,
-, (X).

dRH=dR+−+  L、dQ+=dQ+−+とする
。これは除算R1−+(X)/Q;−+(X)を仮想的
な最高次の係数同士の除算a +−1/ b i−1で
置換えたものである。式(23八)、 (23B)にて
(a r−+/ b t−+)にXを乗じているのは、
本例ではe =−+ = d Rr−+  d Qi−
+は通常±1となる様に制御されているからである。
Let dRH=dR+-+ L and dQ+=dQ+-+. This is the result of replacing the division R1-+(X)/Q;-+(X) with the division a +-1/b i-1 between the virtual highest-order coefficients. In formulas (238) and (23B), (a r-+/b t-+) is multiplied by X,
In this example, e =-+ = d Rr-+ d Qi-
This is because + is normally controlled to be ±1.

ステップ(120) Ri−、(X)のdR,−、次の係数でるあa、−4が
0であればステップ(121)からステップ(123)
へ進み、a、−1がOでないときにはステップ(122
)からステップ(123)へ進む。
Step (120) If Ri-, dR,- of (X), next coefficient is 0, step (121) to step (123)
If a, -1 is not O, step (122
) to step (123).

ステップ(122) (、クロスモード)Ri−+ (
X)の係数よりもQ、−、(X)の次数の方が大きく且
つ係数a、−4がOでない場合の動作であり、ノーマル
モードの場合に対してRt−1(X)とQi−+(X)
とを交換することにより、次式を用いてRi(X)及び
λ、(X)を算出する。
Step (122) (, cross mode) Ri-+ (
This is the operation when the order of Q, -, (X) is larger than the coefficient of X) and the coefficients a, -4 are not O. Rt-1(X) and Qi- +(X)
By exchanging , Ri(X) and λ,(X) are calculated using the following equation.

R4(X)=Qi−1(X)+(bi−1/a 1−1
)−X、R4−1(X)・・・・(24A) λ1(X)−u r−+ (X) + (b +−+/
 ai−+) ・X ・λ1−1(X)・・・・(24
B) また、Qi(X)−Ri−、(X)、μ、(X)−λi
、、I(X)d R(−d Qi−+  L d Qt
= d Rr−+ として、ステップ(123)へ進む
R4(X)=Qi-1(X)+(bi-1/a 1-1
)-X, R4-1(X)...(24A) λ1(X)-u r-+ (X) + (b +-+/
ai−+) ・X ・λ1−1(X)・・・(24
B) Also, Qi(X)-Ri-, (X), μ, (X)-λi
,,I(X)d R(-d Qi-+ L d Qt
= d Rr-+ and proceed to step (123).

ステップ(121)(シフトモード) R,(X)のdR,−、次(最高次)の係数at−1が
Oであり、このRi−1(X)の実際の次数が(d R
,−、−1)以下の場合の動作である。この場合にはR
i−、(X)による除算が可能になる様に、R+−+ 
(X)にXを乗じてRi−、(X)を上位次数側にシフ
トする。即ち、次の式が成立する。
Step (121) (shift mode) dR,- of R, (X), the next (highest order) coefficient at-1 is O, and the actual order of this Ri-1(X) is (dR
, -, -1) This is the operation in the following cases. In this case R
R+-+ so that division by i-, (X) is possible
(X) is multiplied by X, Ri-, and (X) is shifted to the higher order side. That is, the following equation holds true.

Ri(X)=X −Ri−、(X)      ・・・
・(25A)λ1(X)−X・λi−,(X)    
  −・・(25A)また、Qt(X)−Qi−+(X
)、μ、(X)−μ+−1(X)。
Ri(X)=X −Ri−, (X)...
・(25A)λ1(X)−X・λi−,(X)
-...(25A) Also, Qt(X)-Qi-+(X
), μ, (X)−μ+−1(X).

d R,= d R,、□、−L d Ri= d Q
i−1として、スチップ(123)へ進む。この場合、
dR,は1だけ減少しているので、Ri(X)の最高次
(dR4次)の係数がO以外の数になった時点でdR,
はdeg(R4(X))と一致することになり、このと
きに始めてステップ(122)においてクロスモードの
処理が行なわれる。これによって、第12図例の互除ユ
ニッl−(IIA)〜(LID)における不都合■が解
消される。
d R,= d R,, □, -L d Ri= d Q
As i-1, proceed to tip (123). in this case,
Since dR, decreases by 1, when the highest order (dR4th order) coefficient of Ri(X) becomes a number other than O, dR,
will match deg(R4(X)), and only then will cross mode processing be performed in step (122). As a result, the disadvantage (2) in mutually exclusive units l-(IIA) to (LID) in the example of FIG. 12 is resolved.

ステップ(123) ステップ数iが2tに達したか否かを調べ、21、に達
していないときにはステップ(124)へ進み、2tに
達したときには最終処理であるステップ(125)へ進
む。
Step (123) Check whether the step number i has reached 2t, and if it has not reached 21, proceed to step (124), and if it has reached 2t, proceed to step (125), which is the final process.

従って、誤りシンボルの数がν個(νくt)しかない場
合であっても誤り位置多項式の導出回路全体としては常
に第16図のステップ(117)〜(123)の動作が
2を回だけ繰返されることになる。但し、1個の互除ユ
ニットはステップ(117)〜(123)を夫々1回だ
け実行するものである。この場合、ステップ(117)
〜(123)の動作を2を回繰返した後9 に得られた解においては、dR2tが誤り訂正多項式σ
(X)の次数νから1を引いた数を表わしている。一方
、ステップ(121)のシフトモードの動作によって多
項式R2t(X)は上位次数側へ(L−1ν)次だけシ
フトされているため、σ(X)及びω(X)を得るため
にはλ2.(X)及びRzt(X)を夫々後述のシフト
多項式P (X)を用いて下位次数側ヘシフトする必要
がある。
Therefore, even if the number of error symbols is only ν (ν x t), the entire error locator polynomial derivation circuit always performs steps (117) to (123) in FIG. 16 only 2 times. It will be repeated. However, one mutual division unit executes each of steps (117) to (123) only once. In this case, step (117)
In the solution obtained in 9 after repeating the operation of ~(123) 2 times, dR2t is the error correction polynomial σ
It represents the number obtained by subtracting 1 from the order ν of (X). On the other hand, due to the shift mode operation in step (121), the polynomial R2t(X) is shifted to the higher order side by (L-1ν), so in order to obtain σ(X) and ω(X), .. It is necessary to shift (X) and Rzt(X) to the lower order side using shift polynomials P (X), which will be described later.

ステップ(124) ステップ数iを1だけ増分してステップ(117)へ戻
る。
Step (124) Increment the step number i by 1 and return to step (117).

ステップ(125) 最終処理として誤りシンボルの数ν、シフト多項式P 
(X)を次式より算出する。
Step (125) As final processing, the number of error symbols ν, the shift polynomial P
(X) is calculated from the following formula.

シーd Rzt + 1 P(x)−Xt その後、このシフト多項式P (X)を用いて次式より
誤り位置多項式σ(X)及び誤り評価多項式ω(X)を
計算する。
Seed d Rzt + 1 P(x)-Xt Then, using this shift polynomial P (X), an error locator polynomial σ(X) and an error evaluation polynomial ω(X) are calculated from the following equations.

σ(X)=λZt(X)/P (X)     ・・・
・(26)0 ω(X)=R2t(X)/P(X)      ・・・
・(27)第14図例の互除ユニッ) (25)の具体
的な応用例について説明するに、第17図に示す如く、
その互除ユニッI−(25)と同一構成の4個の互除ユ
ニット(25A)〜(25D)を縦続接続して誤り位置
多項式の導出回路を構成する。また、有限体CF (2
’)の各元によって各シンボルを表現すると共に、第1
2図例と同様に符号長nを11、訂正可能なシンボルの
数りを2に設定して、送信符号語f及び伝送誤りベクト
ルeを夫々式(20)及び(21)によって表現する。
σ(X)=λZt(X)/P(X)...
・(26)0 ω(X)=R2t(X)/P(X)...
・(27) Mutual division unit in the example in Figure 14) To explain a specific application example of (25), as shown in Figure 17,
Four mutual division units (25A) to (25D) having the same configuration as the mutual division unit I-(25) are connected in cascade to constitute an error locator polynomial derivation circuit. Also, finite field CF (2
'), and represent each symbol by each element of
Similarly to the example in FIG. 2, the code length n is set to 11, the number of correctable symbols is set to 2, and the transmission code word f and transmission error vector e are expressed by equations (20) and (21), respectively.

この場合、シンドローム多項式S (X)は式(22)
によって表現され、第16図のステップ(11,5)に
おける各変数及び各多項式の初期値は次の如くなる。
In this case, the syndrome polynomial S (X) is expressed as Equation (22)
The initial values of each variable and each polynomial in steps (11, 5) in FIG. 16 are as follows.

RO(X)=S(X)、  QO(X)=X’λo(X
)−1,II o(X)−〇、 d Ro=3. d 
Qo= 4そして、第17図に示ず如く、R,(X)〜
μ。(X)の係数を夫々高次の係数から順に互除ユニッ
ト(25Δ)に供給し、dR,及びdQoの値をその互
除ユニッ) (25A)に供給し、最高次の係数に同期
させてスタートフラグ信号SFをハイレヘル“1′に立
上げる。
RO(X)=S(X), QO(X)=X'λo(X
)-1, II o(X)-〇, d Ro=3. d
Qo=4, and as shown in FIG. 17, R, (X) ~
μ. The coefficients of (X) are supplied to the mutual division unit (25Δ) in order from the highest order coefficient, the values of dR and dQo are supplied to the mutual division unit (25A), and the start flag is set in synchronization with the highest order coefficient. The signal SF is raised to high level "1'."

互除ユニット(25A)においては、次数の差1゜−d
 Ro  d Q o = 3 4−1 < Oである
と共に、a、=α8.b、=1であるため、動作は第1
6図のステップ(122) (クロスモード)に移行し
、スイッチ回路(29A)〜(31Δ)は夫々供給され
て来る変数又は係数を交差させて伝送する。また、レジ
スタ(36八)にはb 。/ a 。= 1 / tx
8−rx7が設定され、R,(X)及びλ、(X)は夫
々次の如くなる。
In the mutual division unit (25A), the difference in order is 1°-d
Rod Q o = 3 4-1 < O and a, = α8. Since b, = 1, the operation is the first
The process moves to step (122) (cross mode) in FIG. 6, and the switch circuits (29A) to (31Δ) respectively cross and transmit the supplied variables or coefficients. Also, b is in the register (368). /a. = 1 / tx
8-rx7 is set, and R, (X) and λ, (X) are respectively as follows.

R,(Xl−X’十α7.X・(α8X″+αI OX
 2+α5X+α12)=α2 X 3+α12X2+
α4X λ+(Xl−0+α’・X=α7X また、Q、(X)−R6(X)−3(X)、μl(χ)
−λ。
R, (Xl-X'ten α7.X・(α8X″+αI OX
2+α5X+α12)=α2X 3+α12X2+
α4X λ+(Xl-0+α'・X=α7X Also, Q, (X)-R6(X)-3(X), μl(χ)
−λ.

(X)= 1となるが、これらの結果は次数がシフトさ
れている点を除くと第12図例の互除ユニット(11^
)における処理結果と同じである。
(X) = 1, but these results are similar to the mutually dividing unit (11^
) is the same as the processing result.

同様に第17図例の互除ユニッ)  (25B)〜(2
5D)における処理結果は夫々第12図の互除ユニット
(IIB)〜(110)における処理結果と等しくなる
ため、最終的に正確な誤り位置多項式σ(X)(−λ4
(X))および誤り評価多項式ω(X)(= R4(X
))が得られる。尚、第17図例では訂正可能なシンボ
ルの数を及び実際の誤っているシンボルの数νが共に2
であるため、第61図のステップ(125)におりるシ
フト多項式P(X)は1になっている。
Similarly, the mutually exclusive units in the example in Figure 17) (25B) to (2
5D) are respectively equal to the processing results in mutual division units (IIB) to (110) in FIG.
(X)) and error evaluation polynomial ω(X) (= R4(X
)) is obtained. In the example of FIG. 17, both the number of correctable symbols and the actual number of erroneous symbols ν are 2.
Therefore, the shift polynomial P(X) at step (125) in FIG. 61 is 1.

次に、符号長nが150で誤り訂正可能なシンボルの数
もが16の場合について考察するに、この場合は第16
図のステップ(117)〜(123)の動作を32回(
2を回)繰り返す必要がある。従って、従来例と同様に
単に互除ユニットを縦続接続するのでは、第14図例の
互除ユニッ) (25)が32個必要になる。また、受
信符号語はクロックパルスCKに同期して1シンボルず
つ伝送されて来るものとして、クロックパルスCTの1
周期をITcとすると、第18図Aに示す如く、夫々の
符号長が150の受信符号語1.  Il、  I、 
 ・・・・が周期150Tcで伝送されて来る。また、
t−16の場合にはシンドローム多項式5(X)の最高
次数は31 (−2t−1)次であり、多項式X2tの
係数の数33 (= 2 t +1)個である。従って
、従来例の如く第14図例の互除ユニッ) (25)を
単純に32個緬続接続した場合には、第18図Bに示す
如(、受信符号語r、  n、 m、・・・・の受信終
了後の33Tcの期間(39八)、 (39B) 、 
(39C) 、 −・・・に夫々その縦続接続した回路
の先頭の互除ユニットにシンドローム多項式5(X)及
び多項式)(ztの33個の係数の対が供給される。
Next, consider the case where the code length n is 150 and the number of error-correctable symbols is 16.
Repeat steps (117) to (123) in the figure 32 times (
You need to repeat step 2). Therefore, if the mutually dividing units are simply connected in cascade as in the conventional example, 32 mutually dividing units (25) of the example shown in FIG. 14 are required. Furthermore, assuming that the received code word is transmitted one symbol at a time in synchronization with the clock pulse CK, it is assumed that the received code word is transmitted symbol by symbol in synchronization with the clock pulse CK.
Assuming that the period is ITc, as shown in FIG. 18A, there are received code words 1 . Il, I,
... is transmitted at a cycle of 150Tc. Also,
In the case of t-16, the highest degree of syndrome polynomial 5(X) is 31 (-2t-1), and the number of coefficients of polynomial X2t is 33 (= 2 t +1). Therefore, if 32 mutually exclusive units (25) of the example in FIG. 14 are simply connected in series as in the conventional example, the received code words (, r, n, m, . . . The period of 33Tc after the end of reception of (398), (39B),
(39C), -..., respectively, are supplied with pairs of 33 coefficients of the syndrome polynomial 5(X) and the polynomial)(zt) to the first mutually dividing unit of the cascaded circuit.

また、1個の互除ユニットがS (X)及びX2tの1
対の係数を処理するのに4クロックパルス分(4TC)
要するとすると、1対の係数は夫々32個の互除ユニッ
トを通過する必要があるため、32×4Tc−128T
cより、受信符号語T、  Il、 III・・・・の
受信終了後から夫々128Tc経過した後の期間(40
A) 、 (40B) 、 (40C) 、・・・・に
それらの受信符号語に対応する誤り位置多項式σ(X)
の係数が順次後端の互除ユニットより出力される。そし
て、150TCの期間から33Tcの期間を除いた期間
■Tには先頭の互除ユニットには何の入力もなされない
ため、その期間ITば一種のアイドルタイムと考えるこ
とができる。従って、一般に符号長N3 に対して誤り訂正可能なシンボルの数tがN>2tの関
係を充足している場合には、従来例の如く単に互除ユニ
ントを縦続接続するのでは、回路規模が大きくなるばか
りでなくアイドルタイムドrが長くなる不都合がある。
Also, one mutually exclusive unit is 1 of S (X) and X2t
It takes 4 clock pulses (4TC) to process a pair of coefficients.
In short, each pair of coefficients needs to pass through 32 division units, so 32×4Tc-128T
c, the period (40
A) , (40B) , (40C) , ... are the error locator polynomials σ(X) corresponding to those received code words.
The coefficients are sequentially output from the rear-end mutual division unit. Since no input is made to the leading mutual division unit during the period ■T, which is the period 150TC minus the period 33Tc, this period IT can be considered as a kind of idle time. Therefore, in general, if the number t of error-correctable symbols for the code length N3 satisfies the relationship N>2t, simply cascading mutually dividing units as in the conventional example requires a large circuit scale. Not only that, but also the idle time length becomes longer.

Gz−実施例の誤り位置多項式の導出回路の説明(第1
図、第2図) 以下、本発明によるユークリッドの互除回路の一実施例
につき第1図及び第2図を参照して説明しよう。本例は
Reed −Solomon符号のデコーダにおける訂
正可能なシンボル数がLの誤り位置多項式の導出回路(
第9図の(2)に対応する。)に本発明を適用したもの
である。また、本例では第14図例と同じ構造の互除ユ
ニットを2を個使用すると共に、各互除ユニットにおけ
るデータの遅延時間は夫々4クロックパルス分(4Tc
)であるとする。また、本例の各互除ユニットにおいて
使用するアルゴリズムは第16図に示した改善されたユ
ークリッドの互除法によるアルゴリズムと同じであ4 る。
Gz-Explanation of the error locator polynomial derivation circuit of the embodiment (first
2) Hereinafter, an embodiment of the Euclidean mutual divider circuit according to the present invention will be described with reference to FIGS. 1 and 2. This example describes an error locator polynomial derivation circuit (
This corresponds to (2) in FIG. ) to which the present invention is applied. In addition, in this example, two alternating units having the same structure as the example in FIG. 14 are used, and the data delay time in each alternating unit is 4 clock pulses (4
). Further, the algorithm used in each division unit of this example is the same as the algorithm based on the improved Euclidean division method shown in FIG.

第1図は本例の誤り位置多項式の導出回路を示し、この
第1図において(41A)〜(41Z)は夫々第14図
の互除ユニッI−(25)から除算器(33)を除いた
構成の縦続接続された2t個の互除ユニット、(42)
は有限体CF (2″′)の元同士の除算を実行する除
算器であり、互除ユニット (4LA)〜(41Z)よ
り夫々被除数NMI、及び除数DNMを出力するハスラ
イン並びに商SHOを人力するパスラインを導出し、そ
の被除数NML及び除数DNMを夫々除算器(42)の
被除数人力ボート及び除数人力ボートに供給し、その除
算器(42)の出力ボートをその商SHOを入力するパ
スラインに接続する如くなす。
FIG. 1 shows the circuit for deriving the error locator polynomial of this example, and in this FIG. 2t mutually connected units cascaded in configuration, (42)
is a divider that executes division between the elements of the finite field CF (2″′), and there is a hass line that outputs the dividend NMI and divisor DNM from mutual division units (4LA) to (41Z), respectively, and a path that manually calculates the quotient SHO. Derive the line, supply the dividend NML and divisor DNM to the dividend manual port and divisor manual port of the divider (42), respectively, and connect the output port of the divider (42) to the path line that inputs the quotient SHO. Do as you will.

また、先頭の互除ユニッI−(41A)には変数dR。Further, the first mutual division unit I- (41A) has a variable dR.

d Q、、及び多項式R、−、(X)、 Qt−+ (
X)、 1 +−+(X)、μ+−+(X)の初期値で
あるd R,、d QO。
d Q, and the polynomial R, −, (X), Qt−+ (
d R,, d QO which is the initial value of X), 1 +-+(X), μ+-+(X).

R,(X)(=S(X))、 Q、(X)(=X2t)
、λo(X)。
R, (X) (=S(X)), Q, (X) (=X2t)
, λo(X).

μ。(X)を供給し、後端の互除ユニッ1−(41Z)
より誤り位置多項式σ(X)(=λzt(X))及び誤
り評価多項式ω(X)(= RZt(X))を取出す。
μ. (X) and the mutually exclusive unit 1-(41Z) at the rear end.
Then, the error locator polynomial σ(X) (=λzt(X)) and the error evaluation polynomial ω(X) (=RZt(X)) are extracted.

第1図例中の除算器(42)の具体的な構成例を第2図
に示し、この第2図において、(43)は逆光発生用R
OM、(44)は行列とベクトルとの乗算器、(45)
は有限体の元の表現をベクトル表現から行列表現に変換
する表現変換回路であり、この表現変換回路(45)の
入力ボートにベクトル表現された被除数Xの各要素を供
給し、この表現変換回路(45)より出力される被除数
χの行列表現T(X)の各要素を乗算器(44)の行列
要素入力ボートに供給する。
A specific configuration example of the divider (42) in the example of FIG. 1 is shown in FIG. 2, and in this FIG.
OM, (44) is a matrix-vector multiplier, (45)
is a representation conversion circuit that converts the original representation of a finite field from a vector representation to a matrix representation. Each element of the dividend X expressed as a vector is supplied to the input port of this representation conversion circuit (45), and this representation conversion circuit Each element of the matrix representation T(X) of the dividend χ outputted from (45) is supplied to the matrix element input port of the multiplier (44).

また、ベクトル表現された除数yの各要素を逆光発生用
ROM (43)のアドレスバスに供給し、この逆光発
生用ROM (43)のデータバスから出力されるその
除数yの逆光y″′のべり1−ル表現の各要素を乗算器
(44)のヘクトル要素入力ボートに供給する。尚、有
限体の元の行列表現については特開昭60−14483
4号公報に開示されている。
In addition, each element of the divisor y expressed as a vector is supplied to the address bus of the backlight generation ROM (43), and the backlight y'' of the divisor y output from the data bus of the backlight generation ROM (43). Each element of the ver1-le representation is supplied to the hector element input port of the multiplier (44).The matrix representation of the elements of the finite field is described in Japanese Patent Application Laid-Open No. 14483/1983.
It is disclosed in Publication No. 4.

第2図例によれば、被除数Xと除数yとの商X/yを計
算するのに、先ず除数yの逆光y −1が求められその
被除数Xにこの逆光y ” Iが乗算される。
According to the example in FIG. 2, in order to calculate the quotient X/y between the dividend X and the divisor y, the backlight y-1 of the divisor y is first determined and the dividend X is multiplied by this backlight y''I.

この場合、逆光発生用ROM (43)と表現変換回路
7 (45)とが並列に動作するため、除算に要する演算時
間を大幅に短縮することができる。
In this case, since the backlight generation ROM (43) and the expression conversion circuit 7 (45) operate in parallel, the calculation time required for division can be significantly reduced.

また、有限体G F (2″′)の各元は0を除いて根
αのべき乗で表現されるので、被除数X及び除数yが夫
々α”及びαJであるとすると、商Zはαs−sとして
容易に求めることができる。そこで除算器(42)は、
例えば被除数X及び除数yのべき乗表現の指数i及びj
を求めるROMテーブル、i−jを計算する減算器及び
この指数i−jよりα゛−・のベクトル表現を求めるR
OMテーブルより構成することもできる。
Furthermore, each element of the finite field G F (2″′) is expressed as a power of the root α except for 0, so if the dividend X and the divisor y are α″ and αJ, respectively, the quotient Z is αs− It can be easily obtained as s. Therefore, the divider (42) is
For example, the exponents i and j of the power representation of the dividend X and the divisor y
A ROM table for calculating , a subtractor for calculating i-j, and an R for calculating the vector representation of α゛-・ from this index i-j.
It can also be configured from an OM table.

第1図の動作を説明するに、先頭の互除ユニッ1−  
(41A)には第16図のステップ(115)で示す初
期データが供給される。また、これら初期データの内の
多項式の最高次の係数に同期してスタートフラグ信号S
Fをハイレベル“1゛に設定し、各互除ユニット (4
1A)〜(41z)は夫々スタートフラグ信号SFがハ
イレベル“1パになったことより多項式の最高次の係数
が供給されたことを識別する。
To explain the operation in Fig. 1, the first mutual division unit 1-
The initial data shown in step (115) in FIG. 16 is supplied to (41A). In addition, a start flag signal S is synchronized with the highest order coefficient of the polynomial among these initial data.
Set F to high level "1", and each mutually exclusive unit (4
1A) to (41z) each identify that the highest order coefficient of the polynomial has been supplied since the start flag signal SF has reached the high level "1pa".

従って、その先頭の互除ユニット(41A)において8 処理されたデータが次段の互除ユニット(41B)に供
給されると共にこの互除ユニット (41B)に供給さ
れているスフ−1−フラグ信号SFがハイレベル″1゛
になると、この互除ユニット(4]−B)においても第
16図に示す動作が開始される。以下同様にスタートフ
ラグ信号SFのハイレベル“1゛の部分が伝播するにつ
れて各互除ユニットが第16図に示す動作を開始し、最
終的に後端の互除ユニット(41Z)から誤り位置多項
式σ(X)及び誤り評価多項式ω(X)の係数が得られ
る。
Therefore, the 8-processed data in the first mutual division unit (41A) is supplied to the next stage mutual division unit (41B), and the SF-1 flag signal SF supplied to this mutual division unit (41B) goes high. When the level reaches "1", the operation shown in FIG. 16 is started in this mutual division unit (4]-B).Similarly, as the high level "1" portion of the start flag signal SF propagates, each mutual division The unit starts the operation shown in FIG. 16, and finally the coefficients of the error locator polynomial σ(X) and the error evaluation polynomial ω(X) are obtained from the mutual division unit (41Z) at the rear end.

この場合、スタートフラグ信号SFのハイレベル“1゛
の部分は時間軸上でシリアルに各互除ユ々そのスタート
フラグ信号SFがハイレヘルパ1”になってから所定期
間経過後の所定クロックパルス分の期間内であるため、
各互除ユニッl−(41A)〜(41Z)における除算
が同じタイミングで実行されることは起こらない。従っ
て、本例によれば1個の除算器(42)でそれら2を個
の互除ユニット(41A)〜(41Z)用の除算を順次
シリアルに正確に実行することかでき、除算器(42)
を1個で済ますことができるため、数tが大きくなって
も全体としての回路規模を小型化できる利益がある。
In this case, the high level "1" portion of the start flag signal SF is divided serially on the time axis for a period of a predetermined clock pulse after a predetermined period has elapsed since the start flag signal SF became high level helper 1. Because it is within
Division in each mutual division unit l-(41A) to (41Z) is never executed at the same timing. Therefore, according to this example, it is possible to serially and accurately execute the division for the mutual division units (41A) to (41Z) by using one divider (42).
Since only one circuit is required, there is an advantage that the overall circuit scale can be reduced even if the number t becomes large.

ここで、第17図を参照して各互除ユニット(25A)
〜(25D)において除算が行なわれるタイミングにつ
いて詳しく検討する。例えば互除ユニッ) (25A)
の除算器(33A)においては、QO(X)の最高次の
係数す。(=1)がR8(X)の最高次の係数a。(−
αl+)によって除算され、得られた商α7がレジスタ
(36A)に保持される。即ち、除算器(33^)は多
項式RO(X)及びQ。(X)の夫々の最高次の係数同
士を除算するだけであるため、その除算に必要な時間は
1クロスパルス分(ITC)〜2Tc程度でよい。また
、その除算器(33A)によって得られた商はR8(X
)及びQO(X)の他の全ての次数の係数の処理が終了
するまでそのレジスタ(36A)に保持されている。従
って、除算器(33A)はそのITC〜2Tcの期間の
除算が終了した後はアイドル状態にある。他の互除ユニ
ット (25B)〜(25D)中ノ除算器(33B)〜
(33D)についても、同様に夫々の互除ユニットのだ
めの除算を行なわないときにはアイドル状態になる。本
発明は斯かる点に鑑みて除算器(33A)〜(33D)
を1個にまとめたものである。
Here, with reference to FIG. 17, each mutually divided unit (25A)
The timing at which division is performed in ~(25D) will be considered in detail. For example, mutual exclusion unit) (25A)
In the divider (33A), the highest order coefficient of QO(X) is calculated. (=1) is the highest order coefficient a of R8(X). (−
αl+) and the obtained quotient α7 is held in the register (36A). That is, the divider (33^) is a polynomial RO(X) and Q. Since only the highest-order coefficients of (X) are divided, the time required for the division may be about 1 cross pulse (ITC) to 2Tc. Also, the quotient obtained by the divider (33A) is R8(X
) and all other order coefficients of QO(X) are held in that register (36A) until processing is completed. Therefore, the divider (33A) is in an idle state after the division for the period from ITC to 2Tc is completed. Other mutual division units (25B) ~ (25D) Middle divider (33B) ~
Similarly, (33D) is in an idle state when no division is performed for each mutual division unit. In view of this point, the present invention provides dividers (33A) to (33D).
It is a collection of .

これに対して、例えば互除ユニソ) (IIA)中の乗
算器輯3A)は常に新たな係数とその商α7との乗算を
実行しなければならずアイドル状態が短いため、互除ユ
ニッ)  (IIA)〜(IID)中の乗算器(23A
)〜(23D)を1個にまとめるのは困難である。
On the other hand, for example, the multiplier 3A) in the mutual division unit (IIA) must always perform multiplication of a new coefficient by its quotient α7 and has a short idle state. Multiplier (23A
) to (23D) are difficult to combine into one.

G3互除ユニットのより具体的な構成の説明(第3図、
第4図) 第1図例ではデータの遅延時間が4クロツク(4T、)
の互除ユニット (41八)〜(41Z)が使用されて
いるが、このように遅延時間が4T、の互除ユニットの
具体的な同期式の構成例を第3図に示し、この第3図に
おいて第14図に対応する部分及び信号には同一符号を
付してその詳細な説明を省略する。
A more specific explanation of the configuration of the G3 mutually exclusive unit (Fig. 3,
Figure 4) In the example in Figure 1, the data delay time is 4 clocks (4T).
Figure 3 shows a specific example of a synchronized configuration of a mutual unit with a delay time of 4T. Portions and signals corresponding to those in FIG. 14 are given the same reference numerals, and detailed explanation thereof will be omitted.

1 この第3図において、(51)〜(68)は夫々D型フ
リップフロップよりなる遅延レジスタ、(69)〜(7
4)は夫々2人力のテークセレクタであり、データセレ
クタの対(69)、(70) 、対(71) 、 (7
2)及び対(73) 、 (74)が夫々第14図のス
イッチ回路(29) 、 (30)及び(31)に対応
する。(75)は比較回路を示し、この比較回路(75
)はdR=dQi≧0のときにローレベルパ0゛となり
dRi−1dQi<0のときにハイレヘル°°1゛とな
る比較信号REVを生成し、この比較信号REVをアン
トゲ−) (77)の一方の入力端子に供給する。(7
6)はゼロ検出回路を示し、このゼロ検出回路(76)
は多項式R,,(X)の係数がOになったときのみハイ
レヘル“1”′となるゼロ検出信号RZを生成し、この
信号RZをアントゲ−) (77)の他方の負論理の入
力端子に供給し、このアンドゲート(77)の出力信号
をレジスタ(58)にて保持して信号CR3となし、こ
の信号CR3でデータセレクタ(69)〜(74)の切
替えを制御する。
1 In FIG. 3, (51) to (68) are delay registers each consisting of a D-type flip-flop, and (69) to (7
4) are two-man-powered take selectors, and the data selectors pairs (69), (70), (71), (7
2) and pairs (73) and (74) correspond to switch circuits (29), (30) and (31) in FIG. 14, respectively. (75) indicates a comparison circuit, and this comparison circuit (75
) generates a comparison signal REV which has a low level of 0 when dR=dQi≧0 and a high level of 1 when dRi−1dQi<0, and converts this comparison signal REV into one of the following (77). Supplied to the input terminal. (7
6) shows a zero detection circuit, and this zero detection circuit (76)
generates a zero detection signal RZ that becomes high level "1" only when the coefficient of the polynomial R, , (X) becomes O, and connects this signal RZ to the other negative logic input terminal of (77) The output signal of this AND gate (77) is held in a register (58) as a signal CR3, and this signal CR3 controls switching of data selectors (69) to (74).

また、データセレクタ(71)の入力側にレジスタ(5
4)を設け、このデータセレクタ(71)の出力側に2 レジスタ(59) 、 (63)を設け、同様にデータ
セレクタ(72)〜(74)の前後にもレジスタを設け
る。そして、レジスタ(59)の出力データAをバッフ
ァ回路(46)を介して被除数NMLとして取出し、デ
ータセレクタ(72)の出力側のレジスタ(60)の出
力データBをバッファ回路(47)を介して除数DNM
として取出し、バッファ回路(46) 、 (47)は
ストローブされていないときには出力がハイインピーダ
ンスになる如くなす。また、スタートフラグ信号SFを
レジスタ(26) 、 (51) 、 (52)及び(
53)を介して順次フラグ信号SFl、SF2.SF3
及びSFOに変換し、フラグ信号SFIでレジスタ(5
8)を制御し、フラグ信号SF3でレジスタ(36) 
、 (67)及び(68)並びにバッファ回路(46)
及び(47)を制御し、他のレジスタはクロックパルス
CKによって制御する。
Also, a register (5) is provided on the input side of the data selector (71).
4), two registers (59) and (63) are provided on the output side of this data selector (71), and similarly registers are provided before and after the data selectors (72) to (74). Then, the output data A of the register (59) is taken out as the dividend NML through the buffer circuit (46), and the output data B of the register (60) on the output side of the data selector (72) is taken out through the buffer circuit (47). Divisor DNM
The outputs of the buffer circuits (46) and (47) are set to high impedance when they are not strobed. Also, start flag signal SF is sent to registers (26), (51), (52) and (
53), the flag signals SF1, SF2 . SF3
and SFO, and register (5
8) and register (36) with flag signal SF3.
, (67) and (68) and buffer circuit (46)
and (47), and the other registers are controlled by the clock pulse CK.

この場合、途中の信号を夫々第3図に示す符号で指示し
、変数d Ri−1+ d Qi−I及び多項式R8(
X)〜μ=I(X)として第17図の互除ユニット(2
5A)へ供給されている変数dR,,dQ、及び多項式
R8(X)〜μ。(X)を仮定すると(即ち、Qi−。
In this case, the intermediate signals are indicated by the symbols shown in FIG. 3, and the variables dRi-1+dQi-I and the polynomial R8(
Assuming that X) ~ μ = I (X), the mutually dividing unit (2
5A) variables dR,, dQ and polynomial R8(X)~μ. Assuming (X) (i.e., Qi-.

(X)=Qo(X)=X’)、クロックパルスCKに同
期して第3図の各部信号は第4図に示す如く変化する。
(X)=Qo(X)=X'), the various signals in FIG. 3 change as shown in FIG. 4 in synchronization with the clock pulse CK.

尚、このクロックパルスCKの周波数は20MHz程度
が想定されている。
Note that the frequency of this clock pulse CK is assumed to be about 20 MHz.

この第4図において、多項式Ri(X)〜μ、(X)の
係数は多項式Ri−,(X)〜μm−+(X)の係数に
対して4Tc遅れて生成されている。従って、第3図例
の遅延人家は4Tcであることが分かる。尚、この第4
図のタイミングチャートは、除算器(42)における有
限体の元同士の除算がIT、内に終了すること及び乗算
器(37)と加算器(34)とによる有限体の元同士の
乗加算がITc内に終了することを前提としている。
In FIG. 4, the coefficients of the polynomials Ri(X) to .mu., (X) are generated with a delay of 4Tc relative to the coefficients of the polynomials Ri-, (X) to .mu.m-+(X). Therefore, it can be seen that the delay time in the example of FIG. 3 is 4Tc. Furthermore, this fourth
The timing chart in the figure shows that the division between the elements of the finite field in the divider (42) is completed within IT, and that the multiplication and addition of the elements of the finite field by the multiplier (37) and the adder (34) is completed within IT. It is assumed that the process ends within ITc.

G4互除ユニットの他の例の説明(第5図、第6図) 互除ユニントの他の例につき第5図を参照して説明する
。本例は有限体の元同士の除算に2 T cを消費する
構成例であり、この第3図に対応する部分には同一符号
を付して示す第5図において、先ずレジスタ(53)の
後に更に遅延レジスタ(88)を設け、レジスタ(53
)より出力されるフラグ信号SF4によってレジスタ(
36) 、 (67)及び(68)を制御する。
Description of another example of the G4 mutually dividing unit (FIGS. 5 and 6) Another example of the mutually dividing unit will be explained with reference to FIG. 5. This example is a configuration example in which 2 T c is consumed for division between elements of a finite field, and in FIG. 5, where parts corresponding to FIG. Later, a delay register (88) is further provided, and a register (53) is provided.
) is output from the register (
36), (67) and (68).

また、データセレクタ(71)の出力ポートをレジスタ
(78)を介してバッファ回路(47)に接続し、その
出力ポートを更にレジスタ(79) 、 (80)及び
(59)を介して加算器(34)に接続し、データセレ
クタ(72)の出力ポートをレジスタ(81)を介して
バッファ回路(46)に接続し、その出力ポートを更に
レジスタ(82) 、 (83)及び(60)を介して
乗算器(37)に接続する。この場合、レジスタ(78
)及び(81)はフラグ信号SF2によって制御する如
くなす。また、バッファ回路(46) 、 (47)は
2人力のオア回路(48)及びレジスタ(49)を介し
てフラグ信号SF2.SF3によって制御部する。同様
に、データセレクタ(73)と加算器(35)との間に
レジスタ(84) 、 (85)及び(61)を配し、
データセレクタ(74)と乗算器(38)との間にレジ
スタ(86) 、 (87)及び(62)を配する。ま
た、第5図例の第3図例と同じ条件下でのタイミ5 ングチャートを第6図に示す。本例によれば除算にIT
cだけ多く要しているため、全体の遅延時間が5TCに
なっていることが分かる。
Further, the output port of the data selector (71) is connected to the buffer circuit (47) via the register (78), and the output port is further connected to the adder ( 34), the output port of the data selector (72) is connected to the buffer circuit (46) via the register (81), and the output port is further connected to the buffer circuit (46) via the registers (82), (83) and (60). and connect to the multiplier (37). In this case, register (78
) and (81) are controlled by the flag signal SF2. The buffer circuits (46) and (47) also receive flag signals SF2. through a two-man OR circuit (48) and a register (49). The controller is controlled by SF3. Similarly, registers (84), (85) and (61) are arranged between the data selector (73) and the adder (35),
Registers (86), (87) and (62) are arranged between the data selector (74) and the multiplier (38). Further, FIG. 6 shows a timing chart for the example in FIG. 5 under the same conditions as the example in FIG. 3. According to this example, IT is used for division.
It can be seen that the total delay time is 5TC because it requires more time by c.

G3本発明の他の実施例の説明(第7図、第8図) 以下、本発明によるユークリッドの互除回路の他実施例
につき第7図及び第8図を参照して説明しよう。本例は
Reed−5o I pmon符号のデコーダにおける
符号長nが150で訂正可能なシンボル数もが16の誤
り位置多項式の導出回路(第9図の(2)に対応する。
G3 Description of Other Embodiments of the Present Invention (FIGS. 7 and 8) Hereinafter, other embodiments of the Euclidean mutual divider circuit according to the present invention will be described with reference to FIGS. 7 and 8. This example corresponds to an error locator polynomial derivation circuit (corresponding to (2) in FIG. 9) in which the code length n is 150 and the number of correctable symbols is 16 in a Reed-5o IPmon code decoder.

)に本発明を適用したものである。また、本例では第3
図例と同じ構成の互除ユニントを8個使用すると共に、
各互除ユニットにおけるデータの遅延時間は夫々4クロ
ックパルス分(4To)であるとする。また、本例の各
互除ユニットにおいて使用するアルゴリズムは第16図
に示した改善されたユークリッドの互除法によるアルゴ
リズムと同じである。
) to which the present invention is applied. Also, in this example, the third
In addition to using eight mutually exclusive units with the same configuration as the example in the figure,
It is assumed that the data delay time in each division unit is 4 clock pulses (4To). Further, the algorithm used in each division unit of this example is the same as the algorithm based on the improved Euclidean division method shown in FIG.

第7図は本例の誤り位置多項式の導出回路を示6 し、この第7図において、(89)はデータバス、(9
0)はデータセレクタであり、このデータバス(89)
を介してシンドローム多項式S (X)及び多項式x2
tの係数等をデータセレクタ(90)の一方の入力ボー
トに供給する。 (91A)〜(91H)は夫々第3図
の互除ユニットと同一構成の互除ユニット、(92)は
遅延時間が1クロンクパルス分(IT、)の遅延用レジ
スタを示し、データセレクタ(90)の出力ポートと遅
延用レジスタ(92)の入力ボートとの間に互除ユニッ
I−(91A)〜(91H)を縦続接続する。(93)
はデータバスを示し、このデータバス(93)を介して
遅延用レジスタ(92)の出力ポートとデータセレクタ
(93)の他方の入力ボートとを接続し、このデータハ
スク93)の一部(93a)より最終的に得られる誤り
位置多項式σ(X)及び誤り評価多項式ω(X)の係数
を後続の図示省略した回路番コ取込む如くなす。また、
本例においても第1図例と同様に互除ユニッ)  (9
1A)〜(911()で共用するだめの除算器(42)
を配する。
Figure 7 shows the circuit for deriving the error locator polynomial in this example. In Figure 7, (89) is the data bus, (9
0) is a data selector, and this data bus (89)
via the syndrome polynomial S (X) and the polynomial x2
The coefficients of t, etc. are supplied to one input port of the data selector (90). (91A) to (91H) are mutually exclusive units each having the same configuration as the mutually dividing unit shown in FIG. Mutual division units I-(91A) to (91H) are connected in cascade between the output port and the input port of the delay register (92). (93)
indicates a data bus, through which the output port of the delay register (92) and the other input port of the data selector (93) are connected, and a part (93a) of this data husk 93) is connected. ), the coefficients of the error locator polynomial σ(X) and the error evaluation polynomial ω(X) finally obtained are taken into the subsequent circuit numbers (not shown). Also,
In this example, as in the example in Figure 1, the mutually exclusive unit) (9
Divider (42) shared by 1A) to (911())
Allocate.

第7図例の動作につき第8図を参照して説明するに、本
例においても第8図Aに示す如く、符号長nが150の
受信符号語I、  II、 III、 ・・・・が周期
150Tcで伝送されて来る。また、誤り訂正可能なシ
ンボルの数もが16であるため、シンドローム多項式S
 (X)の次数は31 (−2t −1)次であり、初
期値としてはS (X)及び多項式X2tの係数が33
 (、= 2 t +1.)紐供給されて来る。尚、第
16図のステップ(115)における多項式λ。(X)
、μ。(X)及び変数dR,,dQoもイ」随して供給
されて来る。
The operation of the example in FIG. 7 will be explained with reference to FIG. 8. In this example as well, as shown in FIG. 8A, received codewords I, II, III, . It is transmitted at a cycle of 150Tc. Also, since the number of error-correctable symbols is 16, the syndrome polynomial S
The order of (X) is 31 (-2t -1), and the initial value is S (X) and the coefficient of polynomial X2t is 33
(, = 2 t + 1.) A string is supplied. Note that the polynomial λ in step (115) in FIG. (X)
,μ. (X) and variables dR, , dQo are also supplied accordingly.

従って、初期値であるS (X)及びXztの係数等が
全部供給されて来るまでに337Cを要するが、本例で
は互除ユニット(91A)〜(91H)における遅延時
間が夫々4 T cであり遅延用レジスタ(92)にお
ける遅延時間がIToであるため、互除ユニッ1−(9
1Δ)から遅延用レジスタ(92)までの全遅延時間は
33(=4・8+1.)TCとなり、それら係数が全部
供給されて来るまでに要する時間に等しく設定されてい
る。
Therefore, it takes 337C until all the initial values S (X) and coefficients of Since the delay time in the delay register (92) is ITo, mutual division unit 1-(9
The total delay time from 1Δ) to the delay register (92) is 33 (=4·8+1.)TC, which is set equal to the time required for all of these coefficients to be supplied.

そこで、本例では第8図Bに示す如く、送信符号語1.
  n、 I、 ・・・・の受信終了後から33Tcの
期間(94八) 、 (94B) 、 (94G) 、
・・・・にはデータセレクタ(90)によってS (X
)及びXztの係数等より成る33組の初期データを先
頭の互除ユニッ) (91A)に供給する。これにより
互除ユニッ) (91A)から遅延レジスタ(92)に
はそれら33組のデータの中間処理データが格納される
Therefore, in this example, as shown in FIG. 8B, transmission code word 1.
33Tc period from the end of reception of n, I, ... (948), (94B), (94G),
..., the data selector (90) selects S (X
) and Xzt coefficients, etc. are supplied to the first mutual division unit ) (91A). As a result, intermediate processing data of these 33 sets of data is stored from the mutual division unit (91A) to the delay register (92).

次に、データセレクタ(90)を切替えてその遅延用レ
ジスタ(92)から出力されるデータをその先頭の互除
ユニット(91A)に供給する如くなす。これにより第
8図C,D及び已に示す如く、期間(94A)に続<3
3Tcの期間(95A) 、 (96A)及び(97^
)に互除ユニット(91A)と遅延用レジスタ(92)
との間に保持されていた33組の中間処理データは夫々
互除ユニット (91^)〜(911() 、遅延用レ
ジスタ(92)、データバス(93)及びデータセレク
タ(90)によって形成されるループを1周ずつ移動し
て処理される。
Next, the data selector (90) is switched so that the data output from the delay register (92) is supplied to the leading division unit (91A). As a result, as shown in Figure 8C, D and Figure 8, following period (94A) <3
3Tc period (95A), (96A) and (97^
) has a mutual division unit (91A) and a delay register (92).
The 33 sets of intermediate processing data held between the Processing is performed by moving around the loop one turn at a time.

そして、第8図Fに示す如く、期間(97A)に続く3
3TCの期間(98A)にデータバス(93)の一部(
93a)を介して遅延用レジスタ(92)の出力ボート
から誤り位置多項式σ(X)及び誤り評価多項式ω(X
)の9 係数が取出される。同様に、期間(94B) 、 (9
4C) 、・・・・に続く各期間においても中間処理デ
ータはそのループの中を周回する。
Then, as shown in Figure 8F, 3 following the period (97A)
During the 3TC period (98A), part of the data bus (93) (
Error locator polynomial σ(X) and error evaluation polynomial ω(X
) are extracted. Similarly, period (94B), (9
4C) In each period following . . . , the intermediate processing data also circulates in the loop.

本例によれば、データバス(89)を介して供給される
33組の初期データは夫々4回そのループを周回すると
共に、そのループの中には8個の互除ユニット (91
A)〜(91H)が含まれているため、それら33組の
初期データは夫々合計で32個の互除ユニットを通過し
たと同等になり、正確に誤り位置多項式の係数を求める
ことができる。この場合、従来例では32個の互除ユニ
ットが必要であるのに対して、本例ではその1/4の8
個の互除ユニット(91A)〜(91H)を使用するだ
けでよいため、回路規模を大幅に小型化できる利益があ
る。
According to this example, the 33 sets of initial data supplied via the data bus (89) each go around the loop four times, and the loop includes eight mutually dividing units (91).
Since A) to (91H) are included, each of these 33 sets of initial data is equivalent to having passed through a total of 32 mutually dividing units, and the coefficients of the error locator polynomial can be accurately determined. In this case, while the conventional example requires 32 mutually dividing units, the present example requires 1/4 of that, 8
Since it is only necessary to use the mutual division units (91A) to (91H), there is an advantage that the circuit scale can be significantly reduced.

更に本例においては第8図に示す如く、受信符号語1.
  n、  III、 ・・・・の受信終了後から夫々
132(−33x 4 ) Tcの遅延時間で誤り位置
多項式σ(X)の係数が得られているが、これは第18
図に示した従来方式を用いた場合の遅延時間128Tc
に比べてほぼ等しい遅延時間である。従って、本例0 によれば回路規模を1/4に小型化しても遅延時間がほ
とんど変わらない利益がある。また、本例のアイドルタ
イムITは第8図に示す如<  150Tcから132
Tcを引いた時間であり、第18図例と比べて大幅に短
縮されている。
Furthermore, in this example, as shown in FIG. 8, received codewords 1.
The coefficients of the error locator polynomial σ(X) are obtained with a delay time of 132(-33x 4 ) Tc after the completion of reception of the 18th
Delay time when using the conventional method shown in the figure: 128Tc
The delay time is almost the same compared to . Therefore, according to Example 0, even if the circuit scale is reduced to 1/4, there is an advantage that the delay time hardly changes. In addition, the idle time IT in this example is as shown in FIG.
This is the time after subtracting Tc, and is significantly shortened compared to the example in FIG.

第1図例を一般化して、符号長がn、訂正可能なシンボ
ル数がtの場合について必要な互除ユニットの数等につ
いて考察する。この場合、シンドローム多項式S (X
)及び多項式>(ztの係数等が(2t+1)組あるの
で、一連の互除ユニットを繰返して使用できる回数の最
大値R,ば、並列処理する場合を除いて RM= 1nt(n / (2t + 1))    
 ” ” (28)となる。1nt(A)はAを超えな
い整数を意味する。
Generalizing the example in FIG. 1, let us consider the number of mutual division units required in the case where the code length is n and the number of correctable symbols is t. In this case, the syndrome polynomial S (X
) and polynomial > (Since there are (2t + 1) sets of coefficients, etc. of zt, the maximum number of times that a series of mutually dividing units can be used repeatedly is R, RM = 1nt (n / (2t + 1))
” ” (28). 1nt(A) means an integer not exceeding A.

また、一連の互除ユニットをR回繰返して使用する場合
には、その−例の互除ユニットの数GはG =int(
(2t −1)/ R) + 1    ・・・・(2
9)となり、それら一連の互除ユニットで1回(1周)
の処理を行うのに必要なりロックパルス単位の時間TC
Kの上限Tuは To=int((n−1)/R)  +1    ・=
・(30)となる。更に、初期の係数等を(2t−14
)紐供給しなければならないので、その時間TCKの下
限T。
Furthermore, when a series of mutually dividing units is used repeatedly R times, the number G of the mutually dividing units is G = int(
(2t -1)/R) + 1...(2
9), and once (one round) with these series of mutually exclusive units.
The time TC in lock pulse units required to process
The upper limit Tu of K is To=int((n-1)/R) +1 ・=
・It becomes (30). Furthermore, initial coefficients etc. are (2t-14
) Since the string must be supplied, the lower limit T of that time TCK.

は T++−2t + l               
 ・・・・(31)となる。従って、式(29)より繰
返して使用する回数Rを多くすれば一例の互除ユニット
の数Gは最小で1個にすることができる。この場合、遅
延時間T。KをTD≦Tcx≦TVの範囲に収めるため
の遅延用レジスタを設ける如くなす。
is T++-2t + l
...(31). Therefore, according to equation (29), by increasing the number of times R of repeated use, the number G of mutually dividing units can be reduced to one at the minimum. In this case, the delay time T. A delay register is provided to keep K within the range of TD≦Tcx≦TV.

因みに第7図例の如(n=150、L−16の場合には
、R=int(150/33)−4,G=int(31
/4)ゼ1−8、T o−4n t (149/ 4)
 + 1 = 38、TD=33となり、これらの条件
は夫々充足されている。
Incidentally, as in the example in Figure 7 (in the case of n=150, L-16, R=int(150/33)-4, G=int(31
/4) Ze1-8, To-4nt (149/4)
+ 1 = 38, TD = 33, and these conditions are satisfied.

また、第7図例における除算器(42)の除算のタイミ
ングについて述べるに、第8図の期間(94A)〜(9
4D)においては除算器(42)は順次互除ユニット(
91^)〜(91H)用の除算を実行し、それらに続く
期間(95A)〜(95H)においては除算器(42)
は再び順次互除ユニッl−(91A)〜(91+1)用
の除算を実行する。従って、第7図例の様に繰り返して
互除ユニッ)  (91A)〜(91H)を使用する構
成であっても、一般に各互除ユニッ)  (91A)〜
(911()による除算器(42)の使用のタイミング
が干渉することはない。
Also, to describe the timing of division by the divider (42) in the example in FIG. 7, the period (94A) to (94A) to (9
4D), the divider (42) is a sequential division unit (
91^) to (91H), and in the period (95A) to (95H) that follow them, the divider (42)
again sequentially executes division for mutual division units l-(91A) to (91+1). Therefore, even if the configuration uses the mutual division units ) (91A) to (91H) repeatedly as in the example in FIG. 7, generally each mutual division unit) (91A) to
(The timing of the use of divider (42) by 911() does not interfere.

また、仮に構成によって除算器の使用のタイミングが干
渉する様な場合には遅延レジスフ(92)における遅延
時間を調整することによって容易に干渉を避けることが
できる。一方、異なるシンドローム多項式5(X)を連
続して処理する様な場合には除算器の使用のタイミング
が干渉するおそれがあるが、この場合には例えば互除ユ
ニットの間に遅延時間調整用の遅延レジスタを配すれば
良い。
Furthermore, if the timing of use of the divider interferes with the configuration, the interference can be easily avoided by adjusting the delay time in the delay register (92). On the other hand, when different syndrome polynomials 5(X) are processed continuously, there is a risk that the timing of the use of the divider may interfere with each other. All you need to do is place a register.

このように本発明は上述実施例に限定されず、本発明の
要旨を逸脱しない範囲で種々の構成を採り得ることは勿
論である。
As described above, the present invention is not limited to the above-described embodiments, and it goes without saying that various configurations may be adopted without departing from the gist of the present invention.

H発明の効果 本発明によれば、複数の互除ユニット用の除算手段を1
個にまとめることができるため、互除ユ3 ニットの接続数が増加しても全体の回路規模を小型化で
きる利益がある。
H Effects of the Invention According to the present invention, the division means for a plurality of mutually dividing units can be combined into one division unit.
Since the circuits can be combined into individual units, there is an advantage that the overall circuit size can be reduced even if the number of connected units increases.

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

第1図は本発明の一実施例の誤り位置多項式の導出回路
を示す構成図、第2図は第1図例の除算器の一例を示す
構成図、第3図は一実施例の互除ユニットを示す構成図
、第4図は第3図例の動作の説明に供するタイミングチ
ャーI・図、第5図は互除ユニットの他の例を示す構成
図、第6図は第5図例の動作の説明に供するタイミング
チャート図、第7図は本発明の他の実施例を示す構成図
、第8図は第7図例の動作の説明に供するタイミングチ
ャート図、第9図は誤り訂正符号のデコーダの全体構成
を示す構成図、第10図は従来の誤り位置多項式の導出
回路を示す構成図、第11図は従来のユークリッドの互
除法によるアルゴリズムを示すフローチャート図、第1
2図は従来の改善された誤り位置多項式の導出回路を示
す構成図、第13図は従来の改善されたユークリッドの
互除法によアルゴリズムを示すフローチャート図、第1
4図は本4 発明の一実施例で使用する互除ユニットを示す構成図、
第15回は第14図例の従来方式の接続例を示す構成図
、第16図は本発明の一実施例で使用する改善されたユ
ークリッドの互除法によるアルゴリズムを示すフローチ
ャート図、第17図は第14図例を従来方式で接続して
構成した誤り位置多項式の導出回路を示す構成図、第1
8図は従来方式の動作の説明に供するタイミングチャー
ト図である。 (34) 、 (35)は夫々加算器、(37) 、 
(38)は夫々乗算器、(41A)〜(41Z)は夫々
互除ユニット、(42)は除算器、(69)〜(74)
は夫々データセレクタ、(75)は比較回路、(76)
はゼロ検出回路、(90)はデータセレクタ、(92)
は遅延用レジスタ、(93)はデータの帰還用のデータ
バスである。 代 理 人 松 隈 秀 盛 第 142− 含 Q 特開平3−195217 (23) 特開平3 195217 (24) 特開平3 195217 (27) 特開平3 195217 (29) 特開平3 195217 (31) :i区 く 悶 ζり
FIG. 1 is a block diagram showing an error locator polynomial derivation circuit according to an embodiment of the present invention, FIG. 2 is a block diagram showing an example of the divider of the embodiment shown in FIG. 1, and FIG. 3 is a mutual division unit of an embodiment. FIG. 4 is a timing diagram for explaining the operation of the example in FIG. 3, FIG. 5 is a configuration diagram showing another example of the mutually exclusive unit, and FIG. FIG. 7 is a configuration diagram showing another embodiment of the present invention. FIG. 8 is a timing chart diagram explaining the operation of the example shown in FIG. 7. FIG. 9 is a diagram of an error correction code. Fig. 10 is a block diagram showing the overall configuration of the decoder; Fig. 10 is a block diagram showing a conventional error locator polynomial derivation circuit; Fig. 11 is a flowchart showing the conventional algorithm based on Euclidean algorithm;
Fig. 2 is a block diagram showing a conventional improved error locator polynomial derivation circuit, Fig. 13 is a flow chart showing an algorithm based on the conventional improved Euclidean algorithm, and Fig.
Figure 4 is a configuration diagram showing a mutually exclusive unit used in an embodiment of the present invention;
Part 15 is a block diagram showing a connection example of the conventional method in Fig. 14, Fig. 16 is a flowchart showing an algorithm based on the improved Euclidean algorithm used in an embodiment of the present invention, and Fig. 17 is a block diagram showing an example of connection of the conventional method. Fig. 14 is a block diagram showing an error locator polynomial derivation circuit configured by connecting examples in the conventional manner, 1st
FIG. 8 is a timing chart diagram for explaining the operation of the conventional system. (34) and (35) are adders, (37) and
(38) are multipliers, (41A) to (41Z) are mutual division units, (42) are dividers, (69) to (74)
are data selectors, (75) are comparison circuits, and (76) are respectively data selectors.
is a zero detection circuit, (90) is a data selector, (92)
is a delay register, and (93) is a data bus for data feedback. Agent Hidemori Matsukuma No. 142- Including Q JP-A-3-195217 (23) JP-A-3 195217 (24) JP-A-3 195217 (27) JP-A-3 195217 (29) JP-A-3 195217 (31): i-ku Kuan ζri

Claims (1)

【特許請求の範囲】 第1の入力多項式を因子に含む多項式を第2の入力多項
式で除したときの商及び剰余を求めると共に上記商及び
第3の入力多項式よりそれまでの全体の商を求め、上記
剰余、上記第1の入力多項式又は第2の入力多項式及び
上記全体の商を夫々第1の出力多項式、第2の出力多項
式及び第3の出力多項式となす互除ユニットを複数個縦
続接続し、 上記複数の互除ユニットにおいて夫々上記商を求める除
算手段を共用し、 上記複数の互除ユニットにおいて夫々上記商を求めるタ
イミングを異ならしめるようにしたことを特徴とするユ
ークリッドの互除回路。
[Claims] Find the quotient and remainder when a polynomial that includes the first input polynomial as a factor is divided by the second input polynomial, and also find the overall quotient up to that point from the above quotient and the third input polynomial. , a plurality of mutually divisible units are connected in cascade to form the remainder, the first input polynomial or the second input polynomial, and the quotient of the whole into a first output polynomial, a second output polynomial, and a third output polynomial, respectively. , A Euclidean mutual division circuit, characterized in that the plurality of mutual division units each share a division means for calculating the quotient, and the plurality of mutual division units each have different timings for calculating the quotient.
JP33588489A 1989-12-08 1989-12-25 Euclidean circuit Expired - Lifetime JP2797570B2 (en)

Priority Applications (4)

Application Number Priority Date Filing Date Title
JP33588489A JP2797570B2 (en) 1989-12-25 1989-12-25 Euclidean circuit
EP19900123470 EP0431629A3 (en) 1989-12-08 1990-12-06 Mutual division circuit
US07/623,235 US5185711A (en) 1989-12-08 1990-12-06 Apparatus for dividing elements of a finite galois field and decoding error correction codes
KR1019900020087A KR910013754A (en) 1989-12-08 1990-12-07 A homing circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP33588489A JP2797570B2 (en) 1989-12-25 1989-12-25 Euclidean circuit

Publications (2)

Publication Number Publication Date
JPH03195217A true JPH03195217A (en) 1991-08-26
JP2797570B2 JP2797570B2 (en) 1998-09-17

Family

ID=18293455

Family Applications (1)

Application Number Title Priority Date Filing Date
JP33588489A Expired - Lifetime JP2797570B2 (en) 1989-12-08 1989-12-25 Euclidean circuit

Country Status (1)

Country Link
JP (1) JP2797570B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0567269A3 (en) * 1992-04-22 1995-03-22 American Telephone & Telegraph Clock generators having programmable fractional frequency division.

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0567269A3 (en) * 1992-04-22 1995-03-22 American Telephone & Telegraph Clock generators having programmable fractional frequency division.

Also Published As

Publication number Publication date
JP2797570B2 (en) 1998-09-17

Similar Documents

Publication Publication Date Title
US5446743A (en) Coefficient updating method and apparatus for Reed-Solomon decoder
US5185711A (en) Apparatus for dividing elements of a finite galois field and decoding error correction codes
US5170399A (en) Reed-Solomon Euclid algorithm decoder having a process configurable Euclid stack
US5442578A (en) Calculating circuit for error correction
JPS59123945A (en) Numerous byte error correction system
JP2009094605A (en) Code error detection device and error detection code generation device
KR100322739B1 (en) Finite Field Computation Method and Its Apparatus
JPH11136136A (en) Reed solomon coding device and method
JPH03195217A (en) Eucledian algorithm circuit
US4298981A (en) Decoding shortened cyclic block codes
US6871315B2 (en) Decoding circuit and decoding method thereof
US20020042804A1 (en) Parallel processing syndrome calculating circuit and reed-solomon decoding circuit
JP4045872B2 (en) Encoding method and encoding apparatus
JP3614978B2 (en) Galois field division method and division apparatus
JP2963018B2 (en) Reed-Solomon error correction code decoding circuit
JPH03195216A (en) Eucledian algorithm circuit
JP2001244821A (en) Parallel processing reed-solomon encoding circuit and parallel processing reed-solomon encoding method used for same
TWI514778B (en) Method and circuit for shortening latency of chien&#39;s search algorithm for bch codewords
JP3860023B2 (en) Decoding circuit and decoding method
JP2591611B2 (en) Encoding / decoding circuit for t-error correction code
JPH1196030A (en) Method and circuit for multiplication on finite field
KR0167390B1 (en) Decryption device
Lee An ultra high-speed Reed-Solomon decoder
JPS63157525A (en) Dissipated position polynominal expression generating circuit
JP2003032122A (en) Encoder

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080703

Year of fee payment: 10

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090703

Year of fee payment: 11

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090703

Year of fee payment: 11

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100703

Year of fee payment: 12

EXPY Cancellation because of completion of term
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100703

Year of fee payment: 12