JP3272317B2 - Error detection apparatus and method - Google Patents

Error detection apparatus and method

Info

Publication number
JP3272317B2
JP3272317B2 JP01346899A JP1346899A JP3272317B2 JP 3272317 B2 JP3272317 B2 JP 3272317B2 JP 01346899 A JP01346899 A JP 01346899A JP 1346899 A JP1346899 A JP 1346899A JP 3272317 B2 JP3272317 B2 JP 3272317B2
Authority
JP
Japan
Prior art keywords
error
edc
correction
block
syndrome
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
JP01346899A
Other languages
Japanese (ja)
Other versions
JP2000224049A (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.)
International Business Machines Corp
Original Assignee
International Business Machines Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by International Business Machines Corp filed Critical International Business Machines Corp
Priority to JP01346899A priority Critical patent/JP3272317B2/en
Priority to SG9906333A priority patent/SG88766A1/en
Priority to KR10-2000-0001683A priority patent/KR100397095B1/en
Publication of JP2000224049A publication Critical patent/JP2000224049A/en
Application granted granted Critical
Publication of JP3272317B2 publication Critical patent/JP3272317B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Classifications

    • EFIXED CONSTRUCTIONS
    • E02HYDRAULIC ENGINEERING; FOUNDATIONS; SOIL SHIFTING
    • E02FDREDGING; SOIL-SHIFTING
    • E02F3/00Dredgers; Soil-shifting machines
    • E02F3/04Dredgers; Soil-shifting machines mechanically-driven
    • E02F3/28Dredgers; Soil-shifting machines mechanically-driven with digging tools mounted on a dipper- or bucket-arm, i.e. there is either one arm or a pair of arms, e.g. dippers, buckets
    • E02F3/36Component parts
    • E02F3/40Dippers; Buckets ; Grab devices, e.g. manufacturing processes for buckets, form, geometry or material of buckets
    • E02F3/402Dippers; Buckets ; Grab devices, e.g. manufacturing processes for buckets, form, geometry or material of buckets with means for facilitating the loading thereof, e.g. conveyors
    • E02F3/404Dippers; Buckets ; Grab devices, e.g. manufacturing processes for buckets, form, geometry or material of buckets with means for facilitating the loading thereof, e.g. conveyors comprising two parts movable relative to each other, e.g. for gripping

Landscapes

  • Engineering & Computer Science (AREA)
  • Mechanical Engineering (AREA)
  • Mining & Mineral Resources (AREA)
  • Civil Engineering (AREA)
  • General Engineering & Computer Science (AREA)
  • Structural Engineering (AREA)
  • Error Detection And Correction (AREA)
  • Detection And Correction Of Errors (AREA)

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、DVD等の記録媒体か
らデータを再生するために用いられる誤り検出装置およ
びその方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an error detecting apparatus and a method for reproducing data from a recording medium such as a DVD.

【0002】[0002]

【従来の技術】例えば、DVDにおいては、データは、
誤り訂正符号(ECC)を付加されて記録され、DVD
から読み出したデータは、ECCブロックと呼ばれる単
位ごとに誤り訂正処理される。例えば、特開平7−23
0388号公報、特開平5−315974号公報および
特開平7−50595号公報は、記録媒体等から得られ
たデータに対して、誤り訂正を行う装置・方法を開示す
る。
2. Description of the Related Art For example, in a DVD, data is
Recorded with error correction code (ECC) added, DVD
The data read from is subjected to error correction processing in units called ECC blocks. For example, JP-A-7-23
Japanese Patent Application Laid-Open Nos. 0388, 5-315974 and 7-50595 disclose devices and methods for performing error correction on data obtained from a recording medium or the like.

【0003】例えば、DVDからデータを読み出す場
合、バーストエラーに関して規格化されている誤り訂正
能力を実現するためには、データに付加された誤り訂正
符号を、その能力の限界まで用いて誤り訂正処理を行わ
なければならない。誤り訂正符号を、能力の限界まで用
いて誤り訂正処理を行うと、誤訂正の発生確率が高くな
るので、誤訂正の発生を検出する必要がある。
For example, when reading data from a DVD, in order to realize an error correction capability standardized with respect to a burst error, an error correction code added to data is used up to the limit of the error correction process. Must be done. If the error correction process is performed using the error correction code up to the limit of the capability, the probability of the occurrence of the erroneous correction increases. Therefore, it is necessary to detect the occurrence of the erroneous correction.

【0004】この誤訂正の検出のためには、EDCと呼
ばれる方法が用いられる。このEDCの処理は、従来、
誤り訂正処理が完了した後に、ECCブロックをバッフ
ァから読み出して、スクランブルの解除、EDCの値の
計算、読み込まれたEDCと計算されたEDCとの値の
比較、および、誤訂正の判定という手順で行われてき
た。この手順でEDC処理を行うと、ECCブロックを
バッファから読み出さなければならない等、処理のオー
バーヘッドが大きく、処理時間が長くなってしまう。
[0004] To detect this erroneous correction, a method called EDC is used. This EDC process is conventionally
After the error correction processing is completed, the ECC block is read out from the buffer, descrambled, the EDC value is calculated, the value of the read EDC is compared with the calculated EDC, and the error correction is determined. Has been done. If the EDC processing is performed in this procedure, the processing overhead is large, for example, the ECC block must be read from the buffer, and the processing time becomes long.

【0005】[0005]

【発明が解決しようとする課題】本発明は、上述した従
来技術の問題点に鑑みてなされたものであり、処理にお
けるオーバーヘッドが少なく、短い処理時間で誤訂正を
検出し、誤り訂正を行うことができる誤り検出装置およ
びその方法を提供することを目的とする。
SUMMARY OF THE INVENTION The present invention has been made in view of the above-mentioned problems of the prior art, and has an object to perform error correction by detecting an erroneous correction in a short processing time with a small processing overhead. It is an object of the present invention to provide an error detection device and a method therefor.

【0006】[0006]

【課題を達成するための手段】[誤り検出装置]上記目
的を達成するために、本発明にかかる誤り検出装置は、
誤り訂正の対象となるECCブロックに生じた誤りを検
出する誤り検出装置であって、前記ECCブロックは、
それぞれ誤り検出符号(EDC)が付加された1つ以上
のEDCブロックに対して、誤り訂正符号(ECC)が
付加されることにより生成され、前記ECCブロックに
含まれ、それぞれ前記ECCを含むデータ系列それぞれ
に対して、データ系列それぞれに含まれる前記ECCを
用いて誤りの値を算出する誤り値算出手段と、前記デー
タ系列の誤りの値が算出されるたびに、算出された誤り
の値に応じて前記EDCのシンドロームの値を修正する
EDCシンドローム修正手段と、修正された前記EDC
のシンドロームに基づいて、前記EDCブロックにおけ
る誤の発生を検出する誤り検出手段とを有する。
[Means for Achieving the Object] [Error Detecting Apparatus] To achieve the above object, an error detecting apparatus according to the present invention comprises:
An error detection device for detecting an error occurring in an ECC block to be corrected, wherein the ECC block comprises:
A data sequence that is generated by adding an error correction code (ECC) to one or more EDC blocks to which an error detection code (EDC) is added, is included in the ECC block, and includes a data sequence including the ECC, respectively. Error value calculating means for calculating an error value using the ECC included in each of the data sequences for each of the data sequences, each time the error value of the data sequence is calculated, according to the calculated error value; EDC syndrome correcting means for correcting the value of the syndrome of the EDC by using the modified EDC
Error detecting means for detecting the occurrence of an error in the EDC block based on the syndrome (1).

【0007】好適には、前記EDCブロックは、1つ以
上の行と1つ以上の列から構成され、前記誤り訂正符号
は、前記EDCブロックの行または列それぞれに対して
付加され、前記データ系列は、それぞれ前記EDCブロ
ックの1行または1列、および、およびこのEDCブロ
ックの1行または1列に対して付加されたECCとを含
み、前記誤り値算出手段は、前記データ系列を1つずつ
処理して誤りの値を算出し、前記EDCシンドローム修
正手段は、所定のEDCシンドロームの初期値を、前記
誤りの値が算出されるたびに、順次、修正し、前記誤り
検出手段は、1つの前記EDCブロックに対応するデー
タ系列に対する誤りの値の算出が終わるたびに、前記修
正されたEDCシンドロームに基づいて、当該EDCブ
ロックにおける誤りの発生を検出する。
Preferably, the EDC block is composed of one or more rows and one or more columns, and the error correction code is added to each of the rows or columns of the EDC block, Includes one row or one column of the EDC block, and an ECC added to one row or one column of the EDC block, respectively, and the error value calculating unit converts the data sequence one by one. The EDC syndrome correction means sequentially corrects the initial value of the predetermined EDC syndrome every time the error value is calculated, and the error detection means calculates one error value. Each time the calculation of the error value for the data sequence corresponding to the EDC block is completed, the error in the EDC block is determined based on the corrected EDC syndrome. To detect the occurrence.

【0008】好適には、前記EDCシンドローム修正手
段は、前記データ系列それぞれの一定の位置に一定の誤
りが生じている場合のEDCシンドロームを前記初期値
とし、算出された前記誤りの値に応じて、前記初期値を
順次、修正する。
Preferably, the EDC syndrome correcting means sets an EDC syndrome when a certain error occurs at a certain position of each of the data series as the initial value, and according to the calculated error value. , Are sequentially corrected.

【0009】好適には、前記EDCブロックそれぞれの
EDCを算出するEDC算出手段を有し、前記誤り検出
手段は、1つの前記EDCブロックに対応するデータ系
列に対する誤りの値の算出が終了するたびに、前記算出
されたEDCと、修正された前記EDCシンドロームと
を比較して、当該EDCブロックにおける誤りの発生を
検出する。
Preferably, the apparatus further comprises EDC calculating means for calculating EDC of each of the EDC blocks, wherein the error detecting means is provided each time calculation of an error value for a data sequence corresponding to one of the EDC blocks is completed. , And compares the calculated EDC with the corrected EDC syndrome to detect the occurrence of an error in the EDC block.

【0010】[誤り訂正装置の作用]本発明にかかる誤
り訂正装置は、例えば、DVDに記録されるデータブロ
ックのように、まず、誤り検出に用いられるEDCが付
加された複数のEDCブロックに対して、さらに、2種
類のパリティPI,PO(積符号;ECC)を付加した
ECCブロックに対する誤り検出に用いられる。以下、
EDCが、EDCブロックの所定の位置に、パリティP
Iと同じ行方向に付加される場合を例として説明する。
[Effects of Error Correction Device] The error correction device according to the present invention firstly applies to a plurality of EDC blocks to which EDC used for error detection is added, such as a data block recorded on a DVD. Further, it is used for error detection for an ECC block to which two types of parity PI and PO (product code; ECC) are added. Less than,
The EDC stores the parity P in a predetermined position of the EDC block.
A case in which they are added in the same row direction as I will be described as an example.

【0011】[誤り値算出手段]誤り値算出手段は、E
CCブロックから、EDC1行分と、この行に付加され
たパリティPIとを含むデータ系列を、順次、取り出
し、取り出したデータ系列それぞれに対して、パリティ
PI用いて、EDCブロック1行分に対して誤りの検出
処理および誤りの大きさ(誤り値)の算出処理を行う。
[Error Value Calculating Means]
From the CC block, a data sequence including one row of EDC and a parity PI added to this row are sequentially extracted, and for each of the extracted data series, a parity PI is used to obtain one row of EDC block. An error detection process and an error magnitude (error value) calculation process are performed.

【0012】[EDCシンドローム修正手段]EDCシ
ンドローム修正手段は、まず、EDCブロックの各行の
一定の位置に一定の大きさの誤りが生じている場合のE
DCシンドロームを初期値に設定する。さらに、EDC
シンドローム修正手段は、誤り値算出手段が、データ系
列それぞれの誤りの値を計算するたびに、誤りの値に応
じて、上記初期値を順次、修正する。
[EDC Syndrome Correction Means] The EDC syndrome correction means first performs EDC syndrome correction when a certain size error occurs at a certain position in each row of the EDC block.
Set DC syndrome to initial value. In addition, EDC
Each time the error value calculation means calculates the error value of each data sequence, the syndrome correction means sequentially corrects the initial value according to the error value.

【0013】[EDC算出手段]EDC算出手段は、E
DCブロック全体のEDCシンドロームを算出する。
[EDC calculation means] The EDC calculation means
Calculate the EDC syndrome of the entire DC block.

【0014】[誤り検出手段]誤り検出手段は、誤り値
検出手段が、EDCブロックに含まれる全ての行につい
て、誤り検出処理および誤りの大きさの算出処理を終了
すると、EDC算出手段が算出したEDCシンドローム
と、EDCシンドローム修正手段が修正したEDCシン
ドロームとを比較し、一致していない場合に誤りを検出
する。この誤り検出は、誤り訂正処理に用いられる。
[Error Detecting Means] When the error value detecting means completes the error detecting processing and the error magnitude calculating processing for all the rows included in the EDC block, the EDC calculating means calculates the error. The EDC syndrome is compared with the EDC syndrome corrected by the EDC syndrome correction unit, and an error is detected if they do not match. This error detection is used for error correction processing.

【0015】[データ誤り検出方法]誤り訂正の対象と
なるECCブロックに生じた誤りを検出する誤り検出方
法であって、前記ECCブロックは、それぞれ誤り検出
符号(EDC)が付加された1つ以上のEDCブロック
に対して、誤り訂正符号(ECC)が付加されることに
より生成され、前記ECCブロックに含まれ、それぞれ
前記ECCを含むデータ系列それぞれに対して、データ
系列それぞれに含まれる前記ECCを用いて誤りの値を
算出し、前記データ系列の誤りの値が算出されるたび
に、算出された誤りの値に応じて前記EDCのシンドロ
ームの値を修正し、修正された前記EDCのシンドロー
ムに基づいて、前記EDCブロックにおける誤の発生を
検出する。
[Data Error Detection Method] An error detection method for detecting an error occurring in an ECC block to be corrected, wherein each of the ECC blocks includes one or more error detection codes (EDC). The ECC block is generated by adding an error correction code (ECC) to the EDC block and included in the ECC block. For each data sequence including the ECC, the ECC included in the data sequence is represented by Calculating an error value using the EDC, and each time an error value of the data series is calculated, correcting the value of the syndrome of the EDC according to the calculated value of the error. Based on this, the occurrence of an error in the EDC block is detected.

