JPH0214818B2 - - Google Patents

Info

Publication number
JPH0214818B2
JPH0214818B2 JP60209268A JP20926885A JPH0214818B2 JP H0214818 B2 JPH0214818 B2 JP H0214818B2 JP 60209268 A JP60209268 A JP 60209268A JP 20926885 A JP20926885 A JP 20926885A JP H0214818 B2 JPH0214818 B2 JP H0214818B2
Authority
JP
Japan
Prior art keywords
error
information
calculation circuit
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.)
Expired - Lifetime
Application number
JP60209268A
Other languages
Japanese (ja)
Other versions
JPS6269728A (en
Inventor
Motoyoshi Nagai
Masahiro Sasaki
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.)
Panasonic System Solutions Japan Co Ltd
Original Assignee
Matsushita Graphic Communication Systems Inc
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 Matsushita Graphic Communication Systems Inc filed Critical Matsushita Graphic Communication Systems Inc
Priority to JP60209268A priority Critical patent/JPS6269728A/en
Publication of JPS6269728A publication Critical patent/JPS6269728A/en
Publication of JPH0214818B2 publication Critical patent/JPH0214818B2/ja
Granted legal-status Critical Current

Links

Landscapes

  • Detection And Correction Of Errors (AREA)
  • Error Detection And Correction (AREA)

Description

【発明の詳細な説明】 産業上の利用分野 本発明は、情報記憶装置等の誤り訂正回路に関
する。
DETAILED DESCRIPTION OF THE INVENTION Field of Industrial Application The present invention relates to an error correction circuit for an information storage device or the like.

従来の技術 従来この種の装置は、第2図に示すように、入
力された符号化コード1からシンドロームを算出
するシンドローム計算回路2と、このシンドロー
ム情報から誤りの位置を算出する誤り位置計算回
路3とシンドローム情報と誤り位置情報とから誤
りの大きさを算出する誤り大きさ計算回路4とを
有し、符号化コード1と誤り位置情報と誤り大き
さ情報とを入力した訂正回路5が対応する所定の
情報コードを出力することにより所謂誤り訂正が
行われていた。この際、誤り位置計算回路3及び
誤り大きさ計算回路4では乗算、除算によりそれ
ぞれ誤り位置と誤り大きさが算出されるが、ここ
で必要となる乗算と除算を行なうために、セレク
タ6によつて切り換えられた情報をベキ情報に変
換するコード変換ROM7と、ベキの加算によつ
て乗算を実現する加算回路8と、ベキの減算によ
つて除算を実現する減算回路9と、加算回路8と
減算回路9との出力の切換を行うセレクタ10と
が設けられている。
Conventional technology As shown in FIG. 2, this type of device conventionally includes a syndrome calculation circuit 2 that calculates a syndrome from an input encoded code 1, and an error position calculation circuit that calculates the position of an error from this syndrome information. 3 and an error size calculation circuit 4 that calculates the size of an error from the syndrome information and error position information, and a correction circuit 5 that receives the encoded code 1, error position information, and error size information corresponds to the correction circuit 5. So-called error correction was performed by outputting a predetermined information code. At this time, the error position calculation circuit 3 and error magnitude calculation circuit 4 calculate the error position and error magnitude by multiplication and division, respectively. a code conversion ROM 7 that converts information switched to power information; an adder circuit 8 that implements multiplication by adding powers; a subtracter circuit 9 that implements division by subtracting powers; and an adder circuit 8. A selector 10 is provided for switching the output between the subtraction circuit 9 and the subtraction circuit 9 .

発明が解決しようとする問題点 しかし、かかる構成によれば、符号化コードの
構成ビツト数が大きくなるにしたがつて乗算、除
算を行なうための加算回路と減算回路の回路規模
が膨大となり、また乗算、除算を行なうために毎
回コード変換ROMをアクセスするため処理速度
が遅くなるという問題があつた。
Problems to be Solved by the Invention However, with such a configuration, as the number of constituent bits of the encoded code increases, the circuit scale of the addition circuit and subtraction circuit for performing multiplication and division becomes enormous. The problem was that the code conversion ROM was accessed each time to perform multiplication and division, resulting in slow processing speed.

