JPS6394720A - Decoding circuit for error correction code - Google Patents

Decoding circuit for error correction code

Info

Publication number
JPS6394720A
JPS6394720A JP61240685A JP24068586A JPS6394720A JP S6394720 A JPS6394720 A JP S6394720A JP 61240685 A JP61240685 A JP 61240685A JP 24068586 A JP24068586 A JP 24068586A JP S6394720 A JPS6394720 A JP S6394720A
Authority
JP
Japan
Prior art keywords
circuit
chain search
error
address
error correction
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP61240685A
Other languages
Japanese (ja)
Inventor
Yoshiaki Oda
小田 好明
Toru Inoue
徹 井上
Hideo Yoshida
英夫 吉田
Atsuhiro Yamagishi
山岸 篤弘
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP61240685A priority Critical patent/JPS6394720A/en
Priority to US07/063,178 priority patent/US4841300A/en
Priority to CA000540041A priority patent/CA1291819C/en
Priority to DE3750526T priority patent/DE3750526T2/en
Priority to EP87108796A priority patent/EP0249982B1/en
Publication of JPS6394720A publication Critical patent/JPS6394720A/en
Pending legal-status Critical Current

Links

Landscapes

  • Detection And Correction Of Errors (AREA)
  • Techniques For Improving Reliability Of Storages (AREA)
  • Error Detection And Correction (AREA)

Abstract

PURPOSE:To constitute simply a decoding circuit for a long code word by operating a chain search circuit section and an address generating circuit synchronously so as to constitute the decoding circuit using a conventional memory in place of a multi-stage shift register. CONSTITUTION:The chain search circuit 26 inputs an error location polynomial from a definite field arithmetic circuit 23, its chain search circuit section 18 starts chain search and returns an address corresponding to roots of the error location polynomial to the definite field arithmetic circuit 23. Its address output is outputted from an address genetating circuit 19 decremented synchronously with the chain search circuit 18 in the chain search circuit 28. Thus, the definite field arithmetic circuit 23 calculates the error from the result of chain search to correct the content represented at an error location address in a delay memory 24 received precedingly from the chain search circuit 26.

Description

【発明の詳細な説明】 [産業上の利用分野] この発明は、誤り訂正符号の復号化回路に関するもので
ある。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a decoding circuit for error correction codes.

[従来の技術] さて、一般には、計算機による種々の処理を実行するに
当り、符号語中の多数のバイトの誤りを訂正するシステ
ムが必要であり、種々のものが提案されている。
[Prior Art] In general, when a computer performs various processes, a system for correcting errors in a large number of bytes in a code word is required, and various systems have been proposed.

そして、かかる誤り訂正システムにおいて複数のバイト
エラーの復号化方法は一般に次のようにして行なわれる
。まずエラーシンドロームを計算し、ついでこのエラー
シンドロームより誤り位置多項式の係数を決定してから
、チエンサーチ(Chien  5earch)により
誤り位置多項式から誤り位置を特定し、各誤り位置に対
してバイトエラー値を決定するのである。
In such an error correction system, a method for decoding a plurality of byte errors is generally performed as follows. First, calculate the error syndrome, then determine the coefficients of the error location polynomial from this error syndrome, identify the error location from the error location polynomial using Chien search, and calculate the byte error value for each error location. It is decided.

ところで、第4図は従来の特開昭59−123945号
公報に示すものと類似のチエンサーチ回路を示すブロッ
ク図で、この回路はBCH符号(B o s e−C:
haudhuri−Hocquenghem−Code
s)などで用いられる回路である。この第4図において
、1はnビットのレジスタ、2は加算回路、3〜7はそ
れぞれガロア域GF(271)(nは自然数)−Lの符
号語についての定数乗算回路、8は誤り位置多項式の和
がゼロであることを知らせる出力端子である。
By the way, FIG. 4 is a block diagram showing a chain search circuit similar to that shown in the conventional Japanese Patent Laid-Open No. 59-123945.
haudhuri-Hocquenghem-Code
This is a circuit used in applications such as s). In this Figure 4, 1 is an n-bit register, 2 is an adder circuit, 3 to 7 are constant multiplication circuits for the Galois field GF(271) (n is a natural number)-L code word, and 8 is an error locator polynomial. This is an output terminal that indicates that the sum of is zero.

