JP3290639B2 - Reed-Solomon decoding device and control method thereof - Google Patents

Reed-Solomon decoding device and control method thereof

Info

Publication number
JP3290639B2
JP3290639B2 JP35208799A JP35208799A JP3290639B2 JP 3290639 B2 JP3290639 B2 JP 3290639B2 JP 35208799 A JP35208799 A JP 35208799A JP 35208799 A JP35208799 A JP 35208799A JP 3290639 B2 JP3290639 B2 JP 3290639B2
Authority
JP
Japan
Prior art keywords
error
reed
input data
bits
solomon decoding
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP35208799A
Other languages
Japanese (ja)
Other versions
JP2000232377A (en
Inventor
俊彦 福岡
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Panasonic Corp
Panasonic Holdings Corp
Original Assignee
Panasonic Corp
Matsushita Electric Industrial Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Panasonic Corp, Matsushita Electric Industrial Co Ltd filed Critical Panasonic Corp
Priority to JP35208799A priority Critical patent/JP3290639B2/en
Publication of JP2000232377A publication Critical patent/JP2000232377A/en
Application granted granted Critical
Publication of JP3290639B2 publication Critical patent/JP3290639B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Detection And Prevention Of Errors In Transmission (AREA)
  • Detection And Correction Of Errors (AREA)
  • Error Detection And Correction (AREA)

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、多重誤り訂正リー
ドソロモン(Reed-Solomon)符号の復号装置、すなわちリ
ードソロモン復号装置と、その制御方法に関するもので
ある。
[0001] 1. Field of the Invention [0002] The present invention relates to a multiple error correction Reed-Solomon code decoding device, that is, a Reed-Solomon decoding device, and a control method thereof.

【0002】[0002]

【従来の技術】各種大容量記憶装置の記憶情報、高速通
信の伝送情報等において、多重誤り訂正を可能とする符
号としてリードソロモン符号が広く知られている。リー
ドソロモン符号は、原始多項式をW(z)とし、W(z)=0の
根をαとするとき、この根αを原始元とするガロア体
(Galois field)上の符号であって、ブロック誤り訂正
符号の1つである。ここで、αをガロア体の
2. Description of the Related Art Reed-Solomon codes are widely known as codes capable of correcting multiple errors in information stored in various mass storage devices, transmission information of high-speed communication, and the like. The Reed-Solomon code is a code on a Galois field (Galois field) having the root α as a primitive element when a primitive polynomial is W (z) and a root of W (z) = 0 is α. This is one of the error correction codes. Where α is the Galois field

【数1】 の原始元とし、(Equation 1) And the primitive element of

【数2】 を根とする、符号長n=2m−1のリードソロモン符号を
考える。この符号によれば、mビットが1処理単位すな
わち1シンボルとされる。原情報の量はn-2tシンボルで
ある。以下の説明ではm=8とし、1シンボルが8ビッ
トすなわち1バイトで表わされるものとする。1パケッ
トの受信語は、n個のシンボルからなる。t=8 の場合に
は8シンボルの誤り訂正が可能である。
(Equation 2) Consider a Reed-Solomon code having a code length n = 2 m −1 and having According to this code, m bits are one processing unit, that is, one symbol. The amount of original information is n-2t symbols. In the following description, it is assumed that m = 8 and one symbol is represented by 8 bits, that is, 1 byte. The received word of one packet is composed of n symbols. When t = 8, error correction of 8 symbols is possible.

【0003】リードソロモン符号の復号方法は、一般
に、シンドローム計算、誤り評価多項式および誤り位置
多項式の算出、誤り位置および誤り大きさの算出、誤り
訂正、という手順で行なう。これら復号方法の詳細に関
しては、特開平10−135846号公報に開示されて
いる。
[0003] A decoding method of a Reed-Solomon code is generally performed in the order of syndrome calculation, calculation of an error evaluation polynomial and an error position polynomial, calculation of an error position and error magnitude, and error correction. Details of these decoding methods are disclosed in JP-A-10-135846.

【0004】[0004]

【発明が解決しようとする課題】一般に、リードソロモ
ン符号による誤り訂正は、非常に訂正能力が高い。しか
も、リードソロモン符号単独のみでなく、畳み込み符
号、インターリーブ処理との組み合わせで訂正処理を実
現したり、リードソロモン符号自体を積符号として2重
に処理するため、実伝送路上においては、ほとんどエラ
ーのないエラーフリー状態となる。しかしながら、何ら
かの要因によって伝送路の状態が、誤り訂正能力を超え
てしまうほど悪い場合、通常のリードソロモン復号処理
では、全く誤り訂正が行われないか、あるいは誤訂正が
行われる可能性がある。
Generally, error correction using Reed-Solomon codes has a very high correction capability. In addition, not only the Reed-Solomon code alone, but also the correction processing is realized in combination with the convolutional code and the interleave processing, and the Reed-Solomon code itself is double-processed as a product code. No error free state. However, if the state of the transmission path is so bad that it exceeds the error correction capability due to some factor, there is a possibility that no error correction is performed at all in the ordinary Reed-Solomon decoding process, or erroneous correction is performed.

【0005】従来、リードソロモン復号処理では、予想
される最悪状態の伝送路に対して誤り訂正数の最大値を
決定するので、通常は、エラーフリー状態を実現でき
る。しかし、誤り訂正数が最大値を超えて、誤り訂正が
不可能になった場合、従来のリードソロモン復号処理で
は、訂正不可能であることをフラグで通知するのみであ
る。訂正不可能であることを通知するフラグは、通常、
リードソロモン復号処理を行う装置を備えたLSIとは
別の、誤り訂正のエラーを監視する監視装置に送られ
る。しかし、監視装置はLSI作製時のテストに用いら
れるだけで、実際のシステムにおいてリードソロモン復
号処理を行う場合、誤り訂正のエラーを監視する手段が
ないという問題がある。
Conventionally, in the Reed-Solomon decoding process, the maximum value of the number of error corrections is determined for the expected worst-case transmission path, so that an error-free state can usually be realized. However, when the number of error corrections exceeds the maximum value and error correction becomes impossible, in the conventional Reed-Solomon decoding process, only the fact that correction is impossible is reported by a flag. Flags that signal uncorrectable are usually
It is sent to a monitoring device that monitors an error correction error, which is different from the LSI including the device that performs the Reed-Solomon decoding process. However, the monitoring device is used only for a test at the time of manufacturing an LSI, and there is a problem that when performing Reed-Solomon decoding processing in an actual system, there is no means for monitoring an error of an error correction.

【0006】従って、誤り訂正能力を超える状態が頻発
しても、その状態に対応する処理は、リードソロモン復
号処理を行う実際のLSIでは全く行なわれていない。
さらに、誤り訂正が行われているのか、もし、行われて
いたら、どの程度の誤り訂正が正しく行われているのか
をLSIが知る指標が全く存在しないという問題があ
る。
Therefore, even if a state exceeding the error correction capability frequently occurs, the processing corresponding to the state is not performed at all in an actual LSI that performs the Reed-Solomon decoding processing.
Furthermore, there is a problem that there is no index at which the LSI knows whether the error correction is performed, and if so, how much error correction is correctly performed.

【0007】本発明は、上記の問題点を解決するために
なされたものであり、誤り訂正能力を超えるエラーの発
生と、誤り訂正の程度とを監視する手段を備えたリード
ソロモン復号装置、その制御方法、及びその制御を行う
プログラムを記憶した記憶媒体を提供することを目的と
する。
SUMMARY OF THE INVENTION The present invention has been made to solve the above problems, and a Reed-Solomon decoding device having means for monitoring the occurrence of an error exceeding the error correction capability and the degree of error correction. It is an object to provide a control method and a storage medium storing a program for performing the control.

【0008】[0008]

【課題を解決するための手段】上記目的を達成するため
に、本発明によるリードソロモン復号装置は、入力デー
タの誤り訂正をリードソロモン符号によって行うリード
ソロモン復号器と、リードソロモン復号器による誤り訂
正の処理エラーを検出し、且つ、入力データの誤りの程
度を監視する訂正状態監視器と、を備え、リードソロモ
ン復号器は、入力データからシンドロームを算出するシ
ンドローム計算器と、シンドロームを用いて、誤り位置
多項式および誤り評価多項式を算出するユークリッド互
除計算器と、誤り位置多項式および誤り評価多項式から
入力データの誤っているバイトを示す誤り位置を算出す
る誤り位置算出器と、誤り位置と誤り位置が示す誤った
バイトを構成するビットのうち、どのビットが誤ってい
るかを示す誤りの大きさとを用いて、入力データを訂正
する誤り訂正器と、を備え、誤りの大きさは、ユークリ
ッド互除計算器あるいは上記誤り位置算出器のいずれか
によって、誤り位置多項式および誤り評価多項式を用い
て算出され、訂正状態監視器は、ユークリッド互除計算
器、及び誤り位置算出器を監視して、ユークリッド互除
計算器から出力されるユークリッド処理エラーフラグと
誤り位置算出器から出力されるチェン検索エラーフラグ
との論理和信号である訂正不能示唆信号を受けて、その
訂正不能示唆信号からリードソロモン復号処理エラーの
有無を示すエラーフリー示唆信号を生成し、誤りの位置
及び誤りの大きさから、ビット誤り率若しくはシンボル
誤り率、または、入力データの総ビット数および誤りビ
ット数若しくは入力データの総シンボル数および誤りシ
ンボル数を含む、入力データの誤りの程度を示す信号を
生成する。
In order to achieve the above object, a Reed-Solomon decoding device according to the present invention provides a Reed-Solomon decoder for performing error correction of input data using a Reed-Solomon code, and an error correction using a Reed-Solomon decoder. And a correction state monitor that monitors the degree of error in the input data.The Reed-Solomon decoder uses a syndrome calculator that calculates a syndrome from the input data, An Euclidean algorithm for calculating an error location polynomial and an error evaluation polynomial; an error location calculator for calculating an error location indicating an error byte of input data from the error location polynomial and the error evaluation polynomial; Of the bits that make up the wrong byte By using the Is can, and a error corrector for correcting the input data, the size of the error, by either of the Euclidean mutual division calculator or the error position calculator, by using the error location polynomial and the error evaluator polynomial The corrected state monitor monitors the Euclidean algorithm and the error location calculator to determine the Euclidean algorithm.
Euclidean processing error flag output from the calculator and
Chien search error flag output from error location calculator
Received an uncorrectable indication signal which is a logical sum signal with
An error-free suggestion signal indicating the presence or absence of a Reed-Solomon decoding processing error is generated from the uncorrectable suggestion signal, and a bit error rate or a symbol is determined based on an error position and an error magnitude.
The error rate or the total number of bits of input data and the error bit
Or the total number of symbols in the input data and the error
A signal indicating the degree of error in the input data including the number of symbols is generated.

【0009】また、訂正状態監視器は、誤りの大きさが
示す誤ったビットの数をカウントする誤りビット数カウ
ンタと、入力データの同期信号に合わせて出力される同
期バイト示唆信号をカウントする同期信号カウンタとを
備え、入力データの誤りの程度を示す信号は、同期信号
カウンタが所定数の同期バイト示唆信号をカウントする
間に、リードソロモン復号装置に入力したデータのビッ
トの総数、及び、誤りビット数カウンタがカウントした
誤りビット数を含むことができる。
The correction state monitor includes an error bit number counter for counting the number of erroneous bits indicated by the magnitude of the error, and a synchronization counter for counting a synchronization byte suggestion signal output in synchronization with the synchronization signal of the input data. A signal indicating the degree of error in the input data, while the synchronization signal counter counts a predetermined number of synchronization byte indication signals, the total number of bits of data input to the Reed-Solomon decoding device, and It can include the number of error bits counted by the bit number counter.

【0010】また、訂正状態監視器は、誤りの大きさが
示す誤ったビットの数をカウントする誤りビット数カウ
ンタと、入力データの同期信号に合わせて出力される同
期バイト示唆信号をカウントする同期信号カウンタと、
同期信号カウンタが所定数の同期バイト示唆信号をカウ
ントする間に、リードソロモン復号装置に入力したデー
タのビットの総数、及び、誤りビット数カウンタがカウ
ントした誤ったビット数からビット誤り率を算出するビ
ット誤り率計算器と、を備え、入力データの誤りの程度
を示す信号は、ビット誤り率を含むことができる。
The correction status monitor includes an error bit number counter for counting the number of erroneous bits indicated by the magnitude of the error, and a synchronization bit count signal for counting a synchronization byte indication signal output in synchronization with the synchronization signal of the input data. A signal counter;
While the synchronization signal counter counts a predetermined number of synchronization byte suggestion signals, a bit error rate is calculated from the total number of bits of data input to the Reed-Solomon decoding device and the number of erroneous bits counted by the error bit number counter. A bit error rate calculator, and the signal indicating the degree of error in the input data may include a bit error rate.

【0011】また、ビット誤り率計算器は、誤りビット
数を上記入力データのビットの総数で除算する除算器、
を備えることができる。また、ビット誤り率計算器は、
所定数の同期バイト示唆信号がカウントされる間にリー
ドソロモン復号装置に入力されるデータのビットの総数
を予め算出しておいて、同期信号カウンタが所定数の同
期バイト示唆信号をカウントすると、予め算出されたビ
ットの総数を出力する定数出力器、を備えることができ
る。
A bit error rate calculator for dividing the number of error bits by the total number of bits of the input data;
Can be provided. Also, the bit error rate calculator is
While the total number of bits of data input to the Reed-Solomon decoding device is calculated in advance while the predetermined number of synchronization byte suggestion signals are counted, when the synchronization signal counter counts the predetermined number of synchronization byte suggestion signals, A constant output device for outputting the total number of calculated bits.

【0012】また、ビット誤り率計算器は、誤りビット
数がとり得る値の範囲が予め複数設定され、上記所定数
の同期バイト示唆信号をカウントする間に上記誤りビッ
ト数カウンタがカウントする上記誤りビット数が、設定
されたどの範囲に属するかを判定する判定器と、判定器
に設定された範囲の各々から任意に選択された値と、入
力データのビットの総数とから、ビット誤り率を予め算
出し、予め算出されたビット誤り率の中から、判定器に
よって判定された範囲に該当するビット誤り率を出力す
る誤り率出力器と、を備えることができる。
In the bit error rate calculator, a plurality of ranges of values that the number of error bits can take are set in advance, and the error bit number counter counts while counting the predetermined number of synchronization byte indication signals. The bit error rate is determined from a determiner that determines to which range the number of bits belongs, a value arbitrarily selected from each of the ranges set in the determiner, and the total number of bits of the input data. An error rate output unit that calculates in advance and outputs a bit error rate corresponding to a range determined by the determiner from among the bit error rates calculated in advance can be provided.

【0013】また、訂正状態監視器は、誤り位置が示す
誤ったバイト数をカウントする誤りシンボル数カウンタ
を備え、入力データの誤りの程度を示す信号は、同期信
号カウンタが所定数の同期バイト示唆信号をカウントし
ている間に、リードソロモン復号装置に入力したデータ
のシンボルの総数、及び誤りシンボル数カウンタがカウ
ントした誤ったシンボルの数を含むことができる。
Further, the correction state monitor includes an error symbol number counter for counting the number of erroneous bytes indicated by the error position, and a signal indicating the degree of error in the input data is generated when the synchronization signal counter indicates a predetermined number of synchronization bytes. While counting the signal, it may include the total number of data symbols input to the Reed-Solomon decoding device and the number of erroneous symbols counted by the error symbol number counter.

【0014】また、訂正状態監視器は、誤り位置が示す
誤ったバイトの数をカウントする誤りシンボル数カウン
タと、入力データの同期信号に合わせて出力される同期
バイト示唆信号を所定数カウントする間にリードソロモ
ン復号装置に入力したデータのシンボルの総数、及び、
誤りシンボル数カウンタがカウントした誤ったシンボル
数からシンボル誤り率を算出するシンボル誤り率計算器
と、を備え、入力データの誤りの程度を示す信号は、シ
ンボル誤り率を含むことができる。
The correction state monitor includes an error symbol number counter for counting the number of erroneous bytes indicated by the error position, and a counter for counting a predetermined number of synchronization byte indication signals output in synchronization with the synchronization signal of the input data. The total number of data symbols input to the Reed-Solomon decoding device, and
A symbol error rate calculator that calculates a symbol error rate from the number of erroneous symbols counted by the error symbol number counter, wherein the signal indicating the degree of error in the input data can include the symbol error rate.

【0015】また、シンボル誤り率計算器は、誤りシン
ボル数を上記入力データのシンボルの総数で除算する除
算器、を備えることができる。また、シンボル誤り率計
算器は、所定数の同期バイト示唆信号がカウントされる
間にリードソロモン復号装置に入力されるデータのシン
ボルの総数を予め算出しておいて、同期信号カウンタが
該所定数の同期バイト示唆信号をカウントすると、予め
算出されたシンボルの総数を出力する定数出力器、を備
えることができる。
Further, the symbol error rate calculator can include a divider for dividing the number of error symbols by the total number of symbols of the input data. Further, the symbol error rate calculator previously calculates the total number of data symbols input to the Reed-Solomon decoding device while the predetermined number of synchronization byte indication signals are counted, and sets the synchronization signal counter to the predetermined number. And a constant output unit that outputs the total number of symbols calculated in advance when the synchronization byte suggestion signal is counted.

【0016】また、シンボル誤り率計算器は、誤りシン
ボル数がとり得る値の範囲が予め複数設定され、所定数
の同期バイト示唆信号をカウントする間に誤りシンボル
数カウンタがカウントする誤りシンボル数が、設定され
たどの範囲に属するかを判定する判定器と、判定器に設
定された範囲の各々から任意に選択された値と、入力デ
ータのシンボルの総数とから、シンボル誤り率を予め算
出し、予め算出されたシンボル誤り率の中から、判定器
によって判定された範囲に該当するシンボル誤り率を出
力する誤り率出力器と、を備えることができる。
In the symbol error rate calculator, a plurality of ranges of values that the number of erroneous symbols can take are set in advance, and the number of erroneous symbols counted by the erroneous symbol counter while counting a predetermined number of synchronization byte suggestion signals is determined. A symbol error rate is calculated in advance from a determiner that determines which range is set, a value arbitrarily selected from each of the ranges set in the determiner, and the total number of symbols of the input data. And an error rate output unit that outputs a symbol error rate corresponding to a range determined by the determiner from among symbol error rates calculated in advance.

【0017】上記目的を達成するために、本発明によ
る、入力データの誤り訂正をリードソロモン符号によっ
て行うリードソロモン復号装置の制御方法は、入力デー
タからシンドロームを算出するシンドローム計算ステッ
プと、シンドロームを用いて、誤り位置多項式および誤
り評価多項式を算出するユークリッド互除計算ステップ
と、誤り位置多項式および誤り評価多項式から入力デー
タの誤っているバイトを示す誤り位置を算出する誤り位
置算出ステップと、誤り位置多項式および誤り評価多項
式を用いて、誤り位置が示す誤ったバイトを構成するビ
ットのうち、どのビットが誤っているかを示す誤りの大
きさを算出する誤りの大きさ算出ステップと、誤り位置
と上記誤りの大きさとを用いて入力データを訂正する誤
り訂正ステップと、ユークリッド互除計算ステップで生
成されるユークリッド処理エラーフラグと誤り位置算出
ステップで生成されるチェン検索エラーフラグとの論理
和信号である訂正不能示唆信号を受けて、その訂正不能
示唆信号からリードソロモン復号処理エラーの有無を示
エラーフリー示唆信号を生成し、誤り位置と誤りの大
きさとから、ビット誤り率若しくはシンボル誤り率、ま
たは、入力データの総ビット数および誤りビット数若し
くは入力データの総シンボル数および誤りシンボル数を
含む、入力データの誤りの程度を示す信号を生成する訂
正状態監視ステップと、を備える。
In order to achieve the above object, a control method of a Reed-Solomon decoding device for performing error correction of input data by using a Reed-Solomon code according to the present invention uses a syndrome calculating step of calculating a syndrome from the input data, and using the syndrome. An Euclidean mutual calculation step of calculating an error position polynomial and an error evaluation polynomial; an error position calculation step of calculating an error position indicating an error byte of input data from the error position polynomial and the error evaluation polynomial; Using an error evaluation polynomial, an error magnitude calculation step of calculating an error magnitude indicating which bit is erroneous among bits constituting an erroneous byte indicated by the error location; and an error correcting step of correcting the input data using the magnitude, Raw in Kuriddo mutual division calculation step
Euclidean processing error flag and error location calculation
Logic with Chien search error flag generated in step
Uncorrectable in response to uncorrectable indication signal that is a sum signal
An error-free indication signal indicating the presence or absence of a Reed-Solomon decoding processing error is generated from the indication signal, and the bit error rate or the symbol error rate,
Or the total number of input data bits and the number of error bits
Or the total number of symbols and error symbols in the input data.
And a correction state monitoring step of generating a signal indicating the degree of error in the input data.

【0018】また、訂正状態監視ステップは、誤りの大
きさが示す誤ったビットの数をカウントする誤りビット
数カウントステップと、入力データの同期信号に合わせ
て出力される同期バイト示唆信号をカウントする同期信
号カウントステップと、同期信号カウントステップによ
って所定数の同期バイト示唆信号をカウントする間に、
リードソロモン復号装置に入力したデータのビットの総
数、及び、誤りビット数カウントステップによって数え
られた誤ったビット数からビット誤り率を算出するビッ
ト誤り率計算ステップと、を備え、入力データの誤りの
程度を示す信号は、ビット誤り率を含むことができる。
The correction state monitoring step counts the number of erroneous bits indicated by the magnitude of the error, and counts a synchronization byte suggestion signal output in synchronization with the synchronization signal of the input data. While counting a predetermined number of synchronization byte suggestion signals by the synchronization signal counting step and the synchronization signal counting step,
A bit error rate calculation step of calculating a bit error rate from the total number of bits of the data input to the Reed-Solomon decoding device and the number of erroneous bits counted in the error bit number counting step; and The signal indicating the degree may include a bit error rate.

【0019】また、ビット誤り率計算ステップは、誤り
ビット数がとり得る値の範囲を予め複数設定し、所定数
の同期バイト示唆信号をカウントする間に誤りビット数
カウントステップによってカウントされる誤りビット数
が、設定されたどの範囲に属するかを判定する判定ステ
ップと、判定器に設定された範囲の各々から任意に選択
された値と、入力データのビットの総数とから、ビット
誤り率を予め算出し、判定ステップによって範囲が判定
されると、予め算出されたビット誤り率の中から、判定
された範囲に該当するビット誤り率を出力する誤り率出
力ステップと、を備えることができる。
The bit error rate calculating step sets a plurality of ranges of possible values of the number of error bits in advance, and counts the number of error bits counted by the error bit number counting step while counting a predetermined number of synchronization byte indication signals. A determination step of determining which range the number belongs to, and a value arbitrarily selected from each of the ranges set in the determiner, and a bit error rate in advance from the total number of bits of the input data. An error rate output step of outputting a bit error rate corresponding to the determined range from among the bit error rates calculated in advance when the range is determined by the calculation and the determination step.

【0020】また、訂正状態監視ステップは、誤り位置
が示す誤ったバイトの数をカウントする誤りシンボル数
カウントステップと、入力データの同期信号に合わせて
出力される同期バイト示唆信号を所定数カウントする間
に、リードソロモン復号装置に入力したデータのシンボ
ルの総数、及び、誤りシンボル数カウントステップによ
って数えられた誤ったシンボル数からシンボル誤り率を
算出するシンボル誤り率計算ステップと、を備え、入力
データの誤りの程度を示す信号は、上記シンボル誤り率
を含むことができる。
The correction state monitoring step counts the number of erroneous bytes indicated by the error position, and counts a predetermined number of synchronization byte indication signals output in synchronization with the synchronization signal of the input data. A symbol error rate calculation step of calculating a symbol error rate from the total number of data symbols input to the Reed-Solomon decoding device and the number of erroneous symbols counted by the error symbol number counting step. May include the symbol error rate.

【0021】また、シンボル誤り率計算ステップは、誤
りシンボル数がとり得る値の範囲を予め複数設定し、上
記所定数の同期バイト示唆信号をカウントする間に誤り
シンボル数カウントステップによってカウントされる誤
りシンボル数が、設定されたどの範囲に属するかを判定
する判定ステップと、判定ステップに設定された範囲の
各々から任意に選択された値と、入力データのシンボル
の総数とから、シンボル誤り率を予め算出し、判定器に
よって範囲が判定されると、予め算出されたシンボル誤
り率の中から、判定された範囲に該当するシンボル誤り
率を出力する誤り率出力ステップと、を備えることがで
きる。
In the symbol error rate calculating step, a plurality of ranges of possible values of the number of erroneous symbols are set in advance, and the number of errors counted by the erroneous symbol number counting step while counting the predetermined number of synchronization byte suggestion signals is set. A symbol error rate is determined from a determining step of determining which range the number of symbols belongs to, and a value arbitrarily selected from each of the ranges set in the determining step, and the total number of symbols of the input data. And an error rate output step of outputting a symbol error rate corresponding to the determined range from the symbol error rates calculated in advance when the range is determined by the determiner in advance.

【0022】また、上記目的を達成するために、本発明
によるプログラムを格納するコンピュータ可読の記憶媒
体は、入力データの誤り訂正をリードソロモン符号によ
って行うリードソロモン復号装置を制御するプログラム
のコードを格納するコンピュータ可読の記憶媒体であっ
て、プログラムのコードは、入力データからシンドロー
ムを算出するシンドローム計算ステップのコードと、シ
ンドロームを用いて誤り位置多項式および誤り評価多項
式を算出するユークリッド互除計算ステップのコード
と、誤り位置多項式および誤り評価多項式から上記入力
データの誤っているバイトを示す誤り位置を算出する誤
り位置算出ステップのコードと、誤り位置が示す誤った
バイトを構成するビットのうち、どのビットが誤ってい
るかを示す誤りの大きさを算出する誤りの大きさ算出ス
テップのコードと、誤り位置と誤りの大きさとを用いて
入力データを訂正する誤り訂正ステップのコードと、
ークリッド互除計算ステップで生成されるユークリッド
処理エラーフラグと誤り位置算出ステップで生成される
チェン検索エラーフラグとの論理和信号である訂正不能
示唆信号を受けて、該訂正不能示唆信号からリードソロ
モン復号処理エラーの有無を示すエラーフリー示唆信号
を生成し、誤り位置と誤りの大きさとから、ビット誤り
率若しくはシンボル誤り率、または、入力データの総ビ
ット数および誤りビット数若しくは入力データの総シン
ボル数および誤りシンボル数を含む、入力データの誤り
の程度を示す信号を生成する訂正状態監視ステップのコ
ードと、を備えることを特徴とするものである。
In order to achieve the above object, a computer readable storage medium for storing a program according to the present invention stores a code of a program for controlling a Reed-Solomon decoding device for performing error correction of input data using a Reed-Solomon code. A computer-readable storage medium, wherein the program code includes a code of a syndrome calculation step of calculating a syndrome from input data, and a code of a Euclidean mutual calculation step of calculating an error location polynomial and an error evaluation polynomial using the syndrome. The code of the error position calculating step for calculating the error position indicating the erroneous byte of the input data from the error position polynomial and the error evaluation polynomial, and which of the bits constituting the erroneous byte indicated by the error position are erroneous Large error that indicates And code error correction step of correcting the code size calculation step of error, the input data using the magnitude of the error locations and error to calculate the of Yoo
-Euclidean generated in the computation step
Generated in the processing error flag and error position calculation step
Uncorrectable which is the logical sum signal with the chain search error flag
In response to the suggestion signal, read solo from the uncorrectable suggestion signal
Generates an error-free suggestion signal indicating the presence or absence of an error in the Mon decoding process , and determines the bit error based on the error location and error magnitude.
Rate or symbol error rate, or the total
Number of bits and error bits or the total
And a code for a correction state monitoring step for generating a signal indicating the degree of error in the input data, including the number of volts and the number of error symbols .

【0023】[0023]

【発明の実施の形態】実施の形態1.以下、本発明の実
施の形態1によるリードソロモン復号装置について、図
面を参照しながら説明する。図1は、本実施形態にかか
るリードソロモン復号装置100の構成を示すブロック
図である。本実施形態によるリードソロモン復号装置1
00は、入力されたデータの誤り訂正を行うリードソロ
モン復号器1と、リードソロモン復号器1による誤り訂
正の処理エラーを検出し、且つ、入力データの誤りの程
度を監視する訂正状態監視器2とを備える。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Embodiment 1 Hereinafter, a Reed-Solomon decoding device according to the first embodiment of the present invention will be described with reference to the drawings. FIG. 1 is a block diagram showing a configuration of a Reed-Solomon decoding device 100 according to the present embodiment. Reed-Solomon decoding device 1 according to the present embodiment
Reference numeral 00 denotes a Reed-Solomon decoder 1 for performing error correction on input data, and a correction status monitor 2 for detecting an error correction processing error by the Reed-Solomon decoder 1 and monitoring the degree of error in the input data. And

【0024】リードソロモン復号器1は、さらに、入力
データのシンドロームを計算するシンドローム計算器
3、シンドロームから誤り位置多項式、及び誤り評価多
項式を算出し、さらに、チェン検索器5の結果を基に誤
りの大きさを算出するユークリッド互除計算器4、誤り
位置多項式および誤り評価多項式から、誤り位置と、誤
り位置の微分値と、誤り評価値とを算出するチェン検索
器5、誤り位置データが示すデータを誤り位置、及び誤
りの大きさを基に訂正する誤り訂正器6、入力データを
所定の時間保持するデータ遅延RAM7、及び、ユーク
リッド互除計算器4とチェン検索器5とから出力される
エラーを示すエラーフラグの論理和をとって出力するO
R回路25を備える。
The Reed-Solomon decoder 1 further calculates a syndrome calculator 3 for calculating the syndrome of the input data, calculates an error location polynomial and an error evaluation polynomial from the syndrome, and further calculates an error based on the result of the Chien searcher 5. Euclidean mutual calculator 4 for calculating the size of the error, an error location polynomial and an error evaluation polynomial, a Chien searcher 5 for calculating an error location, a differential value of the error location, and an error evaluation value, and data indicated by the error location data , An error corrector 6 that corrects the error based on the error position and the magnitude of the error, a data delay RAM 7 that holds input data for a predetermined time, and an error output from the Euclidean algorithm 4 and the Chien searcher 5. O which is obtained by ORing the indicated error flags
An R circuit 25 is provided.

【0025】本実施の形態では、チェン検索器5が、入
力データの誤っているバイトを示す誤り位置を算出する
誤り位置算出器としての機能を有し、ユークリッド互助
計算器4が、誤り位置が示す誤ったバイトを構成するビ
ットのうち、どのビットが誤っているかを示す誤りの大
きさを算出する誤りの大きさ算出器としての機能を有し
ている。なお、誤りの大きさ算出器としての機能を、ユ
ークリッド互助計算器の代わりにチェン検索器が果たし
てもよい。訂正状態監視器40は、ユークリッド互除計
算器4及びチェン検索器5における処理エラーの有無を
示す信号、すなわちエラーフリー示唆信号と、入力デー
タの誤りの程度を示す信号を生成する。
In the present embodiment, the Chien searcher 5 has a function as an error position calculator for calculating an error position indicating an erroneous byte of the input data, and the Euclidean mutual aid calculator 4 determines that the error position is It has a function as an error magnitude calculator that calculates the magnitude of an error indicating which bit is erroneous among the bits constituting the erroneous byte. It should be noted that the function as the error magnitude calculator may be performed by a Chen searcher instead of the Euclidean mutual aid calculator. The correction state monitor 40 generates a signal indicating the presence or absence of a processing error in the Euclidean mutual calculator 4 and the Chien searcher 5, that is, an error-free suggestion signal and a signal indicating the degree of error in the input data.

【0026】以下、誤り訂正処理の順番にしたがって、
各構成の動作を説明する。伝送路8−1から送られてき
た入力データは、リードソロモン復号器1内のシンドロ
ーム計算器3に入力され、信号線8−2を介してデータ
遅延RAM7にも取り込まれ、データ遅延RAM7に適
切な時間保持される。シンドローム計算器3は、入力デ
ータからシンドロームを算出し、信号線9を介して、算
出されたシンドロームをユークリッド互除計算器4に送
る。また、シンドローム計算器3は、入力データの誤り
の有無を判断し、誤りがないと判断した場合は、アクテ
ィブにした無誤り状態示唆信号を、信号線10を介し誤
り訂正器6 に送る。
Hereinafter, according to the order of the error correction processing,
The operation of each configuration will be described. The input data sent from the transmission line 8-1 is input to the syndrome calculator 3 in the Reed-Solomon decoder 1, and is also taken into the data delay RAM 7 via the signal line 8-2. For a long time. The syndrome calculator 3 calculates the syndrome from the input data, and sends the calculated syndrome to the Euclidean algorithm calculator 4 via the signal line 9. In addition, the syndrome calculator 3 determines whether or not there is an error in the input data, and if it determines that there is no error, sends the activated error-free state suggestion signal to the error corrector 6 via the signal line 10.

【0027】ユークリッド互除計算器4は、シンドロー
ムから誤り位置多項式および誤り評価多項式を算出し、
算出された誤り位置多項式、及び誤り評価多項式を信号
線11を介してチェン検索器5に送る。また、ユークリ
ッド互除計算器4は、誤り位置多項式、及び誤り評価多
項式の算出時に処理エラーを検出すると、アクティブに
したユークリッド処理エラーフラグを、信号線13を介
してOR回路25に出力する。
The Euclidean algorithm 4 calculates an error locator polynomial and an error evaluation polynomial from the syndrome,
The calculated error locator polynomial and error evaluation polynomial are sent to the Chien searcher 5 via the signal line 11. When detecting a processing error at the time of calculating the error locator polynomial and the error evaluation polynomial, the Euclidean mutual calculator 4 outputs the activated Euclidean processing error flag to the OR circuit 25 via the signal line 13.

【0028】チェン検索器5は、ユークリッド互除計算
器4から受けた誤り位置多項式および誤り評価多項式の
データから、入力データの誤り位置を算出して、信号線
15−1を介して誤り訂正器6に、信号線15−2を介
して訂正状態監視器2に、算出された誤り位置データを
送り、他方、誤り位置の微分値および誤り評価値を算出
して、信号線14を介してユークリッド互除計算器4に
送る。チェン検索器5は、以上のデータの算出を行なう
際に、処理エラーを検出すると、アクティブにしたチェ
ン検索エラーフラグを、信号線16を介してOR回路2
5に出力する。
The Chien searcher 5 calculates the error position of the input data from the data of the error locator polynomial and the error evaluation polynomial received from the Euclidean mutual calculator 4, and outputs the error rectifier 6 via the signal line 15-1. Then, the calculated error position data is sent to the correction state monitor 2 via the signal line 15-2, and the differential value and error evaluation value of the error position are calculated, and the Euclidean mutual error is calculated via the signal line 14. Send it to Calculator 4. When detecting a processing error when performing the above data calculation, the Chien searcher 5 sends the activated Chien search error flag to the OR circuit 2 via the signal line 16.
5 is output.

【0029】ユークリッド互除計算器4は、前述の誤り
位置多項式および誤り評価多項式を算出した後、チェン
検索器5によって算出された誤り位置の微分値および誤
り評価値を受けて、誤りの大きさを算出し、信号線12
−1を介して誤り訂正器6に、信号線12−2を介して
訂正状態監視器2に、算出された誤りの大きさを出力す
る。
After calculating the above-mentioned error locator polynomial and error evaluation polynomial, the Euclidean algorithm calculator 4 receives the differential value and error evaluation value of the error location calculated by the Chien searcher 5 and determines the magnitude of the error. Calculate the signal line 12
The calculated error magnitude is output to the error corrector 6 via -1 and to the correction status monitor 2 via the signal line 12-2.

【0030】誤り訂正器6は、シンドローム計算器3か
ら送られてくる無誤り状態示唆信号がアクティブでない
場合、すなわち、入力データに誤りが存在する場合は、
信号線8−3を介してデータ遅延RAM7から送られて
くる入力データを、チェン検索器5で検出された誤り位
置と、ユークリッド互除計算器3で算出された誤りの大
きさとを基にして、正しいデータに訂正する。こうして
訂正された正しいデータは、信号線18を介して、リー
ドソロモン復号装置100に接続される任意の装置に出
力される。訂正状態監視器2は、以上説明した一連の訂
正処理が正しく行なわれているか否かを判断するための
信号を出すために、以下の処理を行なう。
The error corrector 6 determines whether the error-free state indication signal sent from the syndrome calculator 3 is not active, that is, if there is an error in the input data,
The input data sent from the data delay RAM 7 via the signal line 8-3 is converted based on the error position detected by the Chien searcher 5 and the magnitude of the error calculated by the Euclidean algorithm calculator 3. Correct to the correct data. The correct data corrected in this way is output to any device connected to the Reed-Solomon decoding device 100 via the signal line 18. The correction state monitor 2 performs the following processing in order to output a signal for determining whether or not the above-described series of correction processing is correctly performed.

【0031】図2は、訂正状態監視器2の動作の一例を
説明するフローチャートである。まず、訂正状態監視器
2は、誤りシンボル数及び誤りビット数をそれぞれカウ
ントする(ステップS1)。一方、訂正状態監視器2
は、入力データの同期信号が検出される際にアクティブ
となる同期バイト示唆信号をカウントし、カウント値が
所定の値になると(ステップS2のYES)、エラーフ
リー示唆信号と、入力データの誤りの程度を示す信号を
生成する(ステップS3)。本実施の形態では、入力デ
ータの誤りの程度を示す信号として、誤りシンボル数、
誤りビット数、総入力データシンボル数、及び総入力デ
ータビット数を任意の装置へ出力する。入力データがま
だあるか否かを確認し(ステップS4)、データがあれ
ばカウント値を初期化して(ステップS5)、ステップ
S1へ戻る。
FIG. 2 is a flowchart for explaining an example of the operation of the correction status monitor 2. First, the correction state monitor 2 counts the number of error symbols and the number of error bits, respectively (step S1). On the other hand, the correction state monitor 2
Counts a synchronization byte suggestion signal that becomes active when a synchronization signal of input data is detected, and when the count value reaches a predetermined value (YES in step S2), an error-free suggestion signal and an error of the input data are detected. A signal indicating the degree is generated (step S3). In the present embodiment, the number of error symbols,
The number of error bits, the total number of input data symbols, and the total number of input data bits are output to any device. It is checked whether or not input data still exists (step S4). If there is data, the count value is initialized (step S5), and the process returns to step S1.

【0032】ステップS1についてさらに詳細に説明す
る。誤り訂正状態監視器2は、チェン検索器5から出力
される誤り位置のデータを受けて、誤り位置データの個
数をカウントし、誤りシンボル数を算出する。例えば、
入力データがnバイトで1パケットを構成すると仮定す
る。算出された誤り位置は、入力データのどの位置(バ
イト)に誤りがあると推定できるかを示すデータなの
で、実際には、第1番目から第n番目の位置を示す、1
からnのいずれかの数字となっている。パケット内の誤
っているバイトの各々に対して誤り位置のデータは存在
するので、誤り位置データの個数をカウントすれば、パ
ケットの誤りバイトの数、すなわち誤りシンボル数を算
出できる。算出された誤りシンボル数は、信号線21を
介してリードソロモン復号装置100に接続される任意
の装置に出力される。
Step S1 will be described in more detail. The error correction state monitor 2 receives the data of the error position output from the Chien searcher 5, counts the number of error position data, and calculates the number of error symbols. For example,
Assume that the input data forms one packet with n bytes. The calculated error position is data indicating which position (byte) of the input data can be presumed to have an error. Therefore, actually, the calculated error position indicates the first to n-th positions.
To n. Since there is data at an error position for each erroneous byte in the packet, counting the number of error position data makes it possible to calculate the number of error bytes in the packet, that is, the number of error symbols. The calculated number of error symbols is output to an arbitrary device connected to Reed-Solomon decoding device 100 via signal line 21.

【0033】また、訂正状態監視器2は、ユークリッド
互除計算器4から出力される誤りの大きさのデータを受
けて、誤りビット数を算出する。誤りの大きさデータ
は、誤り位置データが示す位置のバイトの、どのビット
が誤っているかを特定するデータである。例えば、1バ
イトすなわち1シンボルが8ビットのデータで構成され
ているとすると、誤りの大きさのデータも8ビットデー
タであり、誤りの大きさデータ1バイト中の第1から第
8の各ビットは、入力データ1シンボル中の第1から第
8の各ビットに対応する。誤りの大きさデータのビット
は、対応する入力データ中のビットに誤りがなければ、
例えば“0”となり、誤りがあれば“1”となる。例え
ば、誤り位置データが10進数で“33”、誤り大きさ
データが16進数で“55”とすると、第33番目のシ
ンボルに誤りがあり、第33番目のシンボルを構成する
8ビットのデータの、右から第1、第3、第5、第7の
4つのビットが誤っていることを意味する(つまり、誤
り大きさデータは2進数で01010101と表され
る)。したがって、上記の例では、誤りの大きさデータ
における“1”をカウントすれば誤りビット数を算出で
きる。算出された誤りビット数は、信号線22を介して
リードソロモン復号装置100に接続される任意の装置
に出力される。
The correction state monitor 2 receives the data of the magnitude of the error output from the Euclidean algorithm calculator 4 and calculates the number of error bits. The error magnitude data is data that specifies which bit of the byte at the position indicated by the error position data is erroneous. For example, if one byte, that is, one symbol is composed of 8-bit data, the error magnitude data is also 8-bit data, and each of the first to eighth bits in one byte of the error magnitude data. Corresponds to the first to eighth bits in one symbol of the input data. The bits of the error magnitude data are as follows if there is no error in the corresponding bits in the input data.
For example, it becomes "0", and if there is an error, it becomes "1". For example, if the error position data is “33” in decimal and the error magnitude data is “55” in hexadecimal, there is an error in the 33rd symbol, and the 8-bit data of the 33rd symbol is , Means that the first, third, fifth, and seventh four bits from the right are incorrect (that is, the error magnitude data is represented as 01010101 in binary). Therefore, in the above example, the number of error bits can be calculated by counting "1" in the error magnitude data. The calculated number of error bits is output to an arbitrary device connected to the Reed-Solomon decoding device 100 via the signal line 22.

【0034】訂正状態監視器2は、上記のように誤りシ
ンボル数と誤りビット数をカウントし、得られた結果を
出力する一方で、入力データの同期信号が検出される際
にアクティブとなる同期バイト示唆信号を信号線19か
ら受け、同期バイト示唆信号をカウントする。同期信号
は、入力データを構成するパケットの先頭に埋め込まれ
ている。入力データがリードソロモン復号装置100に
入力される前に、同期回路(図示せず)が同期信号を検
出するとともに、アクティブにした同期バイト示唆信号
を、訂正状態監視器2に出力する。
The correction state monitor 2 counts the number of erroneous symbols and the number of erroneous bits as described above, and outputs the obtained result. On the other hand, the synchronization state monitor 2 becomes active when a synchronization signal of input data is detected. The byte suggestion signal is received from the signal line 19, and the synchronization byte suggestion signal is counted. The synchronization signal is embedded at the beginning of a packet constituting input data. Before input data is input to the Reed-Solomon decoding device 100, a synchronization circuit (not shown) detects a synchronization signal and outputs an activated synchronization byte indication signal to the correction state monitor 2.

【0035】ステップS2についてさらに詳細に説明す
る。訂正状態監視器2は、リードソロモン復号装置10
0に入力する一連のデータ全てを一括して監視してもよ
いが、通常、一連の入力データを所定量のデータ毎すな
わち所定個数のパケット毎に分けて監視する。これは、
特に入力される一連のデータのデータ量が多い場合、入
力データの誤りが訂正能力を超えると、LSIは、入力
データ全てに対して対処するよりも、所定個数のパケッ
ト毎に対処する方が効率的だからである。従って、訂正
状態監視器2が一括して監視するパケットの個数、すな
わちカウントする同期バイト示唆信号の個数を予め設定
し、同期バイト示唆信号を設定した値までカウントして
からステップS3へ移行する。
Step S2 will be described in more detail. The correction state monitor 2 includes a Reed-Solomon decoding device 10.
Although all the series of data input to 0 may be monitored collectively, usually, the series of input data is monitored separately for each predetermined amount of data, that is, for each predetermined number of packets. this is,
In particular, when the data amount of a series of input data is large, if the error of the input data exceeds the correction capability, the LSI is more efficient to deal with every predetermined number of packets than to deal with all the input data. Because it is a target. Therefore, the number of packets monitored by the correction state monitor 2 collectively, that is, the number of synchronization byte suggestion signals to be counted is set in advance, and the synchronization byte suggestion signal is counted up to the set value, and then the process proceeds to step S3.

【0036】ステップS3についてさらに詳細に説明す
る。1パケットのバイト数、及びビット数は決まってい
るので、同期バイト示唆信号をカウントすれば、パケッ
トの個数がわかり、入力データのバイト数およびビット
数を算出できる。従って、訂正状態監視器2は、設定さ
れた個数の同期バイト示唆信号をカウントすると、カウ
ントされた個数のパケットに含まれるデータのバイト
(シンボル)数、及びビット数、つまりリードソロモン
復号装置100に入力される総入力データシンボル数、
及び総入力データビット数を算出し、信号線23及び2
4から任意の装置に出力する。
Step S3 will be described in more detail. Since the number of bytes and the number of bits of one packet are determined, the number of packets can be determined by counting the synchronization byte indication signal, and the number of bytes and the number of bits of the input data can be calculated. Therefore, when the correction state monitor 2 counts the set number of synchronization byte suggestion signals, the number of bytes (symbols) and the number of bits of data included in the counted number of packets, that is, the Reed-Solomon decoding device 100 The total number of input data symbols input,
And the total number of input data bits are calculated.
4 to any device.

【0037】一方、リードソロモン復号器1で訂正処理
が正常に行なわれない場合、処理が正常に行われなかっ
たことを示すエラーフラグ、例えばユークリッド互除計
算器4から出力されるユークリッド処理エラーフラグ、
チェン検索器5から出力されるチェン検索エラーフラ
グ、がアクティブとなり、アクティブとなったフラグが
OR回路25に送られる。OR回路25は入力されるエ
ラーフラグの論理和をとって訂正不能示唆信号をアクテ
ィブにし、アクティブとなった訂正不能示唆信号を信号
線17を介して訂正不能示唆信号を訂正状態監視器2に
送る。 訂正状態監視器2は、訂正不能示唆信号がアク
ティブの場合、リードソロモン復号器1で誤り訂正処理
が正しく行なわれていないということを示すために、エ
ラーフリー示唆信号をアクティブにしないで出力する。
逆に、訂正不能示唆信号がアクティブでない場合は、リ
ードソロモン復号器1で誤り訂正処理が正しく行なわれ
たということを示すために、アクティブにしたエラーフ
リー示唆信号を、信号線20からリードソロモン復号装
置100に接続される任意の装置に出力する。
On the other hand, when the correction processing is not performed normally in the Reed-Solomon decoder 1, an error flag indicating that the processing was not performed normally, for example, an Euclidean processing error flag output from the Euclidean algorithm calculator 4,
The chain search error flag output from the chain searcher 5 becomes active, and the active flag is sent to the OR circuit 25. The OR circuit 25 ORs the input error flags to activate the uncorrectable suggestion signal, and sends the activated uncorrectable suggestion signal to the correction state monitor 2 via the signal line 17. . When the uncorrectable suggestion signal is active, the correction state monitor 2 outputs the error-free suggestion signal without activating it in order to indicate that the error correction processing is not correctly performed in the Reed-Solomon decoder 1.
Conversely, if the uncorrectable suggestion signal is not active, the activated error-free suggestion signal is transmitted from the signal line 20 to the Reed-Solomon decoder in order to indicate that the error correction processing has been correctly performed by the Reed-Solomon decoder 1. Output to any device connected to device 100.

【0038】以上説明したように、訂正状態監視器2
は、予め設定されたパケット数のデータ毎に、総入力バ
イト(シンボル)数、及び総入力ビット数と、リードソ
ロモン復号器1によって訂正された誤りシンボル数、及
び誤りビット数とを算出して、任意の装置に出力する。
さらに、訂正不能示唆信号をチェックして、リードソロ
モン復号器1で正しく訂正処理が行なわれたかどうかを
確認し、訂正処理が正常であれば、エラーフリー示唆信
号を出力する。従って、訂正状態監視器2が算出した総
入力データシンボル数、及びビット数や誤りシンボル
数、及びビット数が、リードソロモン復号器1が正しく
訂正処理を行なった時に算出した有効データであるか、
あるいは、訂正不能となった時に算出した無効データで
あるかがエラーフリー示唆信号に示される。
As described above, the correction status monitor 2
Calculates the total number of input bytes (symbols) and the total number of input bits, the number of error symbols corrected by the Reed-Solomon decoder 1, and the number of error bits for each data of a preset number of packets. Output to any device.
Further, the uncorrectable suggestion signal is checked to confirm whether or not the corrective processing has been correctly performed by the Reed-Solomon decoder 1. If the corrective processing is normal, an error-free suggestive signal is output. Therefore, whether the total number of input data symbols, the number of bits, the number of error symbols, and the number of bits calculated by the correction state monitor 2 are valid data calculated when the Reed-Solomon decoder 1 correctly performs correction processing,
Alternatively, the error-free suggestion signal indicates whether the data is invalid data calculated when the data becomes uncorrectable.

【0039】次に、訂正状態監視器2の詳細な構成につ
いて説明する。図3は、訂正状態監視器2の構成を示す
ブロック図である。訂正状態監視器2は、誤りシンボル
数カウンタ30、誤りビット数カウンタ31、及び同期
信号カウンタ32を備える。
Next, a detailed configuration of the correction state monitor 2 will be described. FIG. 3 is a block diagram showing the configuration of the correction status monitor 2. The correction state monitor 2 includes an error symbol number counter 30, an error bit number counter 31, and a synchronization signal counter 32.

【0040】誤りシンボル数カウンタ30は、誤りシン
ボル数を算出するために、チェン検索器5で検出される
誤り位置データの個数、すなわち誤りシンボル数、をカ
ウントし、カウントした誤りシンボル数を、信号線33
を介して同期信号カウンタ32に出力する。
The error symbol number counter 30 counts the number of error position data detected by the Chien searcher 5, that is, the number of error symbols, in order to calculate the number of error symbols. Line 33
Is output to the synchronization signal counter 32 via.

【0041】上述したように、入力データが符号長nで
あるとすると、1パケットはnバイト構成となり、誤り
位置データは、誤りが含まれるバイトの位置を示す番
号、つまり、第1番目から第n番目の位置を示す1から
nのいずれかの数字である。誤りシンボル数カウンタ3
0は、誤り位置データの個数をカウントして、誤ってい
るバイトの数、すなわち誤りシンボル数を算出する。
As described above, if the input data has a code length n, one packet has an n-byte structure, and the error position data is a number indicating the position of the byte containing the error, that is, from the first to the first. It is any number from 1 to n indicating the nth position. Error symbol counter 3
0 counts the number of error position data and calculates the number of erroneous bytes, that is, the number of error symbols.

【0042】誤りビット数カウンタ31は、誤りビット
数を算出するために、ユークリッド互除計算器4で算出
された誤りの大きさを示すデータを受けて、誤りの大き
さデータ中、“1”となっているビット数をカウント
し、信号線34を介して誤りビット数を同期信号カウン
タ32に出力する。
The error bit number counter 31 receives the data indicating the error size calculated by the Euclidean algorithm calculator 4 in order to calculate the error bit number, and sets “1” in the error size data. The number of error bits is counted, and the number of error bits is output to the synchronization signal counter 32 via the signal line 34.

【0043】先にも述べたように、入力データが、例え
ば、1バイトすなわち1シンボルが8ビットのデータで
構成されているとすると、誤りの大きさのデータは、8
ビットデータで、誤りの大きさデータ1バイト中の第1
から第8のビットは、対応する入力データのビットに誤
りがなければ“0”となり、誤りがあれば“1”とな
る。したがって、誤りの大きさデータにおける“1”を
カウントすれば誤りビット数を算出できる。
As described above, if the input data is, for example, one byte, that is, one symbol is composed of 8-bit data, the data of the error size is 8 bits.
The first bit in one byte of error magnitude data is bit data.
To the eighth bit are “0” if there is no error in the corresponding input data bit, and are “1” if there is an error. Therefore, the number of error bits can be calculated by counting "1" in the error magnitude data.

【0044】同期信号カウンタ32は、大別して3つの
機能を有する。まず第1の機能として、同期信号カウン
タ32は、上述したように、同期バイト示唆信号をカウ
ントし、入力データのバイト数およびビット数を算出す
る。第2の機能として、同期信号カウンタ32は、上述
したように、リードソロモン復号器1から出力される訂
正不能示唆信号がアクティブの場合は、リードソロモン
復号器1での訂正不能を示すために、エラーフリー示唆
信号をアクティブにしないで出力する。逆に、訂正不能
示唆信号がアクティブでない場合は、アクティブにした
エラーフリー示唆信号を出力する。
The synchronization signal counter 32 has roughly three functions. First, as a first function, as described above, the synchronization signal counter 32 counts the synchronization byte suggestion signal, and calculates the number of bytes and the number of bits of input data. As a second function, as described above, when the uncorrectable indication signal output from the Reed-Solomon decoder 1 is active, the synchronization signal counter 32 indicates that the Reed-Solomon decoder 1 cannot correct, as described above. Outputs the error-free suggestion signal without activating it. Conversely, if the uncorrectable suggestion signal is not active, the activated error-free suggestion signal is output.

【0045】第3の機能として、同期信号カウンタ32
は、設定された値の同期バイト示唆信号をカウントした
のち、誤りシンボル数カウンタ30から出力される誤り
シンボル数、および、誤りビット数カウンタ31から出
力される誤りビット数を受けて出力する。また、誤りシ
ンボル数の出力、及び誤りビット数の出力と同期して、
訂正不能示唆信号を基にエラーフリー示唆信号のアクテ
ィブ、あるいは非アクティブを切り替え、信号線20か
らエラーフリー示唆信号を出力する。
As a third function, the synchronization signal counter 32
After counting the synchronization byte suggestion signal of the set value, the counter receives and outputs the number of error symbols output from the error symbol number counter 30 and the number of error bits output from the error bit number counter 31. Further, in synchronization with the output of the number of error symbols and the output of the number of error bits,
The error-free suggestion signal is activated or deactivated based on the uncorrectable suggestion signal, and an error-free suggestion signal is output from the signal line 20.

【0046】総入力データシンボル数及びビット数は、
上記の誤りシンボル数、及び誤りビット数の出力に同期
して出力される。なお、訂正状態監視器2が一括して監
視するデータのパケット数は予め設定されているので、
総入力データシンボル数、及びビット数は、一括して監
視するパケット数が変更されない限り一定である。従っ
て、予め、同期信号カウンタ32内で総入力データシン
ボル数、及びビット数も計算しておけば、設定した個数
の同期バイト示唆信号がカウントされる毎に総入力数を
計算しなくてもよい。
The total number of input data symbols and the number of bits are
It is output in synchronization with the output of the number of error symbols and the number of error bits. It should be noted that the number of data packets that are collectively monitored by the correction state monitor 2 is set in advance.
The total number of input data symbols and the number of bits are constant unless the number of packets to be monitored collectively is changed. Therefore, if the total number of input data symbols and the number of bits are calculated in advance in the synchronization signal counter 32, the total number of inputs does not have to be calculated every time the set number of synchronization byte indication signals is counted. .

【0047】以上説明した、同期信号カウンタ32から
出力されるエラーフリー示唆信号、誤りシンボル数、誤
りビット数、総入力データシンボル数、及び総入力デー
タビット数は、リードソロモン復号器1が有効に機能し
ているかを判断する指標となるので、以上の信号を用い
れば、誤り訂正の精度を上げることができる。
The error-free suggestion signal, the number of error symbols, the number of error bits, the total number of input data symbols, and the total number of input data bits output from the synchronization signal counter 32 described above are effectively used by the Reed-Solomon decoder 1. Since it serves as an index for determining whether it is functioning, the accuracy of error correction can be improved by using the above signals.

【0048】例えば、エラーフリー示唆信号が非アクテ
ィブになったときのデータを、再度リードソロモン復号
装置100で誤り訂正できるようにすれば、入力データ
の誤りをなくす又は減らすことができる。また、任意の
装置で、誤りシンボル数を総入力データシンボル数で除
算してシンボル誤り率を算出し、誤りビット数を総入力
データビット数で除算してビット誤り率を算出すれば、
入力データの誤り頻度を知ることができる。さらに、算
出されたシンボル誤り率、及びビット誤り率が突出して
いるデータを、再度リードソロモン復号装置100で誤
り訂正できるようにすれば、入力データの誤りをなく
す、又は減らすことができる。
For example, if the data when the error-free suggestion signal becomes inactive can be corrected again by the Reed-Solomon decoding device 100, errors in the input data can be eliminated or reduced. Also, if any device calculates the symbol error rate by dividing the number of error symbols by the total number of input data symbols, and calculates the bit error rate by dividing the number of error bits by the total number of input data bits,
The error frequency of input data can be known. Furthermore, if the calculated symbol error rate and bit error rate data can be corrected again by the Reed-Solomon decoding device 100, errors in the input data can be eliminated or reduced.

【0049】なお、本実施形態では、誤りシンボル数、
誤りビット数、総入力データシンボル数、及び総入力デ
ータビット数を訂正状態監視器2から出力したが、本実
施形態のリードソロモン復号装置100が実装されるシ
ステムにより、誤りビット数と総入力データビット数と
を少なくとも出力できればよい。
In this embodiment, the number of error symbols,
Although the number of error bits, the total number of input data symbols, and the total number of input data bits are output from the correction state monitor 2, the number of error bits and the total input data It is sufficient if at least the number of bits can be output.

【0050】以上説明したように、本実施形態によれ
ば、リードソロモン復号処理中に、リードソロモン復号
処理における処理エラーの発生、及び入力データの誤り
訂正のビット数、及びシンボル数を常時監視し、リード
ソロモン復号部が有効に機能しているかを判断する指標
となる信号を出力できる。従って、リードソロモン復号
装置100を備えるLSIは、リードソロモン復号装置
100から出力される指標を基に、誤り訂正状態が悪い
場合、例えば誤り訂正が不可能になった場合や、入力デ
ータの誤り発生頻度が高い場合に対して、何らかの対処
をして、誤り訂正の精度を上げることができる。例え
ば、訂正状態監視器2が出力する各種信号を基に、再度
誤り訂正を施す必要があるか否かを判断することができ
る。
As described above, according to the present embodiment, during the Reed-Solomon decoding process, the occurrence of a processing error in the Reed-Solomon decoding process and the number of bits and the number of symbols for error correction of input data are constantly monitored. , A signal serving as an index for determining whether the Reed-Solomon decoding unit is functioning effectively can be output. Therefore, the LSI including the Reed-Solomon decoding device 100 may be configured such that, based on the index output from the Reed-Solomon decoding device 100, when the error correction state is poor, for example, when error correction becomes impossible or when error occurs in the input data. In the case where the frequency is high, some measure can be taken to improve the accuracy of error correction. For example, based on various signals output from the correction state monitor 2, it can be determined whether or not it is necessary to perform error correction again.

【0051】実施の形態2.図4は、実施の形態2にお
けるリードソロモン復号装置110の構成を示すブロッ
ク図である。図1と同様の構成については同じ参照番号
を付与する。リードソロモン復号装置110は、リード
ソロモン復号器1と訂正状態監視器40とを備える。リ
ードソロモン復号器1の構成及び動作については、実施
の形態1と同様である。訂正状態監視器40は、実施の
形態1の訂正状態監視器2から出力される誤りシンボル
数、誤りビット数、総入力データシンボル数、及び総入
力データビット数の代わりに、シンボル誤り率を信号線
41から、ビット誤り率を信号線42から出力する。
Embodiment 2 FIG. 4 is a block diagram showing a configuration of Reed-Solomon decoding device 110 according to the second embodiment. 1 are given the same reference numerals. The Reed-Solomon decoding device 110 includes a Reed-Solomon decoder 1 and a correction state monitor 40. The configuration and operation of the Reed-Solomon decoder 1 are the same as in the first embodiment. The correction state monitor 40 signals the symbol error rate instead of the number of error symbols, the number of error bits, the total number of input data symbols, and the total number of input data bits output from the correction state monitor 2 of the first embodiment. The bit error rate is output from a signal line 42 through a line 41.

【0052】図5は、訂正状態監視器40の動作の一例
を説明するフローチャートである。まず、訂正状態監視
器40は、誤りシンボル数、及び誤りビット数をそれぞ
れカウントする(ステップS20)。一方、訂正状態監
視器40は、入力データの同期信号が検出される際にア
クティブとなる同期バイト示唆信号をカウントし、カウ
ント値が所定の値になると(ステップS21のYE
S)、シンボル誤り率及びビット誤り率を算出する(ス
テップS22)。
FIG. 5 is a flowchart for explaining an example of the operation of the correction state monitor 40. First, the correction state monitor 40 counts the number of error symbols and the number of error bits, respectively (step S20). On the other hand, the correction state monitor 40 counts a synchronization byte suggestion signal that becomes active when a synchronization signal of input data is detected, and when the count value reaches a predetermined value (YE in step S21).
S), a symbol error rate and a bit error rate are calculated (step S22).