【0016】[0016]

【発明の実施の形態】以下、本発明の実施形態を説明す
る。まず、本発明にかかる誤り訂正装置1の理解を容易
にするために、ECCブロック、符号化、誤りが存在す
るか否か(誤りの存在性)の判断、誤り位置、誤り位置
方程式およびチェーンサーチ(Chien Search)等の事項に
ついて説明する。
Embodiments of the present invention will be described below. First, in order to facilitate understanding of the error correction apparatus 1 according to the present invention, an ECC block, coding, determination of whether an error exists (error existence), an error position, an error position equation, and a chain search. (Chien Search) and other items will be described.

【0017】[ECCブロック]図1は、DVDに記録
されるデータを生成する処理(S10)を示す図であ
る。図2は、図1に示したデータユニット1(EDCブ
ロック)を示す図である。図3は、図1に示したECC
ブロックを示す図である。
[ECC Block] FIG. 1 is a diagram showing a process (S10) for generating data to be recorded on a DVD. FIG. 2 is a diagram showing the data unit 1 (EDC block) shown in FIG. FIG. 3 shows the ECC shown in FIG.
It is a figure showing a block.

【0018】図1に示すように、ホストシステムから2
048バイトのメインデータが入力され、DVDコント
ローラから、それぞれ4バイト、2バイトおよび6バイ
トのID/IED(パリティ)/REV(リザーブエリ
ア)が入力されると、ステップ200(S200)の処
理において、メインデータのIDエリアに、ID/IE
D/REVが付加される。
As shown in FIG.
When 048-byte main data is input, and 4-byte, 2-byte, and 6-byte ID / IED (parity) / REV (reserved area) are input from the DVD controller, in the process of step 200 (S200), ID / IE in the ID area of the main data
D / REV is added.

【0019】さらに、ステップ202(S202)にお
いて、EDCが付加され、さらに、図2に示すように、
172バイト×12行(12行×172列)構成のデー
タユニット1とされる。この行および列は説明の便宜を
図るための区別であって、本発明に対して本質的な意味
を有さないが、説明の明確化のために、以下、行および
列を図2および図3に示すように区別する。
Further, in step 202 (S202), EDC is added, and as shown in FIG.
The data unit 1 has a structure of 172 bytes × 12 rows (12 rows × 172 columns). These rows and columns are for the sake of convenience of description and have no essential meaning to the present invention. However, for clarity of description, the rows and columns will be described below with reference to FIGS. Distinguish as shown in FIG.

【0020】以下、図2に示したデータユニット1をE
DCブロックと呼ぶ。図2に示すように、EDCブロッ
クは、それぞれ172バイトの行を12個含み、第1行
には4バイトのEDCを含み、第1行〜第12行に20
48バイト(#0〜#2047)のメインデータを含
み、第12行にはデータID/IED/RSVを含む。
The data unit 1 shown in FIG.
Called DC block. As shown in FIG. 2, the EDC block includes 12 rows each having 172 bytes, the first row includes EDC of 4 bytes, and the first to twelfth rows include 20 rows.
It contains 48 bytes (# 0 to # 2047) of main data, and the twelfth row contains data ID / IED / RSV.

【0021】ステップ204(S204)において、E
DCブロックは、疑似乱数系列と排他的論理和を取るク
ランブル処理がなされる。ステップ206(S206)
において、スクランブル処理されたEDCブロックが1
6個集められ、これら16個のデータユニット1の列方
向、つまり、12列×16バイト=192バイトそれぞ
れに、16バイトのP0パリティ(外符号)が付加され
る。
In step 204 (S204), E
The DC block is subjected to a scramble process for taking an exclusive OR with the pseudo-random number sequence. Step 206 (S206)
, The scrambled EDC block is 1
Six pieces are collected, and a 16-byte P0 parity (outer code) is added to each of the 16 data units 1 in the column direction, that is, 12 columns × 16 bytes = 192 bytes.

【0022】さらに、これまでの処理により得られた1
72バイト×(192+16)行構成のデータブロック
(16個のEDCブロックおよびP0パリティ)に、こ
のデータブロックの行方向に10バイトのP1パリティ
(内符号)が付加される。このように、EDCブロック
に付加されるP0,P1パリティは、積符号とも呼ばれ
る。
Further, the 1 obtained by the above processing is
A 10-byte P1 parity (inner code) is added to a data block (16 EDC blocks and P0 parity) having a structure of 72 bytes × (192 + 16) rows in the row direction of the data block. As described above, the P0 and P1 parities added to the EDC block are also called product codes.

【0023】以上のように182バイト×13行に拡張
されたEDCブロックはセクタとも呼ばれ、16セクタ
が、図3に示す(172+10)バイト×(192+1
6)行構成のECCブロックを構成し、このECCブロ
ックが、DVDに対する記録・再生の最小単位とされ
る。
The EDC block extended to 182 bytes × 13 rows as described above is also called a sector, and 16 sectors are (172 + 10) bytes × (192 + 1) shown in FIG.
6) An ECC block having a row configuration is configured, and this ECC block is a minimum unit for recording / reproducing on a DVD.

【0024】[符号化処理]EDCブロックに対してパ
リティPO,PIを付加する符号化処理をさらに説明す
る。DVDでは、ガロア体GF(28)上で定義される
リードソロモン符号が誤り訂正符号として用いられる。
このリードソロモン符号では、データ系列を、8ビット
(1バイト)ずつシンボルに区切って、このシンボルに
対して所定の計算手続きを行うことによりパリティを生
成し、このパリティをデータ系列に付加する。パリティ
を付加されたデータ系列は、符号語と呼ばれる。
[Encoding process] The encoding process for adding the parity PO and PI to the EDC block will be further described. In a DVD, a Reed-Solomon code defined on a Galois field GF (2 8 ) is used as an error correction code.
In the Reed-Solomon code, a data sequence is divided into symbols by 8 bits (1 byte), and a predetermined calculation procedure is performed on the symbols to generate a parity, and the parity is added to the data sequence. The data sequence to which parity is added is called a codeword.

【0025】この計算手続きは、多項式の除算として実
現され、例えば、8ビットデータ""00000010を
原始根αとすると、PI,POそれぞれで用いられる1
0次・16次の除多項式は、下式1−1,1ー2で表わ
され、符号の生成多項式とも呼ばれる。データ系列に対
してX10を乗算し、下式1−1に示す生成多項式で除算
して得られる余りがパリティPIとなり、データ系列に
対してX16を乗算し、下式1−2に示す生成多項式で除
算して得られる余りがパリティPOとなる。
This calculation procedure is realized as division of a polynomial. For example, if 8-bit data "" 00000010 is a primitive root α, 1 is used for each of PI and PO.
The zeroth and sixteenth order polynomials are represented by the following equations 1-1 and 1-2, and are also called code generation polynomials. The X 10 and multiplied by the data sequence, the remainder obtained by dividing the generator polynomial shown in the following formula 1-1 multiplied by X 16 against the parity PI, and the data sequence, represented by the following formulas 1-2 The remainder obtained by dividing by the generator polynomial is the parity PO.

【0026】[0026]

【数1】 PI:(x−α0)・(x−α1)・・・(x−α9) (1−1) PO:(x−α0)・(x−α1)・・・(x−α15) (1−2)[Number 1] PI: (x-α 0) · (x-α 1) ··· (x-α 9) (1-1) PO: (x-α 0) · (x-α 1) ··・ (X-α 15 ) (1-2)

【0027】[誤り検出]ここまで説明した符号化処理
から明らかなように、符号語(ECCブロック)におい
ては、除算の残りがパリティとしてECCブロックに付
加されている。ガロア体GF(256)上では、加算と
減算(XOR)とは同じなので、除算の余りの付加は、
余りをデータ系列から減算したことに等しく、符号語を
除多項式(式1−1,1−2)で除算すると割り切れ、
余りはでない。
[Error Detection] As is clear from the encoding processing described so far, in the code word (ECC block), the remainder of the division is added to the ECC block as parity. On the Galois field GF (256), addition and subtraction (XOR) are the same, so the addition of the remainder of division is
Equivalent to subtracting the remainder from the data sequence, dividing the codeword by the divisor polynomial (Equation 1-1, 1-2) is divisible,
Not too much.

【0028】従って、符号語を除多項式で割り切れない
場合には、符号語にノイズ等に起因する誤りが生じてい
ると判定することができ、符号語を除多項式で割り切れ
るか否かが、符号語における誤りの存在性を検証するた
めの十分条件となる。
Therefore, if the code word cannot be divided by the polynomial, it can be determined that an error due to noise or the like has occurred in the code word, and whether or not the code word can be divided by the polynomial is determined. This is a sufficient condition to verify the existence of an error in a word.

【0029】[シンドローム]実際には、誤りの存在性
の検証(誤り検出)だけではなく、後述する誤り訂正で
必要となる計算値を得るために、生成多項式で割り切れ
ることを検査するのと同等な、シンドロームと呼ばれる
計算値が計算される。
[Syndrome] In practice, it is equivalent to not only verifying the existence of an error (error detection) but also checking that it is divisible by a generator polynomial in order to obtain a calculation value required for error correction described later. A calculated value called a syndrome is calculated.

【0030】シンドロームは、生成多項式の根を符号語
Fに代入して得られる値であって、符号語FがPIの生
成多項式で割り切れるということ(F(α0)=F
(α1)=・・・・=F(α9)=0)は、符号語Fに誤
りがないことと等価である。また、符号語FがPOの生
成多項式で割り切れるということ(F(α0)=F
(α1)=・・・・=F(α15)=0)は、符号語Fに
誤りがないことと等価である。
The syndrome is a value obtained by substituting the root of the generator polynomial into the code word F, and the code word F is divisible by the generator polynomial of PI (F (α 0 ) = F
1 ) =... = F (α 9 ) = 0) is equivalent to the codeword F having no error. Also, that the code word F is divisible by the generator polynomial of PO (F (α 0 ) = F
1 ) =... = F (α 15 ) = 0) is equivalent to the codeword F having no error.

【0031】[誤り位置]ここで、誤り位置とは、図3
に示したECCブロックにおいて、パリティPIの最後
のシンボルを0として、パリティPIから離れた位置の
シンボル(バイト)であればあるほど値が大きくなるよ
うにカウントされる値であり、誤りが生じているシンボ
ルの位置を示す。なお、誤りの大きさとは、シンボルが
誤っている場合に、誤ったシンボルの値と正しいシンボ
ルの値とを排他的論理和演算(XOR、差分とも記す)
した結果により表わされ、例えば、位置nに誤りが生じ
ており(誤り位置=n)、位置nの誤ったシンボルの値
が"01011010"であり、正しいシンボルの値が"
10100101"である場合には、誤りの大きさは"1
1111111"である。
[Error Location] Here, the error location is defined as shown in FIG.
In the ECC block shown in (1), the last symbol of the parity PI is set to 0, and the symbol (byte) at a position farther from the parity PI is counted so that the value increases, and an error occurs. Indicates the position of the symbol. The magnitude of the error is an exclusive OR operation (XOR, also referred to as a difference) between the value of the erroneous symbol and the value of the correct symbol when the symbol is incorrect.
For example, an error occurs at the position n (error position = n), the value of the erroneous symbol at the position n is “01011010”, and the value of the correct symbol is “
10100101 ", the magnitude of the error is" 1 ".
1111111 ".

【0032】[誤り位置方程式およびその定義域]上述
したシンドロームを用いると、所定の計算手続きによ
り、誤り位置の情報を含んだ方程式を導出することがで
きる。この多項式は、誤り位置多項式(ErrorLocator Po
lynomial)と呼ばれ、下式2のように定義される。
[Error position equation and its domain] Using the above-described syndrome, an equation including error position information can be derived by a predetermined calculation procedure. This polynomial is an error locator polynomial (ErrorLocator Po
lynomial), and is defined as in Equation 2 below.

【0033】[0033]

【数2】 (1−αm1x)・(1−αm2x)・・・(1−αmkx)
=1+P1x+P22+・・・+Pkk (2) ただし、m1〜mkは誤り位置、αは原始根である。
(1−α m1 x) · (1−α m2 x) (1−α mk x)
= 1 + P 1 x + P 2 X 2 + ··· + P k X k (2) However, m 1 ~m k is the error position, alpha is a primitive root.

【0034】ただし、実際には、式2の相反の下式3−
1に示す方程式が用いられることが多く、式3−1から
得られる下式3−2が誤り位置方程式として用いられ
る。
However, actually, the following equation 3
Equation 1 is often used, and the following equation 3-2 obtained from equation 3-1 is used as the error location equation.

【0035】[0035]

【数3】 (z−αm1)・(z−αm2)・・・(z−αmk) =zk+P1・zk-1+・・・+Pk (3−1) zk+P1・zk-1+・・・+Pk=0 (3−2)(Z−α m1 ) · (z−α m2 ) ··· (z−α mk ) = z k + P 1 · z k−1 +... + P k (3-1) z k + P 1 · z k-1 + ... + P k = 0 (3-2)

【0036】誤り位置方程式か可解である場合には、そ
の根αm1,αm2,・・・αmkが得られ、これらの根の対
数値を求めることにより誤り位置m1〜mkを求めること
ができる。誤り位置方程式の根は8ビットのシンボルと
して得られ、その対数値は0〜254の範囲内の値にな
る。一方、パリティPI,POはそれぞれ0〜181
(182−1),0〜207(208−1)の範囲内に
なるので、パリティPI,POの誤り方程式の定義域
は、それぞれα0〜α181,α0〜α207となる。
[0036] If it is solvable or error position equation, the roots α m1, α m2, ··· α mk is obtained, an error position m 1 ~m k by calculating the logarithm of these roots You can ask. The root of the error location equation is obtained as an 8-bit symbol, and its logarithmic value is a value in the range of 0 to 254. On the other hand, the parities PI and PO are 0 to 181 respectively.
(182-1), 0-207 (208-1), the domains of the error equations of the parity PI, PO are α 0 to α 181 and α 0 to α 207 , respectively.

