JP2000106530A - Error correction method and device - Google Patents

Error correction method and device

Info

Publication number
JP2000106530A
JP2000106530A JP10275516A JP27551698A JP2000106530A JP 2000106530 A JP2000106530 A JP 2000106530A JP 10275516 A JP10275516 A JP 10275516A JP 27551698 A JP27551698 A JP 27551698A JP 2000106530 A JP2000106530 A JP 2000106530A
Authority
JP
Japan
Prior art keywords
error correction
error
line
circuit
correction
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP10275516A
Other languages
Japanese (ja)
Other versions
JP3342422B2 (en
Inventor
Masato Fuma
正人 夫馬
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.)
Sanyo Electric Co Ltd
Original Assignee
Sanyo Electric Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sanyo Electric Co Ltd filed Critical Sanyo Electric Co Ltd
Priority to JP27551698A priority Critical patent/JP3342422B2/en
Publication of JP2000106530A publication Critical patent/JP2000106530A/en
Application granted granted Critical
Publication of JP3342422B2 publication Critical patent/JP3342422B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To fast detect and correct errors by detecting the error of a line that undergone the second correction of error after the second correction of error of another line set in the 1st direction and simultaneously with the second correction of error of the next line. SOLUTION: The 1st error correction is carried out in a certain error correction block by an ECC(error correction code) circuit 5 in the direction of an inside code parity PI. In other words, the errors of information symbols are successively corrected by the parity PI on every line in the PI direction. After these errors are corrected, the error correction is carried out by the circuit 5 in the direction of an outside code parity PO. After the error correction is over in the PO direction, the second error correction is carried out by the circuit 5 in the Pi direction. An EDC(error detection code) circuit 6 detects the errors in the PI direction in parallel to the 2nd error correction of the PI direction. That is, the errors of information symbols are successively checked on every line in the PI direction.

Description

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

【0001】[0001]

【発明の属する技術分野】この発明は、誤り訂正方法お
よびその装置に関し、さらに詳しくは、リード・ソロモ
ン符号を用いた誤り訂正方法およびその装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an error correction method and an apparatus therefor, and more particularly, to an error correction method using a Reed-Solomon code and an apparatus therefor.

【0002】[0002]

【従来の技術】CD(Compact Disc)、DVD(Digita
l Video Disc)、MO(Magneto Optic )などの光ディ
スク記録/再生装置、デジタル伝送システム、コンピュ
ータの周辺装置など、データをデジタルで伝送処理する
環境においては、ランダムエラーやバーストエラーなど
のデータエラーを低減するために、一般に誤り訂正符号
ECC(Error Correction Code )、誤り検出符号ED
C(Error Detection Code)などの冗長データを加え、
誤り訂正を行なっている。特に最近では、デジタルデー
タの受信再生側におけるデータ処理能力の向上に伴い、
高度な訂正能力を有する誤り訂正符号を用いるようにな
ってきている。このような誤り訂正符号の代表的なもの
として、符号長の大きいロングディスタンスコードのリ
ード・ソロモン符号を挙げることができる。
2. Description of the Related Art CD (Compact Disc), DVD (Digita
l In digital data transmission processing environments such as optical disc recording / reproducing devices such as Video Disc) and MO (Magneto Optic), digital transmission systems, and computer peripheral devices, data errors such as random errors and burst errors are reduced. In general, an error correction code ECC (Error Correction Code) and an error detection code ED
Add redundant data such as C (Error Detection Code)
Error correction is being performed. Especially recently, along with the improvement of the data processing capability on the receiving side of digital data,
An error correction code having a high correction capability has been used. A representative example of such an error correction code is a long distance Reed-Solomon code having a large code length.

【0003】リード・ソロモン符号を用いた誤り訂正方
法では、積符号化されたデジタルデータ(情報シンボ
ル)に対して誤り訂正符号を付加した誤り訂正ブロック
を用いる。誤り訂正ブロックは、より具体的には、情報
シンボルの縦方向に対して外符号のパリティ(PO)が
付加され、情報シンボルの横方向に対して内符号のパリ
ティ(PI)が付加されている。
An error correction method using Reed-Solomon codes uses an error correction block in which an error correction code is added to digital data (information symbols) that are product-coded. More specifically, the error correction block has an outer code parity (PO) added in the vertical direction of the information symbol and an inner code parity (PI) added in the horizontal direction of the information symbol. .

【0004】[0004]