【0053】次に、訂正状態監視器40は、エラーフリ
ー示唆信号と、入力データの誤りの程度を示す信号とし
て、シンボル誤り率及びビット誤り率を任意の装置へ出
力する(ステップS23)。入力データがまだあるか否
かを確認し(ステップS24)、データがあればカウン
ト値を初期化して(ステップS25)、ステップS20
へ戻る。
Next, the correction status monitor 40 outputs the symbol error rate and the bit error rate to an arbitrary device as an error-free suggestion signal and a signal indicating the degree of error in the input data (step S23). It is confirmed whether or not there is input data (step S24). If there is data, the count value is initialized (step S25), and step S20 is performed.
Return to

【0054】図6は、訂正状態監視器40の構成を示す
ブロック図である。訂正状態監視器40は、同期信号カ
ウンタ50と、誤りシンボル数カウンタ51と、誤りビ
ット数カウンタ52と、誤り率計算器53とを備える。
なお、誤り率計算器53は、シンボル誤り率を計算する
シンボル誤り率計算器としての機能と、ビット誤り率を
計算するビット誤り率計算器としての機能とを備えてい
るものとする。
FIG. 6 is a block diagram showing the configuration of the correction status monitor 40. The correction state monitor 40 includes a synchronization signal counter 50, an error symbol number counter 51, an error bit number counter 52, and an error rate calculator 53.
The error rate calculator 53 has a function as a symbol error rate calculator for calculating a symbol error rate and a function as a bit error rate calculator for calculating a bit error rate.

