JPH10154940A - Decoding circuit for reed solomon code - Google Patents

Decoding circuit for reed solomon code

Info

Publication number
JPH10154940A
JPH10154940A JP31203096A JP31203096A JPH10154940A JP H10154940 A JPH10154940 A JP H10154940A JP 31203096 A JP31203096 A JP 31203096A JP 31203096 A JP31203096 A JP 31203096A JP H10154940 A JPH10154940 A JP H10154940A
Authority
JP
Japan
Prior art keywords
polynomial
register
registers
decoding circuit
syndrome
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP31203096A
Other languages
Japanese (ja)
Other versions
JP3310186B2 (en
Inventor
Shiro Suzuki
史郎 鈴木
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.)
Asahi Kasei Microsystems Co Ltd
Asahi Kasei Microdevices Corp
Original Assignee
Asahi Kasei Microsystems Co Ltd
Asahi Kasei Microdevices 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 Asahi Kasei Microsystems Co Ltd, Asahi Kasei Microdevices Corp filed Critical Asahi Kasei Microsystems Co Ltd
Priority to JP31203096A priority Critical patent/JP3310186B2/en
Publication of JPH10154940A publication Critical patent/JPH10154940A/en
Application granted granted Critical
Publication of JP3310186B2 publication Critical patent/JP3310186B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To obtain the decoding circuit that is in parallel operation in time division with respect to an arithmetic operation for a reed Solomon code so as to continuously accept data. SOLUTION: Since it is not yet required to conduct time division parallel processing for the processing of a first reception word, an m0-1 register 118 being a component of the decoding circuit calculates a syndrome from each basic cell. After the reception of a succeeding received word is started, the processing of the first reception word and the syndrome calculation of the succeeding reception word are conducted in time division. In the case of conducting chain search and syndrome calculation in time division, since an evaluation arithmetic operation for an error value polynomial (omega) and an error position polynomial (lambda) is conducted alternately in the chain search operation, the error position polynomial (lambda) is latched by the m1 register 118 and the error value polynomial (omega) is calculated by using an m0-1 register 114.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、ランダム誤りを訂
正するために使用されるリード・ソロモン符号の誤り訂
正復号に関するもので、特に、誤りの訂正能力にすぐれ
る高次のリード・ソロモン符号の高速復号に使用する高
速演算回路に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to error correction decoding of Reed-Solomon codes used for correcting random errors, and more particularly to high-order Reed-Solomon codes having excellent error correction capability. The present invention relates to a high-speed operation circuit used for high-speed decoding.

【0002】[0002]