【発明が解決しようとする課題】従来の誤り訂正装置
は、上記のような誤り訂正ブロックを蓄積したDRAM
(Dynamic Random Access Memory)に対してブロック単
位でアクセスを行なっている。すなわち、従来の誤り訂
正装置は、まずDRAMから誤り訂正ブロックのデータ
を読出して誤り訂正を行ない、その訂正したデータをD
RAMに書戻している(ECC処理)。誤り訂正装置
は、ECC処理後、再びDRAMから誤り訂正ブロック
のデータを読出して誤りの有無を検出すると同時にスク
ランブルを解除し、そのデータをDRAMに書戻してい
る(EDC/デスクランブル処理)。このように、従来
の誤り訂正装置は、DRAMに対するアクセス回数が多
く、リアルタイム性向上のボトルネックとなっていた。
A conventional error correction device is a DRAM which stores error correction blocks as described above.
(Dynamic Random Access Memory) is accessed in block units. That is, the conventional error correction device first reads the data of the error correction block from the DRAM and corrects the error.
Writing back to RAM (ECC process). After the ECC processing, the error correction device reads out the data of the error correction block from the DRAM again, detects the presence or absence of an error, and simultaneously descrambles the data, and writes the data back to the DRAM (EDC / descramble processing). As described above, the conventional error correction device has a large number of accesses to the DRAM, and has been a bottleneck for improving the real-time property.

【0005】この発明は、このような問題を解決するた
めになされたもので、高速で誤り訂正および誤り検出を
行なう誤り訂正方法およびその装置を提供することを目
的とする。
The present invention has been made to solve such a problem, and an object of the present invention is to provide an error correction method and apparatus for performing error correction and error detection at high speed.

【0006】この発明のもう1つの目的は、メモリへの
アクセス回数が少ない誤り訂正方法およびその装置を提
供することである。
Another object of the present invention is to provide an error correction method and an error correction method in which the number of accesses to a memory is small.

【0007】[0007]

【課題を解決するための手段】この発明の1つの局面に
従うと、積符号化された情報シンボルに対して第1およ
び第2の方向にそれぞれ第1および第2の誤り訂正符号
を付加してなる誤り訂正ブロックを用いた誤り訂正方法
は、第1の方向のラインごとに誤り訂正を行なうステッ
プと、第1の方向の誤り訂正後、第2の方向のラインご
とに誤り訂正を行なうステップと、第2の方向の誤り訂
正後、再び第1の方向のラインごとに誤り訂正を行なう
ステップと、第1の方向の1つのラインの再誤り訂正
後、その次のラインの再誤り訂正と同時に、再誤り訂正
後の1つのラインの誤りを検出するステップとを備え
る。
According to one aspect of the present invention, first and second error correction codes are added to product-coded information symbols in first and second directions, respectively. An error correction method using an error correction block comprises the steps of: performing error correction for each line in a first direction; and performing error correction for each line in a second direction after correcting the error in the first direction. Performing error correction again for each line in the first direction after error correction in the second direction, and simultaneously performing error correction for one line in the first direction and re-error correction for the next line at the same time. Detecting an error in one line after the re-error correction.

【0008】この誤り訂正方法では、1つのラインの誤
り訂正が終了すると、その次のラインの誤り訂正と並行
してその訂正したラインの誤り検出が行なわれる。その
ため、誤り訂正および誤り検出は高速で行なわれ、訂正
ブロックを蓄積しているメモリに対するアクセス回数が
少なくなる。
In this error correction method, when the error correction of one line is completed, the error detection of the corrected line is performed in parallel with the error correction of the next line. Therefore, error correction and error detection are performed at high speed, and the number of accesses to the memory storing the correction block is reduced.

【0009】この発明のもう1つの局面に従うと、積符
号化された情報シンボルに対して第1および第2の方向
にそれぞれ第1および第2の誤り訂正符号を付加してな
る誤り訂正ブロックを蓄積したメモリに接続される誤り
訂正装置は、誤り訂正回路と、誤り検出回路とを備え
る。誤り訂正回路は、第1の方向のラインごとに誤り訂
正を行ない、第1の方向の誤り訂正後、第2のラインご
とに誤り訂正を行ない、第2の方向の誤り訂正後、再び
第1の方向のラインごとに誤り訂正を行なう。誤り検出
回路は、誤り訂正回路による第1の方向の1つのライン
の再誤り訂正後、その次のラインの再誤り訂正と同時
に、再誤り訂正後の1つのラインの誤りを検出する。
According to another aspect of the present invention, an error correction block obtained by adding first and second error correction codes to product-coded information symbols in first and second directions, respectively, is provided. The error correction device connected to the stored memory includes an error correction circuit and an error detection circuit. The error correction circuit performs error correction for each line in the first direction, performs error correction in the first direction, performs error correction for each second line, performs error correction in the second direction, and again performs first error correction. Error correction is performed for each line in the direction of. The error detection circuit detects the error of one line after the re-error correction, simultaneously with the re-error correction of one line in the first direction by the error correction circuit.

【0010】好ましくは、誤り訂正回路は、第1および
第2の方向の誤り訂正の結果をメモリに供給し、かつ第
1の方向の再誤り訂正の結果を誤り検出回路に供給す
る。
Preferably, the error correction circuit supplies the results of the error correction in the first and second directions to the memory, and supplies the result of the re-error correction in the first direction to the error detection circuit.

