JPS63157525A - Dissipated position polynominal expression generating circuit - Google Patents

Dissipated position polynominal expression generating circuit

Info

Publication number
JPS63157525A
JPS63157525A JP30589386A JP30589386A JPS63157525A JP S63157525 A JPS63157525 A JP S63157525A JP 30589386 A JP30589386 A JP 30589386A JP 30589386 A JP30589386 A JP 30589386A JP S63157525 A JPS63157525 A JP S63157525A
Authority
JP
Japan
Prior art keywords
polynomial
output
input
error
code
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP30589386A
Other languages
Japanese (ja)
Inventor
Keiichi Iwamura
恵市 岩村
Hideki Imai
秀樹 今井
Yasutaka Doi
土肥 康孝
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP30589386A priority Critical patent/JPS63157525A/en
Publication of JPS63157525A publication Critical patent/JPS63157525A/en
Priority to US07/982,062 priority patent/US5325373A/en
Pending legal-status Critical Current

Links

Landscapes

  • Error Detection And Correction (AREA)

Abstract

PURPOSE:To increase a processing capacity by connecting plural arithmetic circuits consisting of a multiplier having an output selected from a multi-input and a multi-output, in its one input, and a register for storing an output added with the result of its multiplication, and the output of a selecting circuit. CONSTITUTION:A processing unit PE is provided with a selector 1 for inputting the polynominal expressions A, B and C by selecting signals S1, S2, and outputting X and Y. The outputs X, Y of the selector 1 are inputted to multipliers 2, 3 formed by a ROM or a gate circuit on a Galois body, and its outputs are added by an adder 4 formed by an EXOR circuit on the Galois body. Registers 5, 7 latch the outputs X, Y selected by a clock CK, and a register 6 latches the result of the adder 4. By connecting plural pieces of such processing units PE in the same form, various arithmetic operations on the Galois body are executed. In such a way, the high reliability, the high speed property, the large integration, and the regularity of an internal structure can be attained.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、誤り訂正の分野に関し、また、通信路を対称
とする信号処理において、並列°処理を行う技術に関す
る。′ 本発明は、BCH符号の符号化復号において、消失誤り
訂正を行う技術に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to the field of error correction, and also relates to a technique for performing parallel processing in signal processing that is symmetrical about communication channels. ' The present invention relates to a technique for performing erasure error correction in encoding and decoding BCH codes.

〔従来技術とその問題点〕[Prior art and its problems]

近年、メモリーシステムを始めとする、各種ディジタル
システムの信頼性向上の対策として誤り検出・誤り訂正
符号(以下、単に誤り訂正符号という)の適用が浸透し
てきている。
In recent years, the application of error detection and error correction codes (hereinafter simply referred to as error correction codes) has become widespread as a measure to improve the reliability of various digital systems including memory systems.

この誤り訂正符号には、対象とするシステムに處した種
、々の物があるが、最も代表的なものは巡回符号と呼ば
れる線形符号の1クラスである。
There are various types of error correction codes that are used in the target system, but the most typical one is a class of linear codes called cyclic codes.

これには、ランダム誤り訂正に適したBCH符号、バー
スト誤り訂正に適したファイヤー符号、更にBCH符号
の1種であり、バイト誤り訂正に適したR e e d
 −S o l o m o n符号(以下、R3符号
)等が含まれる。なかでも、RS符号は、同一の符号長
と訂正能力を持つ線形符号の中で、最も冗長度を低く出
来るという特徴を持つ、実用上非常に重要な符号であり
、衛星通信、磁気ディスク、コンパクトディスク(以下
、CDと呼ぶ)等に広(利用されている。
This includes BCH code suitable for random error correction, fire code suitable for burst error correction, and R e e d which is a type of BCH code and suitable for byte error correction.
-Solomon code (hereinafter referred to as R3 code) and the like are included. Among these, the RS code is a code that is extremely important in practical use because it has the lowest redundancy among linear codes with the same code length and correction ability. It is widely used for discs (hereinafter referred to as CDs).

このRS符号の復号法には種々の物であり、2ないし3
程度の小さな訂正能力に対する復号器の装置化は比較的
容易である。しかし、高信勅性を得る為には、訂正能力
を大きくする必要がある。その場合、装置の規模及び制
御が非常に複雑になり、復号処理に掛かる計算時間も大
きくなると言った問題が生じる。この為、現在CDでは
CIRCと呼ばれる一種の2重符号化を用いているが、
より高信頼性または高速性が要求されるシステムでは問
題がある。また、高信頼性を得るために光磁気ディスク
などではLong  Distance C0de (
以下、I、DC)と呼ばれる多重誤り訂正符号が提案さ
れているが、高速性の実現が問題である。衛星通信では
、高信頼性と高速性の2つが要求されているが、装置化
を考えた場合、以上の2つの条件を満足させることは非
常に困難であった。
There are various decoding methods for this RS code.
It is relatively easy to implement a decoder for a small degree of correction capability. However, in order to obtain high confidence, it is necessary to increase the correction ability. In that case, problems arise in that the scale and control of the device becomes extremely complex, and the calculation time required for decoding processing also increases. For this reason, CDs currently use a type of double encoding called CIRC.
This poses a problem in systems that require higher reliability or higher speed. In addition, in order to obtain high reliability, magneto-optical disks etc. use Long Distance C0de (
A multiple error correction code called I, DC) has been proposed, but the problem is how to achieve high speed. Satellite communications require two things: high reliability and high speed, but when considering the development of equipment, it has been extremely difficult to satisfy the above two conditions.

しかし、近年の半導体技術と進歩によって装置のVLS
I化を考えることができるようになった。そのときVL
SIのアーキテクチャの特徴を生かした復号法を考える
ことは重要である。VLSIアーキテクチャの特徴とは
内部構造を規則的に構成することによって、大集積化を
実現することである。
However, with recent advances in semiconductor technology, VLS
I am now able to think about becoming an I. At that time VL
It is important to consider a decoding method that takes advantage of the characteristics of the SI architecture. A feature of the VLSI architecture is that it achieves large scale integration by regularly configuring the internal structure.

また、、R3符号の復号手順は、次のような4つのステ
ップに分けられる。
Further, the decoding procedure of the R3 code is divided into the following four steps.

ステップ1)  シンドローム生成 ステップ2)誤り位置多項式と誤り数値多項式の生成 ステップ3)誤り位置と誤りの値の生成ステップ4)誤
り訂正の実行 ステップ2はR3符号の復号に於て最も複雑なステップ
であり、そのためのアルゴリズムには、主にピーターソ
ンの方法とバーレカンブ・マツセイの方法及び、ユーク
リッドの互除法がよく知られている。ユークリッドの互
除法に基づく誤り位置多項式と誤り数値多項式の導出は
多項式の拡張GCD(最大公約)問題に帰菅できる。多
項式の拡張GCD問題はシストリック・アルゴリズムに
よって解(ことが出来る。シストリック・アルゴリズム
はK u n gらによって提案されたVLSI向きア
ルゴリズムであり、そのアーキテクチャは簡単なプロセ
ッシング・エレメント(以下、PEと呼ぶ)のネットワ
ークによって構成され、次のような特徴を持つ。
Step 1) Syndrome generation step 2) Generation of error position polynomial and error value polynomial Step 3) Generation of error position and error value Step 4) Execution of error correction Step 2 is the most complicated step in decoding the R3 code. Well-known algorithms for this purpose include Peterson's method, Berlecumbe-Matsusay's method, and Euclid's algorithm. The derivation of the error locator polynomial and the error value polynomial based on Euclid's algorithm can be reduced to an extended GCD (greatest common denominator) problem of polynomials. The extended GCD problem of polynomials can be solved by the systolic algorithm. The systolic algorithm is a VLSI-oriented algorithm proposed by K. It is composed of a network of

工)同一処理プロセッサのネットワークをデータが移動
する間に計算が行われる。
(Technical) Calculations are performed while data travels through a network of identical processors.

■)プロセッサ間のネットワークは一定規則に従って隣
接するもの同士の接続によって構成される。
■) A network between processors is constructed by connecting adjacent processors according to certain rules.

■)ネットワークのノード(プロセッサ)からノードに
データが渡るのに少な(とも1ユニツトの時間遅れがあ
る。
(2) There is a small (one unit) time delay in passing data from one node (processor) to another in the network.

このアーキテクチャはバイブライン方式の1つであり、
データを規則正しく循環させて並列処理を行う。また並
列に動作するPHの数を増やすことにより、処理能力を
増大させることが出来る。
This architecture is one of the Vibrine methods,
Perform parallel processing by regularly circulating data. Furthermore, by increasing the number of PHs that operate in parallel, processing capacity can be increased.

〔問題点を解決するための手段及び作m〕以上の点に鑑
み、本発明はシストリック・アルゴリズムの考え方を応
用し、実際にI3 CH符号の消失誤り訂正器に適用す
るための具体的アルゴリズムを検討し、特に、消失位置
多項式生成回路を同一のプロセッシング・エレメント(
以下PE)によって実現することを目的としている。
[Means and works for solving the problems] In view of the above points, the present invention applies the idea of the systolic algorithm and develops a specific algorithm for actually applying it to an erasure error corrector for I3 CH codes. In particular, the vanishing position polynomial generation circuit is constructed using the same processing element (
The aim is to achieve this through PE (hereinafter referred to as PE).

°さらに、同一のPEの構成を変化させて、ハード量と
高速性のトレード・オフを実現させる構成を示す。
Further, a configuration is shown in which the configuration of the same PE is changed to realize a trade-off between hardware amount and high speed.

[実施例] 本発明の詳細な説明に入る前に誤り訂正の原理につりで
説明する。
[Example] Before entering into a detailed explanation of the present invention, the principle of error correction will be explained.

1ULiΔ皿皿 まず、R3符号の原理について述べる。R8符号は、同
一の符号長と訂正能力を持つ線形符号の中で、最も冗長
度を低くできるという特徴を持つ、実用上非常に重要な
符号である。
1ULiΔPlate First, the principle of the R3 code will be described. The R8 code is a code of great practical importance, having the characteristic of having the lowest redundancy among linear codes having the same code length and correction ability.

R3符号は、非二元BCH符号(Bose−Chavd
huri−1−1ocquenghen  code)
の特別な場合であり、有限体く以下、GFと略す。) 
GF (q)の元で構成される。ここでは、qはGF 
(q)の元の数である。
The R3 code is a non-dual BCH code (Bose-Chavd
huri-1-1ocquenghen code)
This is a special case of finite field, hereinafter abbreviated as GF. )
It is composed of elements of GF (q). Here, q is GF
It is the original number of (q).

このqを用いると、RS符号を特徴づける各種パラメー
タが以下のように定義される。
Using this q, various parameters characterizing the RS code are defined as follows.

・符 号 長 : n(−符号中のシンボル数)n≦q
−1(2−1) ・情報シンボル数: k(−符号中の情報シンボル数)
・検査シンボル数:n−k(−符号中の検査シンボル数
)n−に=dmin−1(2−2) ・訂正能力 : t(−符号中の訂正できるシンポ数)
([X]ガウス記号0.Xを越えない最大の整数)ここ
ではdminは最小距離(ハミング距離)と呼ばれるも
のである。
・Code length: n (-number of symbols in the code) n≦q
-1 (2-1) - Number of information symbols: k (-number of information symbols in code)
・Number of check symbols: n-k (-number of check symbols in the code) n- = dmin-1 (2-2) ・Correction ability: t (-number of symbols that can be corrected in the code)
([X] Gauss symbol 0.The largest integer not exceeding X) Here, dmin is what is called the minimum distance (Hamming distance).

征−ユー化 まず、ここで符号語等の多項式表現について説明する。conquest - uization First, polynomial expressions such as code words will be explained here.

例えば、符号化したいに個の情報シンボルを1” (’
an  i、、++、  Ik−1)        
(210)とする時、これは次のように多項式表現され
る。
For example, if you want to encode as many information symbols as 1"('
an i,, ++, Ik-1)
(210), this is expressed as a polynomial as follows.

1(x)=io+i、x+i、x”+・=+i、−,x
’−”+i、−,x”−’   (2−11)同様に付
加される(n−k)個の検査シンボルC= (c。+ 
 C+ + ・・・、 Cm−*−+ )      
  (212)は、 C(x)= Co+C+ x+c=x”+ ++ CM
−に−1”X”−ト’(2−13)更に、これらをまと
めた符号語F F” (f6.  fl、  fl、・・・f、−、)
        (2−14)=c、・・自”’Cn−
に−1・to・L + 1! +・・・tm−+)  
    (215)は、 F(x) = fo+f 、 x−H,x”+ −・−
’ f、−、x’−”+f、−,x’−’ (2−16
)と多項式表現される。
1(x)=io+i, x+i, x”+・=+i, −, x
'-'+i,-,x'-' (2-11) Similarly added (n-k) check symbols C= (c.+
C+ +..., Cm-*-+)
(212) is C(x)=Co+C+ x+c=x”+ ++ CM
- to -1"X"-to' (2-13) Furthermore, a code word FF" that summarizes these
(2-14)=c,...self"'Cn-
-1・to・L + 1! +...tm-+)
(215) is F(x) = fo+f, x−H,x”+ −・−
'f,-,x'-'+f,-,x'-' (2-16
) is expressed as a polynomial.

次に、R8符号は最初に述べたように巡回符号の一種で
あるが、巡回符号を特徴づけるものに、符号化/復号の
際に用いられる生成多項式G (x)がある。この生成
多項式は、符号の検査シンボル数(n−k)に等しい次
数を持ち、かつ(x’−’ )を割り切るものでなけれ
ばならないが、RS符号では、次のような式を用いる。
Next, as mentioned at the beginning, the R8 code is a type of cyclic code, and what characterizes the cyclic code is the generator polynomial G (x) used during encoding/decoding. This generating polynomial must have a degree equal to the number of check symbols (n-k) of the code and must be able to divide (x'-'), but in the RS code, the following equation is used.

G(x)=(x−a )(x−a2)−(x−an−’
)   (2−17)(G(x)=(x−IXx−a)
−(x−a”−トつでも可)(2−18)ここでは、α
は符号が定義される有限体CF (q)の原始光である
G(x)=(x-a)(x-a2)-(x-an-'
) (2-17)(G(x)=(x-IXx-a)
-(x-a”-to can be used) (2-18) Here, α
is the primitive light of the finite field CF (q) whose sign is defined.

この(n−k)次の生成多項式を用いて(n、 k)R
S符号を得るには、以下のような手順をふむ。
Using this (n-k) order generator polynomial, (n, k)R
To obtain the S code, follow the steps below.

i)情報シンボル多項式I (x) ((2−11)式
)にxnlを乗じる。
i) Multiply the information symbol polynomial I (x) (formula (2-11)) by xnl.

1i)I(x)・Xn−kを生成多項式G (x)で割
った剰余多項式をR(x)とする。
1i) Let R(x) be the remainder polynomial obtained by dividing I(x)·Xn-k by the generator polynomial G(x).

1ii)このR(x)を検査シンボル多項式C(x)に
おきかえ、I (x)・xn−kに付加したものを符号
語多項式F (x)とする。
1ii) Replace this R(x) with a check symbol polynomial C(x), and add it to I(x)·xn-k to obtain a codeword polynomial F(x).

F(x)=I(x)−xn−’−C(x)=Q(x)・
G(x)  (220)(2−20)式を見てもわかる
様に、符号語多項式F (x)はそれを生成した生成多
項式〇(x)で割り切る事ができる。ところが、(2−
17)式の生成多項式は、α、α2.・・・α1という
根を持つから、符号語多項式F (x)はこの根を代入
すると、次式が成立する。
F(x)=I(x)-xn-'-C(x)=Q(x)・
G(x) (220) As can be seen from equation (2-20), the codeword polynomial F (x) can be divided by the generator polynomial 〇(x) that generated it. However, (2-
The generating polynomial of equation 17) is α, α2. ...Since it has a root α1, when this root is substituted into the code word polynomial F (x), the following equation is established.

F(a’)=O(i=1.2.・・・・、 n−k) 
 (2−21)この(2−21)式を行列表現すると次
のようになる(FTはFの転置行列)。
F(a')=O(i=1.2..., n-k)
(2-21) Expression (2-21) is expressed as a matrix as follows (FT is the transposed matrix of F).

ここで、左辺の行列Hは、検査行列と呼ばれ復号におい
ても重要な意味を持つ。
Here, the matrix H on the left side is called a parity check matrix and has an important meaning in decoding.

復JL法 既に述べたように、Its符号はB CH符号の一種で
あるから、一般的なりCl−1符号の復号アルゴリズム
を利用して復号を行う事ができる。但しその場合復号処
理における加算9乗算等のシンボルの取扱いは、そのR
3符号が定義される有限体CF (q)の上で行われな
ければいけない。
De-JL method As already mentioned, since the Its code is a type of BCH code, it can be decoded using the general OrCl-1 code decoding algorithm. However, in that case, the handling of symbols such as addition 9 multiplication in the decoding process will depend on the R
It must be performed on a finite field CF (q) in which three codes are defined.

GF (2”) (m :正整数)上で定義された符号
長n = 2” −1のR3符号について考えると、シ
ンボルはmビット2進数で表わされ、演算はGF(2’
″)上で行われる。また生成多項式には(2−17)式
を用い、符号の最小距離は簡単の為dmin=2t+1
と置(事にする。
Considering an R3 code with code length n = 2''-1 defined on GF(2'') (m: positive integer), the symbol is represented by an m-bit binary number, and the operation is GF(2'
''). Also, the generator polynomial is the equation (2-17), and the minimum distance between the codes is dmin=2t+1 for simplicity.
To put it (make it a thing)

g(x)=、(x−a Xx−aつ・・・(x−a”−
”>  (2−17)ただし、αは有限体GF (2″
り上の原始光さて、このようなRS符号の復号手順は、
一般的なり CH符号の場合と同様、次のような4つの
ステップに分けられる。
g(x)=, (x-a Xx-a...(x-a"-
”> (2-17) However, α is a finite field GF (2″
Now, the decoding procedure for such an RS code is as follows:
As with the general CH code, it is divided into the following four steps.

ステップ1) シンドローム計算。Step 1) Syndrome calculation.

ステップ2) 誤り位置多項式と誤り評価多項式の算出
Step 2) Calculate error locator polynomial and error evaluation polynomial.

ステップ3) 誤り位置と誤りの値の推定。Step 3) Estimation of error location and error value.

ステップ4) 誤り訂正の実行。Step 4) Execute error correction.

ステップ1 シンドローム■ユ まず、 送信された符号語をF : F=(fo、 I+、−−
−fn−+)生じた誤りをE    : E=(co、
 el、”’en−1)受信された受信語をR: R=
(ro、 rl、”rn−1)=F+E = (f+)+eo、  f++e+、 −= fn−
I+en−1)とすると、受信語の多項式表現R(x)
は次のようになる。
Step 1 Syndrome ■U First, the transmitted codeword is F: F=(fo, I+, −-
−fn−+) occurred error as E: E=(co,
el, "'en-1) R the received word: R=
(ro, rl, "rn-1) = F+E = (f+)+eo, f++e+, -= fn-
I+en-1), then the polynomial representation R(x) of the received word
becomes as follows.

R(x) =F (x) +E (x)=  (fo+
eo)  +  (f++e+)  x+  =+ (
fn−+ +en−+ ) x″−’    (223
)ところが、符号多項式F (x)に生成多項式G (
x)((2−17)式)の根a’ (i=1. ・・・
、n−k)を代入すると(F(α’) =O)が成立す
るから、受信語多項式R(x)に同様にa i (i=
1. ・・・・、n−k)を代入すると R(α’)=F(α’)+E(α’)=O+E(α’)
=E(αI)のように、誤りEだけで決まる値が求まる
R(x) =F(x)+E(x)=(fo+
eo) + (f++e+) x+ =+ (
fn-+ +en-+ ) x″-’ (223
) However, the generator polynomial G (
x) (Equation (2-17)) root a' (i=1....
, n-k), (F(α') = O) holds, so similarly a i (i=
1. ..., n-k), R (α') = F (α') + E (α') = O + E (α')
=E(αI), a value determined only by the error E is found.

これをシンドロームと呼び、改めて S= (so、 s+、 = 、 Sn−に−1)  
   (2−25)siR(α”’)=E(α1F’)
 (i= 0 、1、−、 n−に−1)  (2−2
6)と定義する。このシンドロームは誤りに関するすべ
ての情報(誤りの位置と大きさ)を含んでいる。
This is called a syndrome, and once again S= (so, s+, =, -1 for Sn-)
(2-25) siR(α”')=E(α1F')
(i = 0, 1, -, n-1) (2-2
6). This syndrome contains all the information about the error (location and size of the error).

(シンドロームは誤りがなければ0であるので、誤りの
有無を検出できる。)シンドローム((2−25)。
(Since the syndrome is 0 if there is no error, the presence or absence of an error can be detected.) Syndrome ((2-25).

(2−26)式を行列表現すると次のようになる。Expression (2-26) is expressed as a matrix as follows.

5=H−R”  (R”:Rの転訝行列)、  (2−
28)スーツブ2 誤 1″IYIIf  王゛ 誤 
、・ タ エの一ステップ2では、ステップlの計算結
果のシンドロームを利用して誤り位置多項式と誤り評価
多項式の算出を行う。まず、ここでは誤りE=(e、、
e、・・・en−+)の非零の元の数、すなわち誤りの
個数を1(1≦t)とおく。また、誤りの生じている位
置をju (u=1゜2−1り (ju=o、1−n−
1)とし、位置juにおける誤りを01.とする。更に
(2−2)、(2−3)式をn−に=dmin−]=2
t      、   (2−30)とお(。すると、
(2−26)式のシンドローム及びシンドローム多項式
は、次のように表わされる。
5=HR” (R”: R’s permuted matrix), (2-
28) Suits 2 Wrong 1″IYIIf Wang゛ Wrong
, - In Step 2 of Tae, an error locator polynomial and an error evaluation polynomial are calculated using the syndrome of the calculation result of Step 1. First, here the error E=(e, ,
Let the number of non-zero elements of e, . . . en-+), that is, the number of errors, be 1 (1≦t). Also, the position where the error occurs is ju (u=1゜2-1ri (ju=o, 1-n-
1), and the error at position ju is 01. shall be. Furthermore, convert formulas (2-2) and (2-3) to n-=dmin-]=2
t, (2-30) and (.Then,
The syndrome and syndrome polynomial of equation (2-26) are expressed as follows.

とおくと、次式が得られる。The following equation is obtained.

S  (x)=  [S−(x)コ mad  x” 
     (2−35)さて、ここで誤り位置多項式σ
(x)を次のように定義する。この多項式は、受信語中
の誤り位置ju(u” L2+”””+ ’ ) (J
u =L’ +”””n 1 )に対応するGF (2
”)の元α月”を根とする多項式である。
S (x) = [S-(x) mad x”
(2-35) Now, here the error locator polynomial σ
(x) is defined as follows. This polynomial is expressed as the error position ju(u” L2+”””+ ') (J
GF (2
It is a polynomial whose root is "element α month of )".

ty (x)=(1−(Z”X) (1−a”x) ・
(1−a”x)=n (1−(!”X)U纏1 次に、以上述べたσ(x)、5−(x)に対し誤り評価
多項式ω(x)を次のように定義する。
ty (x) = (1-(Z”X) (1-a”x) ・
(1-a"x) = n (1-(!" Define.

すると、(2−34)、(2−35)、(2−37)式
より、次式が成立する。
Then, from equations (2-34), (2-35), and (2-37), the following equation holds true.

σ (x)−8(x)  =  [ω (x)コ mo
dx2I                (2−38
)従って適当な多項式A (x)を用いてσ(x)、 
S (x)・ω(x)の関係が次のように表わされる。
σ (x) − 8(x) = [ω (x) co mo
dx2I (2-38
) Therefore, using an appropriate polynomial A (x), σ(x),
The relationship between S (x) and ω(x) is expressed as follows.

A (x)−x”+ a (x)・S (x) =(I
J (x)      (2−39)ところで、誤りの
個数lはCI!≦t)としているから、ω(x)とσ(
x)は deg ω(x) < deg a (x)≦t(2−
40)を満たす。さらにω(x)とσ(x)は互いに素
(最大公約(GCD)多項式が定数)であるから(2−
39)、(2−40)式を満たすω(x)とσ(x)は
定係数の違いを除いて一意的に定まる。以上よりω、(
x)とa (x)はx 21とS (x)の最大公約(
GCD)多項式を求めるユークリッドの互除法の過程で
求め得る。ここで、ユークリッドの互除法を利用した最
大公約(GCD)多項式の算出方法について簡単に述べ
る。まず、2つの多項式AとBの最大公約多項式をGC
D [A、B]と表わすことにする。又、このAとBに
対し次のような多項式にとn 1dcgΔ≧degnの場合N=Δ−[A−13’]−
13(2−41)+1=I)         (2−
42)・dcg八≧へcgl〕の場合λ= A    
    (2−43)L1=n−[1−A ’]−A 
  (2−44)([x−y−’]:多項式Xを多項式
Yで割った商)ヲ定a t ルト、GCD [A、Il
l トGcD [A、11コは、次式を満たす。
A (x)-x”+ a (x)・S (x) = (I
J (x) (2-39) By the way, the number of errors l is CI! ≦t), so ω(x) and σ(
x) is deg ω(x) < deg a (x)≦t(2-
40) is satisfied. Furthermore, since ω(x) and σ(x) are relatively prime (the greatest common difference (GCD) polynomial is a constant), (2−
39), ω(x) and σ(x) that satisfy equation (2-40) are uniquely determined except for the difference in constant coefficients. From the above, ω, (
x) and a (x) are the greatest commons of x 21 and S (x) (
GCD) can be obtained through the process of Euclid's algorithm for finding polynomials. Here, a method for calculating the greatest common difference (GCD) polynomial using Euclid's algorithm will be briefly described. First, GC the greatest common polynomial of the two polynomials A and B.
Let it be expressed as D [A, B]. Also, for these A and B, the following polynomial is written: If n 1dcgΔ≧degn, then N=Δ−[A−13′]−
13(2-41)+1=I) (2-
42) If dcg8≧cgl] then λ=A
(2-43) L1=n-[1-A']-A
(2-44) ([x-y-']: quotient of polynomial X divided by polynomial Y) Determine a t, GCD [A, Il
l GcD [A, 11 satisfies the following formula.

GCD [A、B] =GCD [AJ]    (2
−45)従って、上述のλとnとを改めてA、 Bとお
き、各々の次数degA、 degBの大小関係に応じ
て(2−41)。
GCD [A, B] = GCD [AJ] (2
-45) Therefore, let the above-mentioned λ and n be A and B again, and according to the magnitude relationship of the respective orders degA and degB (2-41).

(2−42)式もしくは(2−43)、  (2−44
)式の変換を行うといった操作を繰返し実行して、Aと
Bのどちらかが零多項式になった時、もう一方の非零多
項式がAとBの最大公約多項式として得られる。なお、
多項式AとBの最大公約多項式を求める事は、次のよう
な多項式CとDを求める事と変りない。なお、degは
次数のことである。
(2-42) or (2-43), (2-44
), and when either A or B becomes a zero polynomial, the other non-zero polynomial is obtained as the greatest common polynomial of A and B. In addition,
Finding the greatest common polynomial of polynomials A and B is no different from finding polynomials C and D as shown below. Note that deg refers to the order.

GCD [A、113] =C−A十D−IJ    
(2−46)すると、上記繰り返しステップを実行して
、次数がi=deg八≧deへBと表わされる多項式へ
とBの最大公約多項式を求める過程で、次式を満足する
多項式C,D、  Wを求める事ができる。
GCD [A, 113] = C-A0D-IJ
(2-46) Then, in the process of executing the above repeating steps to obtain the greatest common polynomial of B to a polynomial whose degree is expressed as B to i=deg8≧de, polynomials C, , W can be found.

この様な多項式を求める問題を拡張GCD問題と呼ぶ。The problem of finding such a polynomial is called an extended GCD problem.

従って、誤り位置多項式σ(x)と誤り評価多項式ω(
x)は、(2−47)式において、多項式AをX2′1
多項弐〇をS (x)とおいた場合の拡張GCD問題を
解く事により求まる。
Therefore, the error locator polynomial σ(x) and the error evaluation polynomial ω(
x) is, in equation (2-47), the polynomial A is
It can be found by solving the extended GCD problem when polynomial 2〇 is set as S (x).

−ルゴリズム まず前述したように、σ(x)とω(x)の専用アルゴ
リズムは拡張GCD問題に帰着できる。すなわち、x2
′を多項式AO,シンドローム多項式S (x)((2
−32)式)を多項式Boとおいた時(degAo=2
t。
- Algorithm First, as mentioned above, the dedicated algorithm for σ(x) and ω(x) can be reduced to an extended GCD problem. That is, x2
′ as polynomial AO, syndrome polynomial S (x) ((2
-32) equation) as a polynomial Bo (degAo=2
t.

degBo=2t−1)、GCD [Ao、Bo]を求
める途中で を満たす多項式り、  Wが求・ま・れば、Dが誤り位
置多項式σ(x)、Wが誤り評価多項式ω(x)を各々
表わしている。このようなσ(x)とω(x)は、定係
数の違いを除いて一意的に定まることがわかっている。
degBo=2t-1), the polynomial that satisfies GCD [Ao, Bo] is calculated as follows: If W is found, then D is the error locator polynomial σ(x), and W is the error evaluation polynomial ω(x). each represents. It is known that such σ(x) and ω(x) are uniquely determined except for the difference in constant coefficients.

従って、AoとBoに対して次のような 多項式A、 
 B、  U、 V、 L、 Mを定義し その初期値を U=M=l ;、L=V=O;  (A=Ao、B=B
o)とおいて第15図の繰返しステップを実行していき
、degA (degB) <tとなった時にA (B
)がω(x)、L (M)がσ(x)として各々求まる
Therefore, for Ao and Bo, the following polynomial A,
Define B, U, V, L, M and set their initial values as U=M=l;, L=V=O; (A=Ao, B=B
o), repeat the steps in Figure 15, and when degA (degB) < t, A (B
) is found as ω(x), and L (M) is found as σ(x), respectively.

なお、第15図の方法では、多項式Bの最高次係数αと
多項式Aの最高次係数βを各々A、  Hにたがいちが
いに乗する事により、繰返しステップおけるGF上の除
算を省略している。((2−41)。
In addition, in the method shown in Fig. 15, the division on GF in the iterative step is omitted by multiplying A and H by the highest degree coefficient α of polynomial B and the highest degree coefficient β of polynomial A, respectively. . ((2-41).

(2−43)式参照)このようにしても、σ(x)とω
(x)の値に本質的な問題は生じない。
(See equation (2-43)) Even if we do this, σ(x) and ω
There is no essential problem with the value of (x).

第15図について説明する。まず、ステップlにおいて
U=M=1. L=V=O,A=Ao、 l3=I3゜
とおいて、初期値を設定する。ステップ2においてdc
gA≧degl’lの判定を行い、ステップ3において
多項式A、  I3の最高次係数β、αを各々A、 I
3にたがいちがいに乗じ、式(2−41)、  (2−
43)の繰返しステップにおけるGF上の除算を省略し
ている。
FIG. 15 will be explained. First, in step l, U=M=1. Set initial values by setting L=V=O, A=Ao, l3=I3°. In step 2 dc
It is determined that gA≧degl'l, and in step 3, the highest degree coefficients β and α of the polynomials A and I3 are expressed as A and I, respectively.
3 is multiplied by each other, formula (2-41), (2-
The division on GF in the repetition step of 43) is omitted.

ステップ4においてdegA、degBが所定の次数よ
り小さくなった場合、ステップ5,6に進み、ω(x)
=A、σ(x) =L、ω(x) =B、σ(x) =
Mを算出す、る。
If degA and degB become smaller than the predetermined order in step 4, proceed to steps 5 and 6, and ω(x)
=A, σ(x) =L, ω(x) =B, σ(x) =
Calculate M.

なお、第15図の繰返しステップを実行するには、Aと
Bの次数に応じた3つの実行モードが必要であり、それ
らを以後次のように呼ぶ事にする。
Note that in order to execute the iterative steps shown in FIG. 15, three execution modes are required depending on the orders of A and B, and these will be referred to hereinafter as follows.

i)  degA、 degB≧tかつdegA≧de
gB−’reduceA”ii)degA、degB≧
tかつdegA≧degB−・・“reduceB″1
ii) degA < t  もしくは degB<t
  −” ”nop”ステップ31r 1♂ 曾P の
」の 〜ステップ3では、ステップ2で得られた誤り位
置多項式σ(x)と誤り評価多項式ω(x)から、誤り
位置と誤りの値の推定を行う。まず、受信語R= (r
o、 x、−−−、rn=’)中のシンボルの位ff1
t=o。
i) degA, degB≧t and degA≧de
gB-'reduceA"ii) degA, degB≧
t and degA≧degB−・・“reduceB”1
ii) degA < t or degB < t
-""nop" Step 31r 1♂ SoP's ~ In step 3, the error location and error value are estimated from the error location polynomial σ(x) and error evaluation polynomial ω(x) obtained in step 2. I do. First, the received word R= (r
o, x, ---, rn=') symbol position ff1
t=o.

l・・・n −1に応じたGF(2”)の元α−1を誤
り位置多項式σ(x)に逐次代入する。この時、(2−
36)式よりσ(a ” ’ ) = Oが成立するな
らば、iが誤り位置juに対し、α−1=α−1uが成
立している事がわがる。(j u = 0 、1−n 
−1、u = 1 、2−1 、 1≦t)また、その
ようなα1=α−)“に対する誤り評価多項式ω(x)
の値は次のようになる。
The element α-1 of GF(2") corresponding to l...n-1 is successively substituted into the error locator polynomial σ(x). At this time, (2-
From formula 36), if σ(a '' ) = O holds true, it can be seen that α-1 = α-1u holds true for i at the error position ju. (j u = 0, 1 -n
-1, u = 1, 2-1, 1≦t) Also, the error evaluation polynomial ω(x) for such α1 = α-)
The value of is as follows.

更に、σ′(x)をσ(x)の微分とすると、が成立す
る。従って(2−48)式と(2−49)式より誤り位
置juにおける誤りの値C1は次式より求められる。
Furthermore, if σ'(x) is the differential of σ(x), then the following holds true. Therefore, from equations (2-48) and (2-49), the error value C1 at the error position ju can be obtained from the following equation.

前述したように、復号のステップ3)では、ステップ2
)で得られた誤り位置多項式σ(x)、誤り評価多項式
ω(x)ならびにσ(x)の微分σ′(x)という3つ
の多項式に、そのRS符号が定義されるCF(2”)の
元α−’ (j=n−1,・2,1.0)を逐次代入し
てその値を求める計算が必要となる。(ここでは受信シ
ンボルが受信語多項式の高次の項から入力される。すな
わちrjがj=n−1,・・・、2,1.0の順で入力
されるとする。従って、ステップ3)についての説明で
は、a= (j=n−1,・−・、2,1.0)の代入
の順が逆となる事に注意しなければならない。)ここで
、具体的に必要な計算は単に多項式に変数を代入し、そ
の値を求めるだけであるから (5−10)式と同様の
アルゴリズムを利用できる。例えば、を次多項弐f (
x)の計算は次のように展開される。
As mentioned above, in step 3) of decoding, step 2
CF(2”) whose RS code is defined by three polynomials: the error locator polynomial σ(x) obtained from ), the error evaluation polynomial ω(x), and the differential σ′(x) of σ(x) It is necessary to calculate the value by successively substituting the element α-' (j = n-1, ・2, 1.0). (Here, the received symbol is input from the higher-order term of the received word polynomial.) In other words, assume that rj is input in the order of j=n-1,..., 2, 1.0.Therefore, in the explanation of step 3), a= (j=n-1, . -・, 2, 1.0) must be noted that the order of substitution is reversed.) Here, the concrete calculation required is simply to substitute the variable to the polynomial and find its value. Since there is
The calculation of x) is developed as follows.

f  (x)  =  ftx’+ft−1x’ −’
+・・・十r、x−)−f。            
      (5−11)= I−・・[(ftx+f
t−1) x−Ht−2) x+・・・+f+l x+
fo  (5−12)但し、シンドローム計算では各セ
ルが代入すべきXをあらかじめ持っており、各セルに係
数を与えてスーツ 4  W   の!−′− (2−9)式より、誤りの生じている位置juにおける
受信シンボルr。は、本来の符号語のシンボルf2と誤
りの大きさe2から次のように表わされる。
f (x) = ftx'+ft-1x'-'
+...10r, x-)-f.
(5-11) = I-...[(ftx+f
t-1) x-Ht-2) x+...+f+l x+
fo (5-12) However, in the syndrome calculation, each cell has X to be substituted in advance, and a coefficient is given to each cell to calculate suit 4 W's! -'- From equation (2-9), the received symbol r at the position ju where the error occurs. is expressed as follows from the symbol f2 of the original code word and the error magnitude e2.

rJu= rlu −el、、(251)従ってステッ
プ4では、ステップ3の実行結果a (α−’) =O
が成立した位置i (i=0.1.−n  1)におい
て、受信シンボルr1から を引<  (GF(2”)上)  f、 = r+ −
el    (2−53)事により、位置iにおける誤
り訂正を実行する。
rJu= rlu −el,, (251) Therefore, in step 4, the execution result of step 3 a (α−′) =O
At the position i (i=0.1.-n 1) where is established, subtract the received symbol r1 < (on GF(2")) f, = r+ -
el (2-53) performs error correction at position i.

次に上述した誤り訂正の原理を考慮した上で、本発明の
実施例の構成・動作について説明する。
Next, the configuration and operation of the embodiment of the present invention will be described, taking into consideration the principle of error correction described above.

ここでシストリック・アーキテクチャの基本となるプロ
セッシング・エレメント(PE)を図1のように定める
Here, the processing element (PE) that is the basis of the systolic architecture is defined as shown in FIG.

第1図に於て、lはA、  n、 Cの入力をSl、 
S2の選択信号によって表1のようにX、  Yに出力
するセレクタであり、2,3に示すOはガロア体上の乗
算器でありROMによって実現できるが、ゲート回路に
よっても実現できる。また、4に示す■はガロア体上の
加算器でありEXOR回路によって実現できる。5から
7はクロックCKによってラッチするレジスタである。
In Figure 1, l represents the inputs of A, n, and C as Sl,
It is a selector that outputs to X and Y as shown in Table 1 according to the selection signal of S2, and O shown in 2 and 3 are multipliers on a Galois field, which can be realized by a ROM, but can also be realized by a gate circuit. 4 is an adder on a Galois field and can be realized by an EXOR circuit. Registers 5 to 7 are latched by the clock CK.

GF (2’)上のゲート回路によるセレクタ、及び乗
算器、加算器(原始多項式p (x) =x’+x’+
x”+x”+x+1の場合)を考えた場合、第2図、第
3図、第4図のように実現でき、IPHに要する回路規
模、及び処理速度は各々約800ゲート、及びlゲート
に要するディレィを5−10nsとした場合10−20
Mhz=80−1610−2O(1シンボル(8ビツト
)単位で処理を行うため)となる。(lゲートにおける
ディレィはTTLレベルとしたが、PHに於ける処理部
であるセレクタ、乗算器、加算器は1箇所に固められて
いるので、vLSI化の際この部分を最適化して高速化
することによって更に処理速度の高速化が図れる。) また、IPEの構成を第5図のように拡張することによ
って、インターフェース部の少ない接続にすることが゛
出来る。第5図は1のセレクタを5人力4出力のセレク
タとしく出力の組合せは選択信号S1.。
Selector by gate circuit on GF (2'), multiplier, adder (primitive polynomial p (x) =x'+x'+
x"+x"+x+1), it can be realized as shown in Figures 2, 3, and 4, and the circuit scale and processing speed required for IPH are approximately 800 gates and 1 gate, respectively. 10-20 when delay is 5-10ns
Mhz=80-1610-2O (because processing is performed in units of 1 symbol (8 bits)). (The delay in the l gate is set to TTL level, but since the selector, multiplier, and adder, which are the processing parts in the PH, are consolidated in one place, this part will be optimized and speeded up when converting to vLSI. (By doing so, the processing speed can be further increased.) Furthermore, by expanding the configuration of the IPE as shown in FIG. 5, connections with fewer interface sections can be achieved. In FIG. 5, the selector 1 is a five-man power, four-output selector, and the combination of outputs is the selection signal S1. .

4によって表2のようにする)、レジスタを5個に増や
したものである。このPEに要する回路規模は約100
0ゲートとなるが、処理速度は変わらない。
4 as shown in Table 2), the number of registers is increased to five. The circuit scale required for this PE is approximately 100
0 gate, but the processing speed remains the same.

このPEを用いることによって、全てのPEを同じクロ
ックで動作させ、全体のシステムの制御を各PEの選択
信号S1..4のみとすることが出来る。
By using this PE, all PEs are operated with the same clock, and the entire system is controlled by each PE's selection signal S1. .. It is possible to have only 4.

(シンドローム生成部) ステップlでは受信系列R(rn−II rn−2”・
+rl+r□)からステップ2で必要なシンドローム多
項式%式% 具体的なシンドローム多項式の係数の計算は、受信系列
Rの受信シンボルrn−I、 rn−2”’、rl、 
 roがシリアルに送られるので、次式のような繰り返
しアルゴリズムで表される。
(Syndrome generation unit) In step l, the received sequence R(rn-II rn-2”・
+rl+r□) to the syndrome polynomial % expression % required in step 2. To calculate the specific coefficients of the syndrome polynomial, the received symbols rn-I, rn-2"', rl,
Since ro is sent serially, it is expressed by an iterative algorithm as shown below.

s、、+ =(・((r、、、*α’+rn、z)*α
’+rn、)*α’+・+r、)*α1+r6 従って、上式は次のように分解される。
s,,+ =(・((r,,,*α'+rn,z)*α
'+rn, )*α'+・+r, )*α1+r6 Therefore, the above equation can be decomposed as follows.

Z0=O Z+ =21−+ *(2’ + rn−+     
  (!” 1.・・−、n)Sb、+ = Zll 第1図のPEを第6図のように用い、第8図のように信
号、を送る。
Z0=O Z+ =21-+ *(2' + rn-+
(!” 1....-, n) Sb, + = Zll The PE shown in Fig. 1 is used as shown in Fig. 6, and the signal is sent as shown in Fig. 8.

最初(i=1)、rn−1がセレクタ人力Bに入力され
る。セレクタのY出力はB入力を選択し、rn−1を出
力する。このときZl=Zo*α’ + r n−1を
計算するためにZo=OとなるようにセレクタのX出力
はCを選択し、Oを出力する(Sl、2=1.O)。
Initially (i=1), rn-1 is input to selector B. The Y output of the selector selects the B input and outputs rn-1. At this time, in order to calculate Zl=Zo*α' + r n-1, the X output of the selector selects C so that Zo=O, and outputs O (Sl, 2=1.O).

そのX、  Y出力は各々αI、  1を乗算され、そ
の出力同士を加算することによってZl”rn−1力に
生成され、次のクロックでレジスタ6に入力される。
The X and Y outputs are respectively multiplied by αI and 1, and by adding the outputs together, a Zl''rn-1 output is generated, which is input into the register 6 at the next clock.

また、同じクロックでレジスタ7にはY出力r1−1が
入力される。次に(i=2.・・・+ n)、セレクタ
のX出力をA入力が選択されるようにすることによって
前出力Zi−1がXから出力されるので(SL、 2=
0゜0)、Zi=Zi−1*tl’+ rn−iが計算
され、i=nのときシンドローム多項式の1つの係数5
i−1が生成される。その間レジスタ7からは、rlが
順次出力される。
Furthermore, the Y output r1-1 is input to the register 7 at the same clock. Next, (i=2...+n), by setting the X output of the selector so that the A input is selected, the previous output Zi-1 is output from X, so (SL, 2=
0゜0), Zi=Zi-1*tl'+rn-i is calculated, and when i=n, one coefficient 5 of the syndrome polynomial
i-1 is generated. During this time, rl is sequentially output from the register 7.

このPEを第7図のように接続して、α1の値を割り付
けることによってシンドローム多項式の各係数が順次生
成される(タイミングは第8図に示す)。
By connecting these PEs as shown in FIG. 7 and assigning the value of α1, each coefficient of the syndrome polynomial is sequentially generated (the timing is shown in FIG. 8).

また、シンドローム多項式の各係数を同時に生成させる
には、第10図のようにPE同士を接続する。この場合
、受信シンボルr1の通信距離が各PEによって異なる
ことに注意しなければならない(タイミングは第11図
に示す)。
Furthermore, in order to simultaneously generate each coefficient of the syndrome polynomial, PEs are connected to each other as shown in FIG. In this case, it must be noted that the communication distance of the received symbol r1 differs depending on each PE (timing is shown in FIG. 11).

また、第5図のPEを第12図のように用い、第13図
のように接続することによって、シンドローム多項式の
各係数を最後のPEから連続して出力することが出来る
。第13図の回路に第14図のように信号を入力する。
Furthermore, by using the PEs shown in FIG. 5 as shown in FIG. 12 and connecting them as shown in FIG. 13, each coefficient of the syndrome polynomial can be output continuously from the last PE. A signal is input to the circuit shown in FIG. 13 as shown in FIG. 14.

最初のI’Eにおいて通常セレクタ出力WはD入力を選
択しているが、シンドローム521−1が生成されたと
き選択信号S 1、.4 =1010とすることによっ
てW 1.: A入力を出力してレジスタ8にシンドロ
ーム521−1を入力し、5(x)から出力させる。次
のPEにシンドロームS 21−2が生成されたときD
入力から前PEの出力52L−1が入力されているので
S 2L−2を1クロツクずらすためにへ入力をZに出
力して(Sl、、4=1110)、レジスタ9にシンド
ロームS 21−2を取り込む。その出力を次のクロッ
クでWに出力することによって(Sl、、4=OOIO
)レジスタ8にS2ト2が入力され、S (x)から5
2L−1の次にS 21−2を出力させることが出来る
In the first I'E, the selector output W normally selects the D input, but when the syndrome 521-1 is generated, the selection signals S1, . 4 = 1010, W 1. : Output the A input, input syndrome 521-1 to register 8, and output from 5(x). When syndrome S 21-2 is generated in the next PE
Since the output 52L-1 of the previous PE is input from the input, the input is output to Z to shift S2L-2 by one clock (Sl,,4=1110), and the syndrome S21-2 is input to register 9. Incorporate. By outputting that output to W at the next clock (Sl,,4=OOIO
) S2 and 2 are input to register 8, and S (x) to 5
S21-2 can be output next to 2L-1.

それ以降のPEはシンドロームS i−+が生成されて
からS (x)に出力させるタイミングが更に1クロツ
クづつずれてい(ので、Sl、、4=OO10とするタ
イミングを1クロツクづつずらしてい(。これによって
、最後のPEのS (x)からシンドローム多項式の係
数521−1 、・・・、Soを連続出力させることが
出来る。
For subsequent PEs, the timing for outputting to S (x) after the syndrome S i-+ is generated is further shifted by one clock (therefore, the timing for setting Sl,,4=OO10 is shifted by one clock). As a result, the coefficients 521-1, . . . , So of the syndrome polynomial can be continuously output from S(x) of the last PE.

第7図、第10図、第13図共に、必要なPEの数は2
を個であり、処理速度は10−210−2O(word
/ s e c )である。
In Figures 7, 10, and 13, the number of PEs required is 2.
, and the processing speed is 10-210-2O (word
/sec).

(GCD生成部 (誤り位置多項式及び誤り数値多項式
生成))ステップ2の誤り位置多項式σ(x)と誤り数
値多項式ω(x)の導出アルゴリズムは、拡張GCD問
題に帰着できる。即ち、x 2 +を多項式A0、シン
ドローム多・項式S (x)を多項式B0とおいた時(
d e g A 。
(GCD generation unit (error locator polynomial and error numeric polynomial generation)) The algorithm for deriving the error locator polynomial σ(x) and the error numeric polynomial ω(x) in step 2 can be reduced to an extended GCD problem. That is, when x 2 + is set as polynomial A0 and syndrome polynomial S (x) is set as polynomial B0 (
d e g A .

=2t、 degBo=2t −1)、GCD [A、
、 B、]を求める途中で、 degW<t、degD≦t C* A、 + D *’Bo = Wを満たす多項式
り、W(Dが誤り位置多項式σ(x)、Wが誤り数値多
項式ω(x)を表す)を求める問題に帰着される。この
ようなσ(x)とω(x)は、定係数の違いを除いて一
意的に定まることがわかっている。従って、Δ。とBo
に対して次のような多項式A、  n、  U、  V
、  L、  Mを定義し、Δ=U*Ao十L*I3゜ し= V * A0+ M * [lI+その初期値を U=M=1.  I、=V=O,(A=A、、  l3
=B、)とおいて第15図の繰り返しステップを実行し
ていき、dcgA(degI3)<tとなったときにA
 (n)がω(x)、L (M)がσ(x)として各々
求まる。
=2t, degBo=2t-1), GCD [A,
. (x)). It is known that such σ(x) and ω(x) are uniquely determined except for the difference in constant coefficients. Therefore, Δ. and Bo
For the following polynomials A, n, U, V
, L, and M, and Δ=U*Ao×L*I3゜=V*A0+M*[lI+its initial value as U=M=1. I,=V=O,(A=A,, l3
= B, ), and execute the repeated steps in Fig. 15, and when dcgA (degI3) < t, A
(n) is found as ω(x), and L (M) is found as σ(x).

なお第15図の方法では多項式Bの最高次係数αと多項
式への最高次係数βをA、  Bに各々互い違いに乗す
ることにより、繰り返しステップにおけるGF上の除算
を省略している。このようにしても、σ(x)、とω(
x)の値に本質的な問題は生じない。
In the method shown in FIG. 15, the division on GF in the repetition step is omitted by multiplying A and B alternately by the highest degree coefficient α of polynomial B and the highest degree coefficient β to the polynomial. Even if we do this, σ(x) and ω(
There is no essential problem with the value of x).

しかし、ここで問題となるのは処理の途中で多項式の長
さが変化することである。例えば、1回の処理に注目し
た場合degAとdegBの差の大きさによって、生成
されるAまたはBの多項式の次数、即ち多項式の長さが
変化する。このような入力多項式の長さの変化にPEの
機能を対応させようとすると、各PEに非常に複雑な機
能が要求される。またその場合、個々のPEの計算量が
不均等になり効率が悪い。この問題を解決するために、
K u n gらの拡張G CD IL’l iを解く
シストリック・アルゴリズムでは、各PEへの多項式の
入力を個々の係数データとA、  Hの次数差に分けて
いるが、ここでは各PEへの入力を多項式の係数データ
のみとし、次数差は別の回路によって次の3つのモード
として生成°し、PEのセレクタ選択信号として用いる
However, the problem here is that the length of the polynomial changes during the process. For example, when focusing on one process, the degree of the generated polynomial of A or B, that is, the length of the polynomial, changes depending on the magnitude of the difference between degA and degB. In order to make the functions of the PEs correspond to such changes in the length of the input polynomial, each PE is required to have very complex functions. Moreover, in that case, the amount of calculation for each PE becomes uneven, resulting in poor efficiency. to solve this problem,
In the systolic algorithm for solving the extended G CD IL'l i of K. Only the coefficient data of the polynomial is input to the controller, and the order difference is generated in the following three modes by a separate circuit and used as a PE selector selection signal.

1)  reduceA;  = degA、 deg
B≧tかツdegA≧degB2)  reduceB
;  = degA、degB≧tかつdegA≧de
gB3)  nop   ;  = degA<tまた
はdegB<tまた、個々のPHの計算量を均等にする
ために、1回の処理におけるAまたはBの次数の変化を
高々1次にとどめる。このようにすると、A、 Bのd
egA。
1) reduceA; = degA, deg
B≧t or degA≧degB2) reduceB
; = degA, degB≧t and degA≧de
gB3) nop; = degA<t or degB<t Furthermore, in order to equalize the amount of calculation for each PH, the change in the order of A or B in one process is limited to at most the first order. In this way, d of A and B
egA.

degB次の項が非零とは限らなくなるが、A (B)
のdegA (degB)次の項が零であれば、A (
B)を単に高位シフトしてやるといつた操作を行えば問
題ない。
degB The next term is not necessarily non-zero, but A (B)
degA (degB) If the next term is zero, then A (
There is no problem if you simply shift B) to a higher position.

従って、第15図のアルゴリズムは第16図のようにす
ることが出来る。第15図においてA (B)またはL
 (M)を求めるアルゴリズムは次数処理を除いて同じ
であるので、第16図ではP r o c e s s
部を共通の表現で示している。実際の回路ではA (B
)を求めるときとL (M)を求めるときでProce
ss部を独立に2つ持つか、1つを2回用いなければな
らない。以下、1つのProcess処理について評価
を行うが、1つのProcess部を2回用いる場合は
処理速度を半分にし、2つのProcess部を独立に
持つ場合には必要なPHの数を2倍にすればよい。
Therefore, the algorithm shown in FIG. 15 can be changed to the one shown in FIG. In Figure 15, A (B) or L
The algorithm for calculating (M) is the same except for the order processing, so in Fig. 16, P r o c e s s
The parts are shown using common expressions. In the actual circuit, A (B
) and when calculating L (M).
It is necessary to have two independent ss sections or use one section twice. Below, we will evaluate one Process process, but if one Process part is used twice, the processing speed should be halved, and if two Process parts are used independently, the number of required PHs should be doubled. good.

GCD生成のための主な具体的計算は、第16図のPr
ocessと表された部分であるので、これをPEで実
現することを考える。但し、Setで表された次数処理
、及び5tateを設定する部分は変則的な処理である
ので、外部回路によって実現する。この回路は第31図
に示すようにα、βの0検出回路1.2(ORによって
構成される)と次数の比較器3、4.5 (コンパレー
タ)の結果から5tateを定める回路6 (ROM等
)と次数の減算器7,8(アダーによって構成される)
によって構成され非常に小さな回路規模で実現出来る。
The main specific calculation for GCD generation is Pr in Figure 16.
Since this is the part expressed as ocess, consider implementing this with PE. However, since the order processing represented by Set and the part for setting 5tate are irregular processing, they are realized by an external circuit. As shown in FIG. 31, this circuit is a circuit 6 (ROM etc.) and order subtractors 7, 8 (configured by adders)
It can be realized with a very small circuit scale.

Process処理は、入力→選択→積和処理となって
いるのでIPEの動作に対応している。5tateの状
態はセレクタの選択信号St、  S2によって表3の
ように対応させる。Process処理1回をIPHに
割り当てた場合、第18図のように接続される。第18
図において一番上の段は、α、βを設定するための段で
あり、各PEで決定されたα。
Process processing is input→selection→product-sum processing, so it corresponds to the operation of IPE. The state of 5tate corresponds to the selection signals St and S2 of the selector as shown in Table 3. When one process is assigned to IPH, the connection is as shown in FIG. 18. 18th
The top row in the figure is a row for setting α and β, and α determined by each PE.

β(G、 Hから出力)はその下の列全てに共通である
。また5tateの状態もまた各列について共通である
β (output from G, H) is common to all columns below it. Furthermore, the state of 5tate is also common to each column.

この場合、必要なPHの数は2t* (2t+2)個で
あり、処理速度は1符号語単位で処理されるので10−
210−2O(length/5ec) =n* (1
0−20)Mwps (word/5ec) =n* 
(80−160) Mbps(b i t / s e
 c ) (nは符号長)となる。
In this case, the number of required PHs is 2t* (2t+2), and the processing speed is 10-1 because it is processed in units of one code word.
210-2O(length/5ec) =n* (1
0-20) Mwps (word/5ec) =n*
(80-160) Mbps (bit/se
c) (n is the code length).

また、Process処理2を回、即ちl多項式毎の処
理をlPEに割り当てた場合、第22図のように接続さ
れる。第22図においてa目、bIlを実現するために
レジスタ5.7の後にレジスタを挿入している。これに
よって、次のPEへの係数データ入力をA、  I3.
 Cの多項式について、個々の多項式の次数に相当する
項を互いに揃えて高次から順次入力することになる。ま
たα、βを設定するためにCK 2、及びCLで制御さ
れるレジスタを外部的に付加する必要がある。入力多項
式A、  I3.  Cを5tateによって選択した
x、y出。
Further, when Process processing 2 is performed twice, that is, processing for each l polynomial is assigned to lPE, the connections are made as shown in FIG. 22. In FIG. 22, a register is inserted after register 5.7 to realize bIl. This allows coefficient data input to the next PE to A, I3.
Regarding the polynomial of C, terms corresponding to the degree of each polynomial are aligned with each other and inputted sequentially from the higher degree. Further, in order to set α and β, it is necessary to externally add registers controlled by CK2 and CL. Input polynomial A, I3. x, y output with C selected by 5tate.

力多項式の最高次数の係数を各々互い違いにβ。The coefficients of the highest degree of the power polynomial are each alternately β.

αとしH,Gから出力してCK 2でラッチして、各々
のPE毎にその値をレジスタに保存する。但し、A、 
 B、  Cの多項式の最高次数入力中はα。
α is output from H and G, latched by CK 2, and the value is stored in a register for each PE. However, A,
α during the highest degree input of polynomials in B and C.

βが定ま、らないためCLによって0が出力される(最
高次数の処理結果は0となることが決っているため)。
Since β is not determined, CL outputs 0 (because it is determined that the processing result of the highest order is 0).

この場合、必要なPHの数は2t*2個であり、処理速
度はProcess処理2を回をIPRに割り付けるの
で、(10−20) /2tM1psとる。
In this case, the number of required PHs is 2t*2, and the processing speed is (10-20)/2tM1 ps because Process 2 is allocated to IPR.

ここで、第25図に示す例について第18図、第22図
の接続でA (B)を求める場合の信号の流れを各々第
19図、第23図に示し、L (M)を求める場合の信
号の流れを第20図、第24図に示す。(α。
Here, for the example shown in FIG. 25, the signal flows when finding A (B) using the connections shown in FIGS. 18 and 22 are shown in FIGS. 19 and 23, respectively, and when finding L (M), The signal flows are shown in FIGS. 20 and 24. (α.

βの値はA (B)の処理の時決定され、L (M)の
処理の時まで保存されるとする) また、第5図に示すPEを第26図のように用いて、第
27図のように接続することによって第22図の接続を
最初に定めた通信路の条件である隣同士か自分自身とで
き、かつ第13図のシンドローム出力S (x)を直接
受けて誤り位置多項式、及び誤り数値多項式を出力する
ことが出来る。(タイミングは第23図、第24図と同
じ。但し、#0のPEはA (B)の処理の最初のみS
l、、4=OOOO1以降S1.。
It is assumed that the value of β is determined during the processing of A (B) and is saved until the processing of L (M)).Also, using the PE shown in FIG. By connecting as shown in the figure, the connection in Figure 22 can be made between neighbors or itself, which is the condition of the communication path originally determined, and the error locator polynomial can be directly received from the syndrome output S (x) in Figure 13. , and the error numerical polynomial can be output. (The timing is the same as in Figures 23 and 24. However, #0 PE is S only at the beginning of A (B) processing.
l,, 4=OOOO1 onwards S1. .

4=0100とし、L (M)の処理の最初のみSl、
、4=1100、以降S1..4=0100とすること
によって第23図、第24図の入力が実現される。)ま
た、Process処理の#毎の処理をIPHに割り当
てた場合、第5図のPEを図28のように用いて、第2
9図のように接続される。この場合、必要なPEの数は
2を個であり、処理速度は(10−20)/ (2t+
2) Mlpsとなる(タイミングは第19図、第20
図と同じ)。
4=0100, and only the beginning of the processing of L (M) is Sl,
, 4=1100, hereafter S1. .. By setting 4=0100, the inputs shown in FIGS. 23 and 24 are realized. ) Also, if the processing for each # of Process processing is assigned to IPH, the PE in Fig. 5 is used as shown in Fig. 28, and the second
9. Connect as shown in Figure 9. In this case, the number of PEs required is 2, and the processing speed is (10-20)/(2t+
2) Mlps (timing is shown in Figures 19 and 20)
(same as figure).

(誤り位置、及び誤り値生成部) ステップ3では、ステップ2で得られた誤り位置多項式
σ(x)、誤り数値多項式ω(x)、ならびにσ(x)
の微分のσ′(x)という3つの多項式に、そのR3符
号が定義されるGF (2−)の元α−’(i=n−1
,・・・、1.0)を逐次代入してその値を求める計算
が必要である。ここで具体的に必要な計算は単に多項式
に変数を代入し、その値を求めるだけであるから、シン
ドローム計算と同様の繰り返しアルゴリズムを利用でき
る。例えば、t−1火炎項式「(x)の計算は次のよう
に展開される。
(Error position and error value generation unit) In step 3, the error position polynomial σ(x), error value polynomial ω(x), and σ(x) obtained in step 2 are
Element α-' (i=n-1
, . . . , 1.0) must be sequentially substituted to find the value. The specific calculation required here is simply substituting a variable into a polynomial and finding its value, so an iterative algorithm similar to the syndrome calculation can be used. For example, the calculation of the t-1 flame term "(x) is expanded as follows.

f(x) =f、−,* ’x’−’+f、−、* x
’−” ・・・+f 、 * x+f。
f(x) = f, -, * 'x'-' + f, -, * x
'-''...+f, *x+f.

”(((L−+ *x+f、ω*+f、−3)*X+・
・・十fυ*x十fo)従って、シンドローム計算と同
様の次式のように分解される。
”(((L-+ *x+f, ω*+f, -3)*X+・
...10fυ*x1fo) Therefore, it is decomposed as the following equation, which is similar to the syndrome calculation.

Z0=O Z(= Zl−+ * X + L−+      (
j = 1 +・・・、1)f(x)=Z。
Z0=O Z(= Zl-+ * X + L-+ (
j = 1 +..., 1) f(x) = Z.

但し、シンドローム計算では各I’Eが代入すべきXを
予め持っており、各r’Eに係数を代入していったが、
ここでは係数f、−+ 0 =1 、・・・、1)が予
めわかっておりXが各PEに代入される。
However, in the syndrome calculation, each I'E has X to be substituted in advance, and a coefficient is substituted for each r'E.
Here, the coefficient f, -+ 0 = 1, . . . , 1) is known in advance, and X is substituted into each PE.

従って、第1図のPEを第32図のように用い、第33
図のように接続して、第34図のように信号を送る。第
33図は、選択信号Sl、2=00に固定してB入力に
係数f、lを設定して置きA入力からα−1を順次入力
して行くことにより、最後のPEからf(α−1)の値
が順次出力されるようにしたものである。1つのI’E
にZ+−1(前PEのe出力)とα−1(前PEのα−
」出力)が同時に入力され、そのI’EからZ+ = 
Zl−+ *α−’ + f、−、、及びα−1が出力
される構成になっている。
Therefore, using the PE in FIG. 1 as shown in FIG. 32,
Connect as shown in the figure and send signals as shown in Figure 34. FIG. 33 shows that f(α -1) are output sequentially. One I'E
Z+-1 (previous PE's e output) and α-1 (previous PE's α-
” output) are input at the same time, and from that I'E Z+ =
The configuration is such that Zl-+ *α-' + f, -, and α-1 are output.

この処理を、i=1からtまで各々のPEに割り付ける
ことによって、f (x)が計算される。
f (x) is calculated by assigning this process to each PE from i=1 to t.

また、第5図の構成のPEを第35図のように用い、第
36図のように接続して、第37図のように信号を送る
。まず係数fの設定は、E入力にfl−+(j=1.・
・・、1)を順次入力し、各PEが設定されるべきLl
の値が入力されたとき、選択信号S1..4=OOIO
とする。これによって、W、Z出力からfl−1が出力
されレジスタ8に「1.が入力される。それ以後、Sl
、。
Further, the PE having the configuration shown in FIG. 5 is used as shown in FIG. 35, connected as shown in FIG. 36, and signals are sent as shown in FIG. 37. First, the coefficient f is set by applying fl-+(j=1.・
. . , 1) are input sequentially, and each PE is set to Ll.
When the value of S1. is input, the selection signal S1. .. 4=OOIO
shall be. As a result, fl-1 is output from the W and Z outputs, and "1." is input to register 8. After that, Sl
,.

4=0000とすることによってレジスタ8にfl−1
が蓄えられる。そして、次の受信系列の処理を行うとき
、Sl、、4=0110とすれば、レジスタ8に蓄えら
れていたLlがY出力から出力されレジスタ7に入力さ
れる。以降、選択信号St、、4=OOOOとすればY
出力からは常に「11が出力され、各PEにf +−1
が設定されたことになる。その間、X出力はへ入力を選
択し、α−’(i=n−1,・・・、0)が出力され続
け、そのα−1出力はレジスタ5から1クロック遅本で
次のPEに順次送られる。それを1受信系列毎に行うこ
とによって、第34図のf(α−1)の計算が行われる
。これを、第13図、第27図の回路とつなげることに
よってステップ1−3がインターフェース回路なしで実
現できる。
By setting 4=0000, fl-1 is stored in register 8.
is stored. Then, when processing the next received series, if Sl, , 4=0110, Ll stored in register 8 is output from the Y output and input to register 7. Hereinafter, if the selection signal St, , 4=OOOO, then Y
The output always outputs "11", and each PE receives f +-1
is now set. Meanwhile, the X output selects the input to, and α-' (i=n-1,..., 0) continues to be output, and the α-1 output is sent to the next PE from register 5 with a one-clock delay. Sent sequentially. By performing this for each received sequence, f(α-1) in FIG. 34 is calculated. By connecting this to the circuits shown in FIGS. 13 and 27, steps 1-3 can be realized without an interface circuit.

第34図、第36図の回路はω(x)、σ(x)。The circuits in FIGS. 34 and 36 have ω(x) and σ(x).

σ′(x)の計算のために3セツト必要である。1セツ
トはt個必要であるので、必要なPEの数は3t個であ
り、処理速度はα″′(i=n−1,・・・、0)が1
ワード毎に対応して順次処理されるため10−210−
2Oである。
Three sets are required for the calculation of σ'(x). Since 1 set requires t PEs, the number of PEs required is 3t, and the processing speed is 1
Since each word is processed sequentially, 10-210-
It is 2O.

ここで、σ(x)の微分式σ′(x)の係数を考える。Here, consider the coefficients of the differential equation σ'(x) of σ(x).

f(x)=f、、*x”+f+−2*xl−”+−+f
、*x+f。
f(x)=f,,*x"+f+-2*xl-"+-+f
, *x+f.

としたとき、f(’x)の微分式f’(x)はf’ (
x)=(t  1)*L−1*x’−”+(t  2)
*fl:4*X’−”+−+flとなる。(t−i)の
値が偶数のとき、ガロア体の性質から(t−i)=Oと
なるので、f’(x)の係数は飛び飛びに0の値をもつ
。、従7.り、て1.1σ′(x)の係数の設定はO係
数の時、係数設定時に選択信号S1.。
Then, the differential expression f'(x) of f('x) is f' (
x)=(t1)*L-1*x'-"+(t2)
*fl:4*X'-"+-+fl.When the value of (t-i) is an even number, (t-i)=O due to the properties of the Galois field, so the coefficient of f'(x) has a value of 0 intermittently.When the coefficient of 1.1σ'(x) is set as an O coefficient, the selection signal S1.

4=0010の代わりにSl、、4=OO01とすれば
、C入力のOがW出力から出力されレジスタ8に設定さ
れる。
If 4=OO01 is set instead of 4=0010, O of the C input is output from the W output and set in the register 8.

(消失位置多項式生成部) S個の消失誤りが位置jl、 j2.・・・+JSに生
じ、1個の消失以外の誤りが位置kl、  k2.・・
・、krに生じている場合を考える。但し、 2r+s+1≦d  (d:最小距離)が成立している
と仮定する。ここで、 Yi=a1’   (i==t、  2.−、s)とし
、消失位置多項式λ(x)を λ(x)=(1−Y+*x)*(I  Y=*x)−・
・(l  Yi*x)とお(と 5(x)*λ(x) (7(x) = ω(x)mod
x”が成立することが導ける。但しσ(x)は誤り位置
多項式であり、ω(x)は となるr+s−1次以下の多項式である。但し、E。
(Erasure position polynomial generation unit) S erasure errors are at positions jl, j2 . ...+JS, and errors other than one erasure occur at positions kl, k2 .・・・
・, consider the case where this occurs in kr. However, it is assumed that 2r+s+1≦d (d: minimum distance) holds true. Here, Yi=a1' (i==t, 2.-, s), and the vanishing position polynomial λ(x) is λ(x)=(1-Y+*x)*(I Y=*x)-・
・(l Yi*x) and (5(x)*λ(x) (7(x) = ω(x) mod
It can be derived that ``x'' holds. However, σ(x) is an error locator polynomial, and ω(x) is a polynomial of degree r+s-1 or less. However, E.

は位置jiの誤りの値であり、Lkはαk l (i 
=1.・・・。
is the error value of position ji, and Lk is αk l (i
=1. ....

r)であり、elは位置kiの誤りの値である。r), and el is the error value of position ki.

このとき、σ(x)、ω(x)をユークリッドの互除法
によって求めるためには、第15図、第16図のアルゴ
リズムにおいてシンドローム多項式S (x)を5(x
)*λ(x)で置き換え、degA<t (degB<
1)をdegA<を十s (degB<t+s)で置き
換えればよい。
At this time, in order to find σ(x) and ω(x) using Euclid's mutual division method, the syndrome polynomial S (x) must be changed to 5(x
)*λ(x), degA<t (degB<
In 1), degA< should be replaced with 10s (degB<t+s).

従って、消失誤り訂正を行うにはS (x) *λ(x
)をPEを用いて生成すればよい(degA (B)<
t+Sへの置き換えはコントロール部で行われる)。
Therefore, to perform erasure error correction, S (x) *λ(x
) can be generated using PE (degA (B)<
(Replacement with t+S is done in the control section).

λ(x)を計算するためにλ(x)の式を次式のように
分解する。
To calculate λ(x), the equation for λ(x) is decomposed as shown below.

Z0=1 ZH=(I   Y+ * x )  * Zl−+”
Yl * Zll * X + Zl−+ (j= 1
+・・・、s)λ(x) = Z。
Z0=1 ZH=(I Y+ * x ) * Zl−+”
Yl * Zll * X + Zl-+ (j= 1
+...,s)λ(x) = Z.

従って、λ(x)の具体的計算はZl =: Yl *
 Zl−+ * X十2+−+を行えば良い。次数は信
号の順序を示しているだけであるので、まずZl−1の
入力にYlを乗じて、lクロック遅らせたZl−1と加
算すればよい。よって、λ(x)を生成するには第42
図のようにPEを用い、第43図のように接続すればよ
い(タイミングは第44図に示す)。
Therefore, the specific calculation of λ(x) is Zl =: Yl *
All you have to do is Zl-+ *X12+-+. Since the order only indicates the order of the signals, it is sufficient to first multiply the input of Zl-1 by Yl and add it to Zl-1 delayed by l clock. Therefore, to generate λ(x), the 42nd
It is sufficient to use the PE as shown in the figure and connect as shown in FIG. 43 (the timing is shown in FIG. 44).

先ず、Sl (i=1)のPHについてセレクタの選択
信号をSl、2=01とし、六入力Z、=1をX L。
First, regarding the PH of Sl (i=1), the selection signal of the selector is set to Sl,2=01, and the six inputs Z,=1 are set to XL.

出力し、C入力0をYに出力する。演算結果であるYI
*Z6=Ylはレジスタ6に入力され、X出力z0はレ
ジスタ5によって1クロック遅らされBに入力される。
Output C input 0 to Y. YI which is the calculation result
*Z6=Yl is input to register 6, and X output z0 is delayed by one clock by register 5 and input to B.

それ以後、Sl、2=lOとすることによってXにC入
力Oを、Yに1クロック遅らされたZ。
After that, by setting Sl,2=lO, C input O is applied to X, and Z is delayed by one clock to Y.

を出力し、次のクロックで演算結果Z。=1がレジスタ
6に入力され、Qから21=(Y1*X+1)が順次出
力されたことになる。次に#2以降のPEについて(i
=2.・・・、s)、まずセレク、り選択信号をSl、
2=01とし、QからのZ l−1出力の最高次の係数
を六入力としてXに出力し、C入力OをYに出力する。
is output, and the calculation result Z is output at the next clock. =1 is input to the register 6, and 21=(Y1*X+1) are sequentially output from Q. Next, regarding PEs after #2 (i
=2. ..., s), first select the selection signal Sl,
2=01, the highest order coefficient of the Z l-1 output from Q is outputted to X as six inputs, and the C input O is outputted to Y.

それによって、Y + * Z +−+の最高次の項が
演算されレジスタ6に入力される。レジスタ5からはl
クロック遅らされたZl−1が出力され、B入力にフィ
ードバックされる。B入力にZ、−1がフィードバック
されたときSl、2=OOとすることによって、Yl 
* z、−、、* X + Zl−1の演算結果が順次
レジスタ6から出力され、次のPHに入力される。従っ
て、#SのPEからλ(x)の結果が高次の項から出力
される。
Thereby, the highest order term of Y+*Z+-+ is calculated and input into the register 6. l from register 5
The clock delayed Zl-1 is output and fed back to the B input. When Z,-1 is fed back to the B input, by setting Sl,2=OO, Yl
The operation results of *z, -, *X+Zl-1 are sequentially output from the register 6 and input to the next PH. Therefore, the result of λ(x) is output from the PE of #S as a higher-order term.

S≦2tであるのでここで必要なPHの数は2tであり
、S以上のPEのYに〇を割り付ければ#2tのPEか
らλ(x)の結果が高次の項から出力される。
Since S≦2t, the number of PHs required here is 2t, and if you assign ○ to Y of PEs of S or more, the result of λ(x) from PE of #2t will be output from the higher-order term. .

またλ(x) *S (x)を生成するには第45図の
ようにPEを用い、第46図のように接続する(タイミ
ングは第47図に示す)。第46図の構成は第48図に
示す多項式の乗算回路と全く同じ構成になっている。セ
レクタ選択信号はSl、2=OOに固定しておけば良い
。乗算回路の動作は公知であるのでここでは省略する。
Further, to generate λ(x) *S (x), PE is used as shown in FIG. 45 and connected as shown in FIG. 46 (timing is shown in FIG. 47). The configuration of FIG. 46 is exactly the same as the polynomial multiplication circuit shown in FIG. 48. The selector selection signal may be fixed to Sl,2=OO. The operation of the multiplier circuit is well known and will therefore be omitted here.

しかし、第46図の乗算回路はλ(x)の入力が全ての
PEに入力され通信距離が異るので、第5図のPEを第
52図の様に用い、第53図のように接続する事によっ
て通信距離を同じにすることが出来る(タイミングは第
54図に示す)。ここでは乗算C(x) = A(x)
 * B(x)の計算を次の様に分解する。
However, in the multiplication circuit shown in Fig. 46, the input of λ(x) is input to all PEs, and the communication distance is different, so the PE shown in Fig. 5 is used as shown in Fig. 52, and the connection is made as shown in Fig. 53. By doing so, the communication distance can be made the same (the timing is shown in FIG. 54). Here the multiplication C(x) = A(x)
* The calculation of B(x) is decomposed as follows.

A (x) = a、、−+*x”−’+ all、*
x″−”+・+ a、*X+a。
A (x) = a,, -+*x"-'+ all, *
x″−”+・+ a, *X+a.

としたとき C(x)= affi−、*B(x)*x”−’ +a
、−z*B(x)*x−”十−・−−+ a +*B(
x) *x + a0*B(x)となるので 2、  =0 Z (=Z +−+ * x + B (x ) * 
a +w−1(1=1 + ・・・+ rl’l )C
(x)= Z、。
Then C(x) = affi-, *B(x)*x"-' +a
, -z*B(x)*x-"10-・--+ a +*B(
x) *x + a0*B(x), so 2, =0 Z (=Z +-+ * x + B (x) *
a +w-1(1=1+...+rl'l)C
(x)=Z,.

従って、ここでは各PEへのSlの割付を逆にし、#1
のI’EにSよ−1を割り付ける(S、、−1の割付力
は後述する)。まず#lのr’Eではi o ” Oと
し、2. = 2゜+ n(x)* a、、、、1 (
a、、 + = 821 +、 r3(x) =λ(x
))を計算し、次のI’Eはその出力に対し更に1クロ
ック遅らせた13 (x)を、r3 (x ) * a
 m −i 、として加算する事によって21=Z+−
1*X+B (x) *am1の演算が行われる。これ
をm=2を回、即ち2を個のE’Eに割り付ける事によ
ってC(x)の計算が行われる。
Therefore, here, the allocation of Sl to each PE is reversed, and #1
Assign S to -1 to I'E (the assignment power of S, , -1 will be described later). First, in r'E of #l, let i o ” O, and 2. = 2゜ + n(x) * a, , , 1 (
a,, + = 821 +, r3(x) = λ(x
)), and the next I'E is 13 (x), which is delayed by one clock with respect to the output, as r3 (x ) * a
By adding as m −i , 21=Z+−
The calculation 1*X+B (x) *am1 is performed. C(x) is calculated by doing this m=2 times, that is, by allocating 2 to E'E.

また、第53図の接続は第13図のシンドローム生成部
からの出力S (x)を直接受けてS (x) *λ(
x)を生成する構成になっている。第53図の回路に於
て、各々のPEに設定すべき3.(j=2t  i。
In addition, the connection in FIG. 53 directly receives the output S (x) from the syndrome generator in FIG. 13 and generates S (x) *λ(
x). In the circuit of FIG. 53, 3. should be set for each PE. (j=2t i.

・・・、0)が送られてきたときS 1、.4 = 0
101とすることによってレジスタ9に81が入力され
、それ以後S 1、.4 = 0100とすることによ
つてレジスタ9の出力がC入力にフィードバックされる
ので、レジスタ9に81が蓄えられ、そのPEにSIが
選択されたことになる。前述の乗算は各PEのセレクタ
選択信号をSl、、4=”0100とし、2+−+を六
入力に、λ(x)をC入力に入力することによって行わ
れる。
..., 0) is sent S 1, . 4 = 0
101, 81 is input to register 9, and thereafter S 1, . By setting 4=0100, the output of register 9 is fed back to the C input, so 81 is stored in register 9, and SI is selected for that PE. The above-mentioned multiplication is performed by setting the selector selection signal of each PE to S1, 4="0100, inputting 2+-+ to the 6 inputs and inputting λ(x) to the C input.

但し、λ(x)はZ、の入力から1クロック遅れて入力
させるために、前PEにおいてレジスタ7からのλ(x
)出力をD入力にフィードバックしW出力を通じてレジ
スタ8から出力させる。
However, in order to input λ(x) with a delay of one clock from the input of Z, λ(x) from register 7 is input in the previous PE.
) The output is fed back to the D input and output from the register 8 through the W output.

また、第50図の回路はY+ (i =1 、・・・、
s)が連続入力される場合のλ(x)生成部を示してい
る。
Moreover, the circuit of FIG. 50 has Y+ (i = 1, . . .
s) is continuously input.

これも第5図のI’Eを第49図の様に用い、第51図
のように信号を送ることによってY(x)の入力が各々
のPEに設定される。通常、セレクタ選択信号はSl。
In this case, too, the input of Y(x) is set to each PE by using I'E in FIG. 5 as shown in FIG. 49 and sending a signal as shown in FIG. 51. Usually, the selector selection signal is Sl.

。 4=0000 (#1のPEのみSl、、4=lO00
)とし、設定すべきYlがD入力から入力されたときS
l、、4=OO01(#1のPE(7)み1..4=1
101)とすることによって、Z出力にD入力が選択さ
れレジスタ9にYiが入力され、以後セレクタ選択信号
の設定を戻すことによって、レジスタ9の出力はC入力
、Z出力を通じてレジスタ9にフィードバックされレジ
スタ9にYiの値が蓄えられ、乗算器2の入力としてY
iの値が設定されたことになる。■設定後のλ(x)生
成の動作は第44図と同様になる。
. 4=0000 (#1 PE only Sl, 4=lO00
), and when Yl to be set is input from the D input, S
l,,4=OO01(PE(7) of #1 1..4=1
101), the D input is selected as the Z output and Yi is input to the register 9. Thereafter, by returning the selector selection signal setting, the output of the register 9 is fed back to the register 9 through the C input and the Z output. The value of Yi is stored in register 9, and Y is input as input to multiplier 2.
This means that the value of i has been set. (2) The operation of generating λ(x) after setting is the same as that shown in FIG.

(符号器) 符号器は通常多項式の除算回路によって構成される。除
算回路は第55図の構成になっている。
(Encoder) The encoder is usually constructed from a polynomial division circuit. The division circuit has the configuration shown in FIG.

それをPEを第56図のように用いて第57図のように
接続することによって、第55図と全く同じ構成にする
ことが出来る。#2t+1のI’Eの接!ffaが変則
的であるのは、情報+ (x) =(Ll、 To−2
,・・・。
By using PEs as shown in FIG. 56 and connecting them as shown in FIG. 57, it is possible to obtain exactly the same configuration as shown in FIG. 55. #2t+1 I'E connection! ffa is irregular because information + (x) = (Ll, To-2
,...

■。)とパリティP (x) ” (P2+、  P2
1−+、・・・、Pl)を選択して符号語にするセレク
タの役目をさせているためである。従って、最初は#l
から#2tまでのr’Eの選択信号をSt、2=10.
 #2t+1のI’Eの選択信号をst、2=01とし
、情報1 (x)の先頭ワードI k−1が#2t+1
のPEのC入力から入力されたとき、#lから#2tま
でのI’Eの選択信号をSl。
■. ) and parity P (x) ” (P2+, P2
1-+, . . . , Pl) to be used as a code word. Therefore, initially #l
The selection signal of r'E from #2t to St, 2=10.
Let the selection signal of I'E of #2t+1 be st, 2=01, and the first word I k-1 of information 1 (x) is #2t+1.
When input from the C input of PE, the selection signal of I'E from #l to #2t is input to Sl.

2=00とする。その間#2t+1のPEのGからは情
報I (x)がC入力を通じてY出力から出力される。
2=00. During that time, information I (x) is output from the G of the #2t+1 PE through the C input from the Y output.

C入力に情報r (x)の最終ワード■。が入力され終
ると#lから#2tまでのPEの選択信号をSL。
The final word of information r (x) is input to C. When the input is completed, select signals of PEs from #l to #2t are set to SL.

2=O1とし、#2tのI’Eの選択信号をSl、 2
=OOとする。それによって、12t+1のPEのGか
ら情報1 (x)に続いてパリティが出力される(タイ
ミングは第58図に示す)。第57図の回路は通信路が
各々のPEによって異なる。
2=O1, and the I'E selection signal of #2t is Sl, 2
=OO. As a result, parity is output from PE G of 12t+1 following information 1 (x) (timing is shown in FIG. 58). In the circuit shown in FIG. 57, the communication path differs depending on each PE.

(誤り訂正実行部、及びシステム) ステップ4の誤り訂正の実行部も、第38図のように第
1図のPHによって構成される。但し、0検出回路(O
Rによって構成される)とガロア体上の逆数生成回路(
ROM等)を外部的に加える必要がある。GCD生成部
においてA (13)、 L (M)の処理を1つのP
rocess部を2回用いている場合は、ω(x)の係
数が先に送られてくるのでω(α″)の値も先に計算さ
れ、この回路に送られる。この場合、σ(α−1)、σ
′(α−1)の出力タイミングを合わせるためにバッフ
ァを挿入し、ω(α−1)の出力を遅らせる必要がある
(GCD、生成部に於て2つのProcess部で同時
にA (B)とL (M)の処理を行う場合はバッファ
を挿入する必要はない)。
(Error Correction Execution Unit and System) The error correction execution unit in step 4 is also configured by the PH shown in FIG. 1, as shown in FIG. However, the 0 detection circuit (O
R) and a reciprocal generator circuit on a Galois field (
ROM, etc.) must be added externally. In the GCD generation section, the processing of A (13) and L (M) is combined into one P
When the rocess section is used twice, the coefficient of ω(x) is sent first, so the value of ω(α″) is also calculated first and sent to this circuit. −1), σ
It is necessary to insert a buffer to match the output timing of ω(α-1) and delay the output of ω(α-1). There is no need to insert a buffer when processing L (M)).

タイミングを合わせたω(α一つとσ′(α−1)が入
力されたときω(α−′)をBに入力し、σ′(α−′
)を逆数にして乗算器3に入力する。・σ(α−′)は
、0検出回路に入力されσ(α1)−〇の時0、σ(α
1)≠0の時lとしてセレクタ選択信号S2に入力する
。誤り位置、即ちσ(α″′)二〇の時Sl、2=00
となるのでT出力は、ω(α″)を出力しσ′−1(α
一つと乗算することによって誤りの値ω(α゛つ/σ′
(α−1)が乗算器3から出力される。誤り位置でない
ときはσ(σ′)≠0であるので、Sl、2=01とな
りY出力はC入力のOを出力するので、乗算器3の出力
は0となる。X出力からは常にバッファによって遅らさ
れた受信語系列r、’ (i=n−1,・・・、O)が
出力され、乗算器2からは受信語列rご が出力される
When ω(α and σ′(α−1) are input at the same time, ω(α−′) is input to B, and σ′(α−′
) is converted into a reciprocal and input to the multiplier 3.・σ(α−′) is input to the 0 detection circuit, and when σ(α1)−〇, σ(α−′) is 0, σ(α
1) When ≠0, it is input as l to the selector selection signal S2. When the error position is σ(α″′)20, Sl, 2=00
Therefore, T output is ω(α″) and σ′-1(α
The error value ω(α゛/σ′
(α-1) is output from the multiplier 3. When it is not an error position, σ(σ')≠0, so Sl,2=01 and the Y output outputs O of the C input, so the output of the multiplier 3 becomes 0. The X output always outputs the received word sequence r,' (i=n-1, . . . , O) delayed by the buffer, and the multiplier 2 outputs each received word sequence r.

従って、乗算器からの出力同士をEXORすることによ
って誤り訂正が実行される。
Therefore, error correction is performed by EXORing the outputs from the multipliers.

また前3節において【(α−′)の値を求めるためにα
−’ (i=n−1,・・・、0)を入力する必要があ
るが、α司(i=n−1,−、O)発生回路として図1
のPEを第39図のように用いることが出来る。第39
図におい、てα′=α−0とし、α8=αとし、αn−
1を発生させる1つ前のクロックに於てセレクタ選択信
号Sl、 2=10とし、それ以後Sl、2=OOとす
れば良い。その様子を第40図に示す。
In addition, in the previous three sections, in order to find the value of [(α−′), α
-' (i=n-1, ..., 0) is required to be input, but as a generator (i=n-1, -, O), see Figure 1.
PE can be used as shown in FIG. 39th
In the figure, α′=α−0, α8=α, αn−
It is sufficient to set the selector selection signal Sl,2=10 at the clock immediately before generating 1, and thereafter set the selector selection signal Sl,2=OO. The situation is shown in FIG.

以上述べてきたように、ユークリッドの互除法に基づ(
RS符号の復号器の各ステップを同一のPHによって構
成した。1例として各ステップを次の組合せにすること
によって、各I’Eの選択信号S1.。
As mentioned above, based on Euclid's mutual division method (
Each step of the RS code decoder was configured with the same PH. As an example, by combining each step as follows, the selection signal S1 . .

4の制御のみで全体のシステムを動かすことが出来る。The entire system can be operated with only 4 controls.

その全体のシステムを第41図に示す。The entire system is shown in FIG.

ステップ1)SYNDROME  :第13図ステップ
2)  GCD     、  :第27図ステップ3
)EVALUATE  :第36図ステップ4)COR
RECT   :第38図これによって、全体のシス・
テRで必要なPEの数は次のようになる。
Step 1) SYNDROME: Fig. 13 Step 2) GCD: Fig. 27 Step 3
) EVALUATE: Figure 36 Step 4) COR
RECT: Figure 38 This allows the entire system to be
The number of PEs required for TeR is as follows.

S    G     EC [(2t) + (2t+2) + (3t) +11
−” (7t+3) * 1000100Oこれに各P
Eの選択信号S1..4を第14図、第23図、第24
図、第37図のように制御するコントロール回路を付加
することによって全体のシステムが構成される(コント
ロール回路はROM等によって非常に小さな回路規模で
実現される。またα−1を第39図で発生させる場合必
要なICEの数は7t+5となる)。
S G EC [(2t) + (2t+2) + (3t) +11
-” (7t+3) * 1000100O and each P
E selection signal S1. .. 4 in Figure 14, Figure 23, Figure 24
The entire system is constructed by adding a control circuit as shown in Fig. 37 (the control circuit is realized on a very small circuit scale using ROM, etc.).Also, α-1 is shown in Fig. 39. In this case, the number of ICEs required is 7t+5).

このシステムの処理速度は、GCD生成部で1つのPr
ocess部を2回用いる場合には4tクロック以上か
かるので符号長nがn>4tであれば10−20 M 
w p sで実現できる(2つのProcess部を用
いる場合の処理時間は2tであるので問題はない)。
The processing speed of this system is 1 Pr in the GCD generator.
If the ocess section is used twice, it will take more than 4t clocks, so if the code length n is > 4t, it will take 10-20 M
This can be realized with w p s (the processing time when using two Process units is 2t, so there is no problem).

符号化復号器をシステムとして考えた場合、消失誤り訂
正のための復号器は符号器としても用いることが出来る
ので、第59図の消失誤り訂正のための復号器は1例と
して、次の組合せによって符号化復号器として実現でき
る。
When considering the encoding/decoder as a system, the decoder for erasure error correction can also be used as an encoder, so the decoder for erasure error correction in Fig. 59 is an example of the following combination. It can be realized as an encoder/decoder by

1)SYNDROME  :第13図 2)  GCD      :第27図3 )  E 
V A L U A T E  :第36図4)COR
RECT   :第38図 5)ERASURE I  :第50図6)ERASU
REII    :第53図これは第41図の復号器に
ERASURE IとERASURE Tl −を加え
たものであるが、処理速度は変わらず、全体のシステム
で必要なPHの数は次のようになる。
1) SYNDROME: Fig. 13 2) GCD: Fig. 27 3) E
VALUE: Figure 36 4) COR
RECT: Fig. 38 5) ERASURE I: Fig. 50 6) ERASU
REII: Fig. 53 This is the decoder of Fig. 41 plus ERASURE I and ERASURE Tl -, but the processing speed remains the same, and the number of PHs required for the entire system is as follows.

+(2t) + (2t+1) + (4t) + 1
 + (2t) + (2t)1= (12t+3)*
 1000 gateまた消失訂正を行わない場合、第
41図の復号器に第57図の符号器を加える必要がある
。このとき全体のシステムに必要なPEの数は第41図
の復号器で必要なPEの数(7t + 3)に(2t+
1)を加えた(9t+4)である(符号化と復号を同時
に行わない場合には、PEの接続、及びPEの制御を符
号化と復号で可変にすることによって第41図の回路で
回路規模を変えることな(符号化復号器を実現できる)
+(2t) + (2t+1) + (4t) + 1
+ (2t) + (2t)1= (12t+3)*
1000 gates If erasure correction is not performed, it is necessary to add the encoder shown in FIG. 57 to the decoder shown in FIG. 41. At this time, the number of PEs required for the entire system is the number of PEs required for the decoder in Fig. 41 (7t + 3) plus (2t +
1) plus (9t+4) (If encoding and decoding are not performed at the same time, the circuit scale in Figure 41 can be reduced by making PE connection and PE control variable between encoding and decoding. without changing (code/decoder can be realized)
.

以上のように、第1図または第5図のPEを用いること
によって、10−20 M w p sの処理速度を持
っR3符号化復号器が次の回路規模で実現できる。
As described above, by using the PE shown in FIG. 1 or 5, an R3 encoding decoder having a processing speed of 10-20 M w ps can be realized with the following circuit scale.

R8符号化復号器: 7t−t−3(9t+、4)消失
誤り訂正符号化復号器: 12t+3例として、t=2
とt=8のR3符号化復号器を考えた場合、t=2で1
7000ゲート、t=8で59000ゲートとなり、コ
ントロール回路を入れてもVLSIでは十分実現可能な
範囲である。また、内部構造の規則性と通信距離の最適
化によりV L S I化しやす(、PEの数を増加さ
せることによって処理能力も1次関数的に増加できる構
成になっている。またVLSI化の際、セレクタ、乗算
器、加算器からなる演算部は1箇所に固められているの
で最適化することによって10−210−2O以上の処
理速度が得られる構成になっている。
R8 encoding decoder: 7t-t-3 (9t+, 4) Erasure error correction encoding decoder: 12t+3 For example, t=2
If we consider an R3 encoding decoder with t=8, then 1 at t=2
7,000 gates, and 59,000 gates at t=8, which is within the range that is fully achievable in VLSI even if a control circuit is included. In addition, by optimizing the regularity of the internal structure and communication distance, it is easy to convert to VLSI (by increasing the number of PEs, the processing capacity can be increased linearly. In this case, since the calculation unit consisting of the selector, multiplier, and adder is consolidated in one place, the configuration is such that a processing speed of 10-210-2O or more can be obtained by optimization.

又、復号処理の中心であるステップ2の誤り位置多項式
、及び誤り数値多項式の生成をこのPEを用いて第18
図の様に接続する事によって10−210−2Oの高速
処理が実現できる。ステップ1.3の処理も特殊な処理
によって高速化する(符号語毎に並列化する等)か、ま
たはこのPEを第60図のように接続することによって
10−20 M l p sの高速処理が実現できる。
In addition, this PE is used to generate the error locator polynomial and error value polynomial in step 2, which is the center of the decoding process.
By connecting as shown in the figure, high-speed processing of 10-210-2O can be realized. The processing in step 1.3 can also be sped up by special processing (parallelization for each code word, etc.), or by connecting these PEs as shown in Fig. 60, high-speed processing of 10-20 M l ps can be achieved. can be realized.

但し、回路規模は非常に大きくなる。However, the circuit scale becomes very large.

また、このPEを用いてX1発生回路、及び除算器が第
61図、第62図のように構成できる(タイミングは第
61図、第62図に示す)。
Further, using this PE, the X1 generation circuit and the divider can be constructed as shown in FIGS. 61 and 62 (timings are shown in FIGS. 61 and 62).

以上のように、このPEを用いてガロア体上の種々の演
算が可能であり、R8符号の符号化復号器が効率的に構
成できる。
As described above, various operations on the Galois field are possible using this PE, and an R8 code encoding/decoding device can be efficiently configured.

〔発明の効果〕〔Effect of the invention〕

本発明ではV L S Iアーキテクチャの特徴を生か
し、次のことを実現した。
The present invention utilizes the features of the VLSI architecture to achieve the following.

■)高信頼性(大能力) 2)高速性 3)内部構造の規則性 4)大集積化 これによって、10−210−2O(word/5ea
)以上の処理速度を持つ消失誤り訂正器が実現できるこ
とを示した。また、訂正能力に対して同じ構成のPEを
1次関数的に増やしていくことによって任意の高信頼性
を得られる構成にした。また、各々のPEの制御もセレ
クタ選択信号の制御のみを行うことにより全てのPEを
同じクロックで動作させるおとができる。これは高速性
と高信頼性が求められるシステムには非常に有効な方式
である。
■) High reliability (large capacity) 2) High speed 3) Regularity of internal structure 4) Large integration
We have shown that it is possible to realize an erasure error corrector with a processing speed higher than ). Furthermore, by increasing the number of PEs with the same configuration linearly with respect to the correction capability, the configuration is such that arbitrary high reliability can be obtained. Further, by controlling each PE only by controlling the selector selection signal, all PEs can be operated with the same clock. This is a very effective method for systems that require high speed and high reliability.

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

第1図は本発明の実施例に係るプロセッシング・エレメ
ント(PE)の構成図 第2図は1)1乙のセレクタの構成を示す図第3図はI
) Eのガロア体上の乗算器の具体的構成を示す図 第4図はPEのガロア体上の加算器の具体的構成を示す
図 第5図は本発明による拡張されたI’Eの構成図第6図
は本発明による第1図を用いたシンドローム生成用PE
の構成図 第7図は本発明による第1図を用いたシンドローム生成
用PEの接続図 第8図は本発明による第1図を用いたシンドローム生成
用1’Eのタイミング図 第9図は本発明による第1図を用いたシンドローム生成
用PEの他の構成を示す図 第10図は本発明による第1図を用いたシンドローム生
成用PEの他の構成を示す接続図 第11図は本発明による第1図を用いたシンドローム生
成用I’Eの他の構成を示すタイミング図第12図は本
発明による第5図を用いたシンドローム生成用PEの構
成図 第13図は本発明による第5図を用いたシンドローム生
成用PHの接続図 第14図は本発明による第5図を用いたシンドローム生
成用PEのタイミング図 第15図はGCDを求めるためのアルゴリズムを示す図 第16図は本発明によるPEを用いたGCD生成の為の
アルゴリズムを示す図 第17図は本発明による第1図を用いたGCD生成用P
Hの構成図 第18図は本発明による第1図を用いたGCD生成用P
Eの接続図 第19図は本発明による第1図を用いたGCD生成用P
Eのタイミング図 第20図は本発明による第1図を用いたGCD生成用P
Eのタイミング図 第21図は本発明による第1図を用いたGCD生成用P
Eの他の構成を示す図 第22図は本発明による第1図を用いたGCD生成用P
Hの他の構成を示す接続°間 第23図は本発明による第1図を用いたGCD生成用P
Eの他の構成を示すタイミング図第24図は本発明によ
る第1図を用いたGCD生成用PEの他の構成を示すタ
イミング図第25図はGCD生成の例を示す図 第26図は本発明による第5図を用いたGCD生成用[
’Eの構成図 第27図は本発明による第5図を用いたGCD生成用!
’Eの接続図 第28図は本発明による第5図を用いたGCD生成用P
Hの他の構成を示す図 第29図、第30図は本発明による第5図を用いたGC
D生成用PHの他の構成を示す接続図第31図は5ta
te生成回路ブロック図第32図は本発明による第1図
を用いた誤り評価用PHの構成図 第33図は本発明による第1図を用いた誤り評価用PE
の接続図 第34図は本発明による第1図を用いた誤り評価用PH
のタイミング図 第35図は本発明による第5図を用いた誤り評価用1)
Eの構成図、 第36図は本発明による第5図を用いた誤り評価用1)
Eの接続図 第37図は本発明による第5図を用いた誤り評価用PE
のタイミング図 第38図は本発明による第1図を用いた誤り訂正実行用
r’Eの構成図 第39図は本発明による第1図を用いたαソー(α“)
1発生用PEの構成図 第40図は本発明による第1図を用いたα’−(α′)
1発生用PEのタイミング図 第41図は本発明による誤り訂正復号器のシステム構成
図 第42図は本発明による第1図を用いた消失位置多項式
生成用PEの構成図 第43図は本発明による第1図を用いた消失位置多項式
生成用PHの接続図 第44図は本発明による第1図を用いた消失位置多項式
生成用PHのタイミング図 第715図は本発明による乗算用PEの構成図第46図
は本発明による乗算用PEの接続図第47図は本発明に
よる第1図を用いた乗算用PEのタイミング図 第48図は従来の乗算回路の構成を示す図第49図は本
発明による第5図を用いた消失位置多項式生成用PEの
°構成図 第50図は本発明による第5図を用いた消失位置多項式
生成用PHの接続図 第51図は本発明による第5図を用いた消失位置多項式
生成用PEのタイミング図 第52図は本発明による第5図を用いた乗算用PEの構
成図 第53図は本発明による第5図を用いた乗算用PEの接
続図 第54図は本発明による第5図を用いた乗算用PEのタ
イミング図 第55図は従来の符号化回路 第56図は本発明による第1図を用いた符号化用PEの
構成図 第57図は本発明による第1図を用いた行司化用PEの
接続図 第58図は本発明による第1図を用いた符号化用PEの
タイミング図 第59図は本発明による消失誤り訂正符号化復号器のン
ステム構成図 第60図は本発明による第1図を用いた高速積和演算算
器を示す図 第61図は本発明による第1図を用いたX2″′発生器
を示す図 第62図は本発明による第1図を用いた除算器を示す図 ■ ・・・・・・・・・・・・・・・・・・・・・・・
・・・・・・・・・・・・・・・・・・・・・・・・・
・・・・・・・・・・・・・乗算器、■ ・・・・・・
・・・・・・・・・・・・・・・・・・・・・・・・・
・・・・・・・・・・・・・・・・・・・・・・・・・
・・・・・加算器、第7 叉 招5Z ・・1  +  t  I−S  +  I  +−第
82 男lど区 も13図 ・・11 第14國 泊/ l、、 J (C):、p、、c、=b勇毛11
:、区(C7):Jdω 第1ム図(e ):ノdα Cに ttt!tlt+を 第?0國 第22X 〜  (ラ  マ こ  夕  a い 央 )−Q 酬 鴇 o       >         X    % 
      K誌                 
       稔第27囚 cKt  を 第40図 躬41図 Cに↑ ↑ Q    屋ヱ三T=口====  ベズ・(χ・z−
1o)51.2     2 0          
  ?57t(’I−Z◆7a)f         
     x?二逼χY+”Y−1’====二   
h仇入x(7Q     【■翌!菰工T[′1・λ″
゛1・ゝ“男44図 Cに ↑ ↑ 3    )v’、5z *Sz l@5x葦=(=2
t   彰]≠℃冗C■= 躬471責 。4f+  躬53図 仄=口[ 唱54図 V3) cKt  を 第67図
Figure 1 is a diagram showing the configuration of a processing element (PE) according to an embodiment of the present invention. Figure 2 is a diagram showing the configuration of a selector in 1) 1.
) Figure 4 shows the specific configuration of the multiplier on the Galois field of E. Figure 4 shows the specific configuration of the adder on the Galois field of PE. Figure 5 shows the expanded configuration of I'E according to the present invention. Figure 6 shows a PE for syndrome generation using Figure 1 according to the present invention.
FIG. 7 is a connection diagram of PE for syndrome generation using FIG. 1 according to the present invention. FIG. 8 is a timing diagram of 1'E for syndrome generation using FIG. 1 according to the present invention. FIG. 10 is a connection diagram showing another configuration of the syndrome generation PE using FIG. 1 according to the present invention. FIG. 11 is a connection diagram showing another configuration of the syndrome generation PE using FIG. 1 according to the present invention. FIG. 12 is a timing diagram showing another configuration of the I'E for syndrome generation using FIG. 1 according to the present invention. FIG. A connection diagram of a PH for syndrome generation using a diagram. FIG. 14 is a timing diagram of a PE for syndrome generation using the present invention. FIG. 15 is a diagram showing an algorithm for determining GCD. FIG. 17 is a diagram showing an algorithm for GCD generation using PE according to the present invention.
FIG. 18 is a block diagram of H for generating GCD using FIG. 1 according to the present invention.
The connection diagram of E in FIG. 19 is the connection diagram of P for GCD generation using FIG. 1 according to the present invention.
FIG. 20 is a timing diagram of E for generating a GCD using FIG. 1 according to the present invention.
FIG. 21 is a timing diagram of E for generating a GCD using FIG. 1 according to the present invention.
FIG. 22 is a diagram showing another configuration of P for generating GCD using FIG. 1 according to the present invention.
FIG. 23 shows another configuration of P for GCD generation using FIG. 1 according to the present invention.
FIG. 24 is a timing diagram showing another configuration of PE for GCD generation using FIG. 1 according to the present invention. FIG. 25 is a timing diagram showing an example of GCD generation. For GCD generation using FIG. 5 according to the invention [
The configuration diagram of 'E in Figure 27 is for GCD generation using Figure 5 according to the present invention!
'E connection diagram Figure 28 is a P for GCD generation using Figure 5 according to the present invention.
Figures 29 and 30 showing other configurations of H are GCs using the configuration shown in Figure 5 according to the present invention.
Connection diagram 31 showing another configuration of D generation PH is 5ta
FIG. 32 is a block diagram of a te generation circuit. FIG. 32 is a block diagram of an error evaluation PH using FIG. 1 according to the present invention. FIG. 33 is a block diagram of an error evaluation PE using FIG. 1 according to the present invention.
The connection diagram in Fig. 34 is a PH for error evaluation using Fig. 1 according to the present invention.
The timing diagram of Fig. 35 is for error evaluation using Fig. 5 according to the present invention 1)
The configuration diagram of E, Fig. 36 is for error evaluation using Fig. 5 according to the present invention 1)
The connection diagram of E in Fig. 37 is a PE for error evaluation using Fig. 5 according to the present invention.
FIG. 38 is a diagram showing the configuration of r'E for error correction using the method shown in FIG. 1 according to the present invention. FIG.
Fig. 40 is a block diagram of PE for generating 1. α'-(α') using Fig. 1 according to the present invention.
FIG. 41 is a system configuration diagram of an error correction decoder according to the present invention. FIG. 42 is a configuration diagram of an erasure position polynomial generation PE using FIG. 1 according to the present invention. FIG. FIG. 44 is a connection diagram of the PH for generating an vanishing position polynomial using FIG. 1 according to the present invention. FIG. 44 is a timing diagram of the PH for generating an vanishing position polynomial using FIG. FIG. 46 is a connection diagram of a multiplication PE according to the present invention. FIG. 47 is a timing diagram of a multiplication PE using FIG. 1 according to the present invention. FIG. 48 is a diagram showing the configuration of a conventional multiplication circuit. 50 is a configuration diagram of a PE for generating an vanishing position polynomial using FIG. 5 according to the present invention. FIG. 51 is a connection diagram of a PH for generating an vanishing position polynomial using FIG. 5 according to the present invention. Fig. 52 is a diagram of the timing diagram of the PE for generating an vanishing position polynomial using the diagram. Fig. 52 is a configuration diagram of the multiplication PE using Fig. 5 according to the present invention. Fig. 53 is the connection of the multiplication PE using Fig. 5 according to the present invention. FIG. 54 is a timing diagram of a multiplication PE using FIG. 5 according to the present invention. FIG. 55 is a conventional encoding circuit. FIG. 56 is a configuration diagram of an encoding PE using FIG. 1 according to the present invention. FIG. 57 is a connection diagram of a PE for processing using the method shown in FIG. 1 according to the present invention. FIG. 58 is a timing diagram of a PE for encoding using the method shown in FIG. 1 according to the present invention. FIG. 59 is an erasure error correction code according to the present invention. Fig. 60 is a diagram showing a high-speed multiply-accumulator using the system shown in Fig. 1 according to the present invention. Fig. 61 is a diagram showing an X2'' generator using Fig. 1 according to the present invention. Fig. 62 is a diagram showing a divider using Fig. 1 according to the present invention.
・・・・・・・・・・・・・・・・・・・・・・・・
・・・・・・・・・・・・Multiplier, ■ ・・・・・・
・・・・・・・・・・・・・・・・・・・・・・・・
・・・・・・・・・・・・・・・・・・・・・・・・
...Adder, 7th invitation 5Z...1 + t I-S + I +-82nd man ldoku also figure 13...11 14th Kokupaku / l,, J (C): ,p,,c,=bYume 11
:, Ward (C7): Jdω 1st map (e): Nodα C to ttt! tlt+ first? 0 Country No. 22
K magazine
Minoru 27th prisoner cKt in Figure 40 Figure 41 C ↑ ↑ Q Yaezo T = mouth = = = = Bez (χ・z−
1o) 51.2 2 0
? 57t('I-Z◆7a)f
x? 2逼χY+”Y−1′====2
h revenge
゛1・ゝ“Man 44 Figure C ↑ ↑ 3 ) v', 5z *Sz l@5x reed = (=2
t Akira] ≠ ℃コC■= 躬 471 blame. 4f+ 躬53囄仄=口 [Cho 54 Fig. V3) cKt in Fig. 67

Claims (1)

【特許請求の範囲】[Claims] (1)多入力多出力、または多入力−出力のセレクタ回
路と、そのセレクタ回路の出力を少なくとも一方の入力
にもつガロア体上の乗算器と、その乗算器出力を加算す
るガロア体上の加算器と、その加算器出力及び前記セレ
クタ回路出力を蓄えるレジスタから構成される演算回路
を複数同型に接続することによって処理能力を増大させ
、Y_i(i=1,・・・,s)の値を入力して、多項
式λ(x)λ(x)=(1−Y_1・x)・(1−Y_
2・x)・・・(1−Y_s・x)の係数を求めること
を特徴とする消失位置多項式生成回路。
(1) A multi-input multi-output or multi-input-output selector circuit, a multiplier on a Galois field that has the output of the selector circuit as at least one input, and an addition on a Galois field that adds the outputs of the multiplier. The processing capacity is increased by connecting multiple arithmetic circuits consisting of a register and a register that stores the output of the adder and the output of the selector circuit in the same manner, and the value of Y_i (i = 1, ..., s) can be increased. Enter the polynomial λ(x)λ(x)=(1-Y_1・x)・(1-Y_
2.x)...(1-Y_s.x).
JP30589386A 1986-12-22 1986-12-22 Dissipated position polynominal expression generating circuit Pending JPS63157525A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP30589386A JPS63157525A (en) 1986-12-22 1986-12-22 Dissipated position polynominal expression generating circuit
US07/982,062 US5325373A (en) 1986-12-22 1992-11-25 Apparatus for encoding and decoding reed-solomon code

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP30589386A JPS63157525A (en) 1986-12-22 1986-12-22 Dissipated position polynominal expression generating circuit

Publications (1)

Publication Number Publication Date
JPS63157525A true JPS63157525A (en) 1988-06-30

Family

ID=17950574

Family Applications (1)

Application Number Title Priority Date Filing Date
JP30589386A Pending JPS63157525A (en) 1986-12-22 1986-12-22 Dissipated position polynominal expression generating circuit

Country Status (1)

Country Link
JP (1) JPS63157525A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63233614A (en) * 1987-03-20 1988-09-29 Canon Inc Reed-solomon encoding/decoding system
JPS63233613A (en) * 1987-03-20 1988-09-29 Canon Inc Reed-solomon encoding/decoding system
JP2829678B2 (en) * 1990-05-04 1998-11-25 ベル コミュニケーションズ リサーチ インコーポレーテッド Forward error correction code system

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63233614A (en) * 1987-03-20 1988-09-29 Canon Inc Reed-solomon encoding/decoding system
JPS63233613A (en) * 1987-03-20 1988-09-29 Canon Inc Reed-solomon encoding/decoding system
JP2829678B2 (en) * 1990-05-04 1998-11-25 ベル コミュニケーションズ リサーチ インコーポレーテッド Forward error correction code system

Similar Documents

Publication Publication Date Title
US5446743A (en) Coefficient updating method and apparatus for Reed-Solomon decoder
US4165444A (en) Apparatus for electronic encypherment of digital data
US4797848A (en) Pipelined bit-serial Galois Field multiplier
CN107239362B (en) Parallel CRC (Cyclic redundancy check) code calculation method and system
JP2011165026A (en) Error detection correction system
EP0034036A2 (en) Encoders and decoders for cyclic block codes
US7539918B2 (en) System and method for generating cyclic codes for error control in digital communications
US5325373A (en) Apparatus for encoding and decoding reed-solomon code
JPH1093445A (en) Error position detecting polynominal calculator
JPH07202723A (en) Decoder, error detection sequence generator that is used for it and decoding method
JPH0458619A (en) Error correction system
JPH09505952A (en) Programmable redundancy / syndrome generator
RU2441318C1 (en) Device to decode reed-solomon codes
US5964826A (en) Division circuits based on power-sum circuit for finite field GF(2m)
JPS63157525A (en) Dissipated position polynominal expression generating circuit
JPS63157530A (en) Bch coding decoding system
US20180006664A1 (en) Methods and apparatus for performing reed-solomon encoding by lagrangian polynomial fitting
JPS63157529A (en) Encoder
JPH06314978A (en) Chain search circuit
JPS63157526A (en) Syndrome generation circuit
JPS63157527A (en) Greatest common divisor polynomial generation circuit
JPS63164629A (en) Bch coding and decoding device
JPS63157528A (en) Generation circuit for errorneous position and errorneous value
JPS63164624A (en) Syndrome generating circuit
KR930011573B1 (en) Bch codec capable of double error correct