Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP2603243B2 - Error correction device - Google Patents
[go: Go Back, main page]

JP2603243B2 - Error correction device - Google Patents

Error correction device

Info

Publication number
JP2603243B2
JP2603243B2 JP62067344A JP6734487A JP2603243B2 JP 2603243 B2 JP2603243 B2 JP 2603243B2 JP 62067344 A JP62067344 A JP 62067344A JP 6734487 A JP6734487 A JP 6734487A JP 2603243 B2 JP2603243 B2 JP 2603243B2
Authority
JP
Japan
Prior art keywords
output
input
error correction
selector
stage registers
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.)
Expired - Fee Related
Application number
JP62067344A
Other languages
Japanese (ja)
Other versions
JPS63233613A (en
Inventor
恵市 岩村
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 JP62067344A priority Critical patent/JP2603243B2/en
Publication of JPS63233613A publication Critical patent/JPS63233613A/en
Application granted granted Critical
Publication of JP2603243B2 publication Critical patent/JP2603243B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Error Detection And Correction (AREA)

Description

【発明の詳細な説明】 〔産業上の利用分野〕 近年、メモリーシステムを始めとする、各種デイジタ
ルシステムの信頼性向上の対策として誤り訂正符号の適
用が浸透してきている。
DETAILED DESCRIPTION OF THE INVENTION [Industrial Application Field] In recent years, the application of error correction codes has become widespread as a measure for improving the reliability of various digital systems such as memory systems.

なかでも、リード・ソロモン符号(以下RS符号)は同
一の符号長と訂正能力を持つ線形符号の中で、最も冗長
度を低く出来るという特徴を持つ実用上非常に重要な符
号であり、衛星通信,磁気デイスク,コンパクトデイス
ク等に広く利用されている。
Among them, the Reed-Solomon code (hereinafter referred to as RS code) is a very important code for practical use that has the feature of being able to minimize redundancy among linear codes having the same code length and correction capability. , Magnetic disks, compact disks, etc.

本発明は、上記誤り訂正技術の分野に属し、特にシス
トリツク・アレイを用いた並列演算器に関する。
The present invention belongs to the field of the above-described error correction technology, and particularly relates to a parallel computing device using a systolic array.

〔従来の技術〕[Conventional technology]

RS符号の符号化・復号法には種々の物があるが、次に
示す(1)〜(7)の演算を実現することが必要であ
る。
There are various methods for encoding / decoding the RS code, and it is necessary to realize the following operations (1) to (7).

1)シンドローム多項式の生成 受信語系列(rn-1,rn-2,…,r1,r0)からシンドローム
多項式S(x)=ΣSi-1*xjを生成する。
1) Generation of syndrome polynomial A syndrome polynomial S (x) = ΣS i−1 * x j is generated from the received word sequence (r n−1 , r n−2 ,..., R 1 , r 0 ).

ただし、 Si-1=Σrn-1*(α (1) 2)誤り位置多項式と誤り数値多項式の生成 A0=x2t,B0=S(x)の最大公約多項式 W=GCD(A0,B0) (2) を求める。その途中で次式を満たす多項式Dが誤り位置
多項式σ(x),Wが誤り数値多項式ω(x)を表す。
Where S i-1 = Σr n-1 * (α j ) n (1) 2) Generation of error locator polynomial and error numerical polynomial A 0 = x 2t , B 0 = Smallest common polynomial of S (x) W = GCD (A 0 , B 0 ) (2) is obtained. On the way, a polynomial D satisfying the following equation represents an error locator polynomial σ (x), and W represents an error numerical polynomial ω (x).

degW<t,degD≦t C*A0+D*B0=W 3)誤り位置と誤り数値の生成 多項式σ(x),σ′(x),(x),ω(x)につ
いて f(x)=Σfn-1*xn-i (3) の値をx=α-n+i(i=1,…,n)について求める。
degW <t, degD ≦ t C * A 0 + D * B 0 = W 3) Generation of error position and error value For polynomials σ (x), σ ′ (x), (x), ω (x), f (x ) = Σf n-1 * x ni (3) is obtained for x = α −n + i (i = 1,..., N).

ただし、f(x)の演算はσ(x),σ′(x),ω
(x)のために3回必要である。
However, the calculation of f (x) is σ (x), σ ′ (x), ω
Three times are needed for (x).

4)誤り訂正の実行 r′n-i=rn-i+en-i (4) ただしσ(α-n+i)≠0のときen-i=0,σ(α-n+i
=0のときen-i=ω(α-n+i)/σ′(α-n+i) また、消失誤り訂正に対しては上記の1)〜4)の他
に次の5),6)の演算が必要である。
4) Execution of error correction r'ni = rni + eni (4) However, when σ (α- n + i ) ≠ 0, eni = 0, σ (α- n + i )
When = 0, e ni = ω (α− n + i ) / σ ′ (α− n + i ) For erasure error correction, in addition to the above 1) to 4), the following 5), 6 ) Is required.

