JPH1028059A - Method and device for euclid algorithm - Google Patents

Method and device for euclid algorithm

Info

Publication number
JPH1028059A
JPH1028059A JP8181914A JP18191496A JPH1028059A JP H1028059 A JPH1028059 A JP H1028059A JP 8181914 A JP8181914 A JP 8181914A JP 18191496 A JP18191496 A JP 18191496A JP H1028059 A JPH1028059 A JP H1028059A
Authority
JP
Japan
Prior art keywords
polynomial
syndrome
storage device
register
equation
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP8181914A
Other languages
Japanese (ja)
Other versions
JP3304770B2 (en
Inventor
Kazuhiro Ota
和廣 太田
Tomihiko Fukumoto
富彦 福本
Toshihiko Fukuoka
俊彦 福岡
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial Co Ltd
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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP18191496A priority Critical patent/JP3304770B2/en
Priority to EP01202018A priority patent/EP1150435A1/en
Priority to EP03026166A priority patent/EP1420517A1/en
Priority to EP97928465A priority patent/EP0911983A4/en
Priority to US09/202,998 priority patent/US6374384B1/en
Priority to PCT/JP1997/002198 priority patent/WO1997050184A1/en
Publication of JPH1028059A publication Critical patent/JPH1028059A/en
Application granted granted Critical
Publication of JP3304770B2 publication Critical patent/JP3304770B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To reduce the operation quantity of a method and device for Euclid algorithm used for an error correction system, such as the BCH error correction system, Reed-Solomon error correction system, etc., for Galois field operation so that the processing speed can be increased. SOLUTION: Since the operating quantity of Galois field operation is reduced when polynominals B(z)=Sk-1 z<k-1> +Sk-2 z<k-2> +...S0 and M(z)=1 are initialized from a syndrome equation S(z)=Sk-1 z<k-1> +Sk-2 z<k-2> +...+S0 (where k is an integer of >0 and Sk-1 to S0 are elements on a Galois field) and polynominals A(z)= Sk-2 z<k-1> +Sk-3 z<k-2> +...+S0 z and L(z)=z are initialized by using the coefficient of the syndrome equation S(z), the processing speed of a method and device for Euclid algorithm can be increased.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、BCH誤り訂正方
式、リードソロモン誤り訂正方式などの誤り訂正方式で
用いられるユークリッド互除方法および装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method and an apparatus for Euclidean mutual exclusion used in error correction systems such as a BCH error correction system and a Reed-Solomon error correction system.

【0002】[0002]

【従来の技術】光ディスクなどの記録メディアやデジタ
ル衛星放送などのデジタル伝送システムなど様々な分野
で、誤り訂正方式としてBCH誤り訂正方式、リードソ
ロモン誤り訂正方式などの誤り訂正方式が用いられてい
る。
2. Description of the Related Art In various fields such as recording media such as optical disks and digital transmission systems such as digital satellite broadcasting, error correction methods such as a BCH error correction method and a Reed-Solomon error correction method are used as error correction methods.

【0003】BCH誤り訂正方式、リードソロモン誤り
訂正方式などの誤り訂正方式では、受信側で、まず、受
信信号に基づくシンドローム方程式S(z)=SK-1
K-1+SK-2K-2+…+S0を求める。
In an error correction method such as a BCH error correction method or a Reed-Solomon error correction method, first, a syndrome equation S (z) = S K−1 z based on a received signal is received on the receiving side.
K-1 + S K-2 z K-2 + ... + seek the S 0.

【0004】信号に誤りが存在しない場合、シンドロー
ム方程式S(z)の係数SK-1〜S0が、SK-1=SK-2
…=S0=0、即ち、シンドローム方程式S(z)=0
となる。信号に誤りが存在する場合、シンドローム方程
式S(z)≠0となる。
If there is no error in the signal, the coefficients S K-1 to S 0 of the syndrome equation S (z) are given by S K-1 = S K-2 =
.. = S 0 = 0, that is, the syndrome equation S (z) = 0
Becomes If there is an error in the signal, the syndrome equation S (z) ≠ 0.

【0005】受信信号に誤りが存在し、シンドローム方
程式S(z)≠0となる時は、このシンドローム方程式
S(z)から、誤り位置多項式σ(z)を求め、この誤
り位置多項式σ(z)を用いて誤りを訂正する。
When an error exists in the received signal and the syndrome equation S (z) ≠ 0, an error locator polynomial σ (z) is obtained from the syndrome equation S (z), and the error locator polynomial σ (z) is obtained. ) To correct the error.

【0006】一般に、シンドローム方程式S(z)から
誤り位置多項式σ(z)を求めるために、ユークリッド
互除方法が用いられる。従来、ユークリッド互除方法
は、計算機アーキテクチャ、67−3(1987年9月
16日)「光ディスク装置用誤り訂正の方式およびLS
Iの開発」に記載されたものが知られている。
In general, an Euclidean algorithm is used to obtain an error locator polynomial σ (z) from the syndrome equation S (z). Conventionally, the Euclidean mutual exchange method is described in Computer Architecture, 67-3 (September 16, 1987) "Error Correction Method and LS for Optical Disk Devices"
Described in "Development of I."

【0007】以下では、電気通信技術審議会のデジタル
放送システム委員会報告に基づいたリードソロモン誤り
訂正方式で説明を行なう。即ち、符号生成多項式:g(Z)
=(Z+α0)(Z+α1)(Z+α2)…(Z+α15),(α=02h)、体生成
多項式:X8+X4+X3+X2+1、パケット長:204バイト、
パケット長内の情報バイト:188バイト、誤り訂正
数:8バイト、である。
[0007] The following description is based on the Reed-Solomon error correction method based on the report of the Digital Broadcasting System Committee of the Telecommunications Technology Council. That is, the code generator polynomial: g (Z)
= (Z + α 0 ) (Z + α 1 ) (Z + α 2 )… (Z + α 15 ), (α = 02h), field generating polynomial: X 8 + X 4 + X 3 + X 2 +1 , Packet length: 204 bytes,
The number of information bytes in the packet length is 188 bytes, and the number of error corrections is 8 bytes.