上述問題は以下の理由で生ずる。すなわち、第
1に復号化処理に必要となる乗算、除算処理をベ
キの加算、減算処理によつて実現していること、
第2のベキの演算を行なうためにコード変換
ROMを毎回アクセスしベキ情報を導き出してい
ることである。
The above problem arises for the following reasons. That is, first, multiplication and division processing necessary for decoding processing is realized by addition and subtraction processing of powers;
Code conversion to perform second power operation
The ROM is accessed every time to derive power information.

本発明は、上述の問題点に鑑みて為されたもの
で、復号化処理に必要な乗算、除算回路の回路規
模が膨大になることなく、高速な復号化処理を行
なうことができる誤り訂正回路を提供することを
目的とする。
The present invention has been made in view of the above problems, and provides an error correction circuit that can perform high-speed decoding processing without increasing the circuit scale of the multiplication and division circuits required for decoding processing. The purpose is to provide

問題点を解決するための手段 本発明は上述の問題点を解決するため、演算回
路に第1の選択手段および第2の選択手段を備え
て乗算処理はリード・ソロモン符号専用の乗算器
で行ない、除算処理は逆元ROMによつて逆元を
導き出しその逆元を上記の乗算器に入力し、逆元
の乗算という形で実現することによつて、共通の
乗算器で誤り位置計算路および誤り大きさ計算回
路で実行される乗算処理と除算処理を実行すると
いう構成を備えたものである。
Means for Solving the Problems In order to solve the above-mentioned problems, the present invention provides an arithmetic circuit with a first selection means and a second selection means, and multiplication processing is performed by a multiplier dedicated to Reed-Solomon codes. , the division process is realized by deriving the inverse element using the inverse element ROM, inputting the inverse element to the multiplier mentioned above, and multiplying the inverse element, so that the error position calculation path and It has a configuration in which multiplication processing and division processing are executed by an error magnitude calculation circuit.

作 用 本発明は上述の構成によつて、復号化処理に必
要となる乗算、除算処理を従来のベキの加算、減
算では行なわないため、加算回路、減算回路によ
る回路規模の増大を大幅に削減することが可能と
なり、また、従来乗算、除算処理のたびに毎回コ
ードROMをアクセスしていたのに対し、本発明
では除算処理の時のみ逆元ROMをアクセスし、
しかも除算処理は乗算処理に比較して頻度が非常
に少ないということからも、復号化処理速度を大
幅にアツプすることが可能となる。
Effects With the above-described configuration, the present invention does not perform multiplication and division processing necessary for decoding processing using conventional addition and subtraction of powers, thereby significantly reducing the increase in circuit scale due to addition circuits and subtraction circuits. In addition, whereas in the past, the code ROM was accessed every time a multiplication or division process was performed, in the present invention, the inverse element ROM is accessed only during a division process.
Furthermore, since the frequency of division processing is much lower than that of multiplication processing, it is possible to significantly increase the decoding processing speed.

実施例 第1図は本発明の一実施例による復号化処理回
路の概略構成を示すものであつて、12は符号化
コード1からシンドロームを計算するシンドロー
ム計算回路、13はシンドロームからの誤りの位
置を計算する誤り位置計算回路、14はシンドロ
ームと誤り位置情報とから誤りの大きさを計算す
る誤り大きさ計算回路、15は符号化コード1と
誤り位置情報と誤り大きさ情報とから対応する情
報コードを出力して誤りを訂正する回路、16は
誤り位置計算回路13と誤り大きさ計算回路14
のとちらが乗算器17を使用するのかを切り換え
るセレクタ、18は除算処理の際に逆元を出力す
るROM、19は乗算処理と除算処理によつて乗
算器の入力を切り換えるセレクタである。
Embodiment FIG. 1 shows a schematic configuration of a decoding processing circuit according to an embodiment of the present invention, in which 12 is a syndrome calculation circuit that calculates a syndrome from encoded code 1, and 13 is a syndrome calculation circuit that calculates the error position from the syndrome. 14 is an error size calculation circuit that calculates the size of the error from the syndrome and the error position information; 15 is the corresponding information from the encoded code 1, the error position information, and the error size information. A circuit that outputs a code and corrects an error; 16 is an error position calculation circuit 13 and an error magnitude calculation circuit 14;
18 is a ROM that outputs the inverse element during division processing, and 19 is a selector that switches the input of the multiplier according to multiplication processing and division processing.