また、第3図は従来のBCH符号の復号化回路の一例を
示す回路図である。この第3図において9は受信符号語
を遅延するための多段シフトレジスタ、lOは加算回路
、11はシンドローム計算回路、12は誤り位置多項式
導出回路、13はチエンサーチ回路、14は同期回路、
15はシーケンス制御回路、16は受信符号語の入力端
子、17は訂正した情報の出力端子である。
Further, FIG. 3 is a circuit diagram showing an example of a conventional BCH code decoding circuit. In FIG. 3, 9 is a multi-stage shift register for delaying the received code word, 1O is an adder circuit, 11 is a syndrome calculation circuit, 12 is an error locator polynomial derivation circuit, 13 is a chain search circuit, 14 is a synchronization circuit,
15 is a sequence control circuit, 16 is an input terminal for a received code word, and 17 is an output terminal for corrected information.

第4図に示すチエンサーチ回路を用いた第3図の2元B
CH符号の復号化回路の動作を説明する。
Binary B in Figure 3 using the chain search circuit shown in Figure 4
The operation of the CH code decoding circuit will be explained.

まず入力端子16より受信符号語が入力されて、同期回
路14へ入力されると、この同期回路14が受信符号語
の先頭を検出する。そしてこの検出結果に基づきシーケ
ンス制御回路15が動作する。
First, when a received code word is input from the input terminal 16 and input to the synchronization circuit 14, the synchronization circuit 14 detects the beginning of the received code word. Then, the sequence control circuit 15 operates based on this detection result.

一方、受信符号語は同期回路14と同時にシンドローム
計算回路11.多段シフトレジスタ9にも入力される。
On the other hand, the received code word is simultaneously transmitted to the synchronization circuit 14 and the syndrome calculation circuit 11. It is also input to the multistage shift register 9.

その後このシンドローム計算回路11で計算されたシン
ドロームは誤り位置多項式導出回路12に入力され誤り
位置多項式が導出される。
Thereafter, the syndrome calculated by the syndrome calculation circuit 11 is input to the error locator polynomial deriving circuit 12, and an error locator polynomial is derived.

この誤り位置多項式導出回路12からの誤り位置多項式
はチエンサーチ回路13に入力され、チエンサーチを実
行する。ここで、第4図に示すチエンサーチ回路13で
は、誤り多項式をσ(X)=σ0+σ□8+σ2x2+
・・・・+C1t−0xt〜1とすれば、はじめにこの
誤り位置多項式の各項の計数をnビットのレジスタ1に
それぞれセットしてから、各レジスタ1にクロックを入
力してゆくことが行なわれる。その後クロックがいくつ
か入力されると、出力端子8の出力がゼロになるが、こ
の時のクロック入力数をiとすると、α2がσ(x)の
根となるようになっている。かかる処理をチエンサーチ
という。これと同時に多段シフトレジスタ9の出力側に
受信符号語が先頭から順次出力される。この出力はチエ
ンサーチ回路13でのチエンサーチの実行と同期してお
り、このチエンサーチにより誤り位置多項式σ(x)の
根であることが検出された時、多段シフトレジスタ9の
出力を加算回路10により訂正するのである。
The error locator polynomial from the error locator polynomial deriving circuit 12 is input to a chain search circuit 13 to execute a chain search. Here, in the chain search circuit 13 shown in FIG. 4, the error polynomial is σ(X)=σ0+σ□8+σ2x2+
...+C1t-0xt~1, first the count of each term of this error locator polynomial is set in n-bit register 1, and then the clock is input to each register 1. . After that, when several clocks are input, the output of the output terminal 8 becomes zero, but if the number of clock inputs at this time is i, α2 becomes the root of σ(x). This process is called chain search. At the same time, the received code words are sequentially output to the output side of the multi-stage shift register 9 from the beginning. This output is synchronized with the execution of the chain search in the chain search circuit 13, and when the root of the error locator polynomial σ(x) is detected by the chain search, the output of the multistage shift register 9 is added to the adder circuit. 10.

[発明が解決しようとする問題点コ 従来の誤り訂正符号の復号化回路は以上のように構成さ
れているので、距離の長い符号語では誤り位置多項式導
出回路の構成が複雑となるため、多段シフトレジスタの
段数が大きなものとなるという問題点があった。
[Problems to be Solved by the Invention] Conventional error correction code decoding circuits are configured as described above. There was a problem that the number of stages of the shift register was large.

この発明は上記のような問題点を解消するためになされ
たもので、従来必要としていた多段シフトレジスタを用
いなくても復号化を可能にした誤り訂正符号の復号化回
路を得ることを目的とする。
This invention was made to solve the above-mentioned problems, and its purpose is to provide an error correction code decoding circuit that enables decoding without using the conventionally required multi-stage shift register. do.

[問題点を解決するための手段] この発明に係る誤り訂正符号の復号化回路は、多段シフ
トレジスタの代わりに、受信符号語を記憶する遅延用メ
モリを設けて語り位置を計算できるようにするとともに
、チエンサーチ回路部と同期して動作するアドレス発生
回路を設けて遅延用メモリ内の誤り位置アドレスを算出
することができるようにしたものである。
[Means for Solving the Problems] The error correction code decoding circuit according to the present invention provides a delay memory for storing received code words in place of the multi-stage shift register so as to be able to calculate the speaking position. In addition, an address generation circuit operating in synchronization with the chain search circuit section is provided to enable calculation of an error position address in the delay memory.

[作 用] この発明における誤り訂正符号の復号化回路では、遅延
用メモリによって受信符号語が記憶されるとともに、ア
ドレス発生回路がチエンサーチ回路部と同期して動作す
ることにより遅延用メモリ内の誤り位置アドレスを算出
する。
[Function] In the error correction code decoding circuit of the present invention, the received code word is stored in the delay memory, and the address generation circuit operates in synchronization with the chain search circuit section, thereby decoding the data in the delay memory. Calculate the error location address.

[発明の実施例] 以下、この発明の一実施例を図について説明する。さて
、ガロア域G F (27+)における符号語のエラー
を訂正するリードソロモン符号には、生成多項式の根に
対応する複数のチェックポイントがあるが、本実施例の
場合も、第3,4図に示したものと同様、このリードソ
ロモン符号において誤り位置多項式の根を求めるチエン
サーチ回路をもった誤り訂正符号の復号化回路について
のものである。
[Embodiment of the Invention] Hereinafter, an embodiment of the present invention will be described with reference to the drawings. Now, the Reed-Solomon code that corrects codeword errors in the Galois domain G F (27+) has multiple checkpoints corresponding to the roots of the generator polynomial. This is a decoding circuit for an error correction code having a chain search circuit for finding the root of an error locator polynomial in this Reed-Solomon code, similar to the one shown in FIG.

第1図において、23は誤り位置多項式や誤り数値多項
式を導出するといったような有限体の演算が可能な有限
体演算回路、24は符号語の復号化を行なうために受信
符号語を記憶する遅延用メモリ、25はシンドローム計
算回路であり、26はチエンサーチ回路である。このチ
エンサーチ回路26は第2図に示すごと〈従来のチエン
サーチ回路13と同じ機能を発揮するチエンサーチ回路
部18のほか、このチエンサーチ回路部18と同期して
動作するアドレス発生回路19をそなえている。そして
このアドレス発生回路19は減算計数動作として構成さ
れている。なお、この第2図において、20はクロック
入力端子、21はアドレス発生回路19の出力端子、2
2は出力端子21の出力が誤り位置多項式の根を検出し
たことを示す出力端子である。
In FIG. 1, 23 is a finite field calculation circuit capable of performing finite field calculations such as deriving error locator polynomials and error value polynomials, and 24 is a delay unit that stores received code words in order to decode the code words. 25 is a syndrome calculation circuit, and 26 is a chain search circuit. This chain search circuit 26, as shown in FIG. Prepared. This address generation circuit 19 is configured for subtraction counting operation. In FIG. 2, 20 is a clock input terminal, 21 is an output terminal of the address generation circuit 19, and 2 is a clock input terminal.
2 is an output terminal indicating that the output of the output terminal 21 has detected the root of the error locator polynomial.

また、有限体演算回路23.遅延用メモリ24およびチ
エンサーチ回路26は第1図に示すごとくそれぞれデー
タバス27とコントロールバス28とで接続さている。
In addition, the finite field calculation circuit 23. The delay memory 24 and the chain search circuit 26 are connected by a data bus 27 and a control bus 28, respectively, as shown in FIG.

さらにメモリ24の片側のポートは、外部データバス2
9と接続されており、受信符号語の入力とその訂正後の
出力を行なうようになっている。
Furthermore, one port of the memory 24 is connected to an external data bus 2.
9, and inputs the received code word and outputs the corrected code word.

次にこの回路の動作について説明する。受信符号後は外
部データバス29より遅延用メモリ24に入力される。
Next, the operation of this circuit will be explained. After the received code is inputted to the delay memory 24 from the external data bus 29.

その後このメモリ24に入力された受信符号語はシンド
ローム計算回路25でシンドロームを計算される。また
有限体演算回路23ではそのシンドロームから誤り位置
多項式と誤り数値多項式とが導出される。そしてチエン
サーチ回路26は、誤り位置多項式を有限体演算回路2
3から入力し、そのチエンサーチ回路部]8でチエンサ
ーチを始め、誤り位置多項式の根に対応したアドレスを
有限体演算回路23に戻す。このアドレス出力は、チエ
ンサーチ回路26においてチエンサーチ回路部18と同
期し減算計数動作するアドレス発生回路19から出力さ
れる。これにより有限体演算回路23はチエンサーチの
結果から誤り数値を算出し、先にチエンサーチ回路26
から受けとった遅延用メモリ24内の誤り位置アドレス
で示される内容を訂正する。この際のデータやコントロ
ール信号の授受はデータバス27およびコントロールバ
ス28を通じ行なわれている。その後はメモリ24を通
じ外部データバス29へ訂正後の出力を出す。
Thereafter, the syndrome of the received code word input to the memory 24 is calculated by a syndrome calculation circuit 25. Furthermore, the finite field arithmetic circuit 23 derives an error locator polynomial and an error numeric polynomial from the syndrome. The chain search circuit 26 converts the error locator polynomial into the finite field arithmetic circuit 2.
3, the chain search circuit section starts the chain search at 8, and returns the address corresponding to the root of the error locator polynomial to the finite field arithmetic circuit 23. This address output is outputted from the address generation circuit 19 which performs a subtractive counting operation in synchronization with the chain search circuit section 18 in the chain search circuit 26. As a result, the finite field calculation circuit 23 calculates the error value from the result of the chain search, and first the chain search circuit 26 calculates the error value from the result of the chain search.
The contents indicated by the error position address in the delay memory 24 received from the CPU are corrected. At this time, data and control signals are exchanged through a data bus 27 and a control bus 28. Thereafter, the corrected output is sent to the external data bus 29 through the memory 24.

このように、チエンサーチ回路部18と同期して動作す
るアドレス発生回路19によってメモリ24内の誤り位
置アドレスが算出され、有限体演算回路23や受信符号
語を記憶している遅延用メモリ24を介し、誤り訂正符
号を復号化して出力することができるので、従来のよう
に多段のシフトレジスタが不要となる。
In this way, the address generation circuit 19 operating in synchronization with the chain search circuit section 18 calculates the error position address in the memory 24, and the finite field arithmetic circuit 23 and the delay memory 24 storing the received code word are used. Since the error correction code can be decoded and outputted through the encoder, a multi-stage shift register as in the conventional case is not required.

なお、上記実施例は、誤り数値の計算を必要とする非2
元符号語の復号化の場合であるが、誤り数値の計算を必
要としない2元符号語の復号化にも適用可能で、この場
合はチエンサーチ回路26のアドレス出力により、遅延
用メモリ24の内容を反転するだけでよい。
It should be noted that the above embodiment is applicable to non-binary cases that require calculation of error values.
This is the case of decoding an original code word, but it can also be applied to decoding a binary code word that does not require the calculation of error values. In this case, the address output of the chain search circuit 26 is used to Just reverse the contents.

[発明の効果コ 以上のようにこの発明によれば、チエンサーチ回路部と
アドレス発生回路とを同期して動作させることにより、
多段のシフトレジスタの代わりに、汎用メモリを用いて
復号化回路を構成できるので、従来困難とされていた距
離の長い符号語の復号化回路が符号長分のメモリを用意
するだけで、比較的簡単に構成できる効果がある。
[Effects of the Invention] As described above, according to the present invention, by operating the chain search circuit section and the address generation circuit in synchronization,
Instead of multi-stage shift registers, the decoding circuit can be configured using general-purpose memory, so decoding circuits for long-distance codewords, which was previously considered difficult, can be constructed by simply preparing memory for the code length, making it relatively easy. It has an effect that can be easily configured.

【図面の簡単な説明】[Brief explanation of the drawing]

第1,2図はこの本発明の一実施例による誤り訂正符号
の復号化回路を示すもので、第1図はその全体構成を示
すブロック図、第2図はそのチエンサーチ回路を示すブ
ロック図であり、第3.4図は従来の誤り訂正符号の復
号化回路を示すもので、第3図はその全体構成を示すブ
ロック図、第4図はそのチエンサーチ回路を示すブロッ
ク図である。 図において、18−チエンサーチ回路部、19−アドレ
ス発生回路、20−クロック入力端子、21−アドレス
発生回路出力端子、22−、チェノサーチ回路部出力端
子、23−有限体演算回路、24−遅延用メモリ、25
−シンドローム計算回路、26・−・チエンサーチ回路
、27−データバス、28−コントロールバス、29−
外部データバス。 なお、図中、同一符号は同一、又は相当部分を示す。
1 and 2 show a decoding circuit for an error correction code according to an embodiment of the present invention. FIG. 1 is a block diagram showing its overall configuration, and FIG. 2 is a block diagram showing its chain search circuit. FIG. 3.4 shows a conventional error correction code decoding circuit, FIG. 3 is a block diagram showing its overall configuration, and FIG. 4 is a block diagram showing its chain search circuit. In the figure, 18-Chien search circuit, 19-Address generation circuit, 20-Clock input terminal, 21-Address generation circuit output terminal, 22-Chien search circuit output terminal, 23-Finite field arithmetic circuit, 24-Delay memory, 25
- syndrome calculation circuit, 26 - chain search circuit, 27 - data bus, 28 - control bus, 29 -
External data bus. In addition, in the figures, the same reference numerals indicate the same or equivalent parts.

Claims (2)

【特許請求の範囲】[Claims] (1)ガロア域GF(2^n)上の符号語についての誤
り位置多項式の根を求めるチエンサーチ回路部をそなえ
た誤り訂正符号の復号化回路において、同チエンサーチ
回路部と同期して動作するアドレス発生回路が設けられ
るとともに、受信符号語を記憶する遅延用メモリが設け
られたことを特徴とする、誤り訂正符号の復号化回路。
(1) In an error correction code decoding circuit equipped with a chain search circuit unit that finds the root of an error locator polynomial for a code word on a Galois domain GF (2^n), it operates in synchronization with the chain search circuit unit. What is claimed is: 1. A decoding circuit for an error correction code, comprising: an address generation circuit for generating a received code word; and a delay memory for storing a received code word.
(2)上記アドレス発生回路が減算形の計数回路として
構成されたことを特徴とする特許請求の範囲第1項記載
の誤り訂正符号の復号化回路。
(2) The error correction code decoding circuit according to claim 1, wherein the address generation circuit is configured as a subtractive counting circuit.
JP61240685A 1986-06-18 1986-10-08 Decoding circuit for error correction code Pending JPS6394720A (en)

Priority Applications (5)

Application Number Priority Date Filing Date Title
JP61240685A JPS6394720A (en) 1986-10-08 1986-10-08 Decoding circuit for error correction code
US07/063,178 US4841300A (en) 1986-06-18 1987-06-17 Error correction encoder/decoder
CA000540041A CA1291819C (en) 1986-06-18 1987-06-18 Decoder
DE3750526T DE3750526T2 (en) 1986-06-18 1987-06-19 Decoder.
EP87108796A EP0249982B1 (en) 1986-06-18 1987-06-19 Decoder

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61240685A JPS6394720A (en) 1986-10-08 1986-10-08 Decoding circuit for error correction code

Publications (1)

Publication Number Publication Date
JPS6394720A true JPS6394720A (en) 1988-04-25

Family

ID=17063181

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61240685A Pending JPS6394720A (en) 1986-06-18 1986-10-08 Decoding circuit for error correction code

Country Status (1)

Country Link
JP (1) JPS6394720A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01315834A (en) * 1988-06-16 1989-12-20 Mitsubishi Electric Corp Decoding circuit for error correcting code

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01315834A (en) * 1988-06-16 1989-12-20 Mitsubishi Electric Corp Decoding circuit for error correcting code

Similar Documents

Publication Publication Date Title
WO2000057561A1 (en) Pipelined high speed reed-solomon error/erasure decoder
US4841300A (en) Error correction encoder/decoder
US4751704A (en) Method and apparatus for decoding BCH code
JPS63236416A (en) Encoding/decoding method
KR19990016134A (en) High Speed Serial Error Position Polynomial Computation Circuit
JP3245290B2 (en) Decoding method and device
JP2001274694A (en) Decoding device and its method
US3781791A (en) Method and apparatus for decoding bch codes
US5341385A (en) Method and apparatus for decoding Reed-Solomon code
KR100281946B1 (en) Syndrome calculation device
JPS6394720A (en) Decoding circuit for error correction code
JP3351413B2 (en) Parallel processing Reed-Solomon encoding circuit and parallel processing Reed-Solomon encoding method used therefor
JP2000244332A (en) Data error correction device
JPH01315834A (en) Decoding circuit for error correcting code
JP3398560B2 (en) Shortened error correction decoding device
JPH0750595A (en) Decoding device
JP2600683B2 (en) Decoding method of Reed-Solomon code
KR100335482B1 (en) Error correcting system
JP2600681B2 (en) Decoding method of Reed-Solomon code
JP2575506B2 (en) Chain search circuit
JP2944813B2 (en) Error correction code decoding device
JP2752510B2 (en) Error correction decoder
JP3512690B2 (en) Code synchronization circuit
JP2599001B2 (en) Error correction processing circuit
JPS638984Y2 (en)