JPH07106985A - Error correcting device - Google Patents

Error correcting device

Info

Publication number
JPH07106985A
JPH07106985A JP26834693A JP26834693A JPH07106985A JP H07106985 A JPH07106985 A JP H07106985A JP 26834693 A JP26834693 A JP 26834693A JP 26834693 A JP26834693 A JP 26834693A JP H07106985 A JPH07106985 A JP H07106985A
Authority
JP
Japan
Prior art keywords
correction
data
error
ram
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.)
Granted
Application number
JP26834693A
Other languages
Japanese (ja)
Other versions
JP3248315B2 (en
Inventor
Shoji Ueno
昭治 植野
Taku Umezono
卓 梅園
Izumi Miyashita
泉 宮下
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.)
Victor Company of Japan Ltd
Original Assignee
Victor Company of Japan 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 Victor Company of Japan Ltd filed Critical Victor Company of Japan Ltd
Priority to JP26834693A priority Critical patent/JP3248315B2/en
Publication of JPH07106985A publication Critical patent/JPH07106985A/en
Application granted granted Critical
Publication of JP3248315B2 publication Critical patent/JP3248315B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Error Detection And Correction (AREA)

Abstract

PURPOSE:To shorten the product sum calculating time for correction of syndromes, erasures, errors, etc. CONSTITUTION:An adder 12 adds together the data which are selected by the latches 9 and 11 and outputs these data to the RAM 14a and 14b. These RAM 14a and 14b function to temporarily store the data under calculation and to output them to both latches 9 and 11 when various types of product sum calculations are periodically carried out for correction of syndromes, erasures, errors, etc. Thus the writing and reading addresses of both RAM 14a and 14b are independently controlled by a RAM controller 14c. Then two data to be added together and stored in the RAM 14a and 14b are read out by the reading addresses independent from the writing addresses under the control of the RAM controller 14c and latched by the latches 9 and 11. These latched data are sent to the adder 12 at a time.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、リードソロモン符号を
誤り訂正する誤り訂正装置に関し、特にDCC(ディジ
タルコンパクトカセット)やMD(ミニディスク)に記
録されたオーディオ信号を再生する場合に好適な誤り訂
正装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an error correction device for error correcting a Reed-Solomon code, and particularly an error suitable for reproducing an audio signal recorded on a DCC (digital compact cassette) or an MD (mini disk). Correction device

【0002】[0002]

【従来の技術】一般に、DCCのメイントラックやMD
には、主としてランダムエラー訂正用のC1系列と主と
してバーストエラー訂正用のC2系列の積符号形式のリ
ードソロモン(RS)符号が記録されている。また、D
CCではメイントラックの他に補助トラックが設けら
れ、この補助トラックにはC1系列のみの1重リードソ
ロモン符号が記録されている。
2. Description of the Related Art Generally, a DCC main track or MD
A Reed-Solomon (RS) code in the product code format of a C1 series mainly for random error correction and a C2 series mainly for burst error correction is recorded in the. Also, D
In CC, an auxiliary track is provided in addition to the main track, and a single Reed-Solomon code of only the C1 series is recorded on this auxiliary track.

【0003】この種の誤り訂正装置では、シンドローム
修正、イレージャ訂正、エラー訂正等を行うために各種
の積和演算が周期的に行われ、また、例えばシンドロー
ムデータを積演算する場合にはデータを一旦指数に変換
してこの指数を加算することにより行われる。
In this type of error correction device, various product-sum operations are periodically performed in order to perform syndrome correction, erasure correction, error correction, etc. Further, for example, in the case of syndrome data product operation, It is performed by once converting into an exponent and adding this exponent.

【0004】図7は従来の誤り訂正装置における積和演
算回路を示し、図8はその動作を説明するためのタイミ
ングチャートである。図7において、ラッチ(A)9と
ラッチ(B)11には加算対象のデータがラッチされ、
ラッチ9、11から読み出されたデータが加算器12に
より加算される。積和演算途中の加算結果はレジスタ1
4に格納され、このレジスタ14に格納されたデータが
次の積和演算のためにラッチ9、11に選択的にラッチ
される。また、加算器12による積和演算結果は、訂正
回路におけるi−α変換回路15により指数から元に戻
され、訂正演算のためにレジスタ19に格納される。
FIG. 7 shows a product-sum operation circuit in a conventional error correction device, and FIG. 8 is a timing chart for explaining its operation. In FIG. 7, data to be added is latched in the latch (A) 9 and the latch (B) 11,
The data read from the latches 9 and 11 are added by the adder 12. The result of addition during the product-sum operation is register 1
4 and the data stored in the register 14 are selectively latched by the latches 9 and 11 for the next multiply-accumulate operation. Further, the product-sum operation result by the adder 12 is restored from the exponent by the i-α conversion circuit 15 in the correction circuit and stored in the register 19 for the correction operation.

【0005】この回路の動作タイミングを図8を参照し
て説明すると、レジスタ14からは加算対象の2つのデ
ータを読み出すことができないので、例えばラッチ読み
出し信号の立ち上がり(時点tp1)と立ち下がり(時点
tp2)でそれぞれラッチ9、11からデータが読み出さ
れ、加算器12やi−α変換回路15等の処理を経た時
点tqでレジスタ19に格納される。
The operation timing of this circuit will be described with reference to FIG. 8. Since two data to be added cannot be read from the register 14, for example, the latch read signal rises (time tp1) and falls (time tp1). At tp2), the data is read from the latches 9 and 11, respectively, and is stored in the register 19 at the time point tq when the processing of the adder 12 and the i-α conversion circuit 15 is performed.

【0006】[0006]

【発明が解決しようとする課題】しかしながら、従来の
誤り訂正装置では、レジスタ14からは加算対象の2つ
のデータを読み出すことができず、加算対象のデータが
ラッチされるラッチ9、11からは異なる時点tp1、t
p2で読み出しが行われるので、シンドローム修正、イレ
ージャ訂正、エラー訂正等の演算時間が長くなるという
問題点がある。
However, in the conventional error correction device, the two data to be added cannot be read from the register 14 and different from the latches 9 and 11 in which the data to be added is latched. Time point tp1, t
Since the reading is performed at p2, there is a problem that the calculation time for syndrome correction, erasure correction, error correction, etc. becomes long.

【0007】本発明は上記従来の問題点に鑑み、シンド
ローム修正、イレージャ訂正、エラー訂正等を行うため
の積和演算時間を短縮することができる誤り訂正装置を
提供することを目的とする。
In view of the above-mentioned conventional problems, it is an object of the present invention to provide an error correction device capable of reducing the product-sum operation time for performing syndrome correction, erasure correction, error correction and the like.

【0008】[0008]

