JPH0637648A - Error correcter - Google Patents

Error correcter

Info

Publication number
JPH0637648A
JPH0637648A JP19060992A JP19060992A JPH0637648A JP H0637648 A JPH0637648 A JP H0637648A JP 19060992 A JP19060992 A JP 19060992A JP 19060992 A JP19060992 A JP 19060992A JP H0637648 A JPH0637648 A JP H0637648A
Authority
JP
Japan
Prior art keywords
circuit
error
syndrome
data
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.)
Pending
Application number
JP19060992A
Other languages
Japanese (ja)
Inventor
Hiroo Okamoto
宏夫 岡本
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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP19060992A priority Critical patent/JPH0637648A/en
Publication of JPH0637648A publication Critical patent/JPH0637648A/en
Pending legal-status Critical Current

Links

Landscapes

  • Error Detection And Correction (AREA)

Abstract

PURPOSE:To operate an error correction processing for a period of time equivalent to a data inputting and outputting period of time, and to shorten a processing period of time by independently operating a syndrome preparation, correction data writing, chain search, and arithmetic processing in parallel. CONSTITUTION:Data of one system are inputted from a data input and output terminal 8 synchronously with a start signal 9. A syndrome is prepared by a syndrome preparing circuit 1, and the preparation of the syndrome is operated synchronously with the input of the data. The prepared syndrome is read in a storage circuit 5, and the calculation of an error position polynomial is operated by an arithmetic circuit 4. The calculated error position polynomial is inputted to a chain search circuit 3, the detection of the error position is operated, the detected error position is read in the storage circuit 5, and the calculation of the error value is operated by the arithmetic circuit 4. The calculated result is outputted to a correction data writing circuit 2, and the correction of the data is operated through the input and output terminal 8. Thus, the error correction processing time can be shortened without increasing a circuit scale.

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 device for decoding a Reed-Solomon code using a Chien search to correct an error.

【0002】[0002]

【従来の技術】磁気テープや光ディスク等のディジタル
信号記録再生装置では、記録媒体上のドロップアウト等
によって発生するデータ誤りを訂正するために、誤り訂
正符号を用いている。特に、リードソロモン符号は、誤
り訂正能力が優れており、多くのシステムで用いられて
いる。近年は、記録密度の向上に伴い、誤り訂正能力の
大きい、すなわち、最小距離の大きいリードソロモン符
号が用いられてきている。
2. Description of the Related Art In a digital signal recording / reproducing apparatus such as a magnetic tape or an optical disk, an error correction code is used to correct a data error caused by a dropout on a recording medium. In particular, the Reed-Solomon code has excellent error correction capability and is used in many systems. In recent years, with the improvement of recording density, Reed-Solomon code having a large error correction capability, that is, a large minimum distance has been used.

【0003】従来、最小距離の大きい符号の復号を行う
場合は、電子情報通信学会技術研究報告IT88−65
(1988年11月)に記載のように、シンドローム生
成及びチェンサーチを専用の回路で行い、その他の演算
はマイクロプログラムで行う方式が用いられていた。こ
の方式は、回路規模が小さいという特徴があるが、図3
に示すように、シンドローム生成、誤り多項式の計算、
チェンサーチ、誤り値の計算を順次行うため、処理時間
が長くなるという問題がある。
Conventionally, when decoding a code with a large minimum distance, the Institute of Electronics, Information and Communication Engineers Technical Report IT88-65.
As described in (November, 1988), a method in which syndrome generation and chain search are performed by a dedicated circuit and other operations are performed by a microprogram has been used. This method is characterized in that the circuit scale is small.
As shown in, syndrome generation, error polynomial calculation,
Since the chain search and the calculation of the error value are sequentially performed, there is a problem that the processing time becomes long.

【0004】[0004]

【発明が解決しようとする課題】本発明の目的は、上記
した従来技術の問題を解決し、処理時間が短く、かつ、
回路規模の小さい誤り訂正装置を提供することにある。
SUMMARY OF THE INVENTION An object of the present invention is to solve the above problems of the prior art, to shorten the processing time, and
It is to provide an error correction device having a small circuit scale.