【0011】この誤り訂正装置では、誤り訂正回路によ
り1つのラインの誤り訂正が終了すると、その次のライ
ンの誤り訂正と並行して、誤り検出回路によりその訂正
したラインの誤り検出が行なわれる。そのため、誤り訂
正および誤り検出が高速で行なわれる。また、誤り訂正
回路により再誤り訂正の結果がメモリを介さず誤り検出
回路に直接供給されるので、メモリに対するアクセス回
数が少なくなる。
In this error correction device, when the error correction of one line is completed by the error correction circuit, the error of the corrected line is detected by the error detection circuit in parallel with the error correction of the next line. Therefore, error correction and error detection are performed at high speed. Further, since the error correction circuit directly supplies the result of the re-error correction to the error detection circuit without passing through the memory, the number of accesses to the memory is reduced.

【0012】[0012]

【発明の実施の形態】以下、この発明の実施の形態によ
る誤り訂正装置を図面を参照して詳しく説明する。な
お、図中同一または相当部分には同一符号を付してその
説明は繰返さない。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, an error correction device according to an embodiment of the present invention will be described in detail with reference to the drawings. In the drawings, the same or corresponding portions have the same reference characters allotted, and description thereof will not be repeated.

【0013】図1は、この発明の実施の形態による誤り
訂正装置の全体構成を示すブロック図である。
FIG. 1 is a block diagram showing an entire configuration of an error correction device according to an embodiment of the present invention.

【0014】図1を参照して、誤り訂正LSI1は、D
RAM2およびCPU3に接続される。誤り訂正LSI
1は、復調回路4と、ECC回路5と、EDC回路6
と、デスクランブル回路7と、ホストインターフェイス
8と、アクセスコントローラ9とを備え、記録媒体から
読出されたデータの誤り訂正を行ない、その訂正したデ
ータをAVデコーダなどに供給する。なお、この誤り訂
正装置をデジタル通信に用いる場合、誤り訂正LSI1
は、ネットワークから伝送されたデータの誤り訂正を行
ない、その訂正したデータをパソコンなどに供給する。
Referring to FIG. 1, error correction LSI 1 has a D
Connected to RAM2 and CPU3. Error correction LSI
1 is a demodulation circuit 4, an ECC circuit 5, and an EDC circuit 6.
, A descramble circuit 7, a host interface 8, and an access controller 9 for correcting errors in data read from a recording medium, and supplying the corrected data to an AV decoder or the like. When this error correction device is used for digital communication, an error correction LSI 1
Performs error correction of data transmitted from the network and supplies the corrected data to a personal computer or the like.

【0015】復調回路4は、記録媒体から読出されたデ
ータを復調し、積符号データを、アクセスコントローラ
9を介してDRAM2に書込む。ECC回路5は、DR
AM2からアクセスコントローラ9を介してデータを読
出し、誤り訂正を行なった後、その訂正したデータのみ
をアクセスコントローラ9を介してDRAM2に書戻
す。ECC回路5は、後述するように2回目のPI方向
に訂正したデータをEDC回路6およびデスクランブル
回路7に供給する。EDC回路6は、ECC回路5から
供給されたデータの誤りを検出する。デスクランブル回
路7は、ECC回路5から供給されたデータのスクラン
ブルを解除した後、アクセスコントローラ9を介してそ
のデスクランブルしたデータをDRAM2に書戻す。ホ
ストインターフェイス8は、DRAM2からアクセスコ
ントローラ9を介してデータを読出し、AVデコーダな
どに供給する。アクセスコントローラ9は、復調回路
4、ECC回路5、デスクランブル回路7、およびホス
トインターフェイス8からのアクセス要求に対してアー
ビトレーション(仲裁)を行ない、予め定められた優先
順位に応じてDRAM2へのアクセスを許可する。
The demodulation circuit 4 demodulates data read from the recording medium, and writes product code data to the DRAM 2 via the access controller 9. The ECC circuit 5
After reading data from the AM 2 via the access controller 9 and performing error correction, only the corrected data is written back to the DRAM 2 via the access controller 9. The ECC circuit 5 supplies the data corrected in the second PI direction to the EDC circuit 6 and the descrambling circuit 7 as described later. The EDC circuit 6 detects an error in the data supplied from the ECC circuit 5. After descrambling the data supplied from the ECC circuit 5, the descrambling circuit 7 writes the descrambled data back to the DRAM 2 via the access controller 9. The host interface 8 reads data from the DRAM 2 via the access controller 9 and supplies the data to an AV decoder or the like. The access controller 9 performs arbitration (arbitration) for access requests from the demodulation circuit 4, the ECC circuit 5, the descrambling circuit 7, and the host interface 8, and performs access to the DRAM 2 according to a predetermined priority. To give permission.

【0016】DRAM2は、後述するような誤り訂正ブ
ロックを蓄積することができる。CPU3は、上記動作
を行なうように誤り訂正LSI1を制御する。
The DRAM 2 can store error correction blocks as described later. The CPU 3 controls the error correction LSI 1 to perform the above operation.