【0008】上記リードソロモン誤り訂正方式のユーク
リッド互除方法においては、リードソロモン符号化され
た信号に基づくシンドローム方程式S(z)=S1515
+S 14K14+…+S0(S15〜S0はガロア体GF
(28)上の元)から多項式A(z),B(z),L
(z),M(z)の初期設定を行ない、ガロア体演算を
行なって、誤り位置多項式σ(z)を求める。ガロア体
の算法については、電子情報通信学会編,今井秀樹著
「符号理論」の第3章に記載されている。
[0008] The above Reed-Solomon error-correcting Yuke
In the lid mutual exchange method, Reed-Solomon encoding is used.
Syndrome equation S (z) = S based on the obtained signalFifteenzFifteen
+ S 14zK14+ ... + S0(SFifteen~ S0Is the Galois body GF
(28), The polynomials A (z), B (z), L
Initialize (z) and M (z) and perform Galois field arithmetic
To find the error locator polynomial σ (z). Galois body
About the algorithm of, edited by IEICE, Hideki Imai
It is described in Chapter 3 of "Coding Theory".

【0009】以下、従来例のユークリッド互除方法につ
いて、図面を用いて説明する。図15は、従来例のユー
クリッド互除方法の初期設定方法を示すフローチャート
図である。また、図16は、初期設定後の一般的なユー
クリッド互除方法を示すフローチャート図である。
Hereinafter, a conventional Euclidean mutual division method will be described with reference to the drawings. FIG. 15 is a flowchart showing an initial setting method of a conventional Euclidean mutual exclusion method. FIG. 16 is a flowchart showing a general Euclidean mutual exchange method after initialization.

【0010】従来例のユークリッド互除方法において
は、図15に示す初期設定方法に従って、リードソロモ
ン符号化された信号に基づくシンドローム方程式S
(z)=S 1515+S14K14+…+S0(S15〜S0
ガロア体GF(28)上の元)から多項式A(z),B
(z),L(z),M(z)の初期設定を行ない、図1
6に示す初期設定後の一般的なユークリッド互除方法に
従って、ガロア体演算を行ない、誤り位置多項式σ
(z)を求める。ガロア体演算では、多項式A(z),
B(z)の次数を減らす処理が行なわれる。多項式A
(z),B(z)のいずれかの次数が7次以下になれば
処理が終了する。
In a conventional Euclidean mutual exchange method,
Is a read solo model according to the initial setting method shown in FIG.
Syndrome equation S based on an encoded signal
(Z) = S FifteenzFifteen+ S14zK14+ ... + S0(SFifteen~ S0Is
Galois body GF (28)) The polynomials A (z), B
(Z), L (z) and M (z) are initialized, and FIG.
General Euclidean mutual exchange method after initial setting shown in Fig. 6
Therefore, a Galois field operation is performed, and the error locator polynomial σ
Find (z). In Galois field arithmetic, the polynomials A (z),
A process for reducing the order of B (z) is performed. Polynomial A
If any of the orders of (z) and B (z) becomes 7th order or less
The process ends.

【0011】以下、図15および図16に示した従来例
のユークリッド互除方法の演算例について説明する。
An example of the operation of the conventional Euclidean algorithm shown in FIGS. 15 and 16 will be described below.

【0012】(数1)に、従来例のユークリッド互除方
法の第1の演算例を示す。本演算例は、シンドローム方
程式S(z)の係数S15〜S8≠0の場合である。本演
算例では、6回のガロア体演算の結果、誤り位置多項式
σ(z)を得ている。
(Equation 1) shows a first operation example of the conventional Euclidean algorithm. This calculation example is a case where coefficients S 15 to S 8 ≠ 0 of the syndrome equation S (z). In this calculation example, an error locator polynomial σ (z) is obtained as a result of six Galois field calculations.

【0013】[0013]

【数1】 (Equation 1)

【0014】(数2)に、従来例のユークリッド互除方
法の第2の演算例を示す。本演算例は、シンドローム方
程式S(z)の係数S15≠0かつS14〜S8の内少なく
とも一つが0の場合である。本演算例では、4回のガロ
ア体演算の結果、誤り位置多項式σ(z)を得ている。
(Equation 2) shows a second operation example of the conventional Euclidean algorithm. This calculation example is a case where the coefficient S 15 ≠ 0 of the syndrome equation S (z) and at least one of S 14 to S 8 is 0. In this calculation example, an error locator polynomial σ (z) is obtained as a result of four Galois field calculations.

【0015】[0015]

【数2】 (Equation 2)

【0016】(数3)に、従来例のユークリッド互除方
法の第3の演算例を示す。本演算例は、シンドローム方
程式S(z)の係数S15〜Sn=0かつSn-1≠0の場合
(n≦15;nは整数)である。本演算例では、4回の
ガロア体演算の結果、誤り位置多項式σ(z)を得てい
る。
(Equation 3) shows a third operation example of the conventional Euclidean algorithm. This calculation example is a case where the coefficients S 15 to S n = 0 and S n-1 ≠ 0 of the syndrome equation S (z) (n ≦ 15; n is an integer). In this calculation example, an error locator polynomial σ (z) is obtained as a result of four Galois field calculations.

【0017】[0017]

【数3】 (Equation 3)

【0018】このように、従来例のユークリッド互除方
法では、多数のガロア体演算が必要とされる。このこと
が処理速度の高速化の妨げとなっていた。
As described above, the conventional Euclidean algorithm requires a large number of Galois field operations. This has hindered an increase in processing speed.

【0019】[0019]

【発明が解決しようとする課題】上記のように、従来例
のユークリッド互除方法では、多数のガロア体演算が必
要とされ、処理速度の高速化の妨げとなっていた。
As described above, the conventional Euclidean mutual division method requires a large number of Galois field operations, which hinders an increase in processing speed.

【0020】本発明は、上記課題を解決するもので、ガ
ロア体演算の演算量を減らし、処理速度の高速化に対応
したユークリッド互除方法および装置を提供することを
目的とする。
An object of the present invention is to solve the above-mentioned problems and to provide a method and an apparatus for Euclidean mutual exclusion which reduce the amount of Galois field operation and which can cope with an increase in processing speed.

【0021】[0021]

【課題を解決するための手段】この課題を解決するため
に本発明は、シンドローム方程式S(z)=Sk-1k -1
+Sk-2k-2+…+S0(kはk>0の整数、Sk-1〜S
0はガロア体上の元)から多項式A(z),B(z),
L(z),M(z)の初期設定を行ない、ガロア体演算
を行なって、誤り位置多項式を求めるユークリッド互除
方法において、その初期設定方法が、多項式B(z)=
k-1k-1+Sk-2k-2+…+S0、M(z)=1と
し、シンドローム方程式S(z)の係数により、多項式
A(z)=Sk-2k-1+Sk-3k-2+…+S0z、L
(z)=zとおく方法であるユークリッド互除方法であ
る。
SUMMARY OF THE INVENTION The present invention in order to solve this problem, the syndrome equations S (z) = S k- 1 z k -1
+ S k−2 z k−2 +... + S 0 (k is an integer of k> 0, S k−1 to S
0 is an element on the Galois field) from the polynomials A (z), B (z),
Initialization of L (z) and M (z) is performed, Galois field operation is performed, and an Euclidean mutual division method for obtaining an error locator polynomial is performed.
S k-1 z k-1 + S k-2 z k-2 +... + S 0 , M (z) = 1, and the polynomial A (z) = S k-2 z by the coefficient of the syndrome equation S (z). k-1 + S k-3 z k-2 + ... + S 0 z, L
This is a Euclidean algorithm in which (z) = z.

【0022】また、本発明は、シンドローム方程式S
(z)=Sk-1k-1+Sk-2k-2+…+S0を入力と
し、多項式記憶装置A,B,L,Mと、ガロア体演算装
置とを備え、シンドローム方程式から多項式記憶装置
A,B,L,Mの初期設定を行ない、多項式記憶装置
A,B,L,Mとガロア体演算装置とを用いてガロア体
演算を行ない、誤り位置多項式を求めるユークリッド互
除装置において、初期設定時に、多項式記憶装置Bに、
多項式B(z)=Sk-1k-1+Sk-2k-2+…+S
0を、多項式記憶装置Mに、多項式M(z)=1を格納
し、シンドローム方程式S(z)の係数により、前記多
項式記憶装置Aに、多項式A(z)=Sk-2k-1+S
k-3k-2+…+S0zを、多項式記憶装置Lに、多項式
L(z)=zを格納することを特徴とするユークリッド
互除装置である。
Further, the present invention uses the syndrome equation S
(Z) = Sk-1zk-1+ Sk-2zk-2+ ... + S0And enter
And a polynomial storage device A, B, L, M, and a Galois field arithmetic unit.
And a polynomial storage device based on the syndrome equations
Initialization of A, B, L, M, and polynomial storage
Galois field using A, B, L, M and Galois field arithmetic unit
Euclidean algorithm that performs the operation and finds the error locator polynomial
At the initial setting, the polynomial storage device B
Polynomial B (z) = Sk-1zk-1+ Sk-2zk-2+ ... + S
0And the polynomial M (z) = 1 in the polynomial storage device M
And the coefficient of the syndrome equation S (z)
The polynomial A (z) = Sk-2zk-1+ S
k-3zk-2+ ... + S0z is stored in a polynomial storage device L as a polynomial
Euclid, characterized by storing L (z) = z
It is a mutual exchange device.

【0023】これにより、本発明のユークリッド互除方
法および装置は、ガロア体演算の演算量が減るので、処
理速度の高速化に対応できる。
Accordingly, the Euclidean mutual division method and apparatus according to the present invention can cope with an increase in processing speed because the amount of Galois field operation is reduced.

【0024】[0024]

【発明の実施の形態】本発明の第1の発明は、シンドロ
ーム方程式S(z)=Sk-1k-1+Sk-2k -2+…+S
0、(kはk>0の整数、Sk-1〜S0はガロア体上の
元)から多項式A(z),B(z),L(z),M
(z)の初期設定を行ない、ガロア体演算を行なって、
誤り位置多項式を求めるユークリッド互除方法におい
て、その初期設定方法が、前記多項式B(z)=Sk-1
k-1+Sk-2k-2+…+S0、M(z)=1とし、前記
シンドローム方程式S(z)の係数により、前記多項式
A(z)=Sk-2k-1+Sk-3k-2+…+S0z、L
(z)=zとおく方法であるユークリッド互除方法とし
たものであり、シンドローム方程式S(z)の係数によ
りユークリッド互除の実行が可能であり、ユークリッド
互除の実行に必要なガロア体演算の回数が減るので、処
理速度の高速化に対応できるという作用を有する。
First invention of the embodiment of the present invention is the syndrome equations S (z) = S k- 1 z k-1 + S k-2 z k -2 + ... + S
0 , (k is an integer of k> 0, and S k-1 to S 0 are elements on the Galois field) from the polynomials A (z), B (z), L (z), M
Initialize (z), perform Galois field arithmetic,
In the Euclidean mutual division method for finding an error locator polynomial, the initial setting method is the polynomial B (z) = S k−1
z k-1 + S k- 2 z k-2 + ... + S 0, and M (z) = 1, the coefficient of the syndrome equations S (z), the polynomial A (z) = S k- 2 z k- 1 + S k-3 z k-2 + ... + S 0 z, L
This is a Euclidean mutual division method in which (z) = z is set, and the Euclidean mutual division can be executed by using the coefficient of the syndrome equation S (z). The number of Galois field operations required for performing the Euclidean mutual division is Since it is reduced, there is an effect that the processing speed can be increased.

【0025】また第2の発明は、第1の発明において、
初期設定方法が、シンドローム方程式S(z)の係数S
k-1〜Sn=0かつSn-1≠0の時(n≦k−1;nは整
数)、多項式A(z)=Sn-2k-1+Sn-3k-2+…+
0k-n+1、L(z)=zk- n+1とおく方法であるユー
クリッド互除方法としたものであり、シンドローム方程
式S(z)の係数に関わらずユークリッド互除の実行が
可能であり、ユークリッド互除の実行に必要なガロア体
演算の回数が減るので、処理速度の高速化に対応できる
という作用を有する。
According to a second aspect of the present invention, in the first aspect,
The initial setting method is the coefficient S of the syndrome equation S (z).
When k-1 ~S n = 0 and S n-1 ≠ 0 (n ≦ k-1; n is an integer), the polynomial A (z) = S n- 2 z k-1 + S n-3 z k- 2 + ... +
S 0 z k−n + 1 , L (z) = z k− n + 1 , and the Euclidean algorithm is used. The execution of the Euclidean algorithm is performed regardless of the coefficient of the syndrome equation S (z). This is possible, and the number of Galois field operations required for performing Euclidean mutual division is reduced, so that the processing speed can be increased.

【0026】また第3の発明は、第1の発明において、
初期設定方法が、シンドローム方程式S(z)の係数S
k-1=0の時、前記多項式A(z)=zk、L(z)=1
とおくことを特徴とするユークリッド互除方法としたも
のであり、シンドローム方程式S(z)の係数に関わら
ずユークリッド互除の実行が可能であり、シンドローム
方程式S(z)の係数によりユークリッド互除の実行に
必要なガロア体演算の回数が減るので、処理速度の高速
化に対応できるという作用を有する。
According to a third aspect of the present invention, in the first aspect,
The initial setting method is the coefficient S of the syndrome equation S (z).
When k-1 = 0, the polynomial A (z) = z k , L (z) = 1
The Euclidean mutual exchange method is characterized in that Euclidean mutual exchange can be executed regardless of the coefficient of the syndrome equation S (z), and the Euclidean mutual execution can be performed by using the coefficient of the syndrome equation S (z). Since the number of required Galois field operations is reduced, the processing speed can be increased.

【0027】また第4の発明は、シンドローム方程式S
(z)=Sk-1k-1+Sk-2k-2+…+S0を入力と
し、多項式記憶装置A,B,L,Mと、ガロア体演算装
置とを備え、シンドローム方程式から多項式記憶装置
A,B,L,Mの初期設定を行ない、多項式記憶装置
A,B,L,Mとガロア体演算装置とを用いてガロア体
演算を行ない、誤り位置多項式を求めるユークリッド互
除装置において、初期設定時に、多項式記憶装置Bに、
多項式B(z)=Sk-1k-1+Sk-2k-2+…+S0
多項式記憶装置Mに、多項式M(z)=1を格納し、シ
ンドローム方程式S(z)の係数により、多項式記憶装
置Aに、多項式A(z)=Sk-2k-1+Sk-3k-2+…
+S0z、多項式記憶装置Lに、多項式L(z)=zを
格納することを特徴とするユークリッド互除装置とした
ものであり、シンドローム方程式S(z)の係数により
ユークリッド互除の実行が可能であり、ユークリッド互
除の実行に必要なガロア体演算の回数が減るので、処理
速度の高速化に対応できるという作用を有する。
Further, the fourth invention provides a syndrome equation S
(Z) = S k−1 z k−1 + S k−2 z k−2 +... + S 0 , and have polynomial storage units A, B, L, M and Galois field arithmetic unit, and syndrome equations Performs the initial setting of the polynomial storage devices A, B, L, and M, performs the Galois field operation using the polynomial storage devices A, B, L, and M and the Galois field arithmetic device, and obtains the Euclidean mutual multiplexing device for obtaining the error locator polynomial. At the time of initialization, the polynomial storage device B
Polynomial B (z) = S k- 1 z k-1 + S k-2 z k-2 + ... + S 0,
The polynomial storage device M stores the polynomial expression M (z) = 1, and the polynomial storage device A stores the polynomial expression A (z) = S k−2 z k−1 + S k− by the coefficient of the syndrome equation S (z). 3 z k-2 + ...
+ S 0 z, a polynomial storage device L, which stores a polynomial L (z) = z. The Euclidean mutual elimination device is characterized in that Euclidean mutual exclusion can be performed by using a coefficient of a syndrome equation S (z). In addition, since the number of Galois field operations required to execute Euclidean mutual division is reduced, an effect is provided that the processing speed can be increased.

【0028】また第5の発明は、第4の発明において、
初期設定時に、シンドローム方程式S(z)の係数S
k-1〜Sn=0かつSn-1≠0の時(n≦k−1;kは整
数)、多項式記憶装置Aに、多項式A(z)=Sn-2
k-1+Sn-3k-2+…+S0k-n +1、多項式記憶装置L
に、多項式L(z)=zk-n+1を格納することを特徴と
するユークリッド互除装置としたものであり、シンドロ
ーム方程式S(z)の係数に関わらずユークリッド互除
の実行が可能であり、ユークリッド互除の実行に必要な
ガロア体演算の回数が減るので、処理速度の高速化に対
応できるという作用を有する。
According to a fifth aspect of the present invention, in the fourth aspect,
At initialization, the coefficient S of the syndrome equation S (z)
k-1 ~S n = 0 and when S n-1 ≠ 0 (n ≦ k-1; k is an integer), the polynomial storage device A, polynomial A (z) = S n- 2 z
k-1 + S n-3 z k-2 + ... + S 0 z kn +1, polynomial storage device L
In which the polynomial L (z) = z k−n + 1 is stored, and the Euclidean algorithm can be executed regardless of the coefficients of the syndrome equation S (z). Since the number of Galois field operations required to execute Euclidean mutual division is reduced, the processing speed can be increased.

【0029】また第6の発明は、第4の発明において、
初期設定時に、少なくとも、シンドローム方程式S
(z)の係数Sk-1≠0の時、多項式記憶装置Aに、多
項式A(z)=zk、多項式記憶装置Lに、多項式L
(z)=1を格納することを特徴とするユークリッド互
除装置としたものであり、シンドローム方程式S(z)
の係数に関わらずユークリッド互除の実行が可能であ
り、シンドローム方程式S(z)の係数によりユークリ
ッド互除の実行に必要なガロア体演算の回数が減るの
で、処理速度の高速化に対応できるという作用を有す
る。
According to a sixth aspect of the present invention, in the fourth aspect,
At the time of initialization, at least the syndrome equation S
When the coefficient S k−1 ≠ 0 of (z), the polynomial A (z) = z k in the polynomial storage device A, the polynomial L in the polynomial storage device L
(Z) = 1 is stored, and a syndrome equation S (z) is stored.
Irrespective of the coefficient of the Euclidean algorithm, the number of Galois field operations required for the execution of the Euclidean algorithm is reduced by the coefficient of the syndrome equation S (z), so that the processing speed can be increased. Have.

【0030】また第7の発明は、第5の発明において、
多項式記憶装置Aは、レジスタak- 1〜a0を備え、多項
式記憶装置Bは、レジスタbk-1〜b0とレジスタdBを
備え、多項式記憶装置Lは、レジスタli-1〜l0(iは
i>0の整数)を備え、多項式記憶装置Mは、レジスタ
j-1〜m0(j>0;jは整数)を備え、レジスタb
k-1を監視し、レジスタbk-1に格納されているデータが
0なら0、0以外なら1を監視信号として出力するシン
ドローム監視装置を備え、初期設定時に、レジスタa
k-1〜a0にシンドローム方程式S(z)の係数と定数
{Sk-2,Sk-3,…,S0,0}を、レジスタbk-1〜b
0にシンドローム方程式S(z)の係数{Sk-1
k-2,…,S0}を、レジスタlv〜lv-1に定数{1,
0}を、レジスタmwに定数1を、レジスタdBに定数
を入力し(0<v<i;0≦w<j;v,wは整数)、
監視信号が0ならば、監視信号が1になるまで、レジス
タak-1〜a0,bk-1〜b0の格納するデータを、それぞ
れ添え字の大きい方へシフトし、シフトした回数分、レ
ジスタdBの格納する値をインクリメントまたはデクリ
メントすることを特徴とするユークリッド互除装置とし
たものであり、シンドローム方程式S(z)の係数に関
わらずユークリッド互除の実行が可能であり、ユークリ
ッド互除の実行に必要なガロア体演算の回数が減り、さ
らに、初回のガロア体演算の一部を省略できるため、処
理速度の高速化に対応できるという作用を有する。
According to a seventh aspect of the present invention, in the fifth aspect,
The polynomial storage device A includes a register ak- 1~ A0With polynomial
The formula storage device B includes a register bk-1~ B0And the register dB
And a polynomial storage device Li-1~ L0(I is
i> 0), and the polynomial storage device M
mj-1~ M0(J> 0; j is an integer), and the register b
k-1Monitor the register bk-1Data stored in
A thin signal that outputs 0 as a monitoring signal if it is 0 and 1 if it is not 0
A drome monitoring device is provided.
k-1~ A0And the coefficients and constants of the syndrome equation S (z)
{Sk-2, Sk-3, ..., S0, 0} in register bk-1~ B
0To the coefficient {S of the syndrome equation S (z)k-1,
Sk-2, ..., S0、 Into the register lv~ Lv-1To the constant {1,
0} to the register mwTo the constant 1 and the register dB to the constant
(0 <v <i; 0 ≦ w <j; v and w are integers),
If the monitoring signal is 0, register until the monitoring signal becomes 1.
Tak-1~ A0, Bk-1~ B0The data to be stored
The subscript is shifted to the larger one, and the
Increments or decrements the value stored in the register dB.
Euclid mutual exchange device
The coefficient of the syndrome equation S (z)
It is possible to execute Euclidean mutual
Reduces the number of Galois field operations required to perform
Furthermore, since part of the first Galois field operation can be omitted,
It has the effect that it can respond to an increase in the processing speed.

【0031】また第8の発明は、第6の発明において、
多項式記憶装置Aは、レジスタak〜a0を備え、多項式
記憶装置Bは、レジスタbk-1〜b0を備え、多項式記憶
装置Lは、レジスタli-1〜l0を備え(i>0;iは整
数)、多項式記憶装置Mは、レジスタmj-1〜m0を備え
(j>0;jは整数)、シンドローム方程式S(z)の
係数を監視し、0または1を監視信号として出力し、少
なくとも、シンドローム方程式S(z)の係数Skー1
0なら監視信号を0とするシンドローム監視装置を備
え、初期設定時に、レジスタbk-1〜b0にシンドローム
方程式S(z)の係数{Sk-1,Sk-2,…,S0}を、
レジスタmwに定数1を入力し(0≦w<j;wは整
数)、監視信号が0ならば、レジスタak〜a0に定数
{1,…,0,0}を、レジスタlvに定数0を入力し
(0≦v<i;vは整数)、監視信号が1ならば、レジ
スタap〜ap-k+1にシンドローム方程式S(z)の係数
と定数{Sk-2,Sk-3,…,S0,0}を(p=kまた
はk−1)、レジスタlq〜lq-1に定数{1,0}を
(0<q<i;qは整数)入力することを特徴とし、加
えて、多項式記憶装置Aは、レジスタdAを備え、シン
ドローム監視装置は、シンドローム方程式S(z)の係
数Skー1〜Sk/2の内少なくとも一つが0なら監視信号を
0、それ以外なら1とし、初期設定時に、監視信号が0
ならば、レジスタdAに定数e(eは整数)を入力し、
監視信号が1ならば、レジスタdAに定数f(f≠e;
fは整数)を入力することを特徴とするユークリッド互
除装置としたものであり、シンドローム方程式S(z)
の係数に関わらずユークリッド互除の実行が可能であ
り、シンドローム方程式S(z)の係数Skー1〜Sk/2
内少なくとも一つが0の時ユークリッド互除の実行に必
要なガロア体演算の回数が減り、さらに、初回のガロア
体演算の一部を省略できるため、処理速度の高速化に対
応できるという作用を有する。
According to an eighth aspect of the present invention, in the sixth aspect,
The polynomial storage device A includes registers a k to a 0 , the polynomial storage device B includes registers b k−1 to b 0 , and the polynomial storage device L includes registers l i−1 to l 0 (i >0; i is an integer), the polynomial storage device M has registers m j−1 to m 0 (j>0; j is an integer), monitors the coefficients of the syndrome equation S (z), and stores 0 or 1 A syndrome monitoring device which outputs a monitoring signal and sets the monitoring signal to 0 if at least the coefficient S k-1 of the syndrome equation S (z) is 0 is provided. At initial setting, the syndrome equations are stored in registers b k-1 to b 0. The coefficients {S k−1 , S k−2 ,..., S 0 } of S (z) are
A constant 1 is input to the register m w (0 ≦ w <j; w is an integer). If the monitoring signal is 0, constants {1,..., 0, 0} are stored in the registers a k to a 0 and a register l v (0 ≦ v <i; v is an integer), and if the monitoring signal is 1, the coefficients of the syndrome equation S (z) and the constant {S k− are stored in the registers a p to a p-k + 1. 2, S k-3, ... , S 0, 0} a (p = k or k-1), the constants {1,0} to register l q ~l q-1 (0 <q <i; q is In addition, the polynomial storage device A is provided with a register dA, and the syndrome monitoring device has at least one of the coefficients S k−1 to S k / 2 of the syndrome equation S (z). If 0, the monitoring signal is set to 0; otherwise, 1 is set.
Then, input a constant e (e is an integer) to the register dA,
If the monitor signal is 1, a constant f (f ≠ e;
f is an integer), and a syndrome equation S (z)
Euclidean algorithm can be executed regardless of the coefficient, and when at least one of the coefficients S k−1 to S k / 2 of the syndrome equation S (z) is 0, the Galois field operation required for executing the Euclidean algorithm is performed. Since the number of times is reduced and a part of the first Galois field operation can be omitted, an effect that the processing speed can be increased can be achieved.

【0032】以下、本発明の実施の形態について、図面
を用いて説明する。なお、本発明のユークリッド互除方
法および装置は、初期設定後の演算に関しては、図16
に示した初期設定後の一般的なユークリッド互除方法を
適用することが出来る。本発明のユークリッド互除方法
および装置の特徴は初期設定方法にあるので、初期設定
方法の説明を詳細に行い、初期設定後の説明は、図16
に示した初期設定後の一般的なユークリッド互除方法を
用いて簡単に行なう。
Hereinafter, embodiments of the present invention will be described with reference to the drawings. It should be noted that the Euclidean mutual division method and apparatus of the present invention are not limited to the operation after the initial setting as shown in FIG.
The general Euclidean mutual exchange method after the initial setting shown in (1) can be applied. The feature of the Euclidean mutual exchange method and apparatus of the present invention resides in the initial setting method. Therefore, the initial setting method will be described in detail.
This is easily performed using the general Euclidean mutual exchange method after the initial setting shown in FIG.

【0033】(実施の形態1)図1は、本発明の実施の
形態1のユークリッド互除方法の初期設定方法を示すフ
ローチャート図である。
(Embodiment 1) FIG. 1 is a flowchart showing an initial setting method of the Euclidean mutual exclusion method according to Embodiment 1 of the present invention.

【0034】本実施の形態のユークリッド互除方法にお
いては、図1に示す初期設定方法に従って、リードソロ
モン符号化された信号に基づくシンドローム方程式S
(z)=S1515+S14K14+…+S0、(S15〜S0
はガロア体GF(28)上の元)から多項式A(z),
B(z),L(z),M(z)の初期設定を行ない、図
16に示す初期設定後の一般的なユークリッド互除方法
に従って、ガロア体演算を行ない、誤り位置多項式σ
(z)を求める。ガロア体演算では、多項式A(z),
B(z)の次数を減らす処理が行なわれる。多項式A
(z),B(z)のいずれかの次数が7次以下になれば
処理が終了する。
In the Euclidean mutual division method according to the present embodiment, a syndrome equation S based on a Reed-Solomon encoded signal is set according to the initialization method shown in FIG.
(Z) = S 15 z 15 + S 14 z K14 +... + S 0 , (S 15 to S 0
Is an element on the Galois field GF (2 8 )) from the polynomial A (z),
Initialization of B (z), L (z), and M (z) is performed, Galois field operation is performed according to a general Euclidean mutual division method after the initialization shown in FIG.
Find (z). In Galois field arithmetic, the polynomials A (z),
A process for reducing the order of B (z) is performed. Polynomial A
If the order of any of (z) and B (z) becomes equal to or lower than the seventh order, the process ends.

【0035】以下、図1および図16に示した本実施の
形態のユークリッド互除方法の演算例について説明す
る。
An example of the operation of the Euclidean mutual division method according to the present embodiment shown in FIGS. 1 and 16 will be described below.

【0036】(数4)に、本実施の形態による第1の演
算例を示す。本演算例は、(数1)に示した従来例の方
法の第1の演算例と同じシンドローム方程式を用いた。
即ち、シンドローム方程式S(z)の係数S15〜S8
0の場合である。
(Equation 4) shows a first calculation example according to the present embodiment. This operation example uses the same syndrome equation as the first operation example of the method of the conventional example shown in (Equation 1).
That is, coefficients S 15 to S 8 of the syndrome equation S (z)
This is the case of 0.

【0037】[0037]

【数4】 (Equation 4)

【0038】本演算例の初期設定後の多項式A(z),
B(z),L(z),M(z)は、従来例の方法の第1
の演算例の1回目のガロア体演算後の多項式A(z),
B(z),L(z),M(z)となっている。その結
果、誤り位置多項式σ(z)を得るまでのガロア体演算
の回数は、従来例の第1の演算例より1回少ない5回と
なる。
The polynomial A (z),
B (z), L (z) and M (z) are the first in the conventional method.
Polynomial A (z), after the first Galois field operation in the operation example of
B (z), L (z), and M (z). As a result, the number of Galois field operations required to obtain the error locator polynomial σ (z) is five, which is one less than the first operation example of the conventional example.

【0039】(数5)に、本実施の形態のユークリッド
互除方法の第2の演算例を示す。本演算例は、(数2)
に示した従来例の第2の演算例と同じシンドローム方程
式を用いた。即ち、シンドローム方程式S(z)の係数
15≠0かつS14〜S8の内少なくとも一つが0の場合
である。
(Equation 5) shows a second operation example of the Euclidean mutual division method according to the present embodiment. This calculation example is given by (Equation 2)
The same syndrome equation as in the second operation example of the conventional example shown in FIG. That is, this is a case where the coefficient S 15 ≠ 0 of the syndrome equation S (z) and at least one of S 14 to S 8 is 0.

【0040】[0040]

【数5】 (Equation 5)

【0041】本演算例の初期設定後の多項式A(z),
B(z),L(z),M(z)は、従来例のユークリッ
ド互除方法の第2の演算例の1回目のガロア体演算後の
多項式A(z),B(z),L(z),M(z)となっ
ている。その結果、誤り位置多項式σ(z)を得るまで
のガロア体演算の回数は、従来例の第2の演算例より1
回少ない3回となる。
The polynomials A (z),
B (z), L (z), and M (z) are polynomials A (z), B (z), L () after the first Galois field operation in the second operation example of the conventional Euclidean algorithm. z) and M (z). As a result, the number of Galois field operations required until the error locator polynomial σ (z) is obtained is one more than the second operation example of the conventional example
3 times less.

【0042】このように、本実施の形態のユークリッド
互除方法は、シンドローム方程式S(z)の係数S15
0という条件のもとで、ユークリッド互除の実行が可能
であり、ユークリッド互除の実行に必要なガロア体演算
の回数が減る。それ以外の条件では、ユークリッド互除
の実行が不可能であるが、受信信号に誤りが存在し、即
ち、シンドローム方程式S(z)≠0であり、シンドロ
ーム方程式S(z)の係数S15=0という条件になるこ
とは、確立的に極めてまれなので、実用上問題ない。
As described above, the Euclidean mutual division method of the present embodiment uses the coefficient S 15 ≠ of the syndrome equation S (z).
Under the condition of 0, the Euclidean algorithm can be executed, and the number of Galois field operations required for executing the Euclidean algorithm is reduced. Under other conditions, execution of Euclidean mutual division is impossible, but an error exists in the received signal, that is, syndrome equation S (z) ≠ 0, and coefficient S 15 = 0 of syndrome equation S (z). It is extremely rare that this condition is established, so there is no practical problem.

【0043】以上のように、本実施の形態のユークリッ
ド互除方法は、シンドローム方程式S(z)の係数によ
りユークリッド互除の実行が可能であり、ユークリッド
互除の実行に必要なガロア体演算の回数が減るので、処
理速度の高速化に対応できる。
As described above, the Euclidean mutual division method of the present embodiment can execute Euclidean mutual division by the coefficient of the syndrome equation S (z), and reduces the number of Galois field operations required for performing Euclidean mutual division. Therefore, the processing speed can be increased.

【0044】なお、本実施の形態のユークリッド互除方
法は、シンドローム方程式S(z)=Sk-1k-1+S
k-2k-2+…+S0の係数Sk-1≠0の時、多項式A
(z)=S k-2k-1+Sk-3k-2+…+S0z、L
(z)=zなる多項式A(z),L(z)の初期設定を
行なうことで、シンドローム方程式S(z)の係数S
k-1≠0という条件のもとでのユークリッド互除の実行
を可能とし、その際に必要なガロア体演算の回数を減ら
すことを可能としたが、シンドローム方程式S(z)の
係数の条件は、上記の条件でなくともよい。例えば、シ
ンドローム方程式S(z)の係数に関わらず、多項式A
(z)=Sk-2k-1+Sk-3k-2+…+S0z、L
(z)=zなる多項式A(z),L(z)の初期設定を
行なっても、シンドローム方程式S(z)の係数Sk-1
≠0という条件のもとでのユークリッド互除の実行が可
能となり、その際に必要なガロア体演算の回数を減らす
ことが可能となる。
Note that the Euclidean mutual division method of the present embodiment
The method uses the syndrome equation S (z) = Sk-1zk-1+ S
k-2zk-2+ ... + S0Coefficient Sk-1When ≠ 0, polynomial A
(Z) = S k-2zk-1+ Sk-3zk-2+ ... + S0z, L
Initialization of the polynomials A (z) and L (z) such that (z) = z
By doing so, the coefficient S of the syndrome equation S (z)
k-1Execution of Euclidean algorithm under condition of ≠ 0
And reduce the number of Galois field operations required at that time.
But it is possible to use the syndrome equation S (z)
The condition of the coefficient need not be the above condition. For example,
Polynomial A regardless of the coefficients of the syndrome equation S (z)
(Z) = Sk-2zk-1+ Sk-3zk-2+ ... + S0z, L
Initialization of the polynomials A (z) and L (z) such that (z) = z
Even if it does, the coefficient S of the syndrome equation S (z)k-1
Euclidean algorithm can be executed under the condition of $ 0
And reduce the number of Galois field operations required at that time
It becomes possible.

【0045】本実施の形態のユークリッド互除方法は、
シンドローム方程式S(z)=Sk- 1k-1+Sk-2k-2
+…+S0から多項式A(z),B(z),L(z),
M(z)の初期設定を行ない、ガロア体演算を行なっ
て、誤り位置多項式を求めるユークリッド互除方法にお
いて、その初期設定方法が、多項式B(z)=Sk-1k
-1+Sk-2k-2+…+S0、M(z)=1、シンドロー
ム方程式S(z)の係数により、多項式A(z)=S
k-2k-1+Sk-3k-2+…+S0z、L(z)=zとお
く方法であるユークリッド互除方法とすることで、シン
ドローム方程式S(z)の係数により、ユークリッド互
除の実行を可能とし、ユークリッド互除の実行に必要な
ガロア体演算の回数を減らし、処理速度の高速化に対応
するものである。
The Euclidean mutual division method of this embodiment is as follows.
Syndrome equations S (z) = S k- 1 z k-1 + S k-2 z k-2
+... + S 0 from the polynomials A (z), B (z), L (z),
In the Euclidean algorithm for initializing M (z) and performing a Galois field operation to obtain an error locator polynomial, the initial setting method is a polynomial B (z) = S k−1 z k
−1 + S k−2 z k−2 +... + S 0 , M (z) = 1, and the polynomial A (z) = S by the coefficient of the syndrome equation S (z)
By using the Euclidean mutual division method, which is a method of setting k−2 z k−1 + S k−3 z k−2 +... + S 0 z and L (z) = z, by the coefficient of the syndrome equation S (z), The present invention enables the execution of Euclidean algorithm, reduces the number of Galois field operations required for the execution of Euclidean algorithm, and responds to an increase in processing speed.

【0046】(実施の形態2)図2は、本発明の実施の
形態2のユークリッド互除方法の初期設定方法を示すフ
ローチャート図である。
(Embodiment 2) FIG. 2 is a flowchart showing the initial setting method of the Euclidean mutual exclusion method according to Embodiment 2 of the present invention.

【0047】本実施の形態のユークリッド互除方法にお
いては、図2に示す初期設定方法に従って、リードソロ
モン符号化された信号に基づくシンドローム方程式S
(z)=S1515+S14K14+…+S0、(S15〜S0
はガロア体GF(28)上の元)から多項式A(z),
B(z),L(z),M(z)の初期設定を行ない、図
16に示す初期設定後の一般的なユークリッド互除方法
に従って、ガロア体演算を行ない、誤り位置多項式σ
(z)を求める。ガロア体演算では、多項式A(z),
B(z)の次数を減らす処理が行なわれる。多項式A
(z),B(z)のいずれかの次数が7次以下になれば
処理が終了する。
In the Euclidean mutual division method according to the present embodiment, the syndrome equation S based on the Reed-Solomon encoded signal is set according to the initialization method shown in FIG.
(Z) = S 15 z 15 + S 14 z K14 +... + S 0 , (S 15 to S 0
Is an element on the Galois field GF (2 8 )) from the polynomial A (z),
Initialization of B (z), L (z), and M (z) is performed, Galois field operation is performed according to a general Euclidean mutual division method after the initialization shown in FIG.
Find (z). In Galois field arithmetic, the polynomials A (z),
A process for reducing the order of B (z) is performed. Polynomial A
If the order of any of (z) and B (z) becomes equal to or lower than the seventh order, the process ends.

【0048】以下、図2および図16に示した本実施の
形態のユークリッド互除方法の演算例について説明す
る。
An example of the operation of the Euclidean mutual division method according to the present embodiment shown in FIGS. 2 and 16 will be described below.

【0049】先に示した(数4)は、本実施の形態のユ
ークリッド互除方法の第1の演算例でもある。本演算例
は、(数1)に示した従来例の第1の演算例と同じシン
ドローム方程式を用いた。即ち、シンドローム方程式S
(z)の係数S15〜S8≠0の場合である。
(Equation 4) shown above is also a first operation example of the Euclidean mutual division method of the present embodiment. This calculation example uses the same syndrome equation as the first calculation example of the conventional example shown in (Equation 1). That is, the syndrome equation S
Is the case of the coefficient S 15 ~S 8 ≠ 0 in (z).

【0050】本演算例の初期設定後の多項式A(z),
B(z),L(z),M(z)は、従来例の第1の演算
例の1回目のガロア体演算後の多項式A(z),B
(z),L(z),M(z)となっている。その結果、
誤り位置多項式σ(z)を得るまでのガロア体演算の回
数は、従来例の第1の演算例より1回少ない5回とな
る。
The polynomials A (z),
B (z), L (z), and M (z) are polynomials A (z), B after the first Galois field operation in the first operation example of the conventional example.
(Z), L (z), and M (z). as a result,
The number of Galois field operations required to obtain the error locator polynomial σ (z) is five, which is one less than the first operation example of the conventional example.

【0051】先に示した(数5)は、本実施の形態のユ
ークリッド互除方法の第2の演算例でもある。本演算例
は、(数2)に示した従来例の第2の演算例と同じシン
ドローム方程式を用いた。即ち、シンドローム方程式S
(z)の係数S15≠0かつS 14〜S8の内少なくとも一
つが0の場合である。
(Equation 5) shown above is a unit of this embodiment.
This is also the second operation example of the method for mutual algorithm. This calculation example
Is the same as the second operation example of the conventional example shown in (Equation 2).
The drome equation was used. That is, the syndrome equation S
Coefficient S of (z)Fifteen$ 0 and S 14~ S8At least one of
One is 0.

【0052】本演算例の初期設定後の多項式A(z),
B(z),L(z),M(z)は、従来例の第2の演算
例の1回目のガロア体演算後の多項式A(z),B
(z),L(z),M(z)となっている。その結果、
誤り位置多項式σ(z)を得るまでのガロア体演算の回
数は、従来例の第2の演算例より1回少ない3回とな
る。
The polynomial A (z),
B (z), L (z), and M (z) are polynomials A (z), B after the first Galois field operation in the second operation example of the conventional example.
(Z), L (z), and M (z). as a result,
The number of Galois field operations required to obtain the error locator polynomial σ (z) is three, one less than the second operation example of the conventional example.

【0053】(数6)に、本実施の形態のユークリッド
互除方法の第3の演算例を示す。本演算例は、(数3)
に示した従来例の第3の演算例と同じシンドローム方程
式を用いた。即ち、シンドローム方程式S(z)の係数
15〜Sn=0かつSn-1≠0の場合(n≦15;nは整
数)である。
(Equation 6) shows a third operation example of the Euclidean mutual division method according to the present embodiment. This calculation example is given by (Equation 3)
The same syndrome equation as in the third operation example of the conventional example shown in FIG. That is, this is the case where the coefficients S 15 to S n = 0 and S n-1 ≠ 0 of the syndrome equation S (z) (n ≦ 15; n is an integer).

【0054】[0054]

【数6】 (Equation 6)

【0055】本演算例の初期設定後の多項式A(z),
B(z),L(z),M(z)は、従来例の第3の演算
例の1回目のガロア体演算後の多項式A(z),B
(z),L(z),M(z)となっている。その結果、
誤り位置多項式σ(z)を得るまでのガロア体演算の回
数は、従来例の第3の演算例より1回少ない3回とな
る。
The polynomials A (z), after the initial setting in this operation example,
B (z), L (z), and M (z) are polynomials A (z), B after the first Galois field operation in the third operation example of the related art.
(Z), L (z), and M (z). as a result,
The number of Galois field computations until the error locator polynomial σ (z) is obtained is three, one less than the third computation example of the conventional example.

【0056】以上のように、本実施の形態のユークリッ
ド互除方法は、シンドローム方程式S(z)の係数に関
わらずユークリッド互除の実行が可能であり、ユークリ
ッド互除の実行に必要なガロア体演算の回数が減るの
で、処理速度の高速化に対応できる。
As described above, the Euclidean mutual division method of the present embodiment can execute Euclidean mutual division irrespective of the coefficient of the syndrome equation S (z), and performs the number of Galois field operations required for performing Euclidean mutual division. Therefore, the processing speed can be increased.

【0057】本実施の形態のユークリッド互除方法は、
シンドローム方程式S(z)=Sk- 1k-1+Sk-2k-2
+…+S0から多項式A(z),B(z),L(z),
M(z)の初期設定を行ない、ガロア体演算を行なっ
て、誤り位置多項式を求めるユークリッド互除方法にお
いて、その初期設定方法が、多項式B(z)=Sk-1k
-1+Sk-2k-2+…+S0、M(z)=1とし、S15
n=0かつSn-1≠0の時(n≦15;nは整数)、多
項式A(z)=Sn-2k-1+Sn-3k-2+…+S 0
k-n+1、L(z)=zk-n+1、それ以外の時、多項式A
(z)=Sk-2k-1+Sk-3k-2+…+S0z、L
(z)=zとおく方法であるユークリッド互除方法とす
ることで、シンドローム方程式S(z)の係数に関わら
ずユークリッド互除の実行を可能とし、ユークリッド互
除の実行に必要なガロア体演算の回数を減らし、処理速
度の高速化に対応するものである。
The Euclidean mutual division method of this embodiment is as follows.
Syndrome equation S (z) = Sk- 1zk-1+ Sk-2zk-2
+ ... + S0From the polynomials A (z), B (z), L (z),
Initialize M (z) and perform Galois field arithmetic
The Euclidean algorithm for finding the error locator polynomial
And the initial setting method is a polynomial B (z) = Sk-1zk
-1+ Sk-2zk-2+ ... + S0, M (z) = 1 and SFifteen~
Sn= 0 and Sn-1When ≠ 0 (n ≦ 15; n is an integer),
Term A (z) = Sn-2zk-1+ Sn-3zk-2+ ... + S 0z
k-n + 1, L (z) = zk-n + 1, Otherwise, the polynomial A
(Z) = Sk-2zk-1+ Sk-3zk-2+ ... + S0z, L
(Z) = z
By doing so, regardless of the coefficient of the syndrome equation S (z),
Enables the execution of Euclidean mutual
Reduces the number of Galois field operations required to perform
This corresponds to a higher speed.

【0058】(実施の形態3)図3は、本発明の実施の
形態3のユークリッド互除方法の初期設定方法を示すフ
ローチャート図である。
(Embodiment 3) FIG. 3 is a flowchart showing an initial setting method of the Euclidean mutual exclusion method according to Embodiment 3 of the present invention.

【0059】本実施の形態のユークリッド互除方法にお
いては、図3に示す初期設定方法に従って、リードソロ
モン符号化された信号に基づくシンドローム方程式S
(z)=S1515+S14K14+…+S0、(S15〜S0
はガロア体GF(28)上の元)から多項式A(z),
B(z),L(z),M(z)の初期設定を行ない、図
16に示す初期設定後の一般的なユークリッド互除方法
に従って、ガロア体演算を行ない、誤り位置多項式σ
(z)を求める。ガロア体演算では、多項式A(z),
B(z)の次数を減らす処理が行なわれる。多項式A
(z),B(z)のいずれかの次数が7次以下になれば
処理が終了する。
In the Euclidean mutual division method according to the present embodiment, the syndrome equation S based on the Reed-Solomon encoded signal is set in accordance with the initialization method shown in FIG.
(Z) = S 15 z 15 + S 14 z K14 +... + S 0 , (S 15 to S 0
Is an element on the Galois field GF (2 8 )) from the polynomial A (z),
Initialization of B (z), L (z), and M (z) is performed, Galois field operation is performed according to a general Euclidean mutual division method after the initialization shown in FIG.
Find (z). In Galois field arithmetic, the polynomials A (z),
A process for reducing the order of B (z) is performed. Polynomial A
If the order of any of (z) and B (z) becomes equal to or lower than the seventh order, the process ends.

【0060】以下、図3および図16に示した本実施の
形態のユークリッド互除方法の演算例について説明す
る。
An example of the operation of the Euclidean mutual division method according to the present embodiment shown in FIGS. 3 and 16 will be described below.

【0061】先に示した(数4)は、本実施の形態のユ
ークリッド互除方法の第1の演算例でもある。本演算例
は、(数1)に示した従来例の第1の演算例と同じシン
ドローム方程式を用いた。即ち、シンドローム方程式S
(z)の係数S15〜S8≠0の場合である。
(Equation 4) shown above is also a first operation example of the Euclidean mutual division method of the present embodiment. This calculation example uses the same syndrome equation as the first calculation example of the conventional example shown in (Equation 1). That is, the syndrome equation S
Is the case of the coefficient S 15 ~S 8 ≠ 0 in (z).

【0062】本演算例の初期設定後の多項式A(z),
B(z),L(z),M(z)は、従来例の第1の演算
例の1回目のガロア体演算後の多項式A(z),B
(z),L(z),M(z)となっている。その結果、
誤り位置多項式σ(z)を得るまでのガロア体演算の回
数は、従来例の第1の演算例より1回少ない5回とな
る。
The polynomials A (z),
B (z), L (z), and M (z) are polynomials A (z), B after the first Galois field operation in the first operation example of the conventional example.
(Z), L (z), and M (z). as a result,
The number of Galois field operations required to obtain the error locator polynomial σ (z) is five, which is one less than the first operation example of the conventional example.

【0063】先に示した(数5)は、本実施の形態のユ
ークリッド互除方法の第2の演算例でもある。本演算例
は、(数2)に示した従来例の第2の演算例と同じシン
ドローム方程式を用いた。即ち、シンドローム方程式S
(z)の係数S15≠0かつS 14〜S8の内少なくとも一
つが0の場合である。
(Equation 5) shown above is the unit of the present embodiment.
This is also the second operation example of the method for mutual algorithm. This calculation example
Is the same as the second operation example of the conventional example shown in (Equation 2).
The drome equation was used. That is, the syndrome equation S
Coefficient S of (z)Fifteen$ 0 and S 14~ S8At least one of
One is 0.

【0064】本演算例の初期設定後の多項式A(z),
B(z),L(z),M(z)は、従来例の第2の演算
例の1回目のガロア体演算後の多項式A(z),B
(z),L(z),M(z)となっている。その結果、
誤り位置多項式σ(z)を得るまでのガロア体演算の回
数は、従来例の第2の演算例より1回少ない3回とな
る。
The polynomials A (z),
B (z), L (z), and M (z) are polynomials A (z), B after the first Galois field operation in the second operation example of the conventional example.
(Z), L (z), and M (z). as a result,
The number of Galois field operations required to obtain the error locator polynomial σ (z) is three, one less than the second operation example of the conventional example.

【0065】次に、先に示した(数3)として、本実施
の形態のユークリッド互除方法の第3の演算例を示す。
本演算例は、(数3)に示した従来例の第3の演算例と
同じシンドローム方程式を用いた。即ち、シンドローム
方程式S(z)の係数S15〜Sn=0かつSn-1≠0の場
合(n≦15;nは整数)である。本演算例は、従来例
の第3の演算例と全く同じである。その結果、誤り位置
多項式σ(z)を得るまでのガロア体演算の回数は、従
来例の第3の演算例と全く同じとなる。
Next, as (Equation 3) shown above, a third example of the Euclidean mutual division method of this embodiment will be described.
This calculation example uses the same syndrome equation as the third calculation example of the conventional example shown in (Equation 3). That is, this is the case where the coefficients S 15 to S n = 0 and S n-1 ≠ 0 of the syndrome equation S (z) (n ≦ 15; n is an integer). This calculation example is exactly the same as the third calculation example of the conventional example. As a result, the number of Galois field operations until the error locator polynomial σ (z) is obtained is exactly the same as in the third operation example of the conventional example.

【0066】このように、本実施の形態のユークリッド
互除方法は、シンドロームの形態により、ガロア体演算
の回数が従来例と同じ場合と減る場合とがある。
As described above, in the Euclidean mutual division method according to the present embodiment, the number of Galois field operations may be smaller than that in the conventional example depending on the form of the syndrome.

【0067】しかしながら、ガロア体演算の回数が従来
例と同じ場合というのは、第3の演算例のようにシンド
ローム方程式S(z)の係数S15〜Sn=0かつSn-1
0の場合(n≦15;nは整数)という特別な場合だけ
であり、それ以外の場合即ちS15≠0の場合は、第1の
演算例および第2の演算例で示したようにガロア体演算
の回数が減る。
[0067] However, because same as the number of conventional example of Galois field operation, the third coefficient S 15 to S n = 0 and S n-1 ≠ syndrome equations S as in operation example (z)
0 (n ≦ 15; n is an integer) only, and in other cases, ie, S 15 ≠ 0, Galois as shown in the first and second operation examples. The number of field operations is reduced.

【0068】以上のように、本実施の形態のユークリッ
ド互除方法は、シンドローム方程式S(z)の係数に関
わらずユークリッド互除の実行が可能であり、シンドロ
ーム方程式S(z)の係数によりユークリッド互除の実
行に必要なガロア体演算の回数が減るので、処理速度の
高速化に対応できる。
As described above, the Euclidean mutual division method of the present embodiment can execute the Euclidean mutual division regardless of the coefficient of the syndrome equation S (z), and can perform the Euclidean mutual division by the coefficient of the syndrome equation S (z). Since the number of Galois field operations required for execution is reduced, the processing speed can be increased.

【0069】なお、本実施の形態のユークリッド互除方
法は、シンドローム方程式S(z)=Sk-1k-1+S
k-2k-2+…+S0の係数Sk-1=0の時、多項式A
(z)=z k、L(z)=1、それ以外の時、多項式A
(z)=Sk-2k-1+Sk-3k-2+…+S0z、L
(z)=zなる多項式A(z),L(z)の初期設定を
行なうことで、シンドローム方程式S(z)の係数S
k-1≠0という条件のもとでのユークリッド互除の実行
に必要なガロア体演算の回数を減らすことを可能とした
が、シンドローム方程式S(z)の係数の条件は、上記
の条件でなくともよい。例えば、シンドローム方程式S
(z)の係数Sk-1〜Sk/2の少なくとも一つが0の時、
多項式A(z)=zk、L(z)=1、それ以外の時、
多項式、A(z)=Sk -2k-1+Sk-3k-2+…+S0
z、L(z)=zなる多項式A(z),L(z)の初期
設定を行なえば、シンドローム方程式S(z)の係数S
k-1〜Sk/2≠0という条件のもとでのユークリッド互除
の実行に必要なガロア体演算の回数を減らすことが可能
となる。
The Euclidean mutual division method of the present embodiment
The method uses the syndrome equation S (z) = Sk-1zk-1+ S
k-2zk-2+ ... + S0Coefficient Sk-1= 0, polynomial A
(Z) = z k, L (z) = 1, otherwise, the polynomial A
(Z) = Sk-2zk-1+ Sk-3zk-2+ ... + S0z, L
Initialization of the polynomials A (z) and L (z) such that (z) = z
By doing so, the coefficient S of the syndrome equation S (z)
k-1Execution of Euclidean algorithm under condition of ≠ 0
Reduced the number of Galois field operations required for
However, the condition of the coefficient of the syndrome equation S (z) is
The condition does not have to be satisfied. For example, the syndrome equation S
Coefficient S of (z)k-1~ Sk / 2When at least one of is 0,
Polynomial A (z) = zk, L (z) = 1, otherwise,
Polynomial, A (z) = Sk -2zk-1+ Sk-3zk-2+ ... + S0
z, L (z) = Initial polynomials A (z), L (z) such that z
After setting, the coefficient S of the syndrome equation S (z)
k-1~ Sk / 2Euclidean exchange under the condition of ≠ 0
Can reduce the number of Galois field operations required to execute
Becomes

【0070】本実施の形態のユークリッド互除方法は、
シンドローム方程式S(z)=Sk- 1k-1+Sk-2k-2
+…+S0から多項式A(z),B(z),L(z),
M(z)の初期設定を行ない、ガロア体演算を行なっ
て、誤り位置多項式を求めるユークリッド互除方法にお
いて、その初期設定方法が、多項式B(z)=Sk-1k
-1+Sk-2k-2+…+S0、M(z)=1、シンドロー
ム方程式S(z)の係数により、多項式A(z)=S
k-2k-1+Sk-3k-2+…+S0z、L(z)=zとお
く方法であるユークリッド互除方法であり、初期設定方
法が、少なくとも、シンドローム方程式S(z)の係数
k-1=0の時、多項式A(z)=zk、L(z)=1、
とおく方法であることを特徴とするユークリッド互除方
法とすることで、シンドローム方程式S(z)の係数に
関わらずユークリッド互除の実行を可能とし、シンドロ
ーム方程式S(z)の係数により、ユークリッド互除の
実行に必要なガロア体演算の回数を減らし、処理速度の
高速化に対応するものである。
The Euclidean mutual division method of the present embodiment is as follows.
Syndrome equations S (z) = S k- 1 z k-1 + S k-2 z k-2
+... + S 0 from the polynomials A (z), B (z), L (z),
In the Euclidean algorithm for initializing M (z) and performing a Galois field operation to obtain an error locator polynomial, the initial setting method is a polynomial B (z) = S k−1 z k
−1 + S k−2 z k−2 +... + S 0 , M (z) = 1, and the polynomial A (z) = S by the coefficient of the syndrome equation S (z)
k−2 z k−1 + S k−3 z k−2 +... + S 0 z, which is a Euclidean mutual division method in which L (z) = z, and the initial setting method is at least the syndrome equation S (z when the coefficient S k-1 = 0) of the polynomial a (z) = z k, L (z) = 1,
The Euclidean mutual exchange method is characterized in that the Euclidean mutual exchange method can be executed irrespective of the coefficient of the syndrome equation S (z), and the Euclidean mutual exchange method can be performed by the coefficient of the syndrome equation S (z). The number of Galois field operations required for execution is reduced, and the processing speed is increased.

【0071】(実施の形態4)図4は、本発明の実施の
形態4のユークリッド互除装置を示すブロック図であ
る。
(Embodiment 4) FIG. 4 is a block diagram showing a Euclidean mutual exchange apparatus according to Embodiment 4 of the present invention.

【0072】図4において、0〜15は、シンドローム
方程式S(z)=S1515+S14 K14+…+S0、(S
15〜S0はガロア体GF(28)上の元)の係数S0〜S
15を示すシンドロームである。17は、監視信号であ
る。50は、シンドローム15を入力し、シンドローム
15が値”0”なら監視信号17を0,それ以外なら1
とし、監視信号17を出力するシンドローム監視装置で
ある。60は、初期設定終了後、ガロア体演算を行なう
ガロア体演算装置である。
In FIG. 4, 0 to 15 indicate syndromes.
Equation S (z) = SFifteenzFifteen+ S14z K14+ ... + S0, (S
Fifteen~ S0Is the Galois field GF (28) The coefficient S of the element above0~ S
FifteenIt is a syndrome showing. 17 is a monitoring signal
You. 50 inputs the syndrome 15, and the syndrome
If the value 15 is "0", the monitoring signal 17 is set to 0;
And a syndrome monitoring device that outputs a monitoring signal 17
is there. Numeral 60 performs Galois field arithmetic after initialization is completed.
Galois field arithmetic unit.

【0073】100は、レジスタ101〜116で構成
され、初期設定時に、監視信号17が1ならば、レジス
タ101に値”0”、レジスタ102〜116に、それ
ぞれシンドローム0〜14を入力し、初期設定終了後、
ガロア体演算装置60との間でデータの入出力を行なう
多項式記憶装置である。
Reference numeral 100 denotes registers 101 to 116. When the monitoring signal 17 is 1 at the time of initialization, a value "0" is input to the register 101 and syndromes 0 to 14 are input to the registers 102 to 116, respectively. After setting,
This is a polynomial storage device that inputs and outputs data to and from the Galois field arithmetic unit 60.

【0074】120は、レジスタ121〜136で構成
され、初期設定時に、レジスタ121〜136に、それ
ぞれシンドローム0〜15を入力し、初期設定終了後、
ガロア体演算装置60との間でデータの入出力を行なう
多項式記憶装置である。
Reference numeral 120 denotes registers 121 to 136. At the time of initialization, syndromes 0 to 15 are input to the registers 121 to 136, respectively.
This is a polynomial storage device that inputs and outputs data to and from the Galois field arithmetic unit 60.

【0075】140は、レジスタ141〜149で構成
され、初期設定時に、監視信号17が1ならば、レジス
タ141,142,143〜149に、それぞれ、値”
0”,”1”,”0”を入力し、初期設定終了後、ガロ
ア体演算装置60との間でデータの入出力を行なう多項
式記憶装置である。
Reference numeral 140 denotes registers 141 to 149. If the monitoring signal 17 is 1 at the time of initial setting, the values 141 and 142 are respectively stored in the registers 141, 142 and 143 to 149.
This is a polynomial storage device that inputs 0 ”,“ 1 ”, and“ 0 ”, and inputs and outputs data to and from the Galois field arithmetic unit 60 after initialization is completed.

【0076】160は、レジスタ161〜169で構成
され、初期設定時に、レジスタ161,162〜169
に、それぞれ、値”1”,”0”を入力し、初期設定終
了後、ガロア体演算装置60との間でデータの入出力を
行なう多項式記憶装置である。
Reference numeral 160 denotes a register 161 to 169. At the time of initial setting, the registers 160, 162 to 169
These are polynomial storage devices for inputting values "1" and "0", respectively, and inputting / outputting data to / from the Galois field arithmetic unit 60 after completion of initialization.

【0077】このように構成された本実施の形態のユー
クリッド互除装置の動作について説明する。
The operation of the thus configured Euclidean mutual exclusion apparatus of this embodiment will be described.

【0078】本実施の形態のユークリッド互除装置は、
シンドローム方程式S(z)=S1515+S14K14
…+S0を入力とする。初期設定時、多項式記憶装置1
20,160に、それぞれ、多項式B(z)=S1515
+S14K14+…+S0、M(z)=1を格納する。シン
ドローム方程式S(z)の係数S15≠0なら、多項式記
憶装置100,140に、それぞれ、多項式A(z)=
1415+S1314+…+S0z、L(z)=zを格納
する。
The Euclidean mutual exchange apparatus according to the present embodiment
Syndrome equations S (z) = S 15 z 15 + S 14 z K14 +
... + the S 0 and input. At initial setting, polynomial storage device 1
20 and 160, respectively, the polynomial B (z) = S 15 z 15
+ S 14 z K14 +... + S 0 , and M (z) = 1 are stored. If the coefficient S 15 ≠ 0 of the syndrome equation S (z), the polynomial storage devices 100 and 140 store the polynomial A (z) =
S 14 z 15 + S 13 z 14 +... + S 0 z and L (z) = z are stored.

【0079】多項式記憶装置100,120,140,
160は、多項式の係数を格納することで、それぞれ、
多項式A(z),B(z),L(z),M(z)を格納
する。それぞれ、レジスタ101,121,141,1
61が多項式A(z),B(z),L(z),M(z)
の0次の項の位置である。
The polynomial storage devices 100, 120, 140,
160 stores the coefficients of the polynomial,
The polynomials A (z), B (z), L (z), and M (z) are stored. Registers 101, 121, 141, 1 respectively
61 is a polynomial A (z), B (z), L (z), M (z)
Is the position of the zero-order term of

【0080】初期設定終了後、多項式記憶装置100,
120,140,160とガロア体演算装置60との間
でデータの入出力が行なわれ、ガロア体演算装置60
は、複数回のガロア体演算を行なう。
After the initialization, the polynomial storage device 100,
Data is input and output between the Galois field arithmetic unit 120 and the Galois field arithmetic unit 60.
Performs Galois field arithmetic multiple times.

【0081】その結果、多項式記憶装置140または1
60に誤り位置多項式σ(z)が格納される。
As a result, the polynomial storage device 140 or 1
60 stores the error locator polynomial σ (z).

【0082】本実施の形態のユークリッド互除装置は、
その初期設定方法に特徴があるので、以下では、演算例
を示して、初期設定時の動作について詳細に説明する。
The Euclidean mutual exchange device of the present embodiment
Since the initial setting method has a feature, an operation at the time of the initial setting will be described in detail below with reference to a calculation example.

【0083】本実施の形態のユークリッド互除装置の第
1の演算例について説明する。本演算例は、(数1)に
示した従来例のユークリッド互除方法の第1の演算例と
同じシンドローム方程式を用いた。即ち、シンドローム
方程式S(z)の係数S15〜S8≠0の場合である。
A first operation example of the Euclidean algorithm according to the present embodiment will be described. This operation example uses the same syndrome equation as the first operation example of the conventional Euclidean mutual division method shown in (Equation 1). That is, this is the case where the coefficients S 15 to S 8 ≠ 0 of the syndrome equation S (z).

【0084】シンドローム15が値”85”であるの
で、シンドローム監視装置50は、監視信号17として
1を出力する。多項式記憶装置120は、レジスタ12
1〜136に、それぞれシンドローム0〜15を入力
し、多項式記憶装置160は、レジスタ161,162
〜169に、それぞれ、値”1”,”0”を入力する。
監視信号17が1であるので、多項式記憶装置100
は、レジスタ101,102〜116に、それぞれ、
値”0”,シンドローム0〜14を入力し、多項式記憶
装置140は、レジスタ141,142,143〜14
9に、それぞれ、値”0”,”1”,”0”を入力す
る。この時の多項式記憶装置100,120,140,
160の状態を図5に示す。以上で初期設定を終了す
る。
Since the syndrome 15 has the value “85”, the syndrome monitoring device 50 outputs 1 as the monitoring signal 17. The polynomial storage device 120 stores the register 12
Syndromes 0 to 15 are input to 1 to 136, respectively, and the polynomial storage device 160 stores the registers 161, 162
To 169, values "1" and "0" are input, respectively.
Since the monitoring signal 17 is 1, the polynomial storage device 100
Are stored in the registers 101, 102 to 116, respectively.
The value “0” and the syndromes 0 to 14 are input, and the polynomial storage device 140 stores the registers 141, 142, 143 to 14.
9, values "0", "1", and "0" are input, respectively. At this time, the polynomial storage devices 100, 120, 140,
The state at 160 is shown in FIG. This completes the initial setting.

【0085】本演算例の初期設定後の多項式記憶装置1
00,120,140,160の格納する多項式A
(z),B(z),L(z),M(z)は、従来例の方
法の第1の演算例の1回目のガロア体演算後の多項式A
(z),B(z),L(z),M(z)となっている。
その結果、誤り位置多項式σ(z)を得るまでのガロア
体演算の回数は、従来例の第1の演算例より1回少ない
5回となる。
The polynomial storage device 1 after the initial setting of this operation example
Polynomial A stored in 00, 120, 140, 160
(Z), B (z), L (z), and M (z) are polynomials A after the first Galois field operation in the first operation example of the conventional method.
(Z), B (z), L (z), M (z).
As a result, the number of Galois field operations required to obtain the error locator polynomial σ (z) is five, which is one less than the first operation example of the conventional example.

【0086】本実施の形態のユークリッド互除装置の第
2の演算例について説明する。本演算例は、(数2)に
示した従来例のユークリッド互除方法の第2の演算例と
同じシンドローム方程式を用いた。即ち、シンドローム
方程式S(z)の係数S15≠0かつS14〜S8の内少な
くとも一つが0の場合である。
A second operation example of the Euclidean algorithm device of the present embodiment will be described. In this calculation example, the same syndrome equation as that of the second calculation example of the conventional Euclidean mutual division method shown in (Equation 2) is used. That is, this is a case where the coefficient S 15 ≠ 0 of the syndrome equation S (z) and at least one of S 14 to S 8 is 0.

【0087】シンドローム15が値”9F”であるの
で、シンドローム監視装置50は、監視信号17として
1を出力する。多項式記憶装置120は、レジスタ12
1〜136に、それぞれ、シンドローム0〜15を入力
し、多項式記憶装置160は、レジスタ161,162
〜169に、それぞれ、値”1”,”0”を入力する。
監視信号17が1であるので、多項式記憶装置100
は、レジスタ101,102〜116に、それぞれ、
値”0”,シンドローム0〜14を入力し、レジスタ1
41,142,143〜149に、それぞれ、値”
0”,”1”,”0”を入力する。この時の多項式記憶
装置100,120,140,160の状態を図6に示
す。以上で初期設定を終了する。
Since the value of the syndrome 15 is “9F”, the syndrome monitoring device 50 outputs 1 as the monitoring signal 17. The polynomial storage device 120 stores the register 12
Syndromes 0 to 15 are input to 1 to 136, respectively, and the polynomial storage device 160 stores the registers 161, 162
To 169, values "1" and "0" are input, respectively.
Since the monitoring signal 17 is 1, the polynomial storage device 100
Are stored in the registers 101, 102 to 116, respectively.
Input value “0” and syndromes 0 to 14
41, 142, and 143 to 149, respectively.
0 "," 1 ", and" 0 "are input, and the states of the polynomial storage devices 100, 120, 140, and 160 at this time are shown in Fig. 6. The initialization is completed.

【0088】本演算例の初期設定後の多項式記憶装置1
00,120,140,160の格納する多項式A
(z),B(z),L(z),M(z)は、従来例のユ
ークリッド互除方法の第2の演算例の1回目のガロア体
演算後の多項式A(z),B(z),L(z),M
(z)となっている。その結果、誤り位置多項式σ
(z)を得るまでのガロア体演算の回数は、従来例の第
2の演算例より1回少ない3回となる。
The polynomial storage device 1 after the initial setting of this operation example
Polynomial A stored in 00, 120, 140, 160
(Z), B (z), L (z), M (z) are polynomials A (z), B (z) after the first Galois field operation in the second operation example of the conventional Euclidean algorithm. ), L (z), M
(Z). As a result, the error locator polynomial σ
The number of Galois field operations until (z) is obtained is three, one less than the second operation example of the conventional example.

【0089】このように、本実施の形態のユークリッド
互除装置は、シンドローム方程式S(z)の係数S15
0という条件のもとで、ユークリッド互除の実行が可能
であり、ユークリッド互除の実行に必要なガロア体演算
の回数が減る。それ以外の条件では、ユークリッド互除
の実行が不可能であるが、受信信号に誤りが存在し、即
ち、シンドローム方程式S(z)≠0であり、シンドロ
ーム方程式S(z)の係数S15=0という条件になるこ
とは、確立的に極めてまれなので、実用上問題ない。
As described above, the Euclidean mutual division apparatus according to the present embodiment uses the coefficient S 15 ≠ of the syndrome equation S (z).
Under the condition of 0, the Euclidean algorithm can be executed, and the number of Galois field operations required for executing the Euclidean algorithm is reduced. Under other conditions, execution of Euclidean mutual division is impossible, but an error exists in the received signal, that is, syndrome equation S (z) ≠ 0, and coefficient S 15 = 0 of syndrome equation S (z). It is extremely rare that this condition is established, so there is no practical problem.

【0090】以上のように、本実施の形態のユークリッ
ド互除装置は、シンドローム方程式S(z)の係数によ
り、ユークリッド互除の実行が可能であり、ユークリッ
ド互除の実行に必要なガロア体演算の回数が減るので、
処理速度の高速化に対応できる。
As described above, the Euclidean algorithm according to the present embodiment can execute the Euclidean algorithm by the coefficient of the syndrome equation S (z), and the number of Galois field operations required to execute the Euclidean algorithm is reduced. Because it decreases
It can respond to high processing speed.

【0091】なお、本実施の形態のユークリッド互除装
置は、シンドローム方程式S(z)=Sk-1k-1+S
k-2k-2+…+S0の係数Sk-1≠0の時、多項式記憶装
置Aに、多項式A(z)=Sk-2k-1+Sk-3k-2+…
+S0z、多項式記憶装置Lに、多項式L(z)=z、
を格納することで、シンドローム方程式S(z)の係数
k-1≠0という条件のもとでのユークリッド互除の実
行を可能とし、その際に必要なガロア体演算の回数を減
らすことを可能としたが、シンドローム方程式S(z)
の係数の条件は、上記の条件でなくともよい。例えば、
シンドローム方程式S(z)の係数に関わらず、多項式
記憶装置Aに、多項式A(z)=Sk-2k -1+Sk-3
k-2+…+S0z、多項式記憶装置Lに、多項式L(z)
=zを格納することで、多項式記憶装置A,Lの初期設
定を行なっても、シンドローム方程式S(z)の係数S
k-1≠0という条件のもとでのユークリッド互除の実行
が可能となり、その際に必要なガロア体演算の回数を減
らすことが可能となる。
The Euclidean algorithm according to the present embodiment uses the syndrome equation S (z) = S k−1 z k−1 + S
When the coefficient S k−1 ≠ 0 of k−2 z k−2 +... + S 0 , the polynomial storage device A stores the polynomial A (z) = S k−2 z k−1 + S k−3 z k−2 + ...
+ S 0 z, the polynomial storage device L stores the polynomial L (z) = z,
, The Euclidean algorithm can be executed under the condition that the coefficient S k-1の 0 of the syndrome equation S (z), and the number of Galois field operations required at that time can be reduced. But the syndrome equation S (z)
The condition of the coefficient may not be the above condition. For example,
Regardless of the coefficients of the syndrome equation S (z), the polynomial storage device A stores the polynomial A (z) = S k−2 z k −1 + S k−3 z
k−2 +... + S 0 z, the polynomial L (z) is stored in the polynomial storage device L.
= Z, the coefficient S of the syndrome equation S (z) can be obtained even when the polynomial storage devices A and L are initialized.
The Euclidean algorithm can be executed under the condition of k-1 ≠ 0, and the number of Galois field operations required at that time can be reduced.

【0092】本実施の形態のユークリッド互除装置は、
シンドローム方程式S(z)=Sk- 1k-1+Sk-2k-2
+…+S0を入力とし、多項式記憶装置A,B,L,M
と、ガロア体演算装置とを備え、シンドローム方程式か
ら多項式記憶装置A,B,L,Mの初期設定を行ない、
多項式記憶装置A,B,L,Mとガロア体演算装置とを
用いてガロア体演算を行ない、誤り位置多項式を求める
ユークリッド互除装置において、初期設定時に、多項式
記憶装置Bに、多項式B(z)=Sk-1k-1+Sk-2
k-2+…+S0、多項式記憶装置Mに、多項式M(z)=
1を格納し、シンドローム方程式S(z)の係数によ
り、多項式記憶装置Aに、多項式A(z)=Sk-2k-1
+Sk-3k-2+…+S0z、多項式記憶装置Lに、多項
式L(z)=zを格納することを特徴とするユークリッ
ド互除装置とすることで、シンドローム方程式S(z)
の係数によりユークリッド互除の実行を可能とし、ユー
クリッド互除の実行に必要なガロア体演算の回数を減ら
し、処理速度の高速化に対応するものである。
The Euclidean mutual exchange apparatus of the present embodiment
Syndrome equations S (z) = S k- 1 z k-1 + S k-2 z k-2
+... + S 0 as inputs, and polynomial storage devices A, B, L, M
And a Galois field arithmetic unit, and initializes the polynomial storage devices A, B, L, and M from the syndrome equations,
In a Euclidean mutual elimination device that performs Galois field arithmetic using the polynomial storage devices A, B, L, and M and a Galois field arithmetic device to obtain an error locator polynomial, the polynomial expression B (z) is stored in the polynomial storage device B during initialization. = S k-1 z k-1 + S k-2 z
k−2 +... + S 0 , the polynomial storage device M stores the polynomial M (z) =
1 is stored in the polynomial storage device A according to the coefficients of the syndrome equation S (z), and the polynomial A (z) = S k−2 z k−1
+ S k−3 z k−2 +... + S 0 z, a polynomial storage device L stores a polynomial L (z) = z, and the syndrome equation S (z)
The execution of the Euclidean algorithm can be performed by the coefficient of, the number of Galois field operations required for the execution of the Euclidean algorithm can be reduced, and the processing speed can be increased.

【0093】(実施の形態5)図7は、本発明の実施の
形態5のユークリッド互除装置を示すブロック図であ
る。
(Embodiment 5) FIG. 7 is a block diagram showing a Euclidean mutual exchange apparatus according to Embodiment 5 of the present invention.

【0094】実施の形態5のユークリッド互除装置は、
シンドローム0〜15、監視信号17、ガロア体演算装
置60に関しては、図4に示した実施の形態4のユーク
リッド互除装置と全く同じ構成であるので、説明を省略
する。
The Euclidean mutual exchange device according to the fifth embodiment includes:
The syndromes 0 to 15, the monitoring signal 17, and the Galois field arithmetic unit 60 have exactly the same configuration as that of the Euclidean mutual exclusion device of the fourth embodiment shown in FIG.

【0095】図7において、18は、B(z)次数であ
る。19は、B(z)最高次項係数である。51は、B
(z)最高次項係数19を入力し、B(z)最高次項係
数19が値”0”なら監視信号17を0,それ以外なら
1とし、監視信号17を出力するシンドローム監視装置
である。
In FIG. 7, reference numeral 18 denotes a B (z) order. 19 is the B (z) highest order coefficient. 51 is B
(Z) This is a syndrome monitoring device that inputs the highest-order coefficient 19, sets the monitor signal 17 to 0 if the B (z) highest-order coefficient 19 is a value “0”, and sets the monitor signal 17 to 1 otherwise, and outputs the monitor signal 17.

【0096】200は、レジスタ201〜206で構成
され、初期設定時に、レジスタ201〜216に、それ
ぞれ、値”0”,シンドローム0〜14を入力し、監視
信号17が0ならば、監視信号17が1になるまでレジ
スタ201〜216の格納するデータを右方向(番号の
大きい方向)へシフトし、初期設定終了後、ガロア体演
算装置60との間でデータの入出力を行なう多項式記憶
装置である。
Reference numeral 200 designates registers 201 to 206. At the time of initial setting, values "0" and syndromes 0 to 14 are inputted to the registers 201 to 216, respectively. The data stored in the registers 201 to 216 is shifted to the right (in the direction of larger numbers) until the value becomes 1, and after the initialization is completed, a polynomial storage device that inputs and outputs data to and from the Galois field arithmetic unit 60 is there.

【0097】220は、レジスタ221〜236とレジ
スタ239と反転装置238とを備え、レジスタ236
の格納するデータをB(z)最高次項係数19としてシ
ンドローム監視装置51へ出力し、レジスタ239の格
納するデータを反転装置238で反転して前記B(z)
次数18として出力し、初期設定時に、レジスタ221
〜236,239に、それぞれ、シンドローム0〜1
5,値”0”を入力し、監視信号17が0ならば、監視
信号17が1になるまでレジスタ201〜216の格納
するデータを右方向(番号の大きい方向)へシフトし、
シフトした回数分、レジスタ219の格納する値をイン
クリメントし、初期設定終了後、ガロア体演算装置60
との間でデータの入出力を行なう多項式記憶装置であ
る。
Reference numeral 220 is provided with registers 221 to 236, a register 239, and an inverting device 238.
Is output to the syndrome monitoring device 51 as the B (z) highest order coefficient 19, and the data stored in the register 239 is inverted by the inverting device 238 to obtain the B (z).
Output as order 18 and register 221 at the time of initial setting.
~ 236,239, respectively, syndrome 0 ~ 1
5, if the value "0" is input and the monitoring signal 17 is 0, the data stored in the registers 201 to 216 is shifted rightward (in the direction of larger numbers) until the monitoring signal 17 becomes 1;
The value stored in the register 219 is incremented by the number of shifts, and after the initialization is completed, the Galois field arithmetic unit 60
And a polynomial storage device for inputting and outputting data to and from the storage device.

【0098】240は、レジスタ241〜249で構成
され、初期設定時に、レジスタ241,242,243
〜249に、それぞれ、値”0”,”1”,”0”を入
力し、監視信号17が0ならば、監視信号17が1にな
るまでレジスタ241〜249の格納するデータを右方
向(番号の大きい方向)へシフトし、初期設定終了後、
ガロア体演算装置60との間でデータの入出力を行なう
多項式記憶装置である。
Reference numeral 240 designates registers 241 to 249, and the registers 241, 242, 243
To 249, the values "0", "1", and "0" are input. If the monitoring signal 17 is 0, the data stored in the registers 241 to 249 is shifted to the right (until the monitoring signal 17 becomes 1). To the larger number), and after the initial setting,
This is a polynomial storage device that inputs and outputs data to and from the Galois field arithmetic unit 60.

【0099】260は、レジスタ261〜269で構成
され、初期設定時に、レジスタ261,262〜269
に、それぞれ、値”1”,”0”を入力し、監視信号1
7が0ならば、監視信号17が1になるまでレジスタ2
61〜269の格納するデータを右方向(番号の大きい
方向)へシフトし、初期設定終了後、ガロア体演算装置
60との間でデータの入出力を行なう多項式記憶装置で
ある。
Reference numeral 260 designates registers 261 to 269, and the registers 261 and 262 to 269
, The values “1” and “0” are input to the
If 7 is 0, register 2 is used until monitor signal 17 becomes 1.
This is a polynomial storage device that shifts the data stored in 61 to 269 to the right (in the direction of larger numbers), and inputs and outputs data to and from the Galois field arithmetic unit 60 after the initialization is completed.

【0100】このように構成された本実施の形態のユー
クリッド互除装置の動作について説明する。
The operation of the thus configured Euclidean mutual exclusion apparatus of the present embodiment will be described.

【0101】本実施の形態のユークリッド互除装置は、
シンドローム方程式S(z)=S1515+S14K14
…+S0、(S15〜S0はガロア体GF(28)上の元)
を入力とする。初期設定時、多項式記憶装置220,2
60に、それぞれ、多項式B(z)=S1515+S14
K14+…+S0、M(z)=1を格納する。シンドローム
方程式S(z)の係数S15〜Sn=0かつSn-1≠0(n
≦15;nは整数)なら、多項式記憶装置200,24
0に、それぞれ、多項式A(z)=Sn-215+Sn-3
14+…+S017-n、L(z)=z17-n、それ以外な
ら、多項式A(z)=S1415+S1314+…+S
0z、L(z)=zを格納する。
The Euclidean mutual exchange apparatus according to the present embodiment
Syndrome equations S (z) = S 15 z 15 + S 14 z K14 +
.. + S 0 , (S 15 to S 0 are elements on Galois field GF (2 8 ))
Is input. At the time of initialization, the polynomial storage devices 220 and 2
60, the polynomial B (z) = S 15 z 15 + S 14 z
K14 +... + S 0 and M (z) = 1 are stored. Coefficient of the syndrome equations S (z) S 15 ~S n = 0 and S n-1 ≠ 0 (n
≤15; n is an integer), the polynomial storage devices 200, 24
0, respectively, polynomial A (z) = S n−2 z 15 + S n−3 z
14 + ... + S 0 z 17 -n, L (z) = z 17-n, if otherwise, the polynomial A (z) = S 14 z 15 + S 13 z 14 + ... + S
0 z, L (z) = z are stored.

【0102】多項式記憶装置200,240は、多項式
の係数を格納することで、それぞれ、多項式A(z),
L(z)を格納する。それぞれ、前記レジスタ201,
241が多項式A(z),L(z)の0次の項の位置で
ある。
The polynomial storage devices 200 and 240 store the coefficients of the polynomial, so that the polynomial A (z),
L (z) is stored. The registers 201,
Reference numeral 241 denotes the position of the zero-order term of the polynomials A (z) and L (z).

【0103】多項式記憶装置220は、内部のレジスタ
221〜236が多項式B(z)の係数を格納し、レジ
スタ239が多項式B(z)の0次の項の位置を格納す
ることで、多項式B(z)を格納する。レジスタ239
の格納する値が”0”〜”15(octal)”の時、それぞ
れ、レジスタ221〜236が多項式B(z)の0次の
項の位置である。
In the polynomial storage device 220, the internal registers 221 to 236 store the coefficients of the polynomial B (z), and the register 239 stores the position of the zero-order term of the polynomial B (z). (Z) is stored. Register 239
Are "0" to "15 (octal)", the registers 221 to 236 are the positions of the zero-order terms of the polynomial B (z).

【0104】多項式記憶装置260は、内部のレジスタ
261〜269が多項式M(z)の係数を格納し、多項
式記憶装置220内部のレジスタ239が多項式M
(z)の0次の項の位置を格納することで、多項式M
(z)を格納する。レジスタ239の格納する値が”
0”〜”8(octal)”の時、それぞれ、レジスタ261
〜269が多項式B(z)の0次の項の位置である。
In polynomial storage device 260, internal registers 261 to 269 store the coefficients of polynomial M (z), and register 239 in polynomial storage device 220 stores polynomial M (z).
By storing the position of the zero-order term of (z), the polynomial M
(Z) is stored. The value stored in the register 239 is "
In the case of 0 ”to“ 8 (octal) ”, each of the registers 261
269 is the position of the zero-order term of the polynomial B (z).

【0105】初期設定終了後、多項式記憶装置200,
220,240,260とガロア体演算装置60との間
でデータの入出力が行なわれ、ガロア体演算装置は、複
数回のガロア体演算を行なう。その結果、多項式記憶装
置240または260に誤り位置多項式σ(z)が格納
される。
After the initialization is completed, the polynomial storage device 200,
Data input / output is performed between 220, 240, 260 and Galois field arithmetic unit 60, and the Galois field arithmetic unit performs Galois field arithmetic a plurality of times. As a result, the error locator polynomial σ (z) is stored in the polynomial storage device 240 or 260.

【0106】本実施の形態のユークリッド互除装置は、
その初期設定方法に特徴があるので、以下では、演算例
を示して、初期設定時の動作について詳細に説明する。
The Euclidean mutual exchange apparatus according to the present embodiment
Since the initial setting method has a feature, an operation at the time of the initial setting will be described in detail below with reference to a calculation example.

【0107】本実施の形態のユークリッド互除装置の第
1の演算例について説明する。本演算例は、(数1)に
示した従来例のの第1の演算例と同じシンドローム方程
式を用いた。即ち、シンドローム方程式S(z)の係数
15〜S8≠0の場合である。
A first calculation example of the Euclidean mutual elimination apparatus of the present embodiment will be described. This calculation example uses the same syndrome equation as the first calculation example of the conventional example shown in (Equation 1). That is, this is the case where the coefficients S 15 to S 8 ≠ 0 of the syndrome equation S (z).

【0108】まず、多項式記憶装置200は、レジスタ
201,202〜216に、それぞれ、値”0”,シン
ドローム0〜14を入力し、多項式記憶装置220は、
レジスタ221〜236,239に、それぞれ、シンド
ローム0〜15,値”0”を入力し、多項式記憶装置2
40は、レジスタ241,242,243〜249に、
それぞれ、値”0”,”1”,”0”を入力し、多項式
記憶装置260は、レジスタ261,262〜269,
279に、それぞれ、値”1”,”0”,”0”を入力
する。B(z)最高次項係数19は、値”85”であ
る。
First, the polynomial storage device 200 inputs the value “0” and the syndromes 0 to 14 to the registers 201, 202 to 216, respectively.
The syndromes 0 to 15 and the value “0” are input to the registers 221 to 236 and 239, respectively.
40 is stored in registers 241, 242, 243-249,
The values “0”, “1”, and “0” are input, respectively, and the polynomial storage device 260 stores the registers 261, 262 to 269,
279, the values "1", "0", and "0" are input, respectively. The B (z) highest order coefficient 19 has a value “85”.

【0109】B(z)最高次項係数19が値”85”で
あるので、シンドローム監視装置51は、監視信号17
として1を出力する。監視信号17が1であるので、シ
フトおよびインクリメント動作は行なわない。
Since the B (z) highest order coefficient 19 has the value “85”, the syndrome monitoring device 51
Is output as 1. Since the monitor signal 17 is 1, the shift and increment operations are not performed.

【0110】この時の多項式記憶装置200,220,
240,260の状態を図8に示す。以上で初期設定を
終了する。
At this time, the polynomial storage devices 200, 220,
FIG. 8 shows the states of 240 and 260. This completes the initial setting.

【0111】本演算例の初期設定後の多項式記憶装置2
00,220,240,260の格納する多項式A
(z),B(z),L(z),M(z)は、従来例の方
法の第1の演算例の1回目のガロア体演算後の多項式A
(z),B(z),L(z),M(z)となっている。
その結果、誤り位置多項式σ(z)を得るまでのガロア
体演算の回数は、従来例の第1の演算例より1回少ない
5回となる。
The polynomial storage device 2 after the initialization in this operation example
Polynomial A stored in 00, 220, 240, 260
(Z), B (z), L (z), and M (z) are polynomials A after the first Galois field operation in the first operation example of the conventional method.
(Z), B (z), L (z), M (z).
As a result, the number of Galois field operations required to obtain the error locator polynomial σ (z) is five, which is one less than the first operation example of the conventional example.

【0112】また、B(z)最高次項係数19は、多項
式B(z)の最高次数項の係数である値”85”となっ
ている。さらに、B(z)次数18は、多項式B(z)
の次数である値”15(octal)”となっている。これら
B(z)最高次項係数19およびB(z)次数18は、
図16の初期設定後の一般的なユークリッド互除方法の
フローチャートに示したように、1回目のガロア体演算
でそのまま用いることが出来るので、1回目のガロア体
演算における演算量が少なくなる。
The B (z) highest order coefficient 19 has a value “85” which is the coefficient of the highest order term of the polynomial B (z). Further, the B (z) degree 18 is represented by a polynomial B (z)
Is a value “15 (octal)” which is the order of These B (z) highest order coefficient 19 and B (z) order 18 are
As shown in the flowchart of the general Euclidean mutual division method after the initial setting in FIG. 16, since it can be used as it is in the first Galois field calculation, the amount of calculation in the first Galois field calculation is reduced.

【0113】本実施の形態のユークリッド互除装置の第
2の演算例について説明する。本演算例は、(数2)に
示した従来例のユークリッド互除方法の第2の演算例と
同じシンドローム方程式を用いた。即ち、シンドローム
方程式S(z)の係数S15≠0かつS14〜S8の内少な
くとも一つが0の場合である。
A second operation example of the Euclidean algorithm according to the present embodiment will be described. In this calculation example, the same syndrome equation as that of the second calculation example of the conventional Euclidean mutual division method shown in (Equation 2) is used. That is, this is a case where the coefficient S 15 ≠ 0 of the syndrome equation S (z) and at least one of S 14 to S 8 is 0.

【0114】まず、多項式記憶装置200は、レジスタ
201,202〜216に、それぞれ、値”0”,シン
ドローム0〜14を入力し、多項式記憶装置220は、
レジスタ221〜236,239に、それぞれ、シンド
ローム0〜15,値”0”を入力し、多項式記憶装置2
40は、レジスタ241,242,243〜249に、
それぞれ、値”0”,”1”,”0”を入力し、多項式
記憶装置260は、レジスタ261,262〜269
に、それぞれ、値”1”,”0”を入力する。B(z)
最高次項係数19は、値”9F”である。
First, the polynomial storage device 200 inputs the value “0” and the syndromes 0 to 14 to the registers 201 and 202 to 216, respectively.
The syndromes 0 to 15 and the value “0” are input to the registers 221 to 236 and 239, respectively.
40 is stored in registers 241, 242, 243-249,
The values “0”, “1”, and “0” are input, respectively, and the polynomial storage device 260 stores the registers 261, 262 to 269
, The values “1” and “0” are input, respectively. B (z)
The highest order coefficient 19 has a value “9F”.

【0115】B(z)最高次項係数19が値”9F”で
あるので、シンドローム監視装置51は、監視信号17
として1を出力する。監視信号17が1であるので、シ
フトおよびインクリメント動作は行なわない。
Since the B (z) highest order coefficient 19 has the value “9F”, the syndrome monitoring device 51
Is output as 1. Since the monitor signal 17 is 1, the shift and increment operations are not performed.

【0116】この時の多項式記憶装置200,220,
240,260の状態を図9に示す。以上で初期設定を
終了する。
At this time, the polynomial storage devices 200, 220,
The state of 240 and 260 is shown in FIG. This completes the initial setting.

【0117】本演算例の初期設定後の多項式記憶装置2
00,220,240,260の格納する多項式A
(z),B(z),L(z),M(z)は、従来例のユ
ークリッド互除方法の第2の演算例の1回目のガロア体
演算後の多項式A(z),B(z),L(z),M
(z)となっている。その結果、誤り位置多項式σ
(z)を得るまでのガロア体演算の回数は、従来例のユ
ークリッド互除方法の第2の演算例より1回少ない3回
となる。
The polynomial storage device 2 after the initialization in this operation example
Polynomial A stored in 00, 220, 240, 260
(Z), B (z), L (z), M (z) are polynomials A (z), B (z) after the first Galois field operation in the second operation example of the conventional Euclidean algorithm. ), L (z), M
(Z). As a result, the error locator polynomial σ
The number of Galois field operations until (z) is obtained is three, one less than the second operation example of the conventional Euclidean algorithm.

【0118】また、B(z)最高次項係数19は、多項
式B(z)の最高次数項の係数である値”9F”となっ
ている。さらに、B(z)次数18は、多項式B(z)
の次数である値”15(octal)”となっている。これら
B(z)最高次項係数19およびB(z)次数18は、
図16の初期設定後の一般的なユークリッド互除方法の
フローチャートに示したように、1回目のガロア体演算
でそのまま用いることが出来るので、1回目のガロア体
演算における演算量が少なくなる。
The B (z) highest order coefficient 19 has a value “9F” which is the coefficient of the highest order term of the polynomial B (z). Further, the B (z) degree 18 is represented by a polynomial B (z)
Is a value “15 (octal)” which is the order of These B (z) highest order coefficient 19 and B (z) order 18 are
As shown in the flowchart of the general Euclidean mutual division method after the initial setting in FIG. 16, since it can be used as it is in the first Galois field calculation, the amount of calculation in the first Galois field calculation is reduced.

【0119】本実施の形態のユークリッド互除装置の第
3の演算例について説明する。本演算例は、(数3)に
示した従来例のユークリッド互除方法の第3の演算例と
同じシンドローム方程式を用いた。即ち、シンドローム
方程式S(z)の係数S15〜Sn=0かつSn-1≠0の場
合(n≦15;nは整数)である。
A third calculation example of the Euclidean mutual elimination apparatus of the present embodiment will be described. In this calculation example, the same syndrome equation as that of the third calculation example of the conventional Euclidean mutual division method shown in (Equation 3) is used. That is, this is the case where the coefficients S 15 to S n = 0 and S n-1 ≠ 0 of the syndrome equation S (z) (n ≦ 15; n is an integer).