【0005】[0005]

【課題を解決するための手段】上記目的は、シンドロー
ム生成回路、チェンサーチ回路及び演算回路を独立に動
作できるようにし、それぞれの処理を並行して行うこと
により達成できる。
The above object can be achieved by allowing the syndrome generation circuit, the Chien search circuit and the arithmetic circuit to operate independently and performing the respective processes in parallel.

【0006】[0006]

【作用】シンドローム生成回路は、データの入力に同期
してシンドロームの生成を行う。演算回路は、シンドロ
ームの生成と並行して、前のタイミングで生成されたシ
ンドロームより誤り位置多項式の計算を行い、その結果
をチェンサーチ回路に入力する。そして、チェンサーチ
回路で誤り位置の検出を行うと同時に、演算回路で前の
タイミングで検出された誤り位置により誤り値の計算を
行う。これにより、回路規模を大きくすることなく誤り
訂正処理時間を短くすることができる。
The function of the syndrome generation circuit is to generate the syndrome in synchronization with the input of data. The arithmetic circuit calculates the error locator polynomial from the syndrome generated at the previous timing in parallel with the generation of the syndrome, and inputs the result to the Chien search circuit. Then, the Chien search circuit detects the error position, and at the same time, the arithmetic circuit calculates the error value from the error position detected at the previous timing. As a result, the error correction processing time can be shortened without increasing the circuit scale.

【0007】[0007]

【実施例】以下、本発明の実施例を図面を用いて説明す
る。
Embodiments of the present invention will be described below with reference to the drawings.

【0008】図1は本発明の一実施例を示すブロック図
である。1は入力データよりシンドロームを生成するシ
ンドローム生成回路、2は演算結果によってデータの訂
正を行う訂正データ書込回路、3は誤り位置多項式より
誤り位置の検出を行うチェンサーチ回路、4は誤り位置
多項式及び誤り値の計算を行う演算回路、5は演算結果
等を一時記憶しておく記憶回路、6はマイクロプログラ
ムにより演算回路4及び記憶回路5を制御して所定の演
算を行うプログラム制御回路、7は各回路の動作タイミ
ングを制御するタイミング生成回路である。また、8は
データの入出力端子、9は訂正処理動作の基準となるス
タート信号の入力端子、10は動作クロックの入力端子
である。データ入出力端子8からは、スタート信号9に
同期して1系列のデータが入力される。そして、シンド
ローム生成回路1によってシンドロームを生成する。こ
のシンドロームの生成は、データの入力と同時に行われ
る。生成されたシンドロームは記憶回路5に読み込ま
れ、演算回路4によって誤り位置多項式の計算を行う。
計算された誤り位置多項式は、チェンサーチ回路3に入
力され、誤り位置の検出が行われる。検出された誤り位
置は、記憶回路5に読み込まれ、演算回路4によって誤
り値の計算が行われ、訂正データ書込回路2に入力され
る。そして、データ入出力端子8を介してデータの訂正
を行う。
FIG. 1 is a block diagram showing an embodiment of the present invention. Reference numeral 1 is a syndrome generation circuit that generates a syndrome from input data, 2 is a correction data writing circuit that corrects data according to an operation result, 3 is a Chien search circuit that detects an error position from an error position polynomial, and 4 is an error position polynomial. And an arithmetic circuit for calculating an error value, 5 is a memory circuit for temporarily storing the arithmetic result and the like, 6 is a program control circuit for controlling the arithmetic circuit 4 and the memory circuit 5 by a micro program to perform a predetermined arithmetic operation, 7 Is a timing generation circuit for controlling the operation timing of each circuit. Reference numeral 8 is a data input / output terminal, 9 is an input terminal for a start signal which serves as a reference for correction processing operation, and 10 is an input terminal for an operation clock. One series of data is input from the data input / output terminal 8 in synchronization with the start signal 9. Then, the syndrome generation circuit 1 generates a syndrome. The generation of this syndrome is performed at the same time as the data input. The generated syndrome is read into the memory circuit 5, and the arithmetic circuit 4 calculates the error locator polynomial.
The calculated error locator polynomial is input to the Chien search circuit 3 and the error position is detected. The detected error position is read into the memory circuit 5, the error value is calculated by the arithmetic circuit 4, and the error value is input to the correction data writing circuit 2. Then, the data is corrected via the data input / output terminal 8.