【0017】図2は、DRAM2に格納される誤り訂正
ブロックの構成を示す。図2を参照して、積符号化され
たm×nの情報シンボルに対して縦方向に外符号のパリ
ティPOが付加され、情報シンボルおよびPOパリティ
の横方向に内符号のパリティPIが付加される。PIパ
リティは横(PI)方向の演算により求められ、POパ
リティは縦(PO)方向の演算により求められる。PI
は、情報長=n、検査長=k(ただし、符号長(n+
k)は255以下)のリード・ソロモン符号である。P
Oは、情報長=m、検査長=l(ただし、符号長(m+
l)は255以下)のリード・ソロモン符号である。
FIG. 2 shows the configuration of the error correction block stored in the DRAM 2. Referring to FIG. 2, an outer code parity PO is added in the vertical direction to the product-coded m × n information symbol, and an inner code parity PI is added in the horizontal direction of the information symbol and the PO parity. You. The PI parity is obtained by a calculation in the horizontal (PI) direction, and the PO parity is obtained by a calculation in the vertical (PO) direction. PI
Is information length = n, inspection length = k (where code length (n +
k) is a Reed-Solomon code of 255 or less). P
O is information length = m, inspection length = 1 (where code length (m +
l) is a Reed-Solomon code of 255 or less).

【0018】ECCとEDCとの関係は、CD−ROM
フォーマットの場合、1セクタに対して1系列のEDC
を演算し、それに対して、1ブロックのECCの演算を
施すことになる。一般的には、セクタサイズは、512
/1024/2048バイト長になるので、リード・ソ
ロモン符号の符号効率を上げると、すなわち符号長が大
きくなると、図2の構成におけるm×nのサイズが大き
くなり、図3に示すように、1ブロックの中に複数のセ
クタを含むことができるようになる。各セクタの構成
は、上述のCD−ROMフォーマットの場合と同様に、
図4に示すように、同期信号、セクタアドレス、ユーザ
データ(512/1024/2048バイト)、EDC
/ECCなどから成り立っている。ここでEDCはセク
タ単位で形成されており、したがって1つのECCブロ
ックの中に複数のEDCが存在していることになる。
The relationship between ECC and EDC is based on CD-ROM
In the case of format, one series of EDC for one sector
, And an ECC operation of one block is performed on it. Generally, the sector size is 512
Since the code length becomes / 1024/2048 bytes, if the code efficiency of the Reed-Solomon code is increased, that is, if the code length is increased, the size of m × n in the configuration of FIG. 2 is increased, and as shown in FIG. A plurality of sectors can be included in a block. The configuration of each sector is the same as in the above-described CD-ROM format.
As shown in FIG. 4, a synchronization signal, a sector address, user data (512/1024/2048 bytes), EDC
/ ECC etc. Here, the EDC is formed in sector units, and therefore, a plurality of EDCs exist in one ECC block.

【0019】たとえばm=192で、m×nの情報シン
ボルが16のセクタに分割される場合、各セクタは12
ラインで構成される。したがって、1つの誤り訂正ブロ
ックの中に16個のEDCが存在していることになる。
For example, if m = 192 and m × n information symbols are divided into 16 sectors, each sector has 12 sectors.
Consists of lines. Therefore, 16 EDCs exist in one error correction block.

【0020】次に、上記のように構成された誤り訂正装
置の動作について説明する。図5は、誤り訂正装置のパ
イプライン動作を示すタイムチャートである。図5
(a)には1つの誤り訂正ブロックに対するECC処理
およびEDC処理が示されている。図5(b)にはPI
方向の2回目のECC処理およびこれに並行するEDC
処理の詳細がデータ入力ステージ(IN)およびデータ
出力ステージとともに示されている。
Next, the operation of the error correction device configured as described above will be described. FIG. 5 is a time chart showing a pipeline operation of the error correction device. FIG.
(A) shows ECC processing and EDC processing for one error correction block. FIG. 5B shows PI
ECC processing in the second direction and EDC parallel to this
The details of the process are shown with the data input stage (IN) and the data output stage.

【0021】まずデータ入力ステージでは、入力データ
が復調回路4により復調され、アクセスコントローラ9
を介してDRAM2に書込まれる。これにより、DRA
M2には図2に示した誤り訂正ブロックが1ラインごと
に格納される。
First, in the data input stage, input data is demodulated by the demodulation circuit 4 and the access controller 9
Is written to the DRAM 2 via the. As a result, DRA
The error correction block shown in FIG. 2 is stored in M2 for each line.

【0022】続いてECCステージでは、DRAM2に
格納されている誤り訂正ブロックに対してラインごとに
誤り訂正が行なわれる。
Subsequently, in the ECC stage, error correction is performed on the error correction block stored in the DRAM 2 line by line.

【0023】図5(a)に示すように、ある1つの誤り
訂正ブロックについては、ECC回路5によりまずPI
方向に1回目の誤り訂正が行なわれる。すなわち、PI
方向の1ラインごとに情報シンボルの誤りがPIパリテ
ィにより順次訂正される。PI方向の誤り訂正後、EC
C回路5によりPO方向に誤り訂正が行なわれる。すな
わち、PO方向の1ラインごとに情報シンボルの誤りが
POパリティにより順次訂正される。PO方向の誤り訂
正後、ECC回路5により再びPI方向の2回目の誤り
訂正が行なわれる。このPI方向の2回目の誤り訂正と
並行して、EDC回路6によりPI方向に誤り検出が行
なわれる。すなわち、PI方向の1ラインごとに情報シ
ンボルに誤りがないか順次チェックされる。このよう
に、ECC処理はPI方向→PO方向→PI方向という
順に誤り訂正を行なっており、EDC処理はこのPI方
向の2回目のECC処理と並行して行なわれる。
As shown in FIG. 5A, for one error correction block, first, the PI
The first error correction is performed in the direction. That is, PI
The error of the information symbol is sequentially corrected by the PI parity for each line in the direction. After error correction in PI direction, EC
Error correction is performed in the PO direction by the C circuit 5. That is, the error of the information symbol is sequentially corrected by the PO parity for each line in the PO direction. After the error correction in the PO direction, the ECC circuit 5 performs the second error correction in the PI direction again. In parallel with the second error correction in the PI direction, the EDC circuit 6 performs error detection in the PI direction. That is, the information symbols are sequentially checked for errors in each line in the PI direction. As described above, the ECC process performs error correction in the order of PI direction → PO direction → PI direction, and the EDC process is performed in parallel with the second ECC process in the PI direction.

【0024】いずれの方向のECC処理も、より具体的
には、図5(b)に示すように、シンドローム演算ステ
ージと、多項式演算ステージと、チェンサーチステージ
と、誤り訂正ステージとから構成される。ただし、PI
方向の2回目のECC処理時には図5(b)に示すよう
にEDC/デスクランブルステージが存在するが、PI
方向の1回目およびPO方向のECC処理時にはEDC
/デスクランブルステージは存在しない。
More specifically, the ECC processing in any direction is composed of a syndrome operation stage, a polynomial operation stage, a Chien search stage, and an error correction stage, as shown in FIG. . However, PI
During the second ECC processing in the direction, the EDC / descrambling stage exists as shown in FIG.
EDC during the first ECC processing in the PO direction and the ECC processing in the PO direction
/ There is no descramble stage.

【0025】ECC回路5は、まずPI方向の1ライン
分のデータをDRAM2から読出し、次式で定義される
シンドローム多項式S(x)の係数Sj を算出する。
The ECC circuit 5 first reads one line of data in the PI direction from the DRAM 2 and calculates a coefficient Sj of a syndrome polynomial S (x) defined by the following equation.

【0026】[0026]

【数1】 (Equation 1)

【0027】ここで、(1)式はシンドローム多項式の
係数Sj を表示し、(2)式はシンドローム多項式S
(x)そのものを表示している。(1)式におけるhi
は符号長、αはガロア体GF(28 )の元、Bi は符号
シンボル、tは最小距離を示す。
Here, equation (1) represents the coefficient S j of the syndrome polynomial, and equation (2) represents the syndrome polynomial S
(X) itself is displayed. Hi in equation (1)
Is the code length, α is the element of the Galois field GF (2 8 ), Bi is the code symbol, and t is the minimum distance.

【0028】次に、ECC回路5は、上述のシンドロー
ム多項式S(x)の係数S0 ,S1,…,S2t-1をもと
に、次式で定義される誤り位置多項式σ(x)および誤
り数値多項式ω(x)の係数を求める。
Next, based on the coefficients S 0 , S 1 ,..., S 2t-1 of the syndrome polynomial S (x), the ECC circuit 5 calculates an error location polynomial σ (x ) And the coefficient of the error numerical polynomial ω (x).

【0029】[0029]

【数2】 (Equation 2)

【0030】ここで、(3),(4)式は誤り位置多項
式σ(x)を表わし、(5),(6)式は誤り数値多項
式ω(x)を表わしている。ji (i=1,…,t−
1)は誤りロケーションを示す。
Here, equations (3) and (4) represent the error locator polynomial σ (x), and equations (5) and (6) represent the error numerical polynomial ω (x). j i (i = 1,..., t−
1) indicates an error location.

【0031】[0031]

【数3】 (Equation 3)

【0032】ここで、上述のシンドローム多項式の係数
(S2t-1,S2t-2,…,S0 )から、誤り位置多項式お
よび誤り数値多項式の係数を算出するための方法とし
て、ピーターンアルゴリズム、ユークリッドアルゴリズ
ムなどが考えられるが、いずれの方法を用いてもよい。
Here, as a method for calculating the coefficients of the error position polynomial and the error numerical polynomial from the coefficients (S 2t−1 , S 2t-2 ,..., S 0 ) of the syndrome polynomial, , Euclidean algorithm or the like, but any method may be used.

【0033】次に、ECC回路5は、誤りパターンを算
出する。(3),(4)式を満たすji はi個目の誤り
位置を表わしており、このjiに対して(7)式を計算
することにより、誤りパターンei が求められる。この
ようにσ(x)=0が成り立つか否かを判定してji
求める方法はチェンサーチ法として知られている。
Next, the ECC circuit 5 calculates an error pattern. J i that satisfies the expressions (3) and (4) represents the i-th error position. By calculating the expression (7) for the j i , the error pattern e i is obtained. The method of determining whether or not σ (x) = 0 holds to determine j i is known as the Chien search method.

【0034】一方、(8)式におけるσ′(x)はσ
(x)の形式微分を表わし、次式によって定義される。
On the other hand, σ ′ (x) in the equation (8) is
Represents the formal derivative of (x) and is defined by:

【0035】[0035]

【数4】 (Equation 4)

【0036】上記の(6),(7)および(8)式にお
ける次式に列挙する要素は、ECC回路5により生成さ
れる。
The elements listed in the following equations in the above equations (6), (7) and (8) are generated by the ECC circuit 5.

【0037】[0037]

【数5】 (Equation 5)

【0038】また、(9)式の誤りパターンei もEC
C回路5により生成される。そして、(7)式が成立す
る場合にのみ、情報シンボルの訂正が行なわれる。
The error pattern e i in equation (9) is also EC
Generated by the C circuit 5. Then, only when the equation (7) holds, the information symbol is corrected.

【0039】PI方向の2回目のECC処理において
は、より具体的には、ECC回路5がPI方向の第1ラ
インの誤り訂正を上記手順で行なった後、EDC回路6
が直ちにその訂正されたPI方向の第1ラインについて
EDC処理を行なう。この第1ラインのEDC処理は、
第2ラインのECC処理における誤り訂正と同時に行な
われる。
In the second ECC processing in the PI direction, more specifically, after the ECC circuit 5 corrects the error in the first line in the PI direction according to the above-described procedure, the EDC circuit 6
Immediately perform the EDC processing on the corrected first line in the PI direction. The EDC processing of this first line
This is performed simultaneously with the error correction in the ECC processing of the second line.

【0040】同様に、ECC回路5が第2ラインのEC
C処理を行なった後、EDC回路6は、直ちにその訂正
された第2ラインについてEDC処理を行なう。
Similarly, the ECC circuit 5 sets the EC of the second line to
After performing the C processing, the EDC circuit 6 immediately performs the EDC processing on the corrected second line.

【0041】このようにEDC回路6が11ラインのE
DC処理を行なうことにより、1セクタ分の1つのED
Cを求めることができる。このようにしてEDC回路6
が16個のEDCを求めることにより、誤り訂正ブロッ
ク1つ分のEDC処理が完了する。
As described above, the EDC circuit 6 has 11 lines of E lines.
By performing DC processing, one ED for one sector
C can be determined. Thus, the EDC circuit 6
Obtains 16 EDCs, thereby completing the EDC processing for one error correction block.

【0042】ここで、ECC回路5は、PI方向の第1
回目のECC処理およびPO方向のECC処理のため
に、DRAM2から1ラインごとにデータを読出した
り、あるいは1ラインごとにデータをDRAM2に書込
んだりするが、PI方向の第2回目のECC処理後のデ
ータについてはDRAM2に供給することなく、EDC
回路6に供給する。したがって、EDC回路6は、DR
AM2からデータを読出すのではなく、ECC回路5か
ら1ラインごとに供給されるECC処理後のデータにつ
いてEDC処理を行なう。
Here, the ECC circuit 5 performs the first operation in the PI direction.
For the second ECC process and the PO direction ECC process, data is read from the DRAM 2 line by line, or data is written to the DRAM 2 line by line, but after the second ECC process in the PI direction. Data is not supplied to the DRAM 2 and the EDC
Supply to circuit 6. Therefore, the EDC circuit 6
Instead of reading data from AM2, EDC processing is performed on data after ECC processing supplied for each line from ECC circuit 5.

【0043】なお、ECC回路5からEDC回路6に1
ラインごとに供給されるPI方向の2回目のECC処理
後のデータはデスクランブル回路7にも供給される。し
たがって、デスクランブル回路7は、EDC回路6と並
行してECC回路5から1ラインごとに供給されるデー
タのスクランブルを解除し、DRAM2に書込む。
It should be noted that 1 is sent from the ECC circuit 5 to the EDC circuit 6.
The data after the second ECC process in the PI direction supplied for each line is also supplied to the descramble circuit 7. Accordingly, the descrambling circuit 7 descrambles the data supplied line by line from the ECC circuit 5 in parallel with the EDC circuit 6, and writes the data into the DRAM 2.