【0055】誤りシンボル数カウンタ51は、誤り位置
データを受けて、実施の形態1の誤りシンボル数カウン
タ30と同様に、誤りシンボル数を算出し、信号線55
を介して誤りシンボル数を誤り率計算器53に出力す
る。誤りビット数カウンタ52は、誤りの大きさのデー
タを受けて、実施の形態1の誤りビット数カウンタ31
と同様に、誤りビット数を算出し、信号線56を介して
誤りビット数を誤り率計算器53に出力する。
The error symbol number counter 51 receives the error position data, calculates the error symbol number in the same manner as the error symbol number counter 30 of the first embodiment, and
And outputs the number of erroneous symbols to the error rate calculator 53. The error bit number counter 52 receives the data of the magnitude of the error, and receives the error bit number counter 31 of the first embodiment.
Similarly to the above, the number of error bits is calculated, and the number of error bits is output to the error rate calculator 53 via the signal line 56.

【0056】同期信号カウンタ50は、実施の形態1の
同期信号カウンタ32と同様に、訂正不能示唆信号を受
け、エラーフリー示唆信号を出力するが、誤りシンボル
数や誤りビット数を受けない。また、同期信号カウンタ
50は、特定数の同期バイト示唆信号をカウントする
と、アクティブにした特定カウント値示唆信号を、信号
線54を介して誤り率計算器53に出力する。特定カウ
ント値示唆信号は、訂正状態監視器40がリードソロモ
ン復号器1の誤り訂正状態を特定数のパケット単位でモ
ニタする際の、パケット間隔を示すための信号である。
例えば、同期信号カウンタ50の最大カウント値がカウ
ントされる毎に特定カウント値示唆信号を出力するよう
に設定する。同期信号カウンタ50は、以上のように、
特定カウント値示唆信号と、訂正状態を示すエラーフリ
ー示唆信号とを出力する。
The synchronization signal counter 50 receives an uncorrectable suggestion signal and outputs an error-free suggestion signal as in the case of the synchronization signal counter 32 of the first embodiment, but does not receive the number of error symbols or the number of error bits. When the synchronization signal counter 50 counts a specific number of synchronization byte suggestion signals, the synchronization signal counter 50 outputs the activated specific count value suggestion signal to the error rate calculator 53 via the signal line 54. The specific count value suggestion signal is a signal for indicating a packet interval when the correction state monitor 40 monitors the error correction state of the Reed-Solomon decoder 1 in units of a specific number of packets.
For example, a setting is made so as to output a specific count value suggestion signal every time the maximum count value of the synchronization signal counter 50 is counted. As described above, the synchronization signal counter 50
A specific count value suggestion signal and an error-free suggestion signal indicating a correction state are output.

【0057】誤り率計算器53は、誤りシンボル数カウ
ンタ51で算出される誤りシンボル数、誤りビット数カ
ウンタ52で算出される誤りビット数、および同期信号
カウンタ50から出力される特定カウント値示唆信号を
受け、シンボル誤り率およびビット誤り率を算出して出
力する。
The error rate calculator 53 includes an error symbol number calculated by the error symbol number counter 51, an error bit number calculated by the error bit number counter 52, and a specific count value suggestion signal output from the synchronization signal counter 50. The symbol error rate and the bit error rate are calculated and output.

【0058】上述したように、同期信号カウンタ50が
アクティブにした特定カウント値示唆信号を出力する間
隔は、予め設定されている。例えば、特定カウント値示
唆信号は、同期信号カウンタ50の最大カウント値がカ
ウントされる毎にアクティブになると仮定する。アクテ
ィブな特定カウント値示唆信号が出力されてから次のア
クティブな示唆信号が出力されるまでに、リードソロモ
ン復号器1に入力される、総入力データシンボル数およ
びビット数は、同期信号カウンタ50の最大カウント値
に対応した一定値となる。つまり、アクティブな特定カ
ウント値示唆信号の出力間隔を設定すれば、カウント値
示唆信号の2つの出力の間に入力されるデータのシンボ
ル数とビット数を算出することができる。以下、特定カ
ウント値示唆信号は、同期信号カウンタ50の最大カウ
ント値がカウントされる毎に出力されると仮定して説明
する。
As described above, the interval at which the synchronization signal counter 50 outputs the activated specific count value suggestion signal is set in advance. For example, it is assumed that the specific count value suggestion signal becomes active each time the maximum count value of the synchronization signal counter 50 is counted. The total number of input data symbols and the number of bits input to the Reed-Solomon decoder 1 after the output of the active specific count value suggestion signal until the output of the next active suggestion signal is determined by the synchronization signal counter 50. It becomes a constant value corresponding to the maximum count value. In other words, if the output interval of the active specific count value suggestion signal is set, the number of symbols and the number of bits of data input between two outputs of the count value suggestion signal can be calculated. Hereinafter, description will be made on the assumption that the specific count value suggestion signal is output every time the maximum count value of the synchronization signal counter 50 is counted.

【0059】誤り率計算器53は、同期信号カウンタ5
0が特定カウント値示唆信号をアクティブにするタイミ
ングに同期して、総入力データシンボル数およびビット
数に対する、誤りデータシンボル数および誤りビット数
の割合を計算し、シンボル誤り率およびビット誤り率を
信号線41及び42を介して出力する。
The error rate calculator 53 is provided with the synchronization signal counter 5
In synchronization with the timing when 0 activates the specific count value suggestion signal, the ratio of the number of erroneous data symbols and the number of erroneous bits to the total number of input data symbols and bits is calculated, and the symbol error rate and the bit error rate are signaled. Output via lines 41 and 42.

【0060】図7は、誤り率計算器53の構成を示すブ
ロック図である。誤り率計算器53は、定数出力器6
0、第1のセレクタ61、第2のセレクタ62、及び除
算器63を備える。定数出力器60では、最大カウント
値に対応した総入力データシンボル数およびビット数
が、予め算出、あるいは入力されている。定数出力器6
0は、特定カウント値示唆信号を受けると、予め算出、
あるいは入力された総入力データビット数を信号線66
から、また総入力データシンボル数を信号線67から、
それぞれ第1のセレクタ61に出力する。
FIG. 7 is a block diagram showing the configuration of the error rate calculator 53. The error rate calculator 53 includes a constant output unit 6
0, a first selector 61, a second selector 62, and a divider 63. In the constant output unit 60, the total number of input data symbols and the number of bits corresponding to the maximum count value are calculated or input in advance. Constant output device 6
0 is calculated in advance when a specific count value suggestion signal is received,
Alternatively, the total number of input data bits input
And the total number of input data symbols from the signal line 67
Each is output to the first selector 61.

【0061】先にも述べたが、同期信号カウンタ50
が、アクティブにした特定カウント値示唆信号を出力す
る時間間隔は予め設定されているので、特定カウント値
示唆信号の出力と次の出力との間においてリードソロモ
ン復号器1に入力されるデータの総シンボル数と総ビッ
ト数とを予め算出できる。例えば、特定カウント値示唆
信号の出力が、同期信号カウンタ50の最大カウント値
がカウントされる毎に行われると、算出される総入力デ
ータシンボル数およびビット数は、同期信号カウンタ5
0の最大カウント値に対応した一定値となる。
As described above, the synchronization signal counter 50
However, since the time interval at which the activated specific count value suggestion signal is output is set in advance, the total time of data input to the Reed-Solomon decoder 1 between the output of the specific count value suggestion signal and the next output is determined. The number of symbols and the total number of bits can be calculated in advance. For example, if the output of the specific count value suggestion signal is performed every time the maximum count value of the synchronization signal counter 50 is counted, the calculated total number of input data symbols and bits is calculated by the synchronization signal counter 5.
It becomes a constant value corresponding to the maximum count value of 0.

【0062】第1のセレクタ61は、定数出力器60で
算出される総入力データビット数および総入力データシ
ンボル数を取り込み、どちらか一方を選択して、選択デ
ータとして除算器63に出力する。第2のセレクタ62
は、誤りシンボル数および誤りビット数を取り込み、ど
ちらか一方を選択して、選択データとして除算器63に
出力する。
The first selector 61 takes in the total number of input data bits and the total number of input data symbols calculated by the constant output unit 60, selects one of them, and outputs it to the divider 63 as selected data. Second selector 62
Captures the number of error symbols and the number of error bits, selects one of them, and outputs the selected data to the divider 63.

【0063】第1のセレクタ61及び第2のセレクタ6
2は、誤り率計算器53内を制御する制御部(図示せ
ず)によって、第1のセレクタ61が総入力データシン
ボル数を選択し且つ第2のセレクタ62が誤りシンボル
数を選択するか、第1のセレクタ61が総入力データビ
ット数を選択し且つ第2のセレクタ62が誤りビット数
を選択する、のいずれかになるよう制御されている。
First selector 61 and second selector 6
2 indicates whether the first selector 61 selects the total number of input data symbols and the second selector 62 selects the number of error symbols by a control unit (not shown) for controlling the inside of the error rate calculator 53, The first selector 61 is controlled to select either the total number of input data bits, and the second selector 62 is selected to select the number of error bits.

【0064】除算器63は、第1のセレクタの選択デー
タとして総入力データシンボル数を受信し、第2のセレ
クタの選択データとして誤りシンボル数を受信すると、
誤りシンボル数を総入力データシンボル数で除算するこ
とによってシンボル誤り率を計算し、信号線41を介し
てシンボル誤り率を出力する。また、除算器63は、第
1のセレクタの選択データとして総入力データビット数
を、第2のセレクタの選択データとして誤りビット数を
受信すると、誤りビット数を総入力データビット数で除
算することによりビット誤り率を計算して、信号線42
を介して出力する。
When the divider 63 receives the total number of input data symbols as selection data of the first selector and receives the number of error symbols as selection data of the second selector,
The symbol error rate is calculated by dividing the number of error symbols by the total number of input data symbols, and the symbol error rate is output via the signal line 41. When the divider 63 receives the total number of input data bits as the selection data of the first selector and the error bit number as the selection data of the second selector, the divider 63 divides the error bit number by the total number of input data bits. The bit error rate is calculated by
Output via.

【0065】図8は、誤り率計算器53の動作の一例を
説明するフローチャートである。定数出力器60は、特
定カウント値示唆信号を受信する(ステップS80)
と、予め計算されていた総入力データビット数及び総入
力データシンボル数を第1のセレクタ61に出力する。
第2のセレクタ62は、誤りシンボル数データ及び誤り
ビット数データを受信する(ステップS82)。
FIG. 8 is a flowchart for explaining an example of the operation of the error rate calculator 53. The constant output unit 60 receives the specific count value suggestion signal (Step S80).
And the total number of input data bits and the total number of input data symbols calculated in advance are output to the first selector 61.
The second selector 62 receives the error symbol number data and the error bit number data (Step S82).

【0066】誤り率計算器53の制御部によって、第1
及び第2のセレクタ61、62がシンボル数を選択する
ように指示されると(ステップS83)、第1のセレク
タ61は、総入力データシンボル数を除算器63に出力
し、第2のセレクタは誤りシンボル数を除算器63に出
力し(ステップS84)、除算器63はシンボル誤り率
を算出する(ステップS85)。
The control unit of the error rate calculator 53 sets the first
When the second selectors 61 and 62 are instructed to select the number of symbols (step S83), the first selector 61 outputs the total number of input data symbols to the divider 63, and the second selector The number of error symbols is output to divider 63 (step S84), and divider 63 calculates a symbol error rate (step S85).

【0067】一方、誤り率計算器53の制御部によっ
て、第1及び第2のセレクタ61、62がビット数を選
択するように指示されると(ステップS83)、第1の
セレクタ61は、総入力データビット数を除算器63に
出力し、第2のセレクタは誤りビット数を除算器63に
出力し(ステップS86)、除算器63はビット誤り率
を算出する(ステップS87)。なお、ステップS82
は、ステップS83の前であれば、ステップS82の位
置は、図8に示す位置に限定されない。
On the other hand, when the control unit of the error rate calculator 53 instructs the first and second selectors 61 and 62 to select the number of bits (step S83), the first selector 61 sets the total number of bits. The number of input data bits is output to the divider 63, the second selector outputs the number of error bits to the divider 63 (Step S86), and the divider 63 calculates a bit error rate (Step S87). Step S82
Is before step S83, the position of step S82 is not limited to the position shown in FIG.

【0068】次に、別の構成を備える誤り率計算器につ
いて説明する。図9は、誤り率計算器90の構成を示す
ブロック図である。なお、誤り率計算器90は、図6の
誤り計算器53の代わりに、訂正状態監視器40内に備
えられる。従って、誤り率計算器90を備えた訂正状態
監視器40のブロック図は省略する。誤り率計算器90
は、第3のセレクタ80と、数値範囲判定器81と、誤
り率出力器82とを備える。
Next, an error rate calculator having another configuration will be described. FIG. 9 is a block diagram showing a configuration of the error rate calculator 90. Note that the error rate calculator 90 is provided in the correction state monitor 40 instead of the error calculator 53 of FIG. Accordingly, a block diagram of the correction state monitor 40 including the error rate calculator 90 is omitted. Error rate calculator 90
Includes a third selector 80, a numerical range determiner 81, and an error rate output unit 82.

【0069】第3のセレクタ80は、誤りシンボル数を
信号線55から、誤りビット数を信号線56から取り込
み、誤り率計算器90内部を制御する制御部(図示せ
ず)の信号より、どちらか一方を選択して、選択データ
として数値範囲判定器81に出力する。
The third selector 80 fetches the number of error symbols from the signal line 55 and the number of error bits from the signal line 56, and receives a signal from a control unit (not shown) for controlling the inside of the error rate calculator 90. One of them is selected and output to the numerical range determiner 81 as selected data.

【0070】数値範囲判定器81は、選択データとし
て、誤りシンボル数あるいは誤りビット数データを受
け、且つ信号線54から特定カウント値示唆信号を受
け、特定カウント値示唆信号がアクティブになるタイミ
ングに同期して、選択データの値が属する範囲を判定
し、判定した範囲すなわち範囲示唆データを信号線86
から誤り率出力器82へ出力する。
Numeric range determiner 81 receives error symbol number or error bit number data as selection data, receives a specific count value suggestion signal from signal line 54, and synchronizes with the timing at which the specific count value suggestion signal becomes active. Then, the range to which the value of the selected data belongs is determined, and the determined range, that is, the range suggestion data is transmitted to the signal line 86.
To the error rate output unit 82.

【0071】数値範囲判定器81には、選択データがと
り得る範囲が複数予め入力されている。数値範囲判定器
81は、入力された選択データと、予め入力されている
各範囲とを比較し、選択データがどの数値範囲にあては
まるかを判定する。予め入力された各範囲には、範囲示
唆データとして出力する数字を割り当てておく。数値範
囲判定器81が選択データの属する範囲を判定すると、
判定された範囲に割り当てられた数字を範囲示唆データ
として出力する。
A plurality of ranges that can be selected data are input to the numerical range determiner 81 in advance. The numerical range determiner 81 compares the input selection data with each of the ranges input in advance, and determines which numerical range the selection data falls into. A number to be output as range suggestion data is assigned to each range input in advance. When the numerical range determiner 81 determines the range to which the selected data belongs,
The number assigned to the determined range is output as range suggestion data.

【0072】例えば、数値範囲判定器81は、選択デー
タがとり得る範囲として、例えば1,000〜99,9
99を1,000間隔で分けた99個の範囲が入力さ
れ、各範囲に、数値の少ない方から範囲示唆データとし
て1、2、3、・・・、99が割り当てられたと仮定す
る。数値範囲判定器81は、選択データが1,000〜
1,999の範囲であると認識すれば、範囲示唆データ
として、1,000〜1,999の範囲に予め割り当て
た“1”を出力し、2,000〜2,999の範囲と認
識した場合は、範囲示唆データとして“2”を出力す
る。
For example, the numerical range determiner 81 determines the range that the selected data can take, for example, from 1,000 to 99,9.
It is assumed that 99 ranges obtained by dividing 99 at 1,000 intervals are input, and 1, 2, 3,..., 99 are assigned to each range as range suggestion data in ascending order of numerical values. The numerical range determiner 81 determines that the selection data is 1,000 to
When it is recognized that the range is 1,999, "1" pre-assigned to the range of 1,000 to 1,999 is output as range suggestion data, and when the range is recognized to be 2,000 to 2,999. Outputs “2” as range suggestion data.

【0073】誤り率出力器82は、数値範囲判定器81
から出力される範囲示唆データおよび信号線54−2に
よって送られてくる特定カウント値示唆信号を受けて、
特定カウント値示唆信号がアクティブになるタイミング
に同期して、誤り率を出力する。
The error rate output unit 82 is a numerical range judgment unit 81
Receiving the range suggestion data output from the device and the specific count value suggestion signal transmitted by the signal line 54-2,
The error rate is output in synchronization with the timing when the specific count value suggestion signal becomes active.

【0074】先にも述べたが、同期信号カウンタ50
が、アクティブにした特定カウント値示唆信号を出力す
る間隔は予め設定されているので、特定カウント値示唆
信号の出力と次の出力との間においてリードソロモン復
号器1に入力されるデータの総シンボル数と、総ビット
数とは一定である。例えば、特定カウント値示唆信号の
出力が同期信号カウンタ50の最大カウント値がカウン
トされる毎に行われると、算出される総入力データシン
ボル数およびビット数は、同期信号カウンタ50の最大
カウント値に対応した一定値となる。従って、誤り率出
力器82で予め総入力データシンボル数、及びビット数
を算出しておく。
As described above, the synchronization signal counter 50
However, since the interval for outputting the activated specific count value suggestion signal is set in advance, the total number of symbols of the data input to the Reed-Solomon decoder 1 between the output of the specific count value suggestion signal and the next output The number and the total number of bits are constant. For example, when the output of the specific count value suggestion signal is performed every time the maximum count value of the synchronization signal counter 50 is counted, the calculated total number of input data symbols and bits is calculated as the maximum count value of the synchronization signal counter 50. It will be the corresponding constant value. Therefore, the total number of input data symbols and the number of bits are calculated in advance by the error rate output unit 82.

【0075】誤り率出力器82は、範囲示唆データが示
す範囲内の1つの数値を近似値として予め選択し、選択
された近似値を誤りシンボル数および誤りビット数の値
として扱う。上述の例を用いて説明すると、誤り率出力
器82が範囲内の中間値を近似値として設定していれ
ば、範囲示唆データが“1”のとき、誤りシンボル数あ
るいは誤りビット数は、一律に、中間値“1,500”
となる。
The error rate output unit 82 preliminarily selects one numerical value within the range indicated by the range suggestion data as an approximate value, and treats the selected approximate value as the value of the number of error symbols and the number of error bits. To explain using the above example, if the error rate output unit 82 sets an intermediate value in the range as an approximate value, the number of error symbols or the number of error bits is uniform when the range suggestion data is “1”. And the intermediate value "1,500"
Becomes

【0076】上述したように、総入力データシンボル数
およびビット数は固定値である。また、誤りシンボル数
およびビット数は、範囲示唆データの各々に対して1つ
ずつ近似値が設定されているので、誤りシンボル数、及
びビット数がとり得る値は限定されている。従って、誤
りシンボル数、及びビット数の近似値それぞれに対し
て、誤り率を計算し、範囲示唆データに合わせて、予め
計算された誤り率を選択し出力する。
As described above, the total number of input data symbols and the number of bits are fixed values. Further, since the approximate number of error symbols and the number of bits are set to one for each of the range suggestion data, the possible values of the number of error symbols and the number of bits are limited. Therefore, the error rate is calculated for each of the approximate values of the number of error symbols and the number of bits, and the error rate calculated in advance is selected and output according to the range suggestion data.

【0077】図10は、誤り率計算器90の動作を説明
するフローチャートである。第3のセレクタ80が誤り
シンボル数及び誤りビット数を受信し(ステップS9
0)、誤り率計算器90内部を制御する制御部の指示に
よってシンボル数又はビット数を選択する(ステップS
91)。
FIG. 10 is a flowchart for explaining the operation of the error rate calculator 90. The third selector 80 receives the number of error symbols and the number of error bits (step S9).
0), the number of symbols or the number of bits is selected according to an instruction from a control unit that controls the inside of the error rate calculator 90 (step S).
91).

【0078】シンボル数が選択されると、数値範囲判定
器81は、特定カウント値示唆信号がアクティブになる
タイミングに同期して、誤りシンボル数の値が属する範
囲を判定し、判定した範囲すなわち範囲示唆データを誤
り率出力器82へ出力する(ステップS92)。
When the number of symbols is selected, the numerical range determiner 81 determines the range to which the value of the number of erroneous symbols belongs in synchronization with the timing when the specific count value suggestion signal becomes active, and determines the determined range, that is, the range. The suggestion data is output to the error rate output device 82 (step S92).

【0079】誤り率出力器82は、特定カウント値示唆
信号がアクティブになるタイミングに同期して、予め範
囲示唆データ毎に算出されているシンボル誤り率の中か
ら、数値範囲判定器81が実際に出力した範囲示唆デー
タに該当するシンボル誤り率を選択し、出力する(ステ
ップS93)。
The error rate output unit 82 synchronizes with the timing when the specific count value suggestion signal becomes active, and the numerical range determinator 81 actually selects the symbol error rate from the symbol error rates previously calculated for each range suggestion data. A symbol error rate corresponding to the output range suggestion data is selected and output (step S93).

【0080】一方、ビット数が選択されると、数値範囲
判定器81は、特定カウント値示唆信号がアクティブに
なるタイミングに同期して、誤りビット数の値が属する
範囲を判定し、判定した範囲すなわち範囲示唆データを
誤り率出力器82へ出力する(ステップS95)。
On the other hand, when the number of bits is selected, the numerical range determiner 81 determines the range to which the value of the number of erroneous bits belongs in synchronization with the timing when the specific count value suggestion signal becomes active, and That is, the range suggestion data is output to the error rate output unit 82 (step S95).

【0081】誤り率出力器82は、特定カウント値示唆
信号がアクティブになるタイミングに同期して、予め範
囲示唆データ毎に算出されているビット誤り率の中か
ら、数値範囲判定器81が実際に出力した範囲示唆デー
タに該当するビット誤り率を選択し、出力する(ステッ
プS96)。
The error rate output unit 82 synchronizes with the timing at which the specific count value suggestion signal becomes active, and the numerical range determiner 81 actually calculates the bit error rate from the bit error rates calculated for each range suggestion data. The bit error rate corresponding to the output range suggestion data is selected and output (step S96).

【0082】以上説明したように、第2の実施形態で
は、シンボル誤り率およびビット誤り率を、訂正状態監
視器40内で求めることができる。また、誤り率計算器
90を用いれば、範囲示唆データを受ける毎に除算を行
なうことなく、範囲示唆データに合わせて誤り率の近似
値を出力できるので、正確なシンボル誤り率、及びビッ
ト誤り率を計算する必要がない場合、あるいは、訂正状
態監視器40の構成を簡単にしたい場合に適している。
As described above, in the second embodiment, the symbol error rate and the bit error rate can be obtained in the correction state monitor 40. Further, if the error rate calculator 90 is used, an approximate value of the error rate can be output in accordance with the range suggestion data without performing division each time the range suggestion data is received. Is not necessary, or when the configuration of the correction status monitor 40 is to be simplified.

【0083】なお、本実施の形態2では、シンボル誤り
率とビット誤り率とを訂正状態監視器40から出力した
が、本実施の形態2のリードソロモン復号装置110が
実装されるシステムにより、ビット誤り率及びシンボル
誤り率の少なくとも一方を出力できればよい。例えば、
ビット誤り率あるいはシンボル誤り率のどちらかのみを
出力する場合、誤り率計算器53を用いた訂正状態監視
器40の例では第1、第2のセレクタ61、62を削除
し、誤り率計算器90を用いた訂正状態監視器の例で
は、第3のセレクタ80を削除すればよい。また、ビッ
ト誤り率を常時出力し、必要に応じてシンボル誤り率を
出力できる構成にすることもできる。
In the second embodiment, the symbol error rate and the bit error rate are output from the correction state monitor 40. However, the system in which the Reed-Solomon decoding device 110 according to the second embodiment is mounted has It suffices if at least one of the error rate and the symbol error rate can be output. For example,
When only one of the bit error rate and the symbol error rate is output, in the example of the correction state monitor 40 using the error rate calculator 53, the first and second selectors 61 and 62 are deleted and the error rate calculator In the example of the correction status monitor using 90, the third selector 80 may be deleted. It is also possible to adopt a configuration in which the bit error rate is always output and the symbol error rate can be output as needed.

【0084】また、実施の形態1及び2で説明した機能
の一部あるいは全てを、コンピュータ可読の記憶媒体に
記録されたソフトウェアのプログラムコードによって実
現することもできる。従って、上述した実施の形態の機
能を実現できるプログラムコードを記録した記憶媒体
は、本発明を構成する。
Further, some or all of the functions described in the first and second embodiments can be realized by software program codes recorded on a computer-readable storage medium. Therefore, a storage medium on which the program code capable of realizing the functions of the above-described embodiments is recorded constitutes the present invention.

【0085】[0085]

【発明の効果】以上本発明によるリードソロモン復号装
置は、入力データの誤り訂正をリードソロモン符号によ
って行うリードソロモン復号器と、リードソロモン復号
器による誤り訂正の処理エラーを検出し、且つ、入力デ
ータの誤りの程度を監視する訂正状態監視器と、を備
え、リードソロモン復号器は、入力データからシンドロ
ームを算出するシンドローム計算器と、シンドロームを
用いて、誤り位置多項式および誤り評価多項式を算出す
るユークリッド互除計算器と、誤り位置多項式および誤
り評価多項式から入力データの誤っているバイトを示す
誤り位置を算出する誤り位置算出器と、誤り位置と誤り
位置が示す誤ったバイトを構成するビットのうち、どの
ビットが誤っているかを示す誤りの大きさとを用いて、
入力データを訂正する誤り訂正器と、を備え、誤りの大
きさは、ユークリッド互除計算器あるいは上記誤り位置
算出器のいずれかによって、誤り位置多項式および誤り
評価多項式を用いて算出され、ユークリッド互除計算器
から出力されるユークリッド処理エラーフラグと誤り位
置算出器から出力されるチェン検索エラーフラグとの論
理和信号である訂正不能示唆信号を受けて、その訂正不
能示唆信号からリードソロモン復号処理エラーの有無を
示すエラーフリー示唆信号を生成し、誤りの位置及び誤
りの大きさから、ビット誤り率若しくはシンボル誤り
率、または、入力データの総ビット数および誤りビット
数若しくは入力データの総シンボル数および誤りシンボ
ル数を含む、入力データの誤りの程度を示す信号を生成
することを特徴とする。
As described above, the Reed-Solomon decoding apparatus according to the present invention detects a Reed-Solomon decoder that performs error correction of input data by using a Reed-Solomon code, detects an error correction processing error by the Reed-Solomon decoder, and outputs the input data. A Reed-Solomon decoder that calculates a syndrome from input data, and a Euclidean that calculates an error position polynomial and an error evaluation polynomial using the syndrome. An mutual error calculator, an error position calculator that calculates an error position indicating an erroneous byte of the input data from the error position polynomial and the error evaluation polynomial, and of the bits that constitute the erroneous byte indicated by the error position and the error position, Using the magnitude of the error to indicate which bit is incorrect,
And a error corrector for correcting the input data, the size of the error, by either of the Euclidean mutual division calculator or the error position calculator is calculated by using the error location polynomial and the error evaluator polynomial, the Euclidean mutual division computation vessel
Processing error flags and error positions output from
On the Chien search error flag output from the location calculator
In response to an uncorrectable indication signal that is a logical sum signal,
An error-free suggestion signal indicating the presence or absence of a Reed-Solomon decoding processing error is generated from the function suggestion signal , and the bit error rate or the symbol error is determined based on the error location and error magnitude.
Rate or total number of bits of input data and error bits
Number or total number of symbols of input data and error symbol
And generating a signal indicating the degree of error in the input data including the number of files.

【0086】また、本発明による、入力データの誤り訂
正をリードソロモン符号によって行うリードソロモン復
号装置の制御方法は、入力データからシンドロームを算
出するシンドローム計算ステップと、シンドロームを用
いて、誤り位置多項式および誤り評価多項式を算出する
ユークリッド互除計算ステップと、誤り位置多項式およ
び誤り評価多項式から入力データの誤っているバイトを
示す誤り位置を算出する誤り位置算出ステップと、誤り
位置多項式および誤り評価多項式を用いて、誤り位置が
示す誤ったバイトを構成するビットのうち、どのビット
が誤っているかを示す誤りの大きさを算出する誤りの大
きさ算出ステップと、誤り位置と上記誤りの大きさとを
用いて入力データを訂正する誤り訂正ステップと、ユー
クリッド互除計算ステップで生成されるユークリッド処
理エラーフラグと誤り位置算出ステップで生成されるチ
ェン検索エラーフラグとの論理和信号である訂正不能示
唆信号を受けて、その訂正不能示唆信号からリードソロ
モン復号処理エラーの有無を示すエラーフリー示唆信号
を生成し、誤り位置と誤りの大きさとから、ビット誤り
率若しくはシンボル誤り率、または、入力データの総ビ
ット数および誤りビット数若しくは入力データの総シン
ボル数および誤りシンボル数を含む、入力データの誤り
の程度を示す信号を生成する訂正状態監視ステップと、
を備える。
Further, according to the control method of the Reed-Solomon decoding device for performing error correction of input data by using a Reed-Solomon code according to the present invention, a syndrome calculation step of calculating a syndrome from input data, and an error locator polynomial by using the syndrome An Euclidean mutual calculation step for calculating an error evaluation polynomial; an error position calculation step for calculating an error position indicating an error byte of input data from the error position polynomial and the error evaluation polynomial; and an error position polynomial and an error evaluation polynomial. An error magnitude calculating step of calculating an error magnitude indicating which bit is erroneous among bits constituting an erroneous byte indicated by the error location, and inputting using the error location and the error magnitude. and the error correction step to correct the data, user
Euclidean process generated in the algorithm
Error flag and the error
Uncorrectable indication that is a logical sum signal with the search error flag
In response to the solicitation signal, lead solo from the uncorrectable suggestion signal
Generates an error-free suggestion signal indicating the presence or absence of an error in the Mon decoding process , and determines the bit error based on the error location and error magnitude.
Rate or symbol error rate, or the total
Number of bits and error bits or the total
A correction state monitoring step of generating a signal indicating the degree of error in the input data, including the number of volts and the number of error symbols ,
Is provided.

【0087】また、本発明によるプログラムを格納する
コンピュータ可読の記憶媒体は、入力データの誤り訂正
をリードソロモン符号によって行うリードソロモン復号
装置を制御するプログラムのコードを格納するコンピュ
ータ可読の記憶媒体であって、プログラムのコードは、
入力データからシンドロームを算出するシンドローム計
算ステップのコードと、シンドロームを用いて誤り位置
多項式および誤り評価多項式を算出するユークリッド互
除計算ステップのコードと、誤り位置多項式および誤り
評価多項式から上記入力データの誤っているバイトを示
す誤り位置を算出する誤り位置算出ステップのコード
と、誤り位置が示す誤ったバイトを構成するビットのう
ち、どのビットが誤っているかを示す誤りの大きさを算
出する誤りの大きさ算出ステップのコードと、誤り位置
と誤りの大きさとを用いて入力データを訂正する誤り訂
正ステップのコードと、ユークリッド互除計算ステップ
で生成されるユークリッド処理エラーフラグと誤り位置
算出ステップで生成されるチェン検索エラーフラグとの
論理和信号である訂正不能示唆信号を受けて、その訂正
不能示唆信号からリードソロモン復号処理エラーの有無
を示すエラーフリー示唆信号を生成し、誤り位置と誤り
の大きさとから、ビット誤り率若しくはシンボル誤り
率、または、入力データの総ビット数および誤りビット
数若しくは入力データの総シンボル数および誤りシンボ
ル数を含む、入力データの誤りの程度を示す信号を生成
する訂正状態監視ステップのコードと、を備えることを
特徴とするものである。
The computer-readable storage medium for storing the program according to the present invention is a computer-readable storage medium for storing a code of a program for controlling a Reed-Solomon decoding device for performing error correction of input data by using a Reed-Solomon code. And the program code is
The code of the syndrome calculation step of calculating the syndrome from the input data, the code of the Euclidean mutual division calculation step of calculating the error location polynomial and the error evaluation polynomial using the syndrome, and the error of the input data from the error location polynomial and the error evaluation polynomial Error position calculation step code for calculating an error position indicating a byte that is present, and an error size for calculating an error size indicating which bit among the bits constituting the erroneous byte indicated by the error position is erroneous A code of a calculation step, a code of an error correction step for correcting input data using an error position and an error size, and a Euclidean mutual calculation step
Error flags and error locations generated by Euclidean
With the Chien search error flag generated in the calculation step
Receiving an uncorrectable indication signal, which is a logical sum signal,
An error-free indication signal indicating the presence or absence of a Reed-Solomon decoding processing error is generated from the impossibility indication signal, and a bit error rate or a symbol error is determined based on the error position and error magnitude.
Rate or total number of bits of input data and error bits
Number or total number of symbols of input data and error symbol
And a code for a correction state monitoring step for generating a signal indicating the degree of error in the input data , including a number of errors.

【0088】従って、リードソロモン復号器が有効に機
能しているかを、リードソロモン復号器の動作中に監視
でき、またリードソロモン復号器の動作状態を知る指標
を出力できる。従って、リードソロモン復号処理を行う
装置を備えたLSIは、リードソロモン復号器が有効に
機能していない場合に何らかの対処をすることができ
る。
Therefore, whether the Reed-Solomon decoder is functioning effectively can be monitored during the operation of the Reed-Solomon decoder, and an index indicating the operating state of the Reed-Solomon decoder can be output. Therefore, the LSI including the device for performing the Reed-Solomon decoding process can take some measures when the Reed-Solomon decoder does not function effectively.

【0089】また、リードソロモン復号器の処理エラ
ー、及び入力データの誤りシンボル数及びビット数を常
時監視しているので、誤り訂正状態が悪い場合、例えば
誤り訂正が不可能になった場合や入力データの誤り発生
頻度が高い場合、再度誤り訂正を施すようにすれば、誤
り訂正の精度を上げることができる。
Further, since the processing error of the Reed-Solomon decoder and the number of error symbols and the number of bits of input data are constantly monitored, if the error correction state is poor, for example, if error correction becomes impossible or input When the frequency of occurrence of data errors is high, if the error correction is performed again, the accuracy of the error correction can be improved.

【0090】さらに、訂正状態監視器でシンボル誤り率
及びビット誤り率の少なくともどちらか一方を求めても
よい。このとき、正確なシンボル誤り率、及びビット誤
り率を計算する必要がない場合、あるいは、訂正状態監
視器の構成を簡単にしたい場合、シンボル誤り率とビッ
ト誤り率のそれぞれとり得る値を複数用意して、最も近
い値を近似値として出力する構成にすればよい。
Further, at least one of the symbol error rate and the bit error rate may be obtained by the correction state monitor. At this time, if it is not necessary to calculate the correct symbol error rate and bit error rate, or if it is desired to simplify the configuration of the correction state monitor, prepare a plurality of possible values of the symbol error rate and the bit error rate. Then, the closest value may be output as an approximate value.

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

【図1】実施の形態1に係るリードソロモン復号装置1
00の構成を示すブロック図である。
FIG. 1 is a Reed-Solomon decoding device 1 according to a first embodiment.
FIG. 2 is a block diagram showing a configuration of a 00.

【図2】訂正状態監視器2の動作の一例を説明するフロ
ーチャートである。
FIG. 2 is a flowchart illustrating an example of an operation of a correction state monitor 2.

【図3】訂正状態監視器2の構成を示すブロック図であ
る。
FIG. 3 is a block diagram showing a configuration of a correction state monitor 2;

【図4】実施の形態2に係るリードソロモン復号装置1
10の構成を示すブロック図である。
FIG. 4 is a Reed-Solomon decoding device 1 according to a second embodiment.
It is a block diagram which shows the structure of 10.

【図5】訂正状態監視器40の動作の一例を説明するフ
ローチャートである。
FIG. 5 is a flowchart illustrating an example of the operation of the correction state monitor 40.

【図6】訂正状態監視器40の構成を示すブロック図で
ある。
FIG. 6 is a block diagram showing a configuration of a correction status monitor 40.

【図7】誤り率計算器53の構成を示すブロック図であ
る。
FIG. 7 is a block diagram showing a configuration of an error rate calculator 53.

【図8】誤り率計算器53の動作の一例を説明するフロ
ーチャートである。
FIG. 8 is a flowchart illustrating an example of the operation of the error rate calculator 53.

【図9】誤り率計算器90の構成を示すブロック図であ
る。
FIG. 9 is a block diagram showing a configuration of an error rate calculator 90.

【図10】誤り率計算器90の動作を説明するフローチ
ャートである。
FIG. 10 is a flowchart illustrating an operation of the error rate calculator 90.

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

1 リードソロモン復号器 2 訂正状態監視器 3 シンドローム計算器 4 ユークリッド互除計算器 5 チェン検索器 6 誤り訂正器 7 データ遅延RAM 30 誤りシンボル数カウンタ 31 誤りビット数カウンタ 32 同期信号カウンタ 40 訂正状態監視器 50 同期信号カウンタ 51 誤りシンボル数カウンタ 52 誤りビット数カウンタ 53 誤り率計算器 60 定数出力器 61 第1のセレクタ 62 第2のセレクタ 63 除算器 80 第3のセレクタ 81 数値範囲判定器 82 誤り率出力器 100、110 リードソロモン復号装置 DESCRIPTION OF SYMBOLS 1 Reed-Solomon decoder 2 Correction state monitor 3 Syndrome calculator 4 Euclidean mutual division calculator 5 Chien searcher 6 Error corrector 7 Data delay RAM 30 Error symbol number counter 31 Error bit number counter 32 Synchronization signal counter 40 Correction state monitor Reference Signs List 50 synchronization signal counter 51 error symbol counter 52 error bit counter 53 error rate calculator 60 constant output device 61 first selector 62 second selector 63 divider 80 third selector 81 numerical range determiner 82 error rate output 100,110 Reed-Solomon decoding device

Claims (17)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 入力データの誤り訂正をリードソロモン
符号によって行うリードソロモン復号器と、 上記リードソロモン復号器による誤り訂正の処理エラー
を検出し、且つ、入力データの誤りの程度を監視する訂
正状態監視器と、 を備え、 上記リードソロモン復号器は、 上記入力データからシンドロームを算出するシンドロー
ム計算器と、 上記シンドロームを用いて、誤り位置多項式および誤り
評価多項式を算出するユークリッド互除計算器と、 上記誤り位置多項式および誤り評価多項式から上記入力
データの誤っているバイトを示す誤り位置を算出する誤
り位置算出器と、 上記誤り位置と該誤り位置が示す誤ったバイトを構成す
るビットのうち、どのビットが誤っているかを示す誤り
の大きさとを用いて、入力データを訂正する誤り訂正器
と、 を備え、 上記誤りの大きさは、上記ユークリッド互除計算器ある
いは上記誤り位置算出器のいずれかによって、上記誤り
位置多項式および上記誤り評価多項式を用いて算出さ
れ、 上記訂正状態監視器は、上記ユークリッド互除計算器、
及び上記誤り位置算出器を監視して、上記ユークリッド
互除計算器から出力されるユークリッド処理エラーフラ
グと上記誤り位置算出器から出力されるチェン検索エラ
ーフラグとの論理和信号である訂正不能示唆信号を受け
て、該訂正不能示唆信号からリードソロモン復号処理エ
ラーの有無を示すエラーフリー示唆信号を生成し、上記
誤りの位置及び上記誤りの大きさから、ビット誤り率若
しくはシンボル誤り率、または、入力データの総ビット
数および誤りビット数若しくは入力データの総シンボル
数および誤りシンボル数を含む、上記入力データの誤り
の程度を示す信号を生成する、 ことを特徴とするリードソロモン復号装置。
1. A Reed-Solomon decoder for performing error correction of input data using a Reed-Solomon code, and a correction state for detecting an error correction processing error by the Reed-Solomon decoder and monitoring the degree of error in the input data. A Reed-Solomon decoder, comprising: a syndrome calculator that calculates a syndrome from the input data; a Euclidean algorithm that calculates an error locator polynomial and an error evaluation polynomial using the syndrome; An error position calculator that calculates an error position indicating an erroneous byte of the input data from an error locator polynomial and an error evaluation polynomial; and which of the bits constituting the erroneous byte indicated by the error position and the error position Error correction that corrects the input data using the magnitude of the error that indicates Comprising a vessel, the magnitude of the error, by any of the above Euclidean algorithm calculator or the error position calculator is calculated by using the error location polynomial and the error evaluation polynomial, the correction state monitor instrument , The Euclidean algorithm above,
And monitors the error position calculator, the Euclidean
Euclidean processing error flag output from mutual algorithm calculator
Search error output from the error location calculator
Received an uncorrectable indication signal which is a logical sum signal with the flag.
Te, generates an error free suggestion signal indicating the presence or absence of a Reed-Solomon decoding error from the uncorrectable suggestion signals, the position and size of the error of the error, bit error Ritsuwaka
Or symbol error rate or total bits of input data
Number and number of error bits or total symbols of input data
A Reed-Solomon decoding device that generates a signal indicating the degree of error in the input data, including a number and a number of error symbols .
【請求項2】 請求項1記載のリードソロモン復号装置
において、 上記訂正状態監視器は、 上記誤りの大きさが示す誤ったビットの数をカウントす
る誤りビット数カウンタと、 上記入力データの同期信号に合わせて出力される同期バ
イト示唆信号をカウントする同期信号カウンタとを備
え、 上記入力データの誤りの程度を示す信号は、上記同期信
号カウンタが所定数の上記同期バイト示唆信号をカウン
トする間に、上記リードソロモン復号装置に入力したデ
ータのビットの総数、及び、上記誤りビット数カウンタ
がカウントした誤りビット数を含むことを特徴とするリ
ードソロモン復号装置。
2. The Reed-Solomon decoding device according to claim 1, wherein the correction state monitor includes an error bit number counter that counts the number of erroneous bits indicated by the magnitude of the error, and a synchronization signal of the input data. A synchronization signal counter that counts a synchronization byte suggestion signal that is output in accordance with the signal. The signal indicating the degree of error in the input data is output while the synchronization signal counter counts a predetermined number of the synchronization byte suggestion signals. A total number of bits of data input to the Reed-Solomon decoding device, and the number of error bits counted by the error bit number counter.
【請求項3】 請求項1記載のリードソロモン復号装置
において、 上記訂正状態監視器は、 上記誤りの大きさが示す誤ったビットの数をカウントす
る誤りビット数カウンタと、 上記入力データの同期信号に合わせて出力される同期バ
イト示唆信号をカウントする同期信号カウンタと、 上記同期信号カウンタが所定数の同期バイト示唆信号を
カウントする間に、上記リードソロモン復号装置に入力
したデータのビットの総数、及び、上記誤りビット数カ
ウンタがカウントした誤ったビット数からビット誤り率
を算出するビット誤り率計算器と、を備え、 上記入力データの誤りの程度を示す信号は、上記ビット
誤り率を含むことを特徴とするリードソロモン復号装
置。
3. The Reed-Solomon decoding device according to claim 1, wherein the correction state monitor includes an error bit number counter that counts the number of erroneous bits indicated by the magnitude of the error, and a synchronization signal of the input data. A synchronization signal counter that counts a synchronization byte suggestion signal that is output in accordance with a total number of bits of data input to the Reed-Solomon decoding device while the synchronization signal counter counts a predetermined number of synchronization byte suggestion signals; And a bit error rate calculator that calculates a bit error rate from the number of erroneous bits counted by the error bit number counter, wherein the signal indicating the degree of error in the input data includes the bit error rate A Reed-Solomon decoding device characterized by the above-mentioned.
【請求項4】 請求項3記載のリードソロモン復号装置
において、 上記ビット誤り率計算器は、 上記誤りビット数を上記入力データのビットの総数で除
算する除算器、 を備えることを特徴とするリードソロモン復号装置。
4. The Reed-Solomon decoding device according to claim 3, wherein the bit error rate calculator includes a divider that divides the number of error bits by a total number of bits of the input data. Solomon decoding device.
【請求項5】 請求項4に記載のリードソロモン復号装
置において、 上記ビット誤り率計算器は、 上記所定数の同期バイト示唆信号がカウントされる間に
上記リードソロモン復号装置に入力されるデータのビッ
トの総数を予め算出しておいて、上記同期信号カウンタ
が該所定数の同期バイト示唆信号をカウントすると、該
予め算出されたビットの総数を出力する定数出力器、 を備えることを特徴とするリードソロモン復号装置。
5. The Reed-Solomon decoding device according to claim 4, wherein the bit error rate calculator calculates a value of data input to the Reed-Solomon decoding device while the predetermined number of synchronization byte indication signals is counted. A constant output unit for calculating the total number of bits in advance, and outputting the total number of bits calculated in advance when the synchronization signal counter counts the predetermined number of synchronization byte suggestion signals. Reed-Solomon decoding device.
【請求項6】 請求項3記載のリードソロモン復号装置
において、 上記ビット誤り率計算器は、 上記誤りビット数がとり得る値の範囲が予め複数設定さ
れ、上記所定数の同期バイト示唆信号をカウントする間
に上記誤りビット数カウンタがカウントする上記誤りビ
ット数が、上記設定されたどの範囲に属するかを判定す
る判定器と、 上記判定器に設定された範囲の各々から任意に選択され
た値と、上記入力データのビットの総数とから、ビット
誤り率を予め算出し、該予め算出されたビット誤り率の
中から、上記判定器によって判定された範囲に該当する
ビット誤り率を出力する誤り率出力器と、 を備えることを特徴とするリードソロモン復号装置。
6. The Reed-Solomon decoding apparatus according to claim 3, wherein the bit error rate calculator sets a plurality of ranges of values that the number of error bits can take in advance, and counts the predetermined number of synchronization byte indication signals. A determinator that determines to which range the set number of erroneous bits counted by the erroneous bit number counter belongs, and a value arbitrarily selected from each of the ranges set in the determinator And a bit error rate calculated in advance from the total number of bits of the input data, and an error that outputs a bit error rate corresponding to the range determined by the determiner from the bit error rates calculated in advance. A Reed-Solomon decoding device comprising: a rate output device.
【請求項7】 請求項2記載のリードソロモン復号装置
において、 上記訂正状態監視器は、上記誤り位置が示す誤ったバイ
ト数をカウントする誤りシンボル数カウンタを備え、 上記入力データの誤りの程度を示す信号は、上記同期信
号カウンタが所定数の同期バイト示唆信号をカウントし
ている間に、上記リードソロモン復号装置に入力したデ
ータのシンボルの総数、及び上記誤りシンボル数カウン
タがカウントした誤ったシンボルの数を含むことを特徴
とするリードソロモン復号装置。
7. The Reed-Solomon decoding device according to claim 2, wherein the correction state monitor includes an error symbol number counter that counts an erroneous byte number indicated by the error position, and determines a degree of error in the input data. The signals indicated are the total number of data symbols input to the Reed-Solomon decoding device while the synchronization signal counter is counting a predetermined number of synchronization byte indication signals, and the number of erroneous symbols counted by the error symbol number counter. A Reed-Solomon decoding device comprising:
【請求項8】 請求項1、3から6のいずれかに記載の
リードソロモン復号装置において、 上記訂正状態監視器は、 上記誤り位置が示す誤ったバイトの数をカウントする誤
りシンボル数カウンタと、 上記入力データの同期信号に合わせて出力される同期バ
イト示唆信号を所定数カウントする間に、上記リードソ
ロモン復号装置に入力したデータのシンボルの総数、及
び、該上記誤りシンボル数カウンタがカウントした誤っ
たシンボル数からシンボル誤り率を算出するシンボル誤
り率計算器と、を備え、 上記入力データの誤りの程度を示す信号は、上記シンボ
ル誤り率を含むことを特徴とするリードソロモン復号装
置。
8. The Reed-Solomon decoding device according to claim 1, wherein the correction status monitor includes: an error symbol number counter that counts the number of erroneous bytes indicated by the error position; While counting a predetermined number of synchronization byte indication signals output in synchronization with the synchronization signal of the input data, the total number of data symbols input to the Reed-Solomon decoding device and the error count counted by the error symbol number counter. A symbol error rate calculator that calculates a symbol error rate from the number of symbols obtained, wherein the signal indicating the degree of error in the input data includes the symbol error rate.
【請求項9】 請求項8記載のリードソロモン復号装置
において、 上記シンボル誤り率計算器は、 上記誤りシンボル数を上記入力データのシンボルの総数
で除算する除算器、 を備えることを特徴とするリードソロモン復号装置。
9. The Reed-Solomon decoding device according to claim 8, wherein the symbol error rate calculator includes: a divider that divides the number of error symbols by the total number of symbols of the input data. Solomon decoding device.
【請求項10】 請求項9に記載のリードソロモン復号
装置において、 上記シンボル誤り率計算器は、 上記所定数の同期バイト示唆信号がカウントされる間に
上記リードソロモン復号装置に入力されるデータのシン
ボルの総数を予め算出しておいて、上記同期信号カウン
タが該所定数の同期バイト示唆信号をカウントすると、
該予め算出されたシンボルの総数を出力する定数出力
器、 を備えることを特徴とするリードソロモン復号装置。
10. The Reed-Solomon decoding device according to claim 9, wherein the symbol error rate calculator calculates a value of data input to the Reed-Solomon decoding device while the predetermined number of synchronization byte indication signals are counted. The total number of symbols is calculated in advance, and when the synchronization signal counter counts the predetermined number of synchronization byte indication signals,
A constant output device for outputting the total number of symbols calculated in advance, wherein:
【請求項11】 請求項8記載のリードソロモン復号装
置において、 上記シンボル誤り率計算器は、 上記誤りシンボル数がとり得る値の範囲が予め複数設定
され、上記所定数の同期バイト示唆信号をカウントする
間に上記誤りシンボル数カウンタがカウントする上記誤
りシンボル数が、上記設定されたどの範囲に属するかを
判定する判定器と、 上記判定器に設定された範囲の各々から任意に選択され
た値と、上記入力データのシンボルの総数とから、シン
ボル誤り率を予め算出し、該予め算出されたシンボル誤
り率の中から、上記判定器によって判定された範囲に該
当するシンボル誤り率を出力する誤り率出力器と、 を備えることを特徴とするリードソロモン復号装置。
11. The Reed-Solomon decoding apparatus according to claim 8, wherein the symbol error rate calculator sets a plurality of possible value ranges of the number of error symbols in advance, and counts the predetermined number of synchronization byte indication signals. A determinator that determines to which range the set number of erroneous symbols counted by the erroneous symbol counter belongs during the setting, and a value arbitrarily selected from each of the ranges set in the determinator. And the total number of symbols of the input data, calculating a symbol error rate in advance, and outputting an error rate corresponding to the range determined by the determiner from among the calculated symbol error rates. A Reed-Solomon decoding device comprising: a rate output device.
【請求項12】 入力データの誤り訂正をリードソロモ
ン符号によって行うリードソロモン復号装置の制御方法
であって、 上記入力データからシンドロームを算出するシンドロー
ム計算ステップと、 上記シンドロームを用いて、誤り位置多項式および誤り
評価多項式を算出するユークリッド互除計算ステップ
と、 上記誤り位置多項式および誤り評価多項式から上記入力
データの誤っているバイトを示す誤り位置を算出する誤
り位置算出ステップと、 上記誤り位置多項式および誤り評価多項式を用いて、上
記誤り位置が示す誤ったバイトを構成するビットのう
ち、どのビットが誤っているかを示す誤りの大きさを算
出する誤りの大きさ算出ステップと、 上記誤り位置と上記誤りの大きさとを用いて入力データ
を訂正する誤り訂正ステップと、上記ユークリッド互除計算ステップで生成されるユーク
リッド処理エラーフラグと上記誤り位置算出ステップで
生成されるチェン検索エラーフラグとの論理和信号であ
る訂正不能示唆信号を受けて、該訂正不能示唆信号から
リードソロモン復号 処理エラーの有無を示すエラーフリ
ー示唆信号を生成し、上記誤り位置と上記誤りの大きさ
とから、ビット誤り率若しくはシンボル誤り率、また
は、入力データの総ビット数および誤りビット数若しく
は入力データの総シンボル数および誤りシンボル数を含
む、上記入力データの誤りの程度を示す信号を生成する
訂正状態監視ステップと、 を備えることを特徴とするリードソロモン復号装置の制
御方法。
12. A control method for a Reed-Solomon decoding device for performing error correction of input data by using a Reed-Solomon code, comprising: a syndrome calculating step of calculating a syndrome from the input data; and an error locator polynomial using the syndrome. An Euclidean mutual calculation step of calculating an error evaluation polynomial; an error position calculation step of calculating an error position indicating an error byte of the input data from the error position polynomial and the error evaluation polynomial; An error magnitude calculating step of calculating the magnitude of an error indicating which bit is erroneous among the bits constituting the erroneous byte indicated by the error location, and the error location and the magnitude of the error an error correcting step of correcting the input data using ri, Yuktobanian generated by serial Euclidean mutual division computation steps
The lid processing error flag and the error position calculation step
The logical sum signal with the generated Chien search error flag
Receiving the uncorrectable suggestion signal, and
Error free indicating whether there is a Reed-Solomon decoding error
-Generate a suggestion signal, and determine the bit error rate or symbol error rate,
Is the total number of bits of the input data and the number of error bits.
Contains the total number of input data symbols and the number of error symbols.
No method for controlling the Reed-Solomon decoding apparatus comprising: a, a correction state monitoring step of generating a signal indicating the degree of error in the input data.
【請求項13】 請求項12記載のリードソロモン復号
装置の制御方法において、 上記訂正状態監視ステップは、 上記誤りの大きさが示す誤ったビットの数をカウントす
る誤りビット数カウントステップと、 上記入力データの同期信号に合わせて出力される同期バ
イト示唆信号をカウントする同期信号カウントステップ
と、 上記同期信号カウントステップによって所定数の同期バ
イト示唆信号をカウントする間に、上記リードソロモン
復号装置に入力したデータのビットの総数、及び、上記
誤りビット数カウントステップによって数えられた誤っ
たビット数からビット誤り率を算出するビット誤り率計
算ステップと、を備え、 上記入力データの誤りの程度を示す信号は、上記ビット
誤り率を含むことを特徴とするリードソロモン復号装置
の制御方法。
13. The control method for a Reed-Solomon decoding device according to claim 12, wherein the correction state monitoring step includes: an error bit number counting step for counting the number of erroneous bits indicated by the error magnitude; A synchronization signal counting step of counting a synchronization byte suggestion signal output in accordance with a synchronization signal of data; and a counter input to the Reed-Solomon decoding device while counting a predetermined number of synchronization byte suggestion signals by the synchronization signal counting step. A bit error rate calculation step of calculating a bit error rate from the total number of data bits and the number of erroneous bits counted in the error bit number counting step, wherein the signal indicating the degree of error in the input data is , A Reed-Solomon decoding device comprising the bit error rate, Your way.
【請求項14】 請求項13記載のリードソロモン復号
装置の制御方法において、 上記ビット誤り率計算ステップは、 上記誤りビット数がとり得る値の範囲を予め複数設定
し、上記所定数の同期バイト示唆信号をカウントする間
に上記誤りビット数カウントステップによってカウント
される上記誤りビット数が、上記設定されたどの範囲に
属するかを判定する判定ステップと、 上記判定器に設定された範囲の各々から任意に選択され
た値と、上記入力データのビットの総数とから、ビット
誤り率を予め算出し、上記判定ステップによって範囲が
判定されると、該予め算出されたビット誤り率の中か
ら、該判定された範囲に該当するビット誤り率を出力す
る誤り率出力ステップと、 を備えることを特徴とするリードソロモン復号装置の制
御方法。
14. The control method for a Reed-Solomon decoding device according to claim 13, wherein the bit error rate calculating step sets a plurality of possible value ranges of the number of error bits in advance and suggests the predetermined number of synchronization bytes. A determining step of determining to which range the number of error bits counted by the number of error bits counting step during signal counting belongs to the set range; and The bit error rate is calculated in advance from the selected value and the total number of bits of the input data, and when the range is determined by the determination step, the bit error rate is determined from the bit error rates calculated in advance. An error rate output step of outputting a bit error rate corresponding to the set range, a control method of a Reed-Solomon decoding device, comprising: .
【請求項15】 請求項12から14のいずれかに記載
のリードソロモン復号装置の制御方法において、 上記訂正状態監視ステップは、 上記誤り位置が示す誤ったバイトの数をカウントする誤
りシンボル数カウントステップと、 上記入力データの同期信号に合わせて出力される同期バ
イト示唆信号を所定数カウントする間に、上記リードソ
ロモン復号装置に入力したデータのシンボルの総数、及
び、上記誤りシンボル数カウントステップによって数え
られた誤ったシンボル数からシンボル誤り率を算出する
シンボル誤り率計算ステップと、を備え、 上記入力データの誤りの程度を示す信号は、上記シンボ
ル誤り率を含むことを特徴とするリードソロモン復号装
置の制御方法。
15. The method for controlling a Reed-Solomon decoding device according to claim 12, wherein the correcting state monitoring step includes: an error symbol number counting step of counting the number of erroneous bytes indicated by the error position. While counting a predetermined number of synchronization byte indication signals output in accordance with the synchronization signal of the input data, the total number of data symbols input to the Reed-Solomon decoding device and the error symbol number counting step are counted. A symbol error rate calculation step of calculating a symbol error rate from the number of erroneous symbols obtained, wherein the signal indicating the degree of error in the input data includes the symbol error rate. Control method.
【請求項16】 請求項15記載のリードソロモン復号
装置の制御方法において、 上記シンボル誤り率計算ステップは、 上記誤りシンボル数がとり得る値の範囲を予め複数設定
し、上記所定数の同期バイト示唆信号をカウントする間
に上記誤りシンボル数カウントステップによってカウン
トされる上記誤りシンボル数が、上記設定されたどの範
囲に属するかを判定する判定ステップと、 上記判定ステップに設定された範囲の各々から任意に選
択された値と、上記入力データのシンボルの総数とか
ら、シンボル誤り率を予め算出し、上記判定器によって
範囲が判定されると、該予め算出されたシンボル誤り率
の中から、該判定された範囲に該当するシンボル誤り率
を出力する誤り率出力ステップと、 を備えることを特徴とするリードソロモン復号装置の制
御方法。
16. The control method for a Reed-Solomon decoding device according to claim 15, wherein the symbol error rate calculating step sets a plurality of ranges of values that the number of erroneous symbols can take in advance and suggests the predetermined number of synchronization bytes. A determining step of determining to which range the set number of erroneous symbols counted by the erroneous symbol number counting step during signal counting belongs; and any one of the ranges set in the determining step. And the total number of symbols of the input data, a symbol error rate is calculated in advance, and when the range is determined by the determiner, the symbol error rate is determined from the symbol error rates calculated in advance. An error rate output step of outputting a symbol error rate corresponding to the set range. Method of controlling the issue apparatus.
【請求項17】 入力データの誤り訂正をリードソロモ
ン符号によって行うリードソロモン復号装置を制御する
プログラムのコードを格納するコンピュータ可読の記憶
媒体であって、 上記プログラムのコードは、 上記入力データからシンドロームを算出するシンドロー
ム計算ステップのコードと、 上記シンドロームを用いて誤り位置多項式および誤り評
価多項式を算出するユークリッド互除計算ステップのコ
ードと、 上記誤り位置多項式および誤り評価多項式から上記入力
データの誤っているバイトを示す誤り位置を算出する誤
り位置算出ステップのコードと、 上記誤り位置が示す誤ったバイトを構成するビットのう
ち、どのビットが誤っているかを示す誤りの大きさを算
出する誤りの大きさ算出ステップのコードと、 上記誤り位置と上記誤りの大きさとを用いて入力データ
を訂正する誤り訂正ステップのコードと、上記ユークリッド互除計算ステップで生成されるユーク
リッド処理エラーフラグと上記誤り位置算出ステップで
生成されるチェン検索エラーフラグとの論理和信号であ
る訂正不能示唆信号を受けて、該訂正不能示唆信号から
リードソロモン復号 処理エラーの有無を示すエラーフリ
ー示唆信号を生成し、上記誤り位置と上記誤りの大きさ
とから、ビット誤り率若しくはシンボル誤り率、また
は、入力データの総ビット数および誤りビット数若しく
は入力データの総シンボル数および誤りシンボル数を含
む、上記入力データの誤りの程度を示す信号を生成する
訂正状態監視ステップのコードと、 を有することを特徴とする記憶媒体。
17. A computer-readable storage medium for storing a code of a program for controlling a Reed-Solomon decoding device that performs error correction of input data using a Reed-Solomon code, wherein the code of the program converts a syndrome from the input data. The code of the syndrome calculation step to be calculated, the code of the Euclidean mutual division calculation step of calculating the error location polynomial and the error evaluation polynomial using the syndrome, and the error byte of the input data from the error location polynomial and the error evaluation polynomial An error position calculating step of calculating an error position indicated by the code; and an error size calculating step of calculating an error size indicating which of the bits constituting the erroneous byte indicated by the error position indicates an error. And the error location and the above An error correction step code for correcting input data using the magnitude of the error, and a Euclidean algorithm generated in the Euclidean mutual calculation step.
The lid processing error flag and the error position calculation step
The logical sum signal with the generated Chien search error flag
Receiving the uncorrectable suggestion signal, and
Error free indicating whether there is a Reed-Solomon decoding error
-Generate a suggestion signal, and determine the bit error rate or symbol error rate,
Is the total number of bits of input data and the number of error bits.
Includes the total number of symbols in the input data and the number of error symbols.
No, storage medium characterized by having a code correction state monitoring step of generating a signal indicating the degree of error in the input data.
JP35208799A 1998-12-11 1999-12-10 Reed-Solomon decoding device and control method thereof Expired - Fee Related JP3290639B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP35208799A JP3290639B2 (en) 1998-12-11 1999-12-10 Reed-Solomon decoding device and control method thereof

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP35331998 1998-12-11
JP10-353319 1998-12-11
JP35208799A JP3290639B2 (en) 1998-12-11 1999-12-10 Reed-Solomon decoding device and control method thereof

Publications (2)

Publication Number Publication Date
JP2000232377A JP2000232377A (en) 2000-08-22
JP3290639B2 true JP3290639B2 (en) 2002-06-10

Family

ID=26579557

Family Applications (1)

Application Number Title Priority Date Filing Date
JP35208799A Expired - Fee Related JP3290639B2 (en) 1998-12-11 1999-12-10 Reed-Solomon decoding device and control method thereof

Country Status (1)

Country Link
JP (1) JP3290639B2 (en)

Also Published As

Publication number Publication date
JP2000232377A (en) 2000-08-22

Similar Documents

Publication Publication Date Title
US4809273A (en) Device for verifying operation of a checking code generator
EP0364475B1 (en) Multiple pass error correction process and apparatus for product codes
CN101366183B (en) Method and apparatus for error management
US8543888B2 (en) Programmable cyclic redundancy check CRC unit
EP0416081B1 (en) Programmable error correcting apparatus within a paging receiver
US5195093A (en) Method and apparatus for ensuring CRC error generation by a data communication station experiencing transmitter exceptions
CN114328316B (en) DMA controller, SOC system and data carrying method based on DMA controller
US5537421A (en) Single chip error processor
US4897839A (en) Coding and decoding method
US6553537B1 (en) Reed-Solomon decoding apparatus and control method therefor
US4592054A (en) Decoder with code error correcting function
JP2009534895A (en) CRC error detection apparatus and CRC error detection code calculation method
US7380197B1 (en) Circuit and method for error detection
EP0445730A2 (en) Error correction system capable of correcting an error in a packet header by the use of a Reed-Solomon code
JP3352659B2 (en) Decoding device and decoding method
JP3290639B2 (en) Reed-Solomon decoding device and control method thereof
US7516393B2 (en) System and method of error detection for unordered data delivery
US20050066258A1 (en) Error decoding circuit, data bus control method and data bus system
JP3217716B2 (en) Wireless packet communication device
US20040153945A1 (en) Error correction circuit employing cyclic code
JP3071482B2 (en) Error correction circuit of packet receiver
JPH1117557A (en) Error correction method and device therefor
KR100202945B1 (en) An apparatus for measuring bit error rate in a reed-solomon decoder
JP2599001B2 (en) Error correction processing circuit
JP3595271B2 (en) Error correction decoding method and apparatus

Legal Events

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

Free format text: PAYMENT UNTIL: 20080322

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20090322

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20100322

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20110322

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20110322

Year of fee payment: 9

LAPS Cancellation because of no payment of annual fees