【0009】図2は訂正処理タイミングを示すタイミン
グ図である。11のタイミングで入力されたデータは、
入力に同期してシンドロームが生成される。そして、1
2のタイミングで誤り位置多項式の計算(演算1)、1
3のタイミングでチェンサーチによる誤り位置の検出、
14のタイミングで誤り値の計算(演算2)を行い、1
5のタイミングでデータの訂正を行う。
FIG. 2 is a timing chart showing the correction processing timing. The data input at timing 11 is
Syndrome is generated in synchronization with the input. And 1
Calculation of error locator polynomial at timing 2 (operation 1), 1
Detection of error position by chain search at timing 3
The error value is calculated (operation 2) at the timing of 14 and 1
The data is corrected at the timing of 5.

【0010】シンドローム生成回路1では、生成したシ
ンドロームを記憶回路5に転送した時点で1系列の処理
が終了するため、引き続き次のスタート信号より次の系
列のシンドロームの生成を行う。演算回路4では、誤り
位置多項式の結果をチェンサーチ回路に出力した時点で
演算1の処理が終了するため、引き続き前のタイミング
でチェンサーチ回路3で検出した誤り位置を用いて前の
系列の誤り値の計算を行う。チェンサーチ回路3では、
誤り位置の検出結果を記憶回路5に転送した時点で1系
列の処理が終了するため、引き続き次の系列の誤り位置
の検出を行う。
In the syndrome generation circuit 1, the processing of one series is completed at the time when the generated syndrome is transferred to the storage circuit 5, so that the syndrome of the next series is continuously generated from the next start signal. In the arithmetic circuit 4, since the processing of the operation 1 ends at the time when the result of the error locator polynomial is output to the Chien search circuit, the error in the previous sequence is continuously used by using the error position detected by the Chien search circuit 3 at the previous timing. Calculate the value. In the chain search circuit 3,
At the time when the error position detection result is transferred to the storage circuit 5, the processing of one series is completed, so that the error position of the next series is continuously detected.

【0011】このように、データの入出力(シンドロー
ム生成及びデータの訂正)、演算及びチェンサーチを独
立に並行して行うことにより、データを入出力時間と同
等の時間で誤り訂正処理を行うことができる。なお、演
算1及び2の実行時間がデータの入出力時間より長くな
るようであれば、演算時間に合わせてスタート信号の間
隔を長くしてやればよい。
As described above, by performing data input / output (syndrome generation and data correction), calculation, and chain search independently and in parallel, data is error-corrected in a time equivalent to the input / output time. You can If the execution time of the operations 1 and 2 is longer than the data input / output time, the interval of the start signal may be increased according to the operation time.

【0012】図4は、プログラム制御回路6における演
算制御フローである。演算は、データ入力の終了した時
点より開始される。まず、シンドローム生成回路1で生
成されたシンドロームデータを記憶回路5に転送し、そ
れを用いて誤り位置多項式の計算を行う。次に、チェン
サーチ回路3において前の系列の誤り位置の検出が終了
したかどうかの確認を行い、終了していれば、検出結果
の記憶回路5への転送及び誤り位置多項式の計算結果の
チェンサーチ回路3への転送を行い、チェンサーチ回路
3へ誤り位置検出動作の開始命令を発行する。そして、
前の系列の誤り位置の検出結果を用いて誤り値の計算を
行い、その結果を訂正データ書込回路2に出力する。
FIG. 4 is a calculation control flow in the program control circuit 6. The calculation is started when the data input is completed. First, the syndrome data generated by the syndrome generation circuit 1 is transferred to the storage circuit 5, and the error locator polynomial is calculated using the data. Next, the Chien search circuit 3 confirms whether or not the detection of the error position of the previous sequence is completed. If it is completed, the detection result is transferred to the storage circuit 5 and the chain of the error position polynomial calculation result is confirmed. The transfer to the search circuit 3 is performed, and an instruction to start the error position detection operation is issued to the chain search circuit 3. And
An error value is calculated using the detection result of the error position of the previous series, and the result is output to the correction data writing circuit 2.

