JPH05315974A - Decoding device for reed-solomon code - Google Patents

Decoding device for reed-solomon code

Info

Publication number
JPH05315974A
JPH05315974A JP11891892A JP11891892A JPH05315974A JP H05315974 A JPH05315974 A JP H05315974A JP 11891892 A JP11891892 A JP 11891892A JP 11891892 A JP11891892 A JP 11891892A JP H05315974 A JPH05315974 A JP H05315974A
Authority
JP
Japan
Prior art keywords
polynomial
error
correction
syndrome
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
JP11891892A
Other languages
Japanese (ja)
Other versions
JP2999881B2 (en
Inventor
Tetsuo Iwaki
哲男 岩木
Toshihisa Tanaka
稔久 田中
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.)
Sharp Corp
Original Assignee
Sharp Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sharp Corp filed Critical Sharp Corp
Priority to JP11891892A priority Critical patent/JP2999881B2/en
Priority to US08/046,853 priority patent/US5414719A/en
Priority to EP93106652A priority patent/EP0567148B1/en
Priority to DE69332070T priority patent/DE69332070T2/en
Publication of JPH05315974A publication Critical patent/JPH05315974A/en
Application granted granted Critical
Publication of JP2999881B2 publication Critical patent/JP2999881B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PURPOSE:To provide a Reed Solomon code decoding device capable of rapidly and flexibly dealing with various decoding strategy and attaining excellent correction ability at the time of correcting an error generated at the time of recording/reproducing rapid compressed information in high density recording. CONSTITUTION:The decoding device is provided with an input part 10 for computing syndrome (b) in accordance with input data and forming the number of positions disappearing from a disappearing flag at the time of disappearance correction, a polynomial forming part 11 connected to the input part 10 to find out the coefficients of respective degrees of an error position polynomial (d) and an error evaluating polynomial (e) based upon a result outputted from the input part 10, and a polynomial evaluating part 12 connected to the forming part 11 to substitute a Galois body source to the error position polynomial (d) and the error evaluation polynomial (e) and find out an error position (f) and an error value (g).

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、ディジタル・ビデオ・
テ−プ・レコ−ダなどのディジタルデータ記録再生装置
で発生した誤りを訂正する装置に関し、特にリードソロ
モン符号の復号装置に関する。
This invention relates to digital video
The present invention relates to an apparatus for correcting an error generated in a digital data recording / reproducing apparatus such as a tape recorder, and more particularly to a Reed-Solomon code decoding apparatus.

【0002】[0002]

【従来の技術】一般に、放送用として開発されたディジ
タル・ビデオ・テ−プ・レコ−ダ(VTR)は、高品質
な画像を記録できるのに加えて、何度ダビングしても画
質が劣化しないというディジタル記録に特有の利点があ
る。しかし、放送用ディジタルVTRは再生時の誤りの
発生を押えるため、比較的低い記録密度で記録再生を行
っているのでテープの消費量が増大する。
2. Description of the Related Art Generally, a digital video tape recorder (VTR) developed for broadcasting is capable of recording a high-quality image and also deteriorates the image quality no matter how many times it is dubbed. There is a particular advantage to digital recording that it does not. However, since the digital VTR for broadcasting suppresses the occurrence of errors during reproduction, the recording / reproduction is performed at a relatively low recording density, so that the tape consumption amount increases.

【0003】ディジタルVTRが家庭用として普及する
ためには、テープ消費量を押えることができる信号処理
方法を開発する必要があり、画像圧縮技術と高密度記録
技術の研究が盛んである。
In order for the digital VTR to become popular for household use, it is necessary to develop a signal processing method capable of suppressing the tape consumption amount, and research on image compression technology and high density recording technology is active.

【0004】しかし、画像圧縮により本来の画像がもつ
冗長情報が失われるため、訂正漏れを補完することが難
しくなっているのに加え、使用環境の悪化や高密度記録
により再生時の誤りが増加するため、家庭用ディジタル
VTRには高い誤り訂正能力が必要となる。
However, since the redundant information of the original image is lost by the image compression, it is difficult to compensate the correction omission, and the error at the time of reproduction increases due to the deterioration of the use environment and the high density recording. Therefore, the home digital VTR is required to have a high error correction capability.

【0005】また、画像圧縮によって本来の画像情報の
1/8程度に圧縮しているため、訂正処理の速度として
は放送用ディジタルVTRの1/8程度で良いことにな
るが、それでもディジタル・オーディオ・テ−プレコ−
ダ(DAT)などのディジタルオーディオ装置に比べて
10倍以上の高速処理が必要である。
Further, since the image is compressed to about ⅛ of the original image information, the correction processing speed may be about ⅛ of the broadcast digital VTR, but the digital audio is still used.・ Tepleco
Compared to digital audio equipment such as DA (DAT)
High-speed processing of 10 times or more is required.

【0006】上述した従来の誤り訂正回路の一構成例を
図4に示す。
FIG. 4 shows a configuration example of the conventional error correction circuit described above.

【0007】図4の誤り訂正回路は、入力部51、入力部
51に接続された演算部52、演算部52に接続された出力部
53、入力部51及び出力部53にそれぞれ接続された遅延部
54によって構成されている。
The error correction circuit of FIG. 4 has an input unit 51 and an input unit.
Calculation unit 52 connected to 51, output unit connected to the calculation unit 52
53, input section 51 and delay section connected to output section 53, respectively
It is composed of 54.

【0008】次に、図4の誤り訂正回路の動作を説明す
る。
Next, the operation of the error correction circuit of FIG. 4 will be described.