【課題を解決するための手段】本発明は上記目的を達成
するために、次の積和演算における2つの加算対象のデ
ータをそれぞれ記憶する第1および第2の記憶手段を設
け、第1および第2の記憶手段から2つの加算対象のデ
ータを同時に読み出して次の積和演算を行うようにして
いる。すなわち本発明によれば、シンドローム修正、イ
レージャ訂正、エラー訂正等を行うための各種の積和演
算を周期的に行う際の加算対象の2つのデータをそれぞ
れラッチする第1および第2のラッチ手段と、前記第1
および第2のラッチ手段から読み出された各データを加
算する加算手段と、前記加算手段により加算された次の
積和演算における2つの加算対象のデータをそれぞれ記
憶する第1および第2の記憶手段と、前記第1および第
2の記憶手段から2つの加算対象のデータを同時に読み
出してそれぞれ前記第1および第2のラッチ手段にラッ
チさせ、前記加算手段に同時に出力させる制御手段とを
有する誤り訂正装置が提供される。
In order to achieve the above object, the present invention is provided with first and second storage means for respectively storing two pieces of data to be added in the next product-sum operation. Two pieces of data to be added are simultaneously read from the second storage means to perform the next product-sum operation. That is, according to the present invention, first and second latch means for respectively latching two pieces of data to be added when various product-sum operations for performing syndrome correction, erasure correction, error correction, etc. are periodically performed. And the first
And an addition means for adding each data read from the second latch means, and first and second storages for respectively storing two addition target data in the next product-sum operation added by the addition means. Means and a control means for simultaneously reading out two pieces of data to be added from the first and second storage means, causing the first and second latch means to respectively latch, and causing the addition means to output at the same time. A correction device is provided.

【0009】[0009]

【作用】本発明では、第1および第2の記憶手段から2
つの加算対象のデータが同時に読み出されてそれぞれ第
1および第2のラッチ手段にラッチされ、第1および第
2のラッチ手段から同時に読み出されて加算器に出力さ
れる。したがって、従来例のように第1および第2のラ
ッチ手段からの読み出しが異なる時点で行われないの
で、シンドローム修正、イレージャ訂正、エラー訂正等
を行うための積和演算時間を短縮することができる。
In the present invention, the first and second storage means 2
Data of one addition target are simultaneously read and latched by the first and second latch means, respectively, and simultaneously read from the first and second latch means and output to the adder. Therefore, unlike the conventional example, the reading from the first and second latch means is not performed at different points in time, so that the product-sum operation time for performing syndrome correction, erasure correction, error correction, etc. can be shortened. .

【0010】[0010]

【実施例】以下、図面を参照して本発明の実施例につい
て説明する。図1は本発明に係る誤り訂正装置の一実施
例を示すブロック図、図2は図1の誤り訂正装置の積和
演算の動作を説明するためのタイミングチャート、図3
はリードソロモン符号のC1系列を訂正するルーチンを
説明するためのフローチャート、図4はリードソロモン
符号のC2系列を訂正するルーチンを説明するためのフ
ローチャート、図5は図4のC2系列訂正ルーチンのイ
レージャルーチンを説明するためのフローチャート、図
6は図5のイレージャルーチンのシンドローム修正ルー
チンを説明するためのフローチャートである。
Embodiments of the present invention will be described below with reference to the drawings. 1 is a block diagram showing an embodiment of the error correction device according to the present invention, FIG. 2 is a timing chart for explaining the operation of sum of products operation of the error correction device of FIG. 1, and FIG.
Is a flow chart for explaining a routine for correcting the C1 sequence of the Reed-Solomon code, FIG. 4 is a flow chart for explaining a routine for correcting the C2 sequence of the Reed-Solomon code, and FIG. 5 is a flow chart of the C2 sequence correction routine of FIG. 6 is a flowchart for explaining the erasure routine, and FIG. 6 is a flowchart for explaining the syndrome correction routine of the erasure routine of FIG.

【0011】先ず、図1に示す回路を概略的に説明す
る。回路2〜20はデータバス1上の信号の誤りを訂正
するように構成され、特に回路2〜7がシンドロームを
演算し、回路9〜13、14a〜14cが積和演算を行
い、回路15〜20が訂正演算を行って訂正データをデ
ータバス1上に出力する。また、この誤り訂正回路2〜
20はRAMアドレス出力回路24と、インストラクシ
ョン回路25により制御される。
First, the circuit shown in FIG. 1 will be briefly described. The circuits 2 to 20 are configured to correct the error of the signal on the data bus 1. In particular, the circuits 2 to 7 calculate the syndrome, the circuits 9 to 13 and 14a to 14c perform the sum of products operation, and the circuits 15 to 20 performs a correction operation and outputs the corrected data onto the data bus 1. In addition, this error correction circuit 2
20 is controlled by a RAM address output circuit 24 and an instruction circuit 25.

【0012】フラグロケーション設定回路2は、再生時
にイレージャ訂正のためのC1エラーフラグ評価を行う
回路であり、C2の24系列に1回C1エラーフラグを
読み出し、C1の2ワードエラーおよび3ワードエラー
の位置と数を検出する。また、この回路2はエラーフラ
グの読み出しのためのRAMアドレスを生成し、出力す
る。
The flag location setting circuit 2 is a circuit for evaluating a C1 error flag for erasure correction at the time of reproduction. The flag location setting circuit 2 reads the C1 error flag once for 24 series of C2, and detects the 2-word error and 3-word error of C1. Detect position and number. The circuit 2 also generates and outputs a RAM address for reading the error flag.

【0013】パリティロケーション設定回路3は、記録
時にイレージャ訂正を使ってパリティを計算するために
パリティの位置をメイントラック系列C1、C2と補助
トラック系列AUXC1の各系列に合わせてロケーショ
ン選択回路4に出力する。ロケーション選択回路4は、
再生モード時にフラグロケーション設定回路2からのエ
ラーの位置を選択し、記録モード時にパリティロケーシ
ョン設定回路3からのパリティの位置を選択し、データ
用ラッチ9、11に出力する。ラッチ9にはまたRAM
(A)14aに格納されたデータがラッチされる。
The parity location setting circuit 3 outputs the parity position to the location selection circuit 4 according to each of the main track series C1 and C2 and the auxiliary track series AUXC1 in order to calculate the parity by using erasure correction during recording. To do. The location selection circuit 4 is
The error position from the flag location setting circuit 2 is selected in the reproduction mode, and the parity position from the parity location setting circuit 3 is selected in the recording mode and output to the data latches 9 and 11. RAM for the latch 9
(A) The data stored in 14a is latched.

【0014】シンドロームチェック回路5は、RAM
(図示省略)からのデータを受け取って後述するように
C1系列では4個のシンドロームS0〜S3を演算し、
C2系列では6個のシンドロームS0〜S5を演算して
シンドローム選択回路6に出力する。シンドローム選択
回路6はシンドロームチェック回路5からのシンドロー
ム、レジスタ19または16からの出力を選択し,指数
に変換するためのテーブルであるα−i(AI)変換R
OM7に出力する。
The syndrome check circuit 5 is a RAM
The data from (not shown) is received, and four syndromes S0 to S3 are calculated in the C1 series as described later,
In the C2 series, six syndromes S0 to S5 are calculated and output to the syndrome selection circuit 6. The syndrome selection circuit 6 is a table for selecting the syndrome from the syndrome check circuit 5 and the output from the register 19 or 16 and converting it into an exponent α-i (AI) conversion R
Output to OM7.