【0013】図5は、シンドローム生成回路1の一実施
例である。16は加算回路、17はラッチ回路、18は
係数乗算回路である。ラッチ回路17をリセットした後
に、データ入力に同期して動作させることにより、シン
ドロームを生成することができる。なお、ここでは1個
のシンドロームを生成する回路を示しているが、実際に
は、乗算する係数の異なる複数個の回路を使用する。例
えば、符号の最小距離が7の時は、6個の回路を使用す
る。
FIG. 5 shows an embodiment of the syndrome generation circuit 1. Reference numeral 16 is an addition circuit, 17 is a latch circuit, and 18 is a coefficient multiplication circuit. The syndrome can be generated by operating the latch circuit 17 in synchronization with the data input after resetting the latch circuit 17. Although a circuit for generating one syndrome is shown here, a plurality of circuits with different coefficients to be multiplied are actually used. For example, when the minimum code distance is 7, 6 circuits are used.

【0014】図6は、シンドローム生成回路1の他の実
施例である。図6では、生成したシンドロームを記憶し
ておくラッチ回路23を設けることにより、図4のフロ
ーにおいてシンドローム生成回路1で生成されたシンド
ロームデータの記憶回路5への転送を省略できる。
FIG. 6 shows another embodiment of the syndrome generation circuit 1. In FIG. 6, by providing the latch circuit 23 for storing the generated syndrome, the transfer of the syndrome data generated by the syndrome generation circuit 1 to the storage circuit 5 in the flow of FIG. 4 can be omitted.

【0015】図7は、訂正データ書込回路2の一実施例
である。24は誤り値を記憶しておくラッチ回路、25
は訂正前のデータをラッチするラッチ回路、26は加算
回路、27は出力制御付きのバッファである。演算回路
4において誤り値の演算が終了した時点で、その結果を
ラッチ24にラッチし、記憶しておく。データの訂正
は、まず、訂正を行うデータをラッチ25に入力し、そ
のデータとラッチ24に記憶されている誤り値を加算回
路26で加算することにより訂正データを生成し、バッ
ファ27を介して出力することにより行う。なお、訂正
するデータが複数個ある時には、ラッチ24をその数だ
け用意しておけばよい。
FIG. 7 shows an embodiment of the correction data writing circuit 2. 24 is a latch circuit for storing an error value, 25
Is a latch circuit for latching uncorrected data, 26 is an adder circuit, and 27 is a buffer with output control. When the calculation of the error value is completed in the arithmetic circuit 4, the result is latched in the latch 24 and stored. To correct the data, first, the data to be corrected is input to the latch 25, the data and the error value stored in the latch 24 are added by the adder circuit 26 to generate the corrected data, and the corrected data is generated via the buffer 27. This is done by outputting. When there are a plurality of pieces of data to be corrected, the number of latches 24 may be prepared.

【0016】図8は、チェンサーチ回路3の3ワード訂
正を行う場合の一実施例である。33はラッチ回路、3
4は係数乗算回路、35は加算回路、36はラッチ回路
33を制御する制御回路、37は検出した誤り位置を記
憶しておくレジスタ、38は出力制御付きのバッファで
ある。まず、演算回路4において誤り一多項式の演算が
終了した時点で、その多項式の各次数の係数を対応した
ラッチ33にラッチする。次に、ラッチ33の入力を係
数乗算回路34に切り換え、1系列の符号の符号長だけ
ラッチを繰り返す。この時、制御回路36において加算
回路35の出力を監視しておき、その値が1になった時
のラッチ数を誤り位置としてレジスタ37に記憶してお
く。そして、処理が終了した後に、プログラム制御回路
6からの要求に応じてレジスタ37に記憶されている値
をバッファ38を介して出力する。
FIG. 8 shows an embodiment in which the Chien search circuit 3 corrects three words. 33 is a latch circuit, 3
4 is a coefficient multiplication circuit, 35 is an addition circuit, 36 is a control circuit for controlling the latch circuit 33, 37 is a register for storing the detected error position, and 38 is a buffer with output control. First, when the calculation of the error one polynomial is completed in the arithmetic circuit 4, the coefficient of each degree of the polynomial is latched in the corresponding latch 33. Next, the input of the latch 33 is switched to the coefficient multiplying circuit 34, and the latch is repeated for the code length of one series of codes. At this time, the control circuit 36 monitors the output of the adder circuit 35 and stores the number of latches when the value becomes 1 in the register 37 as an error position. After the processing is completed, the value stored in the register 37 is output via the buffer 38 in response to the request from the program control circuit 6.

【0017】[0017]

【発明の効果】以上の説明のように、本発明によれば、
シンドローム生成回路、チェンサーチ回路及び演算回路
を独立に動作できるようにし、それぞれの処理を並行し
て行うことにより、データを入出力時間と同等の時間で
誤り訂正処理を行うことができ、特別な回路を設けるこ
となく処理時間を短縮することができる。
As described above, according to the present invention,
By enabling the syndrome generation circuit, the Chien search circuit, and the arithmetic circuit to operate independently, and performing the respective processes in parallel, it is possible to perform error correction processing on the data in a time equivalent to the input / output time. The processing time can be shortened without providing a circuit.

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

【図1】本発明の一実施例を示すブロック図である。FIG. 1 is a block diagram showing an embodiment of the present invention.

【図2】図1の実施例の動作タイミングを示す図であ
る。
FIG. 2 is a diagram showing an operation timing of the embodiment of FIG.

【図3】誤り訂正処理の動作フローを示す図である。FIG. 3 is a diagram showing an operation flow of error correction processing.

【図4】プログラム制御回路の動作フローを示す図であ
る。
FIG. 4 is a diagram showing an operation flow of a program control circuit.

【図5】シンドローム生成回路の一実施例を示す図であ
る。
FIG. 5 is a diagram showing an embodiment of a syndrome generation circuit.

【図6】シンドローム生成回路の他の実施例を示す図で
ある。
FIG. 6 is a diagram showing another embodiment of the syndrome generation circuit.

【図7】訂正データ書込回路の一実施例を示す図であ
る。
FIG. 7 is a diagram showing an embodiment of a correction data writing circuit.

【図8】チェンサーチ回路の一実施例を示す図である。FIG. 8 is a diagram showing an embodiment of a chain search circuit.

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