【0009】図4の誤り訂正回路は、訂正処理を(1) シ
ンドローム生成と消失位置の検出、(2) 誤り位置、誤り
の値の算出と訂正結果のチェック、(3) 訂正結果の出力
の3ステージに分け、それぞれを一つのパイプラインで
実行する。
The error correction circuit of FIG. 4 performs the correction processing of (1) detection of syndrome generation and erasure position, (2) error position, calculation of error value and check of correction result, and (3) output of correction result. It is divided into 3 stages and each is executed by one pipeline.

【0010】例えば、(1) シンドローム生成と消失位置
の検出では、入力部51は、専用のハードウェアにより、
1符号が通過する間にシンドローム生成と消失位置数の
生成を行い、次のパイプラインにシンドロームと消失位
置数を引き渡す。
For example, (1) In the syndrome generation and the detection of the disappearance position, the input section 51 is
The syndrome and the number of erasure positions are generated while one code passes, and the syndrome and the number of erasure positions are passed to the next pipeline.

【0011】次いで(2) 誤り位置、誤りの値の算出と訂
正結果のチェックでは、演算部52は、復号ストラテジー
に即した訂正プログラムに従って、シンドロームと消失
位置数から誤りの値を算出すると共に、算出した誤りの
位置と誤りの値から訂正結果をチェックし、誤りの位置
や誤りの値のチェック結果を次のパイプラインへ引き渡
す。
Next, (2) in the calculation of the error position and the error value and the check of the correction result, the arithmetic unit 52 calculates the error value from the syndrome and the number of erasure positions according to the correction program according to the decoding strategy, and The correction result is checked from the calculated error position and error value, and the check result of the error position and error value is passed to the next pipeline.

【0012】(3) 訂正結果の出力では、出力部53は、前
段で算出した誤りの位置に該当するデータに誤りの値を
加算することによって訂正処理を終了する。
(3) In outputting the correction result, the output unit 53 ends the correction process by adding the error value to the data corresponding to the error position calculated in the previous stage.

【0013】このように、訂正プログラムに従ってシン
ドロームと消失位置数から誤りの位置と誤りの値を算出
する方法では、誤りの傾向や消失フラグ数などの情報に
よって柔軟に訂正アルゴリズムを最適化するストラテジ
ックな復号が可能である。
As described above, in the method of calculating the error position and the error value from the syndrome and the number of erasure positions according to the correction program, it is possible to flexibly optimize the correction algorithm according to the information such as the error tendency and the number of erasure flags. Can be decrypted.

【0014】[0014]

【発明が解決しようとする課題】しかし、上述した従来
の誤り訂正回路では、訂正する誤りの個数が3誤り訂
正、4消失訂正などのように比較的少ない場合には、
(2) 誤り位置、誤りの値の算出と訂正結果のチェックに
要する計算量は少なく、1符号が通過するまでに(2)誤
り位置、誤りの値の算出の処理を終了することができる
ため、高速処理が可能であったが、4誤り訂正、8消失
訂正のように訂正能力を上げようとすると、計算量が飛
躍的に増加して訂正処理を律速するため、訂正速度を上
げることが困難であるという問題点があった。
However, in the above-described conventional error correction circuit, when the number of errors to be corrected is relatively small such as 3 error correction and 4 erasure correction,
(2) The calculation amount required to calculate the error position and error value and check the correction result is small, and (2) the processing for calculating the error position and error value can be completed before one code passes. Although high-speed processing was possible, if an attempt was made to increase the correction capability such as 4 error correction or 8 erasure correction, the amount of calculation increased dramatically and the correction processing was limited, so the correction speed could be increased. There was a problem that it was difficult.

【0015】本発明は、上記の従来の誤り訂正回路にお
ける問題点に鑑み、高速でデータ処理を行っても高能率
で誤り訂正を実現できるリードソロモン符号の復号装置
を提供する。
In view of the above-mentioned problems in the conventional error correction circuit, the present invention provides a Reed-Solomon code decoding device which can realize error correction with high efficiency even when data processing is performed at high speed.

【0016】[0016]

【課題を解決するための手段】本発明は、各過程を別個
の回路で構成してパイプライン処理によって流れ作業的
に復号処理を行うリードソロモン符号の復号装置であっ
て、入力データに応じてシンドロームを演算すると共に
消失訂正のときに消失フラグから消失位置数を生成する
入力部と、入力部に接続されており入力部から出力され
た結果に基づいて所定の多項式の各次の係数を求める多
項式生成部と、多項式生成部に接続されており所定の多
項式にガロア体の元を代入して誤りの位置及び誤りの値
を求める多項式評価部とを備えているリードソロモン符
号の復号装置によって達成される。
SUMMARY OF THE INVENTION The present invention is a Reed-Solomon code decoding apparatus in which each process is constituted by a separate circuit, and a decoding process is performed in a flow-wise manner by a pipeline process. An input unit that calculates the syndrome and generates the number of erasure positions from the erasure flag at the time of erasure correction, and obtains each coefficient of a predetermined polynomial based on the result output from the input unit that is connected to the input unit Achieved by a Reed-Solomon code decoding device that includes a polynomial generator and a polynomial evaluator that is connected to the polynomial generator and that finds the error position and error value by substituting Galois field elements for a given polynomial. To be done.

【0017】[0017]

【作用】本発明のリードソロモン符号の復号装置では、
入力部は入力データに応じてシンドロームを演算すると
共に消失訂正のときに消失フラグから消失位置数を生成
し、多項式生成部は入力部に接続されており入力部から
出力された結果に基づいて所定の多項式の各次の係数を
求め、多項式評価部は多項式生成部に接続されており所
定の多項式にガロア体の元を代入して誤りの位置及び誤
りの値を求めて、各過程を別個の回路で構成してパイプ
ライン処理によって流れ作業的に復号処理を行う。
In the Reed-Solomon code decoding apparatus of the present invention,
The input unit calculates the syndrome according to the input data and generates the number of erasure positions from the erasure flag at the time of erasure correction, and the polynomial generator is connected to the input unit and predetermined based on the result output from the input unit. The polynomial evaluator is connected to the polynomial generator, and the polynomial evaluator is connected to the polynomial generator to substitute the elements of the Galois field into a predetermined polynomial to find the error position and the error value, It is composed of a circuit and performs a decoding process in a pipelined manner by a pipeline process.

【0018】[0018]

【実施例】以下、図面を参照して本発明のリードソロモ
ン符号の復号装置の実施例を説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of a Reed-Solomon code decoding apparatus according to the present invention will be described below with reference to the drawings.

【0019】図1は、本発明のリードソロモン符号の復
号装置の一実施例であるリードソロモン符号の復号回路
の構成を示す図である。
FIG. 1 is a diagram showing the configuration of a Reed-Solomon code decoding circuit which is an embodiment of the Reed-Solomon code decoding apparatus of the present invention.

【0020】図1のリードソロモン符号の復号回路は、
入力部10、多項式生成部11、多項式評価部12、出力部1
3、及び遅延部14によって構成されている。
The decoding circuit for the Reed-Solomon code shown in FIG.
Input unit 10, polynomial generation unit 11, polynomial evaluation unit 12, output unit 1
3 and the delay unit 14.

【0021】ここで、図1のリードソロモン符号の復号
装置の動作を説明する前に、リードソロモン符号の復号
における誤りと訂正と消失訂正の処理について説明す
る。
Before explaining the operation of the Reed-Solomon code decoding apparatus of FIG. 1, the error, correction, and erasure correction processing in Reed-Solomon code decoding will be described.

【0022】まず、誤り訂正の場合について説明する。First, the case of error correction will be described.

【0023】誤り訂正では、シンドロームから所定の多
項式である誤り位置多項式σ(z) 及び誤り評価多項式ω
(z) を立て、次いでこれらの多項式にガロア体の元を代
入することで誤りの位置及び誤りの値を導出する。
In error correction, from the syndrome, an error locator polynomial σ (z) and an error evaluation polynomial ω which are predetermined polynomials are used.
(z) is established, and then the Galois field elements are substituted into these polynomials to derive the error position and the error value.

【0024】誤りを含んだ受信符号から、次式に従って
(n-k) 個のシンドロームSi を生成する。
From the received code containing an error, according to the following equation:
Generate (nk) syndromes S i .

【0025】[0025]

【数1】 [Equation 1]

【0026】ここでYj は受信符号の各シンボル、αは
ガロア体の原始元である。
Here, Y j is each symbol of the received code, and α is a primitive element of the Galois field.

【0027】誤り位置多項式σ(z) をThe error locator polynomial σ (z) is

【0028】[0028]

【数2】 [Equation 2]

【0029】と定義する。ここでpは受信信号に含まれ
る誤りの個数であり、Xi は誤り位置数と呼ばれ符号内
の誤りの位置を一義的に表す値をもつ。例えば、Yj
(j =0〜n-1)が誤っているとすると、その位置数はαj
で表すことができる。
It is defined as Here, p is the number of errors contained in the received signal, and X i is called the number of error positions and has a value that uniquely represents the position of the error in the code. For example, Y j
If (j = 0 to n-1) is incorrect, the number of positions is α j
Can be expressed as

【0030】シンドロームS0 〜S2p-1と誤り位置多項
式の係数との間には、次のような関係式が成り立つ。
The following relational expression holds between the syndromes S 0 to S 2p-1 and the coefficients of the error locator polynomial.

【0031】[0031]

【数3】 [Equation 3]

【0032】[0032]

【数4】 [Equation 4]

【0033】(4) 式を解くと、Solving the equation (4),

【0034】[0034]

【数5】 [Equation 5]

【0035】[0035]

【数6】 [Equation 6]

【0036】[0036]

【数7】 [Equation 7]

【0037】ここでMは、次の式で表すことができ
る。
Here, M p can be expressed by the following equation.

【0038】[0038]

【数8】 [Equation 8]

【0039】誤りがp−1個以下の場合には、(8) 式は
零となる。従って、誤りの個数は(8) 式が零とならない
最も大きいpとして判断できる。
When the number of errors is p-1 or less, the equation (8) becomes zero. Therefore, the number of errors can be judged as the largest p that the equation (8) does not become zero.

【0040】シンドロームS0 〜S2p-1から、シンドロ
ーム多項式S(z) を
From the syndromes S 0 to S 2p-1 , the syndrome polynomial S (z) is

【0041】[0041]

【数9】 [Equation 9]

【0042】と定義すると、誤り評価多項式ω(z) は、
次式に示す多項式同士の乗算によって求められる。
The error evaluation polynomial ω (z) is defined as
It is obtained by multiplying the polynomials shown in the following equation.

【0043】[0043]

【数10】 [Equation 10]

【0044】誤りの位置を求める際には、(2) 式にガロ
ア体の元を順に代入し、誤り位置多項式σ(z) =0とな
る解z(=Xi -1)を求める、チェンサーチと呼ばれる
方法を用いる。
When obtaining the error position, the elements of the Galois field are sequentially substituted into the equation (2) to obtain the solution z (= X i -1 ) that gives the error locator polynomial σ (z) = 0. A method called search is used.

【0045】誤りの個数が訂正範囲を超えている場合に
は、誤り位置多項式の次数とチェンサーチで求めた解の
個数が異なる場合があるため、多項式生成部で求めた誤
りの個数とチェンサーチで求めた解の個数を比較するこ
とによっても誤訂正を検出することができる。
If the number of errors exceeds the correction range, the order of the error locator polynomial may differ from the number of solutions obtained by the Chien search. Therefore, the number of errors obtained by the polynomial generator and the Chien search may be different. The erroneous correction can also be detected by comparing the number of solutions obtained in.

【0046】誤りの値を求める際には、誤り位置多項式
の形式微分σ′(z) を用いて、
When obtaining the error value, the formal derivative σ ′ (z) of the error locator polynomial is used to

【0047】[0047]

【数11】 [Equation 11]

【0048】と表すことができる。このとき、zσ′
(z) はσ(z) の奇数次項の和σodd (z)に等しくなるた
め、次式のように表すこともできる。
It can be expressed as At this time, zσ ′
Since (z) is equal to the sum σ odd (z) of odd-order terms of σ (z), it can be expressed as the following equation.

【0049】[0049]

【数12】 [Equation 12]

【0050】ここで、σodd (Xi -1)の値は、チェン
サーチにおいて解が判明したときに既に求まっているた
め、チェンサーチと同時にω(z) を評価すると効率良く
誤りの値を導出できる。
Since the value of σ odd (X i -1 ) has already been obtained when the solution is found in the Chien search, if ω (z) is evaluated at the same time as the Chien search, the error value can be efficiently determined. Can be derived.

【0051】また、誤り位置多項式の係数を導出する際
に、(5) 〜(8) 式の代わりに以下の式を用いても同様に
訂正が可能である。
Further, when deriving the coefficient of the error locator polynomial, the same correction can be performed by using the following expressions instead of the expressions (5) to (8).

【0052】[0052]

【数13】 [Equation 13]

【0053】[0053]

【数14】 [Equation 14]

【0054】[0054]

【数15】 [Equation 15]

【0055】[0055]

【数16】 [Equation 16]

【0056】このとき、ガロア体の除算を行う必要がな
くなるため、演算処理が少なくなると共にガロア体演算
回路としても除算を省くことができ、構成を簡略化でき
る。
At this time, since it is not necessary to perform the division of the Galois field, the arithmetic processing can be reduced and the division can be omitted even in the Galois field arithmetic circuit, and the configuration can be simplified.

【0057】消失訂正では受信符号において誤りの位置
があらかじめ分かっているので、(2) 式におけるXi
既知である。従って、誤り位置多項式を立てずに誤りの
位置と誤りの値を導くことも可能であるが、本発明では
以下に詳述する実施例に示すようにチェンサーチ以降の
処理を、誤り訂正と消失訂正で共通化し、専用ハードウ
ェア化することにより処理の高速化を図っている。
In erasure correction, the error position in the received code is known in advance, so X i in equation (2) is known. Therefore, it is possible to derive the error position and the error value without setting the error locator polynomial. However, in the present invention, as shown in the embodiment described in detail below, the processing after the Chien search is performed with error correction and erasure. The correction is standardized and dedicated hardware is used to speed up the process.

【0058】従って、消失訂正の処理としては、シンド
ロームを生成すると共に、(2) 式にXi を代入して定義
どおりに誤り位置多項式を導出し、次いで(10)式に従っ
て誤り評価多項式を導出する。誤りの個数は消失の個数
と等しい。消失訂正における以降の手順は誤り訂正と全
く同じとなる。
Therefore, as the erasure correction processing, the syndrome is generated, X i is substituted into the equation (2) to derive the error locator polynomial as defined, and then the error evaluation polynomial is derived according to the equation (10). To do. The number of errors is equal to the number of erasures. The subsequent procedure for erasure correction is exactly the same as for error correction.

【0059】次に、第1図のリードソロモン符号の復号
装置の動作を説明する。
Next, the operation of the Reed-Solomon code decoding apparatus shown in FIG. 1 will be described.

【0060】誤り訂正の場合、誤りを含んだ受信符号a
が入力部10に入力される。
In the case of error correction, the received code a containing an error
Is input to the input unit 10.

【0061】入力部10は、(1) 式に基づいて(n-k) 個の
シンドロームS0 〜Sn-k-1 を生成する。生成が完了し
たシンドロームbは多項式生成部11に送られ、入力部10
は次の受信符号aのシンドロームbの生成を開始する。
The input unit 10 generates (nk) syndromes S 0 to S nk-1 based on the equation (1). The syndrome b, which has been generated, is sent to the polynomial generation unit 11, and the input unit 10
Starts to generate the syndrome b of the next received code a.

【0062】多項式生成部11は、プログラムに従って演
算処理を行い、シンドロームbから(5) 式〜(8) 式に基
づいて誤りの個数cを判定すると共に、誤り位置多項式
dの係数(σ0 〜σp )を導出し、次いで誤り位置多項
式dとシンドロームbから(10)式に基づいて誤り評価多
項式eの係数(ω0 〜ωp-1 )を導出する。
The polynomial generator 11 performs arithmetic processing in accordance with the program, determines the number of errors c from the syndrome b based on the equations (5) to (8), and determines the coefficient (σ 0 to σ p ) and then the coefficients (ω 0 to ω p-1 ) of the error evaluation polynomial e from the error locator polynomial d and the syndrome b based on the equation (10).

【0063】多項式生成部11で導出した誤り位置多項式
dと誤り評価多項式eは、多項式評価部12へ送られる。
The error position polynomial d and the error evaluation polynomial e derived by the polynomial generation unit 11 are sent to the polynomial evaluation unit 12.

【0064】多項式生成部11に次の受信符号aのシンド
ロームbが入力されると、多項式生成部11は再び上記の
処理を繰り返す。
When the syndrome b of the next received code a is input to the polynomial generator 11, the polynomial generator 11 repeats the above process again.

【0065】また、誤り位置多項式dの係数(σ0 〜σ
p )を導出する際に(5) 式〜(8) 式の代わりに(13)式〜
(16)式を用いても同様に訂正が可能であり、更に、ガロ
ア体の除算が不要になるため、多項式生成部11に含まれ
る演算回路の構成が簡略化できる。
Further, the coefficients of the error locator polynomial d (σ 0 to σ
When deriving p ), instead of Eqs. (5) ~ (8), Eqs. (13) ~
The correction can be performed in the same manner by using the expression (16), and since the Galois field division is unnecessary, the configuration of the arithmetic circuit included in the polynomial generator 11 can be simplified.

【0066】多項式評価部12は、誤り位置多項式dと誤
り評価多項式eがそれぞれ多項式評回路(図示省略)で
評価される。
In the polynomial evaluation section 12, the error locator polynomial d and the error evaluation polynomial e are respectively evaluated by a polynomial evaluation circuit (not shown).

【0067】多項式評価回路では、ガロア体の元
(α0 , α-1, α-2, α-3, ……, α-(n- 1))を順次多
項式に代入して式の値を得るが、誤り位置多項式dを評
価する場合には、(2) 式における全ての次数の項の和か
ら、奇数次の項のみの和(σodd )を分離することによ
って、(12)式から誤りの値を求めることがてきる。
In the polynomial evaluation circuit, the elements of the Galois field (α 0 , α -1 , α -2 , α -3 , ..., α- (n- 1) ) are sequentially substituted into the polynomial and the value of the equation is calculated. However, when the error locator polynomial d is evaluated, by separating the sum (σ odd ) of only odd-order terms from the sum of all order terms in equation (2), It is possible to find the wrong value.

【0068】また、チェンサーチによって誤り位置多項
式dの解が判明したときには、誤り位置多項式σ(z) =
0となるが、このときには偶数次の項のみの和
(σeven)の値は、奇数次の項のみの和σodd と等しく
なるため、(12)式において奇数次の項のみの和σodd
代わりに偶数次の項のみの和σevenを用いても結果は変
わらない。
When the solution of the error locator polynomial d is found by the Chien search, the error locator polynomial σ (z) =
However, at this time, the value of the sum (σ even ) of only the even-order terms becomes equal to the sum σ odd of the odd-order terms only, so the sum σ odd of only the odd-order terms in equation (12). The result does not change even if the sum σ even of even-order terms is used instead of.

【0069】多項式評価部12から出力させる誤りの位置
fとしては、チェンサーチにおいて誤り位置多項式σ
(z) =0となるzの組が出力され、誤りの値gとしては
それぞれの誤り位置における(12)式の評価結果が出力さ
れる。
The error position f output from the polynomial evaluation unit 12 is the error position polynomial σ in the Chien search.
A set of z for which (z) = 0 is output, and as the error value g, the evaluation result of the expression (12) at each error position is output.

【0070】訂正処理のチェックの一つの方法は、多項
式生成部11で得られた誤りの個数cを多項式評価部12へ
送り、多項式評価部12で得られた誤り位置多項式dの解
の数をカウントしたものと一致するかどうかで判定す
る。
One method of checking the correction process is to send the number of errors c obtained by the polynomial generator 11 to the polynomial evaluator 12, and determine the number of solutions of the error locator polynomial d obtained by the polynomial evaluator 12. Judgment is made based on whether or not the count matches.

【0071】訂正処理のチェックのもう一つの方法は、
多項式生成部11で誤り位置多項式dや誤り評価多項式e
を導出する際に使用していないシンドロームが残ってい
た場合に利用できる方法があるが、そのときの符号構成
や誤り状況に応じて、多項式生成部11からその受信符号
aを復号するのに使用しなかったシンドロームq(S
chk )を多項式評価部12に送り、多項式評価部12で導出
した誤りの位置fと誤りの値gから検算したシンドロー
ムb′と比較して一致するかどうかで判定する。
Another method of checking the correction process is
In the polynomial generator 11, the error locator polynomial d and the error evaluation polynomial e
There is a method that can be used when there is a syndrome that is not used when deriving the, but it is used to decode the received code a from the polynomial generator 11 according to the code configuration and error situation at that time. Syndrome q (S
chk ) is sent to the polynomial evaluation unit 12, and the error position f derived by the polynomial evaluation unit 12 is compared with the syndrome b ′ calculated from the error value g to determine whether or not they match.

【0072】出力部13では、遅延部14から入力される復
号にかかる時間だけ遅れた受信符号mの中の、多項式評
価部12で求めた誤りの位置fに該当するシンボルに、誤
りの値gを加算することで訂正処理を行う。
In the output unit 13, the error value g is assigned to the symbol corresponding to the error position f obtained by the polynomial evaluation unit 12 in the received code m delayed by the time required for decoding input from the delay unit 14. Correction processing is performed by adding.

【0073】また、多項式評価部12でのチェック結果h
により誤訂正が検出された場合には、訂正不能フラグ
(図示省略)を出力して、訂正を行わない。
Further, the check result h in the polynomial evaluation unit 12
If an erroneous correction is detected by, the uncorrectable flag (not shown) is output and the correction is not performed.

【0074】消失訂正の場合、受信符号aと共に、消失
フラグiが入力部10に入力される。
In the case of erasure correction, the erasure flag i is input to the input unit 10 together with the received code a.

【0075】入力部10は、誤り訂正と同様に、(1) 式に
基づいて(n-k) 個のシンドロームb(S0 〜Sn-k-1
を生成するのに加え、符号中の消失フラグiの位置から
消失位置数jを生成して多項式生成部11に送る。
Like the error correction, the input unit 10 uses (nk) syndromes b (S 0 to S nk-1 ) based on the equation ( 1 ).
In addition to generating, the number of disappearance positions j is generated from the position of the disappearance flag i in the code and sent to the polynomial generator 11.

【0076】多項式生成部11は、消失訂正用のプログラ
ムに従って演算処理を行い、消失位置数jから(2) 式に
基づいて誤り位置多項式dの係数(σ0 〜σp )を導出
し、次いで誤り訂正と同様に誤り位置多項式dとシンド
ロームbから(10)式に基づいて誤り評価多項式eの係数
(ω0 〜ωp-1 )を導出する。
The polynomial generator 11 performs arithmetic processing in accordance with the erasure correction program, derives the coefficients (σ 0 to σ p ) of the error locator polynomial d from the number of erasure positions j based on equation (2), and then Similar to the error correction, the coefficients (ω 0 to ω p-1 ) of the error evaluation polynomial e are derived from the error locator polynomial d and the syndrome b based on the equation (10).

【0077】多項式生成部11で導出した誤り位置多項式
dと誤り評価多項式eは、多項式評価部12へ送られる。
The error position polynomial d and the error evaluation polynomial e derived by the polynomial generator 11 are sent to the polynomial evaluation unit 12.

【0078】以降の処理は誤り訂正の場合と同じなの
で、以下説明を省略する。
Since the subsequent processing is the same as the case of error correction, the description will be omitted below.

【0079】図2は、図1の多項式生成部11の一構成例
を示す。
FIG. 2 shows an example of the configuration of the polynomial generator 11 of FIG.

【0080】図2の多項式生成部11は、シンドロ−ムレ
ジスタ−20、消失位置数レジスタ−21、データバス22〜
26、入力レジスタ27〜30、演算回路31、演算回路32、イ
ンストラクション・リ−ド・オンリ−・メモリ(RO
M)33、プログラムカウンタ−34、誤り位置多項式レジ
スタ−35、誤り評価多項式レジスタ−36、及びチェック
用レジスタ−37によって構成されている。
The polynomial generator 11 of FIG. 2 has a syndrome register-20, an erasure position number register-21, a data bus 22 ...
26, input registers 27 to 30, arithmetic circuit 31, arithmetic circuit 32, instruction read only memory (RO
M) 33, a program counter 34, an error position polynomial register 35, an error evaluation polynomial register 36, and a check register 37.

【0081】次に、図2の多項式生成部11の動作を説明
する。
Next, the operation of the polynomial generator 11 of FIG. 2 will be described.

【0082】入力部10(図1参照)から出力されるシン
ドロームb及び消失位置数jは、それぞれシンドロ−ム
レジスタ−20及び消失位置数レジスタ−21に保持され
る。
The syndrome b and the disappearance position number j output from the input unit 10 (see FIG. 1) are held in the syndrome register-20 and the disappearance position number register-21, respectively.

【0083】これらのデータは、インストラクションR
OM33に格納されているインストラクションnにより選
択されてデータバス22〜26へ出力される。
These data are the instruction R
It is selected by the instruction n stored in the OM 33 and output to the data buses 22 to 26.

【0084】データバス22〜25は、演算回路31,32の入
力レジスタ27〜30に接続されており、入力レジスタ27,
28は演算回路31で、入力レジスタ29,30は演算回路32で
それぞれ処理される。
The data buses 22 to 25 are connected to the input registers 27 to 30 of the arithmetic circuits 31 and 32, respectively.
28 is an arithmetic circuit 31, and the input registers 29 and 30 are processed by an arithmetic circuit 32.

【0085】演算回路31,32内の演算素子31e,32e
は、インストラクションに基づいてそれぞれガロア体上
の加算及び乗算を実行することができ、演算結果はイン
ストラクションに基づいて演算レジスタ−31r,32r内
の指定されたアドレスへ格納される。
Arithmetic elements 31e and 32e in the arithmetic circuits 31 and 32
Can perform addition and multiplication on the Galois field based on the instruction, and the operation result is stored in a specified address in the operation registers -31r and 32r based on the instruction.

【0086】演算レジスタ−31r,31rの出力はデータ
バス22〜26に接続されており、読み出しアドレスは各バ
ス独立にインストラクションによって決定される。
The outputs of the operation registers 31r and 31r are connected to the data buses 22 to 26, and the read address is determined by the instruction independently for each bus.

【0087】データバス26は、誤り位置多項式d、誤り
評価多項式eの各次の係数と誤り個数c及びチェック用
シンドロームqを出力する。
The data bus 26 outputs the coefficient of each degree of the error locator polynomial d, the error evaluation polynomial e, the number of errors c, and the check syndrome q.

【0088】インストラクションROM33のアドレス
は、プログラムカウンタ−34によって与えられる。ま
た、プログラムカウンタ−34はインストラクションRO
M33により分岐制御が行われ、このための絶対または相
対ジャンプアドレスはインストラクションROM33から
与えられる。
The address of the instruction ROM 33 is given by the program counter-34. Also, the program counter-34 is an instruction RO
Branch control is performed by M33, and the absolute or relative jump address for this is given from the instruction ROM33.

【0089】インストラクションROM33に何通りかの
訂正アルゴリズムを用意しておき、訂正モード、符号構
成、消失の個数、多項式生成部11で求めた誤りの個数c
等で適宜分岐することにより、高速かつ誤りの状況に柔
軟に対処できる訂正処理を行うことが可能である。
Several kinds of correction algorithms are prepared in the instruction ROM 33, and the correction mode, the code configuration, the number of erasures, and the number of errors c calculated by the polynomial generator 11 are stored.
It is possible to perform the correction processing at a high speed and flexibly to cope with an error situation by appropriately branching with, for example.

【0090】図3に、図1の多項式評価部12の一構成例
を示す。
FIG. 3 shows an example of the configuration of the polynomial evaluation unit 12 shown in FIG.

【0091】図3の多項式評価部12は、誤り位置多項式
評価部40、誤り位置多項式評価部40に接続された誤り位
置出力部41、誤り位置多項式評価部40及び誤り位置出力
部41に接続された誤りの値出力部42、誤りの値出力部42
に接続されたシンドロ−ム検算部43、誤りの値出力部42
に接続された誤り個数出力部44、シンドロ−ム検算部43
及び誤り個数出力部44に接続されたチェック結果出力部
45によって構成されている。
The polynomial evaluation unit 12 of FIG. 3 is connected to the error position polynomial evaluation unit 40, the error position output unit 41 connected to the error position polynomial evaluation unit 40, the error position polynomial evaluation unit 40, and the error position output unit 41. Error value output unit 42, error value output unit 42
Syndrome check unit 43 and error value output unit 42 connected to
Error number output unit 44 and syndrome verification unit 43 connected to
And a check result output unit connected to the error count output unit 44
It consists of 45.

【0092】次に、図3の多項式評価部12の動作を説明
する。
Next, the operation of the polynomial evaluation unit 12 of FIG. 3 will be described.

【0093】誤り位置多項式評価部40は、誤り位置多項
式dを評価する際には、偶数次の項と奇数次の項に分
け、それぞれにガロア体の元を代入して式の値を求め
る。
When evaluating the error locator polynomial d, the error locator polynomial evaluation unit 40 divides it into even-order terms and odd-order terms, and substitutes Galois field elements into each to obtain the value of the equation.

【0094】誤り位置出力部41は、誤り位置多項式評価
部40で解が発見されたときには、偶数次の項の和σe
奇数次の項の和σo が等しくなるので、代入するガロア
体の元と同期した誤り位置ポインタの出力を発見信号で
ゲートすることにより、誤り位置を求める。
Since the error position output unit 41 finds a solution in the error position polynomial evaluation unit 40, the sum σ e of even-numbered terms and the sum σ o of odd-numbered terms become equal, so the Galois field to be substituted is The error position is obtained by gating the output of the error position pointer, which is synchronized with the source of, with the discovery signal.

【0095】また、誤り評価多項式eの評価結果ωを奇
数次の項の和σo で除することにより誤りの大きさが求
められるので、誤りの値出力部42は誤り位置fと同様に
発見信号でゲートすることにより誤りの値gを求める。
Further, since the magnitude of the error is obtained by dividing the evaluation result ω of the error evaluation polynomial e by the sum σ o of odd-order terms, the error value output unit 42 finds out like the error position f. An error value g is obtained by gating with a signal.

【0096】シンドロ−ム検算部43は、訂正結果のチェ
ックとして、上記誤りから試算したシンドロームb′と
多項式生成部11から送られた検算用シンドロームqを比
較し、一致すれば検算結果が正しかったと判断する。
As a check of the correction result, the syndrome verification unit 43 compares the syndrome b'trial-calculated from the above error with the verification syndrome q sent from the polynomial generator 11, and if they match, the verification result is correct. to decide.

【0097】また、誤り個数出力部44は、チェンサーチ
により発見された解の計数結果と多項式生成部11から送
られた誤り個数cを比較し、一致すれば誤り個数cの判
定が正しかったと判定する。
Further, the error number output unit 44 compares the counting result of the solution found by the Chien search with the error number c sent from the polynomial generating unit 11, and if they match, the error number c is determined to be correct. To do.

【0098】チェック結果出力部45は、上記シンドロ−
ム検算部43及び誤り個数出力部44からの出力の論理和
を、多項式評価部12から出力するチェック結果hとして
出力する。
The check result output unit 45 displays the above-mentioned syndrome.
The logical sum of the outputs from the error check unit 43 and the error number output unit 44 is output as the check result h output from the polynomial evaluation unit 12.

【0099】[0099]

【発明の効果】本発明のリードソロモン符号の復号装置
は、各過程を別個の回路で構成してパイプライン処理に
よって流れ作業的に復号処理を行うリードソロモン符号
の復号装置であって、入力データに応じてシンドローム
を演算すると共に消失訂正のときに消失フラグから消失
位置数を生成する入力部と、入力部に接続されており入
力部から出力された結果に基づいて所定の多項式の各次
の係数を求める多項式生成部と、多項式生成部に接続さ
れており所定の多項式にガロア体の元を代入して誤りの
位置及び誤りの値を求める多項式評価部とを備えている
ので、復号ストラテジーへの高速かつ柔軟な対応が可能
であり、高密度記録において高速圧縮情報の記録再生時
に発生する誤りの訂正時に優れた訂正能力を実現できる
という効果がある。
EFFECT OF THE INVENTION Reed-Solomon code decoding apparatus of the present invention
Configures each process with a separate circuit for pipeline processing.
Therefore, a Reed-Solomon code that performs decoding processing in a streamlined manner
Decoding device for the syndrome
And erase from the erasure flag at the time of erasure correction
An input unit for generating the number of positions and an input unit connected to the input unit.
Each order of a given polynomial based on the result output from the force section
Connected to the polynomial generator that finds the coefficient of
And assign Galois field elements to the given polynomial
It is equipped with a polynomial evaluator that determines the position and error values.
Therefore, it is possible to respond to the decoding strategy quickly and flexibly.
Therefore, when recording and reproducing high-speed compressed information in high-density recording
Excellent correction capability can be achieved when correcting errors that occur in
There is an effect.

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

【図1】本発明のリードソロモン符号の復号装置の一実
施例の構成を示すブロック図である
FIG. 1 is a block diagram showing a configuration of an embodiment of a Reed-Solomon code decoding apparatus of the present invention.

【図2】図1の復号装置を構成する多項式生成部の一構
成例を示すブロック図である。
FIG. 2 is a block diagram showing a configuration example of a polynomial generator that constitutes the decoding device in FIG.

【図3】図1の復号装置を構成する多項式評価部の一構
成例を示すブロック図である。
FIG. 3 is a block diagram showing a configuration example of a polynomial evaluation unit that constitutes the decoding device in FIG.

【図4】従来の誤り訂正回路の一構成例を示すブロック
図である。
FIG. 4 is a block diagram showing a configuration example of a conventional error correction circuit.

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

10 入力部 11 多項式生成部 12 多項式評価部 13 出力部 14 遅延部 10 Input section 11 Polynomial generation section 12 Polynomial evaluation section 13 Output section 14 Delay section

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 各過程を別個の回路で構成してパイプラ
イン処理によって流れ作業的に復号処理を行うリードソ
ロモン符号の復号装置であって、入力データに応じてシ
ンドロームを演算すると共に消失訂正のときに消失フラ
グから消失位置数を生成する入力部と、前記入力部に接
続されており当該入力部から出力された結果に基づいて
所定の多項式の各次の係数を求める多項式生成部と、前
記多項式生成部に接続されており前記所定の多項式にガ
ロア体の元を代入して誤りの位置及び誤りの値を求める
多項式評価部とを備えていることを特徴とするリードソ
ロモン符号の復号装置。
1. A Reed-Solomon code decoding device in which each process is configured by a separate circuit to perform a work flow decoding process by pipeline processing, wherein a syndrome is calculated according to input data and erasure correction is performed. An input unit that sometimes generates the number of disappearance positions from the disappearance flag, a polynomial generation unit that is connected to the input unit and calculates each coefficient of a predetermined polynomial based on the result output from the input unit, and A Reed-Solomon code decoding device, which is connected to a polynomial generator and which includes a polynomial evaluator that substitutes an element of a Galois field into the predetermined polynomial to obtain an error position and an error value.
JP11891892A 1992-04-24 1992-05-12 Reed-Solomon decoding device Expired - Fee Related JP2999881B2 (en)

Priority Applications (4)

Application Number Priority Date Filing Date Title
JP11891892A JP2999881B2 (en) 1992-05-12 1992-05-12 Reed-Solomon decoding device
US08/046,853 US5414719A (en) 1992-04-24 1993-04-15 Operating circuit for galois field
EP93106652A EP0567148B1 (en) 1992-04-24 1993-04-23 Operating circuit for galois field
DE69332070T DE69332070T2 (en) 1992-04-24 1993-04-23 Control circuit for Galois field

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP11891892A JP2999881B2 (en) 1992-05-12 1992-05-12 Reed-Solomon decoding device

Publications (2)

Publication Number Publication Date
JPH05315974A true JPH05315974A (en) 1993-11-26
JP2999881B2 JP2999881B2 (en) 2000-01-17

Family

ID=14748408

Family Applications (1)

Application Number Title Priority Date Filing Date
JP11891892A Expired - Fee Related JP2999881B2 (en) 1992-04-24 1992-05-12 Reed-Solomon decoding device

Country Status (1)

Country Link
JP (1) JP2999881B2 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06244741A (en) * 1993-02-18 1994-09-02 Nec Corp Error correcting method
KR100532373B1 (en) * 1997-08-25 2006-03-24 삼성전자주식회사 Error correction method in reproduction of digital signal
US7478311B2 (en) 2003-08-29 2009-01-13 Panasonic Corporation Error detection device and error detection method
US7555702B2 (en) 2005-11-25 2009-06-30 Fujitsu Limited Error correction device, error correction program and error correction method

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4672743B2 (en) * 2008-03-01 2011-04-20 株式会社東芝 Error correction apparatus and error correction method
JP5121947B2 (en) * 2011-01-14 2013-01-16 株式会社東芝 Error correction apparatus and error correction method

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06244741A (en) * 1993-02-18 1994-09-02 Nec Corp Error correcting method
KR100532373B1 (en) * 1997-08-25 2006-03-24 삼성전자주식회사 Error correction method in reproduction of digital signal
US7478311B2 (en) 2003-08-29 2009-01-13 Panasonic Corporation Error detection device and error detection method
US7555702B2 (en) 2005-11-25 2009-06-30 Fujitsu Limited Error correction device, error correction program and error correction method

Also Published As

Publication number Publication date
JP2999881B2 (en) 2000-01-17

Similar Documents

Publication Publication Date Title
EP0567148B1 (en) Operating circuit for galois field
US5920578A (en) Method and apparatus for efficiently processing a multi-dimensional code
US6048090A (en) Error correction and concurrent verification of a product code
US5157669A (en) Comparison of an estimated CRC syndrome to a generated CRC syndrome in an ECC/CRC system to detect uncorrectable errors
US5027357A (en) ECC/CRC error detection and correction system
JPH084233B2 (en) Error correction code decoding device
NL9402204A (en) Error correcting decoder and error correction decoding method.
US6725416B2 (en) Forward error correction apparatus and methods
US5490154A (en) Method of and circuit arrangement for decoding RS-coded data signals
US5365529A (en) Circuitry for detecting and correcting errors in data words occurring in Reed-Solomon coded blocks and determining when errors are uncorrectable by syndrome analysis, Euclid's algorithm and a Chien search
JP3281387B2 (en) CRC / EDC checker system
JP2999881B2 (en) Reed-Solomon decoding device
JPH0865175A (en) Error position detecting circuit of reed-solomon decoder
JPH1117557A (en) Error correction method and device therefor
US5615220A (en) Polynomial divider which can perform Euclid's Algorithm to produce an error locator polynomial from an error syndrome polynomial, and apparatus including the polynomial divider
JP3252515B2 (en) Error correction device
JP2578739B2 (en) Erase correction method
US6446233B1 (en) Forward error correction apparatus and methods
JP2944813B2 (en) Error correction code decoding device
JP3135552B2 (en) Error detection and correction device for Reed-Solomon code
JP3583905B2 (en) Error correction device
EP0825533A1 (en) Method and circuit for calculating and processing error correction
JP2945539B2 (en) Error correction result check circuit
KR100425083B1 (en) Error correction code circuit for different kinds of optical disks
JP2948026B2 (en) Decoding method of Reed-Solomon code

Legal Events

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

Year of fee payment: 9

Free format text: PAYMENT UNTIL: 20081105

LAPS Cancellation because of no payment of annual fees