【0015】α−i変換ROM7によりα−i変換され
たシンドロームはラッチ11にラッチされ、ラッチ11
にはまたRAM(B)14bに格納されたデータがラッ
チされる。ラッチ9、11は、α−i変換ROM7によ
り指数に変換されたシンドロームと、ロケーション選択
回路4により選択されたデータとRAM14a、14b
に格納されたデータを選択的にラッチして加算器12に
出力し、また、訂正データシンボルアドレスラッチ回路
10は、エラー訂正を実行するときに演算により得られ
たエラー位置を記憶し、RAMアドレス出力回路24に
出力する。
The syndrome which has been α-i converted by the α-i conversion ROM 7 is latched in the latch 11, and the latch 11
Further, the data stored in the RAM (B) 14b is latched. The latches 9 and 11 are the syndromes converted into exponents by the α-i conversion ROM 7, the data selected by the location selection circuit 4, and the RAMs 14a and 14b.
The data stored in 1 is selectively latched and output to the adder 12, and the corrected data symbol address latch circuit 10 stores the error position obtained by the operation when executing the error correction, and the RAM address Output to the output circuit 24.

【0016】加算器12はラッチ9、11により選択さ
れたデータを加算するが、αの指数部の加算の場合のイ
ンストラクションは乗算となる。レジスタ入出選択回路
13は、加算器12の出力またはROM7によりα−i
変換されたシンドロームを選択して後段のRAM14
a、14bに出力する。このRAM14a、14bはシ
ンドローム修正、イレージャ訂正、エラー訂正等を行う
ための各種の積和演算を周期的に行う場合に演算途中の
データを一時記憶してラッチ9、11に出力するために
用いられ、また、その書き込みと読み出しのアドレスは
RAMコントローラ14cにより独立して制御される。
The adder 12 adds the data selected by the latches 9 and 11, but the instruction in the case of the addition of the exponent part of α is multiplication. The register input / output selection circuit 13 outputs α-i by the output of the adder 12 or the ROM 7.
Select the converted syndrome and RAM14 in the latter stage
a and 14b. The RAMs 14a and 14b are used to temporarily store data in the middle of calculation and output it to the latches 9 and 11 when various product-sum calculations for performing syndrome correction, erasure correction, error correction, etc. are periodically performed. The write and read addresses are independently controlled by the RAM controller 14c.

【0017】i−α(IA)変換回路15は加算器12
の出力をi−α変換し、このデータは排他的論理和回路
17により、レジスタ19に格納されたデータと加算さ
れて再度レジスタ19に格納される。レジスタ16は、
2ワード訂正時にZ2 +Z+X=0の解「Z」を求める
ために「X」の値が入力されると「Z」の値に変換して
記憶して出力する。訂正データ出力回路20は、IA変
換回路15からのデータとデータバス1上の誤りデータ
とから排他的論理和回路18により得られる訂正データ
をデータバス1上に出力する。
The i-α (IA) conversion circuit 15 includes an adder 12
I-α conversion is performed on the output of the above, and this data is added to the data stored in the register 19 by the exclusive OR circuit 17 and stored again in the register 19. Register 16
When the value of "X" is input in order to obtain the solution "Z" of Z2 + Z + X = 0 at the time of correcting two words, it is converted into the value of "Z", stored and output. The corrected data output circuit 20 outputs corrected data obtained by the exclusive OR circuit 18 from the data from the IA conversion circuit 15 and the error data on the data bus 1 onto the data bus 1.

【0018】RAMアドレス出力回路24は、例えばD
CCの場合にはメインデータC1系列のRAMアドレ
ス、メインデータC1系列のエラーフラグのRAMアド
レス、メインデータC2系列のRAMアドレス等を生成
して出力するIOコントローラ(IOCONT.V)
と、各系列のエラーフラグデータを生成して出力するバ
ッファ(ERFLGBUF.V)を有する。
The RAM address output circuit 24 is, for example, D
In the case of CC, an IO controller (IOCONT.V) that generates and outputs a main data C1 series RAM address, a main data C1 series error flag RAM address, a main data C2 series RAM address, and the like.
And a buffer (ERRFGBUF.V) for generating and outputting error flag data of each series.

【0019】次に、インストラクション回路25につい
て詳細に説明する。先ず、クロック発生器(CLOCK
GEN)は各入力信号から、この装置内部で使用される
各種クロックを生成する。インストラクションカウンタ
(INSTCNT)はC1、C2、AUXC1(DCC
の補助トラック)のシンドローム演算とC1エラーフラ
グ評価およびC1BNGフラグ書き込みインストラクシ
ョン用の10ビットカウンタであり、このカウンタの出
力がインストラクションROM(INSTROM)のア
ドレスとなる。このインストラクションの1ステップ
は、クロックの立ち上がりから立ち下がりまでであり、
クロックによりカウントアップする。また、このインス
トラクションのジャンプは、下記の飛び先アドレスをロ
ードすることにより行われる。
Next, the instruction circuit 25 will be described in detail. First, the clock generator (CLOCK
GEN) generates various clocks used inside the device from each input signal. Instruction counter (INSTCNT) is C1, C2, AUXC1 (DCC
Is a 10-bit counter for syndrome calculation of the auxiliary track), C1 error flag evaluation, and C1BNG flag write instruction, and the output of this counter is the address of the instruction ROM (INSTROM). One step of this instruction is from the rising edge of the clock to the falling edge,
Count up by the clock. Further, the jump of this instruction is performed by loading the following jump destination address.

【0020】インストラクションROMはインストラク
ションカウンタ(INSTCNT)から出力されるカウ
ント値をアドレスとして16ビットデータを出力し、こ
のデータがインストラクションの各ステップにおける処
理動作を決定する。インストラクションセレクタ(IN
STSEL)はインストラクションROMから出力され
る16ビットデータを処理の種類(シンドローム演算、
エラーフラグ処理、BNGフラグ書き込み)に応じて出
力先を振り分け、この出力はクロックのタイミングで出
力される。また、このセレクタはRAMアクセス時にイ
ンストラクションを止める信号を出力する。
The instruction ROM outputs 16-bit data with the count value output from the instruction counter (INSTCNT) as an address, and this data determines the processing operation in each step of the instruction. Instruction selector (IN
STSEL is a type of processing (syndrome operation, 16-bit data output from the instruction ROM).
Output destinations are sorted according to error flag processing and BNG flag writing), and this output is output at clock timing. Further, this selector outputs a signal for stopping the instruction when accessing the RAM.

【0021】ロードアドレス発生器(LOADAD)は
インストラクションカウンタ(INSTCNT)から出
力されるカウント値をラッチしたデータを読み取り、こ
のデータがジャンプを行うアドレスの場合に各入力条件
に従って飛び先アドレスを決定してインストラクション
カウンタ(INSTCNT)に出力する。
The load address generator (LOADAD) reads the data in which the count value output from the instruction counter (INSTCNT) is latched, and when this data is an address for jumping, determines the jump destination address according to each input condition. Output to the instruction counter (INSTCNT).