【0037】[チェーンサーチ(Chien Search)法]図4
は、チェーンサーチ法を示す図である。多くの誤りを含
む符号語の訂正には、チェーンサーチと呼ばれる方法を
用いるのが一般的である。チェーンサーチ法は、誤り位
置方程式の定義域の要素を方程式に逐次代入して、代入
の結果として得られた値が0になるか否かを調べること
により、誤り位置方程式を解いてゆく。
[Chain Search Method] FIG. 4
FIG. 3 is a diagram showing a chain search method. In general, a method called a chain search is used to correct a codeword containing many errors. The chain search method solves the error location equation by sequentially substituting elements in the domain of the error location equation into the equation and checking whether or not the value obtained as a result of the substitution becomes zero.

【0038】[本発明におけるチェーンサーチの方向]
誤り位置方程式に代入する値は、数値1(原始根αの0
乗)を初期値として、代入値に原始根αを順次、乗算す
ることにより求められるので、図4に示すように、従来
の方法によるチェーンサーチは、パリティの末尾からデ
ータの先頭方向に向かって行われるのが普通である。こ
れに対し、本発明にかかる誤り訂正装置1においては、
チェーンサーチは、図4に示すように、データの先頭か
らパリティの末尾に向かって行われ、また、誤り多項式
に代入する値が、初期値をα181またはα207として、原
始根αを順次、除算することにより求められことが特徴
となっている。
[Direction of Chain Search in the Present Invention]
The value to be substituted into the error location equation is a numerical value 1 (0 of the primitive root α).
4) as an initial value, the obtained value is obtained by sequentially multiplying the substitution value by the primitive root α. Therefore, as shown in FIG. It is usually done. On the other hand, in the error correction device 1 according to the present invention,
As shown in FIG. 4, the chain search is performed from the beginning of the data to the end of the parity, and the value to be substituted into the error polynomial is, assuming that the initial value is α 181 or α 207 and the primitive root α is It is characterized by being obtained by division.

【0039】[シンドロームと修正差分]例えば、下式
4に示すように、符号語cn,cn-1,・・・,c0に、
3つの誤りem1〜em3が加わり、受信語dn,dn-1
・・・,d0が受信された場合を考える。
[0039] [syndrome and fix Differential example, as shown in the following equation 4, the codeword c n, c n-1, ···, to c 0,
Joined by three errors e m1 to e m3, received word d n, d n-1,
.., D 0 are received.

【0040】[0040]

【数4】 cn,cn-1・・cm1 ,・cm2,・cm3,・・,c0 +0 ,・・・0 ・・em1,・em2, em3,・・, 0 =dn,dn-1,・dm1,・dm2,・dm3,・・,d0 (4)[Number 4] c n, c n-1 ·· c m1, · c m2, · c m3, ··, c 0 +0, ··· 0 ·· e m1, · e m2, e m3, ··, 0 = d n, d n- 1, · d m1, · d m2, · d m3, ··, d 0 (4)

【0041】ここで、D(x)=dnn+dn-1n-1
・・・+d0、C(x)=cnn+cn-1n-1+・・・
+c0とすると、シンドロームS0〜Skは、下式5の通
りとなる。
Here, D (x) = d n x n + d n-1 x n-1 +
.. + D 0 , C (x) = c n x n + c n-1 x n-1 +.
Assuming + c 0 , the syndromes S 0 to S k are represented by the following Expression 5.

【0042】[0042]

【数5】 S0=D(α0)=Σdi=Σci+em1+em2+em30=D(α1)=Σdiαi =Σciαi +em1αm1+em2αm2+em3αm3 ・ ・ Sk=D(α1)=Σdiαk =Σciαk +em1αkm1+em2αkm2+em3αkm3 ただし、i=1〜n (5)Equation 5] S 0 = D (α 0) = Σd i = Σc i + e m1 + e m2 + e m3 S 0 = D (α 1) = Σd i α i = Σc i α i + e m1 α m1 + e m2 α m2 + e m3 α m3 · · S k = D (α 1) = Σd i α k = Σc i α k + e m1 α km1 + e m2 α km2 + e m3 α km3 However, i = 1~n (5)

【0043】ここで、符号語の定義より、式5におい
て、Σci〜Σciαkの値は0になるので、シンドロー
ムS0〜Skの値は、下式6に示す通りになる。
Here, according to the definition of the code word, in Equation 5, the values of Σc i to Σc i α k are 0, and the values of the syndromes S 0 to S k are as shown in the following Equation 6.

【0044】[0044]

【数6】 S0=em1+em2+em30=em1αm1+em2αm2+em3αm3 ・ ・ Sk=em1αkm1+em2αkm2+em3αkm3 (6)S 0 = e m1 + e m2 + e m3 S 0 = e m1 α m1 + e m2 α m2 + e m3 α m3 ... S k = e m1 α km1 + e m2 α km2 + e m3 α km3 (6)

【0045】複合処理の過程において、誤り位置および
誤りの大きさが1組ずつ見つかるごとに、その誤り位置
にのみ、値が誤りの大きさのシンボルを含み、残りのシ
ンボルが0であるようなデータ系列(0,0,・・・,
m,・・・0)に対するシンドロームを修正差分と定
義すると、各修正差分S0’,S1’,・・・,Sk
は、下式7−1〜7−kの通りとなり、シンドロームは
全修正差分の和と一致する(Si=ΣSi mj、ただし、こ
のΣはjに関する総和を示す)。
In the course of the complex processing, every time one set of error position and error size is found, only the error position includes a symbol whose value is error size, and the remaining symbols are 0. Data series (0, 0, ...,
e m, Defining and modifying the difference of syndromes for ... 0), the corrected difference S 0 ', S 1', ···, S k '
It is becomes as the following formula 7-1 to 7-k, (illustrated S i = ΣS i mj, however, the sum for this Σ is j) syndrome coincides with the sum of all modifications difference.

【0046】[0046]

【数7】 S0 m1’=em11 m1’=em1αm1 ・ Sk m1’=em1αkm1 (7−1) S0 m2’=em21 m2’=em2αm2 ・ Sk m2’=em2αkm2 (7−2) ・ ・ S0 mk’=emk1 mk’=emkαmk ・ Sk mk’=emkαkmk (7−k)[Equation 7] S 0 m1 '= e m1 S 1 m1' = e m1 α m1 · S k m1 '= e m1 α km1 (7-1) S 0 m2' = e m2 S 1 m2 '= e m2 α m2 · S k m2 '= e m2 α km2 (7-2) · · S 0 mk' = e mk S 1 mk '= e mk α mk · S k mk' = e mk α kmk (7-k)

【0047】[EDCと修正差分]上述したシンドロー
ムに対する修正差分と同様に、EDCに対する修正差分
を定義することができる。ただし、パリティPOを用い
た誤り処理の際には、チェーンサーチにおける評価対象
の位置が、EDCを定義する符号系列上で離散的になる
ので、EDCの修正差分を求めることは難しい。
[EDC and Correction Difference] In the same manner as the above-described correction difference for syndrome, a correction difference for EDC can be defined. However, at the time of error processing using the parity PO, the position to be evaluated in the chain search is discrete on the code sequence defining the EDC, and thus it is difficult to find the EDC correction difference.

【0048】[本発明におけるEDCに対する修正差分
(標準修正差分)]これに対し、本発明におけるEDC
に対する修正差分(以下、EDC修正差分とも記す)の
算出は、評価の対象となっているEDCの定義域におけ
る大きさ00000001(01h)であって、他のE
DCの定義域における誤りの大きさが0となる誤りに対
するEDCの値(標準修正差分)を導出し、その値を誤
りの大きさの分だけ乗算することにより、修正差分を算
出する。
[Modification Difference to EDC in the Present Invention (Standard Correction Difference)]
Of the correction difference (hereinafter, also referred to as EDC correction difference) is calculated to have a size of 00000001 (01h) in the domain of the EDC to be evaluated,
An EDC value (standard correction difference) for an error having an error magnitude of 0 in the DC domain is derived, and the value is multiplied by the error magnitude to calculate a correction difference.

【0049】ここで、セクタNの行0〜11(図2参
照)の内、行1にのみ誤り大きさeの誤りが生じている
場合を具体例として、本発明におけるEDC修正差分算
出方法を説明する。本発明にかかるEDC修正差分算出
においては、評価対象が行0の場合には、行0には誤り
が生じていないので、セクタNとセクタN−1との境界
で、セクタN−1のEDC修正差分をセーブし、セクタ
Nの修正差分をロードする。
The EDC correction difference calculation method according to the present invention will now be described with a specific example in which an error having an error size e occurs only in row 1 among rows 0 to 11 (see FIG. 2) of sector N. explain. In the EDC correction difference calculation according to the present invention, when the evaluation target is row 0, since no error has occurred in row 0, the EDC of sector N-1 is determined at the boundary between sector N and sector N-1. Save the modified difference and load the modified difference for sector N.

【0050】評価対象が行1に移ると、行1には誤りが
生じているので、EDCの標準修正差分#1と、誤りの
大きさeとから修正差分を算出し、得られた値を修正差
分計算用ワークレジスタ(このレジスタは、以下の説明
と必ずしも対応しない)に加算する。評価対象が行2〜
10の間は、誤りが発生していないので修正差分計算用
のワークレジスタに対する加算処理は行われない。評価
対象が行11の場合には、セクタNとセクタN+1との
境界なので、修正差分計算用ワークレジスタ内の数値
を、セクタNの修正差分レジスタ(このレジスタは以下
の説明と必ずしも対応しない)にストアする。
When the evaluation target moves to row 1, since an error has occurred in row 1, the correction difference is calculated from the standard correction difference # 1 of the EDC and the error size e, and the obtained value is calculated as follows. The value is added to a modified difference calculation work register (this register does not necessarily correspond to the following description). Evaluation target is line 2
During the period 10, since no error has occurred, the addition processing to the work register for calculating the corrected difference is not performed. When the evaluation target is row 11, since the boundary is between sector N and sector N + 1, the numerical value in the modified difference calculation work register is stored in the modified difference register of sector N (this register does not necessarily correspond to the following description). Store.

【0051】[誤り訂正装置1]図5は、本発明にかか
る誤り訂正装置1の構成を示す図である。以下、図5を
参照して、本発明にかかる誤り訂正装置1を説明する。
誤り訂正装置1は、図5に示すように、誤り訂正ブロッ
ク10、誤訂正検出ブロック12および制御部20から
構成される。
[Error Correction Apparatus 1] FIG. 5 is a diagram showing a configuration of the error correction apparatus 1 according to the present invention. Hereinafter, the error correction device 1 according to the present invention will be described with reference to FIG.
The error correction device 1 includes an error correction block 10, an error correction detection block 12, and a control unit 20, as shown in FIG.

【0052】誤り訂正ブロック10は、記憶装置10
0、読み出し/書き込み制御部102、シンドローム/
EDC計算部104、誤り位置多項式/誤り評価多項式
導出部106、誤り消失位置制御部108、位置カウン
タ110、チェーンサーチ部112、誤り大きさ計算部
114および訂正制御部116から構成される。誤訂正
検出ブロック12は、EDC修正差分計算部14a,1
4b、EDC標準修正差分計算部16、シンドローム修
正差分計算部18、比較回路120,124、誤訂正検
出部122およびセレクタ126,128から構成され
る。誤り訂正装置1は、これらの構成部分により、例え
ばDVDプレイヤー(図示せず)がDVDから読み出
し、順次、誤り訂正装置1に対して供給するECCブロ
ック(図3)に対して誤り訂正処理を行う。
The error correction block 10 includes a storage device 10
0, read / write control unit 102, syndrome /
It comprises an EDC calculation unit 104, an error locator polynomial / error evaluation polynomial derivation unit 106, an error erasure position control unit 108, a position counter 110, a chain search unit 112, an error magnitude calculation unit 114, and a correction control unit 116. The erroneous correction detection block 12 includes an EDC correction difference calculator 14a, 1
4b, an EDC standard correction difference calculation unit 16, a syndrome correction difference calculation unit 18, comparison circuits 120 and 124, an erroneous correction detection unit 122, and selectors 126 and 128. With these components, the error correction device 1 performs an error correction process on an ECC block (FIG. 3) which is read from a DVD by a DVD player (not shown) and sequentially supplied to the error correction device 1, for example. .

【0053】[制御部20]制御部20は、誤り訂正装
置1の各構成部分の演算処理動作を制御する。
[Control Unit 20] The control unit 20 controls the operation of each component of the error correction device 1.

【0054】[誤り訂正ブロック10]以下、誤り訂正
ブロック10の各構成部分を説明する。
[Error Correction Block 10] Each component of the error correction block 10 will be described below.

【0055】[記憶装置100,読み出し/書き込み制
御部102]誤り訂正ブロック10において、記憶装置
100は、読み出し/書き込み制御部102の制御に従
って動作し、順次、供給されるECCブロック(図3)
を記憶し、記憶したECCブロックそれぞれを行単位に
第0行から第207行の順で、または、列単位に第18
1列から第0列の順で読み出し、読み出しデータとして
読み出し/書き込み制御部102に供給する。また、記
憶装置100は、読み出し/書き込み制御部102から
供給される訂正データに従って、ECCブロックに生じ
た誤りを訂正し、訂正したデータを他の情報処理装置お
よび記録装置(いずれも図示せず)に供給する。
[Storage Device 100, Read / Write Control Unit 102] In the error correction block 10, the storage device 100 operates according to the control of the read / write control unit 102, and sequentially supplied ECC blocks (FIG. 3).
Is stored, and the stored ECC blocks are stored in the order from the 0th row to the 207th row in row units, or in the 18th row in column units.
The data is read from the first column to the zeroth column, and supplied to the read / write control unit 102 as read data. Further, the storage device 100 corrects an error generated in the ECC block according to the correction data supplied from the read / write control unit 102, and transmits the corrected data to another information processing device and a recording device (neither is shown). To supply.