5)消失位置多項式の生成 s個の消失位置j1,j2,…,jsに対しY1=αji(i=1,
2,…,s)とし、消失位置多項式 λ(x)=(1−Y1*x)*(1−Y2 *x)*…(1−Y5*x) (5) を求める。
5) Generation of vanishing position polynomial For s vanishing positions j1, j2,..., Js, Y 1 = α ji (i = 1,
2, ..., and s), obtains the erasure position polynomial λ (x) = (1- Y 1 * x) * (1-Y 2 * x) * ... (1-Y 5 * x) (5).

6)消失位置多項式とシンドローム多項式の乗算 S(x)=S(x)*λ(x) (6) このS(x)を2)においてB0として用いる。6) Multiplication of erasure position polynomial and syndrome polynomial S (x) = S (x) * λ (x) (6) This S (x) is used as B 0 in 2).

また符号化に関しては次の演算が必要である。 The following operation is required for encoding.

7)符号化 情報系列I(x)=(Ik-1,Ik-2,…,I0)及び、生成
多項式g(x)=gm*xm+gm-1*xm-1+…+g0からバリ
テイP(x)を生成する。(m=2t)ただし、 P=(x)=I(x)*xm mod g(x) (7) 以上のような演算を実現する上で大きな訂正能力を持
つRS符号化・復号処理の装置化は、装置の規模及び制御
が非常に複雑かつ大規模になるため非常に困難であっ
た。
7) Encoding Information sequence I (x) = (I k−1 , I k−2 ,..., I 0 ) and generator polynomial g (x) = g m * x m + g m−1 * x m−1 + ... + from g 0 to generate a Baritei P (x). (M = 2t) where P = (x) = I (x) * x m mod g (x) (7) In the RS coding / decoding process having a large correction capability in realizing the above-described operation. Instrumentation has been very difficult because the scale and control of the instrument is very complex and large.

しかし、近年の半導体技術の進歩によって複雑かつ大
規模な装置のVLSI化が可能となった。このときVLSIの特
徴を生かしたアルゴリズムを考えることは重要である。
シストリツク・アルゴリズムはKungらによって提案され
たVLSI向きアルゴリズムである。今まで、1)〜7)の
いくつかの処理についてシストリツク・アルゴリズムに
よるICセルの構成が示されてきた。しかしそれらは1つ
の機能について独立なセルとして設計されてきた。その
ために1)〜7)の処理毎に別々のセルを設計する必要
があった。
However, recent advances in semiconductor technology have made it possible to make complex and large-scale devices VLSI. At this time, it is important to consider an algorithm that makes use of the features of VLSI.
The systolic algorithm is a VLSI-oriented algorithm proposed by Kung et al. Up to now, the configuration of IC cells by the systolic algorithm has been shown for some of the processes 1) to 7). However, they have been designed as independent cells for one function. Therefore, it is necessary to design a separate cell for each of the processes 1) to 7).

〔発明が解決ようとしている問題点〕[Problems to be solved by the invention]

本出願人が先に出願した特願昭61−305898号(以下、
先願という)においてRS符号化・復号において必要な次
の1)〜7)の処理を同一処理単位(プロセツシング・
エレメント,以下PEという)を用いてシストリツクに実
現した。
Japanese Patent Application No. 61-305898 filed earlier by the present applicant (hereinafter referred to as
In the prior application), the following processes 1) to 7) required for RS encoding / decoding are performed in the same processing unit (processing / processing).
Element, hereinafter referred to as PE).

先願に示したアーキテクチヤでは1PE単位にICセル化
した場合、1)〜7)の処理毎にICセルを設計する必要
はない。その点において先願に示したアーキテクチヤは
汎用性を持つアーキテクチヤであると言える。しかし先
願に示したアーキテクチヤは1)〜7)の処理を同一PE
を用いてシストリツクに実現しているが、処理毎にPEの
接続と制御を変えなければならない。1PE単位にIC化
し、接続を外部的に与えたとしても処理に対して接続は
固有であるので1つのPEは他の処理を行うことができな
い。
In the architecture described in the prior application, when IC cells are converted into 1PE units, there is no need to design IC cells for each of the processes 1) to 7). In that respect, the architecture shown in the prior application can be said to be an architecture having versatility. However, in the architecture shown in the earlier application, the processing of 1) to 7) is the same PE
However, the connection and control of PE must be changed for each process. Even if an IC is formed in units of one PE and the connection is given externally, the connection is unique to the processing, so that one PE cannot perform another processing.

従って先願に示したアーキテクチヤは、真に汎用性を
持つアーキテクチヤとは言えなかった。
Therefore, the architecture shown in the earlier application was not a truly versatile architecture.

そのために、消失誤り訂正5),6)を行おうとする場
合、5),6)の処理用のPEが必要となり、通常のRS符号
復号器で消失誤り訂正を処理することができなかった。
Therefore, when performing erasure error correction 5) and 6), PEs for processing 5) and 6) are required, and the erasure error correction cannot be processed by a normal RS code decoder.