以上のように構成された誤り訂正回路につい
て、以下その動作を説明する。情報記憶装置等に
よつて誤りの生じた符号化コード1が入力される
と、シンドローム計算回路12によつて、生じた
誤りに依存したシンドローム情報が算出され、こ
のシンドローム情報を基にして以下の復号化処理
が行なわれることになる。次に、算出されたシン
ドローム情報のみから誤り位置計算回路13によ
つて誤つている位置を表わす情報が算出され、誤
り大きさ計算回路14へ入力される。この誤り大
きさ計算回路14ではシンドローム情報と誤り位
置情報とから誤りの大きさを表わす情報が算出さ
れる。この誤り位置計算回路13及び誤り大きさ
計算回路14で行なわれる演算処理には、ガロア
体上(GF(2n)上)の元の加算処理、乗算処理、
除算処理が必要となるが、加算処理については非
常に容易な回路で実現されるために誤り位置計算
回路13と誤り大きさ計算回路14の双方に加算
回路を内蔵している。乗算処理及び除算処理を行
なうために、セレクタ16,19、逆元ROM1
8、乗算器17が必要となる。乗算処理の場合
は、誤り位置計算回路13及び誤り大きさ計算回
路14から出力された情報はセレクタ16、セレ
クタ19を通過してそのまま乗算器13に入力さ
れ乗算処理が行なわれ、その結果が誤り位置計算
回路13及び誤り大きさ計算回路14にもどされ
てくる。除算処理の場合は逆元の乗算という形で
実現され、誤り位置計算回路13及び誤り大きさ
計算回路14から出力された情報はセレクタ16
を通過したのち逆元ROM18に入力され、、そ
の出力が乗算器17に入力されることによつて除
算処理が行なわれる。誤り大きさ計算回路14の
処理は誤り位置計算回路13の処理が終了してか
ら行なわれるものなので、セレクタ16,19、
逆元ROM18、乗算器17を誤り位置計算回路
13と誤り大きさ計算回路14とが同時に使用す
るという状態は起らない。以上の処理によつて誤
り位置情報と誤り大きさ情報が算出され訂正回路
15に入力されると、符号化コード1の誤りは誤
り位置情報と誤り大きさ情報を基にして訂正され
情報コードとして出力される。
The operation of the error correction circuit configured as described above will be explained below. When encoded code 1 in which an error has occurred is inputted by an information storage device or the like, syndrome information depending on the error that has occurred is calculated by the syndrome calculation circuit 12, and based on this syndrome information, the following is performed. Decryption processing will be performed. Next, information representing the erroneous position is calculated by the error position calculation circuit 13 from only the calculated syndrome information, and is input to the error magnitude calculation circuit 14. The error magnitude calculation circuit 14 calculates information representing the magnitude of the error from the syndrome information and the error position information. The arithmetic processing performed by the error position calculation circuit 13 and error magnitude calculation circuit 14 includes addition processing, multiplication processing,
Although division processing is required, addition processing can be realized with a very simple circuit, so both the error position calculation circuit 13 and the error magnitude calculation circuit 14 have built-in addition circuits. In order to perform multiplication processing and division processing, selectors 16 and 19, inverse element ROM 1
8. Multiplier 17 is required. In the case of multiplication processing, the information output from the error position calculation circuit 13 and the error magnitude calculation circuit 14 passes through the selector 16 and the selector 19, and is input as is to the multiplier 13, where multiplication processing is performed, and the result is an error. It is returned to the position calculation circuit 13 and error magnitude calculation circuit 14. In the case of division processing, it is realized in the form of multiplication of inverse elements, and the information output from the error position calculation circuit 13 and the error magnitude calculation circuit 14 is sent to the selector 16.
After passing through, the signal is input to the inverse element ROM 18, and the output thereof is input to the multiplier 17 to perform division processing. Since the processing of the error magnitude calculation circuit 14 is performed after the processing of the error position calculation circuit 13 is completed, the selectors 16, 19,
A situation in which the inverse ROM 18 and the multiplier 17 are used by the error position calculation circuit 13 and the error magnitude calculation circuit 14 at the same time does not occur. When the error position information and error size information are calculated through the above processing and input to the correction circuit 15, the error in encoded code 1 is corrected based on the error position information and error size information, and is converted into an information code. Output.