【0056】読み出し/書き込み制御部102は、記憶
装置100の動作を制御するとともに、記憶装置100
から入力された読み出しデータをシンドローム/EDC
計算部104に対して出力し、また、訂正制御部116
から入力される訂正データを記憶装置100に対して出
力し、誤りが生じたデータを訂正させる。
The read / write control unit 102 controls the operation of the storage device 100 and
Read data input from the
The output to the calculation unit 104 and the correction control unit 116
Is output to the storage device 100 to correct the data in which an error has occurred.

【0057】[シンドローム/EDC計算部104]シ
ンドローム/EDC計算部104は、記憶装置100か
ら読み出しデータが行単位に12行分、入力されるごと
に、読み出し/書き込み制御部102から入力される読
み出しデータからシンドロームおよびEDCを算出す
る。シンドローム/EDC計算部104は、算出したシ
ンドロームを誤り訂正ブロック10の誤り位置多項式/
誤り評価多項式導出部106および誤訂正検出ブロック
12の比較回路124に対して出力し、また、算出した
EDCを誤訂正検出ブロック12の比較回路120に対
して出力する。
[Syndrome / EDC Calculation Unit 104] The syndrome / EDC calculation unit 104 reads out data input from the read / write control unit 102 every time read data is input from the storage device 100 for 12 rows in units of rows. The syndrome and EDC are calculated from the data. The syndrome / EDC calculation unit 104 converts the calculated syndrome into an error locator polynomial /
The EDC is output to the error evaluation polynomial deriving unit 106 and the comparison circuit 124 of the erroneous correction detection block 12, and the calculated EDC is output to the comparison circuit 120 of the erroneous correction detection block 12.

【0058】[誤り位置多項式/誤り評価多項式導出部
106]誤り位置多項式/誤り評価多項式導出部106
は、シンドローム/EDC計算部104から入力された
シンドロームから、下式8−1,8−2に示す誤り位置
多項式および誤り評価多項式を導出し、さらに、訂正不
能データを生成する。
[Error location polynomial / error evaluation polynomial deriving unit 106] Error location polynomial / error evaluation polynomial deriving unit 106
Derives an error locator polynomial and an error evaluation polynomial shown in the following equations 8-1 and 8-2 from the syndrome input from the syndrome / EDC calculator 104, and further generates uncorrectable data.

【0059】[0059]

【数8】 σ(x)=(x−αm1)・・・(x−αmk) 8−1 ω(x)=ΣemiΠj≠i(x−αmj) 8−2(8) σ (x) = (x−α m1 )... (X−α mk ) 8-1 ω (x) = Σe mi Πj ≠ i (x−α mj ) 8-2

【0060】また、誤り位置多項式/誤り評価多項式導
出部106は、導出した誤り位置方程式をチェーンサー
チ部112に対して出力し、訂正不能データを誤り消失
位置制御部108に対して出力し、誤り位置方程式およ
び誤り評価方程式を、誤り大きさ計算部114に対して
出力する。
The error position polynomial / error evaluation polynomial deriving unit 106 outputs the derived error position equation to the chain search unit 112, outputs uncorrectable data to the error erasure position control unit 108, and outputs The position equation and the error evaluation equation are output to error magnitude calculation section 114.

【0061】なお、消失位置データは、誤りが発生して
いることはわかっているが、誤りの大きさが不明のシン
ボル(消失)の位置を示し、パリティPIまたはパリテ
ィPOを処理した時、ある行または列で誤りを計算でき
なかったときに、その行番号または列番号がパリティP
OまたはパリティPIに対する消失位置となる。また、
訂正不能データは、ある行または列で、誤り位置多項式
および誤り評価多項式を求められなかったことを示す。
また、誤り位置多項式/誤り評価多項式導出部106
は、2つの多項式を求める計算が終了したことを示すス
タート信号を位置カウンタ110に対して出力する。
It should be noted that the erasure position data indicates the position of a symbol (erasure) for which it is known that an error has occurred, but the magnitude of the error is unknown, and when the parity PI or the parity PO is processed. If an error cannot be calculated for a row or column, the row or column number is
This is an erasure position for O or parity PI. Also,
Uncorrectable data indicates that an error location polynomial and an error evaluation polynomial could not be determined for a row or column.
Further, the error locator polynomial / error evaluation polynomial deriving unit 106
Outputs to the position counter 110 a start signal indicating that the calculation for obtaining two polynomials has been completed.

【0062】[誤り消失位置制御部108]誤り消失位
置制御部108は、誤り位置多項式/誤り評価多項式導
出部106から入力される訂正不能データから消失位置
データを生成し、誤り位置多項式/誤り評価多項式導出
部106に対して出力する。
[Error Erasure Location Control Unit 108] The error erasure location control unit 108 generates erasure location data from the uncorrectable data input from the error location polynomial / error evaluation polynomial derivation unit 106, and generates the error location polynomial / error evaluation. Output to the polynomial derivation unit 106.

【0063】[位置カウンタ110]位置カウンタ11
0は、誤り位置多項式/誤り評価多項式導出部106か
ら入力されるスタート信号に従って、チェーンサーチに
おいてσ(αi)を順次計算するのに必要なクロックを
生成し、その生成回数を i として保持する( i はP
Iの時、181〜0 の値をとり、POの場合,207
〜0の値をとる)。位置カウンターは 保持した i を
誤訂正検出ブロック12のEDC標準修正差分計算部1
6と、誤り訂正ブロック10のチェーンサーチ部112
と、誤訂正検出ブロック12のセレクタ126と、誤り
訂正ブロック10の訂正制御部116とに対して出力す
る。また POの場合、列の最後まで処理が終わった時に
EDC標準修正差分の更新を要求する信号をEDC標準
修正差分計算部16に出力する。
[Position counter 110] Position counter 11
0 generates a clock necessary for sequentially calculating σ (α i ) in the chain search in accordance with the start signal input from the error locator polynomial / error evaluation polynomial deriving unit 106, and holds the number of generations as i. (I is P
In the case of I, the value takes the value of 181 to 0, and in the case of PO, 207
~ 0). The position counter displays the held i
EDC standard correction difference calculator 1 of error correction detection block 12
6 and the chain search unit 112 of the error correction block 10
To the selector 126 of the erroneous correction detection block 12 and the correction control unit 116 of the error correction block 10. In the case of PO, a signal requesting the update of the EDC standard correction difference is output to the EDC standard correction difference calculator 16 when the processing is completed up to the end of the column.

【0064】[チェーンサーチ部112]チェーンサー
チ部112は、誤り位置多項式/誤り評価多項式導出部
106から入力される誤り位置方程式と、位置カウンタ
110から入力されるクロックおよび代入データとに基
づいて、σ(αi)を PI の時は i =181 ,180, .... P
Oの時、i = 207, 206, .... の順に計算し、σ(αi
=0を与える根αi を検出し、誤り位置を示す検出デー
タ(αi)を誤り大きさ計算部114および訂正制御部
116に対して出力する。また、チェーンサーチ部11
2は、検出データをセレクタ126,128に対して出
力し、セレクタ126,128それぞれのデータ選択を
制御する。
[Chain Search Unit 112] The chain search unit 112 is based on the error position equation input from the error position polynomial / error evaluation polynomial derivation unit 106 and the clock and substitution data input from the position counter 110. When σ (α i ) is PI, i = 181, 180, .... P
When O, i = 207, 206, .... is calculated in the order of σ (α i )
A root α i giving = 0 is detected, and detection data (α i ) indicating an error position is output to the error magnitude calculation unit 114 and the correction control unit 116. Also, the chain search unit 11
2 outputs the detected data to the selectors 126 and 128, and controls the data selection of the selectors 126 and 128, respectively.

【0065】[誤り大きさ計算部114]誤り大きさ計
算部114は、チェーンサーチ部112から入力される
検出データから誤りの大きさを算出し、誤りの大きさを
示す大きさデータを訂正制御部116に対して出力す
る。
[Error magnitude calculation section 114] The error magnitude calculation section 114 calculates the magnitude of the error from the detection data input from the chain search section 112 and corrects the magnitude data indicating the magnitude of the error. Output to the unit 116.

【0066】[訂正制御部116]訂正制御部116
は、位置カウンタ110から入力される位置データ(α
i)、チェーンサーチ部112から入力される位置デー
タ、誤り大きさ計算部114から入力される大きさデー
タ、および、誤訂正検出ブロック12の誤訂正検出部1
22から入力される誤訂正検出データから、訂正データ
を生成し、読み出し/書き込み制御部102に対して出
力する。
[Correction control unit 116] Correction control unit 116
Is the position data (α) input from the position counter 110.
i ), the position data input from the chain search unit 112, the size data input from the error size calculation unit 114, and the error correction detection unit 1 of the error correction detection block 12.
Correction data is generated from the erroneous correction detection data input from 22 and output to the read / write control unit 102.

【0067】[誤訂正検出ブロック12]以下、誤訂正
検出ブロック12の各構成部分を説明する。
[Error Correction Detection Block 12] Each component of the error correction detection block 12 will be described below.

【0068】[EDC標準修正差分計算部16]図6
は、図5に示したEDC標準修正差分計算部16の構成
を示す図である。EDC標準修正差分計算部16は、図
16に示す構成部分により、位置カウンタ110から入
力される更新データを用いて、EDC標準修正差分を計
算し、EDC修正差分計算部14a,14bに対して出
力する。
[EDC Standard Correction Difference Calculator 16] FIG.
FIG. 6 is a diagram showing a configuration of an EDC standard corrected difference calculator 16 shown in FIG. The EDC standard correction difference calculation unit 16 calculates the EDC standard correction difference using the update data input from the position counter 110 and outputs the EDC standard correction difference to the EDC correction difference calculation units 14a and 14b using the components shown in FIG. I do.

【0069】[セレクタ126]セレクタ126は、誤
り訂正ブロック10のチェーンサーチ部112の制御に
従って動作し、検出データが誤りがないことを示してい
る場合には数値0を選択し、これ以外の場合、つまり、
検出データが誤りがあることを示している場合には位置
カウンタ110から入力される根を選択してEDC修正
差分計算部14a,14bおよびシンドローム修正差分
計算部18に対して出力する。
[Selector 126] The selector 126 operates according to the control of the chain search section 112 of the error correction block 10, and selects a numerical value 0 when the detected data indicates that there is no error. That is,
If the detected data indicates that there is an error, the root input from the position counter 110 is selected and output to the EDC correction difference calculation units 14a and 14b and the syndrome correction difference calculation unit 18.

【0070】[セレクタ128]セレクタ128は、誤
り訂正ブロック10のチェーンサーチ部112の制御に
従って動作し、検出データが誤りがないことを示してい
る場合には数値0を選択し、これ以外の場合、つまり、
検出データが誤りがあることを示している場合には誤り
大きさ計算部114から入力される大きさデータを選択
してEDC修正差分計算部14a,14bおよびシンド
ローム修正差分計算部18に対して出力する。
[Selector 128] The selector 128 operates under the control of the chain search unit 112 of the error correction block 10, and selects a numerical value 0 when the detected data indicates that there is no error. That is,
If the detected data indicates that there is an error, the size data input from the error size calculation unit 114 is selected and output to the EDC correction difference calculation units 14a and 14b and the syndrome correction difference calculation unit 18. I do.

【0071】[PO方向用EDC修正差分計算部14
a]図7は、図5に示した第1のEDC修正差分計算部
14aの構成を示す図である。図8は、図5に示した第
1のEDC修正差分計算部14aによるEDC修正差分
算出の演算の方向を示す図である。EDC修正差分計算
部14aは、図7に示す構成部分により、EDC標準修
正差分計算部16から入力される標準修正差分データ、
および、セレクタ126,128から入力される位置デ
ータ、大きさデータまたは数値0を用いて、図2に示し
たEDCブロックに対して、図8に矢印で示す方向で演
算を行い、EDC標準修正差分を算出する。
[PODC EDC Correction Difference Calculator 14]
a] FIG. 7 is a diagram showing a configuration of the first EDC correction difference calculator 14a shown in FIG. FIG. 8 is a diagram showing the direction of the calculation of the EDC correction difference calculation by the first EDC correction difference calculation unit 14a shown in FIG. The EDC corrected difference calculating unit 14a uses the components shown in FIG. 7 to generate standard corrected difference data input from the EDC standard corrected difference calculating unit 16,
Also, using the position data, size data or numerical value 0 input from the selectors 126 and 128, the EDC block shown in FIG. 2 is operated in the direction indicated by the arrow in FIG. Is calculated.

【0072】[PI方向用EDC修正差分計算部14
b]図9は、図5に示した第2のEDC修正差分計算部
14bの構成を示す図である。EDC修正差分計算部1
4bは、図9に示す構成部分により、EDC標準修正差
分計算部16から入力される標準修正差分データ、およ
び、セレクタ126,128から入力される位置デー
タ、大きさデータまたは数値0を用いて、図2に示した
EDCブロックに対してパリティPIの方向(行方向)
に演算を行い、EDC標準修正差分を算出する。
[PI Direction EDC Correction Difference Calculator 14]
b] FIG. 9 is a diagram showing a configuration of the second EDC corrected difference calculator 14b shown in FIG. EDC correction difference calculation unit 1
4b, by using the standard correction difference data input from the EDC standard correction difference calculation unit 16 and the position data, size data or numerical value 0 input from the selectors 126 and 128, using the components shown in FIG. Parity PI direction (row direction) for EDC block shown in FIG.
To calculate an EDC standard correction difference.

【0073】[シンドローム修正差分計算部18]図1
0は、図5に示したシンドローム修正差分計算部18の
構成を示す図である。シンドローム修正差分計算部18
は、図10に示す構成部分により、セレクタ126,1
28から入力される位置データ、大きさデータまたは数
値0を用いて修正差分を算出し、比較回路124に対し
て出力する。
[Syndrome Correction Difference Calculation Unit 18] FIG.
0 is a diagram showing the configuration of the syndrome correction difference calculator 18 shown in FIG. Syndrome correction difference calculator 18
Are selectors 126, 1 by the components shown in FIG.
The correction difference is calculated using the position data, the size data, or the numerical value 0 input from 28 and output to the comparison circuit 124.