【従来の技術】デジタル符号の誤り・訂正には、リード
・ソロモン符号が用いられている。高次のリード・ソロ
モン符号の復号においては、 (1)シンドローム多項式の算出 (2)誤り位置・誤り値多項式の算出 (3)チェン・サーチ(Chein Search:誤り位置・誤り
値多項式の評価法、チェン探索ともいう) の3ステップが通常、必要である。シンドローム多項式
の算出は符号語の全てを必要とするため、符号語の受信
ないし読み出しが終了しないと完了することはできな
い。また一般に、誤り位置・誤り値多項式の算出は、シ
ンドローム多項式の算出がすべて終了した後でなければ
開始することはできない。誤り位置・誤り値多項式の算
出およびチェン・サーチは計算量が多いために、その処
理には時間がかかることが多い。
2. Description of the Related Art Reed-Solomon codes are used for error and correction of digital codes. In decoding a higher-order Reed-Solomon code, (1) calculation of a syndrome polynomial (2) calculation of an error position / error value polynomial (3) Chein Search (an error position / error value polynomial evaluation method, Usually, three steps are required. Since the calculation of the syndrome polynomial requires all of the codewords, it cannot be completed without receiving or reading out the codewords. In general, the calculation of the error position / error value polynomial cannot be started unless the calculation of the syndrome polynomial has been completed. Since the calculation of the error position / error value polynomial and the Chien search require a large amount of calculation, the processing often takes time.

【0003】このために、符号語を連続して再生する必
要があるアプリケーションでは、たとえば特開平6−7
7844号公報に記載されている誤り訂正装置のよう
に、シンドローム多項式の生成器と誤り位置・誤り値多
項式の算出部とチェン・サーチの回路を3つ持ち、符号
語の誤り位置・誤り値多項式の算出ないしチェン・サー
チ演算実施中に、次の符号語のシンドローム算出をする
構成にする必要があった。
[0003] For this reason, in an application that requires continuous reproduction of code words, for example, Japanese Patent Laid-Open No.
Like the error correction device described in Japanese Patent No. 7844, it has a syndrome polynomial generator, an error position / error value polynomial calculation unit, and three circuits for Chien search, and the code word error position / error value polynomial During the calculation or the Chien search calculation, the syndrome of the next code word must be calculated.

【0004】さて、本出願の出願人が先に出願した特願
平6−273526号において、シンドローム多項式の
生成器と変成シンドローム多項式・消失多項式生成およ
び誤り位置・誤り値多項式の算出部とチェン・サーチの
回路を単一の回路として効率よく構成でき、かつ高速処
理が可能であることを示した。しかし、特願平6−27
3526号では、ある符号語の処理中は別の符号語の処
理ができないため、連続的にデータを再生する必要があ
るときは、バッファ・メモリを誤り訂正回路の手前に置
くシステム構成が必要だった。
[0004] In Japanese Patent Application No. Hei 6-273526, filed by the applicant of the present invention, a generator of a syndrome polynomial, generation of a modified syndrome polynomial / erasure polynomial, a calculator of an error position / error value polynomial, and Chen It has been shown that the search circuit can be efficiently configured as a single circuit and high-speed processing is possible. However, Japanese Patent Application No. 6-27
In No. 3526, when a certain codeword is being processed, another codeword cannot be processed. Therefore, when data needs to be continuously reproduced, a system configuration in which a buffer memory is provided in front of an error correction circuit is required. Was.

【0005】さらに、光磁気ディスクを始め一般に、リ
ード・ソロモン符号は、バースト誤りを訂正する能力を
上げるためにインターリーブ(交錯)された形で使用さ
れることが多い。しかし、従来は、復号動作にあたって
各符号語を別々に処理する必要があったため、インター
リーブを解くためにバッファ・メモリにいったん蓄える
必要があった。すなわち、受信順にバッファ・メモリに
書き込み、各インターリーブの符号語を読み出して復号
回路に供給する。そして、またバッファ・メモリに訂正
結果を書き込み、訂正されたデータを受信順に読み出す
必要があった。
[0005] Furthermore, Reed-Solomon codes, such as magneto-optical disks, are generally used in an interleaved form in order to increase the ability to correct burst errors. However, in the past, each codeword had to be processed separately in the decoding operation, and thus had to be temporarily stored in a buffer memory to deinterleave. That is, the data is written to the buffer memory in the order of reception, the codeword of each interleave is read, and supplied to the decoding circuit. Then, it is necessary to write the correction result in the buffer memory and read the corrected data in the order of reception.

【0006】[0006]

【発明が解決しようとする課題】先に示した特願平6−
273526号では、ある符号語の処理中は別の符号語
の処理ができないため、連続的にデータを再生する必要
があるときは、バッファ・メモリを誤り訂正回路の手前
に置く必要がある。
Problems to be Solved by the Invention Japanese Patent Application No. Hei 6-106 shown above.
In the case of 273526, when a certain codeword is being processed, another codeword cannot be processed. Therefore, when data needs to be continuously reproduced, a buffer memory needs to be placed before the error correction circuit.

【0007】また、インターリーブされた符号の場合
は、インターリーブを処理するためにも、復号回路の手
前にバッファ・メモリを置く必要があった。
In the case of an interleaved code, it is necessary to place a buffer memory before the decoding circuit in order to process the interleave.

【0008】また、このバッファ・メモリに対して、全
受信データを書き込む、全受信データをインターリーブ
方向に読み出す、誤り箇所を読み訂正結果を書き込む、
全データを最終的に読み出すというステップが必要であ
る。このため、全データを少なくとも3回出し入れする
必要があり、使用するバッファ・メモリは高速である必
要があった。
[0008] Further, in this buffer memory, all received data is written, all received data is read in the interleave direction, an error portion is read, and a correction result is written.
A step of finally reading all data is required. For this reason, all data has to be moved in and out at least three times, and the buffer memory used needs to be high speed.

【0009】[0009]

【課題を解決するための手段】前記課題を解決するため
に、請求項1記載の発明は、2t次のリード・ソロモン
符号の復号回路において、縦列に接続された、2t個の
基本セルおよび1個のターム・セルと、前記基本セルと
ターム・セルを制御するコントロール回路を有し、前記
基本セルは少なくとも3組のレジスタと、前記レジスタ
および演算の制御を行うマルチプレクサと、ガロア体上
の演算を行う回路とを有し、前記ターム・セルはガロア
体上の演算を行う回路と、レジスタとを有し、前記コン
トロール回路は、前記基本セルの1組のレジスタを使用
して、ある符号語のシンドローム多項式の算出を行い、
他の2組のレジスタを使用して、別の符号語の誤り位置
・誤り値多項式の算出又は誤り位置・誤り値多項式の評
価を行い、シンドローム多項式と他の演算とを時分割で
行うように制御することを特徴とする。
In order to solve the above-mentioned problem, the present invention is directed to a decoding circuit for a 2t-order Reed-Solomon code, which comprises 2t basic cells and 1t connected in cascade. Number of term cells, a control circuit for controlling the basic cells and the term cells, the basic cells comprising at least three sets of registers, a multiplexer for controlling the registers and operations, and an operation on a Galois field. The term cell has a circuit for performing an operation on the Galois field and a register, and the control circuit uses a set of registers of the basic cell to generate a code word. Calculate the syndrome polynomial of
Using the other two sets of registers, calculate the error position / error value polynomial of another codeword or evaluate the error position / error value polynomial, and perform the syndrome polynomial and other operations in a time-division manner. It is characterized by controlling.

【0010】これにより、ある符号語の誤り位置・誤り
値多項式の算出又は誤り位置・誤り値多項式の評価中
に、次の符号語のシンドローム多項式の生成を平行して
行うことを可能となる。そのため、復号回路は常にデー
タを受け入れ可能となり、バッファ・メモリにいったん
蓄えることが不要となる。
This makes it possible to concurrently generate the syndrome polynomial for the next codeword while calculating the error position / error value polynomial for a certain codeword or evaluating the error position / error value polynomial. Therefore, the decoding circuit can always receive the data, and it is not necessary to temporarily store the data in the buffer memory.

【0011】請求項1記載のリード・ソロモン符号の復
号回路において、前記基本セルの3組のレジスタがそれ
ぞれ1つのレジスタで構成されていることを特徴とす
る。
The decoding circuit for Reed-Solomon codes according to claim 1, wherein each of the three registers of the basic cell is constituted by one register.

【0012】各基本セルに算出途中の中間値を保持する
レジスタを設け、誤り位置・誤り値多項式の算出または
評価の動作時に、時分割並列にシンドローム多項式の生
成を可能としたものである。
A register for holding an intermediate value in the middle of calculation is provided in each basic cell so that a syndrome polynomial can be generated in a time-division parallel manner when calculating or evaluating an error position / error value polynomial.

【0013】これにより、復号回路は常にデータを受け
入れ可能となり、バッファ・メモリにいったん蓄えるこ
とが不要となる。
Thus, the decoding circuit can always receive the data, and does not need to temporarily store the data in the buffer memory.

【0014】また、請求項1記載のリード・ソロモン符
号の復号回路において、前記基本セルの3組のレジスタ
は、それぞれインターリーブの深さの数のレジスタで構
成されていることを特徴とする。
Further, in the circuit for decoding a Reed-Solomon code according to the first aspect, the three sets of registers of the basic cell are each constituted by a register having a number of interleaving depths.

【0015】インターリーブされた符号を復号するため
に、各基本セルにおいて、算出の中間値を蓄えるレジス
タを、インターリーブの数だけ設けることにより、イン
ターリーブされた符号の演算を時分割並列に計算可能と
したものである。
In order to decode the interleaved code, in each basic cell, registers for storing the intermediate values of the calculations are provided by the number of interleaves, so that the calculation of the interleaved code can be performed in a time-division parallel manner. Things.

【0016】これにより、インターリーブされた符号に
おいても、復号回路は常にデータを受け入れ可能でかつ
インターリーブされたままで受け入れ可能となる。この
ため、インターリーブを解くために、バッファ・メモリ
にいったん蓄えることが不要となる。
As a result, even in the case of an interleaved code, the decoding circuit can always accept the data and can accept the data with the interleaved state. Therefore, it is not necessary to temporarily store the data in the buffer memory in order to release the interleave.

【0017】その上、請求項1記載のリード・ソロモン
符号の復号回路において、前記基本セルの3組のレジス
タのうち2組は、それぞれインターリーブの深さの数の
レジスタで構成されていることを特徴とする。
Further, in the Reed-Solomon decoding circuit according to claim 1, two of the three registers of the basic cell are each constituted by a register having a number of interleaving depths. Features.

【0018】この構成では、訂正結果の出力順が入力デ
ータの順とは一致しないものの、レジスタの数を減らす
ことが可能である。
With this configuration, although the output order of the correction results does not match the order of the input data, the number of registers can be reduced.

【0019】[0019]

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

【0020】(実施形態1)図1は、本発明の実施形態
1の基本セルの回路の構成を示すブロック図である。図
2はターム・セル(Term Cell) の回路の構成を示すブロ
ック図である。ターム・セルの回路は、特願平6−27
3526号に示した構成と同じである。図3は全体の接
続図である。これも特願平6−273526に同じであ
る。
(Embodiment 1) FIG. 1 is a block diagram showing a circuit configuration of a basic cell according to Embodiment 1 of the present invention. FIG. 2 is a block diagram showing a circuit configuration of a term cell. The term cell circuit is described in Japanese Patent Application No. 6-27.
The configuration is the same as that shown in No. 3526. FIG. 3 is an overall connection diagram. This is the same as Japanese Patent Application No. 6-273526.

【0021】図1に示されている基本セル100におい
て、132はガロア体上の乗算器、134はガロア体上
の加算器である。乗算器132、加算器134は単一の
乗加算器で置き換え可能である。102,104および
106はマルチプレクサであり、各々乗算器132およ
び加算器134の入力を切り替えている。マルチプレク
サ102,104および106の切り替え制御線がおの
おのs2,s0およびs1である。114,116およ
び118はmレジスタと呼ぶレジスタ群である。120
および122はnレジスタと呼ぶレジスタ群である。各
レジスタ114,116,118,120および122
の書き込み制御線がそれぞれwm0−1,wm0−2,
wm1,wn0,wn1である。mレジスタ群の出力は
マルチプレクサ110で選択されている。同様にnレジ
スタ群の出力はマルチプレクサ112で選択されてい
る。マルチプレクサ110および112は制御線sm
3,sn3で制御されている。Qbusが共通バスであ
る。Mi-1 は入力であり、前段の基本セルのMi 出力に
接続される。Mi は出力であり、後段の基本セルの入力
i-1 に接続される。108はマルチプレクサであり、
s4がその制御線である。マルチプレクサ104の入力
として、シンドローム多項式の算出のための定数入力
(シンドローム定数)、誤り位置多項式の評価のための
定数入力(ラムダ定数)、誤り値多項式の評価のための
定数入力(オメガ定数)が入力されている。
In the basic cell 100 shown in FIG. 1, 132 is a multiplier on a Galois field, and 134 is an adder on a Galois field. The multiplier 132 and the adder 134 can be replaced by a single multiplier / adder. Reference numerals 102, 104, and 106 denote multiplexers, which switch inputs of the multiplier 132 and the adder 134, respectively. The switching control lines of the multiplexers 102, 104 and 106 are s2, s0 and s1, respectively. 114, 116 and 118 are a group of registers called m registers. 120
And 122 are register groups called n registers. Each register 114, 116, 118, 120 and 122
Are write control lines wm0-1, wm0-2,
wm1, wn0, wn1. The output of the m register group is selected by the multiplexer 110. Similarly, the outputs of the n registers are selected by the multiplexer 112. Multiplexers 110 and 112 are connected to control line sm
3, sn3. Qbus is a common bus. Mi -1 is an input, which is connected to the Mi output of the preceding basic cell. M i is an output and is connected to the input M i-1 of the succeeding basic cell. 108 is a multiplexer,
s4 is the control line. As inputs to the multiplexer 104, a constant input (syndrome constant) for calculating a syndrome polynomial, a constant input (lambda constant) for evaluating an error locator polynomial, and a constant input (omega constant) for evaluating an error value polynomial are provided. Has been entered.

【0022】図2に示されているターム・セルにおい
て、202はラッチであり、lk2はその制御線であ
る。204はガロア体上の加算器であり、SUModd
SUMevenを入力としてSUMを出力する。218はS
UMのゼロ検出回路であり、sumzero はその出力であ
る。220は入力M2t-1のゼロ検出回路であり、mzero
はその出力である。206はレジスタであり、wfがそ
の書き込み制御線である。208はガロア体上の逆関数
演算回路であり、210はガロア体上の乗算器である。
222,224および226はマルチプレクサであり、
si1,si2,si3はその制御信号である。212
はラッチであり、lk1はその制御信号である。214
はガロア体シーケンサ、216および217は深さ2t
のFIFOレジスタである。
In the term cell shown in FIG. 2, 202 is a latch and lk2 is its control line. 204 is an adder on the Galois field, and SUM odd ,
And it outputs the SUM to SUM even as input. 218 is S
UM is a zero detection circuit, and sumzero is its output. Reference numeral 220 denotes a zero detection circuit for the input M 2t−1 ,
Is its output. 206 is a register, and wf is its write control line. 208 is an inverse function operation circuit on the Galois field, and 210 is a multiplier on the Galois field.
222, 224 and 226 are multiplexers;
si1, si2, and si3 are the control signals. 212
Is a latch, and lk1 is its control signal. 214
Is a Galois field sequencer, 216 and 217 are 2t deep
FIFO register.

【0023】図3において、2t次のリード・ソロモン
符号の誤り検出・訂正のための復号回路を示す。図3の
復号回路は、図1に示した基本セル2t個と図2に示し
たTERMセルの相互接続したものである。100は、
2t個の基本セルBU0,BU1,・・BU2t−1で
ある。302はマルチプレクサであり、s1はその制御
線である。304はコントロール回路である。基本セ
ル,タームセルの制御線への制御信号は、コントロール
回路から出力される。なお、すべての基本セルの制御線
への制御信号は共通であり、図2のmzero出力はコ
ントロール回路への入力となる。306は訂正部で、タ
ーム・セルの訂正出力およびsumzeroを受けて、
符号語を訂正している。
FIG. 3 shows a decoding circuit for error detection / correction of a 2t-order Reed-Solomon code. The decoding circuit shown in FIG. 3 is obtained by interconnecting the 2t basic cells shown in FIG. 1 and the TERM cells shown in FIG. 100 is
2t basic cells BU0, BU1,... BU2t-1. 302 is a multiplexer, and s1 is its control line. 304 is a control circuit. Control signals to the control lines of the basic cell and the term cell are output from the control circuit. Note that the control signals to the control lines of all the basic cells are common, and the mzero output in FIG. 2 is an input to the control circuit. A correction unit 306 receives the corrected output of the term cell and sumzero,
The codeword has been corrected.

【0024】マルチプレクサ302は、定数の0と1と
を切り替えて、0番目の基本セルBU0のMi-1 に入力
している。0番目、1番目の基本セルBU0とBU1の
SUMi-1 入力には0を入力する。2i番の基本セルB
2iのSUMi-1 入力は、2i−2番の基本セルBU
i-2 のSUMi 出力に接続し、2i+1番の基本セルB
2i+1のSUMi-1 入力は、2i−1番の基本セルBU
2i-1のSUMi 出力に接続する。ターム・セル200の
SUModd 入力は、2t−1番の基本セルのSUMi
力に接続し、SUMeven入力は2t−2番の基本セルの
SUMi 出力に接続する。
The multiplexer 302 switches between constants 0 and 1 and inputs the same to Mi -1 of the 0th basic cell BU0. 0 is input to the SUM i-1 input of the 0th and 1st basic cells BU0 and BU1. 2i-th basic cell B
The input of SUM i-1 of U 2i is the basic cell BU of 2i-2.
connected to SUM i output of i-2 , 2i + 1th basic cell B
The SUM i-1 input of U 2i +1 is the 2i-1 basic cell BU
Connect to 2i -1 SUM i output. SUM odd input terms cell 200 is connected to the SUM i output of the basic cell of 2t-1 th, SUM the even inputs are connected to the SUM i output of the basic cell of 2t-2 th.

【0025】なお、この、図1、図2および図3に示し
た構成によるリード・ソロモン符号の復号の代数的手順
については、特願平6−273526号に示した復号回
路と同様の手順である。
The algebraic procedure for decoding the Reed-Solomon code with the configuration shown in FIGS. 1, 2 and 3 is the same as that of the decoding circuit shown in Japanese Patent Application No. 6-273526. is there.

【0026】さて、図3の復号回路において、最初の受
信語の処理は、まだ時分割並列処理を行う必要がないの
で、特願平6−273526と同様に動作する。すなわ
ち、各基本セルのマルチプレクサ104がシンドローム
定数を、マルチプレクサ106がQbusを選択し、マ
ルチプレクサ102がMiを選択するように、基本セル
を設定する。そして、Qbusに、ターム・セル200
から受信語を入力することにより、各基本セル中のm0
−1レジスタ114またはm0−2レジスタ116にシ
ンドローム多項式の計算を積算していく。ここでは便宜
的にm0−1レジスタ116にシンドロームを計算した
こととする。
Now, in the decoding circuit of FIG. 3, the processing of the first received word does not have to be performed by time-division parallel processing yet, so that it operates in the same manner as in Japanese Patent Application No. 6-273526. That is, the basic cells are set such that the multiplexer 104 of each basic cell selects the syndrome constant, the multiplexer 106 selects Qbus, and the multiplexer 102 selects Mi. Then, on Qbus, Term Cell 200
, M0 in each basic cell
The calculation of the syndrome polynomial is accumulated in the -1 register 114 or the m0-2 register 116. Here, it is assumed that the syndrome is calculated in the m0-1 register 116 for convenience.

【0027】また消失演算を行う時、特願平6−273
526号と同様に消失位置毎にガロア体シーケンサ21
6の出力をFIFO−1 216に書き込む。
When performing the erasure calculation, Japanese Patent Application No. 6-273 is disclosed.
Galois body sequencer 21 for each vanishing position as in No. 526
6 is written to FIFO-1 216.

【0028】最初の受信語をすべて受信した段階では、
特願平6−273526号と同様に、消失多項式の算出
・ユークリッドの互除去演算を行い、誤り位置・誤り値
多項式の算出を行う。
When all the first received words have been received,
Similar to Japanese Patent Application No. 6-273526, the erasure polynomial is calculated and the Euclidean mutual elimination operation is performed, and the error position / error value polynomial is calculated.

【0029】このように、次の受信語の受信を開始する
までは、特願平6−273526号と同様に処理を進め
る。
As described above, until the reception of the next received word is started, the process proceeds in the same manner as in Japanese Patent Application No. 6-273526.

【0030】次の受信語の受信を開始したのちは、最初
の受信語の処理と次の受信語のシンドローム演算を時分
割にて行う。最初の受信語の処理がどこまで進んだ段階
で次の受信語の処理が開始されるかで、時分割される処
理が異なることになる。
After the reception of the next received word is started, the processing of the first received word and the syndrome operation of the next received word are performed by time division. The time-division processing differs depending on the stage at which the processing of the first received word has progressed and the processing of the next received word is started.

【0031】図4は、例えば、最初の受信語のチェン・
サーチと次の受信語のシンドローム多項式の算出とを時
分割並列に行うための制御信号の様子を示す。
FIG. 4 shows, for example, the first received word Chen.
The state of the control signal for performing the search and the calculation of the syndrome polynomial of the next received word in time division parallel is shown.

【0032】図4では、2つの受信語に対して3サイク
ルごとに交互に演算を行う、すなわち、チェン・サーチ
(ラムダ/オメガ)3サイクルとシンドローム多項式の
算出3サイクルとを交互に行うようなタイミング例を示
す。
In FIG. 4, an operation is alternately performed every three cycles for two received words, that is, three cycles of the Chien search (lambda / omega) and three cycles of calculating the syndrome polynomial are alternately performed. A timing example will be described.

【0033】さて、図1〜図3の構成において、チェン
・サーチ動作の各基本セルおよびターム・セルの動作は
特願平6−273526と同様である。すなわち、図4
に示すように、最初の受信語のチェン・サーチ動作時に
おいては、誤り値多項式(オメガ)及び誤り位置多項式
(ラムダ)の評価演算を交互に行っている。
Now, in the configuration of FIGS. 1 to 3, the operation of each basic cell and the term cell in the Chien search operation is the same as that of Japanese Patent Application No. 6-273526. That is, FIG.
As shown in (1), during the first received word Chien search operation, the evaluation calculation of the error value polynomial (Omega) and the error position polynomial (lambda) are performed alternately.

【0034】このチェン・サーチの動作時において、図
1に示した基本セルのマルチプレクサ104は、ラムダ
/オメガ定数を交互に選択する。また、マルチプレクサ
106はQbusを選択し、マルチプレクサ102はM
iを選択している。Qbusはターム・セルのマルチプ
レクサ226により0を出力する。
During the operation of the Chien search, the multiplexer 104 of the basic cell shown in FIG. 1 alternately selects a lambda / omega constant. The multiplexer 106 selects Qbus, and the multiplexer 102 selects Mbus.
i is selected. Qbus outputs 0 through the term cell multiplexer 226.

【0035】誤り値多項式(オメガ)及び誤り位置多項
式(ラムダ)の評価演算を交互に行うため、誤り位置多
項式(ラムダ)はm1レジスタ118におかれ、誤り値
多項式(オメガ)はm0−1レジスタ114を用いる。
したがって、誤り位置多項式(ラムダ)の評価計算を行
うサイクルでは、マルチプレクサ104においてラムダ
定数を選択し、制御線wm1をイネーブルし、マルチプ
レクサ110はm1レジスタ118から誤り位置多項式
(ラムダ)を出力する。誤り値多項式(オメガ)の評価
演算を行うサイクルでは、マルチプレクサ104がオメ
ガ定数を選択したサイクルは、制御線wm0−1をイネ
ーブルし、マルチプレクサ110はm0−1レジスタ1
14から誤り値多項式(オメガ)を出力する。
Since the evaluation operation of the error value polynomial (Omega) and the error locator polynomial (lambda) are performed alternately, the error locator polynomial (lambda) is placed in the m1 register 118, and the error value polynomial (Omega) is placed in the m0-1 register. 114 is used.
Therefore, in the cycle for performing the evaluation calculation of the error locator polynomial (lambda), the multiplexer 104 selects the lambda constant, enables the control line wm1, and the multiplexer 110 outputs the error locator polynomial (lambda) from the m1 register 118. In the cycle in which the evaluation operation of the error value polynomial (Omega) is performed, the cycle in which the multiplexer 104 selects the Omega constant enables the control line wm0-1 and the multiplexer 110 controls the m0-1 register 1
14 outputs an error value polynomial (Omega).

【0036】最終段のSUMiには誤り位置多項式、誤
り値多項式の値が順に出力される。それを受けたターム
・セルの動作は特願平6−273526号と同様であ
る。
The error position polynomial and the value of the error value polynomial are sequentially output to SUMi of the last stage. The operation of the term cell receiving the request is the same as that of Japanese Patent Application No. 6-273526.

【0037】次の受信語のシンドローム多項式を算出す
る時の動作は、制御線wm0−2をイネーブルし、シン
ドローム多項式がレジスタm0−2116に積算される
ことを除いて同じである。すなわち、マルチプレクサ1
04はシンドローム定数を選択し、マルチプレクサ10
6はQbusを選択し、マルチプレクサ102はMiを
選択する。制御線wm0−2がイネーブルされ、マルチ
プレクサ110はレジスタm0−2を出力する。Qbu
sには受信語を入力することによりレジスタm0−2に
シンドローム多項式が積算される。
The operation when calculating the syndrome polynomial of the next received word is the same except that the control line wm0-2 is enabled and the syndrome polynomial is integrated in the register m0-2116. That is, the multiplexer 1
04 selects a syndrome constant, and the multiplexer 10
6 selects Qbus, and the multiplexer 102 selects Mi. The control line wm0-2 is enabled, and the multiplexer 110 outputs the register m0-2. Qbu
By inputting the received word to s, the syndrome polynomial is integrated in the registers m0-2.

【0038】また消失演算を行う時は、消失演算毎にF
IFO−2 217にガロア体シーケンサの出力を書き
込む。
When performing the erasure calculation, F is used for each erasure calculation.
Write the output of the Galois field sequencer to IFO-2 217.

【0039】さて、上記においては、最初の受信語のチ
ェン・サーチと次の受信語のシンドローム多項式の算出
とを時分割並列に行うことを説明した。次に、誤り位置
多項式・誤り値多項式の算出を行うための変成シンドロ
ーム多項式・消失多項式の生成ないしユークリッド互除
法の演算と、シンドロームの算出とを時分割並列に行う
場合について説明する。この場合は、消失多項式の生成
・ユークリッド互除法の演算は、各々特願平6−273
526号と同じ方法で行い、m0−1レジスタ114,
m1レジスタ118およびn0レジスタ120,n1レ
ジスタ122、ターム・セルのFIFO−1 216を
使用する。そして、シンドロームの算出サイクルにおい
ては、上記と同様な手順で、m0−2レジスタ116お
よびターム・セルのFIFO−2 217を用いてシン
ドローム演算および消失位置記録を行う。
In the above description, the Chien search for the first received word and the calculation of the syndrome polynomial for the next received word are performed in a time-division parallel manner. Next, a description will be given of a case where the generation of the modified syndrome polynomial / erasure polynomial for calculating the error position polynomial / error value polynomial or the operation of the Euclidean mutual division method and the calculation of the syndrome are performed in time division parallel. In this case, the operations of the generation of the erasure polynomial and the Euclidean mutual division method are respectively described in Japanese Patent Application No. 6-273.
526, using the same method as in No. 526.
The m1 register 118 and the n0 register 120, the n1 register 122, and the term cell FIFO-1 216 are used. Then, in the syndrome calculation cycle, the syndrome calculation and the erasure position recording are performed using the m0-2 register 116 and the term cell FIFO-2 217 in the same procedure as described above.

【0040】引き続き、さらに次の受信語の処理を行う
とき、その受信語のシンドローム演算および消失位置記
録はm0−1レジスタ114およびFIFO−1 21
6を用いて行い、m0−2レジスタ116,m1レジス
タ118およびn0レジスタ120,n1レジスタ12
2およびFIFO−2 217を用いて変成シンドロー
ム多項式・消失多項式の生成以降の処理を行う。以降、
交互にm0−1レジスタ114とm0−2レジスタ11
6とを使用すれば、連続的にデータを受信可能な誤り訂
正回路を構成可能である。
Subsequently, when the processing of the next received word is further performed, the syndrome calculation and the disappearance position recording of the received word are performed by the m0-1 register 114 and the FIFO-1221.
6, the m0-2 register 116, the m1 register 118 and the n0 register 120, the n1 register 12
2 and FIFO-2 217 to perform processing after generation of the altered syndrome polynomial / erasure polynomial. Or later,
M0-1 register 114 and m0-2 register 11 alternately
6 can be used to configure an error correction circuit capable of continuously receiving data.

【0041】このように、使用するレジスタを切り替え
ることにより、時分割並列に演算を行うことができる。
As described above, the operation can be performed in a time-division parallel manner by switching the register to be used.

【0042】図4では、受信語に対して3サイクルづつ
交互に、すなわち例えば、チェン・サーチ(ラムダ/オ
メガ)とシンドローム算出とを3サイクルづつ交互に行
うようなタイミング例を説明した。しかし、これは、デ
ータの速度に応じて最適化された規則により切り替える
ことができる。たとえば、受信語が入力されるのを検出
する度にチェン・サーチ動作を中断し、シンドローム演
算を行うと行った制御を行うことも可能である。
FIG. 4 shows an example of the timing in which the received word is alternately performed every three cycles, that is, for example, the Chen search (lambda / omega) and the syndrome calculation are performed alternately every three cycles. However, this can be switched by rules optimized according to the speed of the data. For example, it is also possible to interrupt the Chien search operation each time a received word is detected and perform the control performed when the syndrome operation is performed.

【0043】なお、消失訂正の機能を必要としない場合
は、その機能のための構成要素を省いた実施例を構成す
ることも可能である。
When the erasure correction function is not required, it is possible to construct an embodiment in which the components for the function are omitted.

【0044】また、特願平6−273526号と同様
に、エンコード動作の機能を追加するような構成をする
ことも可能である。
As in the case of Japanese Patent Application No. Hei 6-273526, it is possible to add a function of an encoding operation.

【0045】(実施形態2)実施形態2は、時分割でイ
ンターリーブされた符号の復号を行う回路である。図5
は、インターリーブされた符号に対応した拡張基本セル
を示す。図6は、インターリーブされた符号に対応した
ターム・セルである。
(Embodiment 2) Embodiment 2 is a circuit for decoding a code interleaved by time division. FIG.
Indicates an extended basic cell corresponding to the interleaved code. FIG. 6 is a term cell corresponding to the interleaved code.

【0046】図5の拡張基本セルは、図1に示した基本
セルの構成に対して、m0−1,m0−2の各レジスタ
をインターリーブの深さの分(N)だけ多重化した構成
となっている。図5において、図1と同様の構成には同
じ符号を付している。さて、514,516および51
8は、インターリーブの深さ(N)に対応したN個のレ
ジスタ群で、その書き込み、読み出し対象のレジスタ
は、それぞれ制御線wm0−1(j)とwm0−1
(j),rm0−2(j)とwm0−2(j)およびr
m1(j)とwm1(j)により選択される(j:1〜
N)。
The extended basic cell of FIG. 5 has a configuration in which registers m0-1 and m0-2 are multiplexed by the interleave depth (N) with respect to the configuration of the basic cell shown in FIG. Has become. 5, the same components as those in FIG. 1 are denoted by the same reference numerals. Now, 514, 516 and 51
Reference numeral 8 denotes a group of N registers corresponding to the interleave depth (N), and the registers to be written and read are control lines wm0-1 (j) and wm0-1 respectively.
(J), rm0-2 (j) and wm0-2 (j) and r
selected by m1 (j) and wm1 (j) (j: 1 to 1)
N).

【0047】図6のターム・セルは、図2に示したター
ム・セルの構成におけるFIFO−1 216およびF
IFO−2 217を各々Nだけ多重構成のFIFO−
1(N)616およびFIFO−2(N)617に置換
した構成である。
The term cell shown in FIG. 6 is composed of FIFO-1 216 and F-1 in the configuration of the term cell shown in FIG.
FIFO-2 217 is multiplexed into N FIFOs 217 each.
1 (N) 616 and FIFO-2 (N) 617.

【0048】インターリーブされたリード・ソロモン符
号の復号回路に用いられる全体構成は、実施形態1の図
3と同様である。
The overall configuration used for the interleaved Reed-Solomon decoding circuit is the same as that of FIG. 3 of the first embodiment.

【0049】さて、図5の拡張基本セルを、図6のター
ム・セルと組み合わせて、図3に示した全体構成と同様
の構成としたときのシンドローム動作を説明する。図5
の拡張基本セルのシンドローム動作について、図7〜図
9のタイミングに基づいて説明する。
Now, a description will be given of a syndrome operation when the extended basic cell of FIG. 5 is combined with the term cell of FIG. 6 to have a configuration similar to the entire configuration shown in FIG. FIG.
Will be described based on the timings of FIGS. 7 to 9.

【0050】図7〜図9は、3つの図で連続したタイミ
ングを示しており、図4のタイミングを同様に、図5の
拡張基本セルで構成した、インターリーブされたリード
・ソロモン符号の復号回路の動作を示しており、シンド
ローム多項式の算出とチェン・サーチとを時分割並列に
動作している様子を示している。
FIGS. 7 to 9 show successive timings in the three figures. Similarly, the decoding circuit for the interleaved Reed-Solomon code, which is composed of the extended basic cells shown in FIG. This shows that the calculation of the syndrome polynomial and the Chien search are operated in a time-division parallel manner.

【0051】図7および図9において、シンドローム多
項式の算出の動作を行っている場合を説明する。図5に
おいて、実施形態1と同様に、各拡張基本セルのマルチ
プレクサ104はシンドローム定数を、マルチプレクサ
106はQbusを、マルチプレクサ102はMiを選
択する。Qbusには受信語が入力される。マルチプレ
クサ110はm0−2(j)レジスタ(j:1〜N)の
出力を選択する。
7 and 9, a case in which the operation of calculating a syndrome polynomial is performed will be described. In FIG. 5, as in the first embodiment, the multiplexer 104 of each extended basic cell selects a syndrome constant, the multiplexer 106 selects Qbus, and the multiplexer 102 selects Mi. The received word is input to Qbus. The multiplexer 110 selects the output of the m0-2 (j) register (j: 1 to N).

【0052】受信語の入力データが、インターリーブの
1番目のとき、レジスタ群516に対する制御線wm0
−2(1),rm0−2(1)をイネーブルすることに
より、m0−2(1)レジスタを選択する。以降、同様
に受信語の入力データのインターリーブに合わせて、制
御線wm0−2(j),rm0−2(j)をイネーブル
し、m0−2(j)レジスタを選択する(j:1〜
N)。この選択したレジスタを用いることで、インター
リーブごとに独立にシンドローム多項式の算出ができ
る。
When the input data of the received word is the first in the interleave, the control line wm0 for the register group 516
-2 (1) and rm0-2 (1) are enabled to select the m0-2 (1) register. Thereafter, the control lines wm0-2 (j) and rm0-2 (j) are similarly enabled in accordance with the interleaving of the input data of the received word, and the m0-2 (j) register is selected (j: 1 to 1).
N). By using the selected register, the syndrome polynomial can be calculated independently for each interleave.

【0053】同様に、図8において示したチェン・サー
チの処理も、各インターリーブ毎に行うことができる。
すなわち、j番目(j:1〜N)のインターリーブの処
理を行うときは制御線wm0−1(j)とrm0−1
(j)およびwm1(j)とrm1(j)をイネーブル
し、他の制御線は特願平6−273526号と同様な制
御を行い、チェン・サーチの全ステップを実行する。チ
ェン・サーチ動作は、誤り位置多項式(ラムダ)に対し
てはm1(j)レジスタ、誤り値多項式(オメガ)に対
してはm0−1(j)レジスタを使用して行われる。レ
ジスタ群の中から選択したレジスタを用いることで、イ
ンターリーブごとに独立にチェン・サーチを行うことが
できる。
Similarly, the chain search process shown in FIG. 8 can be performed for each interleave.
That is, when the j-th (j: 1 to N) interleave processing is performed, the control lines wm0-1 (j) and rm0-1
(J), wm1 (j) and rm1 (j) are enabled, and the other control lines perform the same control as in Japanese Patent Application No. 6-273526, and execute all steps of the Chien search. The Chien search operation is performed using the m1 (j) register for the error locator polynomial (lambda) and the m0-1 (j) register for the error value polynomial (Omega). By using a register selected from the register group, a Chien search can be performed independently for each interleave.

【0054】このように、図7〜図9で示すように、図
5の拡張基本セルを用いると、インターリーブされたリ
ード・ソロモン符号に対して、シンドローム多項式の算
出とチェン・サーチとを時分割並列に処理することがで
きる。
As shown in FIGS. 7 to 9, when the extended basic cell of FIG. 5 is used, the calculation of the syndrome polynomial and the Chien search are performed on the interleaved Reed-Solomon code in a time division manner. Can be processed in parallel.

【0055】消失多項式の生成・ユークリッド互除法に
対しても、同様に、選択したレジスタを用いることで、
インターリーブごとに独立に算出を行うことができる。
Similarly, for the erasure polynomial generation / Euclidean mutual division method, by using the selected register,
The calculation can be performed independently for each interleave.

【0056】消失多項式の生成においては、m0−1
(j)レジスタに蓄えられる多項式を初期値として、消
失多項式の生成を実行する。結果の変成シンドローム多
項式および消失多項式は、各基本セルのm0−1(j)
レジスタおよびm1(j)レジスタに生成される。
In the generation of the erasure polynomial, m0-1
(J) The erasure polynomial is generated using the polynomial stored in the register as an initial value. The resulting modified syndrome polynomial and erasure polynomial are m0-1 (j) for each elementary cell.
Registers and m1 (j) registers.

【0057】ユークリッド互除法は、m0−1(j)お
よびm1(j)のレジスタに蓄えられた多項式を初期値
として、ユークリッド互除法を実行する。結果の誤り位
置多項式(ラムダ)はm1(j)レジスタに、誤り値多
項式(オメガ)はm0−1(j)に格納される。
The Euclidean algorithm executes the Euclidean algorithm using the polynomials stored in the registers m0-1 (j) and m1 (j) as initial values. The resulting error locator polynomial (lambda) is stored in the m1 (j) register and the error value polynomial (omega) is stored in m0-1 (j).

【0058】図10において、この誤り位置多項式(ラ
ムダ)および誤り値多項式(オメガ)をユークリッド互
除法で求める場合について説明する。図9は、各拡張基
本セルのレジスタm0−1(j)514、レジスタm0
−2(j)516、レジスタm1(j)517、レジス
タn0 120およびレジスタn1 121の内容につ
いて示している。
Referring to FIG. 10, a case will be described in which the error locator polynomial (lambda) and the error value polynomial (omega) are obtained by the Euclidean algorithm. FIG. 9 shows registers m0-1 (j) 514 and register m0 of each extended basic cell.
-2 (j) 516, register m1 (j) 517, register n0 120 and register n1 121 are shown.

【0059】なお、図10は、消失演算をせず、シンド
ローム多項式より誤り位置多項式,誤り値多項式を直接
算出している例を示している。
FIG. 10 shows an example in which the error locator polynomial and the error value polynomial are directly calculated from the syndrome polynomial without performing the erasure calculation.

【0060】図9において、ユークリッド互除法が行わ
れる時分割周期では、各拡張基本セルのレジスタm0−
1(j)とn0およびレジスタm1(j)とn1を
(j:1〜N)を用いて、レジスタm0−1(j)に格
納されている各インターリーブのシンドローム多項式を
初期値として、それぞれ誤り値多項式(オメガ)および
誤り位置多項式(ラムダ)の各インターリーブに対応す
る演算が独立に行われる。そして、その結果がレジスタ
m0−1(j)およびレジスタm1(j)に求まる。
In FIG. 9, in the time division period in which the Euclidean mutual division method is performed, the register m0-
Using 1 (j) and n0 and registers m1 (j) and n1 as (j: 1 to N), using the syndrome polynomial of each interleave stored in the register m0-1 (j) as an initial value, an error occurs. Operations corresponding to each interleave of the value polynomial (Omega) and the error locator polynomial (lambda) are performed independently. Then, the result is obtained in the registers m0-1 (j) and m1 (j).

【0061】図11に消失訂正を行う場合の動作を示
す。図11において、各インターリーブのユークリッド
演算の前に、変成シンドローム多項式・消失多項式の生
成サイクルを挿入したのを除けば、図10と同一であ
る。変成シンドローム多項式・消失多項式の生成におい
ては、レジスタm0−1(j)に格納されている各イン
ターリーブのシンドローム多項式およびターム・セルの
FIFO−1(j)に格納されている消失情報を基に、
特願平6−273526号と同様な手順で、m0−1
(j)に変成シンドローム多項式が、m1(j)に消失
多項式が求まる。この後のユークリッド互除法演算は、
m0−1(j),m1(j)を初期値として実行され
る。
FIG. 11 shows the operation when erasure correction is performed. FIG. 11 is the same as FIG. 10 except that the generation cycle of the modified syndrome polynomial / erasure polynomial is inserted before the Euclidean operation of each interleave. In the generation of the modified syndrome polynomial / erasure polynomial, based on the syndrome polynomial of each interleave stored in the register m0-1 (j) and the erasure information stored in the FIFO-1 (j) of the term cell,
By the same procedure as in Japanese Patent Application No. 6-273526, m0-1
A metamorphic syndrome polynomial is obtained in (j) and an erasure polynomial is obtained in m1 (j). The subsequent Euclidean algorithm is
This is executed with m0-1 (j) and m1 (j) as initial values.

【0062】このように、消失多項式の生成・ユークリ
ッド互除法・チェン・サーチの動作時は、すべてのマル
チプレクサは特願平6−273526号と同様の動作を
し、かつ処理するインターリーブに対応したm0−1
(j)、m0−2(j)、m1(j)の各レジスタを用
いて行われる。
As described above, during the operations of generating the erasure polynomial, Euclidean mutual division method, and Chien search, all multiplexers operate in the same manner as in Japanese Patent Application No. 6-273526, and m0 corresponding to the interleave to be processed. -1
(J), m0-2 (j) and m1 (j).

【0063】したがって、インターリーブされた受信語
に対して、シンドローム動作とその他のデコード動作の
多重化は、実施形態1と同様に行うことができる。すな
わち、現在の受信語のシンドロームはm0−2レジスタ
に求められる。前の受信語のデコード動作の値はm0−
1レジスタに存在している。そして、シンドローム演算
時は、すべてのマルチプレクサは実施形態1と同様の動
作をし、かつ受信語のインターリーブに対応したレジス
タが選択される。
Therefore, the multiplexing of the syndrome operation and other decoding operations can be performed on the interleaved received words in the same manner as in the first embodiment. That is, the syndrome of the current received word is obtained in the m0-2 register. The value of the decoding operation of the previous received word is m0-
It exists in one register. At the time of the syndrome operation, all the multiplexers operate in the same manner as in the first embodiment, and a register corresponding to the interleaving of the received word is selected.

【0064】時分割並列動作の切り替えの制御は、受信
データの速度・分布に応じて適切にに行えばよい。
The switching of the time-division parallel operation may be controlled appropriately according to the speed and distribution of the received data.

【0065】また、実施形態1と同様にエンコード動作
の機能を追加するような構成をすることも可能である。
Further, it is also possible to adopt a configuration in which an encoding operation function is added as in the first embodiment.

【0066】(実施形態3)訂正結果をデータの入力順
と同じ順番で出力する必要がない場合は、レジスタの数
を削減することが可能である。すなわち、各インターリ
ーブ毎に、消失多項式・ユークリッド互除法・チェーン
サーチの一連の動作を連続して行うと、各インターリー
ブのオメガ・ラムダ両多項式を後に残す必要がないた
め、m1レジスタは一重でよい。なお、この時、訂正結
果はインタリーブ1の全ての誤り値・位置,インターリ
ーブ1の全ての誤り値・位置,…インターリーブNの全
ての誤り値・位置の順で出力される。この場合につい
て、図12〜図14を用いて説明する。
(Embodiment 3) When it is not necessary to output the correction results in the same order as the data input order, the number of registers can be reduced. That is, if a series of operations of the erasure polynomial, the Euclidean mutual division method, and the chain search are continuously performed for each interleave, it is not necessary to leave both the Omega and lambda polynomials of each interleave, so the m1 register may be single. At this time, the correction result is output in the order of all error values / positions of interleave 1, all error values / positions of interleave 1,... All error values / positions of interleave N. This case will be described with reference to FIGS.

【0067】図12は、訂正結果をデータの入力順と同
じ順番で出力する必要がない場合の基本セルの回路を示
している。この図において、レジスタm0−1(j)1
014とレジスタm0−2(j)1016は、インター
リーブの深さの数Nの数あり、レジスタm1 1018
は、1つである。他の構成は、図5に示した実施形態2
の拡張基本セルと同様である。これと図3のターム・セ
ルとを組み合わせて、実施形態2と同様に、リード・ソ
ロモン符号の復号回路を構成する。
FIG. 12 shows a circuit of a basic cell in a case where it is not necessary to output a correction result in the same order as data input. In this figure, registers m0-1 (j) 1
014 and the registers m0-2 (j) 1016 have the number N of interleaving depths, and the registers m1 1018
Is one. Another configuration is the second embodiment shown in FIG.
Is similar to the extended basic cell. By combining this with the term cell of FIG. 3, a Reed-Solomon code decoding circuit is configured as in the second embodiment.

【0068】この実施形態のリード・ソロモン復号回路
において、時分割動作のシンドローム演算中の動作は、
実施形態2と同様に、レジスタm0−1(j)1014
又はm0−2(j)1016を用いて行われる。
In the Reed-Solomon decoding circuit of this embodiment, the operation during the syndrome operation of the time division operation is as follows:
As in the second embodiment, the register m0-1 (j) 1014
Alternatively, this is performed using m0-2 (j) 1016.

【0069】この拡張基本セルを用いたインターリーブ
されている受信語に対するリード・ソロモン復号回路の
時分割動作を図13および図14を用いて説明する。
The time division operation of the Reed-Solomon decoding circuit for an interleaved received word using the extended basic cell will be described with reference to FIGS.

【0070】図13において、ある受信語に対するシン
ドローム演算終了後には、m0−1(j)1014の各
レジスタには、各インターリーブのシンドローム多項式
が蓄えられて、次の受信語の各シンドロームはレジスタ
m−2(j)1016の各レジスタに計算されることが
示されている。
In FIG. 13, after the syndrome operation for a certain received word is completed, the syndrome polynomial of each interleave is stored in each register of m0-1 (j) 1014, and each syndrome of the next received word is stored in the register m. 2 (j) 1016 is calculated in each register.

【0071】さて、インターリーブのユークリッド互除
法を用いるデコードの演算は、レジスタm0−1(j)
の中のシンドロームを初期値とし、レジスタm1、レジ
スタn1、レジスタn0の各レジスタを用いて行われ
る。ユークリッド互除法の演算終了後、誤り値多項式
(オメガ)および誤り位置多項式(ラムダ)がレジスタ
m0−1(j)およびレジスタm1に算出される。
The decoding operation using the interleaved Euclidean algorithm is performed in the register m0-1 (j).
Is performed using the registers m1, n1, and n0 as initial values. After completion of the Euclidean algorithm, an error value polynomial (Omega) and an error location polynomial (lambda) are calculated in the registers m0-1 (j) and m1.

【0072】その後、チェン・サーチが、ユークリッド
互除法で求めた誤り値多項式(オメガ)および誤り位置
多項式(ラムダ)に基づいて、レジスタm0−1および
レジスタm1を用いて行われる。
Thereafter, a Chien search is performed using the registers m0-1 and m1 based on the error value polynomial (Omega) and error location polynomial (lambda) obtained by the Euclidean algorithm.

【0073】なお、消失演算を行う場合は、図11と同
様にユークリッドの演算の手前に消失多項式のサイクル
を挿入すればよい。
When the erasure operation is performed, a cycle of the erasure polynomial may be inserted before the Euclidean operation as in FIG.

【0074】図14は、図13において、デコード動作
のインターリーブ0とインターリーブ1との切替えの部
分の拡大したものである。
FIG. 14 is an enlarged view of FIG. 13 showing the switching operation between interleave 0 and interleave 1 in the decoding operation.

【0075】各演算は、クロックパルスCLKに同期し
て演算される。インターリーブ0に対するユークリッド
互除法の演算が終了すると、インターリーブ0の誤り値
多項式(オメガ)および誤り位置多項式(ラムダ)が、
レジスタm0−1(0)およびレジスタm1に求められ
ている。これを用いてインターリーブ0のチェン・サー
チが行われる。
Each operation is performed in synchronization with the clock pulse CLK. When the operation of the Euclidean algorithm with respect to interleave 0 is completed, the error value polynomial (omega) and error location polynomial (lambda) of interleave 0 become
It is determined for the registers m0-1 (0) and m1. The interleave 0 chain search is performed using this.

【0076】そして、インターリーブ0に対してチェン
・サーチが行われているときは、レジスタm0−1
(0)には誤り値多項式(オメガ)の中間結果が記憶さ
れている。また、レジスタm1にはインターリーブ0の
誤り位置多項式(ラムダ)の中間結果が記憶されてい
る。
When the Chien search is being performed on interleave 0, registers m0-1
The intermediate result of the error value polynomial (Omega) is stored in (0). The register m1 stores an intermediate result of the error locator polynomial (lambda) of interleave 0.

【0077】インターリーブ0からインターリーブ1に
時分割演算が切り替わると、レジスタm0−1(0)に
誤り値多項式(オメガ)の中間結果を記憶したまま、チ
ェン・サーチは、レジスタm0−1(1)に記憶されて
いたインターリーブ1のシンドローム多項式を用いて、
レジスタm1、レジスタn0およびレジスタn1を用い
て、インターリーブ1のユークリッド演算を行う。
When the time division operation is switched from interleave 0 to interleave 1, the Chien search performs the register m0-1 (1) while the intermediate result of the error value polynomial (Omega) is stored in the register m0-1 (0). Using the interleave 1 syndrome polynomial stored in
The interleave 1 Euclidean operation is performed using the register m1, the register n0, and the register n1.

【0078】また、実施形態1と同様に、エンコードの
動作を追加することも可能である。
As in the first embodiment, an encoding operation can be added.

【0079】[0079]

【発明の効果】以上に示したように、本発明の復号回路
は、リード・ソロモン符号に対する演算が時分割並列動
作できるので、連続的にデータを受け付け可能である。
As described above, the decoding circuit of the present invention can continuously receive data because the operation for the Reed-Solomon code can be performed in a time-division parallel manner.

【0080】また、インターリーブされているリード・
ソロモン符号に対しても、連続的にデータを受け付け可
能なものに拡張できる。
Also, the interleaved read
The Solomon code can be extended to one that can continuously receive data.

【0081】その上、この構成により、復号回路にデー
タを与える前にバッファ・メモリにいったん蓄積する必
要が無くなり、バッファ・メモリに対する負荷が軽減さ
れる。
In addition, this configuration eliminates the need to temporarily store data in the buffer memory before giving data to the decoding circuit, and reduces the load on the buffer memory.

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

【図1】基本セルの構成を示すブロック図である。FIG. 1 is a block diagram showing a configuration of a basic cell.

【図2】ターム・セルの構成を示すブロック図である。FIG. 2 is a block diagram showing a configuration of a term cell.

【図3】復号回路の構成を示すブロック図である。FIG. 3 is a block diagram illustrating a configuration of a decoding circuit.

【図4】復号回路の動作を示すタイムチャートである。FIG. 4 is a time chart illustrating an operation of the decoding circuit.

【図5】拡張基本セルの構成を示すブロック図である。FIG. 5 is a block diagram showing a configuration of an extended basic cell.

【図6】ターム・セルの構成を示すブロック図である。FIG. 6 is a block diagram showing a configuration of a term cell.

【図7】実施形態2の復号回路の動作を示すタイムチャ
ートの一部である。
FIG. 7 is a part of a time chart showing the operation of the decoding circuit of the second embodiment.

【図8】実施形態2の復号回路の動作を示すタイムチャ
ートの一部である。
FIG. 8 is a part of a time chart illustrating the operation of the decoding circuit according to the second embodiment.

【図9】他の復号回路の動作を示すタイムチャートの一
部である。
FIG. 9 is a part of a time chart showing the operation of another decoding circuit.

【図10】実施形態2の復号回路のユークリッド互除法
における動作を示すタイムチャートである。
FIG. 10 is a time chart illustrating an operation of the decoding circuit according to the second embodiment in the Euclidean mutual division method.

【図11】実施形態2の復号回路のユークリッド互除法
における動作を示すタイムチャートである。
FIG. 11 is a time chart illustrating an operation of the decoding circuit according to the second embodiment in the Euclidean mutual division method.

【図12】他の拡張セルの構成を示すブロック図であ
る。
FIG. 12 is a block diagram showing a configuration of another extension cell.

【図13】実施形態3の復号回路の動作を示すタイムチ
ャートである。
FIG. 13 is a time chart illustrating the operation of the decoding circuit according to the third embodiment.

【図14】図12のタイムチャートの部分拡大図であ
る。
FIG. 14 is a partially enlarged view of the time chart of FIG. 12;

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

100 基本セル 102,104,106,108,110,112 マ
ルチプレクサ 114,116,118 mレジスタ 120,122 nレジスタ 132 ガロア体上の乗算器 134,136 ガロア体上の加算器 200 ターム・セル 202,212 レジスタ(ラッチ) 204 ガロア体上の加算器 208 ガロア体上の逆関数演算回路 210 ガロア体上の乗算器 214 ガロア体シーケンサ 216 深さ2tのFIFO 218,220 ゼロ検出回路 222,224,226 マルチプレクサ 302 マルチプレクサ 304 コントロール回路 306 訂正部 514,516,518 インターリーブの深さの数
(N)のmレジスタ
100 Basic cell 102, 104, 106, 108, 110, 112 Multiplexer 114, 116, 118 m register 120, 122 n register 132 Multiplier on Galois field 134, 136 Adder on Galois field 200 Term cell 202, 212 Register (latch) 204 Adder on Galois field 208 Inverse function operation circuit on Galois field 210 Multiplier on Galois field 214 Galois field sequencer 216 FIFO with 2t depth 218,220 Zero detection circuit 222,224,226 Multiplexer 302 Multiplexer 304 Control circuit 306 Correction unit 514, 516, 518 m register of number (N) of interleaving depth

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 2t次のリード・ソロモン符号の復号回
路において、 縦列に接続された、2t個の基本セルおよび1個のター
ム・セルと、 前記基本セルとターム・セルを制御するコントロール回
路とを有し、 前記基本セルは、 少なくとも3組のレジスタと、 前記レジスタおよび演算の制御を行うマルチプレクサ
と、 ガロア体上の演算を行う回路とを有し、 前記ターム・セルはガロア体上の演算を行う回路と、 レジスタとを有し、 前記コントロール回路は、前記基本セルの1組のレジス
タを使用して、ある符号語のシンドローム多項式の算出
を行い、他の2組のレジスタを使用して、別の符号語の
誤り位置・誤り値多項式の算出又は誤り位置・誤り値多
項式の評価を行い、シンドローム多項式の算出と他の演
算とを時分割で行うように制御することを特徴とするリ
ード・ソロモン符号の復号回路。
1. A decoding circuit for a 2t-order Reed-Solomon code, comprising: 2t basic cells and one term cell connected in cascade; and a control circuit for controlling the basic cells and the term cells. The basic cell has at least three sets of registers, a multiplexer for controlling the registers and operations, and a circuit for performing operations on Galois fields, and the term cell includes operations on Galois fields. And a register. The control circuit calculates a syndrome polynomial of a certain code word using one set of registers of the basic cell, and uses another two sets of registers. Calculates the error position / error value polynomial of another codeword or evaluates the error position / error value polynomial, and controls the calculation of the syndrome polynomial and other operations in a time-division manner A Reed-Solomon decoding circuit.
【請求項2】 請求項1記載のリード・ソロモン符号の
復号回路において、 前記基本セルの3組のレジスタがそれぞれ1つのレジス
タで構成されていることを特徴とするリード・ソロモン
符号の復号回路。
2. The Reed-Solomon code decoding circuit according to claim 1, wherein each of the three sets of registers of the basic cell comprises one register.
【請求項3】 請求項1記載のリード・ソロモン符号の
復号回路において、 前記基本セルの3組のレジスタは、それぞれインターリ
ーブの深さの数のレジスタで構成されていることを特徴
とするリード・ソロモン符号の復号回路。
3. The Reed-Solomon decoding circuit according to claim 1, wherein each of the three sets of registers of the basic cell is constituted by a register having a number of interleaving depths. Solomon code decoding circuit.
【請求項4】 請求項1記載のリード・ソロモン符号の
復号回路において、 前記基本セルの3組のレジスタのうち2組は、それぞれ
インターリーブの深さの数のレジスタで構成されている
ことを特徴とするリード・ソロモン符号の復号回路。
4. The decoding circuit for a Reed-Solomon code according to claim 1, wherein two of the three registers of the basic cell are each formed of registers having a number of interleaving depths. A Reed-Solomon code decoding circuit.
JP31203096A 1996-11-22 1996-11-22 Reed-Solomon decoding circuit Expired - Fee Related JP3310186B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP31203096A JP3310186B2 (en) 1996-11-22 1996-11-22 Reed-Solomon decoding circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP31203096A JP3310186B2 (en) 1996-11-22 1996-11-22 Reed-Solomon decoding circuit

Publications (2)

Publication Number Publication Date
JPH10154940A true JPH10154940A (en) 1998-06-09
JP3310186B2 JP3310186B2 (en) 2002-07-29

Family

ID=18024383

Family Applications (1)

Application Number Title Priority Date Filing Date
JP31203096A Expired - Fee Related JP3310186B2 (en) 1996-11-22 1996-11-22 Reed-Solomon decoding circuit

Country Status (1)

Country Link
JP (1) JP3310186B2 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6631491B1 (en) 1997-11-10 2003-10-07 Ntt Mobile Communications Network, Inc. Interleaving method, interleaving apparatus, and recording medium in which interleave pattern generating program is recorded
JP2009048640A (en) * 2007-08-17 2009-03-05 Samsung Electronics Co Ltd Memory system comprising error correction decoder architecture capable of reducing latency and increasing throughput
JP2009054159A (en) * 2007-08-28 2009-03-12 Samsung Electronics Co Ltd Multichannel memory system including error correction decoder structure with high area efficiency

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6631491B1 (en) 1997-11-10 2003-10-07 Ntt Mobile Communications Network, Inc. Interleaving method, interleaving apparatus, and recording medium in which interleave pattern generating program is recorded
JP2009048640A (en) * 2007-08-17 2009-03-05 Samsung Electronics Co Ltd Memory system comprising error correction decoder architecture capable of reducing latency and increasing throughput
US8479085B2 (en) 2007-08-17 2013-07-02 Samsung Electronics Co., Ltd. Memory system with error correction decoder architecture having reduced latency and increased throughput
KR101433620B1 (en) * 2007-08-17 2014-08-25 삼성전자주식회사 Decoder for increasing throughput using double buffering structure and pipelining technique and decoding method thereof
JP2009054159A (en) * 2007-08-28 2009-03-12 Samsung Electronics Co Ltd Multichannel memory system including error correction decoder structure with high area efficiency
US8713417B2 (en) 2007-08-28 2014-04-29 Samsung Electronics Co., Ltd. Multi-channel memory system including error correction decoder architecture with efficient area utilization
KR101466694B1 (en) * 2007-08-28 2014-11-28 삼성전자주식회사 ECC circuit, and storage device having the same, and method there-of

Also Published As

Publication number Publication date
JP3310186B2 (en) 2002-07-29

Similar Documents

Publication Publication Date Title
EP0158510B1 (en) Error detection and correction in digital communication systems
JP3250735B2 (en) Multipurpose error correction system
EP0152702B1 (en) Arithmetic circuit of finite field
US4751704A (en) Method and apparatus for decoding BCH code
US8433974B2 (en) Cyclic redundancy check code generating circuit and cyclic redundancy check code generating method
JP3502583B2 (en) Error correction method and error correction device
KR100305618B1 (en) Multipurpose error correction calculation circuit
JP3345385B2 (en) Chain search device
JPH11225079A (en) Reed solomon decoder adopting new polynomial arrangement and its decoding method
JPH10508988A (en) CRC / EDC checker system
JP3310186B2 (en) Reed-Solomon decoding circuit
JP3279624B2 (en) 1-bit error correction circuit based on CRC operation
JPH07170200A (en) Crc synchronizer
JPH04241521A (en) Decoding circuit of folding code
JP3454962B2 (en) Error correction code encoder and decoder
KR100493014B1 (en) Galois field processor having dual parallel datapath for BCH/Reed-Solomon decoder
JPH09305572A (en) Method and device for dividing galois field
JP2963018B2 (en) Reed-Solomon error correction code decoding circuit
JPH0750595A (en) Decoding device
JPH0834439B2 (en) Galois field arithmetic unit
JPH09162753A (en) Decoding system for code word
JPH11168392A (en) Data error correction device and data error correction method
KR100298833B1 (en) circuit for operating Euclid alhorizn
JP2858538B2 (en) Re-syndrome check method
KR100192803B1 (en) Apparatus for computing error correction syndromes

Legal Events

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20020409

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313111

R360 Written notification for declining of transfer of rights

Free format text: JAPANESE INTERMEDIATE CODE: R360

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

Free format text: PAYMENT UNTIL: 20080524

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20080524

Year of fee payment: 6

R360 Written notification for declining of transfer of rights

Free format text: JAPANESE INTERMEDIATE CODE: R360

R371 Transfer withdrawn

Free format text: JAPANESE INTERMEDIATE CODE: R371

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313111

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

Free format text: PAYMENT UNTIL: 20080524

Year of fee payment: 6

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

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

Free format text: PAYMENT UNTIL: 20080524

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20090524

Year of fee payment: 7

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

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

Free format text: PAYMENT UNTIL: 20090524

Year of fee payment: 7

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

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

Free format text: PAYMENT UNTIL: 20100524

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20110524

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20110524

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20120524

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20120524

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20130524

Year of fee payment: 11

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

Free format text: PAYMENT UNTIL: 20130524

Year of fee payment: 11

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

Free format text: PAYMENT UNTIL: 20140524

Year of fee payment: 12

LAPS Cancellation because of no payment of annual fees