JP2001044853A - Chain search circuit, error correction device and disk driver - Google Patents

Chain search circuit, error correction device and disk driver

Info

Publication number
JP2001044853A
JP2001044853A JP11181562A JP18156299A JP2001044853A JP 2001044853 A JP2001044853 A JP 2001044853A JP 11181562 A JP11181562 A JP 11181562A JP 18156299 A JP18156299 A JP 18156299A JP 2001044853 A JP2001044853 A JP 2001044853A
Authority
JP
Japan
Prior art keywords
error
chien search
order
fixed multiplier
flip
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
JP11181562A
Other languages
Japanese (ja)
Inventor
Katsuhiko Kato
勝彦 加藤
Akio Nakamura
昭雄 中村
Tetsuya Tamura
哲也 田村
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
International Business Machines Corp
Original Assignee
International Business Machines Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by International Business Machines Corp filed Critical International Business Machines Corp
Priority to JP11181562A priority Critical patent/JP2001044853A/en
Publication of JP2001044853A publication Critical patent/JP2001044853A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To provide a chain search circuit that shourtens the time required for chain search without having to increase the number of gates of a multiplication result storage circuit, when conducting pipeline processing for quickening chain search. SOLUTION: A chain search circuit 55 is provided with flip-flop circuits(FF) 101a to 101c, that are provided corresponding to each term of an error location polynomial, store each coefficient of the error location polynomial for an initial value and store a multiplication result of multiplying an element of a Galois field with each coefficient, high-order fixed multipliers 103a to 103c that multiply the powers (αn) of the highest order αrespectively in parallel corresponding to the flip-flop circuits(FF) 101a to 101c, and low order fixed multipliers 104a to 104c that respectively multiply the powers (αn-1) of the lower order α, and the flip-flop circuits (FF) 101a to 101c latch only the result of products of the high-order fixed multipliers 103a to 103c that multiply the powers (αn) of the highest order α.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、チェンサーチ回
路、誤り訂正装置及びディスクドライブ装置に関し、特
に、ガロア体GF(2n)上のリードソロモン符号の復
号を行う際、チェンサーチを用いて誤り位置多項式の根
を算出し、誤り位置を求めるチェンサーチ回路、誤り訂
正装置及びディスクドライブ装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a Chien search circuit, an error correction device, and a disk drive device, and more particularly, to decoding of a Reed-Solomon code on a Galois field GF (2 n ) using a Chien search. The present invention relates to a Chien search circuit that calculates a root of a position polynomial and obtains an error position, an error correction device, and a disk drive device.

【0002】[0002]

【従来の技術】近年の小型のHDDでは、コマンドオー
バーヘッドの削減によるパフォーマンスの向上の手段と
して、ホストインターフェース周辺の処理に対するHD
Dのマイクロプロセッサ(以下、ローカルMPUとい
う)の介在をできるだけ減らして、その処理をできる限
りハードウェアによるホストインターフェースコントロ
ーラ(Host Interface Controller:HIC)に行わせ
る手法が採られる傾向にある。
2. Description of the Related Art In recent small-sized HDDs, as a means of improving performance by reducing command overhead, an HDD for processing around a host interface is used.
There is a tendency to adopt a technique in which the intervention of a microprocessor of D (hereinafter referred to as a local MPU) is reduced as much as possible, and the processing is performed by a host interface controller (HIC) by hardware as much as possible.

【0003】その一つとして、ホストとキャッシュメモ
リの間はローカルMPUの介在なしにHICによる制御
の下にデータ転送を行うことができる一方、メディアと
キャッシュメモリの間のデータ転送は、ローカルMPU
がハードディスクコントローラ(Hard Disk Controlle
r:HDC)を制御してデータ転送を行うローカルMP
Uの介在を必要とするシステムを用いることが考えられ
る。
As one of them, data transfer between the host and the cache memory can be performed under the control of the HIC without the intervention of the local MPU, while data transfer between the medium and the cache memory is performed by the local MPU.
Is a hard disk controller
r: Local MP that controls HDC and performs data transfer
It is conceivable to use a system that requires the intervention of U.

【0004】一方、上記HDDをはじめとして、磁気テ
ープや光ディスク等のデジタル信号記録再生装置では、
記録媒体上のドロップアウト等によって発生するデータ
誤りを訂正するために誤り訂正符号を用いた誤り訂正装
置が用いられる。
On the other hand, in digital signal recording / reproducing devices such as the above HDD and magnetic tapes and optical disks,
2. Description of the Related Art An error correction device using an error correction code is used to correct a data error caused by dropout or the like on a recording medium.

【0005】近年では、記録密度の向上に伴い誤り訂正
能力が大きいリードソロモン符号(Reed-Solomon cod
e)符号が使用される。リードソロモン符号は、ガロア
体(Galois field)GF(2n)上で定義される訂正符
号である。ガロア体は、排他的論理和演算を基に作成さ
れ加減乗除演算が定義された集合であり、このガロア体
の要素とワード単位のデータが対応付けられて誤り訂正
に利用される。例えば、ガロア体GF(28)における
原始多項式p(X)は、次式(1)で示され、リードソ
ロモン符号の生成多項式Gr(X)は、次式(2)で示
される。
In recent years, a Reed-Solomon code (Reed-Solomon cod
e) Signs are used. The Reed-Solomon code is a correction code defined on a Galois field (Galois field) GF (2 n ). The Galois field is a set created based on an exclusive OR operation and in which addition, subtraction, multiplication and division operations are defined, and the elements of the Galois field are associated with data in word units and used for error correction. For example, a primitive polynomial p (X) in the Galois field GF (2 8 ) is represented by the following equation (1), and a generator polynomial Gr (X) of the Reed-Solomon code is represented by the following equation (2).

【0006】[0006]

【数1】 (Equation 1)

【0007】任意の次数の多項式をガロア体GF
(2n)上において代数的に解く方法は知られていない
ので、一般には、ガロア体GF(2n)上のすべての元
について代数方程式の解であるか否かを調べるチェンサ
ーチ(Chien search)と呼ばれる方法により多項式の解
を求める。チェンサーチアルゴリズムは、ガロア体の元
が有限個であることを利用してこれらを多項式に逐次代
入していき、多項式の値が0となるか否かでその元が解
か否かを判定し、これをすべての元について実行するこ
とによりその多項式を求解するというものである。
[0007] A polynomial of any order is represented by the Galois field GF
Since a method of solving algebraically on (2 n ) is not known, generally, Chien search for checking whether or not all elements on the Galois field GF (2 n ) are solutions of algebraic equations is performed. ) To find the solution of the polynomial. The Chien search algorithm uses a finite number of elements of the Galois field to sequentially substitute these into a polynomial, and determines whether or not the element is a solution based on whether or not the value of the polynomial is 0, This is performed for all the elements to solve the polynomial.

【0008】また、誤り位置多項式(error locator po
lynomial)は、その解がデータの誤り位置に応じた情報
を示すもので、チェンサーチアリゴリズムに従ってこれ
を求解することによりデータの誤り位置を検出すること
ができる。但し、リードソロモン符号では、誤りの大き
さは2n−1通りあるため誤り位置の他にそれに対応す
る誤りの大きさを求める必要がある。誤りの値は、誤り
評価多項式(error evaluator polynomial)により求め
られる。一般に、誤り位置多項式S(z)は、次式
(3)で示され、誤り評価多項式ω(z)はS(z)よ
り1次少ない式となる。
Further, an error locator polynomial (error locator po
lynomial) indicates the information corresponding to the error position of the data, and the error position of the data can be detected by solving this according to the Chien search algorithm. However, in the Reed-Solomon code, since there are 2 n -1 kinds of error magnitudes, it is necessary to find not only the error position but also the corresponding error magnitude. The value of the error is determined by an error evaluator polynomial. In general, the error locator polynomial S (z) is expressed by the following equation (3), and the error evaluation polynomial ω (z) is an equation that is one order smaller than S (z).

【0009】[0009]

【数2】 (Equation 2)

【0010】図8は従来の誤り訂正装置の構成を示すブ
ロック図である。
FIG. 8 is a block diagram showing a configuration of a conventional error correction device.

【0011】図8において、11は入力端子、12はバ
ッファメモリ、13はシンドローム計算回路、14は位
置多項式・数値多項式計算回路、15はチェンサーチ回
路、16は誤り数値計算回路、17は誤り訂正回路、1
8は出力端子である。
In FIG. 8, 11 is an input terminal, 12 is a buffer memory, 13 is a syndrome calculation circuit, 14 is a position polynomial / numerical polynomial calculation circuit, 15 is a Chien search circuit, 16 is an error numerical calculation circuit, and 17 is error correction. Circuit, 1
8 is an output terminal.

【0012】入力端子11からは受信信号Y0,Y1,
…,Yn-1が入力され、シンドローム計算回路13は受
信信号からシンドロームを計算する。シンドロームは、
位置多項式・数値多項式計算回路14に供給され、誤り
位置多項式と誤り数値多項式の係数が計算される。チェ
ンサーチ回路15では、誤り位置多項式の根を求めて誤
り位置を導出する。また、誤り数値計算回路16は、誤
り位置多項式と誤り数値多項式の係数から誤り位置にお
ける誤りの大きさを求める。
From input terminal 11, received signals Y0, Y1,.
, Yn-1 are input, and the syndrome calculation circuit 13 calculates the syndrome from the received signal. Syndrome is
It is supplied to the position polynomial / numerical polynomial calculation circuit 14, where the coefficients of the error position polynomial and the error numerical polynomial are calculated. The Chien search circuit 15 derives the error position by finding the root of the error position polynomial. Further, the error value calculation circuit 16 obtains the magnitude of the error at the error position from the error position polynomial and the coefficients of the error value polynomial.

【0013】誤り訂正回路17は、バッファメモリ12
から受信信号を受け取り、チェンサーチ回路15により
決定された誤り位置に発生し、誤り数値計算回路16で
計算された大きさを有する誤りを訂正し、復号結果を出
力端子18から出力する。
The error correction circuit 17 includes a buffer memory 12
, And corrects the error having the magnitude calculated at the error numerical value calculation circuit 16 at the error position determined by the Chien search circuit 15, and outputs the decoding result from the output terminal 18.

【0014】図9は上記誤り訂正装置の誤り訂正処理を
示すフローチャートであり、(1)〜(5)は処理のス
テップを示す。 (1)まず、シンドローム計算回路13は、受信信号Y
0,Y1,…,Yn-1からシンドロームを生成し、生成し
たシンドロームを位置多項式・数値多項式計算回路14
に転送する。ここで、生成したシンドロームがすべて0
であれば誤りなしと判断する。 (2)位置多項式・数値多項式計算回路14では、生成
したシンドロームを用いて誤り位置多項式と誤り評価多
項式(誤り数値多項式の係数)を求める。 (3)チェンサーチ回路15では、誤り位置多項式の根
を求めて誤り位置を求める。 (4)また、誤り数値計算回路16は、誤り位置多項式
と誤り評価多項式から誤り位置における誤り数値を求め
る。 (5)誤り訂正回路17は、誤り位置の検出結果を用い
て誤りデータを訂正する。
FIG. 9 is a flow chart showing the error correction processing of the error correction apparatus, and (1) to (5) show the steps of the processing. (1) First, the syndrome calculation circuit 13 outputs the received signal Y
A syndrome is generated from 0, Y1,..., Yn-1, and the generated syndrome is calculated by the position polynomial / numerical polynomial calculation circuit 14.
Transfer to Here, all the generated syndromes are 0
If so, it is determined that there is no error. (2) The position polynomial / numerical polynomial calculation circuit 14 calculates an error position polynomial and an error evaluation polynomial (coefficients of the error numerical polynomial) using the generated syndrome. (3) The Chien search circuit 15 finds the root of the error locator polynomial to find the error location. (4) The error value calculation circuit 16 obtains an error value at the error position from the error position polynomial and the error evaluation polynomial. (5) The error correction circuit 17 corrects the error data using the detection result of the error position.

【0015】以下、従来の誤り訂正装置に用いられるチ
ェンサーチ回路について説明する。
Hereinafter, a Chien search circuit used in a conventional error correction device will be described.

【0016】通常、4次以上の方程式の根を直接求める
のは難しいので、線形巡回符号の誤り位置多項式の根を
求める時には、その符号の体(field)上の元を1つず
つXに代入し、誤り位置多項式S(z)が0になるか否
かを調べることで根を求める。この方法による根の探索
をチェンサーチという。
Normally, since it is difficult to directly find the root of a fourth-order or higher-order equation, when finding the root of an error locator polynomial of a linear cyclic code, elements on the field of the code are substituted into X one by one. Then, a root is obtained by checking whether or not the error locator polynomial S (z) becomes 0. The root search by this method is called a Chien search.

【0017】例えば、ガロア体GF(28)を使用した
場合では、元が255個存在するので、すべての元をチ
ェンサーチ回路に代入し終えるまでに255クロックは
最低必要になる。
For example, when the Galois field GF (2 8 ) is used, since 255 elements exist, 255 clocks are required at least until all the elements have been substituted into the Chien search circuit.

【0018】しかし、HDDのように転送速度が速い装
置ではチェンサーチに割ける時間は限られているため、
パイプライン(Pipeline)化することによってチェンサ
ーチ回路を複数の回路部に分割して処理させ、各回路部
を並列動作させることによりチェンサーチの時間を短縮
するようにしている。
However, in a device such as an HDD having a high transfer rate, the time available for the chain search is limited.
The Chien search circuit is divided into a plurality of circuit units for processing by pipelining, and the time for Chien search is shortened by operating each circuit unit in parallel.

【0019】図10はHDDのように転送速度が速い装
置に使用されるチェンサーチ回路の構成を示す図であ
り、2段パイプラインの例である。
FIG. 10 is a diagram showing the configuration of a Chien search circuit used in a device having a high transfer rate such as an HDD, and is an example of a two-stage pipeline.

【0020】図10において、20aはパイプライン構
成された1段目のチェンサーチ回路、20bは2段目の
チェンサーチ回路であり、21a〜21fは誤り位置多
項式の係数、あるいはこれにガロア体の元を乗算したも
のを保持するための8ビットレジスタを構成するフリッ
プフロップ(FF)、22a〜22fは誤り位置多項式
の係数S1〜Siをフリップフロップ(FF)21a〜
21fへ入力するための入力端子、23a〜23cは2
段目のチェンサーチ回路20bにおいて前記式(3)に
示す誤り位置多項式のXに係る係数S1〜Siにαn
乗算してフリップフロップ(FF)21d〜21fに出
力する固定乗算器、24a〜24fはそれぞれの入力S
1〜Si、S1〜Siにαnを乗じたものにリードソロ
モン符号の符号生成多項式の解である指数表示された連
続するガロア体の元をその係数として乗算する固定乗算
器、25aはフリップフロップ(FF)21a〜21c
の出力を各ビット毎に排他的論理和演算する排他的論理
和(EOR)回路、25bはフリップフロップ(FF)
21d〜21fの出力を各ビット毎に排他的論理和演算
する排他的論理和(EOR)回路である。
In FIG. 10, reference numeral 20a denotes a first-stage Chien search circuit having a pipeline configuration, 20b denotes a second-stage Chien search circuit, and 21a to 21f denote the coefficients of the error locator polynomial or the Galois field Flip-flops (FF) constituting an 8-bit register for holding the product of multiplication of the elements, 22a to 22f convert coefficients S1 to Si of the error locator polynomial into flip-flops (FF) 21a to
Input terminals for input to 21f, 23a to 23c are 2
Fixed multipliers 24a to 24c to multiply the coefficients S1 to Si related to X of the error locator polynomial shown in the above equation (3) by α n in the Chien search circuit 20b and output the result to flip-flops (FF) 21d to 21f. 24f is each input S
A fixed multiplier that multiplies, as coefficients, exponentially displayed elements of a continuous Galois field, which is a solution of a code generation polynomial of a Reed-Solomon code, by multiplying 1 to Si, S1 to Si by α n, and a flip-flop 25a (FF) 21a-21c
Exclusive OR (EOR) circuit that performs an exclusive OR operation on the output of each bit, and a flip-flop (FF) 25b
An exclusive OR (EOR) circuit that performs an exclusive OR operation on the outputs of 21d to 21f for each bit.

【0021】EOR回路25aの出力又はEOR回路2
5bの出力が0であるとき、そのときの位置が誤りロケ
ータ(error locator)となる。なお、誤りロケータは
α-1という形で求まるものであり、通常このインデック
ス表現を、図示しないインデックス−ベクトル変換回路
を用いてガロア体GF(2n)で表現されるビット幅の
ベクトル位置に変換し、次段の訂正工程で使用する。
The output of the EOR circuit 25a or the EOR circuit 2
When the output of 5b is 0, the position at that time becomes an error locator. Note that the error locator is obtained in the form of α −1 , and usually converts this index expression into a vector position having a bit width expressed by a Galois field GF (2 n ) using an index-vector conversion circuit (not shown). And used in the next correction step.

【0022】フリップフロップ(FF)21d〜21f
は、乗算結果を保持する乗算結果保持回路を構成する。
Flip-flops (FF) 21d to 21f
Constitutes a multiplication result holding circuit for holding the multiplication result.

【0023】また、図中、nはαのべき乗を示す任意の
定数である。ガロア体GF(28)で、2段のパイプラ
インのときは128である。
In the drawing, n is an arbitrary constant indicating a power of α. In the case of a Galois field GF (2 8 ) and a two-stage pipeline, it is 128.

【0024】以上の構成において、1段目のチェンサー
チ回路20aは、入力端子22a〜22cから入力され
た誤り位置多項式の各次数の係数S1〜Siを、対応し
たフリップフロップ(FF)21a〜21cにロードす
る。固定乗算器24a〜24cでは、それぞれの入力S
1〜Siにリードソロモン符号の符号生成多項式の解で
ある指数表示された連続するガロア体の元を乗算し、ガ
ロア体の元を乗算したものを、フリップフロップ(F
F)21a〜21cに保持する。このαのべき乗を、誤
り位置多項式の該当する次数繰り返すことにより誤り位
置多項式の係数のうちα0〜αn-1までを検査する。
In the above configuration, the first-stage Chien search circuit 20a converts the coefficients S1 to Si of the respective degrees of the error locator polynomial input from the input terminals 22a to 22c into the corresponding flip-flops (FF) 21a to 21c. To load. In the fixed multipliers 24a to 24c, each input S
A product obtained by multiplying 1 to Si by an element of a continuous Galois field expressed as an exponent which is a solution of a code generation polynomial of a Reed-Solomon code and multiplying the element of a Galois field by a flip-flop (F
F) Hold at 21a-21c. The power of α is repeated by the corresponding order of the error locator polynomial to check α 0 to α n−1 among the coefficients of the error locator polynomial.

【0025】2段目のチェンサーチ回路20bは、固定
乗算器24a〜24fにより入力端子22d〜22fか
ら入力された誤り位置多項式の各次数の係数S1〜Si
にα nを乗じ、S1〜Siにαnを乗じたものを誤り位置
多項式の後半分の係数として対応したフリップフロップ
(FF)21d〜21fにロードする。固定乗算器24
d〜24fでは、それぞれのS1〜Siにαnを乗じた
ものにリードソロモン符号の符号生成多項式の解である
指数表示された連続するガロア体の元を乗算し、ガロア
体の元を乗算したものを、フリップフロップ(FF)2
1d〜21fに保持する。このαのべき乗を、誤り位置
多項式の該当する次数繰り返すことにより誤り位置多項
式の係数のうちαn〜α255までを検査する。
The second-stage Chien search circuit 20b is fixed.
The input terminals 22d to 22f are determined by the multipliers 24a to 24f.
Coefficients S1 to Si of each order of the error locator polynomial input from
To α nAnd S1 to Si are converted to αnMultiplied by the error position
Flip-flop corresponding as the second half coefficient of polynomial
(FF) Load to 21d to 21f. Fixed multiplier 24
For d to 24f, α is assigned to each of S1 to Si.nMultiplied by
What is the solution of the code generation polynomial of the Reed-Solomon code
Multiplies successive Galois fields in exponential notation, and
The result of multiplying the element of the field is flip-flop (FF) 2
It is held at 1d to 21f. The power of α is calculated as the error position
Error location polynomial by repeating the corresponding order of the polynomial
Α among the coefficients of the equationn~ Α255Inspect up to.

【0026】これによって、上記2段パイプライン化し
たチェンサーチ回路では、パイプライン化しないチェン
サーチ回路に比べ、半分のクロック(128クロック)
で全部の元の代入を行うことが可能になる。すなわち、
1段目のチェンサーチ回路20aは、α0の代入からス
タートし、2段目のチェンサーチ回路20bは、α128
からスタートするため、128クロックですべての元の
代入が終了する。したがって、チェンサーチの時間を約
半分に短縮することができる。
Thus, the two-stage pipelined Chien search circuit has half the clock (128 clocks) compared to the non-pipelined Chien search circuit.
Makes it possible to make all the original substitutions. That is,
The first-stage Chien search circuit 20a starts by substituting α 0 , and the second-stage Chien search circuit 20b generates α 128
, All the original substitutions are completed in 128 clocks. Therefore, the time for the chain search can be reduced to about half.

【0027】[0027]

【発明が解決しようとする課題】しかしながら、このよ
うな従来のチェンサーチ回路にあっては、以下のような
問題点があった。
However, such a conventional Chien search circuit has the following problems.

【0028】HDDのように転送速度が速い装置では、
チェンサーチに割ける時間は限られているため、上述し
たようにパイプライン化することによってチェンサーチ
の時間を短くしている。しかし、パイプライン化のため
にパイプラインの数だけチェンサーチ回路を用意する必
要があり、大幅なゲート回路の増加を招いていた。例え
ば、2段パイプライン化したチェンサーチ回路では、乗
算結果保持回路であるフリップフロップ(FF)がパイ
プライン化する前の2倍の2i個必要になる。
In a device having a high transfer rate such as an HDD,
Since the time available for the chain search is limited, the time for the chain search is shortened by using a pipeline as described above. However, it is necessary to prepare as many Chien search circuits as the number of pipelines for pipelining, which has led to a significant increase in gate circuits. For example, in a two-stage pipelined Chien search circuit, 2i flip-flops (FFs), which are multiplication result holding circuits, are required twice that before the pipeline processing.

【0029】具体的に説明する。例えば、28の体で、
12次の生成多項式を使用したリードソロモン符号を用
いるとともに、ランダム誤り(Random Error)とバース
ト誤り(Burst Error)を誤り位置を示すフラグ(ポイ
ンタ)を利用して復号するイレージャ訂正(Erasure Co
rrection)を用い、ユークリッド法(Euclid's algorit
hm)に基づいて復号する。これをハードウェアで実現し
た場合には、図10の1つのチェンサーチ回路で使用さ
れている8ビットフリップフロップ(FF)は、29個
であり、約3500ゲート程度になる。図10では、2
段のパイプラインであるから、2つのチェンサーチ回路
を合わせると約7000ゲート程度になる。つまり、2
パイプライン化するとチェンサーチの時間は半分の速度
(128クロック)に高速化されるが、チェンサーチ回
路におけるフリップフロップ(FF)は約3500ゲー
トから7000ゲート程度に倍増する。
A specific description will be given. For example, two 8 in the body,
An erasure correction (Erasure Co.) that uses a Reed-Solomon code using a twelfth-order generator polynomial and decodes a random error (Random Error) and a burst error (Burst Error) using a flag (pointer) indicating an error position.
rrection) using the Euclid's algorit method
hm). If this is realized by hardware, the number of 8-bit flip-flops (FF) used in one Chien search circuit in FIG. 10 is 29, which is about 3500 gates. In FIG. 10, 2
Since it is a pipeline of stages, the sum of the two Chien search circuits is about 7000 gates. That is, 2
Pipelining reduces the Chien search time to half the speed (128 clocks), but doubles the flip-flop (FF) in the Chien search circuit from about 3500 gates to about 7000 gates.

【0030】本発明は、チェンサーチの高速化のために
パイプライン化を行う際に、乗算結果保持回路のゲート
数を増加させることなく、チェンサーチに要する時間を
短縮することができるチェンサーチ回路、誤り訂正装置
及びディスクドライブ装置を提供することを目的とす
る。
The present invention provides a chain search circuit capable of reducing the time required for a chain search without increasing the number of gates of a multiplication result holding circuit when performing pipeline processing for speeding up the chain search. , An error correction device and a disk drive device.

【0031】[0031]

【課題を解決するための手段】本発明に係るチェンサー
チ回路は、線形巡回符号中に生じた誤りの位置を示す誤
り位置多項式の各係数に、線形巡回符号の体上の元を一
つずつ代入して誤り位置多項式が0になるか否かで根を
求めるチェンサーチ回路において、誤り位置多項式の各
項に対応して設けられ、誤り位置多項式の各係数を初期
値として保持するとともに、誤り位置多項式の各係数に
体の元を乗算した乗算結果を保持する乗算結果保持手段
と、乗算結果保持手段に対して並列に配置され、乗算結
果保持手段に保持された保持結果に次数の異なる体の元
を乗算する複数の固定乗算器群とを備え、複数の固定乗
算器群のうち、一番高次の固定乗算器群の乗算結果を乗
算結果保持手段に保持するように構成したことを特徴と
する。
SUMMARY OF THE INVENTION A Chien search circuit according to the present invention provides an element in the field of a linear cyclic code for each coefficient of an error locator polynomial indicating the position of an error occurring in the linear cyclic code. In a Chien search circuit that determines the root by substituting whether or not the error locator polynomial becomes 0, the Chien search circuit is provided corresponding to each term of the error locator polynomial, and holds each coefficient of the error locator polynomial as an initial value. A multiplication result holding means for holding a multiplication result obtained by multiplying each coefficient of the position polynomial by an element of the field; and a field having a different degree in the holding result held in the multiplication result holding means and arranged in parallel with the multiplication result holding means. And a plurality of fixed multiplier groups for multiplying the element of, wherein the multiplication result of the highest-order fixed multiplier group among the plurality of fixed multiplier groups is held in the multiplication result holding means. Features.

【0032】本発明に係るチェンサーチ回路は、ガロア
体GF(2n)上のリードソロモン符号の復号を行う
際、チェンサーチを用いて誤り位置多項式の根を算出
し、誤り位置を求めるチェンサーチ回路において、誤り
位置多項式の各項に対応して設けられ、誤り位置多項式
の各係数を初期値として保持するとともに、誤り位置多
項式の各係数にガロア体の元を乗算した乗算結果を保持
する乗算結果保持手段と、乗算結果保持手段に対して並
列に配置され、乗算結果保持手段に保持された保持結果
に次数の異なるガロア体の元を乗算する複数の固定乗算
器群と、複数の固定乗算器群の出力の各ビット成分毎に
排他的論理和演算を行う排他的論理和手段とを備え、複
数の固定乗算器群のうち、一番高次の固定乗算器群の乗
算結果を乗算結果保持手段に保持するように構成したこ
とを特徴とする。
When decoding the Reed-Solomon code on the Galois field GF (2 n ), the Chien search circuit according to the present invention calculates the root of the error locator polynomial using the Chien search and finds the error position. In the circuit, multiplication is provided corresponding to each term of the error locator polynomial, holds each coefficient of the error locator polynomial as an initial value, and holds a multiplication result obtained by multiplying each coefficient of the error locator polynomial by an element of a Galois field. A plurality of fixed multiplier groups arranged in parallel with the result holding means and the multiplication result holding means for multiplying the held results held by the multiplication result holding means by elements of Galois fields of different orders; Exclusive OR means for performing an exclusive OR operation for each bit component of the output of the group of units, and multiplying the multiplication result of the highest-order fixed multiplier group among a plurality of fixed multiplier groups Retention Characterized by being configured to hold the stage.

【0033】本発明に係るチェンサーチ回路は、各固定
乗算器群における乗算が、同一クロックで同時に実行さ
れるものであってもよい。
In the Chien search circuit according to the present invention, the multiplication in each fixed multiplier group may be executed simultaneously by the same clock.

【0034】本発明に係るチェンサーチ回路は、最低符
号長分のガロア体の元を、i(iは任意の正の整数)次
の誤り位置多項式に代入するチェンサーチを行う場合、
パイプラインの数をn(nは任意の正の整数)としてチ
ェンサーチに要する時間を符号長/nとするとき、複数
の固定乗算器群は、n個であり、乗算結果保持手段は、
i−1個であってもよい。
The Chien search circuit according to the present invention performs a Chien search in which the element of the Galois field corresponding to the minimum code length is substituted into an error locator polynomial of order i (where i is an arbitrary positive integer).
When the number of pipelines is n (n is an arbitrary positive integer) and the time required for Chien search is code length / n, the number of fixed multiplier groups is n, and the multiplication result holding means is:
The number may be i-1.

【0035】本発明に係る誤り訂正装置は、入力データ
からシンドロームを生成するシンドローム生成手段と、
シンドロームを用いて誤り位置多項式と誤り評価多項式
を演算する演算手段と、チェンサーチにより誤り位置多
項式の根を求めるチェンサーチ手段と、誤り位置及び誤
りの値に用いてデータ中の誤りを訂正する訂正手段とを
備えた誤り訂正装置において、チェンサーチ手段は、請
求項1乃至4の何れかに記載のチェンサーチ回路を用い
たことを特徴とする。
[0035] The error correction device according to the present invention comprises: syndrome generation means for generating a syndrome from input data;
Calculating means for calculating an error locator polynomial and an error evaluation polynomial using a syndrome; chien search means for finding a root of the error locator polynomial by a chien search; and correction for correcting an error in data using an error position and an error value And an error correction device comprising: a chain search circuit according to any one of claims 1 to 4;

【0036】本発明に係るディスクドライブ装置は、デ
ィスク状記録媒体上のサーボセクタの再生、並びにデー
タセクタの記録又は再生を行う記録再生手段と、少なく
とも外部の機器に対するデータの入出力制御、又は記録
再生手段によるデータセクタの記録若しくは再生の制御
を行う制御手段と、誤り訂正符号に基づいてデータの復
号を、チェンサーチ回路構造を持つハードウェア構造に
より実現する誤り訂正手段とを備えたディスクドライブ
装置において、チェンサーチ回路は、請求項1乃至4の
何れかに記載のチェンサーチ回路を用いたことを特徴と
する。
A disk drive device according to the present invention includes a recording / reproducing means for reproducing a servo sector on a disk-shaped recording medium and recording or reproducing a data sector, and at least controlling input / output of data to / from an external device or recording / reproducing. A disk drive device comprising: a control unit that controls recording or reproduction of a data sector by a unit; and an error correction unit that realizes decoding of data based on an error correction code by a hardware structure having a Chien search circuit structure. The Chien search circuit uses the Chien search circuit according to any one of claims 1 to 4.

【0037】[0037]

【発明の実施の形態】以下、図面を参照して本発明の実
施の形態について説明する。 第1の実施形態 図1は本発明の第1の実施形態に係るディスクドライブ
装置の構成を示すブロック図である。本実施形態は、チ
ェンサーチ回路及び誤り訂正装置を、高速な転送速度が
要求されるHDDに適用した例である。
Embodiments of the present invention will be described below with reference to the drawings. First Embodiment FIG. 1 is a block diagram showing a configuration of a disk drive device according to a first embodiment of the present invention. This embodiment is an example in which a Chien search circuit and an error correction device are applied to an HDD that requires a high transfer rate.

【0038】図1において、磁気ディスク装置(HD
D)30は、データ記録媒体である磁気ディスク31
(ディスク状記憶媒体)と、磁気ディスク31に記録/
再生を行うための磁気ヘッド32と、磁気ヘッド32が
取り付けられたヘッドアーム33と、磁気ヘッド32に
近接して配置され、磁気ヘッド32の再生信号を増幅す
るヘッドアンプ(AE)34と、このAE34を介して
供給される再生出力からのサーボパターン、シリンダI
D(CYLID)等の抽出、符号化方式の変換等を行う
チャネル35と、磁気ディスクに対しデータの読み出し
/書き込み等の動作を制御するとともに、誤り訂正符号
の復号を行うハードディスクコントローラ(Hard Disk
Controller:HDC)36と、HDC36に対する制御
を含む、HDD全体の動作を制御するMPU37と、供
給されたデータを一時的に記憶するとともに、記録/再
生データがキャッシュされるDRAMからなるセクタバ
ッファ38とを備えて構成される。
In FIG. 1, a magnetic disk drive (HD
D) 30 is a magnetic disk 31 as a data recording medium
(Disk-shaped storage medium) and
A magnetic head 32 for performing reproduction, a head arm 33 to which the magnetic head 32 is attached, a head amplifier (AE) 34 disposed close to the magnetic head 32 and amplifying a reproduction signal of the magnetic head 32, Servo pattern from reproduction output supplied via AE34, cylinder I
A channel 35 for extracting D (CYLID) and the like, converting an encoding method, and the like, and a hard disk controller (Hard Disk) for controlling operations such as reading / writing data from / to a magnetic disk and decoding an error correction code.
Controller: HDC) 36, an MPU 37 for controlling the operation of the entire HDD including control of the HDC 36, and a sector buffer 38 composed of a DRAM for temporarily storing supplied data and for caching recorded / reproduced data. It is comprised including.

【0039】また、HDC36には、ヘッドアーム33
を移動させるボイスコイルモータ(VCM)と、磁気デ
ィスク31を回転駆動するスピンドルモータを含む、V
CMを駆動するVCM駆動部(いずれも図示略)とが設
置されている。また、上記HDC36、MPU37及び
セクタバッファ38は、HDC−MPU集積チップとし
て、例えば単一の半導体素子により構成される。
The HDC 36 includes a head arm 33.
VCM including a voice coil motor (VCM) for moving the magnetic disk 31 and a spindle motor for rotating the magnetic disk 31.
A VCM drive unit (all not shown) for driving a CM is provided. The HDC 36, the MPU 37, and the sector buffer 38 are configured as, for example, a single semiconductor element as an HDC-MPU integrated chip.

【0040】チャネル35は、波形整形回路、アナログ
・デジタル変換器(ADC)及びデジタル・アナログ変
換器(DAC)等をモジュール化したリード/ライトチ
ャネルモジュールである。チャネル35は、サーボパタ
ーンの再生レベルに対応したアナログ電圧、あるいはそ
れらに相当するデジタル値をHDC36に供給する。
The channel 35 is a read / write channel module in which a waveform shaping circuit, an analog / digital converter (ADC), a digital / analog converter (DAC) and the like are modularized. The channel 35 supplies an analog voltage corresponding to the reproduction level of the servo pattern or a digital value corresponding thereto to the HDC 36.

【0041】MPU37は、制御プログラムを実行する
マイクロプロセッサであり、制御プログラム、データを
格納するメモリ等を備え、制御プログラムを実行するこ
とにより、外部の装置とのコマンド、データの入出力制
御、磁気ディスク31に対する書き込み/読み出し制御
等を実行する。
The MPU 37 is a microprocessor for executing a control program, and includes a memory for storing the control program and data. The MPU 37 executes the control program to control commands with external devices, input / output control of data, It executes write / read control for the disk 31 and the like.

【0042】HDC36は、チャネル35に対する制御
信号の発生、サーボパターンの検索、グレイコードの再
生出力からのCYLIDの生成等を行い、これらの信号
及び図2に示すセクタデータを出力するドライブ制御部
41と、ECC(error correcting code:誤り訂正符
号)に基づいてサーボデータの復号を、チェンサーチ回
路構造を持つハードウェア構造により実現するECC制
御部42(誤り訂正装置)と、セクタバッファセグメン
トを保持するセクタバッファ38を制御するメモリ制御
部43と、双方向線路を介して外部のホスト装置に接続
するためのインターフェース(I/F)からなるホスト
制御部44とを備えて構成される。
The HDC 36 generates a control signal for the channel 35, searches for a servo pattern, generates a CYLID from a gray code reproduced output, and the like, and outputs a drive signal for outputting these signals and the sector data shown in FIG. And an ECC control unit (error correction device) 42 that implements decoding of servo data based on an ECC (error correcting code) by a hardware structure having a Chien search circuit structure, and holds a sector buffer segment. A memory controller 43 for controlling the sector buffer 38 and a host controller 44 comprising an interface (I / F) for connecting to an external host device via a bidirectional line are provided.

【0043】図2はHDD30で使用されるセクタデー
タの構造を示す図である。
FIG. 2 is a diagram showing the structure of sector data used in the HDD 30.

【0044】図2に示すように、1セクタデータは、5
12バイトのユーザデータと、ECCからなる。
As shown in FIG. 2, one sector data is 5
It consists of 12 bytes of user data and ECC.

【0045】HDC36は、MPU37がプログラムに
よって動作するのに対し、予め設定されたハードウェア
シーケンスによって動作する。このため、サーボ制御の
ための演算に特化してはいるがMPU37に比較して高
速動作が可能である。また、MPU37等から所定のパ
ラメータが設定された後は、独立に動作することがで
き、MPU37等の処理負荷をそれほど増加させない。
The HDC 36 operates according to a preset hardware sequence while the MPU 37 operates according to a program. For this reason, the operation can be performed at a higher speed than that of the MPU 37 although the operation is specialized for the servo control. After the predetermined parameters are set by the MPU 37 or the like, the operation can be performed independently, and the processing load of the MPU 37 or the like is not increased so much.

【0046】また、ECC制御部42は、HDC36の
一部として実装されており、さらにHDC36は上述の
ようにMPU37と同一の素子上に設けられている。こ
のため、HDC36とMPU37間の配線数を保ったま
ま、素子外部と信号の入出力を行うための端子数を減少
させることができる。パッケージサイズの小型化、装置
の小型化等に寄与することができる。
The ECC controller 42 is mounted as a part of the HDC 36, and the HDC 36 is provided on the same element as the MPU 37 as described above. Therefore, the number of terminals for inputting and outputting signals to and from the outside of the device can be reduced while maintaining the number of wires between the HDC 36 and the MPU 37. This can contribute to downsizing of the package size and downsizing of the device.

【0047】ECC制御部42は、具体的には図3に示
すように構成されている。
The ECC controller 42 is specifically configured as shown in FIG.

【0048】図3は上記ECC制御部42の構成を示す
ブロック図である。ブロック構成自体は前記図8と同様
である。
FIG. 3 is a block diagram showing the configuration of the ECC controller 42. The block configuration itself is the same as in FIG.

【0049】図3において、51は入力端子、52はバ
ッファメモリ、53はシンドローム計算回路(シンドロ
ーム生成手段)、54は位置多項式・数値多項式計算回
路(演算手段)、55はチェンサーチ回路(チェンサー
チ手段)、56は誤り数値計算回路、57は誤り訂正回
路(訂正手段)、58は出力端子である。
In FIG. 3, 51 is an input terminal, 52 is a buffer memory, 53 is a syndrome calculation circuit (syndrome generation means), 54 is a position polynomial / numeric polynomial calculation circuit (arithmetic means), and 55 is a Chien search circuit (Chen search circuit). Means, 56 is an error value calculation circuit, 57 is an error correction circuit (correction means), and 58 is an output terminal.

【0050】入力端子51からは受信信号Y0,Y1,
…,Yn-1が入力され、シンドローム計算回路53は受
信信号からシンドロームを計算する。シンドロームは、
位置多項式・数値多項式計算回路54に供給され、誤り
位置多項式と誤り数値多項式の係数が計算される。チェ
ンサーチ回路55では、誤り位置多項式の根を求めて誤
り位置を導出する。また、誤り数値計算回路56は、誤
り位置多項式と誤り数値多項式の係数から誤り位置にお
ける誤りの大きさを求める。
From input terminal 51, received signals Y0, Y1,.
, Yn-1 are input, and the syndrome calculation circuit 53 calculates the syndrome from the received signal. Syndrome is
It is supplied to the position polynomial / numerical polynomial calculation circuit 54, and the coefficients of the error position polynomial and the error numerical polynomial are calculated. The Chien search circuit 55 derives the error position by finding the root of the error position polynomial. Further, the error value calculation circuit 56 obtains the magnitude of the error at the error position from the error position polynomial and the coefficients of the error value polynomial.

【0051】誤り訂正回路57は、バッファメモリ52
から受信信号を受け取り、チェンサーチ回路55により
決定された誤り位置に発生し、誤り数値計算回路56で
計算された大きさを有する誤りを訂正し、復号結果を出
力端子58から出力する。
The error correction circuit 57 includes a buffer memory 52
Receives the received signal, corrects the error having the magnitude calculated at the error value calculation circuit 56 at the error position determined by the Chien search circuit 55, and outputs the decoding result from the output terminal 58.

【0052】以上、本実施形態に係るディスクドライブ
装置の構成について説明したが、本実施形態の特徴部分
は、ECC制御部42がハードウェアロジックで実現す
るチェンサーチ回路の構造にある。
The configuration of the disk drive device according to the present embodiment has been described above. The feature of the present embodiment lies in the structure of the Chien search circuit realized by the ECC controller 42 using hardware logic.

【0053】すなわち、本実施形態に係るECC制御部
42は、単に、誤り訂正を行うハードウェアロジックだ
けではなく、以下に述べるチェンサーチ回路構造を持つ
ことにあり、このようなチェンサーチ回路構造を持つも
のであれば、ディスクドライブ装置の種類やアクチュエ
ータの位置制御方法はどのようなものにも適用できる。
That is, the ECC control unit 42 according to the present embodiment has not only hardware logic for performing error correction but also a Chien search circuit structure described below. As long as it has, the type of the disk drive device and the position control method of the actuator can be applied to any type.

【0054】図4は上記チェンサーチ回路55の構成を
示すブロック図であり、転送速度が速いHDDに使用さ
れるチェンサーチ回路の構成を示す図である。本実施形
態は、チェンサーチの高速化のためにパイプライン化を
行う際、パイプラインの数を2とした場合の例である。
FIG. 4 is a block diagram showing the configuration of the Chien search circuit 55, and is a diagram showing the configuration of a Chien search circuit used for an HDD having a high transfer rate. This embodiment is an example in the case where the number of pipelines is set to two when performing pipeline processing for speeding up the Chien search.

【0055】図4において、チェンサーチ回路55は、
誤り位置多項式の係数にガロア体の元を乗算した結果を
保持するための8ビットレジスタを構成するフリップフ
ロップ(FF)101a〜101c(乗算結果保持手
段)と、前記式(3)に示す誤り位置多項式のZに係る
係数S1〜Siをフリップフロップ(FF)101a〜
101cへ入力するための入力端子102a〜102c
と、フリップフロップ(FF)101a〜101cに並
列配置され、誤り位置多項式の係数S1〜Siに、誤り
位置多項式の次数のうち高次のαのべき乗(αn)を乗
算してフリップフロップ(FF)101a〜101cに
出力する高次の固定乗算器103a〜103cと、フリ
ップフロップ(FF)101a〜101cに並列配置さ
れ、フリップフロップ(FF)101a〜101cに保
持された乗算結果に誤り位置多項式の次数のうち低次の
αのべき乗(αn-1)を乗算して出力する低次の固定乗
算器104a〜104cと、高次の固定乗算器103a
〜103cの乗算結果を保持したフリップフロップ(F
F)101a〜101cの出力を各ビット毎に排他的論
理和演算する排他的論理和(EOR)回路105(排他
的論理和手段)と、低次の固定乗算器104a〜104
cの乗算結果を各ビット毎に排他的論理和演算する排他
的論理和(EOR)回路106(排他的論理和手段)と
から構成される。
In FIG. 4, the chain search circuit 55
Flip-flops (FF) 101a to 101c (multiplication result holding means) constituting an 8-bit register for holding the result of multiplying the coefficient of the error locator polynomial by the element of the Galois field; Coefficients S1 to Si related to the polynomial Z are flip-flop (FF) 101a to
Input terminals 102a to 102c for inputting to 101c
Are arranged in parallel with the flip-flops (FF) 101a to 101c, and multiply the coefficients S1 to Si of the error locator polynomial by a higher-order power of α (α n ) of the order of the error locator polynomial, thereby obtaining a flip-flop (FF ) The high-order fixed multipliers 103a to 103c that output to the 101a to 101c and the flip-flops (FF) 101a to 101c are arranged in parallel, and the multiplication results held in the flip-flops (FF) 101a to 101c are added to the error position polynomial. Low-order fixed multipliers 104a to 104c for multiplying and outputting a lower-order power of α (α n-1 ) among the orders and a higher-order fixed multiplier 103a
Flip-flop (F
F) An exclusive OR (EOR) circuit 105 (exclusive OR means) for performing an exclusive OR operation on the outputs of 101a to 101c for each bit, and low-order fixed multipliers 104a to 104
An exclusive OR (EOR) circuit 106 (exclusive OR means) for performing an exclusive OR operation on the multiplication result of c for each bit.

【0056】高次の固定乗算器103a〜103cは、
全体として高次の固定乗算器群103(複数の固定乗算
器群)を構成し、低次の固定乗算器104a〜104c
は、全体として低次の固定乗算器群104(複数の固定
乗算器群)を構成する。
The high-order fixed multipliers 103a to 103c
A high-order fixed multiplier group 103 (a plurality of fixed multiplier groups) is configured as a whole, and low-order fixed multipliers 104a to 104c are formed.
Constitute a low-order fixed multiplier group 104 (a plurality of fixed multiplier groups) as a whole.

【0057】EOR回路105の出力又はEOR回路1
06の出力が0であるとき、そのときの位置が誤りロケ
ータ(error locator)となる。なお、誤りロケータは
α-1という形で求まるものであり、通常このインデック
ス表現を、図示しないインデックス−ベクトル変換回路
を用いてガロア体GF(2n)で表現されるビット幅の
ベクトル位置に変換し、次段の訂正工程で使用する。
Output of EOR circuit 105 or EOR circuit 1
When the output of 06 is 0, the position at that time becomes an error locator. Note that the error locator is obtained in the form of α −1 , and usually converts this index expression into a vector position having a bit width expressed by a Galois field GF (2 n ) using an index-vector conversion circuit (not shown). And used in the next correction step.

【0058】フリップフロップ(FF)101a〜10
1cは、誤り位置多項式の次数のうち高次のαのべき乗
(αn)を乗算する高次の固定乗算器103a〜103
cの乗算結果のみを保持する。
Flip-flops (FF) 101a to 101
1c is a higher-order fixed multiplier 103a-103 that multiplies a higher-order power of α (α n ) among the degrees of the error locator polynomial.
Only the multiplication result of c is held.

【0059】高次の固定乗算器103a〜103cは、
フリップフロップ(FF)101a〜101cに並列配
置され、誤り位置多項式の係数S1〜Siに、誤り位置
多項式の次数のうち一番高次のαのべき乗(αn)を乗
算するもので、パイプラインの数を2とした本実施形態
ではαのべき乗はそれぞれ、α-2,α-4,…,α-2i
ある。
The high-order fixed multipliers 103a to 103c
Flip-flops (FF) 101a to 101c are arranged in parallel, and multiply coefficients S1 to Si of the error locator polynomial by the highest power of α (α n ) of the order of the error locator polynomial, and are pipelined. In the present embodiment in which the number of is 2, the powers of α are α −2 , α −4 ,..., Α −2i , respectively.

【0060】低次の固定乗算器104a〜104cは、
フリップフロップ(FF)101a〜101cに並列配
置され、フリップフロップ(FF)101a〜101c
に保持された乗算結果に誤り位置多項式の次数のうち低
次のαのべき乗(αn-1)を乗算して出力するもので、
本実施形態ではαのべき乗はそれぞれ、α-1,α-2
…,α-iである。
The low-order fixed multipliers 104a to 104c are
The flip-flops (FF) 101a to 101c are arranged in parallel with the flip-flops (FF) 101a to 101c.
Is multiplied by a low-order power of α (α n-1 ) of the order of the error locator polynomial and output.
In the present embodiment, the powers of α are α −1 , α −2 ,
…, Α -i .

【0061】ここで、高次の固定乗算器103a〜10
3c(高次の固定乗算器群103)と低次の固定乗算器
104a〜104c(低次の固定乗算器群104)の配
置についてさらに具体的に説明する。
Here, high-order fixed multipliers 103a to 103a
The arrangement of 3c (high-order fixed multiplier group 103) and low-order fixed multipliers 104a to 104c (low-order fixed multiplier group 104) will be described more specifically.

【0062】本チェンサーチ回路55は、各フリップフ
ロップ(FF)101a〜101cに対応して並列に、
一番高次のαのべき乗(αn)をそれぞれ乗算する高次
の固定乗算器103a〜103cと、それより低次のα
のべき乗(αn-1)をそれぞれ乗算する低次の固定乗算
器104a〜104cとを配置し、一番高次のαのべき
乗(αn)を乗算する高次の固定乗算器103a〜10
3cの乗算結果のみをフリップフロップ(FF)101
a〜101cに保持するとともに、高次の固定乗算器1
03a〜103cの乗算結果をEOR回路105で、低
次の固定乗算器104a〜104cの乗算結果をEOR
回路106でそれぞれEORして誤り位置多項式の演算
結果が0であることを探索する構成をとる。
The chain search circuit 55 is provided in parallel with each flip-flop (FF) 101a to 101c,
Higher-order fixed multipliers 103a to 103c for multiplying the highest order powers of α (α n ), and lower-order αs
Powers (α n-1) to multiply respectively disposed a low following the fixed multiplier 104 a to 104 c, high-order fixed multiplier for multiplying the power of most higher α (α n) 103a~10
Only the multiplication result of 3c is flip-flop (FF) 101
a to 101c and a high-order fixed multiplier 1
03a to 103c are multiplied by an EOR circuit 105, and the multiplication results of the low-order fixed multipliers 104a to 104c are multiplied by an EOR circuit.
Each of the circuits 106 performs an EOR to search for a result of the error locator polynomial calculation of 0.

【0063】このような構成を、各フリップフロップ
(FF)101a〜101cに着目してみると、例えば
フリップフロップ(FF1)101aでは、フリップフ
ロップ(FF1)101aと並列に、α-2を乗算する高
次の固定乗算器103aと、この固定乗算器103aよ
り誤り位置多項式の次数が1つ低いα-1を乗算する低次
の固定乗算器104aとが配置され、高次の固定乗算器
103aの乗算結果のみがフリップフロップ(FF1)
101aで保持される。また、高次の固定乗算器103
aの乗算結果はEOR回路105で、低次の固定乗算器
104aの乗算結果はEOR回路106でEORされ
る。すなわち、このフリップフロップ(FF1)101
a、高次の固定乗算器103a及び低次の固定乗算器1
04aからなる回路部では、前記式(3)に示す誤り位
置多項式のZに係る係数S1により×α-2と×α-1が並
列化して演算される。
Focusing on such a configuration in each of the flip-flops (FF) 101a to 101c, for example, the flip-flop (FF1) 101a multiplies α −2 in parallel with the flip-flop (FF1) 101a. A high-order fixed multiplier 103a and a low-order fixed multiplier 104a that multiplies by α −1 in which the order of the error locator polynomial is one lower than the fixed multiplier 103a are arranged. Only multiplication result is flip-flop (FF1)
It is held at 101a. Also, a high-order fixed multiplier 103
The multiplication result of a is EORed by the EOR circuit 105, and the multiplication result of the low-order fixed multiplier 104 a is EORed by the EOR circuit 106. That is, the flip-flop (FF1) 101
a, high-order fixed multiplier 103a and low-order fixed multiplier 1
In the circuit unit 04a, × α −2 and × α −1 are calculated in parallel by the coefficient S1 related to Z of the error locator polynomial shown in the above equation (3).

【0064】同様に、フリップフロップ(FF1)10
1bでは、フリップフロップ(FF2)101bと並列
に、α-4を乗算する高次の固定乗算器103bと、この
固定乗算器103bより誤り位置多項式の次数が1つ低
いα-3を乗算する低次の固定乗算器104bとが配置さ
れ、高次の固定乗算器103bの乗算結果のみがフリッ
プフロップ(FF2)101bで保持される。高次の固
定乗算器103bの乗算結果はEOR回路105で、低
次の固定乗算器104bの乗算結果はEOR回路106
でEORされ、このフリップフロップ(FF2)101
b、高次の固定乗算器103b及び低次の固定乗算器1
04bからなる回路部では、前記誤り位置多項式のZに
係る係数S2により×α-4と×α-3が並列化して演算さ
れる。
Similarly, a flip-flop (FF1) 10
1b, in parallel with the flip-flop (FF2) 101b, a high-order fixed multiplier 103b for multiplying by α -4 and a low-order multiplier for multiplying the fixed multiplier 103b by α -3 whose order of the error locator polynomial is one less. The next fixed multiplier 104b is arranged, and only the multiplication result of the higher-order fixed multiplier 103b is held in the flip-flop (FF2) 101b. The multiplication result of the higher-order fixed multiplier 103b is an EOR circuit 105, and the multiplication result of the lower-order fixed multiplier 104b is an EOR circuit 106.
And the flip-flop (FF2) 101
b, high-order fixed multiplier 103b and low-order fixed multiplier 1
In the circuit section composed of 04b, × α -4 and × α -3 are calculated in parallel by the coefficient S2 related to Z of the error locator polynomial.

【0065】さらに、フリップフロップ(FFi)10
1cでは、フリップフロップ(FFi)101cと並列
に、α-2iを乗算する高次の固定乗算器103cと、こ
の固定乗算器103cより誤り位置多項式の次数が1つ
低いα-iを乗算する低次の固定乗算器104cとが配置
され、高次の固定乗算器103cの乗算結果のみがフリ
ップフロップ(FFi)101cで保持される。高次の
固定乗算器103cの乗算結果はEOR回路105で、
低次の固定乗算器104cの乗算結果はEOR回路10
6でEORされ、このフリップフロップ(FFi)10
1c、高次の固定乗算器103c及び低次の固定乗算器
104cからなる回路部では、前記誤り位置多項式のZ
に係る係数Siにより×α-2iと×α-iが並列化して演
算される。
Further, a flip-flop (FFi) 10
In 1c, in parallel with the flip-flop (FFi) 101c, a high-order fixed multiplier 103c that multiplies by α −2i and a low-order that multiplies α −i by which the order of the error locator polynomial is one less than the fixed multiplier 103c. The next fixed multiplier 104c is arranged, and only the multiplication result of the higher-order fixed multiplier 103c is held in the flip-flop (FFi) 101c. The multiplication result of the higher-order fixed multiplier 103c is output from the EOR circuit 105,
The multiplication result of the low-order fixed multiplier 104c is output from the EOR circuit 10
6 and the flip-flop (FFi) 10
1c, a high-order fixed multiplier 103c and a low-order fixed multiplier 104c have a Z
X α -2i and × α -i are calculated in parallel by the coefficient Si according to the above.

【0066】したがって、チェンサーチ回路55全体で
は、各フリップフロップ(FF)101a〜101cに
対応して高次の係数の乗算とそれよりも低次の係数の乗
算を一組とする2つの乗算演算が並列化して実行される
構成となっている。
Therefore, in the entire Chien search circuit 55, two multiplication operations are performed in which the multiplication of a higher-order coefficient and the multiplication of a lower-order coefficient corresponding to each flip-flop (FF) 101a to 101c constitute one set. Are executed in parallel.

【0067】なお、誤り位置多項式のZに係る係数Si
の乗算は、指数部がマイナスであり除算となっている
が、係数の逆数をテーブル化した逆数テーブルをROM
等に用意しておき、この逆数テーブルを用いて係数の逆
数を乗算することにより除算を行えばよい。このように
逆数テーブルを用いて乗算するようにして多項式を算出
すると、多項式演算部の構成を簡略化でき少ないハード
ウェア量で線形巡回符号を復号処理することができる
が、これについては本出願人が既に出願している特願平
10−184827号を参照されたい。
The coefficient Si related to Z of the error locator polynomial
In the multiplication, the exponent part is minus and division is performed.
The division may be performed by multiplying the reciprocal of the coefficient using the reciprocal table. When the polynomial is calculated by multiplication using the reciprocal table as described above, the configuration of the polynomial calculation unit can be simplified, and the linear cyclic code can be decoded with a small amount of hardware. See Japanese Patent Application No. 10-184827, which has already filed an application.

【0068】以下、上述のように構成されたディスクド
ライブ装置のチェンサーチ回路の動作を説明する。
The operation of the Chien search circuit of the disk drive configured as described above will be described below.

【0069】まず、本発明の基本的な考え方について述
べる。
First, the basic concept of the present invention will be described.

【0070】従来のディスクドライブ装置の誤り訂正装
置に用いるチェンサーチ回路は、最低符号長分のガロア
体の元を誤り位置多項式に順次代入することによりチェ
ンサーチを行っていたため、最低符号長クロックの時間
がかかっていた。HDDのように転送速度が速い装置で
はチェンサーチに割ける時間は限られているため、パイ
プライン化することによってチェンサーチ回路を複数の
回路部に分割して処理させている。また、より訂正能力
を上げるために誤り位置多項式の次数も増大(例えば、
12次)させる必要がある。
The Chien search circuit used in the error correction device of the conventional disk drive device performs the Chien search by sequentially substituting the elements of the Galois field of the minimum code length into the error locator polynomial. It was taking time. In a device having a high transfer rate, such as an HDD, the time available for chien search is limited. Therefore, the chien search circuit is divided into a plurality of circuit units and processed by pipelining. In addition, the order of the error locator polynomial is also increased to further improve the correction capability (for example,
12th).

【0071】パイプラインの数をnとして、チェンサー
チにかかる時間を、符号長/nにする場合には、通常、
チェンサーチ回路用の固定乗算器を数をn倍にして、誤
り位置多項式の係数に乗算した結果をフリップフロップ
(FF)で保持する。この場合、フリップフロップ(F
F)は、(誤り位置多項式の次数i−1)×n個必要と
なる。
When the number of pipelines is n and the time required for Chien search is code length / n,
The number of fixed multipliers for the Chien search circuit is multiplied by n, and the result of multiplying the coefficient of the error locator polynomial by a flip-flop (FF) is held. In this case, the flip-flop (F
F) requires (degree i−1 of the error locator polynomial) × n.

【0072】そこで本発明では、αのべき乗を乗じる回
路を並列化して、一番高次の固定乗算器群の演算結果の
みをフリップフロップ(FF)で保持することにより、
フリップフロップ(FF)のゲート数は増加させずにチ
ェンサーチにかかる時間を1/nにするものである。
In the present invention, a circuit for multiplying by a power of α is parallelized, and only the operation result of the highest-order fixed multiplier group is held by a flip-flop (FF).
The time required for Chien search is reduced to 1 / n without increasing the number of gates of the flip-flop (FF).

【0073】次に、上記基本的な考え方に基づいてディ
スクドライブ装置のチェンサーチ回路55の動作を詳細
に説明する。
Next, the operation of the chain search circuit 55 of the disk drive will be described in detail based on the above basic concept.

【0074】いま、説明の簡単化のため、ガロア体GF
(28)で、i次の誤り位置多項式の根を求めるチェン
サーチ回路を考える。また、高次の固定乗算器群103
を固定乗算器群Aと呼び、低次の固定乗算器群104を
固定乗算器群Bと呼ぶ。
Now, for the sake of simplicity, the Galois field GF
In (2 8 ), consider a Chien search circuit for finding the root of the ith-order error locator polynomial. Further, a high-order fixed multiplier group 103
Is called a fixed multiplier group A, and the low-order fixed multiplier group 104 is called a fixed multiplier group B.

【0075】まず、乗算結果保持回路群であるフリップ
フロップ(FF1)101a〜(FFi)101cに、前
記式(3)に示す誤り位置多項式のZに係る係数S1〜
Siをロードする。
First, the coefficients S1 to Z1 of the error locator polynomial shown in the above equation (3) are applied to flip-flops (FF1) 101a to (FFi) 101c, which are a group of multiplication result holding circuits.
Load Si.

【0076】すると、固定乗算器群Aは、Zにα-2を代
入したときの値の計算を行い、固定乗算器群Bは、Zに
α-1を代入したときの値の計算を行う。この時、フリッ
プフロップ(FF1)101aは、Zにα-2を代入した
ときの乗算結果を保持する。
Then, the fixed multiplier group A calculates the value when α −2 is substituted for Z, and the fixed multiplier group B calculates the value when α −1 is substituted for Z. . At this time, the flip-flop (FF1) 101a holds a multiplication result when α- 2 is substituted for Z.

【0077】次いで、フリップフロップ(FF1)10
1aには、α-2を代入したときの値が保持されているの
で、固定乗算器群Aは、Zにα-4を代入したときの値を
計算し、固定乗算器群Bは、Zにα-3を代入したときの
値を計算する。そして、フリップフロップ(FF1)1
01aは、Zにα-4を代入したときの乗算結果を保持す
る。
Next, the flip-flop (FF1) 10
Since 1a holds the value when α −2 is substituted, the fixed multiplier group A calculates the value when α −4 is substituted for Z, and the fixed multiplier group B calculates the value when Z −2 is substituted. Is calculated when α -3 is substituted for. And flip-flop (FF1) 1
01a holds the multiplication result when α- 4 is substituted for Z.

【0078】上記αのべき乗が、クロック毎に誤り位置
多項式の該当する次数繰り返される。固定乗算器群Aに
ついてみると、フリップフロップ(FF1)101a〜
(FFi)101cには、クロック毎に固定乗算器群A
の乗算結果を2乗した値が保持されることになる。
The power of α is repeated for each clock by the corresponding order of the error locator polynomial. As for the fixed multiplier group A, flip-flops (FF1) 101a to
(FFi) 101c has a fixed multiplier group A for each clock.
Is held as the square of the result of multiplication.

【0079】ここでは、上記動作を128クロック、す
なわち128回行うことで、255個の元すべてについ
て検査することができる。この場合、従来例のように2
段のパイプライン化を行わない構成であるため、乗算結
果保持回路であるフリップフロップ(FF1)101a
〜(FFi)101cを増やすことなく、しかもチェン
サーチに要する時間は2段のパイプライン化を行った場
合と同等の128クロックですべての元の代入が終了す
る。すなわち、乗算結果保持回路を増やすことなく、チ
ェンサーチの時間を約半分(128クロック)に短縮す
ることができる。
Here, by performing the above operation for 128 clocks, that is, 128 times, all 255 elements can be inspected. In this case, as in the conventional example, 2
Since the stage is not pipelined, the flip-flop (FF1) 101a which is a multiplication result holding circuit
All the original substitutions are completed without increasing the number of (FFi) 101c and in the time required for the Chien search in 128 clocks, which is equivalent to the case of performing two-stage pipelining. That is, the Chien search time can be reduced to about half (128 clocks) without increasing the number of multiplication result holding circuits.

【0080】上記チェンサーチの時間が半減する理由に
ついてさらに具体的に説明する。
The reason why the Chien search time is reduced by half will be described more specifically.

【0081】図5(a)は誤り位置多項式との関係でチ
ェンサーチ回路の動作を説明するためのブロック図であ
り、前記図4と同じものである。但し、動作を明確にす
るために、図5(b)に示す次数の多項式を例にとると
ともに、指数部のマイナスをとり、係数をC1〜C4とす
る。
FIG. 5A is a block diagram for explaining the operation of the Chien search circuit in relation to the error locator polynomial, and is the same as FIG. However, in order to clarify the operation, a polynomial of degree shown in FIG. 5B is taken as an example, and the exponent part is minus, and the coefficients are C1 to C4.

【0082】まず、乗算結果保持回路群であるフリップ
フロップ(FF1)に、図5(b)に示す次数の誤り位
置多項式のZに係る係数C1をロードする。
First, the coefficient C1 related to Z of the error locator polynomial of the order shown in FIG. 5B is loaded into the flip-flop (FF1), which is a group of multiplication result holding circuits.

【0083】固定乗算器群Aは、Zにα2を代入したと
きの値の計算を行い、固定乗算器群Bは、Zにα1を代
入したときの値の計算を行う。この時は、フリップフロ
ップ(FF1)における固定乗算器群Aの固定乗算器1
03aからは、Zにα2を代入したときの乗算結果C1α
2が出力され、固定乗算器群Bの固定乗算器104aか
らは、Zにα1を代入したときの乗算結果C1α1が出力
される。フリップフロップ(FF1)101aは、Zに
α2を代入したときの固定乗算器103aからの乗算結
果C1α2を保持する。
The fixed multiplier group A calculates the value when α 2 is substituted for Z, and the fixed multiplier group B calculates the value when α 1 is substituted for Z. At this time, the fixed multiplier 1 of the fixed multiplier group A in the flip-flop (FF1)
03a, the multiplication result C1α when α 2 is substituted for Z
2 is output from the fixed multiplier 104a of the fixed multipliers B, the multiplication result C1arufa 1 when substituting alpha 1 to Z is outputted. Flip-flop (FF1) 101a holds the multiplication result C1arufa 2 from the fixed multiplier 103a when substituting alpha 2 to Z.

【0084】同様に、フリップフロップ(FF2)に、
図5(b)に示す次数の誤り位置多項式のZに係る係数
C2をロードする。この時は、フリップフロップ(FF
2)における固定乗算器群Aの固定乗算器103bから
は、Zに(α22を代入したときの乗算結果C2α4が出
力され、固定乗算器群Bの固定乗算器104bからは、
Zに(α12を代入したときの乗算結果C2α2が出力さ
れる。フリップフロップ(FF2)101bは、Zに
(α22を代入したときの固定乗算器103aからの乗
算結果C2α4を保持する。
Similarly, the flip-flop (FF2) has
The coefficient C2 relating to Z of the error locator polynomial of the order shown in FIG. 5B is loaded. At this time, the flip-flop (FF
From the fixed multiplier 103b of the fixed multipliers A in 2), is multiplied result C2arufa 4 is output when substituting (alpha 2) 2 to Z, from the fixed multiplier 104b of the fixed multipliers B,
Multiplication result C2arufa 2 when substituting (alpha 1) 2 in Z is outputted. Flip-flop (FF2) 101b holds the multiplication result C2arufa 4 from the fixed multiplier 103a when substituting (alpha 2) 2 to Z.

【0085】また、フリップフロップ(FFi)に、図
5(b)に示す次数の誤り位置多項式のZに係る係数C
3をロードする。この時は、フリップフロップ(FFi)
における固定乗算器群Aの固定乗算器103cからは、
Zに(α23を代入したときの乗算結果C3α6が出力さ
れ、固定乗算器群Bの固定乗算器104cからは、Zに
(α13を代入したときの乗算結果C3α3が出力され
る。フリップフロップ(FFi)101cは、Zに
(α23を代入したときの固定乗算器103aからの乗
算結果C3α6を保持する。
The flip-flop (FFi) has a coefficient C according to Z of the error locator polynomial of the order shown in FIG.
Load 3 At this time, flip-flop (FFi)
From the fixed multiplier 103c of the fixed multiplier group A at
Z in (alpha 2) 3 outputs the multiplication result C3arufa 6 when substituting, from the fixed multiplier 104c of the fixed multipliers B, and the multiplication result C3arufa 3 when substituting (alpha 1) 3 to Z Is output. Flip-flop (FFi) 101c holds the multiplication result C3arufa 6 from the fixed multiplier 103a when substituting (alpha 2) 3 to Z.

【0086】上記αのべき乗が、クロック毎に繰り返さ
れる。固定乗算器群Aについてみると、フリップフロッ
プ(FF1)〜(FFi)には、クロック毎に固定乗算器
群Aの乗算結果を2乗した値が保持されることになる。
つまり、固定乗算器群Aについては1クロックで2乗ず
つ、また、固定乗算器群Bについては、1クロックで1
乗ずつ係数が乗算されることになる。
The power of α is repeated for each clock. As for the fixed multiplier group A, the flip-flops (FF1) to (FFi) hold the values obtained by squaring the multiplication result of the fixed multiplier group A for each clock.
That is, the fixed multiplier group A is squared at one clock, and the fixed multiplier group B is one square at one clock.
The coefficients are multiplied by the power.

【0087】ここまでの動作は、図5(c)の式で示さ
れる。図5(c)の上段の式は、固定乗算器群Bの乗算
結果のEORを表し、図5(c)の下段の式は、フリッ
プフロップ(FF1)〜(FFi)に保持された固定乗算
器群Aの乗算結果のEORを表す。
The operation up to this point is shown by the equation in FIG. The upper equation in FIG. 5C shows the EOR of the multiplication result of the fixed multiplier group B, and the lower equation in FIG. 5C shows the fixed multiplication held in the flip-flops (FF1) to (FFi). It represents the EOR of the multiplication result of the group A.

【0088】特徴的な動作としては、図5(c)の上段
の式と下段の式が同時に、すなわち1クロックで計算さ
れることにある。
As a characteristic operation, the upper and lower equations in FIG. 5C are calculated at the same time, that is, in one clock.

【0089】このように、高次の固定乗算器群103
(固定乗算器群A)における乗算及びその値のフリップ
フロップ(FF1)〜(FFi)の保持動作と、低次の固
定乗算器群104(固定乗算器群B)における乗算動作
が同時に実行されることになるため、128クロック
で、255個の元すべてについて検査することができ
る。したがって、乗算結果保持回路を増やすことなく、
チェンサーチの時間を約半分に短縮することができる。
As described above, the high-order fixed multiplier group 103
The multiplication in the (fixed multiplier group A) and the operation of holding the flip-flops (FF1) to (FFi) of the values and the multiplication operation in the low-order fixed multiplier group 104 (fixed multiplier group B) are simultaneously executed. Therefore, all of the 255 elements can be inspected at 128 clocks. Therefore, without increasing the multiplication result holding circuit,
The chain search time can be reduced by about half.

【0090】ここで、高次の固定乗算器群103におけ
る乗算動作と、低次の固定乗算器群104における乗算
動作が並列動作している点に着目すると、本実施形態に
係るチェンサーチは乗算結果保持回路の増加を伴わない
新たなパイプライン方式といえる。
Attention is paid to the fact that the multiplication operation in the high-order fixed multiplier group 103 and the multiplication operation in the low-order fixed multiplier group 104 operate in parallel. It can be said that this is a new pipeline method without increasing the number of result holding circuits.

【0091】以上、本発明の特徴部分であるチェンサー
チ回路の動作について説明したが、本チェンサーチ回路
はそのまま前記図3に示すECC制御部42のチェンサ
ーチ回路55に適用することができ、ECC制御部42
全体の回路規模を減少させることができる。ECC制御
部42の動作については、前記図8の従来例と同様であ
るため説明を省略する。
The operation of the Chien search circuit, which is a feature of the present invention, has been described above. However, the present Chien search circuit can be directly applied to the Chien search circuit 55 of the ECC control unit 42 shown in FIG. Control unit 42
The overall circuit scale can be reduced. The operation of the ECC control unit 42 is the same as that of the conventional example shown in FIG.

【0092】以上説明したように、第1の実施形態に係
るチェンサーチ回路55は、誤り位置多項式の各項に対
応して設けられ、誤り位置多項式の各係数を初期値とし
て保持するとともに、誤り位置多項式の各係数にガロア
体の元を乗算した乗算結果を保持するフリップフロップ
(FF)101a〜101cと、各フリップフロップ
(FF)101a〜101cに対応して並列に、一番高
次のαのべき乗(αn)をそれぞれ乗算する高次の固定
乗算器103a〜103cと、それより低次のαのべき
乗(αn-1)をそれぞれ乗算する低次の固定乗算器10
4a〜104cとを配置し、一番高次のαのべき乗(α
n)を乗算する高次の固定乗算器103a〜103cの
乗算結果のみをフリップフロップ(FF)101a〜1
01cに保持するとともに、高次の固定乗算器103a
〜103cの乗算結果をEOR回路105で、低次の固
定乗算器104a〜104cの乗算結果をEOR回路1
06でそれぞれEORして誤り位置多項式の演算結果が
0であることを探索するように構成したので、チェンサ
ーチの高速化のためにパイプライン化を行う際に、フリ
ップフロップ(FF)101a〜101cの個数を増加
させることなく、チェンサーチに要する時間を短縮する
ことができる。
As described above, the Chien search circuit 55 according to the first embodiment is provided corresponding to each term of the error locator polynomial, holds each coefficient of the error locator polynomial as an initial value, and sets the error locator polynomial as an initial value. Flip-flops (FF) 101a to 101c that hold multiplication results obtained by multiplying each coefficient of the position polynomial by an element of the Galois field, and the highest order α in parallel with each flip-flop (FF) 101a to 101c. Higher-order fixed multipliers 103a to 103c for multiplying by powers of (α n ), respectively, and lower-order fixed multipliers 10 for multiplying lower-order powers of α (α n-1 ), respectively.
4a to 104c, and the highest power of α (α
n ), only the multiplication results of the higher-order fixed multipliers 103a to 103c are flip-flop (FF) 101a to 1
01c and a high-order fixed multiplier 103a
The EOR circuit 105 calculates the multiplication result of the low-order fixed multipliers 104a to 104c.
At the time of performing EOR at 06 and searching for the result of the operation of the error locator polynomial being 0, the flip-flops (FFs) 101a to 101c are used when performing pipeline processing for speeding up the Chien search. The time required for the Chien search can be reduced without increasing the number of.

【0093】本実施形態では、最低符号長分のガロア体
GF(28)で、i次の誤り位置多項式に代入するチェ
ンサーチを行う際、パイプラインの数をn=2としてチ
ェンサーチに要する時間を符号長/2とする場合である
から、フリップフロップ(FF1)101a〜(FFi)
101cはi−1個であり、複数の固定乗算器群は、高
次の固定乗算器群103と低次の固定乗算器群104の
2つである。したがって、固定乗算器103a〜103
c,104a〜104cの個数は、前記図10に示す従
来のチェンサーチ回路と同じであるものの、乗算結果保
持回路であるフリップフロップ(FF1)101a〜
(FFi)101cの個数は1/2に減少させることが
できる。
In this embodiment, when performing a Chien search for substituting into the i-th order error locator polynomial in the Galois field GF (2 8 ) of the minimum code length, the number of pipelines is set to n = 2 and the Chien search is required. Since the time is the code length / 2, the flip-flops (FF1) 101a to (FFi)
101c is i−1, and a plurality of fixed multiplier groups are a high-order fixed multiplier group 103 and a low-order fixed multiplier group 104. Therefore, fixed multipliers 103a-103
Although the numbers of c and 104a to 104c are the same as those of the conventional Chien search circuit shown in FIG. 10, the flip-flops (FF1) 101a to 101f which are multiplication result holding circuits are provided.
The number of (FFi) 101c can be reduced to half.

【0094】また、本チェンサーチ回路を構成する場合
に部品の追加や係数導入方法の変更等がないため、低コ
ストで容易に実施できる効果がある。
In addition, when the present chain search circuit is configured, there is no need to add components or change the method of introducing coefficients.

【0095】さらに、チェンサーチ回路55のハードウ
ェア量が減少するのでECC制御部42及びHDD30
全体の回路規模を削減することができる。 第2の実施形態 上記実施形態では、2パイプラインにした時を記述して
いるが、同様な考え方でパイプラインの数を増やすこと
によって、乗算結果保持回路を増やすことなく、チェン
サーチの時間を減らすことができる。以下、パイプライ
ンの数を増やす例について説明する。
Further, since the hardware amount of the chain search circuit 55 is reduced, the ECC control unit 42 and the HDD 30
The overall circuit scale can be reduced. Second Embodiment In the above embodiment, the case where two pipelines are used is described. However, by increasing the number of pipelines in the same way, the time of the Chien search can be reduced without increasing the number of multiplication result holding circuits. Can be reduced. Hereinafter, an example in which the number of pipelines is increased will be described.

【0096】図6はチェンサーチ回路の構成を示すブロ
ック図であり、転送速度が速いHDDに使用されるチェ
ンサーチ回路の構成を示す図である。本実施形態は、チ
ェンサーチの高速化のためにパイプライン化を行う際、
パイプラインの数を3とした場合の例である。本チェン
サーチ回路は、前記図3のECC制御部42のチェンサ
ーチ回路に用いることができる。
FIG. 6 is a block diagram showing a configuration of a Chien search circuit, and is a diagram showing a configuration of a Chien search circuit used for an HDD having a high transfer rate. In this embodiment, when performing pipeline processing for speeding up the chain search,
This is an example where the number of pipelines is three. This chain search circuit can be used for the chain search circuit of the ECC control unit 42 in FIG.

【0097】図6において、チェンサーチ回路200
は、誤り位置多項式の係数にガロア体の元を乗算した結
果を保持するための8ビットレジスタを構成するフリッ
プフロップ(FF)201a〜201cと、前記式
(3)に示す誤り位置多項式のZに係る係数S1〜Si
をフリップフロップ(FF)201a〜201cへ入力
するための入力端子202a〜202cと、フリップフ
ロップ(FF)201a〜201cに並列配置され、誤
り位置多項式の係数S1〜Siに、誤り位置多項式の次
数のうち一番高次のαのべき乗(αn)を乗算してフリ
ップフロップ(FF)201a〜201cに出力する高
次の固定乗算器203a〜203cと、フリップフロッ
プ(FF)201a〜201cに並列配置され、誤り位
置多項式の係数S1〜Siに、誤り位置多項式の次数の
うち高次のαのべき乗(αn)を乗算してフリップフロ
ップ(FF)201a〜201cに出力する高次の固定
乗算器204a〜204cと、フリップフロップ(F
F)201a〜201cに並列配置され、フリップフロ
ップ(FF)201a〜201cに保持された乗算結果
に誤り位置多項式の次数のうち低次のαのべき乗(α
n-1)を乗算して出力する低次の固定乗算器205a〜
205cと、一番高次の固定乗算器203a〜203c
の乗算結果を保持したフリップフロップ(FF)201
a〜201cの出力を各ビット毎に排他的論理和演算す
る排他的論理和(EOR)回路206と、高次の固定乗
算器204a〜204cの乗算結果を各ビット毎に排他
的論理和演算する排他的論理和(EOR)回路207
と、低次の固定乗算器205a〜205cの乗算結果を
各ビット毎に排他的論理和演算する排他的論理和(EO
R)回路208と、EOR回路206の各ビット毎のE
OR出力が0であることを判定する第1の0判定回路
(Zero Detect1)209と、EOR回路207の各ビ
ット毎のEOR出力が0であることを判定する第2の0
判定回路(Zero Detect2)210と、EOR回路20
8の各ビット毎のEOR出力が0であることを判定する
第3の0判定回路(Zero Detect3)211とから構成
される。
Referring to FIG. 6, Chien search circuit 200
Are the flip-flops (FF) 201a to 201c forming an 8-bit register for holding a result obtained by multiplying the coefficient of the error locator polynomial by the element of the Galois field, and Z of the error locator polynomial shown in the equation (3). Such coefficients S1 to Si
Input terminals 202a to 202c for inputting to the flip-flops (FF) 201a to 201c and the flip-flops (FF) 201a to 201c, and the coefficients S1 to Si of the error locator polynomial, Among them, high-order fixed multipliers 203a to 203c that multiply by the highest power of α (α n ) and output to flip-flops (FF) 201a to 201c, and are arranged in parallel to flip-flops (FF) 201a to 201c. A high-order fixed multiplier that multiplies the coefficients S1 to Si of the error locator polynomial by a higher-order power of α (α n ) of the order of the error locator polynomial and outputs the result to flip-flops (FF) 201a to 201c. 204a to 204c and a flip-flop (F
F) The multiplication results arranged in parallel to 201a to 201c and held in the flip-flops (FF) 201a to 201c have lower powers of α (α) among the degrees of the error locator polynomial.
n-1 ) to output a low-order fixed multiplier 205a-
205c and the highest-order fixed multipliers 203a to 203c
(FF) 201 holding the multiplication result of
Exclusive OR (EOR) circuit 206 that performs an exclusive OR operation on the outputs of a to 201c for each bit, and performs an exclusive OR operation on the multiplication results of higher-order fixed multipliers 204a to 204c for each bit. Exclusive OR (EOR) circuit 207
And an exclusive OR (EO) for performing an exclusive OR operation on the multiplication results of the low-order fixed multipliers 205a to 205c for each bit.
R) circuit 208 and EOR for each bit of EOR circuit 206
A first 0 determination circuit (Zero Detect 1) 209 for determining that the OR output is 0, and a second 0 for determining that the EOR output of each bit of the EOR circuit 207 is 0
Judgment circuit (Zero Detect 2) 210 and EOR circuit 20
And a third zero determination circuit (Zero Detect 3) 211 for determining that the EOR output of each of the 8 bits is 0.

【0098】一番高次の固定乗算器203a〜203c
は、全体として一番高次の固定乗算器群203(複数の
固定乗算器群)を構成し、高次の固定乗算器204a〜
204cは、全体として高次の固定乗算器群204(複
数の固定乗算器群)を構成し、低次の固定乗算器205
a〜205cは、全体として低次の固定乗算器群205
(複数の固定乗算器群)を構成する。
The highest-order fixed multipliers 203a to 203c
Constitutes a highest-order fixed multiplier group 203 (a plurality of fixed multiplier groups) as a whole, and includes higher-order fixed multipliers 204a to 204d.
204c constitutes a higher-order fixed multiplier group 204 (a plurality of fixed multiplier groups) as a whole, and a lower-order fixed multiplier 205
a to 205c are low-order fixed multiplier groups 205 as a whole.
(A plurality of fixed multiplier groups).

【0099】各0判定回路209〜211は、EOR回
路206〜208で求めた誤り位置多項式の演算結果が
0であることを判定し、0であると判定すると、そのと
きの位置を誤りロケータとして出力する。なお、インデ
ックス表現された誤りロケータは、図示しないインデッ
クス−ベクトル変換回路を用いてガロア体GF(2n
で表現されるビット幅のベクトル位置に変換し、次段の
訂正工程に供給される。
Each of the 0 determination circuits 209 to 211 determines that the operation result of the error locator polynomial obtained by the EOR circuits 206 to 208 is 0, and if it determines 0, the position at that time is used as an error locator. Output. The indexed error locator is converted to a Galois field GF (2 n ) using an index-vector conversion circuit (not shown).
Is converted into a vector position having a bit width represented by the following formula, and is supplied to the next correction step.

【0100】フリップフロップ(FF)201a〜20
1cは、誤り位置多項式の次数のうち一番高次のαのべ
き乗(αn)を乗算する一番高次の固定乗算器203a
〜203cの乗算結果のみを保持する。
Flip-flops (FF) 201a to 201
1c is the highest-order fixed multiplier 203a that multiplies the highest order power of α (α n ) among the degrees of the error locator polynomial.
Only the multiplication results of .about.203c are held.

【0101】一番高次の固定乗算器203a〜203c
は、フリップフロップ(FF)201a〜201cに並
列配置され、誤り位置多項式の係数S1〜Siに、誤り
位置多項式の次数のうち一番高次のαのべき乗(αn
を乗算するもので、パイプラインの数を3とした本実施
形態ではαのべき乗はそれぞれ、α3,α6,…,α3i
ある。
Highest fixed multipliers 203a to 203c
Are arranged in parallel with flip-flops (FF) 201a to 201c, and the coefficients S1 to Si of the error locator polynomial have the highest power of α (α n ) among the degrees of the error locator polynomial.
In the present embodiment where the number of pipelines is 3, the powers of α are α 3 , α 6 ,..., Α 3i , respectively.

【0102】高次の固定乗算器204a〜204cは、
フリップフロップ(FF)201a〜201cに並列配
置され、誤り位置多項式の係数S1〜Siに、誤り位置
多項式の次数のうち、上記一番高次の固定乗算器203
a〜203cに次ぐ高次のαのべき乗(αn-1)を乗算
するもので、本実施形態ではαのべき乗はそれぞれ、α
2,α4,…,α2iである。
The high-order fixed multipliers 204a to 204c
Flip-flops (FF) 201a to 201c are arranged in parallel, and coefficients S1 to Si of the error locator polynomial are added to the highest-order fixed multiplier 203 of the order of the error locator polynomial.
a to 203c are multiplied by a higher order power of α (α n-1 ). In the present embodiment, the powers of α are α
2 , α 4 ,..., Α 2i .

【0103】低次の固定乗算器205a〜205cは、
フリップフロップ(FF)201a〜201cに並列配
置され、フリップフロップ(FF)201a〜201c
に保持された乗算結果に誤り位置多項式の次数のうち低
次のαのべき乗(αn-2)を乗算して出力するもので、
本実施形態ではαのべき乗はそれぞれ、α1,α2,…,
αiである。
The low-order fixed multipliers 205a to 205c
The flip-flops (FF) 201a to 201c are arranged in parallel with the flip-flops (FF) 201a to 201c.
Is multiplied by the low-order power of α (α n−2 ) of the order of the error locator polynomial and output.
In the present embodiment, the powers of α are α 1 , α 2 ,.
α i .

【0104】なお、誤り位置多項式のZに係る係数Si
の乗算は、指数部がプラスである通常の乗算演算とした
が、第1の実施形態のように指数部がマイナスで、係数
の逆数をテーブル化した逆数テーブルを用いた除算演算
としてもよい。
Incidentally, the coefficient Si relating to Z of the error locator polynomial
Is a normal multiplication operation in which the exponent part is positive, but may be a division operation using a reciprocal table in which the exponent part is negative and the reciprocals of the coefficients are tabulated as in the first embodiment.

【0105】ここで、一番高次の固定乗算器203a〜
203c(一番高次の固定乗算器群203)、高次の固
定乗算器204a〜204c(高次の固定乗算器群20
4)、及び低次の固定乗算器205a〜205c(低次
の固定乗算器群205)の配置についてさらに具体的に
説明する。
Here, the highest-order fixed multipliers 203a to 203a
203c (highest-order fixed multiplier group 203), high-order fixed multipliers 204a to 204c (high-order fixed multiplier group 20)
4) and the arrangement of low-order fixed multipliers 205a to 205c (low-order fixed multiplier group 205) will be described more specifically.

【0106】本実施形態にあっても基本的な構成は、第
1の実施形態と同様であり、チェンサーチに要する基本
クロックを何分の1に削減するか決定し、ここでは1/
3クロック(パイプラインの数が3)であるから3つの
固定乗算器群203〜205を、フリップフロップ(F
F)201a〜201cに並列に配置し、一番次数の高
い固定乗算器群203の乗算結果のみをフリップフロッ
プ(FF)201a〜201cに保存するように構成す
る。
In this embodiment, the basic configuration is the same as that of the first embodiment, and it is determined how many times the basic clock required for the Chien search is to be reduced.
Since there are three clocks (the number of pipelines is three), three fixed multiplier groups 203 to 205 are connected to the flip-flop (F
F) It is arranged in parallel with 201a to 201c, and only the multiplication result of the fixed multiplier group 203 having the highest order is stored in the flip-flops (FF) 201a to 201c.

【0107】すなわち、本チェンサーチ回路200は、
各フリップフロップ(FF)201a〜201cに対応
して並列に、一番高次のαのべき乗(αn)をそれぞれ
乗算する一番高次の固定乗算器203a〜203cと、
それに次ぐ高次のαのべき乗(αn-1)をそれぞれ乗算
する高次の固定乗算器204a〜204cと、それより
低次のαのべき乗(αn-2)をそれぞれ乗算する低次の
固定乗算器205a〜205cとを配置し、一番高次の
αのべき乗(αn)を乗算する一番高次の固定乗算器2
03a〜203cの乗算結果のみをフリップフロップ
(FF)201a〜201cに保持するとともに、一番
高次の固定乗算器203a〜203cの乗算結果をEO
R回路206で、高次の固定乗算器204a〜204c
の乗算結果をEOR回路207で、低次の固定乗算器2
05a〜205cの乗算結果をEOR回路208でそれ
ぞれEORし、EOR回路206〜208の出力から0
判定回路209〜211で誤り位置多項式の演算結果が
0であることを探索する構成をとる。
That is, the present chain search circuit 200
The highest-order fixed multipliers 203a to 203c which multiply by the highest-order powers of α (α n ) in parallel with the flip-flops (FF) 201a to 201c, respectively;
Higher - order fixed multipliers 204a to 204c that respectively multiply by the next higher powers of α (α n−1 ), and lower-order fixed multipliers that multiply by lower powers of α (α n-2 ), respectively. Fixed multipliers 205a to 205c are arranged, and the highest-order fixed multiplier 2 for multiplying the highest-order power of α (α n )
03a to 203c are held in flip-flops (FF) 201a to 201c, and the multiplication results of the highest-order fixed multipliers 203a to 203c are stored in EO.
In the R circuit 206, high-order fixed multipliers 204a to 204c
Is multiplied by an EOR circuit 207 to a low-order fixed multiplier 2
The EOR circuits 208 perform EOR on the multiplication results of 05a to 205c, and output 0 from the outputs of the EOR circuits 206 to 208, respectively.
The determination circuits 209 to 211 are configured to search for an error result polynomial operation result of 0.

【0108】このような構成を、各フリップフロップ
(FF)201a〜201cに着目してみると、例えば
フリップフロップ(FF1)201aでは、フリップフ
ロップ(FF1)201aと並列に、α3を乗算する高次
の固定乗算器203aと、この固定乗算器203aより
誤り位置多項式の次数が1つ低いα2を乗算する高次の
固定乗算器204aと、さらにこの固定乗算器204a
より誤り位置多項式の次数が1つ低いα1を乗算する低
次の固定乗算器205aとが配置され、一番高次の固定
乗算器203aの乗算結果のみがフリップフロップ(F
F1)201aで保持される。また、一番高次の固定乗
算器203aの乗算結果はEOR回路206で、高次の
固定乗算器203aの乗算結果はEOR回路207で、
低次の固定乗算器205aの乗算結果はEOR回路20
8でEORされる。すなわち、このフリップフロップ
(FF1)201a、一番高次の固定乗算器203a、
高次の固定乗算器204a及び低次の固定乗算器205
aからなる回路部では、前記式(3)に示す誤り位置多
項式のZに係る係数S1により×α3、×α2及び×α1
が並列化して演算される。
[0108] High this arrangement, for multiplying Looking focusing on each flip-flop (FF) 201 a to 201 c, the example flip-flop (FF1) 201a, in parallel with flip-flop (FF1) 201a, the alpha 3 A next fixed multiplier 203a, a higher-order fixed multiplier 204a that multiplies α 2 whose degree of the error locator polynomial is one less than the fixed multiplier 203a, and a fixed multiplier 204a
A low-order fixed multiplier 205a for multiplying α 1 in which the order of the error locator polynomial is lower by one is arranged, and only the multiplication result of the highest-order fixed multiplier 203a is a flip-flop (F
F1) is held at 201a. The multiplication result of the highest-order fixed multiplier 203a is an EOR circuit 206, and the multiplication result of the high-order fixed multiplier 203a is an EOR circuit 207.
The multiplication result of the low-order fixed multiplier 205a is
EOR at 8. That is, the flip-flop (FF1) 201a, the highest-order fixed multiplier 203a,
High order fixed multiplier 204a and low order fixed multiplier 205
In the circuit section consisting of a, xα 3 , × α 2, and × α 1 are calculated by the coefficient S1 relating to Z of the error locator polynomial shown in the above equation (3).
Are calculated in parallel.

【0109】同様に、フリップフロップ(FF2)20
1b、一番高次の固定乗算器203b、高次の固定乗算
器204b及び低次の固定乗算器205bからなる回路
部では、前記誤り位置多項式のZに係る係数S2により
×α6、×α4及び×α2が並列化して演算される。ま
た、フリップフロップ(FFi)201cでは、一番高
次の固定乗算器203c、高次の固定乗算器204c及
び低次の固定乗算器205cからなる回路部では、前記
誤り位置多項式のZに係る係数Siにより×α3i、×α
2i及び×αiが並列化して演算される。
Similarly, a flip-flop (FF2) 20
1b, the highest-order fixed multiplier 203b, the higher-order fixed multiplier 204b, and the lower-order fixed multiplier 205b have a circuit section of × α 6 , × α by the coefficient S2 related to Z of the error locator polynomial. 4 and × α 2 are calculated in parallel. In the flip-flop (FFi) 201c, a circuit unit including the highest-order fixed multiplier 203c, the higher-order fixed multiplier 204c, and the lower-order fixed multiplier 205c has a coefficient related to Z of the error locator polynomial. × α 3i , × α by Si
2i and i are calculated in parallel.

【0110】したがって、チェンサーチ回路200全体
では、各フリップフロップ(FF)201a〜201c
に対応して一番高次の係数の乗算と高次の係数の乗算と
それよりも低次の係数の乗算を一組とする3つの乗算演
算が並列化して実行される構成となっている。
Therefore, in the entire Chien search circuit 200, each flip-flop (FF) 201a to 201c
Accordingly, three multiplication operations are performed in parallel, in which multiplication of the highest-order coefficient, multiplication of the higher-order coefficient, and multiplication of lower-order coefficients are a set. .

【0111】以下、上述のように構成されたチェンサー
チ回路200の動作を説明する。基本的な動作は、第1
の実施形態と同様である。
Hereinafter, the operation of the Chien search circuit 200 configured as described above will be described. The basic operation is
This is the same as the embodiment.

【0112】いま、説明の簡単化のため、ガロア体GF
(28)で、i次の誤り位置多項式の根を求めるチェン
サーチ回路を考える。また、一番高次の固定乗算器群2
03を固定乗算器群A、高次の固定乗算器群204を固
定乗算器群B、低次の固定乗算器群205をそれぞれ固
定乗算器群Cと呼ぶ。
Now, for the sake of simplicity, the Galois field GF
In (2 8 ), consider a Chien search circuit for finding the root of the ith-order error locator polynomial. The highest-order fixed multiplier group 2
03 is referred to as a fixed multiplier group A, the higher-order fixed multiplier group 204 is referred to as a fixed multiplier group B, and the lower-order fixed multiplier group 205 is referred to as a fixed multiplier group C.

【0113】まず、乗算結果保持回路群であるフリップ
フロップ(FF1)201a〜(FFi)201cに、前
記式(3)に示す誤り位置多項式のZに係る係数S1〜
Siをロードする。
First, the coefficients S1 to Z of the error locator polynomial shown in the above equation (3) are applied to flip-flops (FF1) 201a to (FFi) 201c, which are a group of multiplication result holding circuits.
Load Si.

【0114】すると、固定乗算器群Aは、Zにα3を代
入したときの値の計算を行い、固定乗算器群Bは、Zに
α2を代入したときの値の計算を行い、固定乗算器群C
は、Zにα1を代入したときの値の計算を行う。この
時、フリップフロップ(FF1)201aは、Zにα3
代入したときの乗算結果のみを保持する。
Then, the fixed multiplier group A calculates the value when α 3 is substituted for Z, and the fixed multiplier group B calculates the value when α 2 is substituted for Z. Multiplier group C
Calculates the value when α 1 is substituted for Z. At this time, the flip-flop (FF1) 201a holds only the multiplication result when α 3 is substituted for Z.

【0115】次いで、フリップフロップ(FF1)20
1aには、α3を代入したときの値が保持されているの
で、固定乗算器群Aは、Zにα6を代入したときの値を
計算し、固定乗算器群Bは、Zにα4を代入したときの
値を計算し、固定乗算器群Cは、Zにα2を代入したと
きの値を計算する。そして、フリップフロップ(FF
1)201aは、Zにα6を代入したときの乗算結果を保
持する。
Next, the flip-flop (FF1) 20
Since 1a holds the value when α 3 is substituted, the fixed multiplier group A calculates the value when α 6 is substituted for Z, and the fixed multiplier group B calculates α when α is substituted for Z. The value when 4 is substituted is calculated, and the fixed multiplier group C calculates the value when α 2 is substituted for Z. And flip-flop (FF)
1) 201a holds the multiplication result when α 6 is substituted for Z.

【0116】上記αのべき乗が、クロック毎に誤り位置
多項式の該当する次数繰り返される。固定乗算器群Aに
ついてみると、フリップフロップ(FF1)201a〜
(FFi)201cには、クロック毎に固定乗算器群A
の乗算結果を3乗した値が保持されることになる。
The above exponentiation of α is repeated for each clock at the corresponding order of the error locator polynomial. As for the fixed multiplier group A, flip-flops (FF1) 201a to
(FFi) 201c includes a fixed multiplier group A for each clock.
Is held as the third power of the result of multiplication.

【0117】上記動作を85クロック、すなわち85回
行うことで、255個の元すべてについて検査すること
ができる。この場合、乗算結果保持回路群であるフリッ
プフロップ(FF1)201a〜(FFi)201cを増
やすことなく、しかもチェンサーチに要する時間は3段
のパイプライン化を行った場合と同等の85クロックで
すべての元の代入が終了する。これにより、乗算結果保
持回路を増やすことなく、チェンサーチの時間を1/3
(85クロック)に短縮することができる。
By performing the above operation 85 times, that is, 85 times, all 255 elements can be inspected. In this case, the number of flip-flops (FF1) 201a to (FFi) 201c, which are the multiplication result holding circuit groups, is not increased, and the time required for the Chien search is all 85 clocks equivalent to the case of performing three stages of pipeline processing. The original assignment of is terminated. This reduces the Chien search time by 1/3 without increasing the number of multiplication result holding circuits.
(85 clocks).

【0118】上記チェンサーチの時間が1/3に減少す
る理由についてさらに具体的に説明する。
The reason why the Chien search time is reduced to 1/3 will be described more specifically.

【0119】図7(a)は誤り位置多項式との関係でチ
ェンサーチ回路の動作を説明するためのブロック図であ
り、前記図6と同じものである。但し、動作を明確にす
るために、図7(b)に示す次数の多項式を例にとり、
多項式の係数をC1〜C4とする。
FIG. 7A is a block diagram for explaining the operation of the Chien search circuit in relation to the error locator polynomial, and is the same as FIG. However, in order to clarify the operation, an order polynomial shown in FIG.
Let the coefficients of the polynomial be C1 to C4.

【0120】まず、乗算結果保持回路群であるフリップ
フロップ(FF1)に、図7(b)に示す次数の誤り位
置多項式のZに係る係数C1をロードする。
First, the coefficient C1 relating to the Z of the error locator polynomial of the order shown in FIG. 7B is loaded into the flip-flop (FF1) which is a multiplication result holding circuit group.

【0121】固定乗算器群Aは、Zにα3を代入したと
きの値の計算を行い、固定乗算器群Bは、Zにα2を代
入したときの値の計算を行い、固定乗算器群Cは、Zに
α1を代入したときの値の計算を行う。
The fixed multiplier group A calculates the value when α 3 is substituted for Z, and the fixed multiplier group B calculates the value when α 2 is substituted for Z. The group C calculates a value when α 1 is substituted for Z.

【0122】この時は、フリップフロップ(FF1)に
おける固定乗算器群Aの固定乗算器203aからは、Z
にα3を代入したときの乗算結果C1α3が出力され、固
定乗算器群Bの固定乗算器204bからは、Zにα2
代入したときの乗算結果C1α 2が出力され、固定乗算器
群Cの固定乗算器205aからは、Zにα1を代入した
ときの乗算結果C1α1が出力される。フリップフロップ
(FF1)201aは、Zにα3を代入したときの一番高
次の固定乗算器203aからの乗算結果C1α3のみを保
持する。
At this time, the flip-flop (FF1)
From the fixed multiplier 203a of the fixed multiplier group A in FIG.
To αThreeIs multiplied by substitutingThreeIs output
From the fixed multiplier 204b of the constant multiplier group B, Z is αTwoTo
Multiplication result C1α when substituted TwoIs output to the fixed multiplier
From the fixed multiplier 205a of the group C,1Was assigned
Multiplication result C1α1Is output. flip flop
(FF1) 201a is α for ZThreeThe highest when substituting
Multiplication result C1α from the next fixed multiplier 203aThreeOnly keep
Carry.

【0123】同様に、フリップフロップ(FF2)に、
図7(b)に示す次数の誤り位置多項式のZに係る係数
C2をロードする。この時は、フリップフロップ(FF
2)における固定乗算器群Aの固定乗算器203bから
は、Zに(α32を代入したときの乗算結果C2α6が出
力され、固定乗算器群Bの固定乗算器204bからは、
Zに(α22を代入したときの乗算結果C2α4が出力さ
れ、固定乗算器群Cの固定乗算器205bからは、Zに
(α12を代入したときの乗算結果C2α2が出力され
る。フリップフロップ(FF2)201bは、Zに
(α32を代入したときの固定乗算器203aからの乗
算結果C2α6のみを保持する。
Similarly, the flip-flop (FF2) has
The coefficient C2 related to Z of the error locator polynomial of the order shown in FIG. 7B is loaded. At this time, the flip-flop (FF
From the fixed multiplier 203b of the fixed multipliers A in 2), is multiplied result C2α output 6 when substituting (alpha 3) 2 to Z, from the fixed multiplier 204b of the fixed multipliers B,
Z in (alpha 2) is multiplied result C2arufa 4 is output 2 when substituting, from the fixed multiplier 205b of the fixed multipliers C, and the multiplication result C2arufa 2 when substituting (alpha 1) 2 to Z Is output. Flip-flop (FF2) 201b holds only multiplication result C2arufa 6 from the fixed multiplier 203a when substituting (alpha 3) 2 in Z.

【0124】また、フリップフロップ(FFi)に、図
7(b)に示す次数の誤り位置多項式のZに係る係数C
3をロードする。この時は、フリップフロップ(FFi)
における固定乗算器群Aの固定乗算器203cからは、
Zに(α33を代入したときの乗算結果C3α9が出力さ
れ、固定乗算器群Bの固定乗算器204cからは、Zに
(α32を代入したときの乗算結果C3α6が出力され、
固定乗算器群Cの固定乗算器205cからは、Zに(α
31を代入したときの乗算結果C3α3が出力される。フ
リップフロップ(FFi)201cは、Zに(α33
代入したときの固定乗算器203aからの乗算結果C3
α6のみを保持する。
The coefficient C according to Z of the error locator polynomial of the order shown in FIG. 7B is added to the flip-flop (FFi).
Load 3 At this time, flip-flop (FFi)
From the fixed multiplier 203c of the fixed multiplier group A at
Z in (alpha 3) is multiplied result C3arufa 9 is output 3 when substituting, from the fixed multiplier 204c of the fixed multipliers B, and the multiplication result C3arufa 6 when substituting (alpha 3) 2 to Z Output
From the fixed multiplier 205c of the fixed multiplier group C, Z is given by (α
3) 1 multiplication results when substituting C3arufa 3 is output. The flip-flop (FFi) 201c outputs the multiplication result C3 from the fixed multiplier 203a when (α 3 ) 3 is substituted for Z.
to hold the only α 6.

【0125】上記αのべき乗が、各回路部においてクロ
ック毎に繰り返される。
The power of α is repeated for each clock in each circuit section.

【0126】図7(a)の矢印(→)後の乗算結果は、
上記動作の次のクロックによる乗算結果を示している。
このように、固定乗算器群Aについてみると、フリップ
フロップ(FF1)〜(FFi)には、クロック毎に固定
乗算器群Aの乗算結果を3乗した値が保持されることに
なる。つまり、固定乗算器群Aについては1クロックで
3乗ずつ、固定乗算器群Bについては1クロックで2乗
ずつ、固定乗算器群Cについては1クロックで1乗ずつ
係数が乗算されることになる。
The result of the multiplication after the arrow (→) in FIG.
The result of multiplication by the next clock after the above operation is shown.
As described above, with respect to the fixed multiplier group A, the flip-flops (FF1) to (FFi) hold a value obtained by cubing the multiplication result of the fixed multiplier group A for each clock. That is, the fixed multiplier group A is multiplied by the cube of one clock, the fixed multiplier group B is multiplied by the square of one clock, and the fixed multiplier group C is multiplied by the square of one clock. Become.

【0127】ここまでの動作は、図7(c)の式で示さ
れる。図7(c)の上段の式は、固定乗算器群Cの乗算
結果のEORを表し、図7(c)の中段の式は、固定乗
算器群Bの乗算結果のEORを表し、図7(c)の下段
の式は、フリップフロップ(FF1)〜(FFi)に保持
された固定乗算器群Aの乗算結果のEORを表す。
The operation up to this point is shown by the equation in FIG. 7C represents the EOR of the multiplication result of the fixed multiplier group C, and the middle equation of FIG. 7C represents the EOR of the multiplication result of the fixed multiplier group B. The lower equation in (c) represents the EOR of the multiplication result of the fixed multiplier group A held in the flip-flops (FF1) to (FFi).

【0128】特徴的な動作としては、図7(c)の上段
の式、中段の式及び下段の式が同時に、すなわち1クロ
ックで計算されることにある。
As a characteristic operation, the upper, middle, and lower equations in FIG. 7C are calculated simultaneously, that is, in one clock.

【0129】このように、一番高次の固定乗算器群20
3(固定乗算器群A)における乗算及びその値のフリッ
プフロップ(FF1)〜(FFi)の保持動作と、高次の
固定乗算器群204(固定乗算器群B)における乗算動
作と、低次の固定乗算器群205(固定乗算器群C)に
おける乗算動作が同時に実行されることになるため、8
5クロックで、255個の元すべてについて検査するこ
とができる。したがって、乗算結果保持回路を増やすこ
となく、チェンサーチの時間を約1/3に短縮すること
ができる。
As described above, the highest-order fixed multiplier group 20
3 (fixed multiplier group A) and the operation of holding the flip-flops (FF1) to (FFi) of the value, the multiplication operation in the higher-order fixed multiplier group 204 (fixed multiplier group B), and the lower-order Since the multiplication operations in the fixed multiplier group 205 (fixed multiplier group C) are performed simultaneously,
With five clocks, all 255 elements can be checked. Therefore, the Chien search time can be reduced to about 1/3 without increasing the multiplication result holding circuit.

【0130】以上、本発明の特徴部分であるチェンサー
チ回路の動作について説明したが、本チェンサーチ回路
200は、そのまま前記図3に示すECC制御部42の
チェンサーチ回路55に適用することができ、ECC制
御部42全体の回路規模を減少させることができる。
The operation of the chien search circuit, which is a feature of the present invention, has been described above. The chien search circuit 200 can be applied to the chien search circuit 55 of the ECC controller 42 shown in FIG. , The overall circuit size of the ECC control unit 42 can be reduced.

【0131】以上説明したように、第2の実施形態に係
るチェンサーチ回路200は、誤り位置多項式の各係数
を初期値として保持するとともに、誤り位置多項式の各
係数にガロア体の元を乗算した乗算結果を保持するフリ
ップフロップ(FF)201a〜201cと、各フリッ
プフロップ(FF)102a〜201cに対応して並列
に、一番高次のαのべき乗(αn)をそれぞれ乗算する
高次の固定乗算器203a〜203cと、それに次ぐ高
次のαのべき乗(αn-1)をそれぞれ乗算する高次の固
定乗算器204a〜204cと、それより低次のαのべ
き乗(αn-2)をそれぞれ乗算する低次の固定乗算器2
05a〜205cとを配置し、一番高次のαのべき乗
(αn)を乗算する一番高次の固定乗算器203a〜2
03cの乗算結果のみをフリップフロップ(FF)20
1a〜201cに保持するように構成したので、チェン
サーチの高速化のためにパイプライン化を行う際に、フ
リップフロップ(FF)201a〜201cの個数を増
加させることなく、チェンサーチに要する時間を1/3
に短縮することができる。
As described above, the Chien search circuit 200 according to the second embodiment holds each coefficient of the error locator polynomial as an initial value, and multiplies each coefficient of the error locator polynomial by a Galois field element. Flip-flops (FF) 201a to 201c holding the multiplication results and high-order α powers (α n ) multiplying the highest order powers of α (α n ) in parallel with the flip-flops (FF) 102a to 201c, respectively. Fixed multipliers 203a to 203c, higher-order fixed multipliers 204a to 204c for multiplying the next higher powers of α (α n-1 ), and lower-order powers of α (α n-2) ), Each of which is a low-order fixed multiplier 2
05a-205c, and the highest-order fixed multiplier 203a-2 that multiplies the highest-order power of α (α n ).
Only the multiplication result of 03c is flip-flop (FF) 20
1a to 201c, the time required for the Chien search can be reduced without increasing the number of flip-flops (FF) 201a to 201c when performing pipeline processing for speeding up the Chien search. 1/3
Can be shortened.

【0132】すなわち、本実施形態では、3パイプライ
ン化するしてチェンサーチの時間を1/3(85クロッ
ク)に高速化しているが、チェンサーチ回路におけるフ
リップフロップ(FF)201a〜201cの個数は、
パイプライン化する以前の個数であるi−1個のままで
あり、この部分のゲート回路の増加を防ぐことができ
る。
That is, in this embodiment, three pipelines are used to shorten the Chien search time to 1/3 (85 clocks). However, the number of flip-flops (FFs) 201a to 201c in the Chien search circuit is reduced. Is
The number of the gate circuits in this part remains i-1 which is the number before the pipeline is formed, and the increase in the number of gate circuits in this part can be prevented.

【0133】特に、HDDのように転送速度が速い装置
において、チェンサーチに割ける時間は限られており、
かつ、より訂正能力を上げるために誤り位置多項式の次
数を大きく(例えば、12次)する必要が場合には、デ
ィスクドライブ装置のセクタデータのアクセス時間はチ
ェンサーチの時間により実質的に決定されてしまう。本
実施形態では、3パイプライン化することによってフリ
ップフロップ(FF)の個数を増加させることなく、チ
ェンサーチに要する時間を1/3に短縮することがで
き、ディスクドライブ装置における高速化に対応するこ
とができる。 第3の実施形態 上記各実施形態では、2パイプラインまたは3パイプラ
インにした時を記述しているが、同様な考え方でパイプ
ラインの数を増やすことによって、乗算結果保持回路を
増やすことなく、チェンサーチの時間を減らすことがで
きる。以下、パイプラインの数を増やす例を一般式によ
り示す。
In particular, in an apparatus having a high transfer rate such as an HDD, the time available for the Chien search is limited.
If it is necessary to increase the order of the error locator polynomial (for example, 12th order) in order to further improve the correction capability, the access time of the sector data of the disk drive device is substantially determined by the Chien search time. I will. In the present embodiment, the time required for the Chien search can be reduced to 1/3 without increasing the number of flip-flops (FFs) by using three pipelines, and this corresponds to an increase in the speed of the disk drive device. be able to. Third Embodiment In each of the above-described embodiments, the case where two pipelines or three pipelines are used is described. However, by increasing the number of pipelines based on the same concept, the number of multiplication result holding circuits can be increased. It can reduce the time for chain search. Hereinafter, an example of increasing the number of pipelines will be shown by a general formula.

【0134】i次の誤り位置多項式を解く際に、k個の
パイプラインにするには、乗算結果保持回路に並列に配
置される固定乗算器群を〔表1〕のように用意する。
To solve the i-th order error locator polynomial, to use k pipelines, a group of fixed multipliers arranged in parallel with the multiplication result holding circuit is prepared as shown in Table 1.

【0135】[0135]

【表1】 [Table 1]

【0136】この表に示す固定乗算器群1〜kでは、一
番高次の固定乗算器である固定乗算器群kの乗算出力の
みを乗算結果保持回路に保持する。
In the fixed multiplier groups 1 to k shown in this table, only the multiplied output of the fixed multiplier group k which is the highest-order fixed multiplier is held in the multiplication result holding circuit.

【0137】チェンサーチ回路の回路構成は、第2の実
施形態と同様にして構成することができ、固定乗算器群
1〜kを乗算結果保持回路に並列に配置し、一番次数の
高い固定乗算器群kの乗算結果のみを乗算結果保持回路
に保存するように構成する。
The circuit configuration of the Chien search circuit can be configured in the same manner as in the second embodiment. Fixed multiplier groups 1 to k are arranged in parallel in a multiplication result holding circuit, and the highest order fixed The configuration is such that only the multiplication result of the multiplier group k is stored in the multiplication result holding circuit.

【0138】したがって、本実施形態では1/kのクロ
ックで誤り位置多項式の根を求めることが可能になる。
Therefore, in the present embodiment, the root of the error locator polynomial can be obtained with a clock of 1 / k.

【0139】このような特長を有するチェンサーチ回路
を、HDDのように転送速度が速いディスクドライブ装
置に適用すると、ハードウェア量を削減しつつ誤り訂正
能力を向上でき、高速動作が可能になる。
When the Chien search circuit having such features is applied to a disk drive device having a high transfer rate such as an HDD, the error correction capability can be improved while reducing the amount of hardware, and high-speed operation can be performed.

【0140】なお、上記各実施形態では、本発明をHD
Dの誤り訂正装置に適用した例を説明したが、本チェン
サーチ回路構造を持つものであれば、ディスクドライブ
装置の種類や誤り訂正装置はどのようなものにも適用で
きる。例えば、光ディスク装置、DVD装置等のデータ
誤りを訂正する必要のあるチェンサーチ回路及び誤り訂
正装置に適用できる。
In each of the above embodiments, the present invention is applied to the HD.
Although an example in which the present invention is applied to the D error correction device has been described, any type of disk drive device or error correction device can be applied as long as it has the present Chien search circuit structure. For example, the present invention can be applied to a Chien search circuit and an error correction device such as an optical disk device and a DVD device which need to correct a data error.

【0141】また、上記各実施形態では、ガロア体GF
(2n)上のリードソロモン符号の復号を行う際のチェ
ンサーチについて説明したが、線形巡回符号中に生じた
誤りの位置を示す誤り位置多項式の各係数に、前記線形
巡回符号の体上の元を一つずつ代入して根を求めるチェ
ンサーチアリゴリズムすべてに適用できる。
In each of the above embodiments, the Galois field GF
The Chien search for decoding the Reed-Solomon code on (2 n ) has been described. Each coefficient of the error locator polynomial indicating the position of an error generated in the linear cyclic code is added to the coefficient of the linear cyclic code. It can be applied to any Chien search algorithm that finds a root by substituting elements one by one.

【0142】また、上記各実施形態では、ガロア体がG
F(28)の場合を例にとり説明したが、ガロア体がG
F(2n)の場合にも適用でき、同様の効果を得ること
ができる。
In each of the above embodiments, the Galois field is G
The case of F (2 8 ) has been described as an example, but the Galois field is G
It can be applied to the case of F (2 n ), and the same effect can be obtained.

【0143】さらに、上記チェンサーチ回路を構成する
フリップフロップ(FF)、固定乗算器等の種類、段
数、また、上記ディスクドライブ装置を構成するMP
U、HDC等の種類、数などは上述した実施形態に限ら
れない。
Further, the type and number of flip-flops (FFs) and fixed multipliers constituting the Chien search circuit, and the MP constituting the disk drive device are described.
The type and number of U and HDC are not limited to the above-described embodiment.

【0144】[0144]

【発明の効果】本発明に係るチェンサーチ回路では、誤
り位置多項式の各項に対応して設けられ、誤り位置多項
式の各係数を初期値として保持するとともに、誤り位置
多項式の各係数に体の元を乗算した乗算結果を保持する
乗算結果保持手段と、乗算結果保持手段に対して並列に
配置され、乗算結果保持手段に保持された保持結果に次
数の異なる体の元を乗算する複数の固定乗算器群とを備
え、複数の固定乗算器群のうち、一番高次の固定乗算器
群の乗算結果を乗算結果保持手段に保持するように構成
したので、チェンサーチの高速化のためにパイプライン
化を行う際に、乗算結果保持手段のゲート数を増加させ
ることなく、チェンサーチに要する時間を短縮すること
ができる。
The Chien search circuit according to the present invention is provided for each term of the error locator polynomial, holds each coefficient of the error locator polynomial as an initial value, and adds a coefficient to each coefficient of the error locator polynomial. A multiplication result holding means for holding the multiplication result obtained by multiplying the element; and a plurality of fixed means arranged in parallel with the multiplication result holding means for multiplying the holding result held by the multiplication result holding means by elements of different degrees. A multiplier group is provided, and the multiplication result of the highest-order fixed multiplier group among the plurality of fixed multiplier groups is held in the multiplication result holding means. When performing pipeline processing, the time required for Chien search can be reduced without increasing the number of gates of the multiplication result holding means.

【0145】したがって、このようなチェンサーチ回路
を用いて誤り訂正を行うことにより、誤り訂正装置にお
いてハードウェア量を削減しつつ誤り訂正能力を向上さ
せるでき、ディスクドライブ装置において高速動作が可
能になる。
Therefore, by performing error correction using such a Chien search circuit, the error correction capability can be improved while reducing the amount of hardware in the error correction device, and the disk drive device can operate at high speed. .

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

【図1】 本発明の第1の実施形態に係るディスクドラ
イブ装置の構成を示すブロック図である。
FIG. 1 is a block diagram illustrating a configuration of a disk drive device according to a first embodiment of the present invention.

【図2】 上記ディスクドライブ装置で用いられるセク
タデータの構造を示す図である。
FIG. 2 is a diagram showing a structure of sector data used in the disk drive device.

【図3】 上記ディスクドライブ装置のECC制御部の
構成を示すブロック図である。
FIG. 3 is a block diagram illustrating a configuration of an ECC control unit of the disk drive device.

【図4】 上記ディスクドライブ装置のECC制御部の
チェンサーチ回路の構成を示すブロック図である。
FIG. 4 is a block diagram showing a configuration of a Chien search circuit of an ECC control unit of the disk drive device.

【図5】 誤り位置多項式との関係でチェンサーチ回路
の動作を説明するためのブロック図である。
FIG. 5 is a block diagram for explaining the operation of the Chien search circuit in relation to an error locator polynomial.

【図6】 本発明の第2の実施形態に係るディスクドラ
イブ装置のECC制御部のチェンサーチ回路の構成を示
すブロック図である。
FIG. 6 is a block diagram illustrating a configuration of a Chien search circuit of an ECC control unit of a disk drive according to a second embodiment of the present invention.

【図7】 誤り位置多項式との関係でチェンサーチ回路
の動作を説明するためのブロック図である。
FIG. 7 is a block diagram for explaining the operation of the Chien search circuit in relation to an error locator polynomial.

【図8】 従来の誤り訂正装置の構成を示すブロック図
である。
FIG. 8 is a block diagram illustrating a configuration of a conventional error correction device.

【図9】 従来の誤り訂正装置の誤り訂正処理を示すフ
ローチャートである。
FIG. 9 is a flowchart showing an error correction process of a conventional error correction device.

【図10】 従来の転送速度が速い装置に使用されるチ
ェンサーチ回路の構成を示す図である。
FIG. 10 is a diagram showing a configuration of a Chien search circuit used in a conventional device having a high transfer rate.

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

30 磁気ディスク装置(HDD)、31 磁気ディス
ク(ディスク状記憶媒体)、32 磁気ヘッド、33
ヘッドアーム、34 ヘッドアンプ(AE)、35 チ
ャネル、36 ハードディスクコントローラ(HD
C)、37 MPU、38 セクタバッファ、41 ド
ライブ制御部、42 ECC制御部(誤り訂正装置)、
43 メモリ制御部、44 ホスト制御部、51 入力
端子、52バッファメモリ、53 シンドローム計算回
路(シンドローム生成手段)、54位置多項式・数値多
項式計算回路(演算手段)、55,200 チェンサー
チ回路(チェンサーチ手段)、56 誤り数値計算回
路、57 誤り訂正回路(訂正手段)、58 出力端
子、101a〜101c,201a〜201c フリッ
プフロップ(FF)(乗算結果保持手段)、102a〜
102c,202a〜202c 入力端子、103,2
03 一番高次の固定乗算器群(複数の固定乗算器
群)、103a〜103c,203a〜203c 一番
高次の固定乗算器、104,205 低次の固定乗算器
群(複数の固定乗算器群)、104a〜104c,20
5a〜205c 低次の固定乗算器、105,106,
206〜208排他的論理和(EOR)回路、204
高次の固定乗算器群(複数の固定乗算器群)、204a
〜204c 高次の固定乗算器、209 第1の0判定
回路(Zero Detect1)、210 第2の0判定回路(Z
ero Detect2)、211 第3の0判定回路(Zero Det
ect3)
Reference Signs List 30 magnetic disk drive (HDD), 31 magnetic disk (disk-shaped storage medium), 32 magnetic head, 33
Head arm, 34 head amplifier (AE), 35 channels, 36 hard disk controller (HD
C), 37 MPU, 38 sector buffer, 41 drive control unit, 42 ECC control unit (error correction device),
43 memory control unit, 44 host control unit, 51 input terminal, 52 buffer memory, 53 syndrome calculation circuit (syndrome generation means), 54 position polynomial / numerical polynomial calculation circuit (calculation means), 55, 200 Chien search circuit (Chen search circuit) Means), 56 error value calculation circuit, 57 error correction circuit (correction means), 58 output terminals, 101a to 101c, 201a to 201c flip-flop (FF) (multiplication result holding means), 102a to
102c, 202a to 202c input terminals, 103, 2
03 Highest-order fixed multiplier group (plural fixed multiplier groups), 103a to 103c, 203a to 203c Highest-order fixed multiplier group, 104, 205 Low-order fixed multiplier group (plural fixed multipliers) Instrument group), 104a to 104c, 20
5a-205c Low-order fixed multipliers, 105, 106,
206-208 Exclusive OR (EOR) circuit, 204
High-order fixed multiplier group (a plurality of fixed multiplier groups), 204a
204c Higher-order fixed multiplier, 209 First 0 decision circuit (Zero Detect 1), 210 Second 0 decision circuit (Z
ero Detect 2), 211 Third zero judgment circuit (Zero Det
ect3)

───────────────────────────────────────────────────── フロントページの続き (72)発明者 中村 昭雄 神奈川県大和市下鶴間1623番地14 日本ア イ・ビー・エム株式会社 大和事業所内 (72)発明者 田村 哲也 神奈川県大和市下鶴間1623番地14 日本ア イ・ビー・エム株式会社 大和事業所内 Fターム(参考) 5B001 AA04 AA08 AA11 AB02 AC01 AD04 AE02 5J065 AA01 AB01 AC03 AD03 AD04 AD11 AE06 AF01 AF03 AG01 AG02 AH02 AH03 AH04 AH06 ──────────────────────────────────────────────────の Continuing on the front page (72) Inventor Akio Nakamura 1623-14 Shimotsuruma, Yamato-shi, Kanagawa Japan Inside the Yamato Office of IBM Japan, Ltd. (72) Tetsuya Tamura 1623 Shimotsuruma, Yamato-shi, Kanagawa Prefecture 14 F-term (reference) at Daiwa Office, IBM Japan, Ltd. 5B001 AA04 AA08 AA11 AB02 AC01 AD04 AE02 5J065 AA01 AB01 AC03 AD03 AD04 AD11 AE06 AF01 AF03 AG01 AG02 AH04 AH06

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】 線形巡回符号中に生じた誤りの位置を示
す誤り位置多項式の各係数に、前記線形巡回符号の体上
の元を一つずつ代入して前記誤り位置多項式が0になる
か否かで根を求めるチェンサーチ回路において、 誤り位置多項式の各項に対応して設けられ、誤り位置多
項式の各係数を初期値として保持するとともに、誤り位
置多項式の各係数に体の元を乗算した乗算結果を保持す
る乗算結果保持手段と、 前記乗算結果保持手段に対して並列に配置され、 前記乗算結果保持手段に保持された保持結果に次数の異
なる体の元を乗算する複数の固定乗算器群とを備え、 前記複数の固定乗算器群のうち、一番高次の固定乗算器
群の乗算結果を前記乗算結果保持手段に保持するように
構成したことを特徴とするチェンサーチ回路。
1. An error locator polynomial that indicates a position of an error occurring in a linear cyclic code is substituted with one element on the field of the linear cyclic code one by one to determine whether the error locator polynomial becomes zero. In a Chien search circuit that finds a root based on whether or not, it is provided corresponding to each term of the error location polynomial, holds each coefficient of the error location polynomial as an initial value, and multiplies each coefficient of the error location polynomial by a field element And a plurality of fixed multiplications arranged in parallel to the multiplication result holding means and multiplying the holding results held by the multiplication result holding means by elements of different degrees. And a multiplier group, wherein the multiplication result of the highest-order fixed multiplier group among the plurality of fixed multiplier groups is held in the multiplication result holding means.
【請求項2】 ガロア体GF(2n)上のリードソロモ
ン符号の復号を行う際、チェンサーチを用いて誤り位置
多項式の根を算出し、誤り位置を求めるチェンサーチ回
路において、 誤り位置多項式の各項に対応して設けられ、誤り位置多
項式の各係数を初期値として保持するとともに、誤り位
置多項式の各係数にガロア体の元を乗算した乗算結果を
保持する乗算結果保持手段と、 前記乗算結果保持手段に対して並列に配置され、 前記乗算結果保持手段に保持された保持結果に次数の異
なるガロア体の元を乗算する複数の固定乗算器群と、 前記複数の固定乗算器群の出力の各ビット成分毎に排他
的論理和演算を行う排他的論理和手段とを備え、 前記複数の固定乗算器群のうち、一番高次の固定乗算器
群の乗算結果を前記乗算結果保持手段に保持するように
構成したことを特徴とするチェンサーチ回路。
2. When decoding a Reed-Solomon code on a Galois field GF (2 n ), a root of an error locator polynomial is calculated using a Chien search, and a Chien search circuit for finding an error position includes: Multiplication result holding means provided corresponding to each term, holding each coefficient of the error locator polynomial as an initial value, and holding a multiplication result obtained by multiplying each coefficient of the error locator polynomial by an element of a Galois field; A plurality of fixed multiplier groups which are arranged in parallel with the result holding means and multiply the holding result held by the multiplication result holding means by an element of a Galois field having a different degree; and an output of the plurality of fixed multiplier groups Exclusive OR means for performing an exclusive OR operation for each bit component of the plurality of fixed multiplier groups, wherein the multiplication result of the highest-order fixed multiplier group among the plurality of fixed multiplier groups is the multiplication result holding means. Keep Chien search circuit being characterized in that configured to.
【請求項3】 各固定乗算器群における乗算は、同一ク
ロックで同時に実行されることを特徴とする請求項1又
は2の何れかに記載のチェンサーチ回路。
3. The Chien search circuit according to claim 1, wherein the multiplication in each of the fixed multiplier groups is performed simultaneously with the same clock.
【請求項4】 最低符号長分のガロア体の元を、i(i
は任意の正の整数)次の誤り位置多項式に代入するチェ
ンサーチを行う場合、パイプラインの数をn(nは任意
の正の整数)としてチェンサーチに要する時間を符号長
/nとするとき、 前記複数の固定乗算器群は、n個であり、前記乗算結果
保持手段は、i−1個であることを特徴とする請求項2
記載のチェンサーチ回路。
4. An element of a Galois field for the minimum code length is represented by i (i
Is a positive integer) When performing a Chien search to substitute into the next error locator polynomial, when the number of pipelines is n (n is any positive integer) and the time required for the Chien search is code length / n The number of the plurality of fixed multiplier groups is n, and the number of the multiplication result holding means is i-1.
The described Chien search circuit.
【請求項5】 入力データからシンドロームを生成する
シンドローム生成手段と、 前記シンドロームを用いて誤り位置多項式と誤り評価多
項式を演算する演算手段と、 チェンサーチにより誤り位置多項式の根を求めるチェン
サーチ手段と、 前記誤り位置及び誤りの値に用いてデータ中の誤りを訂
正する訂正手段とを備えた誤り訂正装置において、 前記チェンサーチ手段は、 請求項1乃至4の何れかに記載のチェンサーチ回路を用
いたことを特徴とする誤り訂正装置。
5. Syndrome generation means for generating a syndrome from input data, calculation means for calculating an error locator polynomial and an error evaluation polynomial using the syndrome, and Chien search means for finding a root of the error locator polynomial by a Chien search. An error correction device comprising: a correction unit that corrects an error in data by using the error position and the value of the error; wherein the Chien search unit includes the Chien search circuit according to any one of claims 1 to 4. An error correction device characterized in that it is used.
【請求項6】 ディスク状記録媒体上のサーボセクタの
再生、並びにデータセクタの記録又は再生を行う記録再
生手段と、 少なくとも外部の機器に対するデータの入出力制御、又
は前記記録再生手段によるデータセクタの記録若しくは
再生の制御を行う制御手段と、 誤り訂正符号に基づいてデータの復号を、チェンサーチ
回路構造を持つハードウェア構造により実現する誤り訂
正手段とを備えたディスクドライブ装置において、 前記チェンサーチ回路は、 請求項1乃至4の何れかに記載のチェンサーチ回路を用
いたことを特徴とするディスクドライブ装置。
6. A recording / reproducing unit for reproducing a servo sector on a disk-shaped recording medium and recording or reproducing a data sector, at least input / output control of data to / from an external device, or recording of a data sector by the recording / reproducing unit. Or, a disk drive device comprising: control means for controlling reproduction; and error correction means for realizing data decoding based on an error correction code using a hardware structure having a Chien search circuit structure. A disk drive device using the chain search circuit according to any one of claims 1 to 4.
JP11181562A 1999-06-28 1999-06-28 Chain search circuit, error correction device and disk driver Pending JP2001044853A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP11181562A JP2001044853A (en) 1999-06-28 1999-06-28 Chain search circuit, error correction device and disk driver

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP11181562A JP2001044853A (en) 1999-06-28 1999-06-28 Chain search circuit, error correction device and disk driver

Publications (1)

Publication Number Publication Date
JP2001044853A true JP2001044853A (en) 2001-02-16

Family

ID=16102978

Family Applications (1)

Application Number Title Priority Date Filing Date
JP11181562A Pending JP2001044853A (en) 1999-06-28 1999-06-28 Chain search circuit, error correction device and disk driver

Country Status (1)

Country Link
JP (1) JP2001044853A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6647529B2 (en) 2000-01-18 2003-11-11 Matsushita Electric Industrial Co., Ltd. Chien's searching apparatus
KR20140034678A (en) 2012-09-12 2014-03-20 삼성전자주식회사 Error check and correction circuit and semiconductor memory
US8924828B2 (en) 2012-08-30 2014-12-30 Kabushiki Kaisha Toshiba Memory controller, semiconductor storage device, and memory control method for error correction using Chien search
US9152493B2 (en) 2012-09-12 2015-10-06 Samsung Electronics Co., Ltd. Error check and correction circuit and semiconductor memory
US9384083B2 (en) 2012-09-24 2016-07-05 Samsung Electronics Co., Ltd. Error location search circuit, and error check and correction circuit and memory device including the same
US9413391B2 (en) 2014-04-18 2016-08-09 Kabushiki Kaisha Toshiba Chien search device, storage device, and chien search method

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6647529B2 (en) 2000-01-18 2003-11-11 Matsushita Electric Industrial Co., Ltd. Chien's searching apparatus
US8924828B2 (en) 2012-08-30 2014-12-30 Kabushiki Kaisha Toshiba Memory controller, semiconductor storage device, and memory control method for error correction using Chien search
KR20140034678A (en) 2012-09-12 2014-03-20 삼성전자주식회사 Error check and correction circuit and semiconductor memory
US9152493B2 (en) 2012-09-12 2015-10-06 Samsung Electronics Co., Ltd. Error check and correction circuit and semiconductor memory
US9384083B2 (en) 2012-09-24 2016-07-05 Samsung Electronics Co., Ltd. Error location search circuit, and error check and correction circuit and memory device including the same
US9413391B2 (en) 2014-04-18 2016-08-09 Kabushiki Kaisha Toshiba Chien search device, storage device, and chien search method

Similar Documents

Publication Publication Date Title
JP3250735B2 (en) Multipurpose error correction system
EP0329789B1 (en) Galois field arithmetic unit
US7734981B2 (en) Signal decoder, a signal decoding method and a storage system
US6041431A (en) Method and apparatus for performing error correction code operations
US7783950B2 (en) Data writing apparatus and a storage system
JPS6037833A (en) Code ward decoder and reader
US6167548A (en) Data error correcting method and apparatus
US5555516A (en) Multipurpose error correction calculation circuit
JP3345385B2 (en) Chain search device
JP2008011025A (en) Remainder calculation apparatus for cyclic redundancy check
JP3502583B2 (en) Error correction method and error correction device
JP2001044853A (en) Chain search circuit, error correction device and disk driver
JPH11328880A (en) Error correcting device and optical disk reproducing device
JP2004206798A (en) Encoding data encoding circuit of optical disk device
JP2008146828A (en) Encode data coding circuit of optical disk device
JPH04365139A (en) Syndrome operation circuit for error correction processing
JP2553565B2 (en) Galois field arithmetic unit
WO1999016175A1 (en) Semiconductor integrated circuit and data processing system
JPS638648B2 (en)
JPH10150367A (en) Error correction device
JPH1065552A (en) Arithmetic processing method for error correction and processing circuit
JP3135552B2 (en) Error detection and correction device for Reed-Solomon code
JPS6237415B2 (en)
JPS63131623A (en) Algorithm realizing device for chain
JPS638650B2 (en)

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20011002