【0074】[比較回路120]比較回路120は、シ
ンドローム/EDC計算部104から入力されるEDC
と、EDC修正差分計算部14a,14bから入力され
る修正差分との排他的論理和をとることにより比較し、
比較結果を誤訂正検出部122に対して出力する。
[Comparison circuit 120] The comparison circuit 120 receives the EDC input from the syndrome / EDC calculation unit 104.
And an exclusive OR of the corrected differences input from the EDC corrected difference calculators 14a and 14b, and
The comparison result is output to the erroneous correction detection unit 122.

【0075】[比較回路124]比較回路124は、シ
ンドローム/EDC計算部104から入力されるシンド
ロームと、シンドローム修正差分計算部18から入力さ
れる修正差分とをの排他的論理和をとることにより比較
し、比較結果を誤訂正検出部122に対して出力する。
[Comparison Circuit 124] The comparison circuit 124 compares the syndrome input from the syndrome / EDC calculation unit 104 and the correction difference input from the syndrome correction difference calculation unit 18 by performing an exclusive OR operation. Then, the comparison result is output to the erroneous correction detection unit 122.

【0076】[誤訂正検出部122]誤訂正検出部12
2は、比較回路120,124それぞれから入力される
比較結果を用いて、訂正の誤り(誤訂正)を検出し、シ
ンドロームと修正差分とが一致しないことを示す誤訂正
データを生成し、訂正制御部116に対して出力する。
[Error Correction Detection Unit 122] Error Correction Detection Unit 12
2 detects a correction error (erroneous correction) using the comparison results input from each of the comparison circuits 120 and 124, generates erroneous correction data indicating that the syndrome does not match the corrected difference, and performs correction control. Output to the unit 116.

【0077】[誤り訂正装置1におけるPI(横)方向
の処理]以下、図11〜図19をさらに参照して、誤り
訂正装置1のPI方向の処理を説明する。図11は、誤
り訂正装置1のPI方向の処理を示す図である。図12
は、図11に示した誤り訂正装置1のステップ3(St
ep3)の処理を示す図である。図13は、図11に示
した誤り訂正装置1のステップ5(Step5)の処理
を示す図である。図14は、図11に示した誤り訂正装
置1のステップ6(Step6)の処理を示す図であ
る。図15〜16は、図11に示した誤り訂正装置1の
ステップ7,8(Step7,8)の処理を示す図であ
る。図18は、図11に示した誤り訂正装置1のステッ
プ9(Step9)の処理を示す図である。図19は、
図11に示した誤り訂正装置1のステップ11(Ste
p11)の処理を示す図である。
[Processing in PI (Horizontal) Direction in Error Correcting Apparatus 1] Hereinafter, processing in the PI direction of the error correcting apparatus 1 will be described with further reference to FIGS. FIG. 11 is a diagram illustrating processing in the PI direction of the error correction device 1. FIG.
Corresponds to Step 3 (St) of the error correction device 1 shown in FIG.
It is a figure which shows the process of ep3). FIG. 13 is a diagram showing the processing of Step 5 of the error correction device 1 shown in FIG. FIG. 14 is a diagram showing the processing of Step 6 of the error correction device 1 shown in FIG. FIGS. 15 and 16 are diagrams showing the processing of steps 7 and 8 (Steps 7 and 8) of the error correction device 1 shown in FIG. FIG. 18 is a diagram showing the processing of Step 9 of the error correction device 1 shown in FIG. FIG.
Step 11 of the error correction device 1 shown in FIG.
It is a figure which shows the process of p11).

【0078】図11に示すように、ステップ(Ste
p)0において、誤り訂正装置1(図5)の読み出し/
書き込み制御部102は、変数iに初期値を代入(i=
0)し、ステップ1の処理に進む。
As shown in FIG. 11, the step (Step
p) At 0, the reading / writing of the error correction device 1 (FIG. 5)
The write control unit 102 substitutes an initial value for a variable i (i =
0), and then proceed to the processing of step 1.

【0079】ステップ1において、読み出し/書き込み
制御部102は、EDCのシンドロームをストアするレ
ジスタをクリアし、ステップ2の処理に進む。
In step 1, the read / write control unit 102 clears the register for storing the syndrome of the EDC, and proceeds to the processing in step 2.

【0080】ステップ2において、シンドローム修正差
分計算18は、初期化処理を行い、初期状態に戻る。
In step 2, the syndrome correction difference calculation 18 performs an initialization process and returns to the initial state.

【0081】ステップ3において、シンドローム/ED
C計算部104は、図12に示すように、読み出し/書
き込み制御部102からECCブロック(図3)の第i
行目のデータを読み込み、誤り訂正符号のシンドローム
を計算し、ステップ4の処理に進む。
In step 3, the syndrome / ED
As shown in FIG. 12, the C calculation unit 104 sends the i-th block of the ECC block (FIG. 3) from the read / write control unit 102.
The data in the row is read, the syndrome of the error correction code is calculated, and the process proceeds to step S4.

【0082】ステップ4において、シンドローム/ED
C計算部104は、ステップ3の処理において算出した
シンドロームの値が数値0であるか否かを判断し、シン
ドロームの値が数値0でない場合にはステップ5の処理
にすすみ、これ以外の場合には変数iに数値1を加え
(インクリメントし;i=i+1)、ステップ2の処理
に戻る。
In step 4, syndrome / ED
The C calculation unit 104 determines whether the value of the syndrome calculated in the process of step 3 is a numerical value 0, and if the value of the syndrome is not a numerical value 0, proceeds to the process of step 5; Adds a numerical value 1 to a variable i (increment; i = i + 1), and returns to the processing of step 2.

【0083】ステップ5において、誤り位置多項式/誤
り評価多項式導出部106は、図13に示すように、シ
ンドローム/EDC計算部104から入力されるシンド
ロームの値から誤り多項式を計算し、変数L(チェーン
サーチで使われるαi)に数値α181(L=α181)を代
入する。
In step 5, the error locator polynomial / error evaluation polynomial deriving unit 106 calculates an error polynomial from the value of the syndrome input from the syndrome / EDC calculating unit 104 as shown in FIG. The numerical value α 181 (L = α 181 ) is substituted for α i ) used in the search.

【0084】ステップ6において、図14に示すよう
に、位置カウンターが与える 変数Lの初期値とチェーン
サーチ部112は、位置カウンター110が与える 変
数Lの初期値とクロックを用いてチェーンサーチを行
い、変数 L すなわち αi が、誤り位置多項式の根か
否かを判断する。根である場合には、誤り大きさ計算部
114は、その位置における誤りの大きさを計算し、ス
テップ7の処理に進む。
In step 6, as shown in FIG. 14, the initial value of the variable L provided by the position counter and the chain search unit 112 perform a chain search using the initial value of the variable L provided by the position counter 110 and the clock. It is determined whether the variable L, that is, α i, is the root of the error locator polynomial. If it is the root, the error magnitude calculator 114 calculates the magnitude of the error at that position, and proceeds to the processing of step 7.

【0085】ステップ7において、Lが根である場合に
は、セレクタ128は誤り大きさ計算部114から入力
された誤りの大きさを選択してシンドローム修正差分計
算18とEDC修正差分回路14bに対して出力する。
また根でない場合は0をシンドローム修正差分計算1
8、EDC修正差分回路14bに対して出力する。シンド
ローム修正差分計算18とEDC修正差分回路14bは、
入力値を用いてそれぞれの修正差分に対する寄与を算出
し、ステップ 8a の処理に進む。
If L is the root in step 7, the selector 128 selects the magnitude of the error input from the error magnitude calculator 114 and sends it to the syndrome correction difference calculator 18 and the EDC correction difference circuit 14b. Output.
If it is not the root, 0 is used for syndrome correction difference calculation 1
8. Output to the EDC correction difference circuit 14b. The syndrome correction difference calculation 18 and the EDC correction difference circuit 14b
The contribution to each correction difference is calculated using the input value, and the process proceeds to step 8a.

【0086】ステップ8において、図17に示すよう
に、セレクタ128は、誤り大きさ計算部114から入
力された誤りの大きさを選択してEDC修正差分計算部
14bに対して出力し、EDC修正差分計算部14b
(図9)は、修正差分を算出する。チェーンサーチが第
i行の最後まで来ていたらステップ9の処理に進み、こ
れ以外の場合には変数Lの値をL×α-1に更新し、ステ
ップ6の処理に進む(ステップ8a)。
In step 8, as shown in FIG. 17, the selector 128 selects the magnitude of the error input from the error magnitude calculation unit 114 and outputs it to the EDC correction difference calculation unit 14b. Difference calculator 14b
(FIG. 9) calculates the correction difference. If the chain search has reached the end of the i-th row, the process proceeds to step 9; otherwise, the value of the variable L is updated to L × α −1 and the process proceeds to step 6 (step 8a).

【0087】ステップ9において、図18に示すよう
に、比較回路124は、シンドローム/EDC計算部1
04から入力されるシンドロームと、シンドローム修正
差分計算18から入力される修正差分とを比較する。誤
訂正検出回路122は、比較結果が一致を示す場合に
は、誤訂正検出データを誤訂正が生じなかったことを示
す値とし、これ以外の場合には誤訂正検出データを誤訂
正が生じたことを示す値にして訂正制御部116に対し
て出力する。訂正制御部116は、誤訂正検出データ
が、誤訂正が生じたことを示している場合には読み出し
/書き込み制御部102のバッファ(図示せず)上で誤
り訂正を行い、これ以外の場合には誤り訂正を行わな
い。
In step 9, as shown in FIG. 18, the comparison circuit 124 sets the syndrome / EDC calculation unit 1
Compare the syndrome input from 04 with the correction difference input from the syndrome correction difference calculation 18. The erroneous correction detection circuit 122 sets the erroneous correction detection data to a value indicating that no erroneous correction has occurred when the comparison result indicates a match, and otherwise, the erroneous correction detection data has the erroneous correction Is output to the correction control unit 116. The correction control unit 116 performs error correction on a buffer (not shown) of the read / write control unit 102 when the erroneous correction detection data indicates that erroneous correction has occurred. Does not perform error correction.

【0088】ステップ10において、読み出し/書き出
し制御部102は、EDCブロック(図2)の最後の行
を処理したか否かを判断し、最後の行を処理した場合に
はステップ11の処理に進み、これ以外の場合にはステ
ップ3の処理に進む。
In step 10, the read / write control unit 102 determines whether or not the last row of the EDC block (FIG. 2) has been processed. If the last row has been processed, the process proceeds to step 11. Otherwise, the process proceeds to step 3.

【0089】ステップ11において、比較回路120
は、シンドローム/EDC計算部104から入力された
EDCと、EDC修正差分計算部14bから入力された
修正差分とを比較し、比較結果が一致を示す場合には、
誤訂正検出データを訂正不能を示す値にして訂正制御部
116に対して出力し、これ以外の場合には、誤訂正検
出データを訂正可能を示す値にしてステップ12の処理
に進む。
In step 11, the comparison circuit 120
Compares the EDC input from the syndrome / EDC calculation unit 104 with the correction difference input from the EDC correction difference calculation unit 14b, and when the comparison result indicates a match,
The erroneous correction detection data is output to the correction control unit 116 as a value indicating that correction is impossible, and otherwise, the erroneous correction detection data is set as a value indicating that correction is possible and the process proceeds to step S12.

【0090】ステップ12において、比較回路120
は、最後のEDCブロックを処理したか否かを判断し、
最後のEDCブロックを処理した場合には処理を終了
し、これ以外の場合にはステップ1の処理に戻る。
In step 12, the comparison circuit 120
Determines whether the last EDC block has been processed,
If the last EDC block has been processed, the process ends. Otherwise, the process returns to step S1.

【0091】以上説明したように、誤り訂正装置1にお
いては、PI方向の誤り訂正のチェーンサーチは、行の
先頭から実行される。つまり、PI方向のチェーンサー
チにおいては、まず、誤り位置多項式にα18 1
α180,...,α0の各数値が順次、代入されて根であ
るか否かを判定され、根である場合には、誤りの大きさ
が計算される。
As described above, in the error correction apparatus 1, a chain search for error correction in the PI direction is executed from the head of a row. That is, in the chain search in the PI direction, first, α 18 1 ,
α 180,. . . , Α 0 are sequentially substituted to determine whether or not it is a root, and if it is a root, the magnitude of the error is calculated.

【0092】また、シンドローム/EDC計算部104
は、ECCブロックのデータを行の先頭側から処理し、
また、修正差分は、1つの誤りのシンドロームに対する
影響の和を順次、計算することにより求めることができ
る。従って、チェーンサーチにおいて誤りが発見され、
その大きさが計算された場合にその値を、それ以外の場
合には数値0をシンドローム修正差分計算18およびE
DC修正差分計算部14bに入力することにより、シン
ドロームの修正差分を得ることができる。従って、誤り
訂正装置1におけるPI方向の処理は、標準修正差分な
しに行われ得る。
The syndrome / EDC calculation unit 104
Processes ECC block data from the beginning of the row,
The correction difference can be obtained by sequentially calculating the sum of the effects of one error on the syndrome. Therefore, errors are found in the chain search,
If the magnitude is calculated, the value is calculated; otherwise, the numerical value 0 is calculated.
The correction difference of the syndrome can be obtained by inputting to the DC correction difference calculation unit 14b. Therefore, the processing in the PI direction in the error correction device 1 can be performed without the standard correction difference.

【0093】[誤り訂正装置1におけるPO(縦)方向
の処理]例えば、第1EDCブロック 第 3行、 ECC
ブロック 第 179列に誤り 0x94が生じた第1EDCブ
ロック(図2)におけるシンドロームの修正差分は、下
式10に示すe(x)より、e(x) mod g
(x)によって与えられる。これを計算するために、下
式10に示すe(x)より、e(x) mod g
(x)を計算する必要がある。
[Process in PO (Vertical) Direction in Error Correcting Apparatus 1] For example, the first EDC block, third row, ECC
The corrected difference of the syndrome in the first EDC block (FIG. 2) in which the error 0x94 has occurred in the 179th column of the block is e (x) mod g from e (x) shown in Expression 10 below.
Given by (x). In order to calculate this, e (x) mod g is obtained from e (x) shown in the following equation 10.
(X) needs to be calculated.