また、先願のようにPE内のレジスタ段数を増して、回
路の小型を図る場合、レジスタ段数mは2t(tは訂正能
力)を上限とするため、限界があった。
Also, when the circuit size is reduced by increasing the number of register stages in the PE as in the prior application, the number m of register stages is limited to 2t (t is the correction capability), so there is a limit.

〔問題点を解決するための手段及び作用〕 本発明の誤り訂正装置は、各処理回路が、複数の単一
段のレジスタ及び複数の多段レジスタと、外部からの入
力と、前記複数の単一段のレジスタ及び前記複数の多段
レジスタからの入力とより、複数の入力を選択して出力
するセレクタと、該セレクタの第1の出力と第2の出力
とを乗じる第1の乗算器と、前記セレクタの第3の出力
と第4の出力とを乗じる第2の乗算器と、前記第1及び
第2の乗算器による乗算結果同士を加算する加算器とを
具え、該加算器による加算結果及び前記セレクタの一部
の出力をそれぞれ前記複数の多段レジスタに記憶させ、
前記セレクタの他の一部の出力をそれぞれ前記複数の単
一段のレジスタに記憶させ、該複数の単一段のレジスタ
及び前記複数の多段レジスタの各出力をそれぞれ前記セ
レクタに入力させるとともに、前記複数の単一段のレジ
スタ及び前記複数の多段レジスタの一部の出力を外部へ
出力する処理回路を複数有する誤り訂正装置であって、
複数の前記処理回路が、それぞれ同一の回路構成であ
り、同一の接続関係で複数個直列に接続されており、前
記セレクタの入出力関係を変更することにより、誤り訂
正の復号に必要な異なる手順の複数の演算を実行し、該
複数の演算のうちの2以上の演算を同一の処理回路を多
重的に用いて実行するものである。
[Means and Actions for Solving the Problems] In the error correction device of the present invention, each processing circuit includes a plurality of single-stage registers and a plurality of multi-stage registers, an external input, and the plurality of single-stage registers. A selector for selecting and outputting a plurality of inputs from a register and inputs from the plurality of multi-stage registers; a first multiplier for multiplying a first output and a second output of the selector; A second multiplier for multiplying a third output and a fourth output; and an adder for adding results of the multiplication by the first and second multipliers, the result of the addition by the adder and the selector Are stored in the plurality of multi-stage registers, respectively.
The other part of the output of the selector is stored in each of the plurality of single-stage registers, and the outputs of the plurality of single-stage registers and the plurality of multi-stage registers are respectively input to the selector. An error correction device including a single-stage register and a plurality of processing circuits that output some outputs of the plurality of multi-stage registers to the outside,
A plurality of the processing circuits have the same circuit configuration and are connected in series with the same connection relationship, and by changing the input / output relationship of the selector, a different procedure required for decoding error correction is performed. Are executed, and two or more of the plurality of operations are executed by using the same processing circuit in a multiplex manner.

〔実施例〕〔Example〕

第1図に本発明による基本PEを示す。第1図において
は、1は多入力多出力のセレクタ(MUX)であり、2,3は
(ガロア体上の)乗算器であり、4は(ガロア体上の)
加算器である。ガロア体GF(28)上の原始多項式P
(x)=x8+x4+x3+x2+1による乗算器を考えた場
合、2,3は第13図のように実現され、4はEXOR回路(8
個)によって実現される。5〜11はクロツクCKによって
動作するレジスタである。
FIG. 1 shows a basic PE according to the present invention. In FIG. 1, 1 is a multi-input multi-output selector (MUX), 2 and 3 are multipliers (on Galois fields), and 4 is (on Galois fields).
It is an adder. Primitive polynomial P over Galois field GF (2 8 )
(X) = When considering a multiplier by x 8 + x 4 + x 3 + x 2 +1, 2,3 is implemented as Fig. 13, the 4 EXOR circuit (8
). Registers 5 to 11 are operated by the clock CK.

第11図は回路の小型化のため、レジスタ段12〜14を挿
入した拡張PEである。12〜14のレジスタ段数をm−1と
した時、全体の処理は1/mに分解され、冗長なPEの数も1
/mになる。それを第2図のように接続する。第2図を1
ブロツクとした場合の入出力図及び各PEの制御を第3図
〜第9図に示す。
FIG. 11 shows an extended PE in which register stages 12 to 14 are inserted for miniaturization of the circuit. When the number of register stages of 12 to 14 is m-1, the entire processing is decomposed into 1 / m, and the number of redundant PEs is also 1
/ m. It is connected as shown in FIG. Figure 1
FIGS. 3 to 9 show input / output diagrams and control of each PE in the case of a block.

