JP2722553B2 - Error correction decoder - Google Patents
Error correction decoderInfo
- Publication number
- JP2722553B2 JP2722553B2 JP63284601A JP28460188A JP2722553B2 JP 2722553 B2 JP2722553 B2 JP 2722553B2 JP 63284601 A JP63284601 A JP 63284601A JP 28460188 A JP28460188 A JP 28460188A JP 2722553 B2 JP2722553 B2 JP 2722553B2
- Authority
- JP
- Japan
- Prior art keywords
- error
- circuit
- galois field
- polynomial
- 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.)
- Expired - Fee Related
Links
Landscapes
- Error Detection And Correction (AREA)
Description
【発明の詳細な説明】 〔産業上の利用分野〕 この発明は、リードソロモン符号の復号を行う誤り訂
正復号器に関するものである。Description: TECHNICAL FIELD The present invention relates to an error correction decoder for decoding a Reed-Solomon code.
従来、この種の装置として、第4図に示すようなもの
があった。Conventionally, there has been an apparatus of this type as shown in FIG.
この図は、吉田英夫、井上徹、山岸篤弘、西島利尚、
小田好明、尾崎稔著「ガロア演算ユニットを用いたRS符
号の復号法に関する一検討」(第9回情報理論とその応
用シンポジウム予稿集、分冊I、P.169)に示されたも
のを参考にしたもので、図において、(1)は制御回
路、(2)は受信語からシンドロームを計算し、生成す
るシンドローム生成回路、(3)はチェンサーチ回路
で、(3a)は誤り位置多項式からチェンサーチを行い誤
り位置を求める多項式評価回路部、(3b)はこの多項式
評価回路部(3a)で求められた誤り位置kを対応するガ
ロア体の元α-(n-k-1)(nは符号長、αは原始多項式の
根)に変換するガロア体元発生回路である。(4)は上
記シンドローム生成回路で生成されたシンドロームから
誤り位置多項式及び誤り数値多項式を求めると共に上記
ガロア体元発生回路部(3b)で求められた誤り位置に対
応するガロア体の元と誤り数値多項式から誤り数値を計
算し、誤りを訂正するガロア体元演算回路、(6)は受
信語を復調するモデム、(5)はモデム(6)からの受
信語を読み込み、上記シンドローム生成回路(2)に送
るとともに上記多項式評価回路(3a)で求められた誤り
位置を読み込み、これを対応するガロア体上の元に変換
するためにガロア体元変換ROMのアドレスとして出力す
るバッファメモリ、(8)は制御回路(1)の信号を記
憶するマイクロプログラムROM、(16)はバスである。This figure shows Hideo Yoshida, Toru Inoue, Atsuhiro Yamagishi, Toshihisa Nishijima,
Yoshiaki Oda, Minoru Ozaki, "A Study on Decoding Method of RS Code Using Galois Arithmetic Unit" (Refer to the 9th Information Theory and its Application Symposium Proceedings, Volume I, P.169) In the figure, (1) is a control circuit, (2) is a syndrome generation circuit that calculates and generates a syndrome from a received word, (3) is a Chien search circuit, and (3a) is an error locator polynomial. A polynomial evaluation circuit unit for performing an error search by performing a Chien search, and (3b) is an element α- (nk-1) (n is a code ) of a Galois field corresponding to the error position k obtained by the polynomial evaluation circuit unit (3a) The length and α are Galois field element generation circuits for converting into primitive polynomials. (4) obtains an error position polynomial and an error value polynomial from the syndrome generated by the syndrome generation circuit, and generates a Galois field element and an error value corresponding to the error position obtained by the Galois field element generation circuit (3b). A Galois field element arithmetic circuit that calculates an error value from a polynomial and corrects the error, (6) a modem that demodulates a received word, (5) reads a received word from the modem (6), and reads out the syndrome generation circuit (2) And (8) a buffer memory which reads the error position obtained by the polynomial evaluation circuit (3a) and outputs it as an address of a Galois field element conversion ROM in order to convert the error position into a corresponding element on the Galois field. Is a microprogram ROM for storing signals of the control circuit (1), and (16) is a bus.
なお制御回路(1)は他の回路に制御信号を送ること
により他の回路に命令を出し、他の回路とのインタフェ
ースを行う。The control circuit (1) issues a command to another circuit by sending a control signal to the other circuit, and performs an interface with the other circuit.
次に動作について説明する。まずモデム(6)からバ
ッファメモリ(5)に受信語が記憶される。この受信語
は制御回路(1)からの信号によりバッファメモリ
(5)から読み出され、シンドローム生成回路(2)で
受信語に対応するシンドロームが計算される。このシン
ドロームからガロア体元演算回路(4)で誤り位置多項
式及び誤り数値多項式を求める。誤り位置多項式からチ
ェンサーチ回路(3)の多項式評価回路部(3a)でチェ
ンサーチを行い誤り位置を求める。そしてガロア体元発
生回路部(3b)で第3図(イ)に示すように多項式評価
回路部(3a)で求められた誤り位置kに対応するガロア
体の元α-(n-k-1)に変換する。再びガロア体元演算回路
(4)でガロア体の元α-(n-k-1)と誤り数値多項式から
誤り数値を計算し、誤りを訂正する。この訂正された符
号はバッファメモリ(5)に読み込まれ、制御回路
(1)からの信号によりホスト(図示せず)に出力され
る。Next, the operation will be described. First, a received word is stored in the buffer memory (5) from the modem (6). The received word is read from the buffer memory (5) by a signal from the control circuit (1), and the syndrome corresponding to the received word is calculated by the syndrome generation circuit (2). An error locator polynomial and an error numerical polynomial are obtained from the syndrome by a Galois field element arithmetic circuit (4). A polynomial evaluation circuit (3a) of the Chien search circuit (3) performs a Chien search from the error position polynomial to determine an error position. Then, the Galois field element generation circuit (3b) calculates the Galois field element α- (nk-1) corresponding to the error position k obtained by the polynomial evaluation circuit (3a) as shown in FIG. Convert. The Galois field element arithmetic circuit (4) calculates the error value again from the Galois field element α − (nk−1) and the error numerical polynomial, and corrects the error. The corrected code is read into the buffer memory (5) and output to a host (not shown) by a signal from the control circuit (1).
なおガロア体元発生回路(3b)ではガロア体元変換RO
Mによって変換がされる。第5図は特開昭62-115928号公
報に示されたガロア体元変換ROM内容の一例である。In the Galois field generation circuit (3b), the Galois field conversion RO
Converted by M. FIG. 5 shows an example of the contents of a Galois field conversion ROM disclosed in Japanese Patent Application Laid-Open No. 62-115928.
従来の誤り訂正復号器は以上のように構成されている
ので、可変長のリードソロモン符号に対し、誤り訂正処
理をおこなう際に、可変長の符号における誤り位置に対
応するガロア体元は符号長に依存するため、ガロア体上
の音に変換して、そのガロア体の元にもとづいて誤り訂
正をおこなうには符号長に応じて別々のガロア体変換RO
M等を用いなければならないので、装置が大型化になる
とともに、復号化処理がかかりすぎるという問題点があ
った。Since the conventional error correction decoder is configured as described above, when performing error correction processing on a variable length Reed-Solomon code, the Galois field corresponding to the error position in the variable length code has a code length. In order to convert to a sound on the Galois field and to perform error correction based on the element of the Galois field, separate Galois field conversion RO according to the code length
Since M or the like must be used, there is a problem that the device becomes large and decoding processing is excessively performed.
この発明は上記のような問題点を解決するためになさ
れたもので、小形化にでき且つ高速復号化処理可能な誤
り訂正復号器を得ることを目的とする。SUMMARY OF THE INVENTION The present invention has been made to solve the above problems, and has as its object to provide an error correction decoder that can be downsized and that can perform high-speed decoding.
この発明に係る誤り訂正復号器は、受信語からシンド
ロームを計算するシンドローム生成回路(2)と、この
シンドロームから求められた誤り位置多項式にもとづい
て、誤り位置を決める多項式評価回路(3a)と、受信語
の符号長nに対し(n−1)の値を記憶する記憶手段
(5)と、この記憶手段の出力から上記多項式評価回路
で求められた誤り位置を減算し、この減算出力iに対
し、対応するガロア体の元α(-i)に変換する減算回路
(7)と、上記シンドローム生成回路のシンドロームか
ら誤り位置多項式および誤り数値多項式を求めるととも
に、上記減算回路からのガロア体の元α(-i)と誤り数値
多項式とから誤り数値を求め誤り訂正を行うガロア体元
演算回路(4)とを備えたものである。An error correction decoder according to the present invention includes: a syndrome generation circuit (2) for calculating a syndrome from a received word; a polynomial evaluation circuit (3a) for determining an error position based on an error position polynomial obtained from the syndrome; Storage means (5) for storing the value of (n-1) for the code length n of the received word; and an error position obtained by the polynomial evaluation circuit is subtracted from the output of the storage means. On the other hand, a subtraction circuit (7 ) for converting into a corresponding Galois field element α (−i) , an error position polynomial and an error numerical polynomial are obtained from the syndrome of the syndrome generation circuit, and the element of the Galois field from the subtraction circuit is obtained. A Galois field element arithmetic circuit (4) for obtaining an error value from α (-i) and an error numerical value polynomial and performing error correction is provided.
この発明においては減算回路により、誤り位置とこれ
に対応するガロア体の元が整合されることから、可変長
のリードソロモン符号に対して誤り位置に対応するガロ
アの元に変換でき、このガロア体の元にもとづいて誤り
訂正を行うことができる。In the present invention, the error position and the element of the corresponding Galois field are matched by the subtraction circuit, so that the variable-length Reed-Solomon code can be converted into the element of the Galois corresponding to the error position. Error correction can be performed based on
以下、この発明の一実施例を図について説明する。第
1図において、(1)は制御回路、(2)はシンドロー
ム生成回路、(3a)は多項式評価回路、(4)はガロア
体元演算回路、(5)はバッファメモリ、(6)はモデ
ム、(8)はマイクロプログラムROM、(16)はバス
で、これらは第4図に示す従来装置と同様のものであ
る。(7)は減算回路でその詳細は第2図に示す。第2
図において、(9)は“符号長のとり得る値−1"の値、
例えば符号長のとり得る値がn1,n2…nmのときn1−1,
n2−1,…,nm−1のm個の値が記憶されているレジス
タ、(10)はマイクロプログラムROM(8)の指示によ
り制御回路(1)からの制御信号(15)によって受信語
の符号長に対応するレジスタ(9)のデータを例えばn
1−1をセレクトするセレクタ、(11)はセレクタ(109
のセレクトしたレジスタ(9)のデータから信号線(1
4)より入力したチェンサーチ回路(3a)で求めた誤り
位置のデータkを減算し、i=(n1−1)−kの計算
を行い出力する減算器、(12)はこの減算器の出力iに
対し、これに対応するガロア体の元α(-1)に変換し、出
力するガロア体元変換ROMである。An embodiment of the present invention will be described below with reference to the drawings. In FIG. 1, (1) is a control circuit, (2) is a syndrome generation circuit, (3a) is a polynomial evaluation circuit, (4) is a Galois field element arithmetic circuit, (5) is a buffer memory, and (6) is a modem. , (8) is a microprogram ROM, and (16) is a bus, which are the same as those in the conventional device shown in FIG. (7) is a subtraction circuit, the details of which are shown in FIG. Second
In the figure, (9) is a value of “a possible value of code length−1”,
For example, when possible values of code length of n 1, n 2 ... n m n 1 -1,
A register in which m values of n 2 -1,..., n m -1 are stored. (10) is received by a control signal (15) from the control circuit (1) according to an instruction of the microprogram ROM (8). The data of the register (9) corresponding to the code length of the word is, for example, n
Selector for selecting a 1 -1, (11) a selector (109
From the data of the selected register (9), the signal line (1
4) A subtractor which subtracts the data k at the error position obtained by the Chien search circuit (3a) inputted from 4), calculates i = (n 1 -1) -k, and outputs the result. This is a Galois field element conversion ROM that converts the output i into a corresponding Galois field element α (−1) and outputs the result.
以上のように構成された装置であって次のその動作に
ついて説明する。The operation of the device configured as described above will be described next.
まずモデム(6)に受信語が入力され復調されてバッ
ファメモリ(5)に記憶される。この受信語は制御回路
(1)からの信号によりバッファメモリ(5)から読み
出されてシンドローム生成回路(2)で受信語に対応す
るシンドロームが計算され、このシンドロームからガロ
ア体元演算回路(4)で誤り位置多項式及び誤り数値多
項式が求められる。誤り位置多項式から多項式評価回路
(3a)でチェンサーチを行い誤り位置kが求められ、信
号線(14)を介して減算回路(7)の減算器(11)に入
力される。一方マイクロプログラムROM(8)からの指
示により、制御回路(1)からの信号(15)でこの受信
語に対応する符号長nのデータn−1がレジスタ(9)
からセクレタ(10)によりセレクトされて減算器(11)
に入力される。減算器(11)ではレジスタ(9)のデー
タから誤り位置のデータkを減算し、i=(n−1)−
kの計算を行い出力する。この減算器(11)の出力iに
対し、ガロア体元変換ROM(12)で、これに対応するガ
ロア体の元α(-i)に変換し、出力する。すると再びガロ
ア体元演算回路(4)でガロア体の元α(-i)と誤り数値
多項式から誤り数値を計算し、誤りを訂正する。この訂
正された符号はバッファメモリ(5)に読み込まれ、制
御回路(1)からの信号によりホスト(図示せず)に出
力される。First, a received word is input to the modem (6), demodulated, and stored in the buffer memory (5). The received word is read out from the buffer memory (5) by a signal from the control circuit (1), and a syndrome corresponding to the received word is calculated by the syndrome generation circuit (2), and the Galois field element operation circuit (4) is calculated from the syndrome. The error locator polynomial and the error numerical polynomial are obtained in (). A polynomial evaluation circuit (3a) performs a Chien search from the error position polynomial to find an error position k, which is input to a subtracter (11) of a subtraction circuit (7) via a signal line (14). On the other hand, in accordance with an instruction from the microprogram ROM (8), data (n-1) of code length n corresponding to the received word is stored in the register (9) by the signal (15) from the control circuit (1).
Is selected by the secretor (10) from the subtractor (11)
Is input to The subtracter (11) subtracts the data k at the error position from the data in the register (9), and i = (n-1)-
Calculate and output k. The output i of the subtracter (11) is converted into a corresponding Galois field element α (−i) by a Galois field element conversion ROM (12) and output. Then, the error value is calculated again from the Galois field element α (−i) and the error numerical polynomial in the Galois field element arithmetic circuit (4), and the error is corrected. The corrected code is read into the buffer memory (5) and output to a host (not shown) by a signal from the control circuit (1).
符号長がnで誤り位置がkのとき、それに対応するガ
ロア体の元はα-(n-k-1)であるが、符号長がmに変わる
とそのガロア体の元の表わすアドレスの位置は第3図
(ロ)、(ハ)で示すように|m−n|個ずれる。When the code length is n and the error position is k, the element of the corresponding Galois field is α- (nk−1) , but when the code length changes to m, the position of the address represented by the element of the Galois field becomes the As shown in FIGS. 3 (b) and (c), | m−n |
なお上記実施例ではあらかじめレジスタ(9)に記憶
されている符号長のリードソロモン符号の復号について
説明したが減算回路を第6図のようにセレクタ(10)を
取り除き、レシスタ(9)の代りにマイクロプログラム
ROM(8)の指示により制御信号(15)によって書き換
えができるレジスタ(13)を使って構成しても同様な効
果が得られる。In the above embodiment, the decoding of the Reed-Solomon code having the code length previously stored in the register (9) has been described. However, as shown in FIG. 6, the selector (10) is removed from the subtractor and the resistor (9) is used instead of the resistor (9). Micro program
Similar effects can be obtained by using a register (13) that can be rewritten by a control signal (15) in accordance with an instruction from the ROM (8).
また、上記実施例では可変長のリードソロモン符号に
ついて説明したが、固定長のリードソロモン符号にも適
用することができることはいうまでもない。In the above embodiment, the variable length Reed-Solomon code has been described. However, it is needless to say that the present invention can be applied to a fixed length Reed-Solomon code.
以上のようにこの発明によれば可変長nのリードソロ
モン符号に対し、誤り訂正処理をおこなう際、記憶手段
で記憶された(n−1)の値と多項式評価回路で求めら
れた誤り位置(K)とを減算して、この減算出力(i=
n−1−K)に対し対応するガロア体の元α(-i)を求
め、求められたα(-i)と数値多項式とから誤り数値を求
め誤り訂正を行うようにしたのでそれぞれの符号長の誤
り位置に対応するガロア体の元が瞬時且つ簡単に得られ
る。As described above, according to the present invention, when performing error correction processing on a variable-length n Reed-Solomon code, the value of (n-1) stored in the storage means and the error position obtained by the polynomial evaluation circuit ( K) and subtraction output (i =
n−1−K), the element α (−i) of the corresponding Galois field is found, and an error value is found from the found α (−i) and the numerical polynomial, and error correction is performed. The element of the Galois field corresponding to the long error position can be obtained instantaneously and easily.
よって誤り訂正処理に使用するメモリの量が小さくな
り、安価にしかもコンパクトに構成でき、復号化時間の
短縮化がはかれる。Therefore, the amount of memory used for the error correction processing is reduced, the configuration can be made inexpensively and compactly, and the decoding time can be shortened.
第1図はこの発明の一実施例を示す誤り訂正復号器のブ
ロック図、第2図は減算回路を示すブロック図、第3図
はこの発明の原理を説明するためのリードソロモン符号
の位置とそれに対応するガロア体元の関係を示す図、第
4図は従来の誤り訂正復号器のブロック図、第5図は従
来のガロア体元変換ROMの内容の一例を示した図、第6
図は他の実施例の減算回路を示した図である。 図において(1)は制御回路、(2)はシンドローム生
成回路、(3)はチェンサーチ回路で、(3a)は多項式
評価回路部、(3b)はガロア体元発生回路部、(4)は
ガロア体元演算回路、(5)はバッファメモリ、(6)
はモデム、(7)は減算回路、(8)はマイクロプログ
ラムROM,(9)はレジスタ、(10)はセレクタ、(11)
は減算回路、(12)はガロア体元変換ROM、(13)は書
き換え可能なレジスタである。 なお、各図中同一符号は同一、又は相当部分を表わす。FIG. 1 is a block diagram of an error correction decoder showing an embodiment of the present invention, FIG. 2 is a block diagram showing a subtraction circuit, and FIG. 3 is a diagram showing positions and positions of Reed-Solomon codes for explaining the principle of the present invention. FIG. 4 is a block diagram of a conventional error correction decoder, FIG. 5 is a diagram showing an example of the contents of a conventional Galois field conversion ROM, and FIG.
The figure shows a subtraction circuit of another embodiment. In the figure, (1) is a control circuit, (2) is a syndrome generation circuit, (3) is a Chien search circuit, (3a) is a polynomial evaluation circuit section, (3b) is a Galois field element generation circuit section, and (4) is Galois field element arithmetic circuit, (5) buffer memory, (6)
Is a modem, (7) is a subtraction circuit, (8) is a microprogram ROM, (9) is a register, (10) is a selector, (11)
Is a subtraction circuit, (12) is a Galois field conversion ROM, and (13) is a rewritable register. In the drawings, the same reference numerals represent the same or corresponding parts.
Claims (1)
号の誤り訂正を行う誤り訂正復号器において、受信語か
らシンドロームを計算するシンドローム生成回路(2)
と、このシンドロームから求められた誤り位置多項式に
もとづいて、誤り位置を求める多項式評価回路(3a)
と、受信語の符号長nに対し(n−1)の値を記憶する
記憶手段(5)と、この記憶手段の出力から上記多項式
評価回路で求められた誤り位置を減算し、この減算出力
iに対し、対応するガロア体の元α(-i)に変換する減算
回路(7)と、上記シンドローム生成回路のシンドロー
ムから誤り位置多項式および誤り数値多項式を求めると
ともに、上記減算回路からのガロア体の元α(-i)と誤り
数値多項式とから誤り数値を求め誤り訂正を行うガロア
体元演算回路(4)とを備えたことを特徴とする誤り訂
正復号器。An error correction decoder for correcting an error of a Reed-Solomon code defined on a Galois field, a syndrome generation circuit for calculating a syndrome from a received word (2).
And a polynomial evaluation circuit (3a) for obtaining an error position based on the error position polynomial obtained from the syndrome
And a storage means (5) for storing a value of (n-1) for the code length n of the received word, and subtracting the error position obtained by the polynomial evaluation circuit from the output of the storage means. i, a subtraction circuit (7 ) for converting to a corresponding Galois field element α (−i) , an error locator polynomial and an error numerical polynomial are obtained from the syndrome of the syndrome generation circuit, and the Galois field from the subtraction circuit is obtained. An error correction decoder comprising: a Galois field element arithmetic circuit (4) for obtaining an error value from the element α (−i) and an error value polynomial and performing error correction.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP63284601A JP2722553B2 (en) | 1988-11-10 | 1988-11-10 | Error correction decoder |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP63284601A JP2722553B2 (en) | 1988-11-10 | 1988-11-10 | Error correction decoder |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH02131024A JPH02131024A (en) | 1990-05-18 |
| JP2722553B2 true JP2722553B2 (en) | 1998-03-04 |
Family
ID=17680569
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP63284601A Expired - Fee Related JP2722553B2 (en) | 1988-11-10 | 1988-11-10 | Error correction decoder |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP2722553B2 (en) |
Family Cites Families (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS62115928A (en) * | 1985-11-14 | 1987-05-27 | Mitsubishi Electric Corp | Decoder for correcting duplicated error |
| JPH077919B2 (en) * | 1986-02-27 | 1995-01-30 | 松下電器産業株式会社 | Binary information conversion circuit |
| JPS6379423A (en) * | 1986-06-18 | 1988-04-09 | Mitsubishi Electric Corp | Chain search circuit |
-
1988
- 1988-11-10 JP JP63284601A patent/JP2722553B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JPH02131024A (en) | 1990-05-18 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US5068857A (en) | Error correction circuit | |
| JP3176171B2 (en) | Error correction method and apparatus | |
| JPH0936755A (en) | Decoding device and method | |
| EP0836285B1 (en) | Reed-Solomon decoder with general-purpose processing unit and dedicated circuits | |
| JP2722553B2 (en) | Error correction decoder | |
| JPH07202718A (en) | Decoder and encoder for error correction code | |
| JP3245290B2 (en) | Decoding method and device | |
| EP0629052B1 (en) | Method of and circuit for correcting errors | |
| WO2003036798A2 (en) | Decoding method and decoder for reed solomon code | |
| JP2662472B2 (en) | Syndrome operation circuit for error correction processing | |
| JPH10322226A (en) | Reed-Solomon decoding method | |
| JP2907138B2 (en) | Error correction arithmetic processing method and processing circuit | |
| KR100425083B1 (en) | Error correction code circuit for different kinds of optical disks | |
| JPH10308675A (en) | Reed-Solomon decoding device | |
| KR890007345Y1 (en) | Reed-Solomon Encoder's Code Word Generation Circuit in Digital Audio | |
| JP3099890B2 (en) | Error correction device for BCH code | |
| KR100246342B1 (en) | Reed solomon error correction apparatus | |
| JPS63272226A (en) | Decoding method for reed solomon code | |
| KR930002796B1 (en) | Error correction system | |
| JPH1141113A (en) | Error correcting device | |
| JP2553571B2 (en) | Galois field arithmetic unit | |
| KR910009094B1 (en) | Galois field arithmetic unit | |
| KR880000486B1 (en) | The computing circuit of numerator of an error value in the decoder for error correction | |
| JPH04111538A (en) | Error correcting circuit | |
| JPH0214818B2 (en) |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| LAPS | Cancellation because of no payment of annual fees |