1…シンドローム生成回路、2…訂正データ書込回路、
3…チェンサーチ回路、4…演算回路、5…記憶回路、
6…プログラム制御回路。
1 ... syndrome generation circuit, 2 ... correction data writing circuit,
3 ... Chien search circuit, 4 ... Arithmetic circuit, 5 ... Memory circuit,
6 ... Program control circuit.

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】入力データよりシンドロームを生成するシ
ンドローム生成回路と、前記シンドロームより誤り位置
多項式及び誤り値を演算する演算回路と、前記誤り位置
多項式より誤り値を検出するチェンサーチ回路と、前記
誤り値によりデータ中の誤りを訂正する訂正回路よりな
り、前記シンドローム生成回路及び訂正回路はデータの
入出力と同期して動作し、前記演算回路及び前記チェン
サーチ回路はそれぞれ前記シンドローム生成回路及び訂
正回路の動作と並行して動作することを特徴とする誤り
訂正装置。
1. A syndrome generation circuit for generating a syndrome from input data, an arithmetic circuit for calculating an error locator polynomial and an error value from the syndrome, a Chien search circuit for detecting an error value from the error locator polynomial, and the error. The syndrome generation circuit and the correction circuit operate in synchronization with the input / output of data, and the arithmetic circuit and the Chien search circuit respectively include the syndrome generation circuit and the correction circuit. An error correction device which operates in parallel with the above operation.
【請求項2】前記シンドローム生成回路は、生成したシ
ンドロームを出力した後に引き続いて次の系列のシンド
ロームの生成を行い、前記演算回路は、シンドロームが
生成された時点より誤り位置多項式の演算を行い、それ
が終了した時点で演算結果を前記チェンサーチ回路に出
力し、引き続いて前記チェンサーチ回路で検出された前
の系列の誤り位置を用いて誤り値の演算を行って前記訂
正回路に出力し、前記チェンサーチ回路は、検出した誤
り位置を出力すると同時に次の系列の誤り位置多項式を
入力して次の系列の誤り位置の検出を行うことを特徴と
する請求項1記載の誤り訂正装置。
2. The syndrome generation circuit, after outputting the generated syndrome, subsequently generates the next series of syndromes, and the arithmetic circuit calculates an error locator polynomial from the time when the syndrome is generated, When it is finished, the calculation result is output to the Chien search circuit, and subsequently, the error value is calculated using the error position of the previous sequence detected by the Chien search circuit and output to the correction circuit, 2. The error correction device according to claim 1, wherein the Chien search circuit outputs the detected error position and at the same time inputs the error position polynomial of the next sequence to detect the error position of the next sequence.
JP19060992A 1992-07-17 1992-07-17 Error correcter Pending JPH0637648A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP19060992A JPH0637648A (en) 1992-07-17 1992-07-17 Error correcter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP19060992A JPH0637648A (en) 1992-07-17 1992-07-17 Error correcter

Publications (1)

Publication Number Publication Date
JPH0637648A true JPH0637648A (en) 1994-02-10

Family

ID=16260922

Family Applications (1)

Application Number Title Priority Date Filing Date
JP19060992A Pending JPH0637648A (en) 1992-07-17 1992-07-17 Error correcter

Country Status (1)

Country Link
JP (1) JPH0637648A (en)

Similar Documents

Publication Publication Date Title
US5414719A (en) Operating circuit for galois field
US5157669A (en) Comparison of an estimated CRC syndrome to a generated CRC syndrome in an ECC/CRC system to detect uncorrectable errors
US4751704A (en) Method and apparatus for decoding BCH code
EP0105499B1 (en) Method capable of simultaneously decoding two reproduced sequences
JP3281387B2 (en) CRC / EDC checker system
US5541940A (en) Error correction method and error correction circuit
JPH0637648A (en) Error correcter
JP2662472B2 (en) Syndrome operation circuit for error correction processing
JP2999881B2 (en) Reed-Solomon decoding device
US6564352B1 (en) Error detection circuit applicable to a disk reproduction apparatus
JP3252515B2 (en) Error correction device
JP2000010807A (en) Digital data reproducing device
JP3131969B2 (en) Arithmetic unit
JP2858538B2 (en) Re-syndrome check method
JP3135552B2 (en) Error detection and correction device for Reed-Solomon code
JP3295537B2 (en) Multi-byte error detection and correction device
JP3583905B2 (en) Error correction device
JP4147909B2 (en) Data processing apparatus and method, recording medium, and program
JPH10145238A (en) Error-correcting device and its method
JP3178346B2 (en) Reed-Solomon error correction circuit
KR100246342B1 (en) Reed solomon error correction apparatus
JP2945539B2 (en) Error correction result check circuit
JP2935305B2 (en) Fast decoder for shortened fire codes
US5375231A (en) Control memory error correcting apparatus
JPH01236735A (en) Error detecting and correcting system