1)まず、各PEにα(j=1,…,2t)をsetするため
に、CKの転送レートで#1のPEのA入力にαをα〜α
2tの順に入力する。各PEはS1..5=02(以下、セレクタ
選択信号S1..5の値はHEX(16進)で表わす)に制御さ
れ、W出力からA入力のα(j=1,…,2t)が1クロ
ツク遅れで出力される。各PEに設定すべきαの値が来
た時、S1..5=03とすることによって、レジスタ5,11に
α及び1が設定される。α設定後はS1..5=02に戻
す。
1) First, α j (j = 1 to each PE, ..., a 2t) to set, α~α the alpha j to the A input of the # 1 of PE at a transfer rate of CK
Enter in the order of 2t . Each PE is controlled to S1..5 = 02 (hereinafter, the value of the selector selection signal S1..5 is represented by HEX (hexadecimal)), and from the W output to the A input α j (j = 1,..., 2t) ) Is output with one clock delay. When the value of α j to be set arrives at each PE, α j and 1 are set in the registers 5, 11 by setting S1..5 = 03. After setting α j , return to S1..5 = 02.

次に演算中は受信語rn-iを1周期(レジスタ段数をm
とした時mxck倍)毎に転送し、制御も1周期毎に行う。
rn-i(i=1,…,n)において、i=1の時、S1..5=00
とし、xから初期値Z0=0が出力され、Zi=Zi-1・α
+rn-i=rn-1()が計算される。i=2,…,nまでは通
常s1..5=01として、前演算結果Zi-1をD入力からX出
力にフイードバツクすることによつての演算を行う。
Next, during the calculation, the received word r ni is updated for one cycle (the number of register stages is m
Mxck times), and control is also performed every cycle.
In r ni (i = 1,..., n), when i = 1, S1..5 = 00
And an initial value Z 0 = 0 is output from x, and Z i = Z i−1 · α j
+ R ni = r n-1 () is calculated. Normally, s1..5 = 01 until i = 2,..., n, and the operation is performed by feeding back the previous operation result Z i-1 from the D input to the X output.

i=nの時、#jのPEのレジスタ8にシンドローム係
数Sjが生成される。次の符号語を処理するためにそのS
j-1を次のクロツクi=1でレジスタ9に移す。各PEを
順次S1..5=02とすることによってレジスタ9のSj-1
Z出力から出力され最後のPEからシンドローム多項式S
(x)の係数が順次出力される。ただし、受信語rn-j
レジスタ10及びレジスタ列14によって、1周期遅れで次
のPEへ転送されている。
When i = n, a syndrome coefficient Sj is generated in the register 8 of the PE #j. Its S to process the next codeword
j-1 is transferred to the register 9 at the next clock i = 1. By sequentially setting each PE to S1..5 = 02, S j-1 of the register 9 is output from the Z output, and the syndrome polynomial S from the last PE is output.
The coefficients of (x) are sequentially output. However, the received word r nj is transferred by the register 10 and the register row 14 to the next PE with a one-cycle delay.

2)まず#0のPEをS1..5=04として、A,B入力からA
(λ),B(x)を入力する。i=1の時入力される多項
式A(x)及びB(x)の最高次数係数β,αを、各々
レジスタ11,5に設定する(i=1),i=2,…,2tの時S
1..5=08として、演算C(x)=α・A(x)+β・B
(x)をレジスタ8及びレジスタ列13を通してxyから出
力する。その時レジスタ6,10及びレジスタ列12,14の値
をフイードバツクして、W,Z出力から出力することによ
って、C(x)と最高次数をそろえてA(x),B(x)
が次のPEに入力される。
2) First, the PE of # 0 is set to S1..5 = 04 and A is input from A and B.
(Λ) and B (x) are input. When i = 1, the highest order coefficients β and α of the polynomials A (x) and B (x) are set in the registers 11 and 5, respectively (i = 1), and when i = 2,. S
Assuming 1..5 = 08, operation C (x) = α · A (x) + β · B
(X) is output from xy through the register 8 and the register sequence 13. At that time, the values of the registers 6 and 10 and the register rows 12 and 14 are fed back and output from the W and Z outputs, so that C (x) and A (x) and B (x) are aligned with the highest order.
Is input to the next PE.

以下、#iのPEを前A(x),B(x),C(x)の次数
から適当なモード(nop,reduceA,reduceB)で制御し、
上記の演算を繰り返す(アルゴリズムの詳細は先願に示
す)。
Hereinafter, the PE of #i is controlled in an appropriate mode (nop, reduceA, reduceB) from the order of the previous A (x), B (x), C (x),
The above operation is repeated (the details of the algorithm are shown in the earlier application).

以上の演算を第10図のように全体的にフイードバツク
して2t+2回繰り返すことによって、A(x)とB
(x)の最大公約多項式が求められる。ただし、2t+2
回目の処理はdegA<tかdagB<tの判定のみのために必
要であり、dagA<tの時nop,degB<tの時nop′とす
る。
By repeating the above operation 2t + 2 times with feedback as a whole as shown in FIG. 10, A (x) and B (
The greatest common polynomial of (x) is obtained. However, 2t + 2
The second process is necessary only for the determination of degA <t or dagB <t, and is set to nop when dagA <t and nop 'when degB <t.

3)3)ではレジスタ列13は省略される。i=1,j=1
の時S1..5=1CとしてA入力のft-jをxに出力し、レジ
スタ6に入力する。その時C入力iはZ0=0,B入力から
はα-n+i(i=1)が入力され、Z1=Z0・α-n+i+ft-j
が演算される。j=2〜tはS1..5=1DとしてZi-1をD
入力からフイードバツクすることによって演算を行う。
i=2…n,j=1の時、通常S1..5=1,j=2…tの時S
1..5=1FとすることによってZi=Zi-1α-n+i+ft-jの演
算を行い、j=tの時最後のPEからf(α-n+i)の値が
出力される。
3) In 3), the register string 13 is omitted. i = 1, j = 1
The f tj of A inputs and outputs to the x as S1..5 = 1C when, inputs to the register 6. At that time, the C input i is Z 0 = 0, the α input is α −n + i (i = 1) from the B input, and Z 1 = Z 0 −n + i + f tj
Is calculated. j = 2 to t: S1..5 = 1D and Z i-1
The operation is performed by feedback from the input.
Normally S1..5 = 1 when i = 2 ... n, j = 1, S when j = 2 ... t
The calculation of Z i = Z i-1 α -n + i + f tj is performed by setting 1..5 = 1F, and when j = t, the value of f (α -n + i ) is output from the last PE. Is done.

4)通常S1..5=11とし、r′n-i=rn-i+0を演算し、
出力する。
4) Normally, S1..5 = 11, and r ′ ni = r ni +0 is calculated,
Output.

誤り位置の時、S1..5=10とすることによって、r′
n-i=rn-i+ω(α-n+i)/σ′(α-n+i)を演算し、
誤り訂正を行う。
At the error position, by setting S1..5 = 10, r ′
ni = r ni + ω (α− n + i ) / σ ′ (α− n + i )
Perform error correction.

誤り位置の検出はσ(α-n+i)=0(i=1,…,n)の
時に行われ、これによってS1を制御する。
The detection of the error position is performed when σ (α− n + i ) = 0 (i = 1,..., N), thereby controlling S1.

ここではレジスタ列は遅延させるだけで、演算には関
与しない。
Here, the register sequence is only delayed, and does not participate in the operation.

5)まず、Yj(j=1,…2t)の設定のため#1のPEのA
入力にYjをY1〜Y2tの順に入力する。i=1の時S1..5=
14とすることによって、A入力からのYj(j=1…2t)
がレジスタ5に設定される。C入力かiはZj-1が入力さ
れ、セレクタのZ出力を通してレジスタ9に入力され
る。レジスタ9の出力は次のクロツクでY(セレクタ)
に出力されZi=Zi-1・Yj・x+Zi-1が演算される。その
出力はレジスタ8及びレジスタ列13に入力され、1周期
遅れて次のPEに入力される。ただし、レジスタ5,11の設
定値は2tクロツク間保持される。以上の動作を8回繰り
返すことによって消失位置多項式λ(t)が求まる。た
だし、PEが8以下の時は、第10図のように全体的にフイ
ード・バツクすることによって演算等が行われる。
5) First, A of # 1 PE for setting Y j (j = 1,... 2t)
Input Y j in the order of Y 1 to Y 2t . When i = 1, S1..5 =
By setting it to 14, Y j from the A input (j = 1 ... 2t)
Is set in the register 5. For the C input or i, Z j−1 is input and input to the register 9 through the Z output of the selector. The output of register 9 is Y (selector) at the next clock.
Is output to the Z i = Z i-1 · Y j · x + Z i-1 is calculated. The output is input to the register 8 and the register row 13 and input to the next PE one cycle later. However, the set values of the registers 5 and 11 are held for 2t clocks. By repeating the above operation eight times, the erasure position polynomial λ (t) is obtained. However, when PE is 8 or less, calculations and the like are performed by feedback as a whole as shown in FIG.

6)#1のPEのB入力にシンドローム多項式S(x)の
係数がS2t-f〜S0の順に入力され、同時に、E入力から
はλ(x)の係数がλ2t〜λの順に入力されるとす
る。C入力からはZi-1の入力が入力されるが#1のPEで
はZ0=0であるので0が入力される。
6) coefficients using the syndrome polynomial S (x) to the B input of the # 1 PE is inputted in the order of S 2t-f ~S 0, at the same time, from the E input lambda coefficient is lambda 2t to [lambda] 0 of (x) Assume that they are input in order. From the C input, the input of Z i-1 is input, but 0 is input in the PE of # 1 because Z 0 = 0.

i=1の時S1..5=12とし、レジスタ5,11に各々設定
値、1及びS2t-jのPEについて設定される。i=2以
降、S1..5=13とすることによって1及びS2t-jの順に保
持される。
When i = 1, S1..5 = 12 is set, and the set values 1, 1 and S2t -j are set in the registers 5, 11, respectively. After i = 2, by setting S1..5 = 13, it is held in the order of 1 and S2t -j .

Xは常にC入力Zi-1を出力する。Yはi=1の時0,i
=2以降、E入力λ(x)をレジスタ9で1クロツク遅
らせたものを出力することによって多項式Zi-1に対し、
1次低い形のλ(x)となる。
X always outputs the C input Z i-1 . Y is 0, i when i = 1
= 2, the E input λ (x) is delayed by one clock in the register 9 to output a polynomial Z i-1 .
It becomes λ (x) of the first order lower form.

これによって、Zi=Zi-1・x+λ(x)・S2t-jが順
次演算され、最後のPEから演算結果であるλ(x)・S
(x)が出力される。
As a result, Z i = Z i−1 · x + λ (x) · S 2t-j is sequentially calculated, and the calculation result λ (x) · S is obtained from the last PE.
(X) is output.

以上の演算を第10図のように全体的にフイードバツク
することによって必要回数演算する。
The above calculations are performed as many times as necessary by feedback as a whole as shown in FIG.

7)情報I(x)=(Ik-1,Ik-2,…,I0)をA(x),
生成多項式g(x)=xm+gm-1・xm-1+…g1・x+g0
B(x)と考える。パリテイP(x)はA(x)をB
(x)で割った余りであるので、その動作は2)におけ
るreducsAの動作に同様になる。
7) Information I (x) = (I k−1 , I k−2 ,..., I 0 ) is represented by A (x),
Given the generator polynomial g (x) = x m + g m-1 · x m-1 + ... g 1 · x + g 0 B and (x). Parity P (x) is A (x) to B
Since the remainder is divided by (x), the operation is similar to the operation of reduceA in 2).

ただし、簡単のために入出力はCKの転送レートで行わ
れるとし、第10図のように、フイードバツクによって必
要回数計算を行う。
However, for simplicity, it is assumed that input and output are performed at the transfer rate of CK, and the required number of calculations is performed by feedback as shown in FIG.

〔他の実施例〕[Other embodiments]

このアーキテクチヤにおいてレジスタ列をRAMとして
図12のようにすることによって回路構成だけでなく処理
速度においても固定的でないアーキテクチヤとすること
ができる。図11においてレジスタ列で構成した場合、1
度PEが設計されるとレジスタ段数mは固定となって処理
速度が定まってしまう。
In this architecture, by using a register row as a RAM as shown in FIG. 12, an architecture that is not fixed not only in the circuit configuration but also in the processing speed can be obtained. In the case of the configuration shown in FIG.
When the degree PE is designed, the number m of register stages is fixed and the processing speed is determined.

そこでRAMアドレスの0〜m−1を任意に用いること
により真に汎用性のあるガロア体上の演算PEとなる。
Therefore, by arbitrarily using the RAM addresses 0 to m−1, a truly general-purpose operation PE on the Galois field is obtained.

第11図及び第12図のPEによるシステム構成を第10図に
示す。コントロール回路でPEの制御を切替るだけで汎用
性のある演算機が構成できる。
FIG. 10 shows a system configuration using the PEs in FIGS. 11 and 12. A versatile computing unit can be configured simply by switching the control of PE by the control circuit.

〔発明の効果〕〔The invention's effect〕

以上説明したように、本発明によれば、複数の処理回
路が、それぞれ多段のレジスタを具えた同一の回路構成
であり、かつ同一の接続関係で複数個直列に接続された
誤り訂正装置においてセレクタの入出力関係を変更する
ことにより、誤り訂正の復号に必要な異なる手順の複数
の演算を実行し、該複数の演算のうちの2以上の演算を
同一の処理回路を多重的に用いて実行するようにしたの
で、装置の回路規模を小型化することができる。
As described above, according to the present invention, a plurality of processing circuits have the same circuit configuration including multi-stage registers, and a plurality of processing circuits are connected in series in the same connection relationship. By executing a plurality of operations in different procedures necessary for decoding of error correction, and executing two or more of the plurality of operations using the same processing circuit in a multiplex manner. Therefore, the circuit scale of the device can be reduced.

特に、符号長nが訂正能力tよりはるかに大きいと
き、符号長n回程度必要な、例えばシンドローム生成処
理と並行して、いずれも2t回程度の処理である消失誤り
訂正を同一の回路を多重に用いて行うことにより、処理
速度を低下させずに回路規模を縮小することができる。
In particular, when the code length n is much larger than the correction capability t, the same circuit is required to perform the erasure error correction, which is about 2t times in parallel with the syndrome generation processing, which is required about n code times, for example. The circuit size can be reduced without reducing the processing speed.

また、多段レジスタとしてRAMを用いるとき、レジス
タ段数を増加させて訂正能力を向上させるとともに、要
求される訂正能力が低い場合には、レジスタ段数を減少
させて処理速度を向上させることができる。
When a RAM is used as a multi-stage register, the number of register stages can be increased to improve the correction capability, and when the required correction capability is low, the number of register stages can be reduced to improve the processing speed.

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

第1図は本発明の基本PEの説明図、 第2図は本発明の図11のPEの接続図、 第3図は本発明の図11のPEによるシンドローム生成用入
出力図、 第4図は本発明の図11のPEによるGCD生成用入出力図、 第5図は本発明の図11のPEによる多項式の値生成用入出
力図、 第6図は本発明の図11のPEによる誤り訂正用入出力図、 第7図は本発明の図11のPEによる消失位置多項式生成用
入出力図、 第8図は本発明の図11のPEによる乗算用入出力図、 第9図は本発明の図11のPEによる符号化用入出力図、 第10図はシステム構成図、 第11図は本発明のレジスタ段を示す図、 第12図は本発明のRAMによる拡張PE説明図、 第13図はガロア体上の乗算器の例を示す図である。 1……セレクタ、 2,3……乗算器、 4……加算器、 5〜11……レジスタ、 12〜14……レジスタ列、 15〜17……RAM。
FIG. 1 is an explanatory diagram of a basic PE of the present invention, FIG. 2 is a connection diagram of the PE of FIG. 11 of the present invention, FIG. 3 is an input / output diagram for syndrome generation by the PE of FIG. 11 of the present invention, FIG. Is an input / output diagram for GCD generation by the PE of FIG. 11 of the present invention, FIG. 5 is an input / output diagram for polynomial value generation by the PE of FIG. 11 of the present invention, and FIG. 6 is an error by the PE of FIG. 11 of the present invention. Input / output diagram for correction, FIG. 7 is an input / output diagram for erasure position polynomial generation by the PE of FIG. 11 of the present invention, FIG. 8 is an input / output diagram for multiplication by the PE of FIG. 11 of the present invention, and FIG. FIG. 11 is an input / output diagram for encoding by PE in FIG. 11 of the invention, FIG. 10 is a system configuration diagram, FIG. 11 is a diagram showing a register stage of the present invention, FIG. FIG. 13 is a diagram showing an example of a multiplier on a Galois field. 1 ... selector, 2,3 ... multiplier, 4 ... adder, 5-11 ... register, 12-14 ... register row, 15-17 ... RAM.

フロントページの続き (56)参考文献 特開 昭63−233614(JP,A) 特開 昭63−157525(JP,A) 特開 昭63−157530(JP,A) 特開 昭63−164624(JP,A) 特開 昭63−164629(JP,A) 電子情報通信学会技術研究報告 86 [301]IT86−102,P.15−18 電子情報通信学会技術研究報告 86 [301]IT86−103,P.19−22Continuation of the front page (56) References JP-A-63-233614 (JP, A) JP-A-63-157525 (JP, A) JP-A-63-157530 (JP, A) JP-A-63-164624 (JP) JP-A-63-164629 (JP, A) IEICE Technical Report 86 [301] IT86-102, P.A. 15-18 IEICE Technical Report 86 [301] IT86-103, p. 19-22

Claims (4)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】各処理回路が、 複数の単一段のレジスタ及び複数の多段レジスタと、 外部からの入力と、前記複数の単一段のレジスタ及び前
記複数の多段レジスタからの入力とより、複数の入力を
選択して出力するセレクタと、 該セレクタの第1の出力と第2の出力とを乗じる第1の
乗算器と、 前記セレクタの第3の出力と第4の出力とを乗じる第2
の乗算器と、 前記第1及び第2の乗算器による乗算結果同士を加算す
る加算器とを具え、 該加算器による加算結果及び前記セレクタの一部の出力
をそれぞれ前記複数の多段レジスタに記憶させ、前記セ
レクタの他の一部の出力をそれぞれ前記複数の単一段の
レジスタに記憶させ、該複数の単一段のレジスタ及び前
記複数の多段レジスタの各出力をそれぞれ前記セレクタ
に入力させるとともに、前記複数の単一段のレジスタ及
び前記複数の多段レジスタの一部の出力を外部へ出力す
る処理回路を複数有する誤り訂正装置であって、 複数の前記処理回路が、それぞれ同一の回路構成であ
り、同一の接続関係で複数個直列に接続されており、前
記セレクタの入出力関係を変更することにより、誤り訂
正の復号に必要な異なる手順の複数の演算を実行し、該
複数の演算のうちの2以上の演算を同一の処理回路を多
重的に用いて実行することを特徴とする誤り訂正装置。
A plurality of single-stage registers and a plurality of multi-stage registers; an external input; and a plurality of single-stage registers and a plurality of multi-stage registers. A selector for selecting and outputting an input; a first multiplier for multiplying a first output and a second output of the selector; a second multiplier for multiplying a third output and a fourth output of the selector
And an adder for adding the results of the multiplication by the first and second multipliers, and storing the result of the addition by the adder and a part of the output of the selector in the plurality of multi-stage registers, respectively. The other part of the output of the selector is stored in each of the plurality of single-stage registers, and the outputs of the plurality of single-stage registers and the plurality of multi-stage registers are respectively input to the selector. An error correction device comprising a plurality of single-stage registers and a plurality of processing circuits for outputting some outputs of the plurality of multi-stage registers to the outside, wherein each of the plurality of processing circuits has the same circuit configuration and the same A plurality of connections are connected in series with each other, and by changing the input / output relationship of the selector, a plurality of operations of different procedures necessary for decoding error correction are performed. And an error correction apparatus characterized by performing two or more operations of the operation of said plurality of using the same processing circuit multiplexed manner.
【請求項2】前記異なる手順の複数の演算は、消失訂正
を含むことを特徴とする特許請求の範囲第1項記載の誤
り訂正装置。
2. The error correction apparatus according to claim 1, wherein said plurality of operations in different procedures include erasure correction.
【請求項3】前記同一の回路構成の処理回路で、誤り訂
正符号の符号化処理をも行うことを特徴とする特許請求
の範囲第1項記載の誤り訂正装置。
3. The error correction device according to claim 1, wherein said processing circuit having the same circuit configuration also performs an error correction code encoding process.
【請求項4】前記多段レジスタとして、RAMを用いるこ
とを特徴とする特許請求の範囲第1項記載の誤り訂正装
置。
4. The error correction device according to claim 1, wherein a RAM is used as said multi-stage register.
JP62067344A 1987-03-20 1987-03-20 Error correction device Expired - Fee Related JP2603243B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62067344A JP2603243B2 (en) 1987-03-20 1987-03-20 Error correction device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62067344A JP2603243B2 (en) 1987-03-20 1987-03-20 Error correction device