【0044】以上のようにこの発明の実施の形態によれ
ば、PI方向の2回目のECC処理にEDC処理を多重
して行なっているため、PI方向の2回目のECC処理
終了後にEDC処理を開始する従来に比べて、高速に誤
り訂正および誤り検出を行なうことができる。
As described above, according to the embodiment of the present invention, since the EDC process is multiplexed with the second ECC process in the PI direction, the EDC process is performed after the end of the second ECC process in the PI direction. Error correction and error detection can be performed at a higher speed than in the conventional method.

【0045】また、PI方向の2回目のECC処理後の
データはECC回路5からDRAM2を介することなく
直接EDC回路6に供給されるため、DRAM2へのア
クセス回数を低減することができる。その結果、ECC
回路5やデスクランブル回路7以外からDRAM2への
アクセスが許可されやすくなり、より高速なリアルタイ
ム処理が可能となる。また、DRAM2へのアクセス回
数が減少するため、消費電力を低減することもできる。
Further, the data after the second ECC processing in the PI direction is directly supplied from the ECC circuit 5 to the EDC circuit 6 without passing through the DRAM 2, so that the number of accesses to the DRAM 2 can be reduced. As a result, ECC
Access to the DRAM 2 from other than the circuit 5 and the descramble circuit 7 is easily permitted, and higher-speed real-time processing can be performed. Further, since the number of accesses to the DRAM 2 is reduced, power consumption can be reduced.

【0046】今回開示された実施の形態はすべての点で
例示であって制限的なものではないと考えられるべきで
ある。本発明の範囲は上記した説明ではなくて特許請求
の範囲によって示され、特許請求の範囲と均等の意味お
よび範囲内でのすべての変更が含まれることが意図され
る。
The embodiments disclosed this time are to be considered in all respects as illustrative and not restrictive. The scope of the present invention is defined by the terms of the claims, rather than the description above, and is intended to include any modifications within the scope and meaning equivalent to the terms of the claims.

【0047】[0047]

【発明の効果】以上のようにこの発明によれば、第1の
方向の1つのラインの再誤り訂正後、その次のラインの
再誤り訂正と同時に、再誤り訂正後のラインの誤りを検
出しているため、高速に誤り訂正および誤り検出を行な
うことができ、メモリへのアクセス回数を低減すること
もできる。
As described above, according to the present invention, after the re-error correction of one line in the first direction, the re-error correction of the next line and the error of the line after the re-error correction are detected simultaneously. Therefore, error correction and error detection can be performed at high speed, and the number of accesses to the memory can be reduced.

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

【図1】この発明の実施の形態による誤り訂正装置の全
体構成を示すブロック図である。
FIG. 1 is a block diagram showing an overall configuration of an error correction device according to an embodiment of the present invention.

【図2】図1中のDRAMに格納される誤り訂正ブロッ
クの構成を示す図である。
FIG. 2 is a diagram showing a configuration of an error correction block stored in a DRAM in FIG. 1;

【図3】図2中のm×nの情報シンボルにおけるセクタ
の構成を示す図である。
FIG. 3 is a diagram showing a configuration of a sector in an m × n information symbol in FIG. 2;

【図4】図3中の各セクタのフォーマットを示す図であ
る。
FIG. 4 is a diagram showing a format of each sector in FIG. 3;

【図5】図1に示した誤り訂正装置のパイプライン動作
を示すタイムチャートである。
FIG. 5 is a time chart showing a pipeline operation of the error correction device shown in FIG. 1;

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

1 誤り訂正LSI 2 DRAM 5 ECC回路 6 EDC回路 DESCRIPTION OF SYMBOLS 1 Error correction LSI 2 DRAM 5 ECC circuit 6 EDC circuit

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 積符号化された情報シンボルに対して第
1および第2の方向にそれぞれ第1および第2の誤り訂
正符号を付加してなる誤り訂正ブロックを用いた誤り訂
正方法であって、 前記第1の方向のラインごとに誤り訂正を行なうステッ
プと、 前記第1の方向の誤り訂正後、前記第2の方向のライン
ごとに誤り訂正を行なうステップと、 前記第2の方向の誤り訂正後、再び前記第1の方向のラ
インごとに誤り訂正を行なうステップと、 前記第1の方向の1つのラインの再誤り訂正後、その次
のラインの再誤り訂正と同時に、前記再誤り訂正後の1
つのラインの誤りを検出するステップとを備える、誤り
訂正方法。
1. An error correction method using an error correction block obtained by adding first and second error correction codes to a product-coded information symbol in first and second directions, respectively. Performing error correction for each line in the first direction; performing error correction for each line in the second direction after correcting the error in the first direction; After the correction, performing the error correction again for each line in the first direction, and after the re-error correction of one line in the first direction, simultaneously with the re-error correction of the next line, The last one
Detecting an error in two lines.
【請求項2】 積符号化された情報シンボルに対して第
1および第2の方向にそれぞれ第1および第2の誤り訂
正符号を付加してなる誤り訂正ブロックを蓄積したメモ
リに接続される誤り訂正装置であって、 前記第1の方向のラインごとに誤り訂正を行ない、前記
第1の方向の誤り訂正後、前記第2の方向のラインごと
に誤り訂正を行ない、前記第2の方向の誤り訂正後、再
び前記第1の方向のラインごとに誤り訂正を行なう誤り
訂正回路と、 前記誤り訂正回路による前記第1の方向の1つのライン
の再誤り訂正後、その次のラインの再誤り訂正と同時
に、前記再誤り訂正後の1つのラインの誤りを検出する
誤り検出回路とを備える、誤り訂正装置。
2. An error connected to a memory storing an error correction block obtained by adding first and second error correction codes to a product-coded information symbol in first and second directions, respectively. A correction device for performing error correction for each line in the first direction, performing error correction for each line in the second direction after correcting the error in the first direction, and performing error correction for each line in the second direction. An error correction circuit for performing error correction again for each line in the first direction after the error correction, and a re-error for the next line after the error correction circuit corrects one line in the first direction again by the error correction circuit. And an error detection circuit for detecting an error of one line after the re-error correction at the same time as the correction.
【請求項3】 前記誤り訂正回路は、前記第1および第
2の方向の誤り訂正の結果を前記メモリに供給し、かつ
前記第1の方向の再誤り訂正の結果を前記誤り検出回路
に供給する、請求項2に記載の誤り訂正装置。
3. The error correction circuit supplies a result of the error correction in the first and second directions to the memory, and supplies a result of the re-error correction in the first direction to the error detection circuit. The error correction device according to claim 2, wherein
JP27551698A 1998-09-29 1998-09-29 Error correction method and device Expired - Fee Related JP3342422B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP27551698A JP3342422B2 (en) 1998-09-29 1998-09-29 Error correction method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP27551698A JP3342422B2 (en) 1998-09-29 1998-09-29 Error correction method and device

Publications (2)

Publication Number Publication Date
JP2000106530A true JP2000106530A (en) 2000-04-11
JP3342422B2 JP3342422B2 (en) 2002-11-11

Family

ID=17556566

Family Applications (1)

Application Number Title Priority Date Filing Date
JP27551698A Expired - Fee Related JP3342422B2 (en) 1998-09-29 1998-09-29 Error correction method and device

Country Status (1)

Country Link
JP (1) JP3342422B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6772385B2 (en) 2000-01-31 2004-08-03 Sanyo Electric Co., Ltd. Error-correcting device and decoder enabling fast error correction with reduced circuit scale
US6802040B1 (en) 1999-11-24 2004-10-05 Sanyo Electric Co., Ltd. Error correction device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6802040B1 (en) 1999-11-24 2004-10-05 Sanyo Electric Co., Ltd. Error correction device
US6772385B2 (en) 2000-01-31 2004-08-03 Sanyo Electric Co., Ltd. Error-correcting device and decoder enabling fast error correction with reduced circuit scale
US7181483B2 (en) 2000-01-31 2007-02-20 Sanyo Electric Co., Ltd. Error-correcting device and decoder enabling fast error correction with reduced circuit scale

Also Published As

Publication number Publication date
JP3342422B2 (en) 2002-11-11

Similar Documents

Publication Publication Date Title
KR100415136B1 (en) Meth0d and apparatus for c0rrecting data errors
KR100430657B1 (en) Signal processor for correcting and detecting errors
JP3239863B2 (en) Data decoding processing apparatus and method
US6983413B2 (en) Data processing method using error-correcting code and an apparatus using the same method
US6378103B1 (en) Apparatus and method for error correction in optical disk system
JPH11249920A (en) Ecc system using data buffer for storage of code word data and syndrome buffer for storage of error syndrome
JPH10117148A (en) System for correcting error in data frame having vertical and lateral parity codes
US6742157B2 (en) Decoding system and method in an optical disk storage device
US6742156B2 (en) Decoding system and method in an optical disk storage device
JP2001243729A (en) Method and device for accessing dvd data
JP4624348B2 (en) Error correction method for Reed-Solomon product code
US7000172B2 (en) Decoding system and method in an optical disk storage device
JP3342422B2 (en) Error correction method and device
KR19980065723A (en) Method and apparatus for processing data in digital video disc system
JP2000114983A (en) Method and device for correcting error
KR100209676B1 (en) Error correction apparatus and method
US7213190B2 (en) Data processing apparatus and method
JP3519684B2 (en) Data processing device using error correction code
JP3583905B2 (en) Error correction device
JP3619151B2 (en) Data processing method using error correction code and apparatus using the method
JP3609714B2 (en) Error correction device
JPH0555926A (en) Error correction device
JP2001237715A (en) Decoder
JP2004087018A (en) Error correcting method and error correcting device
JPS63255876A (en) Method for detecting code error

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20020730

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

Free format text: PAYMENT UNTIL: 20070823

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20080823

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20090823

Year of fee payment: 7

LAPS Cancellation because of no payment of annual fees