【0120】まず、多項式記憶装置200は、レジスタ
201,202〜216に、それぞれ、値”0”,シン
ドローム0〜14を入力し、多項式記憶装置220は、
レジスタ221〜236,239に、それぞれ、シンド
ローム0〜15,値”0”を入力し、多項式記憶装置2
40は、レジスタ241,242,243〜249に、
それぞれ、値”0”,”1”,”0”を入力し、多項式
記憶装置260は、レジスタ261,262〜269
に、それぞれ、値”1”,”0”,”0”を入力する。
B(z)最高次項係数19は、値”0”である。この時
の多項式記憶装置200,220,240,260の状
態を図10(a)に示す。
First, the polynomial storage device 200 inputs the value “0” and the syndromes 0 to 14 to the registers 201, 202 to 216, respectively.
The syndromes 0 to 15 and the value “0” are input to the registers 221 to 236 and 239, respectively.
40 is stored in registers 241, 242, 243-249,
The values “0”, “1”, and “0” are input, respectively, and the polynomial storage device 260 stores the registers 261, 262 to 269
, The values “1”, “0”, and “0” are input, respectively.
The B (z) highest order coefficient 19 has a value “0”. FIG. 10A shows the states of the polynomial storage devices 200, 220, 240, and 260 at this time.

【0121】B(z)最高次項係数19が値”0”であ
るので、シンドローム監視装置51は、監視信号17と
して0を出力する。監視信号17が0であるので、多項
式記憶装置200,220,240,260は、監視信
号17が1になるまで,それぞれレジスタ201〜21
6,221〜236,241〜249,261〜269
の格納するデータを右方向(番号の大きい方向)へシフ
トする。レジスタ221に値”FE”が格納されたと
き、B(z)最高次項係数19は値”FE”となり、シ
ンドローム監視装置51は、監視信号17として1を出
力する。この時の多項式記憶装置200,220,24
0,260の状態を図10(b)に示す。以上で初期設
定を終了する。
Since the B (z) highest order coefficient 19 has the value “0”, the syndrome monitoring device 51 outputs “0” as the monitoring signal 17. Since the monitoring signal 17 is 0, the polynomial storage devices 200, 220, 240, and 260 store the registers 201 to 21 until the monitoring signal 17 becomes 1, respectively.
6,221 to 236,241 to 249,261 to 269
Is shifted rightward (in the direction of larger numbers). When the value “FE” is stored in the register 221, the B (z) highest order coefficient 19 becomes the value “FE”, and the syndrome monitoring device 51 outputs 1 as the monitoring signal 17. The polynomial storage devices 200, 220, 24 at this time
The state of 0,260 is shown in FIG. This completes the initial setting.

【0122】本演算例の初期設定後の多項式記憶装置2
00,220,240,260の格納する多項式A
(z),B(z),L(z),M(z)は、従来例のユ
ークリッド互除方法の第3の演算例の1回目のガロア体
演算後の多項式A(z),B(z),L(z),M
(z)となっている。その結果、誤り位置多項式σ
(z)を得るまでのガロア体演算の回数は、従来例のユ
ークリッド互除方法の第3の演算例より1回少ない3回
となる。
The polynomial storage device 2 after the initialization in this operation example
Polynomial A stored in 00, 220, 240, 260
(Z), B (z), L (z), M (z) are polynomials A (z), B (z) after the first Galois field operation in the third operation example of the conventional Euclidean mutual division method. ), L (z), M
(Z). As a result, the error locator polynomial σ
The number of Galois field operations required to obtain (z) is three, which is one less than the third operation example of the conventional Euclidean algorithm.

【0123】また、B(z)最高次項係数19は、多項
式B(z)の最高次数項の係数である値”FE”となっ
ている。さらに、B(z)次数18は、多項式B(z)
の次数である値”13”となっている。
The B (z) highest order coefficient 19 has a value "FE" which is the coefficient of the highest order term of the polynomial B (z). Further, the B (z) degree 18 is represented by a polynomial B (z)
Is "13", which is the order of.

【0124】これらB(z)最高次項係数19およびB
(z)次数18は、図16の初期設定後の一般的なユー
クリッド互除方法のフローチャートに示したように、1
回目のガロア体演算でそのまま用いることが出来るの
で、1回目のガロア体演算における演算量が少なくな
る。
These B (z) highest order coefficients 19 and B
(Z) The degree 18 is 1 as shown in the flowchart of the general Euclidean mutual division method after the initial setting in FIG.
Since it can be used as it is in the first Galois field calculation, the amount of calculation in the first Galois field calculation is reduced.

【0125】以上のように、本実施の形態のユークリッ
ド互除装置は、シンドローム方程式S(z)の係数に関
わらずユークリッド互除の実行が可能であり、ユークリ
ッド互除の実行に必要なガロア体演算の回数が減り、ま
た、1回目のガロア体演算における演算量が少なくなる
ので、処理速度の高速化に対応できる。
As described above, the Euclidean algorithm according to the present embodiment can execute Euclidean algorithm irrespective of the coefficient of the syndrome equation S (z), and the number of Galois field operations required for executing Euclidean algorithm is performed. And the amount of calculation in the first Galois field calculation is reduced, so that the processing speed can be increased.

【0126】なお、本実施の形態のユークリッド互除装
置では、レジスタ239は、多項式B(z),M(z)
の0次の項の位置を格納したが、別の次数の項の位置を
格納してもよい。また、あるレジスタの格納する係数の
次数を格納してもよい。
In the Euclidean mutual division apparatus of the present embodiment, the register 239 stores the polynomials B (z) and M (z)
Although the position of the zero-order term is stored, the position of another order term may be stored. Further, the order of the coefficient stored in a certain register may be stored.

【0127】また、多項式記憶装置240では、多項式
L(z)の0次の項の係数はレジスタ241が格納した
が、別のレジスタが格納してもよい。
In the polynomial storage device 240, the coefficient of the zero-order term of the polynomial L (z) is stored in the register 241; however, another register may store it.

【0128】また、多項式記憶装置260では、多項式
M(z)の0次の項の位置は多項式記憶装置220内部
のレジスタ239が格納したが、0次の項の位置を固定
してもよい。
In the polynomial storage device 260, the position of the zeroth-order term of the polynomial M (z) is stored in the register 239 inside the polynomial storage device 220, but the position of the zeroth-order item may be fixed.

【0129】本実施の形態のユークリッド互除装置は、
シンドローム方程S(z)=Sk-1k-1+Sk-2k-2
…+S0を入力とし、多項式記憶装置A,B,L,M
と、ガロア体演算装置とを備え、シンドローム方程式か
ら多項式記憶装置A,B,L,Mの初期設定を行ない、
多項式記憶装置A,B,L,Mとガロア体演算装置とを
用いてガロア体演算を行ない、誤り位置多項式を求める
ユークリッド互除装置において、初期設定時に、多項式
記憶装置Bに、多項式B(z)=Sk-1k-1+S k-2
k-2+…+S0、多項式記憶装置Mに、多項式M(z)=
1を格納し、シンドローム方程式S(z)の係数Sk-1
〜Sn=0かつSn-1≠0の時(n≦k−1;kは整
数)、多項式記憶装置Aに、多項式A(z)=Sn-2
k-1+Sn-3k-2+…+S0k-n+1、多項式記憶装置L
に、多項式L(z)=zk-n+1を格納し、それ以外の
時、多項式記憶装置Aに、多項式A(z)=Sk-2k-1
+Sk-3k-2+…+S0z、多項式記憶装置Lに、多項
式L(z)=zを格納することを特徴とするユークリッ
ド互除装置とすることで、シンドローム方程式S(z)
の係数に関わらずユークリッド互除の実行を可能とし、
ユークリッド互除の実行に必要なガロア体演算の回数を
減らし、処理速度の高速化に対応するものである。
The Euclidean mutual exchange apparatus according to the present embodiment
Syndrome process S (z) = Sk-1zk-1+ Sk-2zk-2+
… + S0, And the polynomial storage devices A, B, L, M
And a Galois field arithmetic unit.
Initialize the polynomial storage devices A, B, L, and M,
Polynomial storage devices A, B, L, M and Galois field arithmetic unit
Performs Galois field operation to find error locator polynomial
In the Euclidean algorithm, the polynomial
In the storage device B, a polynomial B (z) = Sk-1zk-1+ S k-2z
k-2+ ... + S0, The polynomial storage device M stores the polynomial M (z) =
1 and the coefficient S of the syndrome equation S (z)k-1
~ Sn= 0 and Sn-1When ≠ 0 (n ≦ k−1; k is an integer
Number), the polynomial storage device A stores the polynomial A (z) = Sn-2z
k-1+ Sn-3zk-2+ ... + S0zk-n + 1, Polynomial storage device L
Where the polynomial L (z) = zk-n + 1And store the other
At time, the polynomial storage device A stores the polynomial A (z) = Sk-2zk-1
+ Sk-3zk-2+ ... + S0z, a polynomial in the polynomial storage device L
The equation L (z) = z is stored.
By using a decimation unit, the syndrome equation S (z)
Enables the execution of Euclidean algorithm regardless of the coefficient of
The number of Galois field operations required to perform Euclidean mutual
This corresponds to reduction of the processing speed.

【0130】さらに、多項式記憶装置Aは、レジスタa
k-1〜a0を備え、多項式記憶装置Bは、レジスタbk-1
〜b0とレジスタdBを備え、多項式記憶装置Lは、レ
ジスタli-1〜l0を備え(i>0;iは整数)、多項式
記憶装置Mは、レジスタmj-1〜m0を備え(j>0;j
は整数)、レジスタbk-1を監視し、レジスタbk-1に格
納されているデータが0なら0、0以外なら1を監視信
号として出力するシンドローム監視装置を備え、初期設
定時に、レジスタak-1〜a0にシンドローム方程式S
(z)の係数と定数{Sk-2,Sk-3,…,S0,0}
を、レジスタbk-1〜b0にシンドローム方程式S(z)
の係数{Sk-1,Sk-2,…,S0}を、レジスタlv〜l
v-1に定数{1,0}を、レジスタmwに定数1を、レジ
スタdBに定数を入力し(0<v<i;0≦w<j;
v,wは整数)、監視信号が0ならば、監視信号が1に
なるまで、レジスタak-1〜a0,bk-1〜b0の格納する
データを、それぞれ添え字の大きい方へシフトし、シフ
トした回数分、レジスタdBの格納する値をインクリメ
ントまたはデクリメントすることを特徴とするユークリ
ッド互除装置とすることで、1回目のガロア体演算にお
ける演算量を減らし、処理速度の高速化に対応するもの
である。
Further, the polynomial storage device A includes a register a
k−1 to a 0 , and the polynomial storage device B stores the register b k−1
~b comprising a 0 and register dB, the polynomial storage device L is provided with a register l i-1 ~l 0 (i >0; i is an integer), the polynomial storage device M, the register m j-1 ~m 0 Provision (j>0; j
Is an integer), to monitor the register b k-1, 1 if other than the register b if k-1 data stored in the 0 0,0 comprises a syndrome monitoring device for output as a monitor signal, during initialization, register The syndrome equation S is given by a k-1 to a 0
Factor (z) and a constant {S k-2, S k -3, ..., S 0, 0}
Is stored in the registers b k−1 to b 0 as a syndrome equation S (z).
{S k−1 , S k−2 ,..., S 0 } in the registers l v to l
Input a constant {1, 0} to v-1 , a constant 1 to the register mw, and a constant to the register dB (0 <v <i; 0 ≦ w <j;
v and w are integers). If the monitoring signal is 0 , the data stored in the registers a k-1 to a 0 and b k-1 to b 0 are stored in the larger subscript until the monitoring signal becomes 1. And the value stored in the register dB is incremented or decremented by the number of shifts, thereby reducing the amount of operation in the first Galois field operation and increasing the processing speed It corresponds to.

【0131】(実施の形態6)図11は、本発明の実施
の形態6のユークリッド互除装置を示すブロック図であ
る。
(Embodiment 6) FIG. 11 is a block diagram showing a Euclidean mutual exchange apparatus according to Embodiment 6 of the present invention.

【0132】実施の形態6のユークリッド互除装置は、
シンドローム0〜15,監視信号17,ガロア体演算装
置60に関しては、図4に示した実施の形態4のユーク
リッド互除装置と全く同じ構成であるので、説明を省略
する。
The Euclidean mutual exchange device of the sixth embodiment is
The syndromes 0 to 15, the monitoring signal 17, and the Galois field arithmetic unit 60 have exactly the same configuration as that of the Euclidean mutual exchange apparatus of the fourth embodiment shown in FIG.

【0133】図11において、20は、A(z)次数で
ある。21は、A(z)最高次項係数である。52は、
シンドローム8〜15を入力し、シンドローム8〜15
の内少なくとも一つが値”0”ならば監視信号17を
0、それ以外なら1として監視信号17を出力するシン
ドローム監視装置である。
In FIG. 11, reference numeral 20 denotes the A (z) order. 21 is the A (z) highest order coefficient. 52 is
Enter syndromes 8-15, and enter syndromes 8-15
Is a syndrome monitoring device that outputs the monitoring signal 17 as 0 if at least one of the values is “0”, and 1 otherwise.

【0134】300は、レジスタ301〜317とレジ
スタ319とで構成され、レジスタ317の格納するデ
ータをA(z)最高次項係数21として出力し、レジス
タ319の格納するデータをA(z)次数20として出
力し、初期設定時に、監視信号17が0ならば、レジス
タ301〜316,317,319に、それぞれ、値”
0”,”1”,”16(octal)”を、監視信号17が1
ならば、レジスタ301,302,303〜317,3
19に、それぞれ、値”0”,”0”,シンドローム0
〜14,値”15(octal)”を入力し、初期設定終了
後、ガロア体演算装置60との間でデータの入出力を行
なう多項式記憶装置である。
Reference numeral 300 denotes a register 300 composed of registers 301 to 317 and a register 319. The data stored in the register 317 is output as the A (z) highest-order coefficient 21. The data stored in the register 319 is converted to the A (z) order 20. When the monitoring signal 17 is 0 at the time of the initial setting, the values "" are respectively stored in the registers 301 to 316, 317 and 319.
0 ”,“ 1 ”,“ 16 (octal) ”, and the monitoring signal 17 is 1
Then, the registers 301, 302, 303 to 317, 3
19, the values “0”, “0”, and syndrome 0, respectively.
This is a polynomial storage device which inputs .about.14, value "15 (octal)", and inputs and outputs data to and from the Galois field arithmetic unit 60 after the initialization is completed.

【0135】320は、レジスタ321〜336で構成
され、初期設定時に、レジスタ321〜336に、それ
ぞれ、シンドローム0〜15を入力し、初期設定終了
後、ガロア体演算装置60との間でデータの入出力を行
なう多項式記憶装置である。
Reference numeral 320 designates registers 321 to 336. At the time of initial setting, the syndromes 0 to 15 are input to the registers 321 to 336, respectively, and after completion of the initial setting, data is exchanged with the Galois field arithmetic unit 60. It is a polynomial storage device that performs input and output.

【0136】340は、レジスタ341〜349で構成
され、初期設定時に、監視信号17が0ならば、レジス
タ341〜349に値”0”を入力し、監視信号17が
1ならば、レジスタ341,342,343〜349
に、それぞれ、値”0”,”1”,”0”を入力し、初
期設定終了後、ガロア体演算装置60との間でデータの
入出力を行なう多項式記憶装置である。
340 is composed of registers 341 to 349. At the time of initial setting, if the monitor signal 17 is 0, a value "0" is inputted to the registers 341 to 349. If the monitor signal 17 is 1, the register 341 and 341 are inputted. 342, 343-349
Is a polynomial storage device that inputs and outputs values "0", "1", and "0", respectively, and inputs and outputs data to and from the Galois field arithmetic unit 60 after completion of initialization.

【0137】360は、レジスタ361〜369で構成
され、初期設定時に、レジスタ361,362〜369
に、それぞれ、値”1”,”0”を入力し、初期設定終
了後、ガロア体演算装置60との間でデータの入出力を
行なう多項式記憶装置である。
Reference numeral 360 denotes registers 361 to 369, which are initially set to registers 361, 362 to 369.
These are polynomial storage devices for inputting values "1" and "0", respectively, and inputting / outputting data to / from the Galois field arithmetic unit 60 after completion of initialization.

【0138】このように構成された本実施の形態のユー
クリッド互除装置の動作について説明する。
The operation of the thus configured Euclidean mutual exclusion apparatus of the present embodiment will be described.

【0139】本実施の形態のユークリッド互除装置は、
シンドローム方程式S(z)=S1515+S14K14
…+S0、(S15〜S0はガロア体GF(28)上の元)
を入力とする。初期設定時、多項式記憶装置320,3
60に、それぞれ、多項式B(z)=S1515+S14
K14+…+S0、M(z)=1を格納する。シンドローム
方程式S(z)の係数S15〜S8の内少なくとも一つが
0なら、多項式記憶装置300,340に、それぞれ、
多項式A(z)=z16、L(z)=0を、それ以外な
ら、多項式A(z)=S1415+S1314+…+S
0z、L(z)=zを格納する。
The Euclidean mutual exchange device of the present embodiment
Syndrome equations S (z) = S 15 z 15 + S 14 z K14 +
.. + S 0 , (S 15 to S 0 are elements on Galois field GF (2 8 ))
Is input. At the time of initialization, the polynomial storage devices 320 and 3
60, the polynomial B (z) = S 15 z 15 + S 14 z
K14 +... + S 0 and M (z) = 1 are stored. If at least one of the coefficients S 15 to S 8 of the syndrome equation S (z) is 0, the polynomial storage devices 300 and 340 respectively store
The polynomial A (z) = z 16, L (z) = 0, if otherwise, the polynomial A (z) = S 14 z 15 + S 13 z 14 + ... + S
0 z, L (z) = z are stored.

【0140】多項式記憶装置320,340,360
は、多項式の係数を格納することで、それぞれ、多項式
B(z),L(z),M(z)を格納する。それぞれ、
レジスタ321,341,361が多項式B(z),L
(z),M(z)の0次の項の位置である。多項式記憶
装置300は、内部で、レジスタ301〜317が多項
式A(z)の係数を格納し、レジスタ319がレジスタ
317の格納する係数の次数を格納することで、多項式
A(z)を格納する。レジスタ319の格納する値が”
15(octal)”,”16(octal)”の時、レジスタ317
の格納する係数の次数は、それぞれ、15次,16次で
ある。初期設定終了後、多項式記憶装置300,32
0,340,360とガロア体演算装置60との間でデ
ータの入出力が行なわれ、ガロア体演算装置は、複数回
のガロア体演算を行なう。その結果、多項式記憶装置3
40または360に誤り位置多項式σ(z)が格納され
る。
The polynomial storage devices 320, 340, 360
Stores the coefficients of the polynomial, thereby storing the polynomials B (z), L (z), and M (z), respectively. Respectively,
Registers 321, 341 and 361 are polynomials B (z) and L
(Z), the position of the zero-order term of M (z). In the polynomial storage device 300, the registers 301 to 317 internally store the coefficients of the polynomial A (z), and the register 319 stores the order of the coefficients stored in the register 317, thereby storing the polynomial A (z). . The value stored in the register 319 is "
In the case of "15 (octal)" and "16 (octal)", the register 317
Are 15th order and 16th order, respectively. After the initialization, the polynomial storage devices 300 and 32
Data is input / output between 0, 340, 360 and the Galois field arithmetic unit 60, and the Galois field arithmetic unit performs Galois field arithmetic a plurality of times. As a result, the polynomial storage device 3
Error location polynomial σ (z) is stored in 40 or 360.

【0141】本実施の形態のユークリッド互除装置は、
その初期設定方法に特徴があるので、以下では、演算例
を示して、初期設定時の動作について詳細に説明する。
The Euclidean mutual exchange apparatus of the present embodiment
Since the initial setting method has a feature, an operation at the time of the initial setting will be described in detail below with reference to a calculation example.

【0142】本実施の形態のユークリッド互除装置の第
1の演算例について説明する。本演算例は、(数1)に
示した従来例のユークリッド互除方法の第1の演算例と
同じシンドローム方程式を用いた。即ち、シンドローム
方程式S(z)の係数S15〜S8≠0の場合である。
A first calculation example of the Euclidean mutual elimination apparatus of the present embodiment will be described. This operation example uses the same syndrome equation as the first operation example of the conventional Euclidean mutual division method shown in (Equation 1). That is, this is the case where the coefficients S 15 to S 8 ≠ 0 of the syndrome equation S (z).

【0143】シンドローム8〜15が全て値”0”以外
であるので、シンドローム監視装置52は、監視信号1
7として1を出力する。多項式記憶装置320は、レジ
スタ321〜336に、シンドローム0〜15を入力
し、多項式記憶装置360は、レジスタ361,362
〜369に、それぞれ、値”1”,”0”を入力する。
監視信号17が1であるので、多項式記憶装置300
は、レジスタ301,302,303〜317,319
に、それぞれ、値”0”,”0”,シンドロームS0〜
S14,値”15(octal)”を入力し、記憶装置340
は、レジスタ341,342,343〜349に、それ
ぞれ、値”0”,”1”,”0”を入力する。この時の
多項式記憶装置300,320,340,360の状態
を図12に示す。以上で初期設定を終了する。
Since all of the syndromes 8 to 15 have values other than “0”, the syndrome monitoring device 52 outputs the monitoring signal 1
1 is output as 7. The polynomial storage device 320 inputs syndromes 0 to 15 to the registers 321 to 336, and the polynomial storage device 360 stores the registers 361 and 362
To 369, the values "1" and "0" are input, respectively.
Since the monitoring signal 17 is 1, the polynomial storage device 300
Are registers 301, 302, 303 to 317, 319
, The values “0”, “0”, and the syndromes S0 to S0, respectively.
S14, The value “15 (octal)” is input, and the storage device 340 is input.
Inputs the values "0", "1", and "0" to the registers 341, 342, and 343 to 349, respectively. The state of the polynomial storage devices 300, 320, 340, 360 at this time is shown in FIG. This completes the initial setting.

【0144】本演算例の初期設定後の多項式記憶装置3
00,320,340,360の格納する多項式A
(z),B(z),L(z),M(z)は、従来例のユ
ークリッド互除方法の第1の演算例の1回目のガロア体
演算後の多項式A(z),B(z),L(z),M
(z)となっている。その結果、誤り位置多項式σ
(z)を得るまでのガロア体演算の回数は、従来例のユ
ークリッド互除方法の第1の演算例より1回少ない5回
となる。
The polynomial storage device 3 after the initialization in this operation example
Polynomial A stored in 00, 320, 340, 360
(Z), B (z), L (z), M (z) are polynomials A (z), B (z) after the first Galois field operation in the first operation example of the conventional Euclidean algorithm. ), L (z), M
(Z). As a result, the error locator polynomial σ
The number of Galois field operations until (z) is obtained is five, one less than the first operation example of the conventional Euclidean algorithm.

【0145】また、A(z)最高次項係数20は、多項
式A(z)の最高次数項の係数である値”EB”となっ
ている。さらに、B(z)次数18は、多項式B(z)
の次数である値”15(octal)”となっている。これら
B(z)最高次項係数19およびB(z)次数18は、
図16の初期設定後の一般的なユークリッド互除方法の
フローチャートに示したように、1回目のガロア体演算
でそのまま用いることが出来るので、1回目のガロア体
演算における演算量が少なくなる。
The A (z) highest order coefficient 20 is a value “EB” which is the coefficient of the highest order term of the polynomial A (z). Further, the B (z) degree 18 is represented by a polynomial B (z)
Is a value “15 (octal)” which is the order of These B (z) highest order coefficient 19 and B (z) order 18 are
As shown in the flowchart of the general Euclidean mutual division method after the initial setting in FIG. 16, since it can be used as it is in the first Galois field calculation, the amount of calculation in the first Galois field calculation is reduced.

【0146】本実施の形態のユークリッド互除装置の第
2の演算例について説明する。本演算例は、(数2)に
示した従来例のユークリッド互除方法の第2の演算例と
同じシンドローム方程式を用いた。即ち、シンドローム
方程式S(z)の係数S15≠0かつS14〜S8の内少な
くとも一つが0の場合である。
A description will be given of a second operation example of the Euclidean algorithm device according to the present embodiment. In this calculation example, the same syndrome equation as that of the second calculation example of the conventional Euclidean mutual division method shown in (Equation 2) is used. That is, this is a case where the coefficient S 15 ≠ 0 of the syndrome equation S (z) and at least one of S 14 to S 8 is 0.

【0147】シンドローム13および14が値”0”で
あるので、シンドローム監視装置52は、監視信号17
として0を出力する。多項式記憶装置320は、レジス
タ321〜336に、シンドローム0〜15を入力し、
多項式記憶装置360は、レジスタ361,362〜3
69に、それぞれ、値”1”,”0”を入力する。
Since the syndromes 13 and 14 have the value “0”, the syndrome monitoring device 52
Is output as 0. The polynomial storage device 320 inputs the syndromes 0 to 15 to the registers 321 to 336,
The polynomial storage device 360 includes registers 361, 362-3
69, the values “1” and “0” are input, respectively.

【0148】監視信号17が0であるので、多項式記憶
装置300は、レジスタ301〜316,317,31
9に、それぞれ、値”0”,”1”,”16(octal)”
を入力し、記憶装置340は、レジスタ341〜349
に値”0”を入力する。この時の多項式記憶装置30
0,320,340,360の状態を図13に示す。以
上で初期設定を終了する。
Since the monitoring signal 17 is 0, the polynomial storage device 300 stores the registers 301 to 316, 317, 31
9, values "0", "1", "16 (octal)"
And the storage device 340 stores the registers 341 to 349
Is input the value "0". The polynomial storage device 30 at this time
The states of 0, 320, 340, 360 are shown in FIG. This completes the initial setting.

【0149】本演算例の初期設定後の多項式記憶装置3
00,320,340,360の格納する多項式A
(z),B(z),L(z),M(z)は、従来例のユ
ークリッド互除方法の第2の演算例の初期設定後の多項
式A(z),B(z),L(z),M(z)となってい
る。その結果、誤り位置多項式σ(z)を得るまでのガ
ロア体演算の回数は、従来例の方法の第2の演算例と同
じ4回となる。
The polynomial storage device 3 after the initial setting of this operation example
Polynomial A stored in 00, 320, 340, 360
(Z), B (z), L (z), M (z) are polynomials A (z), B (z), L () after the initial setting of the second operation example of the conventional Euclidean mutual division method. z) and M (z). As a result, the number of Galois field operations until the error locator polynomial σ (z) is obtained is four, which is the same as in the second operation example of the conventional method.

【0150】また、A(z)最高次項係数20は、多項
式A(z)の最高次数項の係数である値”1”となって
いる。さらに、B(z)次数18は、多項式B(z)の
次数である値”16(octal)”となっている。これらB
(z)最高次項係数19およびB(z)次数18は、図
16の初期設定後の一般的なユークリッド互除方法のフ
ローチャートに示したように、1回目のガロア体演算で
そのまま用いることが出来るので、1回目のガロア体演
算における演算量が少なくなる。
The A (z) highest-order coefficient 20 has a value “1” which is the coefficient of the highest-order term of the polynomial A (z). Further, the B (z) order 18 is a value “16 (octal)” which is the order of the polynomial B (z). These B
(Z) The highest order coefficient 19 and the B (z) order 18 can be used as they are in the first Galois field operation as shown in the flowchart of the general Euclidean mutual division method after the initial setting in FIG. (1) The amount of calculation in the first Galois field calculation is reduced.

【0151】本実施の形態のユークリッド互除装置の第
3の演算例について説明する。本演算例は、(数3)に
示した従来例のユークリッド互除方法の第3の演算例と
同じシンドローム方程式を用いた。即ち、シンドローム
方程式S(z)の係数S15〜Sn=0かつSn-1≠0の場
合(n≦15;nは整数)である。
A third operation example of the Euclidean mutual elimination apparatus according to the present embodiment will be described. In this calculation example, the same syndrome equation as that of the third calculation example of the conventional Euclidean mutual division method shown in (Equation 3) is used. That is, this is the case where the coefficients S 15 to S n = 0 and S n-1 ≠ 0 of the syndrome equation S (z) (n ≦ 15; n is an integer).

【0152】シンドローム14および15が値”0”で
あるので、シンドローム監視装置52は、監視信号17
として0を出力する。多項式記憶装置320は、レジス
タ321〜336に、シンドローム0〜15を入力し、
多項式記憶装置360は、レジスタ361,362〜3
69に、それぞれ、値”1”,”0”を入力する。監視
信号17が0であるので、多項式記憶装置300は、レ
ジスタ301〜316,317,319に,値”
0”,”1”,”16(octal)”を入力し、記憶装置3
40は、レジスタ341〜349に値”0”を入力す
る。この時の多項式記憶装置300,320,340,
360の状態を図14に示す。以上で初期設定を終了す
る。
Since the syndromes 14 and 15 have the value “0”, the syndrome monitoring device 52
Is output as 0. The polynomial storage device 320 inputs the syndromes 0 to 15 to the registers 321 to 336,
The polynomial storage device 360 includes registers 361, 362-3
69, the values “1” and “0” are input, respectively. Since the monitoring signal 17 is 0, the polynomial storage device 300 stores the value "" in the registers 301 to 316, 317, and 319.
0 ”,“ 1 ”, and“ 16 (octal) ”are input to the storage device 3
40 inputs the value “0” to the registers 341 to 349. At this time, the polynomial storage devices 300, 320, 340,
The state of 360 is shown in FIG. This completes the initial setting.

【0153】本演算例の初期設定後の多項式記憶装置3
00,320,340,360の格納する多項式A
(z),B(z),L(z),M(z)は、従来例のユ
ークリッド互除方法の第3の演算例の初期設定後の多項
式A(z),B(z),L(z),M(z)となってい
る。その結果、誤り位置多項式σ(z)を得るまでのガ
ロア体演算の回数は、従来例の方法の第3の演算例と同
じ4回となる。
The polynomial storage device 3 after the initialization in this operation example
Polynomial A stored in 00, 320, 340, 360
(Z), B (z), L (z), M (z) are polynomials A (z), B (z), L () after the initial setting of the third operation example of the conventional Euclidean algorithm. z) and M (z). As a result, the number of Galois field operations until the error locator polynomial σ (z) is obtained is the same four times as in the third operation example of the method of the conventional example.

【0154】また、A(z)最高次項係数20は、多項
式A(z)の最高次数項の係数である値”1”となって
いる。さらに、B(z)次数18は、多項式B(z)の
次数である値”16(octal)”となっている。これらB
(z)最高次項係数19およびB(z)次数18は、図
16の初期設定後の一般的なユークリッド互除方法のフ
ローチャートに示したように、1回目のガロア体演算で
そのまま用いることが出来るので、1回目のガロア体演
算における演算量が少なくなる。
The A (z) highest order coefficient 20 has a value “1” which is the coefficient of the highest order term of the polynomial A (z). Further, the B (z) order 18 is a value “16 (octal)” which is the order of the polynomial B (z). These B
(Z) The highest order coefficient 19 and the B (z) order 18 can be used as they are in the first Galois field operation as shown in the flowchart of the general Euclidean mutual division method after the initial setting in FIG. (1) The amount of calculation in the first Galois field calculation is reduced.

【0155】このように、本発明の実施の形態6のユー
クリッド互除方法は、シンドロームの形態により、ガロ
ア体演算の回数が従来例と同じ場合と減る場合とがあ
る。
As described above, in the Euclidean mutual division method according to the sixth embodiment of the present invention, the number of Galois field operations may be the same as in the conventional example or reduced depending on the form of the syndrome.

【0156】しかしながら、ガロア体演算の回数が従来
例と同じ場合というのは、第2の演算例および第3の演
算例のようにシンドローム方程式S(z)の係数S15
8の内少なくとも一つが0という特別な場合だけであ
り、それ以外の場合即ちS15〜S8≠0の場合は、第1
の演算例で示したようにガロア体演算の回数が減る。
However, the case where the number of Galois field operations is the same as that of the conventional example is that the coefficients S 15 to S 15 of the syndrome equation S (z) are different from those of the second and third operation examples.
Only in the special case where at least one of S 8 is 0, and in other cases, that is, when S 15 to S 8 ≠ 0, the first
The number of Galois field operations is reduced as shown in the example of the operation.

【0157】以上のように、本実施の形態のユークリッ
ド互除装置は、シンドローム方程式S(z)の係数に関
わらずユークリッド互除の実行が可能であり、シンドロ
ーム方程式S(z)の係数より、ユークリッド互除の実
行に必要なガロア体演算の回数が減り、また、シンドロ
ーム方程式S(z)の係数に関わらず1回目のガロア体
演算における演算量が少なくなるので、処理速度の高速
化に対応できる。
As described above, the Euclidean algorithm of the present embodiment can execute the Euclidean algorithm regardless of the coefficient of the syndrome equation S (z). , The number of Galois field operations required for the execution is reduced, and the amount of calculation in the first Galois field operation is reduced irrespective of the coefficient of the syndrome equation S (z), so that the processing speed can be increased.

【0158】なお、本実施の形態のユークリッド互除装
置では、レジスタ319は、レジスタ317の格納する
係数の次数を格納したが、別のレジスタの格納するデー
タの次数を格納してもよい。また、多項式のある次数の
項の位置を格納しでもよい。
Although the register 319 stores the order of the coefficient stored in the register 317 in the Euclidean mutual exchange apparatus of the present embodiment, the register 319 may store the order of the data stored in another register. Further, the position of a term of a certain degree in the polynomial may be stored.

【0159】また、多項式記憶装置340,341で
は、多項式の0次の項の係数は、それぞれ、レジスタ3
01,341が格納したが、別のレジスタが格納しても
よい。
In the polynomial storage devices 340 and 341, the coefficient of the zero-order term of the polynomial is stored in the register 3
01 and 341 are stored, but another register may store them.

【0160】また、多項式記憶装置300では、レジス
タ301または302が多項式A(z)の0次の項の係
数を格納することで、レジスタ317の格納するデータ
をA(z)最高次項係数21としたが、多項式A(z)
の0次の項の係数を格納するレジスタをレジスタ301
に固定し、レジスタ317または316の格納するデー
タをA(z)最高次項係数21としてもよい。
In the polynomial storage device 300, the register 301 or 302 stores the coefficient of the zero-order term of the polynomial A (z), so that the data stored in the register 317 is stored in the A (z) highest-order coefficient 21. However, the polynomial A (z)
Register 301 for storing the coefficient of the zero-order term of
And the data stored in the register 317 or 316 may be the A (z) highest order coefficient 21.

【0161】また、本実施の形態のユークリッド互除装
置は、多項式記憶装置A,Lの初期設定として、シンド
ローム方程式S(z)の係数Sk-1〜Sk/2=0の時、多
項式A(z)=zk、L(z)=1、それ以外の時、多
項式A(z)=Sk-2k-1+Sk-3k-2+…+S0z、
L(z)=zを格納することで、シンドローム方程式S
(z)の係数に関わらずユークリッド互除の実行を可能
とし、シンドローム方程式S(z)の係数Sk-1〜Sk/2
≠0という条件のもとでのユークリッド互除の実行に必
要なガロア体演算の回数を減らし、シンドローム方程式
S(z)の係数に関わらず1回目のガロア体演算におけ
る演算量を減らすことを可能としたが、シンドローム方
程式S(z)の係数の条件は、上記の条件でなくともよ
い。例えば、シンドローム方程式S(z)の係数Sk-1
=0の時、多項式A(z)=zk、L(z)=1、それ
以外の時、多項式A(z)=Sk-2k-1+Sk-3k-2
…+S0z、L(z)=zを格納すれば、シンドローム
方程式S(z)の係数に関わらずユークリッド互除の実
行が可能となり、シンドローム方程式S(z)の係数S
k-1≠0という条件のもとでのユークリッド互除の実行
に必要なガロア体演算の回数を減らすことが可能とな
る。
The Euclidean mutual eliminator of the present embodiment sets the polynomials A and L as initial settings when the coefficients S k−1 to S k / 2 = 0 of the syndrome equation S (z). (Z) = z k , L (z) = 1, otherwise, the polynomial A (z) = S k−2 z k−1 + S k−3 z k−2 +... + S 0 z,
By storing L (z) = z, the syndrome equation S
Euclidean mutual execution can be performed regardless of the coefficient of (z), and the coefficients S k−1 to S k / 2 of the syndrome equation S (z)
It is possible to reduce the number of Galois field operations required to execute Euclidean mutual division under the condition of ≠ 0, and to reduce the amount of operation in the first Galois field operation regardless of the coefficient of the syndrome equation S (z). However, the condition of the coefficient of the syndrome equation S (z) does not have to be the above condition. For example, the coefficient S k-1 of the syndrome equation S (z)
= 0, polynomial A (z) = z k , L (z) = 1, otherwise, polynomial A (z) = S k−2 z k−1 + S k−3 z k−2 +
.. + S 0 z, L (z) = z, the Euclidean algorithm can be executed regardless of the coefficient of the syndrome equation S (z), and the coefficient S of the syndrome equation S (z) can be executed.
It is possible to reduce the number of Galois field operations required for performing Euclidean mutual exchange under the condition that k-1 ≠ 0.

【0162】また、シンドローム方程式S(z)の係数
k-1〜S0の内少なくとも一つが0の時、多項式A
(z)=zk、L(z)=1、それ以外の時、多項式A
(z)=Sk-2k-1+Sk-3k-2+…+S0z、L
(z)=zを格納すれば、シンドローム方程式S(z)
の係数に関わらずユークリッド互除の実行が可能とな
り、シンドローム方程式S(z)の係数Sk-1〜S0≠0
という条件のもとでのユークリッド互除の実行に必要な
ガロア体演算の回数を減らし、シンドローム方程式S
(z)の係数に関わらず1回目のガロア体演算における
演算量を減らすことが可能となる。
When at least one of the coefficients S k−1 to S 0 of the syndrome equation S (z) is 0, the polynomial A
(Z) = z k , L (z) = 1, otherwise, polynomial A
(Z) = S k−2 z k−1 + S k−3 z k−2 +... + S 0 z, L
If (z) = z is stored, the syndrome equation S (z)
Euclidean mutual exclusion can be performed regardless of the coefficient of the syndromes, and the coefficients S k−1 to S 0 ≠ 0 of the syndrome equation S (z)
The number of Galois field operations required to perform Euclidean mutual exchange under the condition
Regardless of the coefficient of (z), the amount of calculation in the first Galois field calculation can be reduced.

【0163】本実施の形態のユークリッド互除装置は、
シンドローム方程式S(z)=Sk- 1k-1+Sk-2k-2
+…+S0を入力とし、多項式記憶装置A,B,L,M
と、ガロア体演算装置とを備え、シンドローム方程式か
ら多項式記憶装置A,B,L,Mの初期設定を行ない、
多項式記憶装置A,B,L,Mとガロア体演算装置とを
用いてガロア体演算を行ない、誤り位置多項式を求める
ユークリッド互除装置において、初期設定時に、多項式
記憶装置Bに、多項式B(z)=Sk-1k-1+Sk-2
k-2+…+S0、多項式記憶装置Mに、多項式M(z)=
1を格納し、シンドローム方程式S(z)の係数によ
り、多項式記憶装置Aに、多項式A(z)=Sk-2k-1
+Sk-3k-2+…+S0z、多項式記憶装置Lに、多項
式L(z)=zを格納することを特徴とするユークリッ
ド互除装置であり、シンドローム方程式S(z)の係数
K-1=0の時、多項式記憶装置Aに、多項式A(z)
=zk、多項式記憶装置Lに、多項式L(z)=1を格
納することを特徴とするユークリッド互除装置とするこ
とで、シンドローム方程式S(z)の係数に関わらずユ
ークリッド互除の実行を可能とし、シンドローム方程式
S(z)の係数によりユークリッド互除の実行に必要な
ガロア体演算の回数を減らし、処理速度の高速化に対応
するものである。
The Euclidean mutual exchange device of the present embodiment
Syndrome equations S (z) = S k- 1 z k-1 + S k-2 z k-2
+... + S 0 as inputs, and polynomial storage devices A, B, L, M
And a Galois field arithmetic unit, and initializes the polynomial storage devices A, B, L, and M from the syndrome equations,
In a Euclidean mutual elimination device that performs Galois field arithmetic using the polynomial storage devices A, B, L, and M and a Galois field arithmetic device to obtain an error locator polynomial, the polynomial expression B (z) is stored in the polynomial storage device B during initialization. = S k-1 z k-1 + S k-2 z
k−2 +... + S 0 , the polynomial storage device M stores the polynomial M (z) =
1 is stored in the polynomial storage device A according to the coefficients of the syndrome equation S (z), and the polynomial A (z) = S k−2 z k−1
+ S k−3 z k−2 +... + S 0 z, a polynomial storage device L storing a polynomial L (z) = z, and a coefficient S of a syndrome equation S (z). When K-1 = 0, the polynomial A (z) is stored in the polynomial storage device A.
= Z k , the polynomial storage device L stores the polynomial L (z) = 1, so that the Euclidean algorithm can be executed regardless of the coefficient of the syndrome equation S (z). Thus, the number of Galois field operations required for executing Euclidean mutual division is reduced by the coefficient of the syndrome equation S (z), and the processing speed is increased.

【0164】さらに、多項式記憶装置Aは、レジスタa
k〜a0を備え、多項式記憶装置Bは、レジスタbk-1
0を備え、多項式記憶装置Lは、レジスタli-1〜l0
を備え(i>0;iは整数)、多項式記憶装置Mは、レ
ジスタmj-1〜m0を備え(j>0;jは整数)、シンド
ローム方程式S(z)の係数を監視し、シンドローム方
程式S(z)の係数により、0または1を監視信号とし
て出力するシンドローム監視装置を備え、初期設定時
に、レジスタbk-1〜b0にシンドローム方程式S(z)
の係数{Sk-1,Sk-2,…,S0}を、レジスタmwに定
数1を入力し(0≦w<j;wは整数)、監視信号が0
ならば、レジスタak〜a0に定数{1,…,0,0}
を、レジスタlvに定数0を入力し(0≦v<i;vは
整数)、監視信号が1ならば、レジスタap〜ap-k+1
シンドローム方程式S(z)の係数と定数{Sk-2,S
k-3,…,S0,0}を(p=kまたはk−1)、レジス
タlq〜l q-1に定数{1,0}を(0<q<i;qは整
数)入力することを特徴とするユークリッド互除装置で
あり、多項式記憶装置Aは、レジスタdAを備え、シン
ドローム監視装置は、シンドローム方程式S(z)の係
数Skー1〜Sk/2の内少なくとも一つが0なら監視信号を
0、それ以外なら1とし、初期設定時に、監視信号が0
ならば、レジスタdAに定数e(eは整数)を入力し、
監視信号が1ならば、レジスタdAに定数f(f≠e;
fは整数)を入力することを特徴とするユークリッド互
除装置とすることで、1回目のガロア体演算における演
算量を減らし、処理速度の高速化に対応するものであ
る。
Further, the polynomial storage device A includes a register a
k~ A0And the polynomial storage device B includes a register bk-1~
b0And the polynomial storage device L has a register li-1~ L0
(I> 0; i is an integer), and the polynomial storage device M
Jista mj-1~ M0(J> 0; j is an integer), and
Monitor the coefficient of the ROHM equation S (z) and use the syndrome method
According to the coefficient of the equation S (z), 0 or 1 is used as a monitoring signal.
Equipped with a syndrome monitoring device that outputs
And register bk-1~ B0The syndrome equation S (z)
Coefficient {Sk-1, Sk-2, ..., S0} To register mwFixed
Enter Equation 1 (0 ≦ w <j; w is an integer) and set the monitoring signal to 0
Then register ak~ A0To the constant {1, ..., 0,0}
To register lvAnd enter a constant 0 (0 ≦ v <i; v is
Integer), if the monitoring signal is 1, register ap~ Ap-k + 1To
Coefficient and constant of syndrome equation S (z) {Sk-2, S
k-3, ..., S0, 0} (p = k or k-1),
Taq~ L q-1With the constant {1,0} (0 <q <i; q is an integer
Number) with the Euclidean mutual exchange device characterized by inputting
The polynomial storage device A has a register dA,
The drome monitoring device is used to calculate the syndrome equation S (z).
Number Sk-1~ Sk / 2If at least one of them is 0
0, otherwise, 1
Then, input a constant e (e is an integer) to the register dA,
If the monitor signal is 1, a constant f (f ≠ e;
f is an integer).
In the first Galois field operation,
It is designed to reduce the amount of computation and increase the processing speed.
You.

【0165】本発明の実施の形態においては、電気通信
技術審議会のデジタル放送システム委員会報告に基づい
たリードソロモン誤り訂正方式で説明を行なった。しか
しながら、本発明は、これらの方式に関わらず、BCH
誤り訂正方式、リードソロモン誤り訂正方式などの誤り
訂正方式で用いられるユークリッド互除方法および装置
に関するものであり、シンドローム方程式S(z)=S
k-1k-1+Sk-2k-2+…+S0から多項式A(z),
B(z),L(z),M(z)の初期設定を行ない、ガ
ロア体演算を行なって、誤り位置多項式を求めるユーク
リッド互除方法において、その初期設定方法が、B
(z)=Sk-1k-1+Sk-2k-2+…+S0、M(z)
=1、シンドローム方程式S(z)の係数により、A
(z)=Sk-2k-1+Sk-3k-2+…+S0z、L
(z)=zとおく方法であるユークリッド互除方法、あ
るいは、シンドローム方程式S(z)=Sk-1k-1+S
k-2k-2+…+S0を入力とし、多項式記憶装置A,
B,L,Mと、ガロア体演算装置とを備え、シンドロー
ム方程式から多項式記憶装置A,B,L,Mの初期設定
を行ない、多項式記憶装置A,B,L,Mとガロア体演
算装置とを用いてガロア体演算を行ない、誤り位置多項
式を求めるユークリッド互除装置において、初期設定時
に、多項式記憶装置Bに、多項式B(z)=Sk-1k-1
+Sk-2k-2+…+S0、多項式記憶装置Mに、多項式
M(z)=1を格納し、シンドローム方程式S(z)の
係数により、多項式記憶装置Aに、多項式A(z)=S
k-2k-1+Sk-3k -2+…+S0z、多項式記憶装置L
に、多項式L(z)=zを格納することを特徴とするユ
ークリッド互除装置とすることで、本実施の形態と同様
の効果を得るものである。
In the embodiment of the present invention, the description has been given of the Reed-Solomon error correction system based on the report of the Digital Broadcasting System Committee of the Telecommunications Technology Council. However, the present invention does not apply to BCH
The present invention relates to a Euclidean algorithm and an Euclidean algorithm used in an error correction method such as an error correction method and a Reed-Solomon error correction method, wherein a syndrome equation S (z) = S
k−1 z k−1 + S k−2 z k−2 +... + S 0 from the polynomial A (z),
Initialization of B (z), L (z), and M (z) is performed, and Galois field arithmetic is performed to obtain an error locator polynomial.
(Z) = S k-1 z k-1 + S k-2 z k-2 + ... + S 0, M (z)
= 1, the coefficient of the syndrome equation S (z) gives
(Z) = S k−2 z k−1 + S k−3 z k−2 +... + S 0 z, L
The Euclidean mutual division method in which (z) = z or the syndrome equation S (z) = S k−1 z k−1 + S
k−2 z k−2 +... + S 0 are input, and the polynomial storage devices A,
B, L, M, and a Galois field arithmetic unit, and initializes the polynomial storage devices A, B, L, M from the syndrome equations, and stores the polynomial storage devices A, B, L, M, the Galois field arithmetic device, In the Euclidean mutual elimination apparatus which performs a Galois field operation using and calculates an error locator polynomial, the polynomial B (z) = S k−1 z k−1 in the polynomial storage B at the time of initialization.
+ S k−2 z k−2 +... + S 0 , the polynomial M (z) = 1 is stored in the polynomial storage M, and the polynomial A (z) is stored in the polynomial storage A by the coefficient of the syndrome equation S (z). ) = S
k−2 z k−1 + S k−3 z k− 2 +... + S 0 z, polynomial storage device L
By storing the polynomial L (z) = z in the Euclidean mutual elimination apparatus, the same effect as in the present embodiment can be obtained.

【0166】[0166]

【発明の効果】以上のように本発明によれば、ガロア体
演算の演算量が減るので、処理速度の高速化に対応でき
るユークリッド互除方法および装置が実現できる。
As described above, according to the present invention, the operation amount of Galois field arithmetic is reduced, so that a Euclidean mutual exclusion method and apparatus which can cope with an increase in processing speed can be realized.

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

【図1】本発明の実施の形態1のユークリッド互除方法
の初期設定方法を示すフローチャート図
FIG. 1 is a flowchart showing an initial setting method of a Euclidean mutual exclusion method according to a first embodiment of the present invention.

【図2】同実施の形態2のユークリッド互除方法の初期
設定方法を示すフローチャート図
FIG. 2 is a flowchart illustrating an initial setting method of a Euclidean mutual division method according to the second embodiment;

【図3】同実施の形態3のユークリッド互除方法の初期
設定方法を示すフローチャート図
FIG. 3 is a flowchart showing an initial setting method of a Euclidean mutual exclusion method according to the third embodiment;

【図4】同実施の形態4のユークリッド互除装置の構成
を示すブロック図
FIG. 4 is a block diagram showing a configuration of a Euclidean mutual exchange apparatus according to the fourth embodiment;

【図5】同ユークリッド互除装置の第1の演算例におけ
る多項式記憶装置の状態図
FIG. 5 is a state diagram of a polynomial storage device in a first operation example of the Euclidean algorithm.

【図6】同ユークリッド互除装置の第2の演算例におけ
る多項式記憶装置の状態図
FIG. 6 is a state diagram of a polynomial storage device in a second operation example of the Euclidean algorithm unit;

【図7】本発明の実施の形態5のユークリッド互除装置
の構成を示すブロック図
FIG. 7 is a block diagram showing a configuration of a Euclidean mutual exchange apparatus according to a fifth embodiment of the present invention.

【図8】同ユークリッド互除装置の第1の演算例におけ
る多項式記憶装置の状態図
FIG. 8 is a state diagram of a polynomial storage device in a first operation example of the Euclidean algorithm unit;

【図9】同ユークリッド互除装置の第2の演算例におけ
る多項式記憶装置の状態図
FIG. 9 is a state diagram of a polynomial storage device in a second operation example of the Euclidean algorithm unit;

【図10】同ユークリッド互除装置の第3の演算例にお
ける多項式記憶装置の状態図
FIG. 10 is a state diagram of a polynomial storage device in a third operation example of the Euclidean algorithm unit;

【図11】本発明の実施の形態6のユークリッド互除装
置の構成を示すブロック図
FIG. 11 is a block diagram showing a configuration of an Euclidean mutual exchange device according to a sixth embodiment of the present invention.

【図12】同ユークリッド互除装置の第1の演算例にお
ける多項式記憶装置の状態図
FIG. 12 is a state diagram of a polynomial storage device in a first operation example of the Euclidean algorithm unit;

【図13】同ユークリッド互除装置の第2の演算例にお
ける多項式記憶装置の状態図
FIG. 13 is a state diagram of a polynomial storage device in a second operation example of the Euclidean algorithm unit;

【図14】同ユークリッド互除装置の第3の演算例にお
ける多項式記憶装置の状態図
FIG. 14 is a state diagram of a polynomial storage device in a third operation example of the Euclidean algorithm unit;

【図15】従来例のユークリッド互除方法の初期設定方
法を示すフローチャート図
FIG. 15 is a flowchart showing an initial setting method of a conventional Euclidean mutual division method.

【図16】初期設定後の一般的なユークリッド互除方法
を示すフローチャート図
FIG. 16 is a flowchart showing a general Euclidean mutual exchange method after initialization.

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

0〜15 シンドローム 17 監視信号 50 シンドローム監視装置 60 ガロア体演算装置 100,120,140,160 多項式記憶装置 0-15 Syndrome 17 Monitoring signal 50 Syndrome monitoring device 60 Galois field arithmetic device 100, 120, 140, 160 Polynomial storage device

Claims (12)

【特許請求の範囲】[Claims] 【請求項1】 シンドローム方程式S(z)=Sk-1
k-1+Sk-2k-2+…+S0、(kはk>0の整数、S
k-1〜S0はガロア体上の元)から多項式A(z),B
(z),L(z),M(z)の初期設定を行ない、ガロ
ア体演算を行なって、誤り位置多項式を求めるユークリ
ッド互除方法において、 その初期設定方法が、前記多項式B(z),M(z)
を、B(z)=Sk-1k -1+Sk-2k-2+…+S0、M
(z)=1とし、 前記シンドローム方程式S(z)の係数により、前記多
項式A(z),L(z)を、A(z)=Sk-2k-1+S
k-3k-2+…+S0z、L(z)=zとおく方法である
ユークリッド互除方法。
1. The syndrome equation S (z) = S k-1 z
k-1 + S k-2 z k-2 + ... + S 0, (k is k> 0 of the integer, S
k-1 to S 0 polynomial A (z) from the original) in a Galois field, B
(Z), L (z), and M (z) are initialized, and a Galois field operation is performed to obtain an error locator polynomial. In the Euclidean mutual division method, the initial setting method is the polynomial B (z), M (Z)
B (z) = S k−1 z k− 1 + S k−2 z k−2 +... + S 0 , M
(Z) = 1, and the polynomials A (z) and L (z) are converted into A (z) = S k−2 z k−1 + S by the coefficient of the syndrome equation S (z).
k-3 z k-2 +... + S 0 z, L (z) = z, a Euclidean mutual division method.
【請求項2】 初期設定方法が、シンドローム方程式S
(z)の係数Sk-1〜Sn=0かつSn-1≠0の時(nは
n≦k−1の整数)、多項式A(z),L(z)を、A
(z)=Sn-2k-1+Sn-3k-2+…+S0k-n+1、L
(z)=zk-n+ 1とおく方法である請求項1記載のユー
クリッド互除方法。
2. An initialization method according to claim 1, wherein the syndrome equation S
When the coefficients of (z) S k-1 ~S n = 0 and S n-1 ≠ 0 (n is n ≦ k-1 integer) polynomial A (z), L a (z), A
(Z) = S n-2 z k-1 + S n-3 z k-2 + ... + S 0 z k-n + 1, L
2. The method according to claim 1, wherein (z) = z k−n + 1 .
【請求項3】 初期設定方法が、少なくとも、シンドロ
ーム方程式S(z)の係数Sk-1=0の時、多項式A
(z),L(z)を、A(z)=zk、L(z)=1と
おくことを特徴とする請求項1記載のユークリッド互除
方法。
3. When the initial setting method is at least when the coefficient S k-1 = 0 of the syndrome equation S (z), the polynomial A
2. The Euclidean mutual division method according to claim 1, wherein (z) and L (z) are set as A (z) = z k and L (z) = 1.
【請求項4】 初期設定方法が、シンドローム方程式S
(z)の係数Sk-1〜Sk/2の内少なくとも一つが0の
時、多項式A(z),L(z)を、A(z)=zk、L
(z)=1とおくことを特徴とする請求項3記載のユー
クリッド互除方法。
4. An initialization method according to claim 1, wherein the syndrome equation S
When at least one of the coefficients S k−1 to S k / 2 of (z) is 0, the polynomials A (z) and L (z) are expressed as A (z) = z k , L
4. The method according to claim 3, wherein (z) = 1.
【請求項5】 シンドローム方程式S(z)=Sk-1
k-1+Sk-2k-2+…+S0、(kはk>0の整数、S
k-1〜S0はガロア体上の元)を入力とし、多項式記憶装
置A,B,L,Mと、ガロア体演算装置とを備え、前記
シンドローム方程式から前記多項式記憶装置A,B,
L,Mの初期設定を行ない、前記多項式記憶装置A,
B,L,Mと前記ガロア体演算装置とを用いてガロア体
演算を行ない、誤り位置多項式を求めるユークリッド互
除装置において、 初期設定時に、前記多項式記憶装置Bに、多項式B
(z)=Sk-1k-1+Sk- 2k-2+…+S0を、前記多
項式記憶装置Mに、多項式M(z)=1を格納し、 前記シンドローム方程式S(z)の係数により、前記多
項式記憶装置Aに、多項式A(z)=Sk-2k-1+S
k-3k-2+…+S0zを、前記多項式記憶装置Lに、多
項式L(z)=zを格納することを特徴とするユークリ
ッド互除装置。
5. The syndrome equation S (z) = S k−1 z
k-1 + S k-2 z k-2 + ... + S 0, (k is k> 0 of the integer, S
k-1 to S 0 as an input the original) in a Galois field, the polynomial storage device A, B, L, M and, a Galois field arithmetic unit, wherein from the syndrome equations polynomial storage device A, B,
L and M are initialized, and the polynomial storage devices A and
A Euclidean algorithm for performing a Galois field operation using B, L, and M and the Galois field arithmetic unit to obtain an error locator polynomial. The polynomial B is stored in the polynomial storage device B at the time of initialization.
(Z) = S k−1 z k−1 + S k− 2 z k−2 +... + S 0 and the polynomial M (z) = 1 are stored in the polynomial storage device M, and the syndrome equation S (z ), The polynomial storage device A stores the polynomial A (z) = S k−2 z k−1 + S
The k-3 z k-2 + ... + S 0 z, the polynomial storage device L, the Euclidean mutual division apparatus characterized by storing the polynomial L (z) = z.
【請求項6】 初期設定時に、前記シンドローム方程式
S(z)の係数Sk-1〜Sn=0かつSn-1≠0の時(n
はn≦k−1の整数)、多項式記憶装置Aに、多項式A
(z)=Sn-2k-1+Sn-3k-2+…+S0k-n+1を、
多項式記憶装置Lに、多項式L(z)=zk-n+1を格納
することを特徴とする請求項5記載のユークリッド互除
装置。
6. Initialization, when coefficients S k-1 to S n = 0 and S n-1 ≠ 0 of the syndrome equation S (z) are satisfied (n
Is an integer of n ≦ k−1), and the polynomial storage device A stores the polynomial A
The (z) = S n-2 z k-1 + S n-3 z k-2 + ... + S 0 z k-n + 1,
6. The Euclidean algorithm according to claim 5, wherein a polynomial L (z) = zk -n + 1 is stored in the polynomial storage device L.
【請求項7】 初期設定時に、少なくとも、シンドロー
ム方程式S(z)の係数SK-1=0の時、多項式記憶装
置Aに、多項式A(z)=zkを、多項式記憶装置L
に、多項式L(z)=1を格納することを特徴とする請
求項5記載のユークリッド互除装置。
7. At the time of initialization, at least when the coefficient S K-1 = 0 of the syndrome equation S (z), the polynomial A (z) = z k is stored in the polynomial storage A, and the polynomial storage L
The Euclidean mutual division apparatus according to claim 5, wherein a polynomial L (z) = 1 is stored in the Eq.
【請求項8】 初期設定時に、シンドローム方程式S
(z)の係数Sk-1〜Sk /2の内少なくとも一つが0の
時、多項式記憶装置Aに、多項式A(z)=zkを、多
項式記憶装置Lに、多項式L(z)=1を格納すること
を特徴とする請求項7記載のユークリッド互除装置。
8. At the time of initialization, the syndrome equation S
When at least one of the coefficients S k−1 to S k / 2 of (z) is 0, the polynomial A (z) = z k is stored in the polynomial storage device A, and the polynomial L (z) is stored in the polynomial storage device L. 8. The Euclidean mutual exchange apparatus according to claim 7, wherein = 1 is stored.
【請求項9】 多項式記憶装置Aは、レジスタak-1
0を備え、多項式記憶装置Bは、レジスタbk-1〜b0
を備え、多項式記憶装置Lは、レジスタli-1〜l0(i
はi>0の整数)を備え、多項式記憶装置Mは、レジス
タmj-1〜m0(jはj>0の整数)を備え、 シンドローム方程式S(z)の係数を監視し、前記シン
ドローム方程式S(z)の係数により、0または1を監
視信号として出力するシンドローム監視装置を備え、 初期設定時に、前記レジスタbk-1〜b0に前記シンドロ
ーム方程式S(z)の係数{Sk-1,Sk-2,…,S0
を、前記レジスタmw(wは0≦w<jの整数)に定数
1を入力し、 前記監視信号が1ならば、前記レジスタak-1〜a0に前
記シンドローム方程式S(z)の係数と定数{Sk-2
k-3,…,S0,0}を、前記レジスタlv〜l v-1(v
は0<v<iの整数)に定数{1,0}を入力すること
を特徴とする請求項5記載のユークリッド互除装置。
9. The polynomial storage device A includes a register ak-1~
a0And the polynomial storage device B includes a register bk-1~ B0
And the polynomial storage device L has a register li-1~ L0(I
Is an integer of i> 0), and the polynomial storage device M
Mj-1~ M0(J is an integer of j> 0), and the coefficient of the syndrome equation S (z) is monitored.
0 or 1 is monitored by the coefficient of the Drome equation S (z).
A syndrome monitoring device that outputs a visual signal;k-1~ B0The Syndrome
{S of the equation of equation S (z)k-1, Sk-2, ..., S0
With the register mw(W is an integer of 0 ≦ w <j)
If the monitor signal is 1, the register ak-1~ A0Before
Coefficient and constant {S of the syndrome equation S (z)k-2,
Sk-3, ..., S0, 0} in the register lv~ L v-1(V
Is an integer of 0 <v <i) and input the constant {1,0}
The Euclidean mutual exchange device according to claim 5, characterized in that:
【請求項10】 多項式記憶装置Aは、レジスタak-1
〜a0を備え、多項式記憶装置Bは、レジスタbk-1〜b
0とレジスタdBを備え、多項式記憶装置Lは、レジス
タli-1〜l0(iはi>0の整数)を備え、多項式記憶
装置Mは、レジスタmj-1〜m0(jはj>0の整数)を
備え、 前記レジスタbk-1を監視し、前記レジスタbk-1に格納
されているデータが0なら0、0以外なら1を監視信号
として出力するシンドローム監視装置を備え、 初期設定時に、前記レジスタak-1〜a0にシンドローム
方程式S(z)の係数と定数{Sk-2,Sk-3,…,
0,0}を、前記レジスタbk-1〜b0に前記シンドロ
ーム方程式S(z)の係数{Sk-1,Sk-2,…,S0
を、前記レジスタlv〜lv-1(vは0<v<iの整数)
に定数{1,0}を、前記レジスタmw(wは0≦w<
jの整数)に定数1を、前記レジスタdBに定数を入力
し、 前記監視信号が0ならば、前記監視信号が1になるま
で、前記レジスタak-1〜a0,bk-1〜b0の格納するデ
ータを、それぞれ添え字の大きい方へシフトし、シフト
した回数分、前記レジスタdBの格納する値をインクリ
メントまたはデクリメントすることを特徴とする請求項
6記載のユークリッド互除装置。
10. The polynomial storage device A includes a register a k-1
Aa 0 , and the polynomial storage device B has registers b k−1 bb
0 and a register dB, the polynomial storage device L includes registers l i-1 to l 0 (i is an integer of i> 0), and the polynomial storage device M includes registers m j-1 to m 0 (j comprising a j> 0 integer), monitoring the register b k-1, a syndrome monitoring device for outputting 1 if other than the register b if k-1 data stored in the 0 0,0 as the monitoring signal comprising, at initialization, the register a k-1 ~a 0 to the coefficients and constants of the syndrome equations S (z) {S k- 2, S k-3, ...,
S 0 , 0} are stored in the registers b k−1 to b 0 as coefficients {S k−1 , S k−2 ,..., S 0 } of the syndrome equation S (z).
In the registers l v to l v -1 (v is an integer of 0 <v <i)
To the register m w (w is 0 ≦ w <
(integer of j) and a constant to the register dB. If the monitoring signal is 0, the registers a k-1 to a 0 and b k-1 to b 0 until the monitoring signal becomes 1 . the data stored in b 0, is shifted towards larger subscript each letter, it shifted number of times, the Euclidean mutual division apparatus according to claim 6, wherein the increment or decrement the value to be stored in the register dB.
【請求項11】 多項式記憶装置Aは、レジスタak
0を備え、多項式記憶装置Bは、レジスタbk-1〜b0
を備え、多項式記憶装置Lは、レジスタli-1〜l0(i
はi>0の整数)を備え、多項式記憶装置Mは、レジス
タmj-1〜m0(jはj>0の整数)を備え、 シンドローム方程式S(z)の係数を監視し、0または
1を監視信号として出力し、少なくとも、前記シンドロ
ーム方程式S(z)の係数Skー1が0なら前記監視信号
を0とするシンドローム監視装置を備え、 初期設定時に、前記レジスタbk-1〜b0に前記シンドロ
ーム方程式S(z)の係数{Sk-1,Sk-2,…,S0
を、前記レジスタmw(wは0≦w<jの整数)に定数
1を入力し、 前記監視信号が0ならば、前記レジスタak〜a0に定数
{1,…,0,0}を、前記レジスタlv(vは0≦v
<iの整数)に定数0を入力し、 前記監視信号が1ならば、前記レジスタap〜a
p-k+1(p=kまたはk−1)に前記シンドローム方程
式S(z)の係数と定数{Sk-2,Sk-3,…,S0
0}を、前記レジスタlq〜lq-1(qは0<q<iの整
数)に定数{1,0}を入力することを特徴とする請求
項7記載のユークリッド互除装置。
11. The polynomial storage device A includes registers a k to
a 0 , and the polynomial storage device B includes registers b k−1 to b 0
And the polynomial storage device L includes registers l i-1 to l 0 (i
Is an integer of i> 0), the polynomial storage device M is provided with registers m j−1 to m 0 (j is an integer of j> 0), and monitors the coefficients of the syndrome equation S (z). 1 outputs as a monitor signal, at least, the coefficient S k-1 of the syndrome equations S (z) comprises a syndrome monitoring device to 0 the monitoring signal if 0, at initialization, the register b k-1 ~ In b 0 , coefficients {S k−1 , S k−2 ,..., S 0 } of the syndrome equation S (z)
Is input to the register m w (w is an integer of 0 ≦ w <j). If the monitoring signal is 0, the constants {1,..., 0, 0} are stored in the registers a k to a 0 . With the register l v (v is 0 ≦ v
<Integer of i>, a constant 0 is input, and if the monitoring signal is 1, the registers a p to a
p-k + 1 coefficients (p = k or k-1) to the syndrome equations S (z) and a constant {S k-2, S k -3, ..., S 0,
0}, the register l q ~l q-1 (q is 0 <q <i integer) Euclid apparatus according to claim 7, wherein the inputting the constant {1,0} to.
【請求項12】 多項式記憶装置Aは、レジスタdAを
備え、シンドローム監視装置は、シンドローム方程式S
(z)の係数Skー1〜Sk/2の内少なくとも一つが0なら
前記監視信号を0、それ以外なら1とし、初期設定時
に、前記監視信号が0ならば、前記レジスタdAに定数
e(eは整数)を入力し、前記監視信号が1ならば、前
記レジスタdAに定数f(fはf≠eの整数)を入力す
ることを特徴とする請求項11記載のユークリッド互除
装置。
12. The polynomial storage device A has a register dA, and the syndrome monitoring device has a syndrome equation S
If at least one of the coefficients S k−1 to S k / 2 of (z) is 0, the monitoring signal is set to 0, otherwise, 1 is set. If the monitoring signal is 0 at the time of initial setting, a constant is set in the register dA. 12. The Euclidean mutual exchange apparatus according to claim 11, wherein e (e is an integer) is input, and if the monitor signal is 1, a constant f (f is an integer of f ≠ e) is input to the register dA.
JP18191496A 1996-06-27 1996-07-11 Euclid mutual exchange method and apparatus Expired - Fee Related JP3304770B2 (en)

Priority Applications (6)

Application Number Priority Date Filing Date Title
JP18191496A JP3304770B2 (en) 1996-07-11 1996-07-11 Euclid mutual exchange method and apparatus
EP01202018A EP1150435A1 (en) 1996-06-27 1997-06-25 Apparatus for performing Euclid's algorithm depending on the coefficients of the syndrome polynomial
EP03026166A EP1420517A1 (en) 1996-06-27 1997-06-25 Reed-solomon error-correcting circuit, euclid's algorithm and apparatus
EP97928465A EP0911983A4 (en) 1996-06-27 1997-06-25 Reed solomon error correcting circuit and method and device for euclidean mutual division
US09/202,998 US6374384B1 (en) 1996-06-27 1997-06-25 Reed Solomon error correcting circuit and method and device for Euclidean mutual division
PCT/JP1997/002198 WO1997050184A1 (en) 1996-06-27 1997-06-25 Reed solomon error correcting circuit and method and device for euclidean mutual division

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP18191496A JP3304770B2 (en) 1996-07-11 1996-07-11 Euclid mutual exchange method and apparatus

Publications (2)

Publication Number Publication Date
JPH1028059A true JPH1028059A (en) 1998-01-27
JP3304770B2 JP3304770B2 (en) 2002-07-22

Family

ID=16109119

Family Applications (1)

Application Number Title Priority Date Filing Date
JP18191496A Expired - Fee Related JP3304770B2 (en) 1996-06-27 1996-07-11 Euclid mutual exchange method and apparatus

Country Status (1)

Country Link
JP (1) JP3304770B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
FR2773284A1 (en) * 1997-12-26 1999-07-02 Nec Corp Reed-Solomon signal decoding circuit

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
FR2773284A1 (en) * 1997-12-26 1999-07-02 Nec Corp Reed-Solomon signal decoding circuit

Also Published As

Publication number Publication date
JP3304770B2 (en) 2002-07-22

Similar Documents

Publication Publication Date Title
US5999959A (en) Galois field multiplier
EP0329789B1 (en) Galois field arithmetic unit
US6543026B1 (en) Forward error correction apparatus and methods
WO2000057561A1 (en) Pipelined high speed reed-solomon error/erasure decoder
US5490154A (en) Method of and circuit arrangement for decoding RS-coded data signals
US6772385B2 (en) Error-correcting device and decoder enabling fast error correction with reduced circuit scale
US5983389A (en) Error correction decoding apparatus
US7047481B2 (en) Decoding method and decoder for Reed Solomon code
JP2800723B2 (en) Error location detection circuit of Reed-Solomon decoder
JP2001196938A (en) Device and method for decoding digital data
WO1997050184A1 (en) Reed solomon error correcting circuit and method and device for euclidean mutual division
US6915478B2 (en) Method and apparatus for computing Reed-Solomon error magnitudes
JP3304770B2 (en) Euclid mutual exchange method and apparatus
JP3343857B2 (en) Decoding device, arithmetic device, and methods thereof
JP3281938B2 (en) Error correction device
JP2553565B2 (en) Galois field arithmetic unit
WO1999016175A1 (en) Semiconductor integrated circuit and data processing system
JP3233502B2 (en) Decryption device
JP2907138B2 (en) Error correction arithmetic processing method and processing circuit
JPH04365139A (en) Syndrome operation circuit for error correction processing
US6446233B1 (en) Forward error correction apparatus and methods
JP3850512B2 (en) Reed-Solomon decoder
JPH0834439B2 (en) Galois field arithmetic unit
JP2553571B2 (en) Galois field arithmetic unit
JP2000315955A (en) Encoding method, syndrome calculating method, number of erroneous bits estimating method, erroneous bit position estimating method, decoding method and decoder

Legal Events

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

Free format text: PAYMENT UNTIL: 20090510

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20100510

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20110510

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20120510

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20130510

Year of fee payment: 11

LAPS Cancellation because of no payment of annual fees