Publications (2)

Publication Number Publication Date
JPS63233613A JPS63233613A (en) 1988-09-29
JP2603243B2 true JP2603243B2 (en) 1997-04-23

Family

ID=13342310

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62067344A Expired - Fee Related JP2603243B2 (en) 1987-03-20 1987-03-20 Error correction device

Country Status (1)

Country Link
JP (1) JP2603243B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3255386B2 (en) * 1993-12-27 2002-02-12 キヤノン株式会社 Error correction code decoder

Family Cites Families (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63157529A (en) * 1986-12-22 1988-06-30 Canon Inc encoder
JPS63164628A (en) * 1986-12-26 1988-07-08 Canon Inc encoder
JPS63157525A (en) * 1986-12-22 1988-06-30 Canon Inc Dissipated position polynominal expression generating circuit
JPS63157527A (en) * 1986-12-22 1988-06-30 Canon Inc Greatest common divisor polynomial generation circuit
JPS63164625A (en) * 1986-12-26 1988-07-08 Canon Inc Gcd generating circuit
JPS63157528A (en) * 1986-12-22 1988-06-30 Canon Inc Error position and error value generation circuit
JP2556495B2 (en) * 1986-12-26 1996-11-20 キヤノン株式会社 Code processor
JPS63164624A (en) * 1986-12-26 1988-07-08 Canon Inc Syndrome generation circuit
JPS63164627A (en) * 1986-12-26 1988-07-08 Canon Inc Missing location polynomial generating circuit
JPS63164626A (en) * 1986-12-26 1988-07-08 Canon Inc Error position and error value generation circuit
JPS63157530A (en) * 1986-12-22 1988-06-30 Canon Inc Bch coding decoding system
JPS63157526A (en) * 1986-12-22 1988-06-30 Canon Inc Syndrome generation circuit
JP2603244B2 (en) * 1987-03-20 1997-04-23 キヤノン株式会社 Error correction device

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
電子情報通信学会技術研究報告 86[301]IT86−102,P.15−18
電子情報通信学会技術研究報告 86[301]IT86−103,P.19−22

Also Published As

Publication number Publication date
JPS63233613A (en) 1988-09-29

Similar Documents

Publication Publication Date Title
US5170399A (en) Reed-Solomon Euclid algorithm decoder having a process configurable Euclid stack
US4649541A (en) Reed-Solomon decoder
US4873688A (en) High-speed real-time Reed-Solomon decoder
EP0365555B1 (en) Method and apparatus for error correction
US6119262A (en) Method and apparatus for solving key equation polynomials in decoding error correction codes
US5805617A (en) Apparatus for computing error correction syndromes
US4697248A (en) Arithmetic circuit for obtaining the vector product of two vectors
EP0963047B1 (en) Reed Solomon coding apparatus and Reed Solomon coding method
EP1502356B1 (en) A method of soft-decision decoding of reed-solomon codes
JP2694792B2 (en) Error position polynomial arithmetic circuit
JPS63186338A (en) Error correction circuit
JP2603243B2 (en) Error correction device
EP1175015B1 (en) Decoding circuit and decoding method thereof
JP2603244B2 (en) Error correction device
JPH11196006A (en) Parallel processing syndrome calculation circuit and reed solomon decoding circuit
EP0341851A2 (en) Method and apparatus for interleaved encoding
JPH0476540B2 (en)
US6859905B2 (en) Parallel processing Reed-Solomon encoding circuit and method
JPH0750595A (en) Decoding device
EP0584864A1 (en) A hardware-efficient method and device for encoding BCH codes and in particular Reed-Solomon codes
JP2963018B2 (en) Reed-Solomon error correction code decoding circuit
JP2907138B2 (en) Error correction arithmetic processing method and processing circuit
Lee et al. An efficient recursive cell architecture of modified Euclid's algorithm for decoding Reed-Solomon codes
JP2570251B2 (en) Arithmetic circuit of finite field
KR970005125B1 (en) Reed-Solo Only Encoder

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees