[go: up one dir, main page]

JPH0746776B2 - Error correction circuit - Google Patents

Error correction circuit

Info

Publication number
JPH0746776B2
JPH0746776B2 JP17661784A JP17661784A JPH0746776B2 JP H0746776 B2 JPH0746776 B2 JP H0746776B2 JP 17661784 A JP17661784 A JP 17661784A JP 17661784 A JP17661784 A JP 17661784A JP H0746776 B2 JPH0746776 B2 JP H0746776B2
Authority
JP
Japan
Prior art keywords
circuit
syndrome
error
exclusive
sequentially
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
JP17661784A
Other languages
Japanese (ja)
Other versions
JPS6154719A (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 JP17661784A priority Critical patent/JPH0746776B2/en
Publication of JPS6154719A publication Critical patent/JPS6154719A/en
Publication of JPH0746776B2 publication Critical patent/JPH0746776B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Error Detection And Correction (AREA)

Description

【発明の詳細な説明】 〔技術分野〕 本発明は、短縮リード・ソロモン符号を用いてt重誤り
を訂正するようにした誤り訂正回路に関するものであ
る。
Description: TECHNICAL FIELD The present invention relates to an error correction circuit adapted to correct a t-fold error by using a shortened Reed-Solomon code.

〔従来技術〕[Prior art]

従来から、磁気ファイル等におけるファイリング装置の
データ信頼性を向上するために、しばしば単一バイト誤
りを訂正するリード・ソロモン符号や隣接誤り訂正符号
が用いられている。なかでも、磁気媒体よりもエラーレ
ートの悪い媒体(光ディスク等)を用いる場合、あるい
は、データ信頼度をより向上させたい場合には、ランダ
ムな2重バイト誤りを訂正する能力をもつリード・ソロ
モン符号が用いられている。
Conventionally, in order to improve the data reliability of a filing device in a magnetic file or the like, a Reed-Solomon code or an adjacent error correction code that corrects a single-byte error is often used. In particular, when using a medium (optical disk or the like) having an error rate lower than that of a magnetic medium, or when it is desired to further improve data reliability, a Reed-Solomon code having a capability of correcting a random double byte error. Is used.

また、光磁気ディスク等さらにエラーレートの悪い媒体
を用いたり、あるいは、データの信頼度をさらに向上さ
せたい場合には、ランダムな3重バイト誤り以上を訂正
する能力をもつリード・ソロモン符号を用いることが望
ましい。
If a medium with a lower error rate such as a magneto-optical disk is used, or if the reliability of data is desired to be further improved, a Reed-Solomon code having the ability to correct a random triple byte error or more is used. Is desirable.

一般に、t重誤りを訂正するリード・ソロモン符号の復
号法として、バーレカンプ・マッシイの方法およびピー
ターソンの方法が知られている。
Generally, the Berlekamp-Massie method and the Peterson method are known as Reed-Solomon code decoding methods for correcting the t-fold error.

しかし、ピーターソンの方法は、次に示すステップを必
要とするので、復号過程が複雑となる。
However, the Peterson method requires the following steps, which complicates the decoding process.

ステップ1:シンドロームから、M次の行列式 但し、M=t,t−1,…,2,1を各々のMに対して計算し、
誤りの個数を求める。
Step 1: From the syndrome, the determinant of degree M However, M = t, t−1, ..., 2,1 is calculated for each M,
Find the number of errors.

ステップ2:ステップ1で求めた誤りの個数に応じた誤り
位置多項式をたて、その係数を求める。
Step 2: An error locator polynomial is created according to the number of errors found in step 1, and its coefficient is found.

ステップ3:誤り位置多項式のM個の根を求める。これら
の根は、誤りの位置を表わす。
Step 3: Find M roots of the error locator polynomial. These roots represent the location of the error.

ステップ4:求められたM個の誤りの位置とシンドローム
とに基づき、各誤り位置に対応する各々の誤りパターン
を求める。
Step 4: Based on the obtained M error positions and the syndrome, each error pattern corresponding to each error position is obtained.

かかる復号過程を避けるために、前記ステップを踏ま
ず、誤り位置および誤りパターンを直接復号するように
した方式として、「GF(2m)の上の拡大リード・ソロモ
ン符号の一復号方式」(電子通信学会論文誌'83/1Vol.J
66−A,No.1)あるいは、「デジタル信号の誤り検出回
路」(特開昭58−138140号)が知られている。
In order to avoid such a decoding process, as a method for directly decoding the error position and the error pattern without taking the above steps, "a decoding method of the extended Reed-Solomon code on GF (2 m )" (electronic IEICE Transactions '83 / 1 Vol.J
66-A, No. 1) or "digital signal error detection circuit" (JP-A-58-138140).

直接的に復号する方式は前記ステップを踏む必要がない
ので、2重訂正に対しては回路量の少ない復号回路を提
供することができる(第2図に示す特開昭58−144952号
公報の概略ブロック図参照)。
Since the method of directly decoding does not require the above steps, it is possible to provide a decoding circuit with a small circuit amount for double correction (see Japanese Patent Laid-Open No. 58-144952 shown in FIG. 2). (See schematic block diagram).

しかし、短縮されたリード・ソロモン符号に対しても、
短縮されていないときと同じクロック数を必要とすると
いう欠点があった。
However, even for shortened Reed-Solomon codes,
It had the drawback of requiring the same number of clocks as when not shortened.

その理由を、第1図示の短縮符号を用いて説明する。こ
こでは、2重誤り訂正短縮リード・ソロモン符号のi番
目のワードWiに誤りパターンeiが、またj番目のワード
Wjに誤りパターンejが生じた場合について説明する。
The reason will be described using the shortened code shown in the first figure. Here, the error pattern e i is added to the i-th word W i of the double error correction shortened Reed-Solomon code, and the j-th word
A case where the error pattern e j occurs in W j will be described.

任意の整数mで定義されるガロア体GF(2m)の原始元α
を用いて構成されるパリティ検査行列を受信符号に乗じ
て得られるシンドロームは、 となり、上記シンドロームS0,S1,S2,S3は、各々α
(=1),α,α,αをフィードバック係数に持
つシンドローム・レジスタに対してワードWN,…,Wi
この順序にて入力することによって生成される。
Primitive element α of Galois field GF (2 m ) defined by an arbitrary integer m
The syndrome obtained by multiplying the received code by the parity check matrix configured using And the syndromes S 0 , S 1 , S 2 , and S 3 are α 0 respectively.
It is generated by inputting the words W N , ..., W i in this order to a syndrome register having (= 1), α 1 , α 2 , and α 3 as feedback coefficients.

上述した特開昭58−144952号公報に示される直接復号法
では、この後も更にシンドローム・レジスタをシフトす
る。
In the direct decoding method disclosed in Japanese Patent Laid-Open No. 58-144952, the syndrome register is further shifted after this.

k回シフト後のシンドロームS0,S1,S2,S3は次式で表
わされる。
The syndromes S 0 , S 1 , S 2 , and S 3 after the k-th shift are represented by the following equations.

上記シンドローム間の排他的論理和A0,A1,A2は次式で
表わされる。
The exclusive OR A 0 , A 1 , A 2 between the syndromes is expressed by the following equation.

ここで、L=A0・A1+▲A2 1▼と定義すれば、 L=eiej(1+αi+k)(1+αi+k)(α
2(i+k)+α2(i+k)) …(4) より、k=M−iまたはk=M−jのときのみL=0と
なる。
Here, if we define L = A 0 · A 1 + ▲ A 2 1 ▼, L = e i e j (1 + α i + k ) (1 + α i + k ) (α
2 (i + k) + α 2 (i + k) ) (4), L = 0 only when k = M−i or k = M−j.

従って、1番目のワードに誤りが生じたかをLの値によ
り調べるためには、i=1よりk=M−1回のシフトを
シンドロームに対して施すことが必要となる。これは短
縮していない場合に要するシフト回数と同じであり、1
回のシフトに1クロック必要であるから、短縮していな
い場合と同じクロック数を要することになる。そこで、
このシフト回数を減らすことができれば、それだけ処理
時間を短縮することができる。
Therefore, in order to check whether or not an error has occurred in the first word from the value of L, it is necessary to shift the syndrome from i = 1 to k = M−1 times. This is the same as the number of shifts required when not shortened.
Since one clock is required for each shift, the same number of clocks as when not shortened is required. Therefore,
If the number of shifts can be reduced, the processing time can be shortened accordingly.

〔目的〕〔Purpose〕

本発明の目的は、上述の点に鑑み、短縮リード・ソロモ
ン符号を直接復号する際に、短縮していない場合よりも
シンドロームに対するシフト演算の回数が少なくて済
み、処理時間の短い高速な誤り訂正回路を提供すること
にある。
In view of the above points, an object of the present invention is that when directly decoding a shortened Reed-Solomon code, the number of shift operations for the syndrome is smaller than that in the case where the shortened Reed-Solomon code is not shortened. To provide a circuit.

かかる目的を達成するために、本発明では、符号長Nの
2m元短縮リード・ソロモン符号(N<M=2m−1:mは自
然数)を受信して受信語のt重誤りを訂正する誤り訂正
回路において、受信語Wj(j=1,2,…,N)のそれぞれ
に、αi(M−N)・αij(αはガロア体GF(2m)の原
始元)を乗じた和によるシンドロームSi(i=0,1,…,2
t−1)を生成する生成手段と、該生成手段により生成
された前記シンドロームSi(i=0,1,…,2t−1)の各
々にαをN−1回繰り返し乗じる過程により、シンド
ロームSi (k)=Si(α(k=0…,N−1)を順次
求める第1演算手段と、該第1演算手段により順次求め
られた前記シンドロームSi (k)同士の和Si (k)+Si+1 (k)
(i=0,1,…,2t−2)をn+1行i−n+1列(0≦
n,i−n≦t−1)の要素とするt次正方行列の行列式
Δ(k)を順次演算する第2演算手段と、前記第1演算
手段により順次求められた前記シンドロームSi (k)(i
=0,1,…,2t−1)の値を用いて、受信語WN-kに誤りが
生じた場合の誤りパターンeN-kを演算する第3演算手段
と、前記第2演算手段により順次演算された前記行列式
Δ(k)のそれぞれにつき、値が0か否かを判別する判
別手段と、該判別手段によって前記行列式Δ(k)の値
が0と判別された場合に、演算された前記誤りパターン
eN-kにより受信語WN-kを訂正する訂正手段とを有するこ
とを特徴とする。
In order to achieve such an object, in the present invention, the code length N
In an error correction circuit that receives a 2 m-element shortened Reed-Solomon code (N <M = 2 m −1: m is a natural number) and corrects a t-fold error of the received word, the received word W j (j = 1,2 , ..., N) is multiplied by α i (M−N) · α ij (α is a primitive element of Galois field GF (2 m )) to obtain a syndrome S i (i = 0,1, ..., N) 2
t-1) and a process of repeatedly multiplying each of the syndromes S i (i = 0,1, ..., 2t-1) generated by the generating device by α i N-1 times, Syndrome S i (k) = S ii ) k (k = 0 ..., N−1) is sequentially calculated, and the syndrome S i (k) is sequentially calculated by the first calculation unit. Sum of two S i (k) + S i + 1 (k)
(I = 0, 1, ..., 2t−2) in n + 1 rows and i−n + 1 columns (0 ≦
(n, i−n ≦ t−1) which is an element of a t-th order square matrix and which sequentially calculates the determinant Δ (k) , and the syndrome S i ( which is sequentially obtained by the first calculating means ). k) (i
= 0,1, ..., 2t-1), the third calculation means for calculating the error pattern e Nk when an error occurs in the received word W Nk , and the second calculation means for sequentially calculating the error pattern e Nk. For each of the determinants Δ (k) , a determination unit that determines whether or not the value is 0, and if the determination unit determines that the value of the determinant Δ (k) is 0, it is calculated. The error pattern
and having a correction means for correcting the received word W Nk by e Nk.

また、本発明の好適実施例として、任意の整数mで定義
されるガロア体GF(2m)の原始元αを用いた2t個(ただ
し、tは正の整数)の1次多項式の積で得られる生成多
項式から生成される符号長N(但し、Nは2tよりも大き
く、M=2m−1よりも小さい正の整数)の短縮リード・
ソロモン符号を受信して該受信符号に対する2t個のシン
ドロームS0,S1,…,S2t-1を個別に出力するシンドロ
ーム演算手段と、符号の短縮分を考慮したα
i(M−N)を各々のシンドロームSi(i=0,1,…2t−
1)に乗じ若しくは予め受信信号に乗ずる乗算手段と、
この乗算手段から得られるシンドロームS0′,S1′,…
2′t−1に対して、 Si′→Si′α→Si′α2i→…→Si′(α=Si
(k) 但し、i=0,1,…,2t−1 k=1,2,…,N へと順次交換する手段と、前記シンドロームSi (k)の変
換ごとにシンドローム間の排他的論理和であるS0 (k)S
1 (k),S1 (k)S2 (k),…,S2t-2 (k)S2t-1 (k)を演算す
る手段と、前記排他的論理和であるS0 (k)S1 (k),S1
(k)S2 (k),…,S2t-2 (k)S2t-1 (k)に関する行列式 Δ (k)=|S0 (k),S1 (k) を演算する手段と、Δi(k)=0を検出して誤りの個
数ならびに誤りの位置を同時に求めるt重誤り位置検出
回路と、その誤り位置の誤りパターンを求める論理回路
とを備えて誤り訂正回路を構成することも可能である。
As a preferred embodiment of the present invention, a product of 2t (where t is a positive integer) first-order polynomial using a primitive element α of a Galois field GF (2 m ) defined by an arbitrary integer m. A shortened read of the code length N (where N is a positive integer larger than 2t and smaller than M = 2 m −1) generated from the obtained generator polynomial.
Syndrome computing means for receiving a Solomon code and individually outputting 2t syndromes S 0 , S 1 , ..., S 2t-1 corresponding to the received code, and α considering the shortening of the code.
i (M−N) is represented by each syndrome S i (i = 0, 1, ... 2t−
Multiplication means for multiplying 1) or multiplying the received signal in advance;
The syndromes S 0 ′, S 1 ′, ... Obtained from this multiplication means
For S 2 ′ t−1 , S i ′ → S i ′ α i → S i ′ α 2 i → ... → S i ′ (α i ) k = S i
(k) However, means for sequentially exchanging i = 0,1, ..., 2t-1 k = 1,2, ..., N, and exclusive logic between syndromes for each conversion of the syndrome S i (k) The sum S 0 (k) S
Means for computing 1 (k) , S 1 (k) S 2 (k) , ..., S 2t-2 (k) S 2t-1 (k) and the exclusive OR S 0 (k) S 1 (k) , S 1
(k) S 2 (k) , ..., S 2t-2 (k) S 2t-1 (k) determinant Δ 1 (k) = | S 0 (k) , S 1 (k) | Error correction is provided with a means for calculating Δi (k) = 0, a t-multiple error position detection circuit for simultaneously detecting the number of errors and the position of the error by detecting Δi (k) = 0, and a logic circuit for calculating an error pattern of the error position. It is also possible to configure a circuit.

以下、図面を参照して本発明を詳細に説明する。Hereinafter, the present invention will be described in detail with reference to the drawings.

〔実施例〕〔Example〕

第3図は、本発明を適用した短縮符号リアルタイム訂正
回路のブロック図である。
FIG. 3 is a block diagram of a shortened code real-time correction circuit to which the present invention is applied.

本実施例では、2重誤りを訂正するための回路構成を示
す。
In this embodiment, a circuit configuration for correcting double error is shown.

第3図において、1〜3はガロア体GF(2m)の要素α
(M−N),α2(M−N),α3(M−N)を乗算す
る回路、4〜6はα,α,αを乗算する回路であ
り、ROMまたは排他的論理和回路の組合せによって構成
する。
In FIG. 3, 1 to 3 are elements α of Galois field GF (2 m ).
(M−N) , α 2 (M−N) , α 3 (M−N) multiplication circuits, 4 to 6 are α, α 2 and α 3 multiplication circuits, and ROM or exclusive OR It is configured by combining circuits.

7〜17は、それぞれmビットの排他的論理和回路であ
る。
Reference numerals 7 to 17 are m-bit exclusive OR circuits.

18〜21はそれぞれmビットのレジスタ(シンドローム・
レジスタ)である。
18 to 21 are m-bit registers (syndrome,
Register).

また、排他的論理和回路7およびレジスタ18はシンドロ
ームS0の生成回路を構成する。更に、α(M−N)乗算
回路1と排他的論理和回路8とα乗算回路4とレジスタ
19とにより、シンドロームS1の生成回路を構成する。
Further, the exclusive OR circuit 7 and the register 18 constitute a circuit for generating the syndrome S 0 . Furthermore, the α (M−N) multiplication circuit 1, the exclusive OR circuit 8, the α multiplication circuit 4, and the register
19 and 19 form a circuit for generating the syndrome S 1 .

α2(M−N)乗算回路2と排他的論理和回路9とα
乗算回路5とレジスタ20とにより、シンドロームS2の生
成回路を構成する。
α 2 (M−N) multiplication circuit 2, exclusive OR circuit 9 and α 2
The multiplication circuit 5 and the register 20 constitute a circuit for generating the syndrome S 2 .

α3(M−N)乗算回路3と排他的論理和回路10とα
乗算回路6とレジスタ21とにより、シンドロームS3の生
成回路を構成する。
α 3 (M−N) multiplication circuit 3, exclusive OR circuit 10 and α 3
The multiplication circuit 6 and the register 21 constitute a circuit for generating the syndrome S 3 .

W1,W2,…,WN(Wi(i=1,2,…,N)はmビットから構
成される)は、受信された符号長N(ただし、Nは短縮
された符号長でN<M=2m−1)の符号語を表すものと
する。
W 1 , W 2 , ..., W N (W i (i = 1,2, ..., N) is composed of m bits) is the received code length N (where N is a shortened code length). , N <M = 2 m −1) codewords.

本実施例を作動させるには、まずスイッチ28を閉じて受
信語W1,W2,…,WNを信号線aに順次入力し、信号線b
にはシフトクロックを加える。このとき、
α(M−N),α2(M−N),α3(M−N)乗算回
路によって、受信語には予めα(M−N),α
2(M−N),α3(M−N)が乗算されてある。
In order to operate this embodiment, first, the switch 28 is closed and the received words W 1 , W 2 , ..., W N are sequentially input to the signal line a, and the signal line b.
Add a shift clock to. At this time,
The received word is preliminarily set to α (M−N) , α by the α (M−N) , α 2 (M−N) , α 3 (M−N) multiplication circuit.
2 (M−N) , α 3 (M−N) are multiplied.

従って、それぞれのシンドロームは、次式のようにな
る。
Therefore, each syndrome is as follows.

ここで、従来例と同様に、i番目のワードWiに誤りパタ
ーンei,j番目のワードWjに誤りパターンejが生じた場合
を例にとり説明する。
Here, similarly to the conventional example, a case where an error pattern e i occurs in the i-th word W i and an error pattern e j occurs in the j-th word W j will be described as an example.

より、それぞれのシンドロームは、次式のようになる。 Therefore, each syndrome is as follows.

次に、スイッチ28を開いて信号線bにシフトクロックを
加え続けると、k回シフト後のシンドロームS0〜S3は次
式で表される。
Next, when the switch 28 is opened and the shift clock is continuously applied to the signal line b, the syndromes S 0 to S 3 after the k-th shift are expressed by the following equation.

排他的論理和回路11〜13によって、上記シンドローム間
の排他的論理和A0,A1,A2をとると、次式で表される。
When exclusive ORs A 0 , A 1 and A 2 among the syndromes are taken by the exclusive OR circuits 11 to 13, they are expressed by the following equation.

ここで、L=A0・A2+▲A2 1▼と定義すれば、 L=ei・ej(1+αM−N・αi+k)・(1+α
M−N・αj+k)(α2(i+k)
α2(j+k))・α2(M−N) …(10) より、k=N−i、またはk=N−jのときのみL=0
となる。
Here, if L = A 0 · A 2 + ▲ A 2 1 ▼ is defined, L = e i · e j (1 + α M−N · α i + k ) · (1 + α
M−N · α j + k ) (α 2 (i + k) +
From α 2 (j + k) ) · α 2 (M−N) (10), L = 0 only when k = N−i or k = N−j
Becomes

ここで、符号長はNであるので、1≦i≦N,1≦j≦N 従って、k<Nとなり、シフトクロックは短縮された符
号長に抑えられる。
Here, since the code length is N, 1 ≦ i ≦ N, 1 ≦ j ≦ N Therefore, k <N, and the shift clock is suppressed to the shortened code length.

また、パターンについても、次式で求められる。The pattern is also calculated by the following equation.

e=S0+▲A2 0▼(A0+A1-1 …(11) なぜならば、k=N−iのとき、A0,A1,S0であるので、 再び第3図に戻り、各構成要素について説明する。e = S 0 + ▲ A 2 0 ▼ (A 0 + A 1 ) −1 (11) Because, when k = N−i, A 0 , A 1 , and S 0 are Therefore, Returning to FIG. 3 again, each component will be described.

22,23はガロア体GF(2m)上での自乗回路であり、α
が入力されるとα2iが出力される。
22 and 23 are square circuits on the Galois field GF (2 m ), and α i
When is input, α 2i is output.

24はガロア体GF(2m)上の任意の元αとαの乗算結
果αi+jを出力する回路であり、m≦6のときにはRO
Mで構成することができる。
24 is a circuit for outputting a multiplication result α i + j of arbitrary elements α i and α j on the Galois field GF (2 m ), and when m ≦ 6, RO
Can be composed of M.

25はガロア体GF(2m)上の任意の元αとαの割算結
果αi−jを出力する回路であり、m≦6ならばROMに
より構成することができる。
A circuit 25 outputs a division result α i−j of arbitrary elements α i and α j on the Galois field GF (2 m ). If m ≦ 6, it can be configured by a ROM.

26はゲート回路であり、排他的論理和回路15かからの信
号をゲート信号とし、このゲート信号が“0"のときにゲ
ートを開いて排他的論理和回路16からの出力信号を出力
し、ゲート信号が“0"でなければゲートを閉じて“0"を
出力する。
Reference numeral 26 denotes a gate circuit, which uses a signal from the exclusive OR circuit 15 as a gate signal, opens the gate when the gate signal is "0", and outputs an output signal from the exclusive OR circuit 16, If the gate signal is not "0", the gate is closed and "0" is output.

27はNワードのデータを貯えるバッファメモリである。27 is a buffer memory for storing N words of data.

上述の排他的論理和回路11,13から出力されたシンドロ
ーム間の排他的論理和A0,A2は乗算回路24に入力され、
A0・A2が出力される。
The exclusive ORs A 0 and A 2 between the syndromes output from the above exclusive OR circuits 11 and 13 are input to the multiplication circuit 24,
A 0 and A 2 are output.

このとき、排他的論理和回路12から出力されたシンドロ
ーム間の排他的論理和A1は自乗回路23に入力され、▲A2
1▼が出力される。その結果を排他的論理和回路15に入
力することにより、L=A0・A2+▲A2 1▼が計算され
る。
At this time, the exclusive OR A 1 between the syndromes output from the exclusive OR circuit 12 is input to the squaring circuit 23, and ▲ A 2
1 ▼ is output. By inputting the result to the exclusive OR circuit 15, L = A 0 · A 2 + ▲ A 2 1 ▼ is calculated.

これと同時に、排他的論理和回路14によってA0+A1が計
算され、自乗回路22により▲A2 0▼が計算される。この
結果を割算回路25に入力することにより、▲A2 0▼/(A
0+A1)が出力される。
At the same time, the exclusive OR circuit 14 calculates A 0 + A 1 , and the square circuit 22 calculates ▲ A 2 0 ▼. By inputting this result to the division circuit 25, ▲ A 2 0 ▼ / (A
0 + A 1 ) is output.

最後に、排他的論理和回路16から e=S0+▲A2 0▼/(A0+A1)が出力される。Finally, the exclusive OR circuit 16 outputs e = S 0 + ΔA 2 0 ▼ / (A 0 + A 1 ).

スイッチ28が閉じられて受信語WN,…,W1が信号線aか
ら入力されている時、メモリバッファ27は受信後WN
…,W1を貯える。そして、スイッチ28が開かれると、シ
フトクロックbに同期して受信語が出力される。
When the switch 28 is closed and the received word W N , ..., W 1 is input from the signal line a, the memory buffer 27 receives W N ,
…, Store W 1 . Then, when the switch 28 is opened, the received word is output in synchronization with the shift clock b.

従って、スイッチ28が閉じられて(N−i)回目のシフ
トがなされると、排他的論理和回路15からの出力はL=
0となり、また、排他的論理和回路16からの出力はe=
eiとなる。よって、L=0であるのでゲート回路26は開
き、排他的論理和回路16から出力e=eiが出力される。
このとき、バッファからはWiが出力されているので、排
他的論理和回路17において Wi+ei=Wi が計算され、誤りが訂正されて出力される。Wjについて
も同様である。
Therefore, when the switch 28 is closed and the (N-i) th shift is performed, the output from the exclusive OR circuit 15 is L =
0, and the output from the exclusive OR circuit 16 is e =
e i . Therefore, since L = 0, the gate circuit 26 is opened, and the exclusive OR circuit 16 outputs the output e = e i .
At this time, since W i is output from the buffer, W i + e i = W i is calculated in the exclusive OR circuit 17, and the error is corrected and output. The same applies to W j .

以上は2重誤りについて説明したが、t重誤りについて
も同様に拡張していくことが可能である。
Although the double error has been described above, the t error can be similarly expanded.

第3図に示した実施例では、シンドローム生成部と、そ
れぞれのシンドロームを Si′→Si′α→Si′α2i→…→Si′(α (i=0,1,2,3) に変換する部分とをスイッチ28の開閉によって共有させ
ていたが、第4図に示すように、シンドローム生成部と
シンドローム変換部とを分けることもできる。かかる構
成によれば、シンドローム生成後にスイッチ28を開いて
受信語を空送りする必要がなくなるので、符号ブロック
が連続して送られる場合にも、リアルタイム処理が可能
となる。
In the embodiment shown in FIG. 3, the syndrome generator and the respective syndromes are represented by S i ′ → S i ′ α i → S i ′ α 2 i → ... → S i ′ (α i ) k (i = 0, Although the part to be converted into 1,2,3) is shared by opening and closing the switch 28, as shown in FIG. 4, the syndrome generation part and the syndrome conversion part can be separated. With this configuration, it is not necessary to open the switch 28 and idle feed the received word after the syndrome is generated, and therefore, even when the code blocks are continuously transmitted, real-time processing is possible.

また、αM−N,α2(M−N),α3(M−N)乗算
回路をROMで構成する場合には第5図に示すように、信
号線cに対してワード位置情報を送り、ROM33に対する
i番目のワードWiの入力によってWiαM−N・αを出
力させ、他方、ROM34に対してはWiα2(M−N)・α
2iを、ROM35に対してはWiα3(M−N)・α3iを出力
させることにより、(5)式を計算することができる。
かかる構成により、回路をより簡単化することができ
る。
Further, when the α MN , α 2 (MN) , and α 3 (MN) multiplication circuits are constituted by ROM, as shown in FIG. 5, word position information is given to the signal line c. When the i-th word W i is input to the ROM 33, W i α M−N · α i is output, while for the ROM 34, W i α 2 (M−N) · α.
By outputting 2i to the ROM 35 and outputting W i α 3 (M−N) · α 3i , the equation (5) can be calculated.
With this configuration, the circuit can be further simplified.

なお、m≦6ならば、ROM36,37,38(第5図参照)を用
いてLおよびeの演算回路を簡単化することができる。
ここで、ROM36はA0,A2の入力に対して、A0・A2を出力
する。ROM37はA1,A0,A2の入力に対して、A0・A2+A1
を出力する。ROM38はA0,A1の入力に対して、▲A2 0▼・
(A0+A1-1を出力する。
If m ≦ 6, the arithmetic circuits for L and e can be simplified by using the ROMs 36, 37 and 38 (see FIG. 5).
Here, ROM 36 for the input of A 0, A 2, and outputs the A 0 · A 2. ROM37 is A 0 · A 2 + A 1 for A 1 , A 0 , A 2 input
Is output. ROM38 is ▲ A 2 0 ▼ ・ for input of A 0 and A 1.
Outputs (A 0 + A 1 ) -1 .

更に、第6図に示すように、シンドローム生成回路およ
びシンドローム変換回路の中間に、α(M−N),α
2(M−N),α3(M−N)乗算回路を挿入すること
も可能である。かかる構成は、(5)式を
α(M−N),α2(M−N),α3(M−N)でくく
った次式と等価である。
Furthermore, as shown in FIG. 6, in the middle of the syndrome generation circuit and the syndrome conversion circuit, α (M−N) , α
It is also possible to insert a 2 (M−N) , α 3 (M−N) multiplication circuit. Such a configuration is equivalent to the following equation obtained by combining the equation (5) with α (M−N) , α 2 (M−N) , and α 3 (M−N) .

〔効果〕 以上説明したように、本発明によれば、短縮リード・ソ
ロモン符号を直接復号する際に、シンドロームに対して
施す順次演算の回数を符号の短縮分だけ減らすことがで
きるので、復号に要する時間の短い高速な誤り訂正を行
なうことができる。
[Effect] As described above, according to the present invention, when the shortened Reed-Solomon code is directly decoded, the number of sequential operations performed on the syndrome can be reduced by the shortening of the code. High-speed error correction that requires a short time can be performed.

本発明を実施することにより、ハードウエアの縮小化を
図り得るばかりでなく、宇宙通信をも含む全ての通信技
術、ディジタル画像処理技術など広汎なディジタル技術
分野に応用することができる。
By implementing the present invention, not only can the hardware be downsized, but it can be applied to a wide range of digital technical fields such as all communication technologies including space communication and digital image processing technologies.

【図面の簡単な説明】 第1図は短縮符号の説明図、 第2図は特開昭58−144952号公報に開示されている誤り
訂正回路のブロック図、 第3図は本発明を適用した短縮符号リアルタイム訂正回
路の一実施例を示すブロック図、 第4図はシンドローム生成部とシンドローム変換部とを
分離して構成した短縮符号リアルタイム訂正回路の別実
施例を示すブロック図、 第5図はROMを用いて簡単化した短縮符号リアルタイム
訂正回路の別実施例を示すブロック図、 第6図はαM−N,α2(M−N),α3(M−N)
算回路をシンドローム生成部とシンドローム変換部との
中間に挿入して構成した短縮符号リアルタイム訂正回路
の別実施例を示すブロック図である。 1…αM−N乗算回路、2…α2(M−N)乗算回路、
3…α3(M−N)乗算回路、4…α乗算回路、5…α
乗算回路、6…α乗算回路、7〜17…排他的論理和
回路、18〜21…mビットのレジスタ(シンドローム・レ
ジスタ)、22,23…自乗回路、24…乗算回路、25…割算
回路、26…ゲート回路、27…バッファメモリ、28〜32…
スイッチ、33〜38…ROM、39…誤りパターン解読回路、4
0…誤り位置検出回路。
BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is an explanatory view of a shortened code, FIG. 2 is a block diagram of an error correction circuit disclosed in Japanese Patent Laid-Open No. 58-144952, and FIG. 3 applies the present invention. FIG. 4 is a block diagram showing an embodiment of a shortened code real-time correction circuit, FIG. 4 is a block diagram showing another embodiment of a shortened code real-time correction circuit that is configured by separating a syndrome generation unit and a syndrome conversion unit, and FIG. FIG. 6 is a block diagram showing another embodiment of the shortened code real-time correction circuit simplified by using ROM, and FIG. 6 shows the syndrome generation of α MN , α 2 (MN) , and α 3 (MN) multiplication circuits. FIG. 7 is a block diagram showing another embodiment of a shortened code real-time correction circuit that is configured by being inserted in the middle of the section and the syndrome conversion section. 1 ... α M-N multiplication circuit, 2 ... α 2 (M-N) multiplication circuit,
3 ... α 3 (M−N) multiplication circuit, 4 ... α multiplication circuit, 5 ... α
2 multiplication circuit, 6 ... α 3 multiplication circuit, 7-17 ... Exclusive OR circuit, 18-21 ... m-bit register (syndrome register), 22, 23 ... Square circuit, 24 ... Multiplication circuit, 25 ... Split Arithmetic circuit, 26 ... gate circuit, 27 ... buffer memory, 28-32 ...
Switches, 33 to 38 ... ROM, 39 ... Error pattern decoding circuit, 4
0 ... Error position detection circuit.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】符号長Nの2m元短縮リード・ソロモン符号
(N<M=2m−1:mは自然数)を受信して受信語のt重
誤りを訂正する誤り訂正回路において、 受信語Wj(j=1,2,…,N)のそれぞれに、 αi(M−N)・αij(αはガロア体GF(2m)の原始
元)を乗じた和によるシンドロームSi(i=0,1,…,2t
−1)を生成する生成手段と、 該生成手段により生成された前記シンドロームSi(i=
0,1,…,2t−1)の各々にαをN−1回繰り返し乗じ
る過程により、シンドロームSi (k)=Si(α(k
=0…,N−1)を順次求める第1演算手段と、 該第1演算手段により順次求められた前記シンドローム
Si (k)同士の和Si (k)+Si+1 (k)(i=0,1,…,2t−2)を
n+1行i−n+1列(0≦n,i−n≦t−1)の要素
とするt次正方行列の行列式Δ(k)を順次演算する第
2演算手段と、 前記第1演算手段により順次求められた前記シンドロー
ムSi (k)(i=0,1,…,2t−1)の値を用いて、受信語W
N-kに誤りが生じた場合の誤りパターンeN-kを演算する
第3演算手段と、 前記第2演算手段により順次演算された前記行列式Δ
(k)のそれぞれにつき、値が0か否かを判別する判別
手段と、 該判別手段によって前記行列式Δ(k)の値が0と判別
された場合に、演算された前記誤りパターンeN-kにより
受信語WN-kを訂正する訂正手段とを有することを特徴と
する誤り訂正回路。
1. An error correction circuit for receiving a 2 m -element shortened Reed-Solomon code having a code length N (N <M = 2 m −1: m is a natural number) and correcting a t-fold error of a received word. Syndrome S i by summing each word W j (j = 1,2, ..., N) multiplied by α i (M−N) · α ij (α is a primitive element of Galois field GF (2 m )) (I = 0,1, ..., 2t
−1) is generated, and the syndrome S i (i =
0,1, ..., 2t−1) is repeatedly multiplied by α i N−1 times, so that the syndrome S i (k) = S ii ) k (k
= 0 ..., N-1) sequentially, and the syndrome sequentially obtained by the first arithmetic means
S i (k) sum between S i (k) + S i + 1 (k) (i = 0,1, ..., 2t-2) (n + 1) row i-n + 1 column (0 ≦ n, i-n ≦ t −1) second arithmetic means for sequentially calculating the determinant Δ (k) of a t-th order square matrix, and the syndrome S i (k) (i = 0, 0 ) sequentially obtained by the first arithmetic means. 1, ..., 2t−1), the received word W
Third calculation means for calculating an error pattern e Nk when an error occurs in Nk , and the determinant Δ calculated sequentially by the second calculation means.
For each of (k) , a discriminating means for discriminating whether the value is 0 or not, and the error pattern e Nk calculated when the discriminant Δ (k) is discriminated as 0 by the discriminating means. And an error correction circuit for correcting the received word W Nk by the error correction circuit.
JP17661784A 1984-08-27 1984-08-27 Error correction circuit Expired - Fee Related JPH0746776B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP17661784A JPH0746776B2 (en) 1984-08-27 1984-08-27 Error correction circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP17661784A JPH0746776B2 (en) 1984-08-27 1984-08-27 Error correction circuit

Publications (2)

Publication Number Publication Date
JPS6154719A JPS6154719A (en) 1986-03-19
JPH0746776B2 true JPH0746776B2 (en) 1995-05-17

Family

ID=16016700

Family Applications (1)

Application Number Title Priority Date Filing Date
JP17661784A Expired - Fee Related JPH0746776B2 (en) 1984-08-27 1984-08-27 Error correction circuit

Country Status (1)

Country Link
JP (1) JPH0746776B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2575506B2 (en) * 1989-10-04 1997-01-29 株式会社東芝 Chain search circuit

Also Published As

Publication number Publication date
JPS6154719A (en) 1986-03-19

Similar Documents

Publication Publication Date Title
US5170399A (en) Reed-Solomon Euclid algorithm decoder having a process configurable Euclid stack
JP3256517B2 (en) Encoding circuit, circuit, parity generation method, and storage medium
US6637002B1 (en) Decoder for error correcting block codes
EP0114938B1 (en) On-the-fly multibyte error correction
US6119262A (en) Method and apparatus for solving key equation polynomials in decoding error correction codes
JP3288883B2 (en) Error correction encoding device, error correction decoding device, data transmission system with error correction code, and error correction code decoding method
US4555784A (en) Parity and syndrome generation for error detection and correction in digital communication systems
US20030192007A1 (en) Code-programmable field-programmable architecturally-systolic Reed-Solomon BCH error correction decoder integrated circuit and error correction decoding method
EP0932937B1 (en) A hardware-optimized reed-solomon decoder for large data blocks
US4504948A (en) Syndrome processing unit for multibyte error correcting systems
EP0233075B1 (en) Method and apparatus for generating error detection check bytes for a data record
US5805617A (en) Apparatus for computing error correction syndromes
US5912905A (en) Error-correcting encoder, error-correcting decoder and data transmitting system with error-correcting codes
WO2000057561A1 (en) Pipelined high speed reed-solomon error/erasure decoder
Okano et al. A construction method of high-speed decoders using ROM's for Bose–Chaudhuri–Hocquenghem and Reed–Solomon codes
US4841300A (en) Error correction encoder/decoder
EP0753942A2 (en) Word-wise processing for reed-solomon codes
JPH0728227B2 (en) Decoding device for BCH code
EP1502356B1 (en) A method of soft-decision decoding of reed-solomon codes
EP2309650B1 (en) A systematic encoder with arbitrary parity positions
US5541937A (en) Apparatus for uniformly correcting erasure and error of received word by using a common polynomial
US6304994B1 (en) Reed Solomon decoder and decoding method utilizing a control signal indicating a new root for an initial error locator polynomial with respect to new erasure information
EP1102406A2 (en) Apparatus and method for decoding digital data
US4644543A (en) Forward error correction hardware for a data adaptor
EP0595326B1 (en) Reed-Solomon decoding with Euclid algorithm

Legal Events

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