【0094】[0094]

【数10】 e(x)=(x7+x4+x2)*x{(2*172+169)*8} (10)E (x) = (x 7 + x 4 + x 2 ) * x {(2 * 172 + 169) * 8} (10)

【0095】このためには、まず、標準修正差分N
jを、下式11に示すように定義する。これらの標準修
正差分Njは、それぞれEDCブロックの第170列目
に、大きさ0x01の誤りが生じている場合に、EDC
がシンドロームに与える寄与を示す。
For this, first, the standard correction difference N
j is defined as shown in Equation 11 below. These standard correction differences Nj are the EDC values in the 170th column of the EDC block when an error of size 0x01 occurs.
Shows the contribution of the to the syndrome.

【0096】[0096]

【数11】 N12=X{(169+172*11)*8} mod g(x)11=X{(169+172*10)*8} mod g(x) ・ ・ N3=X{(169+172*2)*8} mod g(x)2=X{(169+172*1)*8} mod g(x)1=X{(169+172*0)*8} mod g(x) ただし、Nxは、EDCの第x番目の標準修正差分を示す。 (10)N 12 = X {(169 + 172 * 11) * 8} mod g (x) N 11 = X {(169 + 172 * 10) * 8} mod g (x) N 3 = X {(169 + 172 * 2) * 8} mod g (x) N 2 = X {(169 + 172 * 1) * 8} mod g (x) N 1 = X {(169 + 172 * 0) * 8 } mod g (x) where N x indicates the x-th standard correction difference of the EDC. (10)

【0097】図5のチェーンサーチ部112 と位置カ
ウンター110と誤り大きさ計算回路114は、第17
9列の処理において誤りの位置198と誤りの大きさ0
x94を出力する。第1EDCブロック 第 3行、 E
CCブロック 第179列に発生した誤り0x94は、
12*15+16−1=198(1EDCブロックは1
2行、EDCブロックは全部で16個、行は0行から始ま
る、POのパリティは 16行ある。)であることよ
り、ECCブロック第198行に位置するので、誤り訂正
回路から計算される誤りの位置は198(199行)で
あることがわかる。また、EDCブロック上の誤りの位
置は、(199−1)=12*15+3より、ECCブ
ロック(図3)の第1のEDCブロック(図2)の第3
行目であることがわかる。また、誤りの大きさが0x9
4であることもわかるので、e(x)=(x7+x4+x
2)*x{(2*172+169)*8}。この時、修正差分S(x)
は、EDCブロックの第3行に誤りが生じていることか
ら、式11に示した標準修正差分N3を用いて、下式1
2のように示すことができる。
The chain search unit 112, the position counter 110, and the error magnitude calculation circuit 114 in FIG.
Error position 198 and error magnitude 0 in 9-column processing
Output x94. First EDC block, third row, E
The error 0x94 that occurred in the 179th column of the CC block is
12 * 15 + 16-1 = 198 (1 EDC block is 1
There are two rows, a total of 16 EDC blocks, and the rows start from row 0. There are 16 rows of PO parity. ), It is found that the position of the error calculated by the error correction circuit is 198 (row 199) since it is located in the 198th row of the ECC block. Further, the error position on the EDC block is (199-1) = 12 * 15 + 3, and the error position on the third EDC block (FIG. 2) of the ECC block (FIG. 3)
It turns out that it is the line. Also, if the magnitude of the error is 0x9
4 so that e (x) = (x 7 + x 4 + x
2 ) * x {(2 * 172 + 169) * 8} . At this time, the modified difference S (x)
Since an error has occurred in the third row of the EDC block, the following equation 1 is obtained using the standard corrected difference N 3 shown in equation 11.
2 can be shown.

【0098】[0098]

【数12】 S(x)=(x7+x4+x2)*x{(2*172+169)*8} mod g(x) = x7*x{(2*172+169)*8} mod g(x)4*x{(2*172+169)*8} mod g(x)2*x{(2*172+169)*8} mod g(x) = [x7*N3] mod g(x) [x4*N3] mod g(x) [x2*N3] mod g(x) (12) ただし、(A+B)mod g=A mod g +B mod g (A*B)mod g={B*(A mod g)}mod gS (x) = (x 7 + x 4 + x 2 ) * x {(2 * 172 + 169) * 8} mod g (x) = x 7 * x {(2 * 172 + 169) * 8 } mod g (x) x 4 * x {(2 * 172 + 169) * 8} mod g (x) x 2 * x {(2 * 172 + 169) * 8} mod g (x) = [x 7 * N 3 ] mod g (x) [x 4 * N 3 ] mod g (x) [x 2 * N 3 ] mod g (x) (12) where (A + B) mod g = A mod g + B mod g (A * B) mod g = {B * (A mod g)} mod g

【0099】このとき、[x7*N3] mod g(x)を
算出する回路は、ランダムロジックでハードウェアによ
り容易に構成することができ、あるいは、同等の演算処
理はソフトウェア的に容易に実現可能である。
At this time, the circuit for calculating [x 7 * N 3 ] mod g (x) can be easily configured by hardware with random logic, or the equivalent arithmetic processing can be easily performed by software. It is feasible.

【0100】図7に示したEDC修正差分計算部14a
において、誤りの大きさ0x94に対応するように、B
7=1,B4=1,B2=1、他は0とすると、EDC修
正差分計算部14aの加算器の出力は、修正差分S
(x)となる。
The EDC correction difference calculator 14a shown in FIG.
At B, so as to correspond to the error magnitude 0x94.
Assuming that 7 = 1, B 4 = 1, B 2 = 1, and the others are 0, the output of the adder of the EDC corrected difference calculator 14a is the corrected difference S
(X).

【0101】以上の説明を一般化し、第 i 列における
EDCの第1〜第12の標準修正差分を下式13のよ
うに定義する。第180列に誤りがあった場合には、式
13に i=180を代入した下式14 で示される標準
修正差分が使用され
The above description is generalized, and the first to twelfth standard correction differences of the EDC in the i-th column are defined as in the following Expression 13. If there is an error in the 180th column, a standard correction difference expressed by the following expression 14 obtained by substituting i = 180 into the expression 13 is used.

【0102】[0102]

【数13】 N12=X{(i-10+172*11)*8} mod g(x)11=X{(i-10+172*10)*8} mod g(x) ・ ・ N3=X{(i-10+172*2)*8} mod g(x)2=X{(i-10+172*1)*8} mod g(x)1=X{(i-10+172*0)*8} mod g(x) (13)N 12 = X {(i−10 + 172 * 11) * 8} mod g (x) N 11 = X {(i−10 + 172 * 10) * 8} mod g (x) N 3 = X {(i−10 + 172 * 2) * 8} mod g (x) N 2 = X {(i−10 + 172 * 1) * 8} mod g (x) N 1 = X {( i-10 + 172 * 0) * 8} mod g (x) (13)

【0103】[0103]

【数14】 N11=X{(170+172*10)*8} mod g(x) ・ ・ N3=X{(170+172*2)*8} mod g(x)2=X{(170+172*1)*8} mod g(x)1=X{(170+172*0)*8} mod g(x) (14)N 11 = X {(170 + 172 * 10) * 8} mod g (x) N 3 = X {(170 + 172 * 2) * 8} mod g (x) N 2 = X {(170 + 172 * 1) * 8} mod g (x) N 1 = X {(170 + 172 * 0) * 8} mod g (x) (14)

【0104】式13,14より新たな標準修正差分N'j
は、下式15の通りに表すことができ、この値を用いて
第181列目の誤りに対して同様の計算を行うことがで
きる。最終的に、16個の修正差分を記憶するレジスタ
と、その途中結果を記憶するレジスタとが必要になるの
で、EDC修正差分計算部14aは、図7に示した通り
の構成をとる。
The new standard correction difference N ′ j from equations (13) and (14)
Can be expressed as the following Expression 15, and the same calculation can be performed for the error in the 181st column using this value. Finally, a register for storing 16 correction differences and a register for storing an intermediate result are required, so that the EDC correction difference calculation unit 14a has a configuration as shown in FIG.

【0105】[0105]

【数15】 N'j=(x8*Nj) mod g(x) (15)N ′ j = (x 8 * N j ) mod g (x) (15)

【0106】以下、図20〜図30をさらに参照して、
誤り訂正装置1におけるPO方向の処理を説明する。図
20は、誤り訂正装置1(図5)のPO方向の処理を示
す図である。図21は、図20に示した誤り訂正装置1
(図5)のEDC標準修正差分計算部16(図6)のス
テップ100(Step100)における処理を示す図
である。図22は、図20に示した誤り訂正装置1のス
テップ101(Step101)における処理を示す図
である。図23は、図20に示した誤り訂正装置1のス
テップ103(Step103)における処理を示す図
である。図24は、図20に示した誤り訂正装置1のス
テップ104(Step104)における処理を示す図
である。図25は、図20に示した誤り訂正装置1のス
テップ107(Step107)における処理を示す図
である。図26は、図20に示した誤り訂正装置1のE
DC修正差分計算部14a(図7)のステップ107
(Step107)における処理を示す図である。図2
7は、図20に示した誤り訂正装置1のEDC修正差分
計算部14a(図7)のステップ108(Step10
8)における処理を示す図である。図28は、図20に
示した誤り訂正装置1のステップ110(Step11
0)における処理を示す図である。図29は、図20に
示した誤り訂正装置1のEDC標準修正差分計算部16
(図6)のステップ111(Step111)における
処理を示す図である。図30は、図20に示した誤り訂
正装置1のステップ112(Step112)における
処理を示す図である。
Hereinafter, with further reference to FIGS. 20 to 30,
The processing in the PO direction in the error correction device 1 will be described. FIG. 20 is a diagram showing processing in the PO direction of the error correction device 1 (FIG. 5). FIG. 21 illustrates the error correction device 1 shown in FIG.
It is a figure which shows the process in the step 100 (Step100) of the EDC standard correction | amendment difference calculation part 16 (FIG. 6) of (FIG. 5). FIG. 22 is a diagram showing a process in step 101 of the error correction device 1 shown in FIG. FIG. 23 is a diagram showing a process in step 103 of the error correction device 1 shown in FIG. FIG. 24 is a diagram showing a process in the step 104 (Step 104) of the error correction device 1 shown in FIG. FIG. 25 is a diagram showing a process in Step 107 of the error correction device 1 shown in FIG. FIG. 26 is a block diagram of the error correction device 1 shown in FIG.
Step 107 of DC correction difference calculation section 14a (FIG. 7)
It is a figure showing processing in (Step107). FIG.
7 is Step 108 (Step 10) of the EDC correction difference calculator 14a (FIG. 7) of the error correction device 1 shown in FIG.
It is a figure which shows the process in 8). FIG. 28 is a flowchart showing the operation of the error correction device 1 shown in FIG.
It is a figure which shows the process in 0). FIG. 29 is a block diagram showing the EDC standard correction difference calculator 16 of the error correction device 1 shown in FIG.
FIG. 7 is a diagram showing a process in step 111 (FIG. 6). FIG. 30 is a diagram showing a process in the step 112 (Step 112) of the error correction device 1 shown in FIG.

【0107】図20に示すように、ステップ100にお
いて、EDC標準修正差分計算部16は、変数iに初期
値10(変数iの初期値が10になるのは、PIパリテ
ィはEDCブロックに含まれないため)を代入し、下式
16に示す予め計算されている最初の標準修正差分Nj
(j=1,...,12)を算出し、EDCのシンドロ
ームを記憶するシンドローム修正差分計算部14a内の
レジスタ(図示せず)をクリアし、シンドローム/ED
C計算部104(誤り訂正符号のシンドローム生成回
路)を初期化し、ステップ101の処理に進む。
As shown in FIG. 20, in step 100, the EDC standard modified difference calculator 16 sets the initial value of the variable i to 10 (the initial value of the variable i becomes 10 because the PI parity is included in the EDC block). ), And the first standard correction difference N j calculated in advance by the following equation (16).
(J = 1,..., 12), clear a register (not shown) in the syndrome correction difference calculation unit 14a that stores the syndrome of the EDC, and
The C calculation unit 104 (error correction code syndrome generation circuit) is initialized, and the process proceeds to step 101.

【0108】[0108]

【数16】 N12=X{(i-10+172*11)*8} mod g(x)11=X{(i-10+172*10)*8} mod g(x) ・ ・ N3=X{(i-10+172*2)*8} mod g(x)2=X{(i-10+172*1)*8} mod g(x)1=X{(i-10+172*0)*8} mod g(x) (16)N 12 = X {(i-10 + 172 * 11) * 8} mod g (x) N 11 = X {(i-10 + 172 * 10) * 8} mod g (x) N 3 = X {(i−10 + 172 * 2) * 8} mod g (x) N 2 = X {(i−10 + 172 * 1) * 8} mod g (x) N 1 = X {( i-10 + 172 * 0) * 8} mod g (x) (16)

【0109】ステップ101において、図22に示すよ
うに、シンドローム/EDC計算部104(図5)は、
EDCブロック(図2)の第i列の誤り訂正符号のシン
ドロームを計算し、ステップ102の処理に進む。
In step 101, as shown in FIG. 22, the syndrome / EDC calculation unit 104 (FIG. 5)
The syndrome of the error correction code in the i-th column of the EDC block (FIG. 2) is calculated, and the process proceeds to step 102.

【0110】ステップ102において、誤り位置多項式
/誤り評価多項式導出部106は、ステップ101の処
理において計算したシンドロームの値が数値0でない場
合にはステップ103の処理に進み、これ以外の場合に
は、変数iに数値1を加え(インクリメントし)、下式
17によって標準修正差分の値を更新して、ステップ1
01の処理に戻る。
In step 102, the error locator polynomial / error evaluation polynomial deriving unit 106 proceeds to step 103 if the value of the syndrome calculated in the process of step 101 is not the numerical value 0. A value 1 is added (incremented) to the variable i, and the value of the standard correction difference is updated by the following equation 17, and
It returns to the process of 01.

【0111】[0111]

【数17】 Nj=(Nj*x8)mod g(x) (17)N j = (N j * x 8 ) mod g (x) (17)

【0112】ステップ103において、図23に示すよ
うに、誤り位置多項式/誤り評価多項式導出部106
は、ステップ101の処理において計算されたシンドロ
ームの値から誤り位置多項式を計算し、変数Lの値にα
207を代入し、ステップ104の処理に進む。
In step 103, as shown in FIG. 23, the error locator polynomial / error evaluation polynomial deriving unit 106
Calculates an error locator polynomial from the value of the syndrome calculated in the process of step 101, and sets α to α
207 is substituted, and the process proceeds to step 104.

【0113】ステップ104において、図24に示すよ
うに、チェーンサーチ部112は、チェーンサーチを行
って変数Lの値が誤り位置多項式の根か否かを判断す
る。誤り大きさ計算部114は、変数Lが誤り位置多項
式の根である場合には誤りの大きさを計算し、これ以外
の場合には誤りの大きさの値を0とする。
In step 104, as shown in FIG. 24, the chain search unit 112 performs a chain search to determine whether or not the value of the variable L is the root of the error locator polynomial. The error magnitude calculator 114 calculates the magnitude of the error when the variable L is the root of the error locator polynomial, and otherwise sets the value of the magnitude of the error to zero.

【0114】ステップ105において、シンドローム修
正差分計算18は、ステップ104の処理において求め
られた誤りの大きさの値から修正差分を算出し、ステッ
プ106の処理に進む。
In step 105, the syndrome correction difference calculation 18 calculates a correction difference from the value of the error magnitude obtained in the processing of step 104, and proceeds to the processing of step 106.

【0115】ステップ106において、チェーンサーチ
部112 と位置カウンター110によって求められた
誤りの位置から、誤りがECCブロック(図3)に含ま
れるいずれのEDCブロック(図2)の何行目に発生し
たかを判定し、ステップ107の処理に進
In step 106, from the error position obtained by the chain search unit 112 and the position counter 110, an error has occurred in any row of any EDC block (FIG. 2) included in the ECC block (FIG. 3). And proceeds to step 107.

【0116】ステップ107において、EDC修正差分
計算部14aは、図25および図26に示すように、ス
テップ106の処理において誤りが発生していると判定
されたEDCブロックの第j番目の行に対応する標準修
正差分Njを選び、誤りの大きさBk(k=0〜7;Bk
=1または0)を用いて、下式18の計算を行い、ステ
ップ108の処理に進む。
In step 107, as shown in FIGS. 25 and 26, the EDC correction difference calculating section 14a corresponds to the j-th row of the EDC block in which it is determined that an error has occurred in the processing in step 106. Is selected, and the magnitude of the error B k (k = 0 to 7; B k
= 1 or 0), the following Expression 18 is calculated, and the process proceeds to Step 108.

【0117】[0117]

【数18】 ΣBk*(Nj k mod g(x)) (18) ただし、Σはk=0〜7に関する総和を示す。18B k * (N j k mod g (x)) (18) where Σ represents the sum of k = 0 to 7.

【0118】ステップ108において、EDC修正差分
計算部14aは、図27に示すように、ステップ107
の処理における計算結果(式18)を用いて、ステップ
106で求められたEDCブロックに対応するシンドロ
ームの修正差分を更新し、ステップ109の処理に進
In step 108, the EDC correction difference calculating unit 14a performs the processing in step 107 as shown in FIG.
Using the calculation result (Equation 18) in the process of (1), the correction difference of the syndrome corresponding to the EDC block obtained in Step 106 is updated, and the process proceeds to Step 109.

【0119】ステップ109において、チェーンサーチ
部112は、チェーンサーチがEDCブロックの第i列
の最後まで終了した場合にはS110の処理に進み、こ
れ以外の場合には変数Lに数値α-1を乗算し、ステップ
104の処理に戻る。
In step 109, if the chain search has been completed up to the end of the i-th column of the EDC block, the chain search unit 112 proceeds to the process of S110. Otherwise, the chain search unit 112 sets the variable L to the value α- 1 . The multiplication is performed, and the process returns to step 104.

【0120】ステップ110において、図28に示すよ
うに、比較回路124は、シンドローム/EDC計算部
104から入力されるシンドロームと、ステップ103
から109の処理においてシンドローム修正差分計算1
8が算出した修正差分の値とを比較し、これらが一致し
ている場合には、誤訂正検出回路122は、シンドロー
ムの修正差分が正当であると判断し、訂正制御部116
は読み出し/書き込み制御部102のバッファ(図示せ
ず)上で誤り訂正を行い、ステップ111の処理に進
む。これ以外の場合には、誤訂正検出回路122は、誤
訂正検出データに訂正不能のフラグをセットし、訂正制
御部116は、誤り訂正を行わずにステップ111の処
理に進む。
In step 110, as shown in FIG. 28, the comparison circuit 124 compares the syndrome input from the syndrome / EDC calculation unit 104 with the syndrome input in step 103.
Syndrome Correction Difference Calculation 1
8 is compared with the calculated correction difference value, and if they match, the erroneous correction detection circuit 122 determines that the correction difference of the syndrome is valid, and the correction control unit 116
Performs error correction on a buffer (not shown) of the read / write control unit 102, and proceeds to the processing of step 111. In other cases, the erroneous correction detection circuit 122 sets an uncorrectable flag in the erroneous correction detection data, and the correction control unit 116 proceeds to step 111 without performing error correction.

【0121】ステップ111において、図29に示すよ
うに、EDC標準修正差分計算部16は、誤りの位置と
大きさの計算をECCブロックの最後の列まで行ったか
否かを判断し、最後の列に対する計算を行った場合には
ステップ112の処理に進み、これ以外の場合にはS1
01の処理に戻る。
In step 111, as shown in FIG. 29, the EDC standard correction difference calculator 16 determines whether or not the calculation of the position and magnitude of the error has been performed up to the last column of the ECC block. Is calculated, the process proceeds to step 112, otherwise, S1
It returns to the process of 01.

【0122】ステップ112において、比較回路120
は、シンドローム/EDC計算部104から入力される
EDCと、EDC修正差分計算部14aがステップ10
1から112の処理において算出した修正差分とを比較
し、誤訂正検出回路122は、これらが一致する場合に
は処理を終了し、これ以外の場合には誤訂正検出データ
に訂正不能フラグをセットして処理を終了する。
In step 112, the comparison circuit 120
The EDC input from the syndrome / EDC calculation unit 104 and the EDC correction difference calculation unit 14a
The erroneous correction detection circuit 122 compares the corrected difference calculated in the processing of steps 1 to 112, terminates the processing if they match, and sets an uncorrectable flag in the erroneous correction detection data otherwise. And terminate the processing.

【0123】以上説明したように、本発明にかかる誤り
訂正装置においては、誤りの位置および大きさの計算
と、誤り訂正により値が変化するEDCのシンドローム
との計算とが、同時に行うことができるので、誤り訂正
の確率を低くすることができる。また、バッファからデ
ータを読み出す回数を従来よりも少なくすることができ
るので、誤り訂正処理に要する時間が短くて済む。
As described above, in the error correction apparatus according to the present invention, the calculation of the position and magnitude of the error and the calculation of the syndrome of the EDC whose value changes due to the error correction can be performed simultaneously. Therefore, the probability of error correction can be reduced. Further, since the number of times of reading data from the buffer can be reduced as compared with the related art, the time required for error correction processing can be reduced.

【0124】[0124]

【発明の効果】以上説明したように、本発明にかかる誤
り検出装置およびその方法によれば、処理におけるオー
バーヘッドを少なくすることができるので、短い処理時
間で誤訂正を検出し、誤り訂正を行うことができる。
As described above, according to the error detection apparatus and method according to the present invention, the overhead in processing can be reduced, so that error correction is detected and error correction is performed in a short processing time. be able to.

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

【図1】DVDに記録されるデータを生成する処理(S
10)を示す図である。
FIG. 1 shows a process of generating data to be recorded on a DVD (S
It is a figure which shows 10).

【図2】図1に示したデータユニット1(EDCブロッ
ク)を示す図である。
FIG. 2 is a diagram showing a data unit 1 (EDC block) shown in FIG.

【図3】図1に示したECCブロックを示す図である。FIG. 3 is a diagram illustrating an ECC block illustrated in FIG. 1;

【図4】チェーンサーチ法を示す図である。FIG. 4 is a diagram illustrating a chain search method.

【図5】本発明にかかる誤り訂正装置の構成を示す図で
ある。
FIG. 5 is a diagram showing a configuration of an error correction device according to the present invention.

【図6】図5に示したEDC標準修正差分計算部の構成
を示す図である。
FIG. 6 is a diagram illustrating a configuration of an EDC standard corrected difference calculation unit illustrated in FIG. 5;

【図7】図5に示した第1のEDC修正差分計算部(1
4a)の構成を示す図である。
FIG. 7 is a diagram showing a first EDC correction difference calculating unit (1) shown in FIG.
It is a figure which shows the structure of 4a).

【図8】図5に示した第1のEDC修正差分計算部(1
4a)によるEDC修正差分算出の演算の方向を示す図
である。
FIG. 8 is a diagram showing a first EDC correction difference calculating unit (1) shown in FIG. 5;
It is a figure which shows the direction of the calculation of EDC correction difference calculation by 4a).

【図9】図5に示した第2のEDC修正差分計算部(1
4b)の構成を示す図である。
FIG. 9 is a diagram showing a second EDC correction difference calculating unit (1) shown in FIG. 5;
It is a figure which shows the structure of 4b).

【図10】図5に示したシンドローム修正差分計算部の
構成を示す図である。
FIG. 10 is a diagram illustrating a configuration of a syndrome correction difference calculation unit illustrated in FIG. 5;

【図11】誤り訂正装置のPI方向の処理を示す図であ
る。
FIG. 11 is a diagram showing processing in the PI direction of the error correction device.

【図12】図11に示した誤り訂正装置のステップ3
(Step3)の処理を示す図である
FIG. 12 shows a step 3 of the error correction apparatus shown in FIG.
It is a figure showing processing of (Step3).

【図13】図11に示した誤り訂正装置のステップ5
(Step5)の処理を示す図である。
FIG. 13 shows a step 5 of the error correction apparatus shown in FIG. 11;
It is a figure which shows the process of (Step5).

【図14】図11に示した誤り訂正装置のステップ6
(Step6)の処理を示す図である。
FIG. 14 is a diagram showing a step 6 of the error correction apparatus shown in FIG. 11;
It is a figure which shows the process of (Step6).

【図15】図11に示した誤り訂正装置のステップ7,
8(Step7,8)の処理を示す第1の図である。
FIG. 15 is a block diagram of the error correction device shown in FIG.
8 is a first diagram showing a process of Step 7 (Step 7, 8). FIG.

【図16】図11に示した誤り訂正装置のステップ7,
8(Step7,8)の処理を示す第2の図である。
FIG. 16 is a block diagram of the error correction device shown in FIG.
8 is a second diagram showing the process of Step 8 (Steps 7, 8). FIG.

【図17】図11に示した誤り訂正装置のステップ7,
8(Step7,8)の処理を示す第3の図である。
FIG. 17 is a diagram illustrating steps 7 and 8 of the error correction device illustrated in FIG. 11;
8 is a third diagram showing the process of Step 8 (Steps 7, 8). FIG.

【図18】図11に示した誤り訂正装置のステップ9
(Step9)の処理を示す図である。
FIG. 18 is a step 9 of the error correction device shown in FIG. 11;
It is a figure showing processing of (Step9).

【図19】図11に示した誤り訂正装置のステップ11
(Step11)の処理を示す図である。
FIG. 19 is a block diagram showing a step 11 of the error correction apparatus shown in FIG. 11;
It is a figure showing processing of (Step11).

【図20】誤り訂正装置(図5)のPO方向の処理を示
す図である。
20 is a diagram illustrating processing in the PO direction of the error correction device (FIG. 5).

【図21】図20に示した誤り訂正装置(図5)のED
C標準修正差分計算部(図6)のステップ100(St
ep100)における処理を示す図である。
21 shows the ED of the error correction device (FIG. 5) shown in FIG. 20;
Step 100 (St) of the C standard correction difference calculator (FIG. 6)
It is a figure which shows the process in (ep100).

【図22】図20に示した誤り訂正装置のステップ10
1(Step101)における処理を示す図である。
FIG. 22 is a diagram illustrating a step 10 of the error correction device illustrated in FIG. 20;
FIG. 2 is a diagram showing processing in 1 (Step 101).

【図23】図20に示した誤り訂正装置のステップ10
3(Step103)における処理を示す図である。
FIG. 23 is a step 10 of the error correction device shown in FIG. 20;
FIG. 3 is a diagram showing processing in Step 3 (Step 103).

【図24】図20に示した誤り訂正装置のステップ10
4(Step104)における処理を示す図である。
FIG. 24 is a diagram showing a step 10 of the error correction apparatus shown in FIG. 20;
FIG. 4 is a diagram showing processing in Step 4 (Step 104).

【図25】図20に示した誤り訂正装置のステップ10
7(Step107)における処理を示す図である。
FIG. 25 is a step 10 of the error correction device shown in FIG. 20;
FIG. 7 is a diagram showing processing in Step 7 (Step 107).

【図26】図20に示した誤り訂正装置の第1のEDC
修正差分計算部(14a(図7))のステップ107
(Step107)における処理を示す図である。
26 shows a first EDC of the error correction device shown in FIG.
Step 107 of the modified difference calculator (14a (FIG. 7))
It is a figure showing processing in (Step107).

【図27】図20に示した誤り訂正装置の第1のEDC
修正差分計算部(14a(図7))のステップ108
(Step108)における処理を示す図である。
FIG. 27 shows a first EDC of the error correction device shown in FIG.
Step 108 of the modified difference calculator (14a (FIG. 7))
It is a figure showing processing in (Step108).

【図28】図20に示した誤り訂正装置のステップ11
0(Step110)における処理を示す図である。
FIG. 28 is a flowchart showing the operation of the error correction apparatus shown in FIG.
It is a figure showing processing in 0 (Step110).

【図29】図20に示した誤り訂正装置のEDC標準修
正差分計算部(図6)のステップ111(Step11
1)における処理を示す図である。
FIG. 29 is a diagram showing a step 111 (Step 11) of the EDC standard correction difference calculator (FIG. 6) of the error correction device shown in FIG. 20;
It is a figure showing processing in 1).

【図30】図20に示した誤り訂正装置のステップ11
2(Step112)における処理を示す図である。
FIG. 30 is a step 11 of the error correction device shown in FIG.
FIG. 2 is a diagram showing a process in 2 (Step 112).

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

1・・・誤り訂正装置 10・・・誤り訂正ブロック 100・・・記憶装置 102・・・読み出し/書き込み制御部 104・・・シンドローム/EDC計算部 106・・・誤り位置多項式/誤り評価多項式導出部 108・・・誤り消失位置制御部 110・・・位置カウンタ 112・・・チェーンサーチ部 114・・・誤り大きさ計算部 116・・・訂正制御部 12・・・誤訂正検出ブロック 120・・・比較回路 122・・・誤訂正検出回路 124・・・比較回路 126・・・セレクタ 128・・・セレクタ 14a,14b・・・EDC修正差分計算部 16・・・EDC標準修正差分計算部 18・・・シンドローム修正差分計算 20・・・制御部 DESCRIPTION OF SYMBOLS 1 ... Error correction apparatus 10 ... Error correction block 100 ... Storage device 102 ... Read / write control part 104 ... Syndrome / EDC calculation part 106 ... Error position polynomial / error evaluation polynomial derivation Unit 108 Error erasure position control unit 110 Position counter 112 Chain search unit 114 Error magnitude calculation unit 116 Correction control unit 12 Error correction detection block 120 · Comparator circuit 122 ··· Erroneous correction detection circuit 124 ··· Comparator circuit 126 ··· Selector 128 ··· Selector 14a and 14b ··· EDC corrected difference calculator 16 ··· EDC standard corrected difference calculator 18 ..Syndrome correction difference calculation 20 ... Control unit

───────────────────────────────────────────────────── フロントページの続き (72)発明者 田村 哲也 神奈川県大和市下鶴間1623番地14 日本 アイ・ビー・エム株式会社 大和事業所 内 (72)発明者 出村 雅之 神奈川県大和市下鶴間1623番地14 日本 アイ・ビー・エム株式会社 大和事業所 内 (56)参考文献 特開2000−100086(JP,A) 特開2000−113607(JP,A) 特表2000−507434(JP,A) 国際公開98/35451(WO,A1) (58)調査した分野(Int.Cl.7,DB名) H03M 13/00 G06F 11/10 330 G11B 20/00 ──────────────────────────────────────────────────続 き Continued on the front page (72) Inventor Tetsuya Tamura 1623-14 Shimotsuruma, Yamato-shi, Kanagawa Prefecture IBM Japan Yamato Office (72) Inventor Masayuki Demura 1623 Shimotsuruma, Yamato-shi, Kanagawa No. 14 Japan Yamato Works, IBM Japan, Ltd. (56) References JP-A 2000-100086 (JP, A) JP-A 2000-113607 (JP, A) Table 2000-507434 (JP, A) International Publication 98/35451 (WO, A1) (58) Fields investigated (Int. Cl. 7 , DB name) H03M 13/00 G06F 11/10 330 G11B 20/00

Claims (5)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】誤り訂正の対象となるECCブロックに生
じた誤りを検出する誤り検出装置であって、前記ECC
ブロックは、それぞれ誤り検出符号(EDC)が付加さ
れた1つ以上のEDCブロックに対して、誤り訂正符号
(ECC)が付加されることにより生成され、 前記ECCブロックに含まれ、それぞれ前記ECCを含
むデータ系列それぞれに対して、データ系列それぞれに
含まれる前記ECCを用いて誤りの値を算出する誤り値
算出手段と、 前記データ系列の誤りの値が算出されるたびに、算出さ
れた誤りの値に応じて前記EDCのシンドロームの値を
修正するEDCシンドローム修正手段と、 修正された前記EDCのシンドロームに基づいて、前記
EDCブロックにおける誤りの発生を検出する誤り検出
手段とを有する誤り検出装置。
An error detecting apparatus for detecting an error occurring in an ECC block to be corrected, wherein said ECC block comprises:
The block is generated by adding an error correction code (ECC) to one or more EDC blocks to which an error detection code (EDC) is added, and is included in the ECC block. Error value calculating means for calculating an error value using the ECC included in each of the data sequences, for each of the included data sequences, each time the error value of the data sequence is calculated, An error detection device comprising: EDC syndrome correction means for correcting the value of the syndrome of the EDC according to a value; and error detection means for detecting occurrence of an error in the EDC block based on the corrected syndrome of the EDC.
【請求項2】前記EDCブロックは、1つ以上の行と1
つ以上の列から構成され、前記誤り訂正符号は、前記E
DCブロックの行または列それぞれに対して付加され、
前記データ系列は、それぞれ前記EDCブロックの1行
または1列、および、およびこのEDCブロックの1行
または1列に対して付加されたECCとを含み、 前記誤り値算出手段は、前記データ系列を1つずつ処理
して誤りの値を算出し、 前記EDCシンドローム修正手段は、所定のEDCシン
ドロームの初期値を、前記誤りの値が算出されるたび
に、順次、修正し、 前記誤り検出手段は、1つの前記EDCブロックに対応
するデータ系列に対する誤りの値の算出が終わるたび
に、前記修正されたEDCシンドロームに基づいて、当
該EDCブロックにおける誤りの発生を検出する請求項
1に記載の誤り検出装置。
2. The method of claim 1, wherein the EDC block comprises one or more rows and one or more rows.
One or more columns, wherein the error correction code is
Added to each row or column of the DC block,
The data sequence includes one row or one column of the EDC block, and an ECC added to one row or one column of the EDC block, respectively. The EDC syndrome correction means sequentially corrects the initial value of the predetermined EDC syndrome each time the error value is calculated, and the error detection means 2. The error detection according to claim 1, wherein each time calculation of an error value for a data sequence corresponding to one of the EDC blocks is completed, an error occurrence in the EDC block is detected based on the corrected EDC syndrome. apparatus.
【請求項3】前記EDCシンドローム修正手段は、 前記データ系列それぞれの一定の位置に一定の誤りが生
じている場合のEDCシンドロームを前記初期値とし、 算出された前記誤りの値に応じて、前記初期値を順次、
修正する請求項2に記載の誤り検出装置。
3. The EDC syndrome correcting means sets an EDC syndrome in a case where a certain error occurs at a certain position of each of the data sequences as the initial value, and according to the calculated error value, Initial values are sequentially
3. The error detection device according to claim 2, wherein the error is corrected.
【請求項4】前記EDCブロックそれぞれのEDCを算
出するEDC算出手段を有し、 前記誤り検出手段は、1つの前記EDCブロックに対応
するデータ系列に対する誤りの値の算出が終了するたび
に、前記算出されたEDCと、修正された前記EDCシ
ンドロームとを比較して、当該EDCブロックにおける
誤りの発生を検出する請求項3に記載の誤り検出装置。
4. An EDC calculating means for calculating an EDC of each of the EDC blocks, wherein the error detecting means sets the error value every time the calculation of an error value for a data sequence corresponding to one of the EDC blocks is completed. The error detection device according to claim 3, wherein the calculated EDC is compared with the corrected EDC syndrome to detect an occurrence of an error in the EDC block.
【請求項5】誤り訂正の対象となるECCブロックに生
じた誤りを検出する誤り検出方法であって、前記ECC
ブロックは、それぞれ誤り検出符号(EDC)が付加さ
れた1つ以上のEDCブロックに対して、誤り訂正符号
(ECC)が付加されることにより生成され、 前記ECCブロックに含まれ、それぞれ前記ECCを含
むデータ系列それぞれに対して、データ系列それぞれに
含まれる前記ECCを用いて誤りの値を算出し、 前記データ系列の誤りの値が算出されるたびに、算出さ
れた誤りの値に応じて前記EDCのシンドロームの値を
修正し、 修正された前記EDCのシンドロームに基づいて、前記
EDCブロックにおける誤りの発生を検出する誤り検出
方法。
5. An error detection method for detecting an error occurring in an ECC block to be corrected, wherein the ECC block comprises:
The block is generated by adding an error correction code (ECC) to one or more EDC blocks to which an error detection code (EDC) is added, and is included in the ECC block. For each of the included data sequences, an error value is calculated using the ECC included in each of the data sequences. Each time the error value of the data sequence is calculated, the error value is calculated according to the calculated error value. An error detection method for correcting a value of an EDC syndrome and detecting occurrence of an error in the EDC block based on the corrected EDC syndrome.
JP01346899A 1999-01-21 1999-01-21 Error detection apparatus and method Expired - Fee Related JP3272317B2 (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
JP01346899A JP3272317B2 (en) 1999-01-21 1999-01-21 Error detection apparatus and method
SG9906333A SG88766A1 (en) 1999-01-21 1999-12-10 Error-detecting device and method thereof
KR10-2000-0001683A KR100397095B1 (en) 1999-01-21 2000-01-14 Error-detecting device and method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP01346899A JP3272317B2 (en) 1999-01-21 1999-01-21 Error detection apparatus and method

Publications (2)

Publication Number Publication Date
JP2000224049A JP2000224049A (en) 2000-08-11
JP3272317B2 true JP3272317B2 (en) 2002-04-08

Family

ID=11833981

Family Applications (1)

Application Number Title Priority Date Filing Date
JP01346899A Expired - Fee Related JP3272317B2 (en) 1999-01-21 1999-01-21 Error detection apparatus and method

Country Status (3)

Country Link
JP (1) JP3272317B2 (en)
KR (1) KR100397095B1 (en)
SG (1) SG88766A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11525453B2 (en) 2017-03-08 2022-12-13 Robert Bosch Gmbh Bearing arrangement for a drive shaft of a turbo-machine, and a turbo-machine including such a bearing arrangement

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20060125692A (en) 2003-08-29 2006-12-06 마츠시타 덴끼 산교 가부시키가이샤 Error detection device and error detection method
KR100594241B1 (en) * 2004-01-29 2006-06-30 삼성전자주식회사 RS decoder circuit having forward Chien search type
KR100734307B1 (en) 2006-01-23 2007-07-02 삼성전자주식회사 Post-viterbi error correction method and apparatus for the same

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0341862B1 (en) * 1988-05-12 1996-01-10 Quantum Corporation Error location system
US5644695A (en) * 1994-01-03 1997-07-01 International Business Machines Corporation Array combinatorial decoding with multiple error and erasure detection and location using cyclic equivalence testing
US5745507A (en) * 1995-03-31 1998-04-28 International Business Machines Corporation Systematic symbol level ECC for use in digital memory systems
KR100213254B1 (en) * 1996-10-18 1999-08-02 윤종용 Error correction method and apparatus
KR19980065723A (en) * 1997-01-14 1998-10-15 김광호 Method and apparatus for processing data in digital video disc system
US5948117A (en) * 1997-01-23 1999-09-07 Quantum Corporation Modified Reed-Solomon error correction system using (W+i+1)-bit representations of symbols of GF(2w+i)
JPH1125616A (en) * 1997-06-27 1999-01-29 Toshiba Corp Data processor
US5996105A (en) * 1997-11-14 1999-11-30 Cirrus Logic, Inc. ECC system employing a data buffer for storing codeword data and a syndrome buffer for storing error syndromes
JPH11168392A (en) * 1997-12-04 1999-06-22 Toshiba Corp Data error correction device and data error correction method
JP2000090594A (en) * 1998-09-10 2000-03-31 Toshiba Corp Error detecting circuit and error detecting method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11525453B2 (en) 2017-03-08 2022-12-13 Robert Bosch Gmbh Bearing arrangement for a drive shaft of a turbo-machine, and a turbo-machine including such a bearing arrangement

Also Published As

Publication number Publication date
SG88766A1 (en) 2002-05-21
JP2000224049A (en) 2000-08-11
KR20000062472A (en) 2000-10-25
KR100397095B1 (en) 2003-09-06

Similar Documents

Publication Publication Date Title
US5920578A (en) Method and apparatus for efficiently processing a multi-dimensional code
US6048090A (en) Error correction and concurrent verification of a product code
JP2580304B2 (en) Data correction method and apparatus
US6003151A (en) Error correction and detection system for mass storage controller
US5027357A (en) ECC/CRC error detection and correction system
US5020060A (en) Error code correction device having a galois arithmetic unit
US5715262A (en) Errors and erasures correcting reed-solomon decoder
CN101047388B (en) Error correction apparatus
JP5043562B2 (en) Error correction circuit, method thereof, and semiconductor memory device including the circuit
JPH11249920A (en) Ecc system using data buffer for storage of code word data and syndrome buffer for storage of error syndrome
JP2008165808A (en) Error correction circuit and method for reducing miscorrection probability and semiconductor memory device including the circuit
US6725416B2 (en) Forward error correction apparatus and methods
JPH10112659A (en) Error correction decoding device
JP3281387B2 (en) CRC / EDC checker system
JP3272317B2 (en) Error detection apparatus and method
JP3170920B2 (en) Error correction method and correction circuit
US20080140740A1 (en) Systems and methods for processing data sets in parallel
JP3306413B2 (en) Error correction device and error correction method
US8788915B2 (en) Apparatuses and methods for encoding using error protection codes
KR100330642B1 (en) Error Correction Method and Error Correction Device
US7228467B2 (en) Correcting data having more data blocks with errors than redundancy blocks
JP3252515B2 (en) Error correction device
US20080104487A1 (en) Error detection apparatus and error detection method
JPH11282703A (en) Device and method for error correction
JPS638984Y2 (en)

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees