JPH11274940A - Reed-solomon decoding method using modified berlekamp-massey algorithm, and decoder thereof - Google Patents

Reed-solomon decoding method using modified berlekamp-massey algorithm, and decoder thereof

Info

Publication number
JPH11274940A
JPH11274940A JP453599A JP453599A JPH11274940A JP H11274940 A JPH11274940 A JP H11274940A JP 453599 A JP453599 A JP 453599A JP 453599 A JP453599 A JP 453599A JP H11274940 A JPH11274940 A JP H11274940A
Authority
JP
Japan
Prior art keywords
error
term
polynomial
calibration
error estimation
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP453599A
Other languages
Japanese (ja)
Inventor
Genchin Ri
元 鎭 李
Daiichi Go
大 一 呉
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.)
SK Hynix Inc
Original Assignee
Hyundai Electronics Industries 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 Hyundai Electronics Industries Co Ltd filed Critical Hyundai Electronics Industries Co Ltd
Publication of JPH11274940A publication Critical patent/JPH11274940A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To provide a Reed-Solomon decoding method using a modified Berlekamp- Massey algorithm that is a compromise between the Berlekamp-Massey algorithm and a Euclidian algorithm and to provide its decoder. SOLUTION: This Reed-Solomon decoder provided with a timing and control signal generating section 71, an error location polynomial calibration term register section 72, and error location register section 75, a syndrome register section 76, and a disagreement degree generating section 85 is provided with a divider that receives a disagreement degree output Δr of the error location polynomial calibration term register section 72, an estimate register section 74, and the disagreement degree generating section 85 and an error estimate term of the estimate register section 74 to calculate a new error estimate calibration term and to give it to the error location polynomial calibration term register section 72, a multiplier that receives the input of the disagreement degree output Δr from the disagreement degree generating section 85 and an input of a quotient from the error location polynomial calibration term register section 72 and multiplies them, and an adder that adds the output of the estimate register section 74 to the output of the multiplier and gives the sum to the estimated register section 74.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION 【発明の属する技術分野】TECHNICAL FIELD OF THE INVENTION

【0001】本発明は、リードソロモン復号器に係り、
特に(Berlekamp-Massey)アルゴリズムとユークリッド(E
uclid)アルゴリズムを折衷した修正されたバリケンプ−
メッシアルゴリズムを用いたリードソロモン復号方法と
その復号器に関する。
[0001] The present invention relates to a Reed-Solomon decoder,
In particular, the (Berlekamp-Massey) algorithm and the Euclidean (E
uclid) Modified Vari Kemp with an algorithm
The present invention relates to a Reed-Solomon decoding method using a Messi algorithm and its decoder.

【0002】[0002]

【従来の技術】図1はATSC(American Television S
ystem Committee) 8VSB(Vestigial Side Band)規格
の伝送段で順方向誤り訂正器を構成する符号器の構成を
示すブロック図である。このような構成をもつ伝送段で
は、まずデータを乱数化器11で乱数化(randomized)
し、リードソロモン符号器12でリードソロモン符号化
した後、インタリーバー(interleaver)13で誤り訂正
のためにインタリーブし、格子符号器14で格子符号化
して伝送する。
2. Description of the Related Art FIG. 1 shows an ATSC (American Television S).
FIG. 2 is a block diagram showing a configuration of an encoder that constitutes a forward error corrector at a transmission stage of 8VSB (Vestigial Side Band) standard. In the transmission stage having such a configuration, data is first randomized by the randomizer 11.
Then, after the Reed-Solomon encoder 12 performs Reed-Solomon encoding, an interleaver 13 interleaves for error correction, and a lattice encoder 14 lattice-encodes and transmits.

【0003】図2はATSC 8VSB規格の受信段で
順方向誤り訂正器を構成する復号器の構成を示すブロッ
ク図である。このような構成をもつ受信段では伝送時の
逆順に格子復号器(Viterbi decoder)21で復号化し、
逆インタリーバー(de-interleaver)22で逆インタリー
ブ(de-interleaving)する。逆インタリーバー22から
出力された信号はリードソロモン復号器23で復号され
た後、逆乱数化器(de-randomizer)24で逆乱数化され
て送信段の原信号が復旧される。
FIG. 2 is a block diagram showing a configuration of a decoder constituting a forward error corrector at a receiving stage of the ATSC 8VSB standard. In the receiving stage having such a configuration, decoding is performed by the lattice decoder (Viterbi decoder) 21 in the reverse order of transmission,
De-interleaving is performed by a de-interleaver 22. The signal output from the deinterleaver 22 is decoded by a Reed-Solomon decoder 23 and then de-randomized by a de-randomizer 24 to recover the original signal of the transmission stage.

【0004】前記リードソロモン復号器23の一般的な
復号化過程は次の通りである。 (1)受信系列r(x)信号から2t個のシンドローム
(syndrome)を求める。 (2)前記計算したシンドロームから誤り位置多項式(e
rror locater polynomial)と誤り推定多項式(error eva
luator polynomial)を計算する。 (3)誤りの位置を求めるために誤り位置多項式の根を
計算する。 (4)誤り位置多項式と誤り推定多項式から誤り値を計
算する。 (5)受信系列に発生した誤りを訂正する。
The general decoding process of the Reed-Solomon decoder 23 is as follows. (1) 2t syndromes from received sequence r (x) signal
(syndrome). (2) An error locator polynomial (e
rror locater polynomial) and the error estimation polynomial (error eva
luator polynomial). (3) Calculate the root of the error locator polynomial to find the location of the error. (4) An error value is calculated from the error locator polynomial and the error estimation polynomial. (5) Correct an error generated in the reception sequence.

【0005】図3は前記リードソロモン復号器の構成を
示すブロック図である。リードソロモン復号器は、復号
部31と遅延素子32に大きく分けられ、復号部31は
シンドローム計算部31aから入力された受信信号r
(x)に生成多項式の根akを代入して2t個のシンド
ローム要素Sを求め、誤り位置多項式及び誤り推定
多項式計算部31bで前記算出したシンドロームから誤
り位置多項式と誤り推定多項式をそれぞれ計算する。そ
して、誤り位置及び誤り値計算部31cは、前記誤り位
置多項式及び誤り推定多項式計算部31bで計算された
誤り位置多項式と誤り推定多項式から誤り位置と誤り値
を計算する。このように計算された誤り値は、排他的論
理和素子33で遅延素子32によって前記復号部31の
誤り値計算のための時間だけ遅延した受信信号と排他的
論理和(exclusive-OR)されて受信データの誤りを訂正す
る。
FIG. 3 is a block diagram showing the configuration of the Reed-Solomon decoder. The Reed-Solomon decoder is roughly divided into a decoding unit 31 and a delay element 32. The decoding unit 31 receives the received signal r input from the syndrome calculation unit 31a.
By substituting the root ak of the generator polynomial into (x), 2t syndrome elements S k are obtained, and an error locator polynomial and an error estimator polynomial calculator 31b calculate an error locator polynomial and an error estimator polynomial from the calculated syndromes, respectively. . The error position and error value calculator 31c calculates an error position and an error value from the error position polynomial and the error estimation polynomial calculated by the error position polynomial and error estimation polynomial calculator 31b. The error value calculated in this way is exclusive-ORed with the received signal delayed by the time for the error value calculation of the decoding unit 31 by the delay element 32 in the exclusive OR element 33. Correct the error in the received data.

【0006】図4の復号化過程で誤り位置多項式を求め
る部分(誤り位置多項式及び誤り推定多項式計算部)が
リードソロモン復号器の性能を左右する。図4は従来の
誤り位置多項式を計算する誤り位置多項式計算部の詳細
図である。図4に示すように、タイミング及び制御信号
発生部41は、入力されるクロックと不一致度(discre
pancy)生成部44からの不一致度Δに応じて各レジ
スタのクロック信号とスイッチ制御信号Contorl
−0,Contorl−1,Contorl−2を発生
させる。即ち、前記スイッチ制御信号Contorl−
0は第1スイッチS1を制御し、スイッチ制御信号Co
ntorl−1は第2及び第3スイッチS2,S3を制
御し、スイッチ制御信号Control−2は第4スイ
ッチS4を制御する。
In the decoding process shown in FIG. 4, a part for calculating an error locator polynomial (an error locator polynomial and an error estimation polynomial calculator) determines the performance of the Reed-Solomon decoder. FIG. 4 is a detailed diagram of a conventional error locator polynomial calculator for calculating an error locator polynomial. As shown in FIG. 4, the timing and control signal generator 41 outputs a discrepancy (discrete)
Pancy) clock signal of each register in response to the inconsistency delta r from generator 44 and the switch control signal Contorl
-0, Control-1 and Control-2 are generated. That is, the switch control signal Control-
0 controls the first switch S1 and the switch control signal Co
control-1 controls the second and third switches S2 and S3, and the switch control signal Control-2 controls the fourth switch S4.

【0007】そして、誤り位置多項式校正項レジスタ部
42は、除算器46から出力される信号の伝達を前記第
1スイッチS1を通して受け、誤り位置多項式から誤り
位置校正項を生成する。誤り位置レジスタ部43は第2
加算器47から出力される信号によって誤り位置多項式
を生成する。また、シンドロームレジスタ部45は自分
の出力信号のフィードバックを受けてシンドローム項を
生成する。
The error locator polynomial calibration term register 42 receives the signal output from the divider 46 through the first switch S1, and generates an error locator calibration term from the error locator polynomial. The error position register unit 43
The error locator polynomial is generated by the signal output from the adder 47. Further, the syndrome register unit 45 receives the feedback of its own output signal and generates a syndrome term.

【0008】一方、第1乗算器49は、前記誤り位置レ
ジスタ部43から出力される誤り位置項と前記シンドロ
ームレジスタ部45から出力されるシンドローム項を第
4スイッチS4を介して入力して2つの項を掛け合わせ
て出力し、前記第1乗算器49から出力される信号は、
第1加算器50に入力される。前記第1加算器50は、
前記第1乗算器49の出力と前記不一致度生成部44か
らの不一致度を加算して、その結果値を前記不一致度生
成部44に入力する。
On the other hand, the first multiplier 49 inputs the error position term output from the error position register section 43 and the syndrome term output from the syndrome register section 45 via a fourth switch S4, and The signal output from the first multiplier 49 is
It is input to the first adder 50. The first adder 50 includes:
The output of the first multiplier 49 is added to the inconsistency from the inconsistency generator 44, and the result is input to the inconsistency generator 44.

【0009】不一致度生成部44は、前記第1加算器5
0から出力される信号に応じて不一致度Δを生成す
る。このように生成される不一致度Δは、除算器4
6、タイミング及び制御信号発生部41、第3スイッチ
を介して第1加算器50にそれぞれ入力され、前記除算
器46は、前記不一致度生成部44の不一致度出力Δ
と前記誤り位置レジスタ部43から出力される誤り位置
項の入力を受けて新しい誤り位置校正項を算出し、その
算出した誤り位置項を第1スイッチS1を介して前記誤
り位置多項式校正項レジスタ部42に入力して誤り位置
校正項が生成されるようにする。また、第2乗算器48
は、前記不一致度生成部44から出力される不一致度Δ
、及び前記誤り位置校正項レジスタ部42から出力さ
れる誤り位置校正項の入力を第2スイッチS2を介して
受け、掛け合わせて出力する。
The inconsistency generating section 44 is provided with the first adder 5
Generating a dissimilarity delta r in accordance with a signal outputted from 0. Thus the inconsistency delta r is generated, the divider 4
6, the timing and control signal generator 41 and the third switch are input to the first adder 50, and the divider 46 outputs the mismatch output Δ r of the mismatch generator 44.
And an error position term output from the error position register 43, and calculates a new error position calibration term. The calculated error position term is stored in the error position polynomial calibration term register section via a first switch S1. Input to 42 to generate an error location calibration term. Also, the second multiplier 48
Is the degree of mismatch Δ output from the degree-of-mismatch generator 44
r and the error position calibration term output from the error position calibration term register 42 are received via the second switch S2, and are multiplied and output.

【0010】このように出力される信号は第2加算器4
7に入力され、前記第2加算器47は前記第2乗算器4
8の出力と前記誤り位置レジスタ部43の出力を加算し
てその結果値を誤り位置レジスタ部43に入力する。一
方、第1乃至第4スイッチS1〜S4は前記タイミング
及び制御信号発生部41から出力されるスイッチ制御信
号Control−0〜Contorl−2に応じてス
イッチング動作を行う。
The signal output in this manner is supplied to the second adder 4
7 and the second adder 47 is connected to the second multiplier 4
8 and the output of the error position register 43, and the result is input to the error position register 43. On the other hand, the first to fourth switches S1 to S4 perform a switching operation according to the switch control signals Control-0 to Control-2 output from the timing and control signal generator 41.

【0011】即ち、第1スイッチS1は、前記誤り位置
多項式校正項レジスタ部42の出力を入力とするか、或
いは前記除算器46の出力信号を前記誤り位置多項式校
正項レジスタ部42に入力する。第2スイッチS2は、
前記前記誤り位置多項式校正項レジスタ部42の出力を
第2乗算器48に入力する。第3スイッチS3は、前記
不一致度生成部44の出力を前記第1加算器50に入力
する。第4スイッチS4は、前記シンドロームレジスタ
部45の出力を前記第1乗算器49に入力する。
That is, the first switch S1 receives the output of the error locator polynomial calibration term register 42 as an input, or inputs the output signal of the divider 46 to the error locator polynomial calibration term register 42. The second switch S2 is
The output of the error locator polynomial calibration term register 42 is input to a second multiplier 48. The third switch S3 inputs the output of the inconsistency generating section 44 to the first adder 50. The fourth switch S4 inputs the output of the syndrome register unit 45 to the first multiplier 49.

【0012】一般に、誤り位置多項式計算のためにはBe
rlekamp-MasseyアルゴリズムとEuclidアルゴリズムが最
も多く用いられており、誤り位置多項式の計算のための
Berlekamp-MasseyアルゴリズムとEuclidアルゴリズムに
対する詳細な説明は次の通りである。
Generally, for calculating the error locator polynomial, Be
The rlekamp-Massey algorithm and the Euclid algorithm are the most used, and are used to calculate the error locator polynomial.
A detailed description of the Berlekamp-Massey algorithm and the Euclid algorithm follows.

【0013】図5はBerlekamp-Masseyアルゴリズム(B
MA)を用いて誤り位置多項式を求める順序図である。
段階S41はBerlekamp-MasseyアルゴリズムBMAの初
期条件を定める。即ち、誤り推定多項式の第1項係数σ
=1、校正項係数b=1として誤り位置多項式を更
新する時に添加させる校正項の初期条件を与え、r=0
として反復回数rの初期値を定め、次数L=0として計
算方法を決定する制御信号の初期条件を設定する。
FIG. 5 shows the Berlekamp-Massey algorithm (B
FIG. 6 is a sequence diagram for calculating an error locator polynomial using MA).
Step S41 defines initial conditions of the Berlekamp-Massey algorithm BMA. That is, the first term coefficient σ of the error estimation polynomial
The initial condition of the calibration term to be added when updating the error locator polynomial is given by setting 0 = 1 and the calibration term coefficient b 0 = 1, and r = 0
, An initial value of the number of iterations r is determined, and an initial condition of a control signal for determining a calculation method is set as the order L = 0.

【0014】段階S42で前記反復回数rを1増加させ
る。この時、増加された反復回数rが2tであれば、段
階S50でσ(x)を誤り位置多項式の係数とし、本Be
rlekamp-Masseyアルゴリズム(BMA)を済ませる。前
記反復回数rが2tでない場合には、段階S42を経て
段階S43でシンドロームSrと誤り位置多項式の係数
σを用いて不一致度Δrを計算するが、ここの加算演
算は、galois filedにおける加算演算であって、排他的
論理和である。
In step S42, the number of repetitions r is increased by one. At this time, if the increased number of repetitions r is 2t, in step S50, σ (x) is set as a coefficient of the error locator polynomial, and the Be
Complete the rlekamp-Massey algorithm (BMA). If the number of repetitions r is not 2t, the degree of mismatch Δr is calculated using the syndrome Sr and the coefficient σ j of the error locator polynomial in step S43 after step S42, and the addition operation here is the addition operation in galois filed. And exclusive OR.

【0015】次に、段階S44で不一致度(discrepanc
y:Δr)が0であるかを判断して、0であれば段階S
48に進んで校正項b(x)の次数を1次数増加させ
る。また、前記段階S44で不一致度が0でなけれ、段
階S45に進んで誤り位置多項式の係数σにσ−Δ
xb(x)を代入して新しい誤り位置多項式を計算す
る。以後、段階S46で新しい誤り位置多項式の次数(d
egree)値Lを算出して次数値Lの2倍(2L)がr−1
より大きいかを判断する。
Next, at step S44, the degree of discrepancy (discrepanc
y: Δr) is 0, and if 0, step S
Proceeding to 48, the order of the calibration term b (x) is increased by one order. If the degree of discrepancy is not 0 in step S44, the process proceeds to step S45, where the coefficient σ x of the error locator polynomial is σ x −Δ
Substitute r xb (x) to calculate a new error locator polynomial. Thereafter, in step S46, the order of the new error locator polynomial (d
egree) value L is calculated and twice (2L) of the next numerical value L is r-1.
Determine if it is greater than.

【0016】この判断結果2Lがr−1より小さい場
合、段階S47で校正項の係数bにΔ −1σ(x)を
代入し、Lにr−Lを代入して誤り位置多項式の校正項
と次数を更新する。これとは異なり、前記2Lがr−1
より大きい場合には段階S48に進んで誤り位置多項式
の校正項を1次数増加させる。段階S49で新しい誤り
位置多項式、誤り位置多項式の校正項、制御信号の計算
が終わった後rの値を1増加させてその値が2tになっ
たかを判断する。この時、r≠2tであれば、段階S4
2に復帰し、r=2tであれば、段階S50でσ(x)
を誤り位置多項式の係数として誤り位置多項式の計算を
終了する。
If 2L is smaller than r−1,
In step S47, the coefficient b of the calibration r -1σ (x)
Substituting and substituting r−L for L, the calibration term of the error locator polynomial
And the order is updated. In contrast, the 2L is r-1
If it is larger, the process proceeds to step S48 and the error locator polynomial
Is increased by the first order. New error in step S49
Calculation of position polynomial, calibration term of error locator polynomial, control signal
After that, the value of r is increased by 1 and the value becomes 2t.
To determine At this time, if r ≠ 2t, step S4
2 and if r = 2t, σ (x) in step S50
Is calculated as the coefficient of the error locator polynomial.
finish.

【0017】このようなBMA構造をそのまま用いてリ
ードソロモン復号器を設計する場合、誤り位置多項式の
計算が全て終わってから誤り推定多項式を別途に計算す
る。従って、BMA構造を用いてリードソロモン復号器
を設計する場合、誤り位置多項式の計算が全て終わらな
ければ別途誤り推定多項式の計算が不可能なので、全体
的に待ち時間(latency)が長くなるという短所がある。
このような短所を改善したものがユークリッドアルゴリ
ズムを用いた誤り位置多項式及び誤り推定多項式計算方
式である。
When designing a Reed-Solomon decoder using such a BMA structure as it is, an error estimation polynomial is separately calculated after all the calculation of the error locator polynomial is completed. Therefore, when designing a Reed-Solomon decoder using the BMA structure, it is impossible to separately calculate an error estimation polynomial unless all the error locator polynomials are calculated, and thus the overall latency is increased. There is.
What has improved such disadvantages is an error locator polynomial and an error estimation polynomial calculation method using the Euclidean algorithm.

【0018】図6はユークリッドアルゴリズムを用いて
誤り位置多項式と誤り推定多項式を同時に計算する順序
図である。まず、段階S51で誤り位置多項式の初期条
件σ (x)=1、b−1(x)=0を設定し、反復回
数r=1に初期化し、誤り推定多項式の初期条件をz
−1(X)=x2tに設定し、z(x)=s(x)
(ここで、s(x)は誤り多項式)を設定する。
FIG. 6 shows an example using the Euclidean algorithm.
Order for calculating error locator polynomial and error estimation polynomial simultaneously
FIG. First, in step S51, the initial condition of the error locator polynomial is
Σ 0(X) = 1, b-1Set (x) = 0 and repeat
Initialize the number r = 1 and set the initial condition of the error estimation polynomial to z
-1(X) = x2t, z0(X) = s (x)
(Where s (x) is an error polynomial).

【0019】次に、段階S52で誤り推定多項式(Z
r−2(x)/Zr−1(x))を用いて商(quotien
t)a(x)を算出する。段階S53において、前記段
階で求めた以前の誤り位置多項式、誤り推定多項式と商
を用いて新しい誤り位置多項式と誤り推定多項式を算出
する。即ち、校正項σ(x)にσr−2(x)−a
(x)σr−1(x)を代入し、z(x)にzr−2
(x)−a(x)z −1(x)を代入する。段階S
54で誤り推定多項式z(x)の次数がtより小さい
かを判断する。
Next, in step S52, the error estimation polynomial (Z
r−2 (x) / Z r−1 (x))
t) Calculate a r (x). In step S53, a new error location polynomial and an error estimation polynomial are calculated using the previous error location polynomial, error estimation polynomial, and quotient obtained in the previous step. That is, the calibration section σ r (x) σ r- 2 (x) -a r
(X) σ r-1 (x) is substituted, and z r-2 is substituted for z r (x).
(X) substituting -a r (x) z r -1 (x). Stage S
At 54, it is determined whether the order of the error estimation polynomial z r (x) is smaller than t.

【0020】この判断結果、z(x)の次数がtより
小さくない場合、段階S55で新しい誤り位置多項式を
計算した後反復回数を1増加させ、段階S52以下の過
程を繰り返す。また、前記判断結果z(x)の次数が
tより小さい場合には段階S56でt回繰り返し計算し
た後σ(x)の最終値が誤り位置多項式になり、z
(x)の値が誤り推定多項式になる。ユークリッドアル
ゴリズムを用いて計算された誤り位置多項式の最高次数
はtであり、誤り推定多項式の最高次数はt−1にな
る。
If it is determined that the order of z r (x) is not smaller than t, a new error locator polynomial is calculated in step S55, the number of repetitions is increased by 1, and the process from step S52 is repeated. If the order of the determination result z r (x) is smaller than t, the final value of σ (x) becomes an error locator polynomial after repeatedly calculating t times in step S56.
The value of (x) becomes the error estimation polynomial. The highest order of the error locator polynomial calculated using the Euclidean algorithm is t, and the highest order of the error estimation polynomial is t-1.

【0021】[0021]

【発明が解決しようとする課題】ところで、Berlekamp-
Masseyアルゴリズムを用いてリードソロモン復号器を設
計する場合、ハードウェアの大きさはユークリッドアル
ゴリズムに比べて小さいが、誤り位置多項式の計算が終
わった後に誤り推定多項式を求めることができるため、
全体的な復号遅延時間がユークリッドアルゴリズムに比
べて長くかかるという短所がある。これに対して、ユー
クリッドアルゴリズムは全体的な復号遅延時間が短い
が、ハードウェアの大きさが大きくなるという短所があ
る。
[Problems to be solved by the invention] By the way, Berlekamp-
When designing the Reed-Solomon decoder using the Massey algorithm, the size of the hardware is smaller than that of the Euclidean algorithm, but since the error locator polynomial is calculated, the error estimation polynomial can be obtained.
There is a disadvantage that the entire decoding delay time is longer than that of the Euclidean algorithm. On the other hand, the Euclidean algorithm has a short decoding delay time overall, but has a disadvantage that the size of hardware is large.

【0022】本発明はかかる従来のBerlekamp-Masseyア
ルゴリズムを用いたリードソロモン復号器とユークリッ
ドアルゴリズムを用いたリードソロモン復号器からそれ
ぞれ発生する諸般問題点を解決するためのもので、その
目的は、Berlekamp-Masseyアルゴリズムとユークリッド
アルゴリズムを折衷した修正されたBerlekamp-Masseyア
ルゴリズムを用いたリードソロモン復号方法とその復号
器を提供することにある。
The present invention is intended to solve various problems arising from a conventional Reed-Solomon decoder using the Berlekamp-Massey algorithm and a Reed-Solomon decoder using the Euclidean algorithm, respectively. It is an object of the present invention to provide a Reed-Solomon decoding method using a modified Berlekamp-Massey algorithm, which is a compromise between the -Massey algorithm and the Euclidean algorithm, and its decoder.

【0023】また、本発明の他の目的は、Berlekamp-Ma
sseyアルゴリズムを修正して復号時間遅延とハードウェ
アの大きさを減らすようにした修正されたBerlekamp-Ma
sseyアルゴリズムを用いたリードソロモン復号方法とそ
の復号器を提供することにある。
Another object of the present invention is to provide a Berlekamp-Ma
Modified Berlekamp-Ma modified ssey algorithm to reduce decoding time delay and hardware size
An object of the present invention is to provide a Reed-Solomon decoding method using the ssey algorithm and a decoder therefor.

【0024】[0024]

【課題を解決するための手段】上記目的を達成するため
の本発明によるリードソロモン復号器は、生成された不
一致度と入力クロックに応じて各レジスタの入力信号を
決定するスイッチの制御信号を発生させるタイミング及
び制御信号発生部と、誤り位置多項式の校正項を生成す
る誤り位置多項式校正項レジスタ部と、誤り位置多項式
を生成する誤り位置レジスタ部と、シンドローム項を生
成するシンドロームレジスタ部と、前記シンドロームレ
ジスタ部から生成したシンドローム項の出力と前記誤り
位置レジスタ部から生成した誤り位置項の出力を入力と
して不一致度Δを生成する不一致度生成部を備えたリ
ードソロモン復号器において、誤り推定多項式の校正項
を算出する誤り推定多項式校正項レジスタ部と、誤り推
定多項式を生成する誤り推定レジスタ部と、前記不一致
度生成部の不一致度出力Δと前記誤り推定レジスタ部
の誤り推定項を入力として新しい誤り推定校正項を算出
して前記誤り推定多項式校正項レジスタ部に入力する除
算器と、前記不一致度生成部から不一致度Δ の入力を
受け、前記誤り位置多項式校正項レジスタ部から商の入
力を受けて乗算する乗算器と、前記乗算器の出力に前記
誤り推定レジスタ部の出力を加算してその結果値を前記
誤り推定レジスタ部に入力させる加算器とを含んで構成
される。
[MEANS FOR SOLVING THE PROBLEMS] To achieve the above object
The Reed-Solomon decoder according to the present invention
The input signal of each register is determined according to the degree of coincidence and the input clock.
The timing and timing of generating the switch control signal
And a control signal generator and a calibration term for the error locator polynomial.
Error locator polynomial calibration term register and error locator polynomial
Error location register that generates
A syndrome register section, and the syndrome register.
Output of the syndrome term generated from the register and the error
The output of the error position term generated from the position register
And the degree of mismatch ΔrWith a mismatch generator that generates
Calibration term of error estimation polynomial
The error estimation polynomial calibration term register that calculates
An error estimation register for generating a constant polynomial,
Output from the degree generatorrAnd the error estimation register section
Calculates a new error estimation calibration term with the input error estimation term
Input to the error estimation polynomial calibration term register section.
And a discrepancy degree Δ from the discrepancy degree generation unit. rInput
Receiving a quotient from the error locator polynomial calibration term register.
A multiplier for receiving and multiplying the force, and
The output of the error estimation register section is added and the resulting value is
And an adder for inputting to the error estimation register section.
Is done.

【0025】本発明による修正されたBerlekamp-Massey
アルゴリズムをもちいたリードソロモン復号方法は、校
正項b=1、誤り位置項σ=1、反復回数r=0、
次数L=0、商a=1、誤り推定項z=0、不一致
度Δ=s(s:シンドローム項の初期値)と設定
して初期化し、反復度rを1増加させる第1段階と、誤
り位置項σとシンドローム項Sを掛け合わせ、その
乗算結果と不一致度を加算して不一致度Δr+1を算出
する第2段階と、不一致度Δが「0」であるかを判断
して不一致度Δが「0」でない場合、校正項b(x)
と不一致度Δを乗算し、その乗算結果を(−)符号と
して誤り位置項σと加算して誤り位置項にσ−Δ
xb(x)を代入し、誤り推定多項式校正項a(x)
と不一致度Δrを乗算し、その乗算結果を(−)符号と
して誤り推定項zと加算して誤り推定項にz−Δ
(x)を代入する第3段階と、新しい誤り位置多項
式の次数Lを算出してこのLがr−1より大きいかを判
断する第4段階と、前記第4段階の判断で2Lがr−1
より大きくない場合、 誤り位置項σ(x)で不一致度
Δを除算し、その結果値のΔ −1σ(x)を校正
項bに代入し、誤り推定項z(x)で不一致度Δを除
算し、その結果値のΔ −1xz(x)を誤り推定校正
項aに代入し、Lにr−Lを代入して誤り位置多項式の
商、校正項及び誤り推定項の次数を更新する第5段階
と、前記第4段階の判断で2Lがr−1より大きい場
合、誤り位置多項式の校正項bと誤り推定多項式校正項
aを1次数増加させ、新しい誤り位置多項式、校正項、
制御信号の計算が終わった後反復度rの値を1増加させ
てその値が2tになったかを判断する第6段階と、前記
第6段階の判断で反復度rが2tでなければ、前記第1
段階の反復度rを増加させる段階に復帰し、r=2tで
あれば、σ(x)を誤り位置項とし、z(x)を誤り推
定項とする第7段階とを含んでなる。
A modified Berlekamp-Massey according to the invention
The Reed-Solomon decoding method using the algorithm has a calibration term b 0 = 1, an error location term σ 0 = 1, the number of iterations r = 0,
Initialize by setting the order L = 0, the quotient a 0 = 1, the error estimation term z 0 = 0, and the degree of mismatch Δ 1 = s 0 (s 0 : the initial value of the syndrome term), and increase the repetition rate r by one. a first step, multiplied by the error position claim sigma j and the syndrome term S j, a second step of calculating the inconsistency delta r + 1 by adding the multiplication result and the degree of mismatch, inconsistency degree delta r is "0" If there are a a judge inconsistency delta r is not "0", the calibration section b (x)
And multiplied by the inconsistency delta r, the multiplication result (-) to the error position section by adding the error position claim sigma x as the code sigma x - [delta r
xb (x), the error estimation polynomial calibration term a r (x)
And the degree of inconsistency Δr, and the result of the multiplication is added as a (−) code to the error estimation term z x to add z x −Δ r to the error estimation term.
a third step of substituting a r (x), a fourth step of calculating the degree L of the new error locator polynomial and determining whether L is greater than r−1, and 2L is determined by the fourth step. r-1
If not larger, the degree of mismatch Δ r is divided by the error position term σ (x), and the resulting value Δ r −1 σ (x) is substituted for the calibration term b, and the error estimation term z (x) does not match. dividing the degree delta r, the result value of delta r -1 xz (x) is substituted into the error estimation calibration section a, the quotient of the error locator polynomial by substituting r-L L, and calibration terms and error estimation section And if the 2L is greater than r-1 in the determination of the fourth step, the calibration term b of the error locator polynomial and the calibration term a of the error estimation polynomial are increased by one order, and the new error locator polynomial is increased. , Calibration terms,
After the calculation of the control signal is completed, the value of the repetition factor r is increased by 1 to determine whether the value has reached 2t, and if the repetition factor r is not 2t in the determination of the sixth step, First
The process returns to the step of increasing the degree of repetition r of the step, and if r = 2t, a seventh step in which σ (x) is an error position term and z (x) is an error estimation term.

【0026】[0026]

【発明の実施の形態】以下、このような技術的思想によ
る本発明の好ましい実施の形態を挙げてその動作及び作
用を詳細に説明する。図8に本発明による修正されたBe
rlekamp-Masseyアルゴリズムを用いるリードソロモン復
号器の構成を示すブロック図が示される。タイミング及
び制御信号発生部71は、入力される図9の(a)のよ
うなクロックと不一致度生成部85からの不一致度Δr
に応じて各レジスタのクロック信号とスイッチ制御信号
Control-0,Control−1,Conto
rl−2を発生させる。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, the operation and operation of the present invention will be described in detail with reference to preferred embodiments of the present invention based on such technical ideas. FIG. 8 shows the modified Be according to the present invention.
A block diagram showing the configuration of a Reed-Solomon decoder using the rlekamp-Massey algorithm is shown. The timing and control signal generator 71 receives the input clock signal as shown in FIG. 9A and the inconsistency Δr from the inconsistency generator 85.
And the switch control signals Control-0, Control-1, and Control
rl-2 is generated.

【0027】即ち、前記スイッチ制御信号Contro
l−0は、新しい誤り位置多項式の次数(degree)値Lを
算出して次数値2Lがr−1より大きいかを判断し、2
L>r−1であれば、図9の(a)のようなクロックに
おいてt+2クロックの間ハイ信号(「1」)を第1及
び第2スイッチS1,S2の制御信号として出力し、2
L<r−1であれば、t+2クロックの間ロー信号
(「0」)を前記第1及び第2スイッチS1,S2の制
御信号として出力する。
That is, the switch control signal Contro
1-0 calculates a degree value L of the new error locator polynomial and determines whether the order value 2L is greater than r-1 and determines 2
If L> r-1, a high signal ("1") is output as a control signal for the first and second switches S1 and S2 for t + 2 clocks in the clock as shown in FIG.
If L <r-1, a low signal ("0") is output as a control signal for the first and second switches S1 and S2 for t + 2 clocks.

【0028】また、スイッチ制御信号Contorl−
1は、前記t+2クロック間にのみハイ信号(「1」)
として出力されて第3乃至第5スイッチS3〜S5を制
御し、スイッチ制御信号Control−2は図9の
(a)のような入力クロックのt+1時点でのみハイ信
号(「1」)として出力されて第6スイッチをS6を制
御する。なお、誤り推定多項式校正項レジスタ部72は
第1除算器77から出力される信号の伝達を前記第1ス
イッチS1を通して受け、誤り推定多項式から誤り推定
校正項を算出する。
The switch control signal Control-
1 is a high signal ("1") only during the t + 2 clock.
And controls the third to fifth switches S3 to S5, and the switch control signal Control-2 is output as a high signal ("1") only at the time point t + 1 of the input clock as shown in FIG. To control the sixth switch S6. The error estimation polynomial calibration term register 72 receives the signal output from the first divider 77 through the first switch S1, and calculates an error estimation calibration term from the error estimation polynomial.

【0029】そして、誤り位置多項式校正項レジスタ部
73は第2除算器78から出力される信号の伝達を前記
第2スイッチS2を通して受け、誤り位置多項式から誤
り位置校正項を生成する。誤り位置レジスタ部75は第
2加算器80からの信号によって誤り位置多項式を生成
し、誤り推定レジスタ部74は第1加算器79からの信
号より誤り推定多項式を生成する。また、シンドローム
レジスタ部76は自分の出力信号のフィードバックを受
けてシンドローム項を生成する。
The error locator polynomial calibration term register 73 receives the signal output from the second divider 78 through the second switch S2, and generates an error locator calibration term from the error locator polynomial. The error position register unit 75 generates an error position polynomial from the signal from the second adder 80, and the error estimation register unit 74 generates an error estimation polynomial from the signal from the first adder 79. Further, the syndrome register unit 76 receives the feedback of its own output signal and generates a syndrome term.

【0030】一方、第3乗算器84は前記誤り位置レジ
スタ部75から出力される誤り位置項と前記シンドロー
ムレジスタ部76から出力されるシンドローム項の入力
を第6スイッチS6を通して受け、2つの項を掛け合わ
せて出力し、前記第3乗算器84から出力される信号は
第3加算器81に入力される。前記第3加算器81は前
記第3乗算器84の出力と前記不一致度生成部85から
の不一致度を加算してその結果値を前記不一致度生成部
85に入力する。
On the other hand, the third multiplier 84 receives an error position term output from the error position register section 75 and a syndrome term output from the syndrome register section 76 through a sixth switch S6, and receives two terms. The output signal is multiplied, and the signal output from the third multiplier 84 is input to the third adder 81. The third adder 81 adds the output of the third multiplier 84 and the degree of inconsistency from the inconsistency generator 85, and inputs the result to the inconsistency generator 85.

【0031】不一致度生成部85は、前記第3加算器8
1から出力される信号に応じて不一致度Δを生成す
る。このように生成される不一致度Δは第1及び第2
除算器77,78と第1及び第2乗算器82,83にそ
れぞれ入力される。前記第1除算器77は、前記不一致
度生成部85の不一致度出力Δと前記誤り推定レジス
タ部74から出力される誤り推定項の入力を受けて新し
い誤り推定校正項を算出し、その算出した誤り推定項を
第1スイッチS1を介して前記誤り推定多項式校正項レ
ジスタ部72に入力して誤り推定校正項が生成されるよ
うにする。
The non-coincidence degree generating section 85 is provided with the third adder 8
Generating a dissimilarity delta r in accordance with a signal output from the 1. Thus the inconsistency delta r generated first and second
The signals are input to the dividers 77 and 78 and the first and second multipliers 82 and 83, respectively. The first divider 77 calculates a new error estimate calibration section receives the input of the error estimation section that is output from the disagreement of the output delta r error estimating register unit 74 of the inconsistency generating unit 85, the calculation The error estimation term obtained is input to the error estimation polynomial calibration term register section 72 via the first switch S1 so that the error estimation calibration term is generated.

【0032】また、第2除算器78は、前記不一致度生
成部85から出力される不一致度Δ と誤り位置レジ
スタ部75から出力される誤り位置項の入力を受けて新
しい校正項を算出し、このように算出される誤り位置項
は、第2スイッチS2を介して誤り位置多項式校正項レ
ジスタ部73に伝達されて新しい誤り位置校正項が作ら
れるようにする。
Further, the second divider 78 generates the degree of inconsistency.
Discrepancy Δ output from component 85 rAnd error position cash register
Receiving the error position term output from the
New calibration term, and the error location term thus calculated
Is the error locator polynomial calibration term through the second switch S2.
Transmitted to the register 73 to create a new error calibration term
To be

【0033】また、第1乗算器82は、前記不一致度生
成部85から出力される不一致度Δ の入力を受け、
前記誤り推定多項式校正項レジスタ部72から出力され
る誤り推定校正項の入力を第3スイッチS3を介して受
け、乗算して出力する。このように出力される信号は、
第1加算器79に入力され、前記第1加算器79は、第
1乗算器82の出力と前記誤り推定レジスタ部74の出
力を加算してその結果値を誤り推定レジスタ部74に入
力する。
The first multiplier 82 generates the mismatch degree
Discrepancy Δ output from component 85 rInput,
The error estimation polynomial calibration term output from the register unit 72
Input of the error estimation calibration term through the third switch S3.
And multiply and output. The signal thus output is
The signal is input to a first adder 79, and the first adder 79
The output of the 1 multiplier 82 and the output of the error estimation register 74
And adds the result to the error estimation register 74.
Power.

【0034】第2乗算器83は、前記不一致度生成部8
5から出力される不一致度Δの入力を受け、前記誤
り位置多項式校正項レジスタ部73から出力される誤り
位置多項式校正項の入力を第4スイッチS4を介して受
け、乗算して出力する。前記第2乗算器83から出力さ
れる信号は、第2加算器80に入力され、第2加算器8
0は、前記第2乗算器83の出力と前記誤り位置レジス
タ部75の出力を加算してその結果値を誤り位置レジス
タ部75に入力する。
The second multiplier 83 is provided with the inconsistency degree generating section 8
5 receives the inconsistency delta r outputted from said receiving an input of the error locator polynomial calibration section that is output from the error position polynomial calibration section register section 73 through the fourth switch S4, and outputs the multiplication. The signal output from the second multiplier 83 is input to a second adder 80 and the second adder 8
0 adds the output of the second multiplier 83 and the output of the error position register unit 75 and inputs the result to the error position register unit 75.

【0035】一方、第1〜第6スイッチS1〜S6は、
前記タイミング及び制御信号発生部71から出力される
スイッチ制御信号Control−0〜Control
−2に応じてスイッチング動作を行う。即ち、第1スイ
ッチS1は、前記誤り推定多項式校正項レジスタ部72
の出力を再び入力とするか、或いは第1除算器77の出
力信号を前記誤り推定多項式校正項レジスタ部72に入
力する。第2スイッチS2は、前記誤り位置多項式校正
項レジスタ部73の出力を入力とするか、或いは前記第
2除算器78の出力信号を前記誤り位置多項式校正項レ
ジスタ部73に入力する。第3スイッチS3は、前記誤
り推定多項式校正項レジスタ部72の出力を第1乗算器
82に入力する。第4スイッチS4は、前記誤り位置多
項式校正項レジスタ部73の出力を第2乗算器83に入
力する。第5スイッチS5は、前記不一致度生成部85
の出力を前記第3加算器81に入力する。第6スイッチ
S6は、前記シンドロームレジスタ部76の出力を第3
乗算器84に入力する。
On the other hand, the first to sixth switches S1 to S6 are
Switch control signals Control-0 to Control output from the timing and control signal generator 71
The switching operation is performed according to -2. That is, the first switch S1 is connected to the error estimation polynomial calibration term register 72.
Is input again, or the output signal of the first divider 77 is input to the error estimation polynomial calibration term register 72. The second switch S2 receives the output of the error locator polynomial calibration term register 73 as an input or inputs the output signal of the second divider 78 to the error locator polynomial calibration term register 73. The third switch S3 inputs the output of the error estimation polynomial calibration term register unit 72 to the first multiplier 82. The fourth switch S4 inputs the output of the error locator polynomial calibration term register unit 73 to the second multiplier 83. The fifth switch S5 is connected to the inconsistency generation unit 85
Is input to the third adder 81. The sixth switch S6 outputs the output of the syndrome register 76 to a third
Input to the multiplier 84.

【0036】図7は本発明による修正されたBerlekamp-
Masseyアルゴリズムを示す順序図である。段階S61
で、初期化過程を次のように校正項b=1、誤り位置
項σ=1、反復回数r=0、次数L=0、誤り推定校
正項a=1、誤り推定項z=0、不一致度Δ=s
(s:シンドローム項の初期値)と設定する。段階
62で、反復度rを1増加させる。段階S63で、誤り
位置レジスタ部74から出力される誤り位置項σとシ
ンドロームレジスタ部76から出力されるシンドローム
を第6スイッチS6を介して第3乗算器84で掛け
合わせ、前記第3乗算器84の出力と不一致度生成部8
5の出力を第5スイッチS5を介して第3加算器81で
加算して不一致度Δを次の式で算出する。
FIG. 7 shows a modified Berlekamp- according to the invention.
FIG. 4 is a flowchart illustrating a Massey algorithm. Step S61
In the initialization process, the calibration term b 0 = 1, the error location term σ 0 = 1, the number of iterations r = 0, the order L = 0, the error estimation calibration term a 0 = 1, and the error estimation term z 0 are as follows. = 0, degree of mismatch Δ 1 = s
0 (s 0 : initial value of the syndrome term) is set. In step 62, the repetition factor r is increased by one. In step S63, the error position term σ j output from the error position register unit 74 and the syndrome S j output from the syndrome register unit 76 are multiplied by a third multiplier 84 via a sixth switch S6. Output of Multiplier 84 and Dissimilarity Generation Unit 8
The output of 5 are added by the third adder 81 via the fifth switch S5 to calculate the inconsistency delta r by the following formula.

【0037】[0037]

【数1】 (Equation 1)

【0038】段階S64で、不一致度Δが「0」で
あるか否かを判断する。不一致度Δ が「0」でない場
合、段階S65で、第4スイッチS4を介して第2乗算
器83に誤り位置校正項b(x)を印加して不一致度Δ
と乗算し、その乗算結果を(−)符号として第2加
算器80で誤り位置項σと加算して誤り位置レジス
タ部75にσ−Δ×b(x)を代入し、第3スイッ
チS3を介して第1乗算器82に誤り推定校正項a
(x)を印加して不一致度Δと乗算し、その乗算
結果を(−)符号として第1加算器79で誤り推定項z
と加算して誤り推定レジスタ部74にz−Δ
(x)を代入する。
In step S64, the degree of mismatch ΔrIs "0"
It is determined whether or not there is. Discrepancy Δ rIs not "0"
In step S65, the second multiplication is performed through the fourth switch S4.
The error position calibration term b (x) is applied to the detector 83 and the degree of mismatch Δ
rAnd the result of the multiplication as the (−) sign
The error position term σ in the arithmetic unit 80xAnd error position register
Σx−Δr× b (x), and the third switch
The error estimation calibration term a is supplied to the first multiplier 82 via the switch S3.
r(X) is applied to the discrepancy ΔrAnd multiply by
The first adder 79 sets the error estimation term z as the (-) code as the result.
xIs added to the error estimation register 74.x−Δra
rSubstitute (x).

【0039】段階S66で、新しい誤り位置多項式の次
数値Lを算出して次数値2Lがr−1より大きいかを判
断する。この判断結果、次数値2Lがr−1より小さい
場合、段階S67で第2除算器78に誤り位置項σ
(x)を印加して誤り位置項σ(x)で不一致度Δ
を除算し、その結果Δ −1σ(x)を校正項bに代入
し、第1除算器77に誤り推定項z(x)を印加して誤
り推定項z(x)で不一致度Δを除算し、その結果Δ
−1xz(x)を誤り推定校正項aに代入し、Lにr
−Lを代入して誤り位置多項式、校正項と誤り推定項の
次数を更新する。
In step S66, the order value L of the new error locator polynomial is calculated to determine whether the order value 2L is greater than r-1. As a result of this determination, if the order value 2L is smaller than r-1, the error position term σ is stored in the second divider 78 in step S67.
(X) and the degree of mismatch Δ r in the error position term σ (x)
Dividing a resulting delta r -1 sigma (x) is substituted into the calibration section b, the inconsistency in the error estimating section z (x) by applying an error estimation section z (x) in the first divider 77 delta r and the resulting Δ
Substituting r −1 xz (x) into the error estimation calibration term a,
-L is substituted to update the order of the error locator polynomial, the calibration term and the error estimation term.

【0040】前記判断結果、次数値2Lがr−1より大
きい場合、段階S68で誤り位置多項式の校正項bと誤
り推定項aを1次数増加させる。段階S69で新しい誤
り位置多項式、校正項、制御信号の計算が終わった後r
の値を1増加させてその値が2tになったかを判断す
る。r≠2tであれば、段階S42に復帰し、r=2t
であれば、段階S70でσ(x)を誤り位置項とし、z
(x)を誤り推定項とする。
If it is determined that the order value 2L is larger than r-1, the calibration term b and the error estimation term a of the error locator polynomial are increased by one order in step S68. After calculating the new error locator polynomial, calibration term, and control signal in step S69, r
Is incremented by 1 and it is determined whether the value has reached 2t. If r ≠ 2t, the process returns to step S42, where r = 2t
Then, in step S70, σ (x) is set as an error position term, and z
Let (x) be the error estimation term.

【0041】[0041]

【発明の効果】以上説明したように、本発明によれば、
修正されたBerlekamp Masseyアルゴリズムによってリー
ドソロモン復号器のハードウェアを簡単に校正すること
のできる利点がある。また、修正されたBerlekamp-Mass
eyアルゴリズムによって誤り位置多項式及び誤り推定多
項式を同時に計算することができて全体的な復号遅延時
間を減らすことのできる効果がある。
As described above, according to the present invention,
The modified Berlekamp Massey algorithm has the advantage that the hardware of the Reed-Solomon decoder can be easily calibrated. Also, a modified Berlekamp-Mass
With the ey algorithm, the error locator polynomial and the error estimator polynomial can be calculated simultaneously, which has the effect of reducing the overall decoding delay time.

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

【図1】 ATSC(American Television System Comm
ittee)8VSB(Vestigial Side Band)規格の伝送段で
順方向誤り訂正器を構成する符号器の構成を示すブロッ
ク図である。
Fig. 1 ATSC (American Television System Comm
FIG. 4 is a block diagram showing a configuration of an encoder that constitutes a forward error corrector at a transmission stage of 8VSB (Vestigial Side Band) standard.

【図2】 ATSC 8VSB規格の受信段で順方向誤
り訂正器を構成する復号器の構成を示すブロック図であ
る。
FIG. 2 is a block diagram illustrating a configuration of a decoder that constitutes a forward error corrector at a receiving stage of the ATSC 8VSB standard.

【図3】 リードソロモン復号器の構成を示すブロック
図である。
FIG. 3 is a block diagram illustrating a configuration of a Reed-Solomon decoder.

【図4】 図3の誤り位置多項式計算部(31b)の詳
細図である。
FIG. 4 is a detailed diagram of an error locator polynomial calculator (31b) of FIG. 3;

【図5】 リードソロモン復号器のバリケンプ−メッシ
(Berlekamp-Massey)アルゴリズム(BMA)を用いて誤
り位置多項式を求める順序図である。
FIG. 5: Varikemp-Messi of Reed-Solomon decoder
FIG. 4 is a sequence diagram for obtaining an error locator polynomial using a (Berlekamp-Massey) algorithm (BMA).

【図6】 ユークリッド(Euclid)アルゴリズムを用いて
誤り位置多項式と誤り推定多項式を同時に計算するアル
ゴリズムを示す順序図である。
FIG. 6 is a flowchart illustrating an algorithm for simultaneously calculating an error locator polynomial and an error estimation polynomial using the Euclid algorithm.

【図7】 本発明による修正されたバリケンプ−メッシ
アルゴリズムを示す順序図である。
FIG. 7 is a flowchart illustrating a modified VariKemp-Messi algorithm according to the present invention.

【図8】 本発明による修正されたバリケンプ−メッシ
アルゴリズムを用いるリードソロモン復号器の構成を示
すブロック図である。
FIG. 8 is a block diagram showing a configuration of a Reed-Solomon decoder using a modified Variken-Messi algorithm according to the present invention.

【図9】 図8のタイミング及び制御信号発生部から発
生する制御信号のタイミング図である。
FIG. 9 is a timing chart of the control signal generated from the timing and control signal generator of FIG. 8;

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

11 乱数化器、12 リードソロモン符号器、13
インタリーバー、14 格子符号器、21 格子復号
器、22 逆インタリーバー、23 リードソロモン復
号器、24 逆乱数化器、13 インタリーバー、14
格子符号器、31 復号部、31a シンドローム計
算部、31b 誤り位置多項式及び誤り推定多項式計算
部、31c 誤り位置及び誤り値計算部、32 遅延素
子、33 排他的論理和素子、41 タイミング及び制
御信号発生部、42 誤り位置多項式校正項レジスタ
部、43 誤り位置レジスタ部、44 不一致度生成
部、45 シンドロームレジスタ部、46 除算器、4
7 第2加算器、48 第2乗算器、49 第1乗算
器、50 第1加算器、S1 第1スイッチ、S2 第
2スイッチ、S3 第3スイッチ、S4 第4スイッ
チ、71 タイミング及び制御信号発生部、72 誤り
推定多項式校正項レジスタ部、73 誤り位置多項式校
正項レジスタ部、74 誤り推定レジスタ部、75 誤
り位置レジスタ部、76 シンドロームレジスタ部、7
7 第1除算器、78 第2除算器、79 第1加算
器、80 第2加算器、81 第3加算器、82 第1
乗算器、83 第2乗算器、84 第3乗算器、85
不一致度生成部、S5 第5スイッチ、S6 第6スイ
ッチ。
11 randomizer, 12 Reed-Solomon encoder, 13
Interleaver, 14 lattice encoder, 21 lattice decoder, 22 inverse interleaver, 23 Reed-Solomon decoder, 24 inverse randomizer, 13 interleaver, 14
Lattice encoder, 31 decoding unit, 31a syndrome calculation unit, 31b error location polynomial and error estimation polynomial calculation unit, 31c error location and error value calculation unit, 32 delay element, 33 exclusive OR element, 41 timing and control signal generation Unit, 42 error position polynomial calibration term register unit, 43 error position register unit, 44 inconsistency generation unit, 45 syndrome register unit, 46 divider, 4
7 Second adder, 48 Second multiplier, 49 First multiplier, 50 First adder, S1 first switch, S2 second switch, S3 third switch, S4 fourth switch, 71 Timing and control signal generation Section, 72 error estimation polynomial calibration term register section, 73 error location polynomial calibration term register section, 74 error estimation register section, 75 error location register section, 76 syndrome register section, 7
7 First divider, 78 Second divider, 79 First adder, 80 Second adder, 81 Third adder, 82 First
Multiplier, 83 Second multiplier, 84 Third multiplier, 85
The dissimilarity generation unit, S5 fifth switch, and S6 sixth switch.

Claims (7)

【特許請求の範囲】[Claims] 【請求項1】 生成された不一致度と入力クロックに応
じて各レジスタの入力信号を決定するスイッチの制御信
号を発生させるタイミング及び制御信号発生部と、誤り
位置多項式の校正項を生成する誤り位置多項式校正項レ
ジスタ部と、誤り位置多項式を生成する誤り位置レジス
タ部と、シンドローム項を生成するシンドロームレジス
タ部と、前記シンドロームレジスタ部から生成したシン
ドローム項の出力と前記誤り位置レジスタ部から生成し
た誤り位置項の出力を入力として不一致度Δを生成
する不一致度生成部を備えたリードソロモン復号器にお
いて、誤り推定多項式の校正項を算出する誤り推定多項
式校正項レジスタ部と、誤り推定多項式を生成する誤り
推定レジスタ部と、前記不一致度生成部の不一致度出力
Δと前記誤り推定レジスタ部の誤り推定項を入力と
して新しい誤り推定校正項を算出して前記誤り推定多項
式校正項レジスタ部に入力する除算器と、前記不一致度
生成部からの不一致度Δ及び前記誤り位置多項式校
正項レジスタ部からの商を入力として乗算する乗算器
と、前記乗算器の出力に前記誤り推定レジスタ部の出力
を加算してその結果値を前記誤り推定レジスタ部に入力
させる加算器とを含んで構成されたことを特徴とする修
正されたBerlekamp Masseyアルゴリズムを用いたリード
ソロモン復号器。
1. A timing and control signal generator for generating a control signal of a switch for determining an input signal of each register according to the generated degree of mismatch and an input clock, and an error position for generating a calibration term of an error position polynomial A polynomial calibration term register section, an error location register section for generating an error location polynomial, a syndrome register section for generating a syndrome term, an output of the syndrome term generated from the syndrome register section, and an error generated from the error location register section. in Reed-Solomon decoder having a inconsistency generator for generating a dissimilarity delta r the output of the position terms as input, and the error estimation polynomial calibration term register unit for calculating the calibration section of the error estimation polynomial, generating an error estimation polynomial an error estimator register unit which, said error estimation les an inconsistency output delta r of the inconsistency generator A divider to be input to the error-estimating polynomial calibration section register unit calculates a new error estimate calibrate claim error estimation section register unit as input, inconsistency delta r and the error position polynomial calibration from the inconsistency generator A multiplier that multiplies the quotient from the term register unit as an input, and an adder that adds the output of the error estimation register unit to the output of the multiplier and inputs the result value to the error estimation register unit. A Reed-Solomon decoder using a modified Berlekamp Massey algorithm, wherein the decoder is configured.
【請求項2】 前記乗算器で誤り推定校正項a(x)
と不一致度Δを乗算し、その乗算結果を(−)符号
として、加算器で誤り推定項zと加算して誤り推定項
にz−Δ(x)を代入することを特徴とする請
求項1記載の修正されたBerlekamp Masseyアルゴリズム
を用いたリードソロモン復号器。
2. The error estimation calibration term a r (x) in the multiplier.
And multiplied by the inconsistency delta r, the multiplication result (-) as a code, the substituting z x -Δ r a r (x ) to the error estimation section by adding the error estimated claim z x by an adder The Reed-Solomon decoder using the modified Berlekamp Massey algorithm according to claim 1.
【請求項3】 新しい誤り位置多項式の次数値Lを算出
して次数値2Lがr−1より大きいかを判断し、大きく
ない場合、除算器に誤り推定z(x)を印加して誤り推
定項z(x)で不一致度Δを除算し、その結果Δ
−1z(x)を誤り推定校正項aに代入し、Lにr−L
を代入して誤り推定項の次数を更新することを特徴とす
る請求項1記載の修正されたBerlekamp Masseyアルゴリ
ズムを用いたリードソロモン復号器。
3. A degree L of a new error locator polynomial is calculated to determine whether a degree 2L is larger than r-1. If not, an error estimation z (x) is applied to a divider to estimate an error. The degree of mismatch Δ r is divided by the term z (x), and as a result Δ r
-1 z (x) is substituted for the error estimation calibration term a, and L is r−L
2. The Reed-Solomon decoder using the modified Berlekamp Massey algorithm according to claim 1, wherein the order of the error estimation term is updated by substituting the following.
【請求項4】 リードソロモン復号方法において、誤り
位置多項式と誤り推定多項式を生成するための初期条件
を設定する第1段階と、前記初期条件の設定後、誤り位
置項σとシンドローム項Sを乗算し、その乗算の
結果と不一致度を加算して不一致度を算出する第2段階
と、前記算出した不一致度Δが「0」であるかを判
断して不一致度Δが「0」でない場合、新しい誤り
位置多項式及び誤り推定多項式を算出する第3段階と、
前記新しい誤り位置多項式の次数Lを算出してこのLが
r−1より大きいかを判断する第4段階と、前記第4段
階の判断結果、2Lがr−1より大きくない場合、誤り
位置多項式の商、校正項及び誤り推定項の次数を更新す
る第5段階と、前記第4段階の判断結果2Lがr−1よ
り大きい場合、誤り位置多項式の誤り位置校正項bと誤
り推定校正項aを1次数増加させ、新しい誤り位置多項
式の商と校正項、制御信号の計算が終わった後反復度r
の値を1増加させてその値が2tになったかを判断する
第6段階と、前記第6段階の判断で反復度rが2tでな
ければ、前記第1段階の反復度rを増加させる段階に復
帰し、r=2tであれば、σ(x)を誤り位置項とし、
z(x)を誤り推定項とする第7段階とを含んでなるこ
とを特徴とする修正されたBerlekamp Masseyアルゴリズ
ムを用いたリードソロモン復号方法。
4. A first step of setting initial conditions for generating an error locator polynomial and an error estimation polynomial in a Reed-Solomon decoding method, and after setting the initial conditions, an error locator term σ j and a syndrome term S j. multiplied by a second step of calculating the degree of mismatch by adding the results and inconsistency of the multiplication, the calculated discrepancy degree delta r is "0" is either a judge inconsistency delta r is "0 If not, a third step of calculating a new error locator polynomial and an error estimation polynomial;
A fourth step of calculating the degree L of the new error locator polynomial and determining whether L is greater than r-1; if the result of the fourth step is that 2L is not greater than r-1, the error locator polynomial And the fifth step of updating the quotient of the calibration term and the error estimation term, and if the result of the fourth step 2L is greater than r-1, the error location calibration term b and the error estimation calibration term a of the error locator polynomial Is increased by one order, and after the calculation of the quotient and the calibration term of the new error locator polynomial and the control signal is completed, the repetition rate r
A step of incrementing the value of by 1 and determining whether the value has reached 2t, and, if the repetition rate r is not 2t in the determination of the sixth step, increasing the repetition rate r of the first step And if r = 2t, σ (x) is taken as the error position term,
a modified Berlekamp Massey algorithm using a modified Berlekamp Massey algorithm.
【請求項5】 前記初期条件を設定する第1段階は、校
正項b=1、誤り位置項σ=1、反復回数r=0、
次数L=0、誤り推定校正項a=1、誤り推定項z
=0、不一致度Δ=s(s:シンドローム項の初
期値)と設定して初期化し、反復度rを1増加させて初
期条件を設定することを特徴とする請求項4記載の修正
されたBerlekamp Masseyアルゴリズムを用いたリードソ
ロモン復号方法。
5. The first step of setting the initial condition includes a calibration term b 0 = 1, an error location term σ 0 = 1, a number of iterations r = 0,
Order L = 0, error estimation calibration term a 0 = 1, error estimation term z 0
5. The initial condition is set by setting = 0 and the degree of mismatch Δ 1 = s 0 (s 0 : initial value of a syndrome term), and initializing by increasing the degree of repetition r by one. Reed-Solomon decoding method using modified Berlekamp Massey algorithm.
【請求項6】 前記第3段階は、誤り位置校正項b
(x)と不一致度を乗算し、その乗算結果を(−)符号
として誤り位置項σと加算して誤り位置項にσ −Δ
xb(x)を代入し、誤り推定校正項a(x)と不
一致度Δを乗算し、その乗算結果を(−)符号として
誤り位置項zと加算して誤り推定項にz−Δ
(x)を代入して新しい誤り位置多項式及び誤り推定
多項式を生成することを特徴とする請求項4記載の修正
されたBerlekamp Masseyアルゴリズムを用いたリードソ
ロモン復号方法。
6. The error correction step b
(X) is multiplied by the degree of inconsistency, and the multiplication result is represented by
Error location term σxAnd add σ to the error location term x−Δ
rxb (x), the error estimation calibration term ar(X) and not
Matching degree ΔrAnd the result of the multiplication as a (-) sign
Error location term zxAnd add z to the error estimation termx−Δra
rSubstitute (x) for new error locator polynomial and error estimation
5. A modification according to claim 4, wherein a polynomial is generated.
Lead source using the modified Berlekamp Massey algorithm
Romon decoding method.
【請求項7】 前記第5段階は、誤り位置項σ(x)で
不一致度Δを除算し、その結果Δ −1σ(x)を誤
り位置校正項bに代入し、誤り推定項z(x)で不一致
度Δを除算し、その結果Δ −1xz(x)を誤り
推定校正項aに代入し、Lにr−Lを代入して誤り位置
多項式の商と校正項及び誤り推定項の次数を更新するこ
とを特徴とする請求項4記載の修正されたBerlekamp Ma
sseyアルゴリズムを用いたリードソロモン復号方法。
7. In the fifth step, the degree of mismatch Δ r is divided by the error location term σ (x), and as a result, Δ r −1 σ (x) is substituted for the error location calibration term b, and the error estimation term is calculated. dividing the inconsistency delta r in z (x), the result delta r -1 xz (x) is substituted into the error estimation calibration section a, the quotient and calibration terms of the error locator polynomial by substituting r-L to L 5. The modified Berlekamp Ma according to claim 4, wherein the order of the error estimation term is updated.
A Reed-Solomon decoding method using the ssey algorithm.
JP453599A 1998-01-10 1999-01-11 Reed-solomon decoding method using modified berlekamp-massey algorithm, and decoder thereof Pending JPH11274940A (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
KR1998-00492 1998-01-10
KR19980000492 1998-01-10

Publications (1)

Publication Number Publication Date
JPH11274940A true JPH11274940A (en) 1999-10-08

Family

ID=19531264

Family Applications (1)

Application Number Title Priority Date Filing Date
JP453599A Pending JPH11274940A (en) 1998-01-10 1999-01-11 Reed-solomon decoding method using modified berlekamp-massey algorithm, and decoder thereof

Country Status (1)

Country Link
JP (1) JPH11274940A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6449746B1 (en) * 1998-08-17 2002-09-10 T. K. Truong Decoding method for correcting both erasures and errors of reed-solomon codes
US7693927B2 (en) 2003-08-25 2010-04-06 Jennic Limited Data processing system and method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6449746B1 (en) * 1998-08-17 2002-09-10 T. K. Truong Decoding method for correcting both erasures and errors of reed-solomon codes
US7693927B2 (en) 2003-08-25 2010-04-06 Jennic Limited Data processing system and method

Similar Documents

Publication Publication Date Title
Lee High-speed VLSI architecture for parallel Reed-Solomon decoder
US6904558B2 (en) Methods for computing the CRC of a message from the incremental CRCs of composite sub-messages
US20050172208A1 (en) Forward Chien search type Reed-Solomon decoder circuit
US6625778B1 (en) Turbo error-correcting decoder and turbo error-correcting decoding method
JP4134029B2 (en) Soft decision decoding method for Reed-Solomon code
JP4497744B2 (en) Noise evaluation method and apparatus for turbo code and system using the same
KR970004515B1 (en) Error position correcting apparatus of reed-solomon code
US7051267B1 (en) Efficient high-speed Reed-Solomon decoder
JPH0879094A (en) Reed-solomon decoder
KR0135824B1 (en) Reed solomon decoder for error position
JP2694792B2 (en) Error position polynomial arithmetic circuit
JPH11274940A (en) Reed-solomon decoding method using modified berlekamp-massey algorithm, and decoder thereof
KR101149110B1 (en) Reed solomon decoder in a digital communication system
WO2010054526A1 (en) Rs decoding device and key multinomial solving device used by rs decoding device
US7281196B2 (en) Single error Reed-Solomon decoder
JP2005006188A (en) Crc computation method and crc computing unit
KR20060065452A (en) Reed-solomon decoder and circuits of the modified euclid&#39;s algorithm
KR20060098269A (en) An area-efficient reed-solomon decoder using pipelined recursive technique
US7693927B2 (en) Data processing system and method
JP3812983B2 (en) Error evaluation polynomial coefficient calculator
JPH06314978A (en) Chain search circuit
JP2940386B2 (en) Error correction decoding device
CN114157396A (en) RS encoder and RS encoding and decoding method
JPH1065553A (en) Polynomial evaluator for reed-solomon decoder
JP2797570B2 (en) Euclidean circuit