【0022】ここで、シンドローム演算と訂正処理のイ
ンストラクションが同時に進行しているが、RAMには
同時にアクセスすることができないので、インストラク
ションコントローラ(INSTCONT)がアドレスを
監視し、RAMアクセスが衝突しないようにインストラ
クションカウンタ(INSTCNT)をコントロールし
ている。また、シンドローム演算と訂正処理を同時に行
うが、訂正処理されている系列は、同時に行われるシン
ドローム演算の1系列前のシンドロームであるので、フ
ラグコントローラ(FLGCONT)がシンドローム演
算に関する情報およびフラグを記憶し、この情報および
フラグが訂正処理に用いられる。
Here, although the instruction of the syndrome calculation and the instruction of the correction process are in progress at the same time, since the RAM cannot be accessed at the same time, the instruction controller (INSTCONT) monitors the address so that the RAM access does not collide. It controls the instruction counter (INSTCNT). Further, although the syndrome calculation and the correction process are performed at the same time, since the sequence being corrected is the syndrome one sequence before the syndrome calculation that is performed at the same time, the flag controller (FLGCONT) stores information and flags related to the syndrome calculation. , This information and flags are used in the correction process.

【0023】次に、図2を参照して積和演算回路9〜1
3、14a〜14cの動作を説明する。RAM14a、
14bに記憶された加算対象の2つのデータは、RAM
コントローラ14cの制御により書き込みアドレスとは
独立した読み出しアドレスで読み出されてそれぞれラッ
チ9、11によりラッチされ、ラッチ読み出し信号の立
ち上がり(時点tp)で同時に読み出され、加算器12
により加算される。なお、加算器12による積和演算途
中の加算結果は次の積和演算のためにRAM14a、1
4bに記憶され、また、加算器12による積和演算結果
はi−α変換回路15等の処理を経た時点tqでレジス
タ19に格納される。したがって、加算対象のデータが
ラッチされるラッチ9、11からは同時(時点tp)に
読み出しが行われるので、シンドローム修正、イレージ
ャ訂正、エラー訂正等を行うための積和演算時間を短縮
することができる。
Next, referring to FIG. 2, the product-sum operation circuits 9 to 1
The operations of 3 and 14a to 14c will be described. RAM14a,
The two pieces of data to be added stored in 14b are RAM
Under the control of the controller 14c, the read address independent of the write address is read, latched by the latches 9 and 11, respectively, and simultaneously read at the rising edge of the latch read signal (time point tp).
Is added by. Note that the addition result during the product-sum calculation by the adder 12 is stored in the RAM 14a, 1 for the next product-sum calculation.
4b, and the product-sum operation result of the adder 12 is stored in the register 19 at the time point tq when the processing of the i-α conversion circuit 15 and the like is performed. Therefore, since the latches 9 and 11 in which the data to be added are latched are read out at the same time (time point tp), it is possible to shorten the product-sum operation time for performing syndrome correction, erasure correction, error correction, and the like. it can.

【0024】次に、図3を参照してC1訂正処理につい
て説明する。なお、DCCの場合にはこのC1訂正処理
はメイントラックと補助トラックからの再生時に行われ
る。また、図2以下のフローチャートにおいて、Err
はエラーを表し、1W、2Wはそれぞれ1ワード、2ワ
ードを表している。C1訂正処理がスタートすると(ス
テップ101)、先ず、次式(数1)の上段に示す式
〔C1〕によりシンドロームS0〜S3をチェックし
(ステップ102)、次いで、次式(数2)に示すシン
ドロームS0〜S3をα→i変換してラッチ11に格納
する(ステップ103)。
Next, the C1 correction process will be described with reference to FIG. In the case of DCC, this C1 correction process is performed during reproduction from the main track and the auxiliary track. Further, in the flowcharts of FIG. 2 and subsequent figures, Err
Indicates an error, and 1W and 2W indicate 1 word and 2 words, respectively. When the C1 correction process is started (step 101), first, the syndromes S0 to S3 are checked by the expression [C1] shown in the upper part of the following expression (expression 1) (step 102), and then the expression (expression 2) is given. The syndromes S0 to S3 are converted from α to i and stored in the latch 11 (step 103).

【0025】[0025]

【数1】 〔C1〕 S0= W0+ W1+ W2+・・・・・+W23 S1=α23W0+α22W1+α21W2+・・・・・+W23 S2=α46W0+α44W1+α42W2+・・・・・+W23 S3=α69W0+α66W1+α63W2+・・・・・+W23 〔C2〕 S0= W0+ W1+ W2+・・・・・+W31 S1=α31 W0+α30 W1+α29 W2+・・・・・+W31 S2=α62 W0+α60 W1+α58 W2+・・・・・+W31 S3=α93 W0+α90 W1+α87 W2+・・・・・+W31 S4=α124 W0+α120 W1+α116 W2+・・・・・+W31 S5=α155 W0+α150 W1+α145 W2+・・・・・+W31## EQU1 ## [C1] S0 = W0 + W1 + W2 + ... + W23 S1 = α23W0 + α22W1 + α21W2 + ・ ・ ・ ・ ・ + W23 S2 = α46W0 + α44W1 + α42W2 + ・ ・ ・ ・ ・ + W23 S3 = α69W0 + α66W1 + α63W2 + ... + W23 + 2 W0 + W1 + W2 + ... + W31 S1 = α31 W0 + α30 W1 + α29 W2 + ・ ・ ・ ・ ・ + W31 S2 = α62 W0 + α60 W1 + α58 W2 + ・ ・ ・ ・ ・ + W31 S3 = α93 W0 + α90 W1 + α87 W2 + = + 124 W31 + 4 W2 + ... + W31 S5 = α155 W0 + α150 W1 + α145 W2 + ... + W31

【0026】[0026]

【数2】 C1:S0 S1 S2 S3 C2:S0 S1 S2 S3 S4 S5## EQU00002 ## C1: S0 S1 S2 S3 C2: S0 S1 S2 S3 S4 S5

【0027】次いで、シンドロームS0〜S3が全て
「0」か否かを判別し(ステップ104)、YESの場
合にはC1エラーフラグF0、F1、F2に共に「0」
を書き込み(ステップ105)、次いでブロックアドレ
スを1つインクリメントし(ステップ106)、全ブロ
ックが終了しない場合にはステップ102に戻り、終了
した場合には図4に示すC2訂正処理へ進む(ステップ
107)。
Next, it is judged whether or not all the syndromes S0 to S3 are "0" (step 104). If YES, all of the C1 error flags F0, F1 and F2 are "0".
Is written (step 105), the block address is incremented by 1 (step 106), and if all blocks are not completed, the process returns to step 102, and if completed, the process proceeds to the C2 correction process shown in FIG. 4 (step 107). ).

【0028】他方、ステップ104においてシンドロー
ムS0〜S3が全て「0」でない場合には、先ず、次式
(数3)に基づいて1ワードエラーを検出するための変
形シンドロームσ1〜σ3を演算し(ステップ10
8)、次いで、次式(数4)により1ワードエラーか否
かを判別する(ステップ109)。
On the other hand, if all of the syndromes S0 to S3 are not "0" in step 104, first, the modified syndromes σ1 to σ3 for detecting the one-word error are calculated based on the following equation (Equation 3) ( Step 10
8) Then, it is determined by the following equation (Equation 4) whether or not there is a one-word error (step 109).

【0029】[0029]

【数3】 σ1=S12+S0*S2 σ2=S22+S1*S3 σ3=S1*S2+S0*S3Σ1 = S12 + S0 * S2 σ2 = S22 + S1 * S3 σ3 = S1 * S2 + S0 * S3

【0030】[0030]

【数4】 σ1+σ2+σ3=0 1ワードエラー σ1+σ2+σ3≠0 1ワードエラー以上Σ1 + σ2 + σ3 = 0 1 word error σ1 + σ2 + σ3 ≠ 0 1 word error or more

【0031】そして、1ワードエラーの場合には次式
(数5)に基づいて1ワード訂正を行って訂正データを
書き込み(ステップ110)、次いで表1にも基づいて
C1エラーフラグF0に「1」を書き込む(ステップ1
11)。次いで、ブロックアドレスを1つインクリメン
トし(ステップ112)、ステップ107に進む。
In the case of a 1-word error, 1-word correction is performed based on the following equation (Equation 5) and the corrected data is written (step 110). Then, based on Table 1, the C1 error flag F0 is set to "1". Write "(Step 1
11). Next, the block address is incremented by 1 (step 112) and the process proceeds to step 107.

【0032】[0032]

【数5】〔1ワード訂正〕 エラーの位置: Xi=S1/S0 エラーの値 : Ei=S0 訂正 : Wi=S0+Di(Di…エラーデー
タ)
[Equation 5] [1 word correction] Error position: Xi = S1 / S0 Error value: Ei = S0 correction: Wi = S0 + Di (Di ... error data)

【0033】[0033]

【表1】 [Table 1]

【0034】他方、ステップ109において1ワードエ
ラーでない場合には、次式(数6)により2ワードエラ
ーを検出するためのX1、X2、ψ1〜ψ3を演算し
(ステップ113)、次いで、次式(数7)により2ワ
ードエラーか否かを判別する(ステップ114)。
On the other hand, if the one-word error is not found in step 109, X1, X2, ψ1 to ψ3 for detecting the two-word error are calculated by the following equation (Equation 6) (step 113), and then the following equation It is determined by (Equation 7) whether or not there is a 2-word error (step 114).

【0035】[0035]

【数6】 [Equation 6]

【0036】[0036]

【数7】 ψ1+ψ2+ψ3=0 2ワードエラー ψ1+ψ2+ψ3≠0 2ワードエラー以上Ψ1 + ψ2 + ψ3 = 0 2 word error ψ1 + ψ2 + ψ3 ≠ 0 2 word error or more

【0037】そして、2ワードエラーの場合には次式
(数8)に基づいて2ワード訂正を行って(ステップ1
15)数8の次の式(数9)により訂正データWi ,W
j を書き込み(ステップ116)、次いで表1に示すよ
うにC1エラーフラグF0、F1に「1」を書き込む
(ステップ117)。次いで、ブロックアドレスを1つ
インクリメントし(ステップ118)、ステップ107
に進む。
In the case of a 2-word error, 2-word correction is performed based on the following equation (Equation 8) (step 1
15) Corrected data Wi, W by the following equation (Equation 9)
j is written (step 116), and then "1" is written in the C1 error flags F0 and F1 as shown in Table 1 (step 117). Next, the block address is incremented by 1 (step 118), and step 107
Proceed to.

【0038】[0038]

【数8】 [Equation 8]

【0039】[0039]

【数9】〔Wi ,Wj 訂正〕 S0=Ei+Ej S1=Xi*Ei+Xj*Ejより Xj*S0+S1=(Xi+Xj)*Ej Ej=(Xj*S0+S1)/C1 Ej=S0+Ei Wi=Ei+Di Wj=Ej+Dj[Expression 9] [Wi, Wj correction] From S0 = Ei + Ej S1 = Xi * Ei + Xj * Ej Xj * S0 + S1 = (Xi + Xj) * Ej Ej = (Xj * S0 + S1) / C1 Ej = S0 + Ei Wi = Ei + DjDj

【0040】また、ステップ114において2ワードエ
ラーでない場合には表1に示すようにC1エラーフラグ
F0、F1、F2に共に「1」を書き込み(ステップ1
19)、次いで、ブロックアドレスを1つインクリメン
トし(ステップ120)、ステップ107に進む。
If no 2-word error occurs in step 114, "1" is written in both C1 error flags F0, F1, and F2 as shown in Table 1 (step 1
19), then the block address is incremented by 1 (step 120) and the routine proceeds to step 107.

【0041】次に、図4ないし図6を参照してC2訂正
処理を説明する。このC2訂正処理はC1訂正を全ブロ
ックについて行った後スタートし(ステップ121)、
先ず、上式(数1)の下段〔C2〕によりシンドローム
S0〜S5をチェックし(ステップ122)、次いで、
上式(数2)の下段に示すシンドロームS0〜S5をα
→i変換してレジスタ8に格納する(ステップ12
3)。次いで、C1エラーフラグを読み出して次式(数
10)によりエラーフラグの数N(E)とエラー位置X
iを検出し(ステップ124)、また、次式(数11)
に示すような前演算を行う。
Next, the C2 correction process will be described with reference to FIGS. The C2 correction process starts after the C1 correction is performed for all blocks (step 121),
First, the syndromes S0 to S5 are checked by the lower stage [C2] of the above equation (Equation 1) (step 122), and then
The syndromes S0 to S5 shown in the lower part of the above equation (Formula 2) are set to
→ i-convert and store in register 8 (step 12
3). Next, the C1 error flag is read and the number N (E) of error flags and the error position X are calculated by the following equation (Equation 10).
i is detected (step 124), and the following equation (Equation 11)
Perform the pre-calculation as shown in.

【0042】[0042]

【数10】〔C1 Flag Calculate〕 Read :C1 Flag Location Count :C1 Flag Number Resist:C1 Flag Location X1,X2,X3,X
4,X5,X6
[Formula 10] [C1 Flag Calculate] Read: C1 Flag Location Count: C1 Flag Number Resist: C1 Flag Location X1, X2, X3, X
4, X5, X6

【0043】[0043]

【数11】 X1+X2 =B1 X1*X2 =B2 B1+X3 =C1 B1*X3+B2=C2 B2*X3 =C3 C1+X4 =D1 C1*X4+C2=D2 C2*X4+C3=D3 C3*X4 =D4 D1*X5 =E1 D1*X5+D2=E2 D2*X5+D3=E3 D3*X5+D4=E4 D4*X5 =E5 (X1+X6) ×(X2+X6)(X3+X6)(X4+X6)(X5+X6)=I6 (X1+X5)(X2+X5)(X3+X5)(X4+X5)=I5 (X1+X4)(X2+X4)(X3+X4)=I4 (X1+X3)(X2+X3)=I3 (X1+X2)=I2X1 + X2 = B1 X1 * X2 = B2 B1 + X3 = C1 B1 * X3 + B2 = C2 B2 * X3 = C3 C1 + X4 = D1 C1 * X4 + C2 = D2 C2 * X4 + C3 = D3 C3 * X1 * D4 = D4 = D4 X5 + D2 = E2 D2 * X5 + D3 = E3 D3 * X5 + D4 = E4 D4 * X5 = E5 (X1 + X6) × (X2 + X6) (X3 + X6) (X4 + X6) (X5 + X6) = X3 + X5) (X3 + X5) (X2 + X5) (X3 + X5) (X2 + X5) (X2 + X5) (X2 + X5) (X2 + X5) (X2 + X5) (X1 + X4) (X2 + X4) (X3 + X4) = I4 (X1 + X3) (X2 + X3) = I3 (X1 + X2) = I2

【0044】そして、シンドロームS0〜S5が全て
「0」か否かを判別することによりエラー数が「0」か
否かを判別し(ステップ126)、「0」の場合にはC
2エラーフラグF0、F1に「0」を書き込み(ステッ
プ127)、次いでブロックアドレスを1つインクリメ
ントし(ステップ128)、全ブロック(BLK)が終
了しない場合にはステップ122に戻り、終了した場合
にはこのC2訂正処理を終了する(ステップ129)。
Then, it is determined whether the number of errors is "0" by determining whether all the syndromes S0 to S5 are "0" (step 126).
2 “0” is written to the error flags F0 and F1 (step 127), the block address is incremented by 1 (step 128), and if all blocks (BLK) are not completed, the process returns to step 122, and if completed, Ends the C2 correction process (step 129).

【0045】他方、ステップ126においてシンドロー
ムS0〜S5が全て「0」でない場合には、上式(数
3)に基づいて1ワードエラーを検出するための変形シ
ンドロームσ1〜σ3を演算し(ステップ131)、次
いで、上式(数4)により1ワードエラーか否かを判別
する(ステップ132)。そして、1ワードエラーの場
合には上式(数5)に基づいて1ワード訂正を行って訂
正データを書き込み(ステップ133)、次いでC2エ
ラーフラグF0、F1に「0」を書き込む(ステップ1
34)。次いで、ブロックアドレスを1つインクリメン
トし(ステップ135)、ステップ129に進む。
On the other hand, when all the syndromes S0 to S5 are not "0" in step 126, the modified syndromes σ1 to σ3 for detecting the one-word error are calculated based on the above equation (Equation 3) (step 131). ), And then it is determined by the above equation (Equation 4) whether or not there is a one-word error (step 132). Then, in the case of a 1-word error, 1-word correction is performed based on the above equation (Equation 5) to write the corrected data (step 133), and then "0" is written to the C2 error flags F0 and F1 (step 1).
34). Then, the block address is incremented by 1 (step 135) and the process proceeds to step 129.

【0046】他方、ステップ132において1ワードエ
ラーでない場合には、上式(数6)により2ワードエラ
ーを検出するための変形シンドロームX1、X2、ψ1
〜ψ3を演算し(ステップ136)、次いで、上式(数
7)により2ワードエラーか否かを判別する(ステップ
137)。
On the other hand, if the one-word error is not found in step 132, the modified syndromes X1, X2, ψ1 for detecting the two-word error by the above equation (Equation 6).
˜ψ3 is calculated (step 136), and then it is determined by the above equation (Equation 7) whether or not there is a 2-word error (step 137).

【0047】そして、2ワードエラーの場合には上式
(数8)に基づいて2ワード訂正を行って(ステップ1
38)上式(数9)により訂正データWi を書き込み
(ステップ139)、次いでC2エラーフラグF0、F
1に「0」を書き込む(ステップ140)。次いで、ブ
ロックアドレスを1つインクリメントし(ステップ14
1)、ステップ129に進む。また、ステップ137に
おいて2ワードエラーでない場合には図5に示すイレー
ジャルーチンに進む。
In the case of a 2-word error, 2-word correction is performed based on the above equation (Equation 8) (step 1
38) Write the correction data Wi according to the above equation (Equation 9) (step 139), and then write C2 error flags F0, F
Write "0" in 1 (step 140). Then, the block address is incremented by 1 (step 14
1), the process proceeds to step 129. If it is determined in step 137 that there is no two-word error, the process proceeds to the erasure routine shown in FIG.

【0048】次にイレージャルーチンについて説明す
る。先ず、C1エラーフラグF1の数が「0」か否かを
判別し(ステップ144)、NOの場合にはC1エラー
フラグF1の数が5以下か否かを判別し(ステップ14
5)、5以下の場合には5か否かを判別する(ステップ
146)。そして、C1エラーフラグF1の数が5でな
い場合には図6に詳しく示すシンドローム修正ルーチン
を実行し、他方、5の場合には次式(数12〜15)に
よりN=5〜1のイレージャを実行し(ステップ14
7)、次いでブロックアドレスを1つインクリメントし
(ステップ148)、ステップ121に戻る。
Next, the erasure routine will be described. First, it is determined whether or not the number of C1 error flags F1 is "0" (step 144), and if NO, it is determined whether or not the number of C1 error flags F1 is 5 or less (step 14).
5) If 5 or less, it is determined whether or not 5 (step 146). If the number of C1 error flags F1 is not 5, the syndrome correction routine shown in detail in FIG. 6 is executed. On the other hand, if the number of C1 error flags F1 is 5, the erasure of N = 5-1 is performed by the following equation (Equations 12-15). Execute (Step 14
7) Then, the block address is incremented by 1 (step 148) and the process returns to step 121.

【0049】[0049]

【数12】 〔5Erasure,Y5〕 T4=S4+D1*S3+D2*S2+D3*S1+D4*S0 Y5=T4/I5 〔シンドローム修正〕 S0+Y5 →S0 S1+Y5*X5 →S1 S2+Y5*X52 →S2 S3+Y5*X53 →S3[5 Erasure, Y5] T4 = S4 + D1 * S3 + D2 * S2 + D3 * S1 + D4 * S0 Y5 = T4 / I5 [Syndrome correction] S0 + Y5 → S0 S1 + Y5 * X5 → S1 S2 + Y5 * X52 → S3X5 + S3S5 + S3

【0050】[0050]

【数13】〔4Erasure,Y4〕 T3=S3+C1*S2+C2*S1+C3*S0 Y4=T3/I4 〔シンドローム修正〕 S0+Y4 →S0 S1+Y4*X4 →S1 S2+Y4*X42 →S2[4 Erasure, Y4] T3 = S3 + C1 * S2 + C2 * S1 + C3 * S0 Y4 = T3 / I4 [Syndrome correction] S0 + Y4 → S0 S1 + Y4 * X4 → S1 S2 + Y4 * X42 → S2

【0051】[0051]

【数14】〔3Erasure,Y3〕 T2=S2+B1*S1+B2*S0 Y3=T2/I3 〔シンドローム修正〕 S0+Y3 →S0 S1+Y3*X3 →S1[3 Erasure, Y3] T2 = S2 + B1 * S1 + B2 * S0 Y3 = T2 / I3 [Syndrome correction] S0 + Y3 → S0 S1 + Y3 * X3 → S1

【0052】[0052]

【数15】〔2Erasure,Y2〕 〔1Erasure,Y1〕 T1=S1+X1*S0 Y2=T1/I2 Y1=S0+Y2[Equation 15] [2Erasure, Y2] [1Erasure, Y1] T1 = S1 + X1 * S0 Y2 = T1 / I2 Y1 = S0 + Y2

【0053】また、ステップ144においてC1エラー
フラグF1の数が「0」の場合には、C2エラーフラグ
F0に「1」を書き込み(ステップ149)、次いでブ
ロックアドレスを1つインクリメントし(ステップ14
7)、ステップ121に戻る。また、ステップ145に
おいてC1エラーフラグF1の数が5以下でない場合に
はステップ152以下に分岐する。
If the number of C1 error flags F1 is "0" in step 144, "1" is written in the C2 error flag F0 (step 149), and then the block address is incremented by 1 (step 14).
7) and returns to step 121. If the number of C1 error flags F1 is not 5 or less in step 145, the process branches to step 152 and below.

【0054】ステップ152においてC1エラーフラグ
F2の数が「0」の場合には、C2エラーフラグF1に
「1」を書き込み(ステップ153)、次いでブロック
アドレスを1つインクリメントし(ステップ154)、
ステップ121に戻る。また、ステップ152において
C1エラーフラグF2の数が3以下の場合には図6に詳
しく示すシンドローム修正ルーチンを実行し、また、ス
テップ156においてC2エラーフラグF2の数が5以
下の場合にはN=5〜1のNイレージャを実行し、次い
でブロックアドレスを1つインクリメントし(ステップ
158)、ステップ121に戻る。
If the number of C1 error flags F2 is "0" in step 152, "1" is written in the C2 error flag F1 (step 153), and then the block address is incremented by 1 (step 154).
Return to step 121. If the number of C1 error flags F2 is 3 or less in step 152, the syndrome correction routine shown in detail in FIG. 6 is executed, and if the number of C2 error flags F2 is 5 or less in step 156, N = The N erasure of 5 to 1 is executed, the block address is incremented by 1 (step 158), and the process returns to step 121.

【0055】また、ステップ159においてC2エラー
フラグF2の数が6でない場合にはC2エラーフラグF
1に「1」を書き込み(ステップ160)、次いでブロ
ックアドレスを1つインクリメントし(ステップ16
1)、ステップ121に戻る。また、ステップ162に
おいてC2エラーフラグF2の数が6の場合には数12
〜数15と次式(数16)によりN=6〜1のNイレー
ジャを実行し(ステップ163)、次いでブロックアド
レスを1つインクリメントし(ステップ164)、ステ
ップ121に戻る。
If the number of C2 error flags F2 is not 6 in step 159, the C2 error flag F2
"1" is written in 1 (step 160), and then the block address is incremented by 1 (step 16).
1) and returns to step 121. If the number of C2 error flags F2 is 6 in step 162, then
~ N (15) and N (6) are used to execute N erasure of N = 6 to 1 (step 163), the block address is incremented by 1 (step 164), and the process returns to step 121.

【0056】[0056]

【数16】〔6Erasure,Y6〕 T5=S5+E1*S4+E2*S3+E3*S2 +E4*S1+E5*S0 Y6=T5/I6 〔シンドローム修正〕 S0+Y6 →S0 S1+Y6*X6 →S1 S2+Y6*X62 →S2 S3+Y6*X63 →S3 S4+Y6*X64 →S4 (以下同様に、N=5、4、3、2、1のイレージャを
実行)
[6 Erasure, Y6] T5 = S5 + E1 * S4 + E2 * S3 + E3 * S2 + E4 * S1 + E5 * S0 Y6 = T5 / I6 [Syndrome modification] S0 + Y6 → S0 S1 + Y6 * S6 → S1 S2 + Y6 * S6 → S2 + Y6 * S6 S4 + Y6 * X64-> S4 (Similarly, the erasures of N = 5, 4, 3, 2, 1 are executed in the following.)

【0057】つぎに、図6を参照してシンドローム修正
ルーチンについて説明する。先ず、シンドローム修正を
例えば6個のロケーションi=0〜5について行い(ス
テップ300)、次いで修正シンドロームSmが「0」
か否かを判別し(ステップ301)、Sm=0の場合に
は回数Nのイレージャ処理を行う(ステップ302)。
すなわち、本実施例ではシンドロームを修正した場合に
修正シンドロームSmが「0」か否かを判別することに
より、エラー位置のチェック回数を増加して誤訂正を減
少するようにしている。
Next, the syndrome correction routine will be described with reference to FIG. First, the syndrome correction is performed on, for example, six locations i = 0 to 5 (step 300), and then the correction syndrome Sm is "0".
It is determined whether or not (step 301), and if Sm = 0, the erasure process is performed N times (step 302).
That is, in this embodiment, when the syndrome is corrected, it is determined whether or not the corrected syndrome Sm is "0" to increase the number of error position checks and reduce the erroneous correction.

【0058】他方、i=1または2の場合には数3に基
づいて1ワードエラーを検出するための変形シンドロー
ムσ1〜σ3を演算し(ステップ303→305)、次
いで、数4により1ワードエラーか否かを判別し(ステ
ップ306)、YESの場合にはステップ307以下に
進み、NOの場合にはステップ320以下に分岐する。
また、i=3、4または5か否かを判別し(ステップ3
04)、YESの場合にはステップ300に戻り、NO
の場合にはステップ307以下に進む。
On the other hand, when i = 1 or 2, the modified syndromes σ1 to σ3 for detecting a 1-word error are calculated based on the equation 3 (step 303 → 305), and then the 1-word error is obtained by the equation 4. It is determined whether or not (step 306), the process proceeds to step 307 and below if YES, and branches to step 320 and below if NO.
Further, it is determined whether i = 3, 4 or 5 (step 3
04), in the case of YES, the process returns to step 300, and NO
In the case of, the process proceeds to step 307 and thereafter.

【0059】ステップ307以下では1ワード訂正を行
って訂正データを書き込み(ステップ307、30
8)、次いでシンドロームを修正し(ステップ30
9)、回数Nのイレージャ処理を行い(ステップ31
0)、表1に基づいてC1エラーフラグF0、F1に
「0」を書き込み(ステップ311)、次いで、ブロッ
クアドレスを1つインクリメントし(ステップ31
2)、ステップ300に戻る。
In steps 307 and below, one word is corrected and the corrected data is written (steps 307, 30).
8) then correct the syndrome (step 30
9), erasure processing is performed N times (step 31
0), "0" is written in the C1 error flags F0 and F1 based on Table 1 (step 311), and then the block address is incremented by 1 (step 31).
2) Return to step 300.

【0060】また、ステップ320以下では数6により
2ワードエラーを検出するためのX1、X2、ψ1〜ψ
3を演算し(ステップ320)、次いで数7により2ワ
ードエラーか否かを判別し(ステップ321)、2ワー
ドエラーの場合には2ワード訂正を行い(ステップ32
2)、数9により訂正データWi ,Wj を書き込む(ス
テップ323)。次いでY1,Y2を演算し(ステップ
324)、W1,W2を訂正し(ステップ325)、表
1に示すようにC1エラーフラグF0、F1に「0」を
書き込み(ステップ326)、次いで、ブロックアドレ
スを1つインクリメントし(ステップ327)、ステッ
プ300に戻る。
In step 320 and subsequent steps, X1, X2, ψ1 to ψ for detecting a two-word error according to the equation (6).
3 is calculated (step 320), then it is discriminated whether or not there is a 2-word error by the equation 7 (step 321), and in the case of 2-word error, 2-word correction is performed (step 32).
2) Write the correction data Wi and Wj according to equation 9 (step 323). Next, Y1 and Y2 are calculated (step 324), W1 and W2 are corrected (step 325), "0" is written in the C1 error flags F0 and F1 as shown in Table 1 (step 326), and then the block address. Is incremented by 1 (step 327) and the process returns to step 300.

【0061】[0061]

【発明の効果】以上説明したように本発明によれば、第
1および第2の記憶手段から2つの加算対象のデータが
同時に読み出されてそれぞれ第1および第2のラッチ手
段にラッチされ、第1および第2のラッチ手段から同時
に読み出されて加算器に出力されるので、従来例のよう
に第1および第2のラッチ手段からの読み出しが異なる
時点で行われず、したがって、シンドローム修正、イレ
ージャ訂正、エラー訂正等を行うための積和演算時間を
短縮することができる。
As described above, according to the present invention, two pieces of data to be added are simultaneously read from the first and second storage means and latched by the first and second latch means, respectively. Since it is simultaneously read from the first and second latching means and output to the adder, the reading from the first and second latching means is not performed at a different time as in the conventional example, and therefore, the syndrome correction, It is possible to reduce the product-sum operation time for performing erasure correction, error correction, and the like.

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

【図1】本発明に係る誤り訂正装置の一実施例を示すブ
ロック図である。
FIG. 1 is a block diagram showing an embodiment of an error correction device according to the present invention.

【図2】図1の誤り訂正装置の積和演算の動作を説明す
るためのタイミングチャートである。
FIG. 2 is a timing chart for explaining the operation of sum of products calculation of the error correction device of FIG.

【図3】リードソロモン符号のC1系列を訂正するルー
チンを説明するためのフローチャートである。
FIG. 3 is a flowchart for explaining a routine for correcting a C1 sequence of Reed-Solomon code.

【図4】リードソロモン符号のC2系列を訂正するルー
チンを説明するためのフローチャートである。
FIG. 4 is a flowchart for explaining a routine for correcting a C2 sequence of Reed-Solomon code.

【図5】図4のC2系列訂正ルーチンのイレージャルー
チンを説明するためのフローチャートである。
FIG. 5 is a flowchart for explaining an erasure routine of the C2 series correction routine of FIG.

【図6】図5のイレージャルーチンのシンドローム修正
ルーチンを説明するためのフローチャートである。
6 is a flowchart for explaining a syndrome correction routine of the erasure routine of FIG.

【図7】従来の誤り訂正装置の積和演算回路を示すブロ
ック図である。
FIG. 7 is a block diagram showing a product-sum operation circuit of a conventional error correction device.

【図8】図7の積和演算の動作を説明するためのタイミ
ングチャートである。
8 is a timing chart for explaining the operation of the sum of products operation of FIG.

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

2 フラグロケーション設定回路 3 パリティロケーション設定回路 4 ロケーション選択回路 5 シンドロームチェック回路 6 シンドローム選択回路 7 α−i変換ROM 16,19 レジスタ 9,10,11 ラッチ(9,11はラッチ手段を構成
する) 12,17,18 加算器(12は加算手段を構成す
る) 13 選択回路 14a,14b RAM(ランダムアクセスメモリ)
(14a,14bは記憶手段を構成する) 14c RAMコントローラ(インストラクション回路
25と共に制御手段を構成する) 15 i−α変換回路 24 RAMアドレス出力回路 25 インストラクション回路
2 Flag location setting circuit 3 Parity location setting circuit 4 Location selection circuit 5 Syndrome check circuit 6 Syndrome selection circuit 7 α-i conversion ROM 16, 19 Register 9, 10, 11 Latch (9 and 11 constitute a latch means) 12 , 17 and 18 Adder (12 constitutes adding means) 13 Selection circuits 14a and 14b RAM (random access memory)
(14a and 14b constitute storage means) 14c RAM controller (constitutes control means together with instruction circuit 25) 15 i-α conversion circuit 24 RAM address output circuit 25 instruction circuit

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 シンドローム修正、イレージャ訂正、エ
ラー訂正等を行うための各種の積和演算を周期的に行う
際の加算対象の2つのデータをそれぞれラッチする第1
および第2のラッチ手段と、 前記第1および第2のラッチ手段から読み出された各デ
ータを加算する加算手段と、 前記加算手段により加算された次の積和演算における2
つの加算対象のデータをそれぞれ記憶する第1および第
2の記憶手段と、 前記第1および第2の記憶手段から2つの加算対象のデ
ータを同時に読み出してそれぞれ前記第1および第2の
ラッチ手段にラッチさせ、前記加算手段に同時に出力さ
せる制御手段とを有する誤り訂正装置。
1. A first latch for latching two pieces of data to be added when various product-sum operations for performing syndrome correction, erasure correction, error correction, etc. are carried out periodically.
And a second latching means, an adding means for adding the respective data read from the first and second latching means, and 2 in the next product-sum operation added by the adding means.
First and second storage means for respectively storing data to be added, and two data to be added are simultaneously read out from the first and second storage means and respectively stored in the first and second latch means. An error correction device having a control means for latching and outputting to the adding means at the same time.
JP26834693A 1993-09-30 1993-09-30 Error correction device Expired - Fee Related JP3248315B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP26834693A JP3248315B2 (en) 1993-09-30 1993-09-30 Error correction device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP26834693A JP3248315B2 (en) 1993-09-30 1993-09-30 Error correction device

Publications (2)

Publication Number Publication Date
JPH07106985A true JPH07106985A (en) 1995-04-21
JP3248315B2 JP3248315B2 (en) 2002-01-21

Family

ID=17457266

Family Applications (1)

Application Number Title Priority Date Filing Date
JP26834693A Expired - Fee Related JP3248315B2 (en) 1993-09-30 1993-09-30 Error correction device

Country Status (1)

Country Link
JP (1) JP3248315B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006270406A (en) * 2005-03-23 2006-10-05 Yokogawa Electric Corp Multi-channel digital-analog converter

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006270406A (en) * 2005-03-23 2006-10-05 Yokogawa Electric Corp Multi-channel digital-analog converter

Also Published As

Publication number Publication date
JP3248315B2 (en) 2002-01-21

Similar Documents

Publication Publication Date Title
US6158038A (en) Method and apparatus for correcting data errors
US6018626A (en) Error correction method and apparatus for disk drive emulator
JPS638651B2 (en)
JP3281387B2 (en) CRC / EDC checker system
JP3248315B2 (en) Error correction device
JPH0793913A (en) Error corrector
JPH1166762A (en) Floppy disk system
JPH07160520A (en) Error corrector
KR920010184B1 (en) Finite Field Computation Circuit
JPS638648B2 (en)
JPH07296527A (en) Recording/reproducing error correction device
JPH0963208A (en) Error correction device
JP3257237B2 (en) Error correction device
JPS6345922A (en) Error correction method
KR930001921B1 (en) Cyclic redundancy code checking circuit
JP2800598B2 (en) Error correction decoding device
JPS5953640B2 (en) Storage device
JP3242682B2 (en) Error correction processor
JPS58219648A (en) Dividing device for galois field
JPH0153940B2 (en)
JP3259688B2 (en) Data processing circuit
JPH03117923A (en) error correction decoder
JPH01236735A (en) Error detecting and correcting system
JPH0136137B2 (en)
JPH0315216B2 (en)

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: 20011009

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

Free format text: PAYMENT UNTIL: 20071109

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20081109

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20091109

Year of fee payment: 8

LAPS Cancellation because of no payment of annual fees