JPH07111463A - Code error position detection circuit - Google Patents

Code error position detection circuit

Info

Publication number
JPH07111463A
JPH07111463A JP5253150A JP25315093A JPH07111463A JP H07111463 A JPH07111463 A JP H07111463A JP 5253150 A JP5253150 A JP 5253150A JP 25315093 A JP25315093 A JP 25315093A JP H07111463 A JPH07111463 A JP H07111463A
Authority
JP
Japan
Prior art keywords
error position
multiplier
output
error
clock signal
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
JP5253150A
Other languages
Japanese (ja)
Inventor
Kazuo Murakami
和生 村上
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP5253150A priority Critical patent/JPH07111463A/en
Publication of JPH07111463A publication Critical patent/JPH07111463A/en
Pending legal-status Critical Current

Links

Landscapes

  • Detection And Correction Of Errors (AREA)
  • Error Detection And Correction (AREA)

Abstract

PURPOSE:To detect the error position of Read Solomon code at a high speed. CONSTITUTION:Multipliers Mi1, Mi2,..., Mik of k sets are connected in series between an output and an input of a degree number latch register Ri and outputs Li1, Li2,..., Lik are obtained from them respectively. One ai of coefficients of an error position polynomical sigma(x) is latched in the degree number latch register Ri and when a clock signal CLK is activated once, the data ai having been given to the degree number latch register Ri is given to the multiplier Mij and an output Li1 is obtained. The output Li1 is further given to the multiplier Mi2, from which the output Li2 is obtained. Thus, the error of Read Solomon code is confirmed as to k-sets of positions and the processing time is reduced.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】この発明は符号の誤り位置を検出
する技術に関する。特にリード・ソロモン符号における
誤り位置を検出する技術に関し、なかんずくチェーンサ
ーチ回路に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a technique for detecting a code error position. In particular, it relates to a technique for detecting an error position in a Reed-Solomon code, and more particularly to a chain search circuit.

【0002】[0002]

【従来の技術】従来から符号の誤り訂正の技術が案出さ
れており、なかでもリード・ソロモン符号はブロック誤
りの訂正が可能であり、光ディスクの符号訂正の技術と
して用いられている。
2. Description of the Related Art Conventionally, code error correction techniques have been devised, and among them, the Reed-Solomon code is capable of correcting block errors and is used as a code correction technique for optical disks.

【0003】図20は、リード・ソロモン符号の誤り検
出に用いられる、従来のチェーンサーチ回路200の構
成を示す回路である。チェーンサーチ回路200は、い
ずれも8ビットの次数ラッチレジスタR0 〜R8 を備え
る。これらの出力はクロック信号CLKが活性化する毎
に、それぞれ8ビットの乗算器M0 〜M8 によって乗算
処理され、その結果が再び次数ラッチレジスタR0 〜R
8 において保持される。
FIG. 20 is a circuit diagram showing a configuration of a conventional chain search circuit 200 used for error detection of Reed-Solomon code. The chain search circuit 200 is provided with 8-bit order latch registers R 0 to R 8 . These outputs are multiplied by 8-bit multipliers M 0 to M 8 each time the clock signal CLK is activated, and the results are again multiplied by the order latch registers R 0 to R 8.
Retained in 8 .

【0004】一方、乗算器M0 〜M8 の出力L0 〜L8
は、各ビット毎に揃って加算器A0〜A8 に与えられ、
モジュロ2の加算が行われる。この結果は各ビット毎に
オアゲート200aに与えられ、論理和が採られて信号
Gが得られる。
[0004] On the other hand, the output of the multiplier M 0 ~M 8 L 0 ~L 8
Are given to the adders A 0 to A 8 together for each bit,
Modulo-2 addition is performed. The result is given to the OR gate 200a for each bit, and the logical sum is taken to obtain the signal G.

【0005】クロック信号CLKはカウンタ200bに
よって何回活性化したかがカウントされ、その結果が信
号Cとして出力される。また、信号Gとクロック信号C
LKとはアドレス発生器200c及び書き込みパルス発
生器200dのいずれにも与えられ、それぞれからアド
レスP,書き込みパルスQが得られ、信号Cとともに誤
り位置レジスタ200eに与えられる。
The number of times the clock signal CLK is activated by the counter 200b is counted, and the result is output as the signal C. Also, the signal G and the clock signal C
The LK is given to both the address generator 200c and the write pulse generator 200d, and the address P and the write pulse Q are obtained from them, respectively, and given to the error position register 200e together with the signal C.

【0006】チェーンサーチ回路200は、数1に示さ
れる誤り位置多項式σ(x)において、連続した指数部
を持つガロア体の元{1,α,α2 ,α3 ,…,αm
を順次xに代入することによって誤り位置多項式σ
(x)が0となる根を求める動作を行う。
In the error locator polynomial σ (x) shown in Equation 1, the chain search circuit 200 has Galois field elements {1, α, α 2 , α 3 , ..., α m } having continuous exponents.
Error locator polynomial σ
The operation for finding the root at which (x) becomes 0 is performed.

【0007】[0007]

【数1】 [Equation 1]

【0008】今、次数ラッチレジスタR0 〜R8 にそれ
ぞれ誤り位置多項式σ(x)の係数a0 〜a8 をラッチ
させ、乗算器M0 〜M8 がそれぞれα120 〜α128 を乗
じる処理を行うように構成すると、クロック信号CLK
が最初に活性化した段階で各乗算器M0 〜M8 の出力L
0 〜L8 はそれぞれ
Processing for latching coefficients a 0 to a 8 of the error locator polynomial σ (x) in the order latch registers R 0 to R 8 and multiplying the multipliers M 0 to M 8 with α 120 to α 128 , respectively. Clock signal CLK
Is first activated, the output L of each multiplier M 0 to M 8
0 to L 8 are respectively

【0009】[0009]

【数2】 [Equation 2]

【0010】となる。但し、誤り位置多項式σ(x)の
次数が8次であり、計算はガロアフィールドGF
(28 )において行われるため、8ビットの乗算器M0
における乗算処理は単に数値を乗算するのではなく、係
数a0 を列ベクトルに展開し、α120に対応した8×8
のマトリクスを乗じる処理に相当する演算が行われる。
乗算器M1 〜M8 においても同様の処理が行われる。
[0010] However, the error locator polynomial σ (x) has an order of 8, and the calculation is performed by the Galois field GF.
Since it is performed in (2 8 ), the 8-bit multiplier M 0
In the multiplication processing in, the coefficient a 0 is expanded into a column vector and the 8 × 8 corresponding to α 120 is not simply multiplied by the numerical value.
An operation corresponding to the processing of multiplying by the matrix is performed.
Similar processing is performed in the multipliers M 1 to M 8 .

【0011】出力L0 〜L8 は各ビット毎に加算器A0
〜A8 に加算されて、
The outputs L 0 to L 8 are added to the adder A 0 for each bit.
Is added to the ~A 8,

【0012】[0012]

【数3】 [Equation 3]

【0013】が各ビット毎に求められる。Is calculated for each bit.

【0014】ところが数3は数4のように変形される。However, equation 3 is transformed into equation 4.

【0015】[0015]

【数4】 [Equation 4]

【0016】よってα120 が0でなければσ(α)=0
か否かをオアゲート200aの出力である信号Gによっ
て検出することができる。即ち信号Gが“0”であれば
αは誤り位置多項式σ(x)の根であり、“1”であれ
ば根ではない。そしてσ(x)の根であるとき、元αに
対応する位置で符号が誤っていることが検出される。
Therefore, if α 120 is not 0, σ (α) = 0
Whether or not it can be detected by the signal G output from the OR gate 200a. That is, α is the root of the error locator polynomial σ (x) if the signal G is “0”, and is not the root if it is “1”. When it is the root of σ (x), it is detected that the code is incorrect at the position corresponding to the element α.

【0017】リード・ソロモン符号のある位置が誤って
いるか否かはこのようにして位置に対応する元が、誤り
位置多項式σ(x)の根であるか否かで判定される。よ
って元α2 に対応する位置において符号が誤っているか
否かは、再度クロック信号CLKが活性化された場合に
判定される。第1回目のクロック信号CLKの活性化に
よって得られた出力L0 〜L8 はそれぞれ次数ラッチレ
ジスタR0 〜R8 にラッチされるので、2回目にクロッ
ク信号CLKが活性化された場合には出力L0〜L8
して数5が得られる。
Whether or not a position of the Reed-Solomon code is incorrect is thus determined by whether or not the element corresponding to the position is the root of the error locator polynomial σ (x). Therefore, whether or not the code is incorrect at the position corresponding to the element α 2 is determined when the clock signal CLK is activated again. The outputs L 0 to L 8 obtained by the first activation of the clock signal CLK are latched in the order latch registers R 0 to R 8 , respectively, so that when the clock signal CLK is activated for the second time, Equation 5 is obtained as the outputs L 0 to L 8 .

【0018】[0018]

【数5】 [Equation 5]

【0019】これは数4と同様にして数6の様に変形で
きるので、元α2 が誤り位置多項式σ(x)の根である
か否かが信号Gによって判定される。同様にして3回目
にクロック信号CLKが活性化することにより元α3
誤り位置多項式σ(x)の根であるか否かが信号Gによ
って判定される。
Since this can be transformed into Expression 6 in the same manner as Expression 4, the signal G determines whether or not the element α 2 is the root of the error locator polynomial σ (x). Similarly, when the clock signal CLK is activated for the third time, the signal G determines whether the element α 3 is the root of the error locator polynomial σ (x).

【0020】[0020]

【数6】 [Equation 6]

【0021】このようにして検出された誤り位置は、ク
ロック信号CLKの活性化回数によって知ることができ
る。よって誤りが発生しているか否かを示す信号Gとク
ロック信号CLKの活性化回数を示す信号Cとが誤り位
置レジスタ200eに与えられ、クロック信号CLKが
活性化する毎に誤り位置の記録が保存されてゆく。
The error position thus detected can be known by the number of times the clock signal CLK is activated. Therefore, a signal G indicating whether or not an error has occurred and a signal C indicating the number of times the clock signal CLK is activated are provided to the error position register 200e, and a record of the error position is saved every time the clock signal CLK is activated. Being done.

【0022】[0022]

【発明が解決しようとする課題】従来のチェーンサーチ
回路200では、このようにしてクロック信号CLKが
活性化する度に一つの元のみが誤り位置多項式σ(x)
の根であるか否かが判定されるので、リード・ソロモン
符号の誤り位置の検出は、クロック信号CLKの活性化
の一回に対して一か所しか行えず、数7で示される多大
なチェーンサーチ処理時間が必要であるという問題点が
あった。
In the conventional chain search circuit 200, only one element is error locator polynomial σ (x) every time the clock signal CLK is activated in this way.
Since it is determined whether the error position of the Reed-Solomon code is detected at only one place for each activation of the clock signal CLK, the error position of the Reed-Solomon code can be detected only once. There was a problem that the chain search processing time was required.

【0023】[0023]

【数7】 [Equation 7]

【0024】この発明は上記の問題点を解消するために
なされたもので、短いチェーンサーチ処理時間で、リー
ド・ソロモン符号の誤り位置の検出をおこなうことがで
きる、符号の誤り位置検出回路を得ることを目的として
いる。
The present invention has been made to solve the above problems, and provides a code error position detection circuit capable of detecting an error position of a Reed-Solomon code in a short chain search processing time. Is intended.

【0025】[0025]

【課題を解決するための手段】この発明にかかる符号の
誤り位置検出回路は、n次の誤り位置多項式及びn次の
原始多項式が設定されるリード・ソロモン符号の誤り位
置を検出する。
A code error position detection circuit according to the present invention detects an error position of a Reed-Solomon code in which an nth-order error position polynomial and an nth-order primitive polynomial are set.

【0026】そしてその第1の態様は、(a)初期状態
において、前記誤り位置多項式の各次数の係数をそれぞ
れ記憶し、(a−1)入力端及び出力端と、(a−2)
記憶されていたデータを前記出力端に与える動作及び前
記入力端に与えられたデータを新たに記憶する動作を制
御するクロック信号が入力される制御入力端と、を有す
る第0乃至第n(n≧1)の次数対応記憶手段と、
(b)前記第i(0≦i≦n)の次数対応記憶手段の各
々に対して設けられ、前記第iの次数対応記憶手段の前
記入力端及び前記出力端との間に順次直列に接続され、
前記原始多項式が決定するガロアフィールドにおいて所
定の乗数を以て乗算を行うk個の乗算器Mij(1≦j≦
k,2≦k)と、(c)前記乗算器Mijの出力に対して
モジュロ2の加算を行う第1乃至第kの加算手段と、
(d)前記クロック信号の活性化する回数を計測するカ
ウンタと、を備える。ここで、前記乗算器Mijにおける
前記所定の乗数は全てのjにおいて等しくαp+i であ
り、前記αp は前記原始多項式の根によって規定される
有限体の元から選択される。
In the first mode, (a) in the initial state, the coefficients of each degree of the error locator polynomial are respectively stored, (a-1) an input end and an output end, and (a-2)
Control input terminals to which a clock signal for controlling the operation of supplying the stored data to the output terminal and the operation of newly storing the data supplied to the input terminal are input; ≧ 1) degree correspondence storage means,
(B) It is provided for each of the i-th (0 ≦ i ≦ n) order correspondence storage means and is connected in series between the input end and the output end of the i-th order correspondence storage means. Is
K multipliers M ij (1 ≦ j ≦) that perform multiplication with a predetermined multiplier in the Galois field determined by the primitive polynomial.
k, 2 ≦ k), and (c) first to kth addition means for performing modulo-2 addition on the output of the multiplier M ij ,
(D) A counter that counts the number of times the clock signal is activated. Here, the predetermined multiplier in the multiplier M ij is equal to α p + i in all j, and the α p is selected from an element of a finite field defined by the root of the primitive polynomial.

【0027】この発明にかかる符号の誤り位置検出回路
の第2の態様は、(a)初期状態において、前記誤り位
置多項式の各次数の係数をそれぞれ記憶し、(a−1)
入力端及び出力端と、(a−2)記憶されていたデータ
を前記出力端に与える動作及び前記入力端に与えられた
データを新たに記憶する動作を制御するクロック信号が
入力される制御入力端と、を有する第0乃至第n(n≧
1)の次数対応記憶手段と、(b)前記第i(0≦i≦
n)の次数対応記憶手段の各々に対して設けられ、前記
第iの次数対応記憶手段の前記入力端に接続され、前記
原始多項式が決定するガロアフィールドにおいて所定の
乗数を以て乗算を行うk個の乗算器Mij(1≦j≦k,
2≦k)と、(c)前記乗算器Mijの出力に対してモジ
ュロ2の加算を行う第1乃至第kの加算手段と、(d)
前記クロック信号の活性化する回数を計測するカウンタ
と、を備える。そして前記乗算器Mikの出力は前記第i
の次数対応記憶手段の前記出力端に接続され、前記乗算
器Mijにおける前記所定の乗数はα(p+i)jであり、前記
αp は前記原始多項式の根によって規定される有限体の
元から選択される。
In a second aspect of the code error position detection circuit according to the present invention, (a) in the initial state, the coefficients of each degree of the error position polynomial are stored, respectively, and (a-1)
A control input for inputting an input end and an output end, and (a-2) a clock signal for controlling an operation of giving the stored data to the output end and an operation of newly storing the data given to the input end. 0th to nth (n ≧)
1) the degree correspondence storage means, and (b) the i-th (0 ≦ i ≦
n) is provided for each of the degree correspondence storage means, is connected to the input terminal of the i-th degree correspondence storage means, and performs k multiplication by a predetermined multiplier in a Galois field determined by the primitive polynomial. Multiplier M ij (1 ≦ j ≦ k,
2 ≦ k), (c) first to k-th addition means for performing modulo-2 addition on the output of the multiplier M ij , and (d)
A counter that counts the number of times the clock signal is activated. The output of the multiplier M ik is the i th
Connected to the output terminal of the degree correspondence storage means of, the predetermined multiplier in the multiplier M ij is α (p + i) j , and α p is a finite field defined by the root of the primitive polynomial. Selected from the original.

【0028】この発明にかかる符号の誤り位置検出回路
の第3の態様として、望ましくは更に(e)前記第1乃
至第kの加算手段の出力の論理積をとる論理処理部と、
(f)前記第1乃至第kの加算手段の出力をコーディン
グして誤り位置特定データを生成する誤り位置特定デー
タ生成手段と、(g)前記クロック信号を誤り位置基礎
データとして、また前記誤り位置特定データを所定のア
ドレスに格納する誤り位置記憶手段と、(h)前記論理
処理部の出力に基づいて前記所定のアドレスを生成する
アドレス発生手段とを備える。
As a third aspect of the code error position detection circuit according to the present invention, it is desirable that (e) a logic processing unit that obtains a logical product of the outputs of the first to kth addition means,
(F) error position specifying data generation means for coding the outputs of the first to kth adding means to generate error position specifying data; and (g) the clock signal as error position basic data, and the error position. An error position storage means for storing the specific data at a predetermined address, and (h) an address generation means for generating the predetermined address based on the output of the logic processing unit are provided.

【0029】[0029]

【作用】この発明の第1及び第2の態様において、第i
の次数対応記憶手段の各々において記憶する値はクロッ
ク信号の活性化によって順次(αp+i k 倍されてゆ
く。一方、第jの加算手段は第s回目のクロック信号の
活性化によってαj+(s−1)kが誤り位置多項式の
根であるか否かを検出する。
In the first and second aspects of the present invention, the i-th
The value stored in each of the degree correspondence storage means of is sequentially multiplied by (α p + i ) k by the activation of the clock signal. On the other hand, the j-th addition means detects whether or not α j + (s−1) k is the root of the error locator polynomial by the activation of the s-th clock signal.

【0030】この発明の第3の態様において、クロック
信号が誤り位置基礎データとして、また誤り位置特定デ
ータが、いずれもアドレス毎に誤り位置記憶手段に格納
される。
In the third aspect of the present invention, the clock signal is stored as error position basic data, and the error position specifying data is stored in the error position storage means for each address.

【0031】[0031]

【実施例】【Example】

第1実施例:図1は、この発明の第1実施例にかかるチ
ェーンサーチ回路の基本的な考え方を示す回路図であ
る。次数ラッチレジスタRの出力端と入力端との間
には、k個の乗算器Mi1,Mi2,…,Mikが直列に接続
され、その各々から出力Li1,Li2,…,Likが得られ
る。
First Embodiment: FIG. 1 is a circuit diagram showing the basic concept of a chain search circuit according to a first embodiment of the present invention. Between the output terminal and the input terminal of the order latch register R i , k number of multipliers M i1 , M i2 , ..., M ik are connected in series, and outputs L i1 , L i2 , ..., From each of them. Lik is obtained.

【0032】今、次数ラッチレジスタRi に誤り位置多
項式σ(x)の係数の一つai が保持されていた場合を
考える。このとき一回クロック信号CLKが活性化する
と、次数ラッチレジスタRi に与えられていたデータa
i は乗算器Mi1に与えられて出力Li1が得られる。この
出力Li1は更に乗算器Mi2に与えられ、出力Li2が求め
られる。
[0032] Now, consider a case where one a i coefficients of the error locator polynomial sigma (x) is held in order latch register R i. At this time, when the clock signal CLK is activated once, the data a given to the order latch register R i
i is given to the multiplier M i1 to obtain the output L i1 . This output L i1 is further given to the multiplier M i2 to obtain the output L i2 .

【0033】この第1実施例においては、乗算器Mi1
i2,…,Mikのいずれもが、あるガロア体の同一の元
を乗じる構成を有している。例えば、いずれの乗算器M
i1,Mi2,…,Mikも、あるガロア体の同一の元αi
乗じる演算を行うとする。但し、演算は誤り位置多項式
σ(x)に対応したガロアフィールドで行われる。
In this first embodiment, the multipliers M i1 ,
Each of M i2 , ..., M ik has a structure in which the same element of a Galois field is multiplied. For example, which multiplier M
It is assumed that i1 , M i2 , ..., M ik are also multiplied by the same element α i of a certain Galois field. However, the calculation is performed in the Galois field corresponding to the error locator polynomial σ (x).

【0034】この場合、各出力Li1,Li2,…,L
ikは、数8のように表される。
In this case, each output L i1 , L i2 , ..., L
ik is expressed as in Equation 8.

【0035】[0035]

【数8】 [Equation 8]

【0036】よって、一回のクロック信号CLKの活性
化によって、一つの次数ラッチレジスタからk個の出力
i1,Li2,…,Likが得られる。このため、誤り位置
多項式σ(x)に対応して設けられた複数の次数ラッチ
レジスタの各々において、図1に示されるように直列に
接続され、且つ同一の乗算処理を行う乗算器を設けれ
ば、一回のクロック信号CLKの活性化によって、k個
の誤り位置の検出が可能となる。
Therefore, by activating the clock signal CLK once, k outputs L i1 , L i2 , ..., L ik are obtained from one order latch register. Therefore, in each of the plurality of order latch registers provided corresponding to the error locator polynomial σ (x), a multiplier connected in series as shown in FIG. 1 and performing the same multiplication process is provided. For example, by activating the clock signal CLK once, it is possible to detect k error positions.

【0037】図2は、この発明の第1実施例にかかるチ
ェーンサーチ回路101の構成を示す回路図である。チ
ェーンサーチ回路101は、数1で表される誤り位置多
項式σ(x)に対応しており、いずれも8ビットの次数
ラッチレジスタR0 〜R8 を備える。次数ラッチレジス
タR0 〜R8 にはそれぞれ誤り位置多項式σ(x)の係
数a0 〜a8 がラッチされている。次数ラッチレジスタ
0 〜R8 にはいずれもクロック信号CLKがトリガと
して与えられている。
FIG. 2 is a circuit diagram showing the structure of the chain search circuit 101 according to the first embodiment of the present invention. The chain search circuit 101 corresponds to the error locator polynomial σ (x) represented by Expression 1, and each of them has 8-bit order latch registers R 0 to R 8 . Coefficients a 0 to a 8 of the error locator polynomial σ (x) are latched in the order latch registers R 0 to R 8 , respectively. The clock signal CLK is applied as a trigger to all the order latch registers R 0 to R 8 .

【0038】次数ラッチレジスタR0 の出力端には乗算
器M01を介して乗算器M02が接続されており、乗算器M
02の出力端は次数ラッチレジスタR0 の入力端に接続さ
れている。そして、乗算器M01,M02のいずれも同一の
元α120 を乗じる演算を行う。ここで選ばれる元を有す
るガロア体は、GF(28 )のガロアフィールドにおい
て、原始多項式である
A multiplier M 02 is connected to the output terminal of the order latch register R 0 via a multiplier M 01.
The output terminal of 02 is connected to the input terminal of the order latch register R 0 . Then, each of the multipliers M 01 and M 02 performs an operation of multiplying by the same element α 120 . The Galois field having an element selected here is a primitive polynomial in the Galois field of GF (2 8 ).

【0039】[0039]

【数9】 [Equation 9]

【0040】の根βi に基づき、αi =(β88i とし
て求められる。
Based on the root β i of α, α i = (β 88 ) i is obtained.

【0041】乗算器M01,M02からはそれぞれ出力
01,L02が得られる。第1回目にクロック信号CLK
が活性化した場合にはこれらは数10のように表され
る。
Outputs L 01 and L 02 are obtained from the multipliers M 01 and M 02 , respectively. First time clock signal CLK
When is activated, these are expressed as in Eq.

【0042】[0042]

【数10】 [Equation 10]

【0043】同様にして次数ラッチレジスタRi (i=
1〜8)の出力端には乗算器Mi1を介して乗算器Mi2
接続されている。そして、乗算器Mi1,Mi2のいずれも
同一の元α120+i を乗じる演算を行う。よって、第1回
目にクロック信号CLKが活性化した場合には9個から
なる出力が2組得られる。即ち、
Similarly, the order latch register R i (i =
A multiplier M i2 is connected to the output ends of 1 to 8) via a multiplier M i1 . Then, each of the multipliers M i1 and M i2 performs an operation of multiplying by the same element α 120 + i . Therefore, when the clock signal CLK is activated for the first time, two sets of nine outputs are obtained. That is,

【0044】[0044]

【数11】 [Equation 11]

【0045】と、And

【0046】[0046]

【数12】 [Equation 12]

【0047】である。It is

【0048】出力L01〜L81は、各ビット毎に揃って加
算器A01〜A81に与えられ、モジュロ2の加算が行われ
る。この結果は各ビット毎にオアゲート101aに与え
られ、論理和が採られて信号G1 が得られる。このよう
な演算を行うことにより、数3及び数4で求められた値
が信号G1 として求められるので、αが誤り位置多項式
σ(x)の根であるか否かの判定が可能となる。
The outputs L 01 to L 81 are applied to the adders A 01 to A 81 together for each bit, and the addition of modulo 2 is performed. This result is given to the OR gate 101a for each bit and the logical sum is taken to obtain the signal G 1 . By performing such an operation, the values obtained by the equations 3 and 4 are obtained as the signal G 1 , and it is possible to determine whether or not α is the root of the error locator polynomial σ (x). .

【0049】一方、出力L02〜L82は、各ビット毎に揃
って加算器A02〜A82に与えられ、モジュロ2の加算が
行われる。この結果は各ビット毎にオアゲート101b
に与えられ、論理和が採られて信号G2 が得られる。数
12を数5と比較してわかるように、このような演算を
行うことにより、数6で求められた値が信号G2 として
求められるので、α2 が誤り位置多項式σ(x)の根で
あるか否かの判定が可能となる。
On the other hand, the outputs L 02 to L 82 are supplied to the adders A 02 to A 82 together for each bit, and the modulo 2 addition is performed. The result is the OR gate 101b for each bit.
And the logical sum is taken to obtain the signal G 2 . As can be seen by comparing Equation 12 with Equation 5, the value obtained in Equation 6 is obtained as the signal G 2 by performing such an operation, so α 2 is the root of the error locator polynomial σ (x). It is possible to determine whether or not

【0050】結局、一回のクロック信号CLKの活性化
によって2つの元α,α2 に対応する位置において、リ
ード・ソロモン符号が誤っているか否かの判定を行うこ
とができる。
After all, by activating the clock signal CLK once, it is possible to determine whether the Reed-Solomon code is erroneous at the positions corresponding to the two elements α and α 2 .

【0051】カウンタ101e、演算器101c,10
1dは、誤り位置の検出結果を記憶させる動作をする。
これらの接続関係及び動作について説明する前に、乗算
器M01〜M81,M02〜M82の具体的構成について説明す
る。
Counter 101e, arithmetic units 101c, 10
1d operates to store the detection result of the error position.
Before describing the connection relationship and operation of these, the specific configuration of the multipliers M 01 to M 81 and M 02 to M 82 will be described.

【0052】既述のように、これらの乗算器はガロアフ
ィールドにおける乗算を行うため、単にある値を次数ラ
ッチレジスタが保持する値に乗ずるのではない。次数ラ
ッチレジスタが保持する8ビットの値に対し、数9で示
される8次の原始多項式p(X)の根βi に基づき(β
88i として求められるαi に対応する所定の処理が行
われる。
As described above, since these multipliers perform multiplication in the Galois field, they do not simply multiply a certain value by the value held by the order latch register. Based on the root β i of the 8th-order primitive polynomial p (X) expressed by Equation 9, (β
88) a predetermined process corresponding to the alpha i obtained as i is performed.

【0053】例えば、次数ラッチレジスタR0 において
保持されている、誤り位置多項式σ(x)の0次の係数
0 は数13で表される8ビットの数であるとする。
For example, it is assumed that the zero-order coefficient a 0 of the error locator polynomial σ (x), which is held in the order latch register R 0 , is an 8-bit number expressed by the equation 13.

【0054】[0054]

【数13】 [Equation 13]

【0055】これにα120 を乗ずるという乗算器M01
処理は、数14で示される8ビットの出力L01を求める
ことに対応する。
The processing of the multiplier M 01 of multiplying this by α 120 corresponds to obtaining the 8-bit output L 01 shown in the equation (14).

【0056】[0056]

【数14】 [Equation 14]

【0057】つまり、係数a0 及び出力L01を列ベクト
ルに展開すると、両者は数15において示される行列に
よって関係づけられ、この行列が元α120 に対応するこ
とになる。
That is, when the coefficient a 0 and the output L 01 are expanded into a column vector, they are related by the matrix shown in the equation 15, and this matrix corresponds to the element α 120 .

【0058】[0058]

【数15】 [Equation 15]

【0059】数14及び数15はいずれもモジュロ2の
加算によって行われるものであり、具体的には乗算器M
01はEXORゲートによって構成することができる。図
3は乗算器M01の構成例を示したものであり、同一の元
α120 を乗ずる処理を行う乗算器M02も同一の構成を有
することができる。
Both equations (14) and (15) are performed by addition of modulo 2, and specifically, the multiplier M
01 can be configured by an EXOR gate. FIG. 3 shows an example of the configuration of the multiplier M 01 , and the multiplier M 02 that performs the process of multiplying the same element α 120 can also have the same configuration.

【0060】乗算器M02は出力L01に対してα120 を乗
ずる処理を行うので、出力L02と係数a0 とは、数15
において示された行列の2乗である行列によって関係付
けられることになる。即ち、
Since the multiplier M 02 multiplies the output L 01 by α 120 , the output L 02 and the coefficient a 0 are given by
Will be related by a matrix that is the square of the matrix shown in. That is,

【0061】[0061]

【数16】 [Equation 16]

【0062】の関係があり、これが数12の第1番目に
記載された乗算に対応する。
There is a relation of (3), which corresponds to the first multiplication described in the equation (12).

【0063】誤り位置多項式σ(x)のi次の係数ai
(i=1〜8)が数17で表される8ビットの数である
とすると、係数ai にα120+i を乗ずるという乗算器M
i1の処理は、数18乃至数25で表される8ビットの出
力Li1を求めることに対応する。
I-th coefficient a i of the error locator polynomial σ (x)
If (i = 1 to 8) is an 8-bit number represented by Expression 17, the multiplier M that multiplies the coefficient a i by α 120 + i
processing i1 corresponds to obtaining the output L i1 of 8 bits represented by the number 18 to number 25.

【0064】[0064]

【数17】 [Equation 17]

【0065】[0065]

【数18】 [Equation 18]

【0066】[0066]

【数19】 [Formula 19]

【0067】[0067]

【数20】 [Equation 20]

【0068】[0068]

【数21】 [Equation 21]

【0069】[0069]

【数22】 [Equation 22]

【0070】[0070]

【数23】 [Equation 23]

【0071】[0071]

【数24】 [Equation 24]

【0072】[0072]

【数25】 [Equation 25]

【0073】数19乃至数25のそれぞれに対応して、
乗算器Mi1(i=1〜8)は複数のEXORゲートによ
って図4乃至図11に示される構成をとる。乗算器Mi2
も乗算器Mi1と同一の構成をとる。
Corresponding to each of the equations 19 to 25,
The multiplier M i1 (i = 1 to 8) has a configuration shown in FIGS. 4 to 11 by a plurality of EXOR gates. Multiplier M i2
Also has the same configuration as the multiplier M i1 .

【0074】図2に戻って、クロック信号CLKの第1
回目の活性化で2つの元α,α2 に対応する位置におい
て、リード・ソロモン符号が誤っているか否かの判定を
行うことができる。そして2回目にクロック信号CLK
が活性化した場合には、次数ラッチレジスタRi (i=
0〜8)からはそれぞれai α240+2iが乗算器Mi1に与
えられるので、出力Li1,Li2はそれぞれa
i α360+3i,ai α480+4iとなる。よって、このときに
は信号G1 ,G2 によってそれぞれ2つの元α3 ,α4
が誤り位置多項式σ(x)の根であるか否か、即ちこれ
らの元に対応する符号の位置において誤りが生じている
か否かを判定することができる。
Returning to FIG. 2, the first clock signal CLK
It is possible to determine whether or not the Reed-Solomon code is erroneous at the positions corresponding to the two elements α and α 2 by the activation of the second time. And the second time clock signal CLK
Is activated, the order latch register R i (i =
0 to 8), a i α 240 + 2i is given to the multiplier M i1 respectively, so that the outputs L i1 and L i2 are respectively a
i α 360 + 3i and a i α 480 + 4i . Therefore, at this time, two elements α 3 and α 4 are respectively generated by the signals G 1 and G 2 .
Is a root of the error locator polynomial σ (x), that is, whether or not an error has occurred at the positions of the codes corresponding to these elements.

【0075】カウンタ101eはクロック信号CLKの
活性化した回数を信号Cとして出力する。演算器101
c,101dは、信号Cを受け、それぞれ信号Cの示す
値の2倍から1引いた値と、2倍した値とを出力する。
The counter 101e outputs, as a signal C, the number of times the clock signal CLK is activated. Arithmetic unit 101
The c and 101d receive the signal C and output a value obtained by subtracting 1 from twice the value indicated by the signal C and a value obtained by doubling the value.

【0076】例えばガロア体の元α3 ,α8 に対応する
位置において符号が誤っている場合について従来のチェ
ーンサーチ回路200とこの発明の第1実施例であるチ
ェーンサーチ回路101とを、その動作において比較し
てみる。
For example, when the sign is wrong at the positions corresponding to the elements α 3 and α 8 of the Galois field, the operation of the conventional chain search circuit 200 and the chain search circuit 101 of the first embodiment of the present invention is performed. Let's compare in.

【0077】図12及び図13はそれぞれチェーンサー
チ回路200,101の動作を示すタイミングチャート
である。まずチェーンサーチ回路200の動作から説明
する(図20をも参照のこと)。クロック信号CLKの
活性化によってカウンタ200bはその出力する信号C
の値を1つずつ増加させてゆく。そして、元α3 ,α8
に対応する位置に符号の誤りが存在するのであるから、
元α3 ,α8 は数1で示される誤り位置多項式σ(x)
の根であり、信号Cの値が“3”,“8”に対応する時
点で信号Gは値“0”をとる。この誤り位置が検出され
るまでにはクロック信号CLKは8回活性化しなければ
ならない。
12 and 13 are timing charts showing the operation of the chain search circuits 200 and 101, respectively. First, the operation of the chain search circuit 200 will be described (see also FIG. 20). The counter 200b outputs the signal C output by the activation of the clock signal CLK.
Increment the value of by one. And the elements α 3 and α 8
Since there is a code error at the position corresponding to
The elements α 3 and α 8 are the error locator polynomial σ (x) shown in Equation 1.
Is the root of the signal G, and the signal G takes the value "0" when the values of the signal C correspond to "3" and "8". The clock signal CLK must be activated eight times before this error position is detected.

【0078】一方、図13においてはチェーンサーチ回
路101の動作で(図2をも参照のこと)、演算器10
1c,101dの出力をそれぞれ2C−1,2Cとして
示している。既述のように、第1回目のクロック信号C
LKの活性化によって元α,α2 が誤り位置多項式σ
(x)の根であるか否かが判定される。その後、クロッ
ク信号CLKが活性化する度に元(α3 ,α4 ),(α
5 ,α6 ),(α7 ,α8 )の各ペアが誤り位置多項式
σ(x)の根であるか否かが判定されるので、2回目及
び4回目の活性化によってそれぞれα3 ,α8 が根であ
ることが検出される。この検出にはクロック信号CLK
は4回しか活性化する必要はない。
On the other hand, in FIG. 13, the operation of the chain search circuit 101 (see also FIG. 2) causes the arithmetic unit 10 to operate.
The outputs of 1c and 101d are shown as 2C-1 and 2C, respectively. As described above, the first clock signal C
By activating LK, the elements α and α 2 become error locator polynomial σ
It is determined whether or not it is the root of (x). After that, every time the clock signal CLK is activated, the original (α 3 , α 4 ), (α
Since it is determined whether or not each pair of 5 , α 6 ) and (α 7 , α 8 ) is a root of the error locator polynomial σ (x), α 3 and It is detected that α 8 is a root. The clock signal CLK is used for this detection.
Need only be activated four times.

【0079】以上に説明したように、一つの次数ラッチ
レジスタの入力端と出力端との間に同一の動作を行う乗
算器をk個(k≧2)直列に接続し、各々の乗算器の出
力にモジュロ2の加算を行うことにより、クロック信号
CLKの一回の活性化によってk個の位置に誤りがある
か否かを判断することができる。
As described above, k (k ≧ 2) multipliers that perform the same operation are connected in series between the input end and the output end of one order latch register, and the multipliers of each multiplier are connected. By adding modulo 2 to the output, it is possible to determine whether or not there are errors in k positions by one activation of the clock signal CLK.

【0080】結局、符号の誤り位置を検出するのに必要
なチェーンサーチ処理時間は、
After all, the chain search processing time required to detect the error position of the code is

【0081】[0081]

【数26】 [Equation 26]

【0082】で示されるようになり、従来の場合と比較
して1/kに短縮されるという効果を得ることができ
る。
As shown by, it is possible to obtain the effect of being shortened to 1 / k as compared with the conventional case.

【0083】第2実施例:一般に誤り位置を検出できる
最大個数は、誤り訂正符号の能力によって上限が存在す
る。したがって、チェーンサーチ回路で検出される誤り
位置の最大個数の上限も存在する。この数に合わせて誤
り位置の情報を格納する誤り位置レジスタが設けられ
る。図20における誤り位置レジスタ200cがこれに
対応している。
Second Embodiment: Generally, the maximum number of error positions that can be detected has an upper limit depending on the capability of the error correction code. Therefore, there is an upper limit on the maximum number of error positions detected by the chain search circuit. An error position register for storing error position information is provided according to this number. The error position register 200c in FIG. 20 corresponds to this.

【0084】しかし、第1実施例のように誤り位置に関
する情報を与える信号G1 ,G2 が複数並列に存在する
場合には、誤り位置の最大個数の上限に合わせて誤り位
置の情報を格納する誤り位置レジスタを、単にこれらの
信号G1 ,G2 の各々に対して設けると、必要なレジス
タの容量が2倍になってしまう。
However, when there are a plurality of signals G 1 and G 2 which provide information on error positions in parallel as in the first embodiment, the error position information is stored in accordance with the upper limit of the maximum number of error positions. If the error position register is simply provided for each of these signals G 1 and G 2 , the required register capacity will be doubled.

【0085】そこでこの発明の第2実施例では、誤り位
置の情報を有する信号が複数であっても容量の小さな誤
り位置レジスタによって誤り位置の情報を格納する技術
を提供する。
Therefore, the second embodiment of the present invention provides a technique for storing error position information by an error position register having a small capacity even if there are a plurality of signals having error position information.

【0086】図14はこの発明の第2実施例にかかるチ
ェーンサーチ回路102の構成を示すブロック図であ
る。チェーンサーチ回路102はチェーンサーチ回路1
01に更にアンドゲート102a、誤り位置特定データ
生成器102b、アドレス発生器102c、書き込みパ
ルス発生器102d、及び誤り位置レジスタ102eを
追加した構成となっている。但し、これらの追加構成要
素が誤り位置の特定及びその情報の格納を行うので、チ
ェーンサーチ回路101における演算器101c,10
1dは必ずしも必要ではない。
FIG. 14 is a block diagram showing the structure of the chain search circuit 102 according to the second embodiment of the present invention. The chain search circuit 102 is the chain search circuit 1
01, an AND gate 102a, an error position specifying data generator 102b, an address generator 102c, a write pulse generator 102d, and an error position register 102e are further added. However, since these additional constituent elements specify the error position and store the information thereof, the arithmetic units 101c and 10c in the chain search circuit 101 are described.
1d is not always necessary.

【0087】アンドゲート102aは、信号G1 ,G2
のいずれかが“0”のときに値“0”を出力する。そし
てアドレス発生器102c、書き込みパルス発生器10
2dはいずれもアンドゲート102aの出力とクロック
信号CLKとを入力する。
The AND gate 102a receives the signals G 1 and G 2
When any of the above is "0", the value "0" is output. The address generator 102c and the write pulse generator 10
2d inputs the output of the AND gate 102a and the clock signal CLK.

【0088】信号G1 ,G2 のいずれかが“0”のとき
には符号の誤りが存在しているので、アンドゲート10
2aの出力が“0”である場合にはクロック信号CLK
と同期して、アドレス発生器102c及び書き込みパル
ス発生器102dがそれぞれ誤り位置レジスタ102e
のアドレスP及び書き込みパルスQを発生し、そのアド
レスP及び後述する誤り位置特定データDと誤り位置基
礎データとを誤り位置レジスタ102eに書き込ませ
る。
When either of the signals G 1 and G 2 is "0", there is a code error and the AND gate 10
When the output of 2a is "0", the clock signal CLK
The address generator 102c and the write pulse generator 102d are respectively synchronized with the error position register 102e.
Address P and a write pulse Q are generated, and the address P and error position specifying data D and error position basic data described later are written in the error position register 102e.

【0089】カウンタ101eから出力される信号Cは
誤り位置基礎データとして、また信号G1 ,G2 は誤り
位置特定データ生成器102bにより誤り位置特定デー
タDへとコード化されて、それぞれ誤り位置レジスタ1
02eに書き込まれる。
The signal C output from the counter 101e is used as error position basic data, and the signals G 1 and G 2 are coded into error position specifying data D by the error position specifying data generator 102b. 1
02e.

【0090】誤り位置レジスタ102eにおいて、アド
レスP、誤り位置特定データD、誤り位置基礎データ
(信号C)はそれぞれ領域102f,102g,102
hに互いに対応付けられて格納される。このようにして
誤り位置の情報が信号G1 ,G2 のいずれから得られた
かによらずに、同一の誤り位置レジスタ102eに書き
込むことができるので、必要とされる容量は従来と比較
して各アドレスにデータ量を数ビット付加するだけで済
む。
In the error position register 102e, the address P, the error position specifying data D, and the error position basic data (signal C) are stored in the areas 102f, 102g, 102, respectively.
It is stored in association with h. In this way, since the error position information can be written in the same error position register 102e regardless of which of the signals G 1 and G 2 is obtained, the required capacity is smaller than that in the conventional case. It is sufficient to add a few bits of data to each address.

【0091】図15及び図16はそれぞれチェーンサー
チ回路200における誤り位置レジスタ200eへの書
き込み、チェーンサーチ回路102における誤り位置レ
ジスタ102eへの書き込み、の動作を示すタイミング
チャートである。
FIGS. 15 and 16 are timing charts showing the operations of writing to the error position register 200e in the chain search circuit 200 and writing to the error position register 102e in the chain search circuit 102, respectively.

【0092】まずチェーンサーチ回路200に関する動
作について説明する。図15においてクロック信号CL
Kが活性化する毎にカウンタ200bの出力である信号
Cはその数を一つずつ増加させてゆく。今、ガロア体の
元α3 ,α4 ,α6 ,α7 に対応する位置において符号
が誤っている場合を考える。このとき、オアゲート20
0aの出力である信号Gは、信号Cが値“3”,
“4”,“6”,“7”をとるときに値“0”をとり、
それ以外では“1”をとっている。
First, the operation of the chain search circuit 200 will be described. In FIG. 15, the clock signal CL
Each time K is activated, the number of the signal C output from the counter 200b is increased by one. Now, consider the case where the sign is incorrect at the positions corresponding to the elements α 3 , α 4 , α 6 , and α 7 of the Galois field. At this time, OR gate 20
In the signal G which is the output of 0a, the signal C has the value "3",
When taking "4", "6", "7", take the value "0",
Other than that, it takes “1”.

【0093】そしてアドレス発生器200cはこのよう
な信号Gとクロック信号CLKとを受けて、アドレスP
を発生する。ここでは、値“1”を最初として誤り位置
を検出する度にアドレスPが一つずつ更新されていく例
を示しているが、必ずしもこのようにアドレスを発生さ
せる必要はない。
The address generator 200c receives the signal G and the clock signal CLK and receives the address P.
To occur. Here, an example is shown in which the address P is updated one by one each time the error position is detected, starting with the value “1”, but it is not always necessary to generate the address in this way.

【0094】また、書き込みパルス発生器200dも信
号Gとクロック信号CLKとを受けて、書き込みパルス
Qを発生する。ここでは誤り位置を検出した場合(信号
Gが値“0”をとる場合に)クロック信号CLKが
“0”をとるタイミングにおいて値“0”をとる書き込
みパルスQを発生するが、必ずしもこのようなタイミン
グで同期を行う必要はない。
The write pulse generator 200d also receives the signal G and the clock signal CLK and generates a write pulse Q. Here, when the error position is detected (when the signal G takes the value "0"), the write pulse Q taking the value "0" is generated at the timing when the clock signal CLK takes the value "0". There is no need to synchronize at timing.

【0095】そして誤り位置レジスタ200eは、書き
込みパルスQを受けた時のアドレスPを格納する。この
ような動作においては、上記の誤り位置を検出するの
に、チェーンサーチ処理時間はクロック信号CLKの一
周期の7倍かかる。
The error position register 200e stores the address P when the write pulse Q is received. In such an operation, the chain search processing time takes seven times as long as one cycle of the clock signal CLK to detect the error position.

【0096】一方図16に示されるように、チェーンサ
ーチ回路102に関する動作においても、クロック信号
CLKが活性化する毎にカウンタ101eの出力である
信号Cはその数を一つずつ増加させてゆく。上記の場合
と同様にガロア体の元α3 ,α4 ,α6 ,α7 に対応す
る位置において符号が誤っているとすると、信号G1
信号Cが値“2”,“4”をとるときに値“0”をと
り、それ以外では“1”をとっている。そして信号G2
は信号Cが値“2”,“3”をとるときに値“0”をと
り、それ以外では“1”をとっている。
On the other hand, as shown in FIG. 16, also in the operation relating to the chain search circuit 102, the number of the signal C which is the output of the counter 101e is incremented by one each time the clock signal CLK is activated. As in the above case, if the sign is wrong at the positions corresponding to the elements α 3 , α 4 , α 6 , and α 7 of the Galois field, the signal G 1 is the signal C having the values “2” and “4”. When it is taken, it takes the value "0", and otherwise it takes "1". And signal G 2
Takes the value "0" when the signal C takes the values "2" and "3", and takes "1" otherwise.

【0097】そしてこのような信号G1 ,G2 の論理積
アンドゲート102aにおいて採られ、アドレス発生器
102cはこれとクロック信号CLKとを受けて、アド
レスPを発生する。ここでは、値“1”を最初として誤
り位置を検出する度にアドレスPが一つずつ更新されて
いく例を示しているが、必ずしもこのようにアドレスを
発生させる必要はない。
The logical product AND gate 102a of the signals G 1 and G 2 is taken, and the address generator 102c receives this and the clock signal CLK to generate the address P. Here, an example is shown in which the address P is updated one by one each time the error position is detected, starting with the value “1”, but it is not always necessary to generate the address in this way.

【0098】また、書き込みパルス発生器102dも信
号G1 ,G2 の論理和とクロック信号CLKとを受け
て、書き込みパルスQを発生する。ここでは誤り位置を
検出した場合(信号G1 もしくはG2 が値“0”をとる
場合に)クロック信号CLKが“0”をとるタイミング
において値“0”をとる書き込みパルスQを発生する
が、必ずしもこのようなタイミングで同期を行う必要は
ない。
The write pulse generator 102d also receives the logical sum of the signals G 1 and G 2 and the clock signal CLK to generate a write pulse Q. Here, when the error position is detected (when the signal G 1 or G 2 takes the value “0”), the write pulse Q taking the value “0” is generated at the timing when the clock signal CLK takes the value “0”. It is not always necessary to perform synchronization at such timing.

【0099】そして誤り位置レジスタ102eは、書き
込みパルスQを受けた時のアドレスPを格納する。この
ような動作においては、上記の誤り位置を検出するの
に、チェーンサーチ処理時間はクロック信号CLKの一
周期の4倍ですむ。
The error position register 102e stores the address P when the write pulse Q is received. In such an operation, the chain search processing time is four times as long as one cycle of the clock signal CLK to detect the error position.

【0100】誤り位置レジスタ102eには、誤り位置
特定データDも与えられる。これは信号G1 ,G2 をコ
ード化して得られるものであり、表1に示すコーディン
グが行われる。
Error position specifying data D is also given to the error position register 102e. This is obtained by coding the signals G 1 and G 2 , and the coding shown in Table 1 is performed.

【0101】[0101]

【表1】 [Table 1]

【0102】即ち、信号G1 ,G2 が共に値“0”をと
る場合には誤り位置特定データDは値“2”をとる。信
号G1 ,G2 がそれぞれ値“1”,“0”をとる場合に
は誤り位置特定データDは“1”をとり、信号G1 ,G
2 がそれぞれ値“0”,“1”をとる場合には誤り位置
特定データDは“0”をとる。信号G1 ,G2 が共に値
“1”をとる場合には誤り位置特定データDはその他の
値を採る。
That is, when the signals G 1 and G 2 both take the value "0", the error position specifying data D takes the value "2". When the signals G 1 and G 2 take the values “1” and “0”, respectively, the error position specifying data D takes “1”, and the signals G 1 and G
When 2 takes the values "0" and "1" respectively, the error position specifying data D takes "0". When the signals G 1 and G 2 both take the value “1”, the error position specifying data D takes other values.

【0103】よって、誤り位置レジスタ102eにはア
ドレスP毎に誤り位置基礎データ(信号C)と誤り位置
特定データDが格納されるので、誤り位置を特定するこ
とができる。信号G1 ,G2 はそれぞれ誤り位置基礎デ
ータの値の2倍から1引いた値、及び誤り位置基礎デー
タの値の2倍に対応するため、例えばアドレス3におい
て格納された位置基礎データの値“4”と誤り位置特定
データDの値“0”とから、α 24-1 =α7 に対応す
る位置に誤りがあり、α 24 =α8 に対応する位置に
誤りがないことがわかる。
Accordingly, since the error position basic data (signal C) and the error position specifying data D are stored in the error position register 102e for each address P, the error position can be specified. The signals G 1 and G 2 respectively correspond to a value obtained by subtracting 1 from the value of the error position basic data and a value of 2 times the value of the error position basic data, and therefore, for example, the value of the position basic data stored at address 3 From "4" and the value "0" of the error position identification data D, there is an error in the position corresponding to α 2 4-1 = α 7 , and there is no error in the position corresponding to α 2 4 = α 8. I understand.

【0104】よってこの第2実施例では、誤り位置の情
報を有する信号が複数であっても容量の小さな誤り位置
レジスタによって誤り位置の情報を格納することができ
る。
Therefore, in the second embodiment, even if there are a plurality of signals having error position information, the error position information can be stored by the error position register having a small capacity.

【0105】第3実施例:第1実施例では次数ラッチレ
ジスタの入力端と出力端との間に複数の乗算器を直列に
設けた構成を示したが、乗算器を次数ラッチレジスタの
入力端に共通に複数設けることによっても同様の効果を
得ることができる。
Third Embodiment: In the first embodiment, a configuration is shown in which a plurality of multipliers are provided in series between the input terminal and the output terminal of the order latch register, but the multiplier is used as the input terminal of the order latch register. The same effect can be obtained also by providing a plurality in common.

【0106】図17はこの発明の第3実施例にかかるチ
ェーンサーチ回路の基本的な考え方を示す回路図であ
る。次数ラッチレジスタRj の入力端には、k個の乗算
器Mj1,Mj2,…,Mjkが共通して続され、その各々か
ら出力Lj1,Lj2,…,Ljkが得られる。
FIG. 17 is a circuit diagram showing the basic concept of the chain search circuit according to the third embodiment of the present invention. K j multipliers M j1 , M j2 , ..., M jk are commonly connected to the input terminal of the order latch register R j , and outputs L j1 , L j2 , ..., L jk are obtained from each of them. .

【0107】今、次数ラッチレジスタRj に誤り位置多
項式σ(x)の係数の一つaj が保持されていた場合を
考える。このとき一回クロック信号CLKが活性化する
と、次数ラッチレジスタRj に与えられていたデータa
j は乗算器Mj1に与えられて出力Lj1が得られる。また
係数aj は乗算器Mj2にも与えられ、出力Lj2が求めら
れる。
[0107] Now, consider a case where one a j of the coefficients of the error position polynomial sigma (x) is held in order latch register R j. At this time, when the clock signal CLK is activated once, the data a given to the order latch register R j is
j is given to the multiplier M j1 to obtain the output L j1 . The coefficient a j is also given to the multiplier M j2 to obtain the output L j2 .

【0108】この第3実施例においては、乗算器Mj1
j2,…,Mjkは順に、あるガロア体の元の整数倍の値
を羃数に持つ値を乗算する機能を有する。但し、演算は
誤り位置多項式σ(x)に対応したガロアフィールドで
行われる。
In the third embodiment, the multiplier M j1 ,
M j2 , ..., M jk have a function of sequentially multiplying by a value having a power that is an integral multiple of the value of an element of a certain Galois field. However, the calculation is performed in the Galois field corresponding to the error locator polynomial σ (x).

【0109】例えば、乗算器Mj1があるガロア体の同一
の元αj を乗じる演算を行うとする。このとき、各乗算
器Mj1,Mj2,…,Mjkはそれぞれ順にαj ,αj 2
…,αj k を乗じる機能を有している。
For example, it is assumed that the multiplier M j1 performs an operation for multiplying the same element α j of a Galois field. At this time, each of the multipliers M j1 , M j2 , ..., M jk has α j , α j 2 , and
,, has a function of multiplying by α j k .

【0110】この場合、各出力Lj1,Lj2,…,L
jkは、数27のように表される。
In this case, each output L j1 , L j2 , ..., L
jk is expressed as in Expression 27.

【0111】[0111]

【数27】 [Equation 27]

【0112】よって、一回のクロック信号CLKの活性
化によって、一つの次数ラッチレジスタRj からk個の
出力Lj1,Lj2,…,Ljkが得られる。そして乗算器M
jkの出力は次数ラッチレジスタRj の入力として与えら
れている。このため、誤り位置多項式σ(x)に対応し
て設けられた複数の次数ラッチレジスタの各々におい
て、図17に示されるように共通して接続され、且つ順
次整数倍の値を羃数に持つ値の乗算処理を行う乗算器を
設ければ、一回のクロック信号CLKの活性化によっ
て、k個の誤り位置の検出が可能となる。
Therefore, by activating the clock signal CLK once, k outputs L j1 , L j2 , ..., L jk are obtained from one order latch register R j . And the multiplier M
The output of jk is provided as an input to the order latch register R j . Therefore, each of the plurality of order latch registers provided corresponding to the error locator polynomial σ (x) is commonly connected as shown in FIG. 17 and sequentially has an integer multiple value as a power number. If a multiplier for multiplying the values is provided, it is possible to detect k error positions by activating the clock signal CLK once.

【0113】数27と数8とを比較すればわかるよう
に、k個の出力Lj1,Lj2,…,Ljkはk個の出力
i1,Li2,…,Likと実質的には同一であるので、第
3実施例においても第1実施例と類似した構成のチェー
ンサーチ回路を構成することができる。
As can be seen by comparing the equations 27 and 8, the k outputs L j1 , L j2 , ..., L jk are substantially equal to the k outputs L i1 , L i2 , ..., L ik. Are the same, the chain search circuit having a similar structure to the first embodiment can be constructed in the third embodiment.

【0114】図18はこの発明の第3実施例にかかるチ
ェーンサーチ回路103の構成を示す回路図であり、第
1実施例における図2に対応している。
FIG. 18 is a circuit diagram showing the structure of the chain search circuit 103 according to the third embodiment of the present invention, which corresponds to FIG. 2 in the first embodiment.

【0115】チェーンサーチ回路103は、チェーンサ
ーチ回路101の乗算器Mj1,Mj2と次数ラッチレジス
タRj (j=0〜8)との接続関係を変えたものであ
る。図17で説明したように次数ラッチレジスタRj
出力端には乗算器Mj1,Mj2が共通して接続され、乗算
器Mj2の出力L02は次数ラッチレジスタRj の入力端に
与えられる。
The chain search circuit 103 is different from the chain search circuit 101 in the connection relation between the multipliers M j1 and M j2 and the order latch register R j (j = 0 to 8). The output end of degree latch register R j as described in Figure 17 are connected in common multipliers M j1, M j2, output L 02 of the multiplier M j2 is supplied to the input terminal of the degree latch register R j To be

【0116】乗算器Mj1,Mj2はそれぞれα120+j ,α
240+2j を乗じる演算を行う。例えば乗算器M01,M02
はそれぞれα120 ,α240 を乗じる演算を行う。この場
合、乗算器M01は例えば図3に示された構成をとること
ができる。また乗算器M02は例えば図19に示された構
成をとることができる。
The multipliers M j1 and M j2 are respectively α 120 + j and α
Perform an operation of multiplying by 240 + 2j . For example, multipliers M 01 and M 02
Performs multiplication by α 120 and α 240 , respectively. In this case, the multiplier M 01 can have the configuration shown in FIG. 3, for example. Further, the multiplier M 02 can have the configuration shown in FIG. 19, for example.

【0117】よって、第1回目にクロック信号CLKが
活性化した場合には9個からなる出力が2組得られる。
即ち数11と数12で示される2組である。よってこの
時には元α,α2 がσ(x)の根であるか否かが判定さ
れる。そして2回目にクロック信号CLKが活性化した
場合には元α3 ,α4 がσ(x)の根であるか否かが判
定される。
Therefore, when the clock signal CLK is activated for the first time, two sets of nine outputs can be obtained.
That is, there are two sets represented by equations 11 and 12. Therefore, at this time, it is determined whether or not the elements α and α 2 are roots of σ (x). Then, when the clock signal CLK is activated for the second time, it is determined whether or not the elements α 3 and α 4 are the roots of σ (x).

【0118】よって第3実施例においても第1実施例と
同様にしてチェーンサーチ処理時間を短縮することがで
きる。
Therefore, also in the third embodiment, the chain search processing time can be shortened as in the first embodiment.

【0119】[0119]

【発明の効果】上記の実施例で具体的に示されたよう
に、この発明の第1及び第2の態様において第jの加算
手段は第s回目のクロック信号の活性化によって元α
j+(s-1)kに対応する位置の符号が誤っているか否かを判
定することができるので、符号の誤り位置の検出に要す
る処理時間が1/kに短縮されるという効果がある。
As concretely shown in the above embodiment, in the first and second aspects of the present invention, the j-th addition means is activated by the activation of the s-th clock signal to generate the original α.
Since it is possible to determine whether the code at the position corresponding to j + (s-1) k is incorrect, the processing time required for detecting the error position of the code can be shortened to 1 / k.

【0120】また、この発明の第3の態様によれば第1
及び第2の態様において得られた検出結果を、多大な容
量を必要とせずに格納することができるという効果があ
る。
According to the third aspect of the present invention, the first aspect
Also, there is an effect that the detection result obtained in the second aspect can be stored without requiring a large capacity.

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

【図1】この発明の第1実施例にかかるチェーンサーチ
回路の基本的な考え方を示す回路図である。
FIG. 1 is a circuit diagram showing a basic concept of a chain search circuit according to a first embodiment of the present invention.

【図2】この発明の第1実施例にかかるチェーンサーチ
回路の構成を示す回路図である。
FIG. 2 is a circuit diagram showing a configuration of a chain search circuit according to the first embodiment of the present invention.

【図3】この発明の第1実施例を説明する回路図であ
る。
FIG. 3 is a circuit diagram illustrating a first embodiment of the present invention.

【図4】この発明の第1実施例を説明する回路図であ
る。
FIG. 4 is a circuit diagram illustrating a first embodiment of the present invention.

【図5】この発明の第1実施例を説明する回路図であ
る。
FIG. 5 is a circuit diagram illustrating a first embodiment of the present invention.

【図6】この発明の第1実施例を説明する回路図であ
る。
FIG. 6 is a circuit diagram illustrating a first embodiment of the present invention.

【図7】この発明の第1実施例を説明する回路図であ
る。
FIG. 7 is a circuit diagram illustrating a first embodiment of the present invention.

【図8】この発明の第1実施例を説明する回路図であ
る。
FIG. 8 is a circuit diagram illustrating a first embodiment of the present invention.

【図9】この発明の第1実施例を説明する回路図であ
る。
FIG. 9 is a circuit diagram illustrating a first embodiment of the present invention.

【図10】この発明の第1実施例を説明する回路図であ
る。
FIG. 10 is a circuit diagram illustrating a first embodiment of the present invention.

【図11】この発明の第1実施例を説明する回路図であ
る。
FIG. 11 is a circuit diagram illustrating a first embodiment of the present invention.

【図12】従来の技術の動作を説明するタイミングチャ
ートである。
FIG. 12 is a timing chart for explaining the operation of the conventional technique.

【図13】この発明の第1実施例の動作を説明するタイ
ミングチャートである。
FIG. 13 is a timing chart for explaining the operation of the first embodiment of the present invention.

【図14】この発明の第2実施例にかかるチェーンサー
チ回路の構成を示す回路図である。
FIG. 14 is a circuit diagram showing a configuration of a chain search circuit according to a second embodiment of the present invention.

【図15】従来の技術の動作を説明するタイミングチャ
ートである。
FIG. 15 is a timing chart explaining the operation of the conventional technique.

【図16】この発明の第2実施例の動作を説明するタイ
ミングチャートである。
FIG. 16 is a timing chart for explaining the operation of the second embodiment of the present invention.

【図17】この発明の第3実施例にかかるチェーンサー
チ回路の基本的な考え方を示す回路図である。
FIG. 17 is a circuit diagram showing a basic concept of a chain search circuit according to a third embodiment of the present invention.

【図18】この発明の第3実施例にかかるチェーンサー
チ回路の構成を示す回路図である。
FIG. 18 is a circuit diagram showing a configuration of a chain search circuit according to a third embodiment of the present invention.

【図19】この発明の第3実施例を説明する回路図であ
る。
FIG. 19 is a circuit diagram illustrating a third embodiment of the present invention.

【図20】従来の技術を説明する回路図である。FIG. 20 is a circuit diagram illustrating a conventional technique.

【符号の説明】[Explanation of symbols]

i ,Rj ,R0 〜R8 :次数ラッチレジスタ Mi1〜Mik,Mj1〜Mjk,M01,M02,…,M01
02:乗算器 A01〜A81,A02〜A82:加算器 101a,101b:オアゲート 102a:アンドゲート 102e:誤り位置レジスタ
R i , R j , R 0 to R 8 : Order latch registers M i1 to M ik , M j1 to M jk , M 01 , M 02 , ..., M 01 ,
M 02 : Multipliers A 01 to A 81 , A 02 to A 82 : Adders 101a and 101b: OR gate 102a: AND gate 102e: Error position register

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 n次の誤り位置多項式及びn次の原始多
項式が設定されるリード・ソロモン符号の誤り位置を検
出する、符号の誤り位置検出回路であって、 (a)初期状態において、前記誤り位置多項式の各次数
の係数をそれぞれ記憶し、(a−1)入力端及び出力端
と、(a−2)記憶されていたデータを前記出力端に与
える動作及び前記入力端に与えられたデータを新たに記
憶する動作を制御するクロック信号が入力される制御入
力端と、を有する第0乃至第n(n≧1)の次数対応記
憶手段と、 (b)前記第i(0≦i≦n)の次数対応記憶手段の各
々に対して設けられ、前記第iの次数対応記憶手段の前
記入力端及び前記出力端との間に順次直列に接続され、
前記原始多項式が決定するガロアフィールドにおいて所
定の乗数を以て乗算を行うk個の乗算器Mij(1≦j≦
k,2≦k)と、 (c)前記乗算器Mijの出力に対してモジュロ2の加算
を行う第1乃至第kの加算手段と、 (d)前記クロック信号の活性化する回数を計測するカ
ウンタと、を備え、 前記乗算器Mijにおける前記所定の乗数は全てのjにお
いて等しくαp+i であり、 前記αp は前記原始多項式の根によって規定される有限
体の元から選択される、符号の誤り位置検出回路。
1. A code error position detection circuit for detecting an error position of a Reed-Solomon code in which an nth-order error locator polynomial and an nth-order primitive polynomial are set, comprising: (a) in an initial state, The coefficient of each degree of the error locator polynomial is stored, and (a-1) the input end and the output end, and (a-2) the operation of giving the stored data to the output end and the input end. 0th to nth (n ≧ 1) degree correspondence storage means having a control input terminal to which a clock signal for newly storing data is input, and (b) the i-th (0 ≦ i) ≦ n), which is provided for each of the degree correspondence storage means and is connected in series between the input end and the output end of the i-th order correspondence storage means,
K multipliers M ij (1 ≦ j ≦) that perform multiplication with a predetermined multiplier in the Galois field determined by the primitive polynomial.
k, 2 ≦ k), (c) first to k-th addition means for adding modulo 2 to the output of the multiplier M ij , and (d) measuring the number of times the clock signal is activated. And a counter for performing the predetermined multiplier in the multiplier M ij is equal to α p + i in all j, and α p is selected from an element of a finite field defined by the root of the primitive polynomial. A code error position detection circuit.
【請求項2】 n次の誤り位置多項式及びn次の原始多
項式が設定されるリード・ソロモン符号の誤り位置を検
出する、符号の誤り位置検出回路であって、 (a)初期状態において、前記誤り位置多項式の各次数
の係数をそれぞれ記憶し、(a−1)入力端及び出力端
と、(a−2)記憶されていたデータを前記出力端に与
える動作及び前記入力端に与えられたデータを新たに記
憶する動作を制御するクロック信号が入力される制御入
力端と、を有する第0乃至第n(n≧1)の次数対応記
憶手段と、 (b)前記第i(0≦i≦n)の次数対応記憶手段の各
々に対して設けられ、 前記第iの次数対応記憶手段の前記入力端に接続され、
前記原始多項式が決定するガロアフィールドにおいて所
定の乗数を以て乗算を行うk個の乗算器Mij(1≦j≦
k,2≦k)と、 (c)前記乗算器Mijの出力に対してモジュロ2の加算
を行う第1乃至第kの加算手段と、 (d)前記クロック信号の活性化する回数を計測するカ
ウンタと、を備え、 前記乗算器Mikの出力は前記第iの次数対応記憶手段の
前記出力端に接続され、 前記乗算器Mijにおける前記所定の乗数はα(p+i)jであ
り、 前記αp は前記原始多項式の根によって規定される有限
体の元から選択される、符号の誤り位置検出回路。
2. A code error position detection circuit for detecting an error position of a Reed-Solomon code in which an nth-order error locator polynomial and an nth-order primitive polynomial are set, wherein: (a) in the initial state, The coefficient of each degree of the error locator polynomial is stored, and (a-1) the input end and the output end, and (a-2) the operation of giving the stored data to the output end and the input end. 0th to n-th (n ≧ 1) degree correspondence storage means having a control input terminal to which a clock signal for newly storing data is input, and (b) the i-th (0 ≦ i) ≦ n) provided for each of the degree correspondence storage means, and connected to the input end of the i-th degree correspondence storage means,
K multipliers M ij (1 ≦ j ≦) that perform multiplication with a predetermined multiplier in the Galois field determined by the primitive polynomial.
k, 2 ≦ k), (c) first to k-th addition means for adding modulo 2 to the output of the multiplier M ij , and (d) measuring the number of times the clock signal is activated. And a counter for connecting the output of the multiplier M ik to the output end of the i-th degree correspondence storage means, and the predetermined multiplier in the multiplier M ij is α (p + i) j . Yes, the α p is selected from an element of a finite field defined by the root of the primitive polynomial, and a code error position detection circuit.
【請求項3】 (e)前記第1乃至第kの加算手段の出
力の論理積をとる論理処理部と、 (f)前記第1乃至第kの加算手段の出力をコーディン
グして誤り位置特定データを生成する誤り位置特定デー
タ生成手段と、 (g)前記クロック信号を誤り位置基礎データとして、
また前記誤り位置特定データを所定のアドレスに格納す
る誤り位置記憶手段と、 (h)前記論理処理部の出力に基づいて前記所定のアド
レスを生成するアドレス発生手段と、を更に備える、請
求項1又は2記載の符号の誤り位置検出回路。
3. (e) a logical processing unit which obtains a logical product of outputs of the first to kth adding means; and (f) an output of the first to kth adding means is coded to identify an error position. Error position specifying data generating means for generating data, and (g) the clock signal as error position basic data,
The error position storage means for storing the error position identification data at a predetermined address, and (h) address generation means for generating the predetermined address based on the output of the logic processing unit. Alternatively, the code error position detection circuit according to item 2.
JP5253150A 1993-10-08 1993-10-08 Code error position detection circuit Pending JPH07111463A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5253150A JPH07111463A (en) 1993-10-08 1993-10-08 Code error position detection circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5253150A JPH07111463A (en) 1993-10-08 1993-10-08 Code error position detection circuit

Publications (1)

Publication Number Publication Date
JPH07111463A true JPH07111463A (en) 1995-04-25

Family

ID=17247223

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5253150A Pending JPH07111463A (en) 1993-10-08 1993-10-08 Code error position detection circuit

Country Status (1)

Country Link
JP (1) JPH07111463A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11935616B2 (en) 2021-01-14 2024-03-19 Changxin Memory Technologies, Inc. Comparison system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11935616B2 (en) 2021-01-14 2024-03-19 Changxin Memory Technologies, Inc. Comparison system

Similar Documents

Publication Publication Date Title
JP2580304B2 (en) Data correction method and apparatus
EP0329789B1 (en) Galois field arithmetic unit
JPH0831803B2 (en) Method and apparatus for error correction
US4504948A (en) Syndrome processing unit for multibyte error correcting systems
EP0066768A1 (en) Apparatus for generation of random numbers
US6725416B2 (en) Forward error correction apparatus and methods
US5805617A (en) Apparatus for computing error correction syndromes
WO1997000559A1 (en) Dedicated alu architecture for 10-bit reed-solomon error correction module
US6199088B1 (en) Circuit for determining multiplicative inverses in certain galois fields
JPS6037833A (en) Code ward decoder and reader
JP2024029084A (en) Error detection using group errors
US20060168495A1 (en) Computation of cyclic redundancy check
US6154868A (en) Method and means for computationally efficient on-the-fly error correction in linear cyclic codes using ultra-fast error location
JP2005293557A (en) Decoder, data storage device and data error correction method
US6581180B1 (en) System and method for performing a Chien search using multiple Galois field elements
JP3345385B2 (en) Chain search device
US5001715A (en) Error location system
US20080140740A1 (en) Systems and methods for processing data sets in parallel
KR100258951B1 (en) Rs decoder having serial expansion architecture and method therefor
CN1164941A (en) CRC/EDC checker system
US20080154998A1 (en) Method and apparatus for dividing information bit string
JPH07111463A (en) Code error position detection circuit
JP3614978B2 (en) Galois field division method and division apparatus
JP2553565B2 (en) Galois field arithmetic unit
US5787100A (en) Apparatus for determining error evaluator polynomial for use in a Reed-Solomon decoder