発明の効果 以上の説明から明らかなように、本発明は、リ
ード・ソロモン符号の復号化処理に必要となる乗
算処理と除算処理を専用乗算器と逆元ROMを用
いて行なうことによつて、乗算処理と除算処理と
を共通の乗算器で実行することができ、従来のベ
キの加算、減算を行なわないため、またコード変
換ROMをアクセスする必要がないため、回路規
模の増大を大幅に削減するとともに、復号化処理
スピードを大幅に上げることができるという効果
を有するものである。
Effects of the Invention As is clear from the above description, the present invention uses a dedicated multiplier and an inverse ROM to perform the multiplication and division processing necessary for decoding Reed-Solomon codes. Multiplication processing and division processing can be executed by a common multiplier, and because conventional addition and subtraction of powers is not performed, and there is no need to access code conversion ROM, increases in circuit size are significantly reduced. At the same time, it has the effect of significantly increasing the decoding processing speed.

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

第1図は本発明の一実施例による誤り訂正回路
のブロツク図、第2図は従来の誤り訂正回路のブ
ロツク図である。 12……シンドローム計算回路、13……誤り
位置計算回路、14……誤り大きさ計算回路、1
5……訂正回路、16,19……セレクタ、17
……乗算器、18……逆元ROM。
FIG. 1 is a block diagram of an error correction circuit according to an embodiment of the present invention, and FIG. 2 is a block diagram of a conventional error correction circuit. 12...Syndrome calculation circuit, 13...Error position calculation circuit, 14...Error magnitude calculation circuit, 1
5... Correction circuit, 16, 19... Selector, 17
... Multiplier, 18 ... Inverse element ROM.

Claims (1)

【特許請求の範囲】[Claims] 1 符号化コード情報のシンドロームを算出する
シンドローム計算回路と、前記シンドローム情報
を入力し誤り位置情報を算出する誤り位置計算回
路と、前記シンドローム情報と前記誤り位置情報
とを入力し誤り大きさ情報を算出する誤り大きさ
計算回路と、前記符号化コード情報と前記誤り位
置情報と前記誤り大きさ情報とを入力し訂正情報
を算出する訂正回路と、前記誤り位置計算回路あ
るいは前記誤り大きさ計算回路から出力された情
報のうちどちらか一方を選択して出力する第一の
選択手段と、予め所定の情報の逆元が蓄えられて
いる逆元ROMと、前記誤り位置計算回路および
前記誤り大きさ計算回路が乗算を実行する際には
前記第1の選択手段からの出力を選択し、除算を
実行する際には前記逆元ROMからの出力を選択
して出力する第2の選択手段と、この第2の選択
手段から出力された情報を乗算して前記誤り位置
計算回路あるいは前記誤り大きさ計算回路に出力
する乗算器とを具備した誤り訂正回路。
1. A syndrome calculation circuit that calculates the syndrome of encoded code information, an error position calculation circuit that inputs the syndrome information and calculates error position information, and inputs the syndrome information and the error position information and calculates error magnitude information. a correction circuit that inputs the encoded code information, the error position information, and the error size information to calculate correction information; and the error position calculation circuit or the error size calculation circuit. a first selection means for selecting and outputting either one of the information outputted from the inverter; an inverse element ROM in which an inverse element of a predetermined information is stored in advance; the error position calculation circuit; and the error size. a second selection means that selects the output from the first selection means when the calculation circuit executes multiplication, and selects and outputs the output from the inverse element ROM when the calculation circuit executes division; An error correction circuit comprising a multiplier that multiplies the information output from the second selection means and outputs the result to the error position calculation circuit or the error magnitude calculation circuit.
JP60209268A 1985-09-20 1985-09-20 Error correction circuit Granted JPS6269728A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60209268A JPS6269728A (en) 1985-09-20 1985-09-20 Error correction circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60209268A JPS6269728A (en) 1985-09-20 1985-09-20 Error correction circuit

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP63292768A Division JPH01157129A (en) 1988-11-18 1988-11-18 Arithmetic unit

Publications (2)

Publication Number Publication Date
JPS6269728A JPS6269728A (en) 1987-03-31
JPH0214818B2 true JPH0214818B2 (en) 1990-04-10

Family

ID=16570131

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60209268A Granted JPS6269728A (en) 1985-09-20 1985-09-20 Error correction circuit

Country Status (1)

Country Link
JP (1) JPS6269728A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH056215U (en) * 1991-07-08 1993-01-29 タナシン電機株式会社 Stepped screw

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5880769A (en) * 1981-11-06 1983-05-14 Mitsubishi Electric Corp Dividing device for galois field
JPS58144952A (en) * 1982-02-24 1983-08-29 Nec Corp Correcting circuit of double byte error
JPS58219848A (en) * 1982-06-15 1983-12-21 Toshiba Corp Multiplier of galois field
JPS6024650A (en) * 1983-07-20 1985-02-07 Hitachi Ltd Operating circuit on galois field

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5880769A (en) * 1981-11-06 1983-05-14 Mitsubishi Electric Corp Dividing device for galois field
JPS58144952A (en) * 1982-02-24 1983-08-29 Nec Corp Correcting circuit of double byte error
JPS58219848A (en) * 1982-06-15 1983-12-21 Toshiba Corp Multiplier of galois field
JPS6024650A (en) * 1983-07-20 1985-02-07 Hitachi Ltd Operating circuit on galois field

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH056215U (en) * 1991-07-08 1993-01-29 タナシン電機株式会社 Stepped screw

Also Published As

Publication number Publication date
JPS6269728A (en) 1987-03-31

Similar Documents

Publication Publication Date Title
EP0431629A2 (en) Mutual division circuit
JP3232602B2 (en) Euclidean circuit
EP0152702B1 (en) Arithmetic circuit of finite field
US4751704A (en) Method and apparatus for decoding BCH code
US5227992A (en) Operational method and apparatus over GF(2m) using a subfield GF(2.sup.
US5694330A (en) Error correction method including erasure correction, and apparatus therefor
JPH0214818B2 (en)
JP2641285B2 (en) Galois field division circuit and multiplication / division shared circuit
KR920010993B1 (en) Arithmetic unit of polynominal higher degree equation
JPH0834439B2 (en) Galois field arithmetic unit
JPS6248857B2 (en)
JP2991788B2 (en) Decoder
JPH0834440B2 (en) Galois field calculation method
JP2595820B2 (en) Galois extended field arithmetic unit
JPH01157129A (en) Arithmetic unit
JPH0750595A (en) Decoding device
JPS62268215A (en) Galois field arithmetic circuit
AU608690B2 (en) Method and apparatus for decoding error correction code
JPH0362738A (en) Arithmetic device
JPS6248812A (en) System of calculating inverse element
JPS62150938A (en) Multiplication circuit of definite field
JPH0778748B2 (en) Galois field arithmetic unit
JPS63146619A (en) Arithmetic unit for galois field
JPH0370252B2 (en)
JPH0764810A (en) Galois field computing element