JPH01157129A - Arithmetic unit - Google Patents

Arithmetic unit

Info

Publication number
JPH01157129A
JPH01157129A JP63292768A JP29276888A JPH01157129A JP H01157129 A JPH01157129 A JP H01157129A JP 63292768 A JP63292768 A JP 63292768A JP 29276888 A JP29276888 A JP 29276888A JP H01157129 A JPH01157129 A JP H01157129A
Authority
JP
Japan
Prior art keywords
error
information
processing
multiplication
calculation circuit
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
JP63292768A
Other languages
Japanese (ja)
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 JP63292768A priority Critical patent/JPH01157129A/en
Publication of JPH01157129A publication Critical patent/JPH01157129A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To remarkably reduce the extension of a circuit scale and to perform a fast decoding processing by performing a multiplication processing and a division processing required for a decoding processing by using a dedicated multiplier and an inverse element ROM. CONSTITUTION:When an encoding code 1 having an error is inputted, syndrome information which depends on the error is calculated at a syndrome calculation circuit 15. Next, information representing an error position is calculated by an error position detection circuit 16 based on calculated information, and the information representing the size of the error is calculated at an error size calculation circuit 17. The multiplication processing and the division processing are required in arithmetic processings performed in the circuits 16 and 17, however, in the multiplication processing, the output information of the circuits 16 and 17 are inputted to a multiplier 20 as they are via selectors 19 and 22, and the results are returned to the circuits 16 and 17. In the division processing, the output information of the circuits 20 and 17 are inputted to the inverse element ROM21 via a selector 19, and the output is inputted to the multiplier 20, then, the division processing is performed in a form of multiplication of inverse element. An information code in which the error is corrected is outputted from a correction circuit 18 based on the above processing information.

Description

【発明の詳細な説明】 産業上の利用分野 本発明は、情報記憶装置の誤シ訂正回路等で実行される
演算装置に関する。
DETAILED DESCRIPTION OF THE INVENTION Field of the Invention The present invention relates to an arithmetic device executed in an error correction circuit or the like of an information storage device.

従来の技術 従来、情報記憶装置の誤シ訂正回路は、第3図に示すよ
うに、入力された符号化コード1からシンドロームを算
出するシンドローム計算回路2と、このシンドローム情
報から誤シの位置を算出する誤シ位置計算回路3とシン
ドローム情報と誤り位置情報とから誤シの大きさを算出
する誤シ大きさ計算回路4とを有し、符号化コード1と
誤シ位置情報と誤り大きさ情報とを入力した訂正回路6
が対応する所定の情報コードを出力することにより所謂
誤シ訂正が行われていた。この際、誤り位置計算回路3
及び誤シ大きさ計算回路4では乗算、除算によりそれぞ
れ誤9位置と誤り大きさが算出されるが、ここで必要と
なる乗算と除算を行なうために、誤シ位置計算回路3及
び誤シ大きさ計算回路4にそれぞれ乗算器ea、abと
除算器7a。
2. Description of the Related Art Conventionally, as shown in FIG. 3, an error correction circuit of an information storage device includes a syndrome calculation circuit 2 that calculates a syndrome from an input encoded code 1, and a syndrome calculation circuit 2 that calculates the position of an error from this syndrome information. It has an error position calculation circuit 3 that calculates the error position, and an error size calculation circuit 4 that calculates the error size from syndrome information and error position information, and includes an encoded code 1, error position information, and error size. Correction circuit 6 inputting information
So-called error correction is performed by outputting a predetermined information code corresponding to the error code. At this time, the error position calculation circuit 3
The error position calculation circuit 3 and error size calculation circuit 4 calculate the error position and error size by multiplication and division, respectively. The calculation circuit 4 includes multipliers ea and ab and a divider 7a, respectively.

7bとを接続し、乗算処理あるいは除算処理を実行して
いた。
7b to perform multiplication or division processing.

しかしながら、第3図のような構成であると、それぞれ
2つの乗算器と除算器とを必要とし、回路が複雑、高価
になってしまうという問題点を有していた。そこで、第
2図のように誤シ位置計算回路3及び誤シ大きさ計算回
路4で必要となる乗算と除算を行なうために、セレクタ
10によって切り換えられた情報をベキ情報に変換する
コード変換ROM11と、ベキの加算によって乗算を実
現する加算回路12と、ベキの減算によって除算を実現
する減算回路13と、加算回路12と減算回路13との
出力の切換を行うセレクタ14とを設けて、誤シ位置計
算回路3及び誤シ大きさ計算回路4で実行される乗算及
び除算を共通の回路で実行するという装置がある。
However, the configuration shown in FIG. 3 requires two multipliers and two dividers, making the circuit complex and expensive. Therefore, as shown in FIG. 2, in order to perform the multiplication and division required by the error position calculation circuit 3 and the error size calculation circuit 4, a code conversion ROM 11 is provided that converts the information switched by the selector 10 into power information. An addition circuit 12 that realizes multiplication by addition of powers, a subtraction circuit 13 that realizes division by subtraction of powers, and a selector 14 that switches the outputs of the addition circuit 12 and the subtraction circuit 13 are provided to prevent errors. There is an apparatus in which the multiplication and division performed by the position calculation circuit 3 and the error size calculation circuit 4 are executed by a common circuit.

発明が解決しようとする課題 しかし、かかる構成によっても、符号化コードの構成ビ
ット数が大きくなるにしたがって乗算。
Problems to be Solved by the Invention However, even with this configuration, as the number of bits constituting the encoded code increases, multiplication becomes more difficult.

除算を行なうための加算回路と減算回路の回路規模が膨
大となシ、また乗算、除算を行なうために毎回コード変
換ROMをアクセスするため処理速度が遅くなるという
問題があった。
There are problems in that the circuit scale of the addition circuit and subtraction circuit for performing division is enormous, and that the processing speed is slow because the code conversion ROM is accessed each time to perform multiplication and division.

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

本発明は、上述の問題点に鑑みて為されたもので、復号
化処理に必要な乗算、除算回路の回路規模が膨大になる
ことなく、高速な復号化処理を行なうことができる誤シ
訂正回路等に使用される演算装置を提供することを目的
とする。
The present invention has been made in view of the above-mentioned problems, and is capable of correcting errors 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 arithmetic devices used in circuits, etc.

課題を解決するための手段 本発明は上述の問題点を解決するため情報を入力して乗
算処理かあるいは除算処理かを選択する第1の選択手段
と、この第1の選択手段が除算処理を選択した場合には
前記情報を入力し前記情報の逆元を算出して出力する逆
元ROMと、乗算処理を実行する際には前記第1の選択
手段から出力される情報を入力し、除算処理を実行する
際には前記逆元ROMから出力される情報を入力して出
力する第2の選択手段と、この第2の選択手段から出力
される情報に乗算処理を実行する乗算器とを有し、乗算
処理及び除算処理を共通の乗算器で実行するものである
Means for Solving the Problems In order to solve the above-mentioned problems, the present invention provides a first selection means for inputting information to select either multiplication processing or division processing, and a first selection means for selecting multiplication processing or division processing. When selected, the information is input to an inverse element ROM that calculates and outputs an inverse element of the information, and when performing multiplication processing, inputs the information output from the first selection means and performs division. When executing the process, a second selection means inputs and outputs the information output from the inverse element ROM, and a multiplier executes a multiplication process on the information output from the second selection means. The multiplication process and the division process are executed by a common multiplier.

作  用 本発明は上述の構成によって、例えば復号化処理等に必
要となる乗算、除算処理を従来のベキ9加算、減算では
行なわないため、加算回路、減算゛回路による回路規模
の増大を大幅に削減することが可能となり、また、従来
乗算、除算処理のたびに毎回コード変換ROMをアクセ
スしていたのに対し、本発明では除算処理の時のみ逆元
ROMをアクセスし、しかも除算処理は乗算処理に比較
して頻度が非常に少ないということからも、復号化処理
速度を大幅にアップすることが可能となる。
Effects of the Invention With the above-described configuration, the present invention does not perform multiplication and division processing necessary for decoding processing, etc., by conventional power-9 addition and subtraction, so that the increase in circuit scale due to addition circuits and subtraction circuits can be greatly reduced. In addition, whereas in the past, the code conversion 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, and moreover, the division process is a multiplication process. Since the frequency of decoding is very low compared to processing, it is possible to significantly increase the decoding processing speed.

実施例 第1図は本発明の一実施例による復号化処理装置等の演
算装置の概略構成を示すものであって、16は符号化コ
ード1からシンドロームを計算するシン)’ ローム計
算OK、1e はシンドロームから誤りの位置を計算す
る誤り位置計算回路、17はシンドロームと誤シ位置情
報とから誤りの大きさを計算する誤り大きさ計算回路、
18は符号化コード1と誤シ位置情報と誤シ大きさ情報
とから対応する情報コードを出力して誤シを訂正する回
路、19は誤り位置計算回路16と誤シ大きさ計算回路
17のどちらが乗算器2oを使用するのかを選択し、か
つ乗算処理かあるいは除算処理によって後述する逆元R
OM21かあるいはセレクタ22への出力を選択するセ
レクタ191.21は除算処理の際に逆元を出力するR
OM、22は乗算処理と除算処理によって乗算器の入力
を切シ換えるセレクタである。
Embodiment FIG. 1 shows a schematic configuration of an arithmetic device such as a decoding processing device according to an embodiment of the present invention, and 16 is a symbol for calculating syndromes from encoded code 1. 17 is an error position calculation circuit that calculates the error position from the syndrome; 17 is an error size calculation circuit that calculates the error size from the syndrome and the error position information;
18 is a circuit that outputs a corresponding information code from the encoded code 1, the error position information, and the error size information to correct the error; 19 is the error position calculation circuit 16 and the error size calculation circuit 17; Select which one uses the multiplier 2o, and use the multiplication process or the division process to calculate the inverse element R, which will be described later.
Selector 191 selects output to OM21 or selector 22. R selector 21 outputs the inverse element during division processing.
OM, 22 is a selector that switches the input of the multiplier by multiplication processing and division processing.

以上のように構成された誤シ訂正回路等における演算装
置について、以下その動作を説明する。
The operation of the arithmetic unit in the error correction circuit and the like configured as described above will be described below.

情報記憶装置等によって誤シの生じた符号化コード1が
入力されると、シンドローム計算回路16によって、生
じた誤りに依存したシンドローム情報が算出され、この
シンドローム情報を基にして以下の復号化処理が行なわ
れることになる。次に、算出されたシンドローム情報の
みから誤り位置計算回路16によって誤っている位置を
表わす情報が算出され、誤9大きさ計算回路17へ入力
される。
When encoded code 1 with an error is inputted by an information storage device or the like, the syndrome calculation circuit 16 calculates syndrome information depending on the error that has occurred, and performs the following decoding process based on this syndrome information. will be carried out. Next, information representing the erroneous position is calculated by the error position calculation circuit 16 from only the calculated syndrome information, and is input to the error 9 magnitude calculation circuit 17.

この誤シ大きさ計算回路1アではシンドローム情報と誤
り位置情報とから誤シの大きさを表わす情報が算出され
る。この誤り位置計算回路16及び誤シ大きさ計算回路
17で行なわれる演算処理には、ガロア体上(GF(2
”)上)の元の加算処理。
The error size calculation circuit 1a calculates information representing the size of the error from the syndrome information and the error position information. The arithmetic processing performed in the error position calculation circuit 16 and the error size calculation circuit 17 includes a Galois field (GF(2)
”) above) is the original addition process.

乗算処理、除算処理が必要となるが、加算処理について
は非常に容易な回路で実現されるために誤り位置計算回
路16と誤シ大きさ計算回路17の双方に加算回路を内
蔵している。乗算回部処理及び除算処理を行なうために
、セレクタ19 、22、逆光ROM21、乗算器2o
が必要となる。乗算処理の場合は、誤シ位置計算回路1
e及び誤シ大きさ計算回路17から出力された情報はセ
レクタ19、セレクタ20を通過してそのまま乗算器2
0に入力され乗算処理が行なわれ、その結果が誤シ位置
計算回路16及び誤シ大きさ計算回路17にもどされて
くる。除算処理の場合は逆光の乗算という形で実現され
、誤り位置計算回路2o及び誤シ大きさ計算回路17か
ら出力された情報はセレノ)19を通過したのち逆光R
OM21に入力され、その出力が乗算器20に入力され
ることによって除算処理が行なわれるn誤シ大きさ計算
回路17の処理は誤シ位置計算回路16の処理が終了し
てから行なわれるものなので、セレクタ19゜22、逆
光ROM21、乗算器2oを誤シ位置計算回路16と誤
シ大きさ計算回路17とが同時に使用するという状態は
起らない。以上の処理によって誤シ位置情報と誤シ大き
さ情報が算出され訂正回路18に入力されると、符号化
コード1の誤錫情報と誤シ大きさ情報を基にして訂正さ
れ情報コードとして出力される。
Although multiplication processing and division processing are required, since addition processing can be realized with a very simple circuit, both the error position calculation circuit 16 and the error size calculation circuit 17 include addition circuits. In order to perform multiplication processing and division processing, selectors 19 and 22, backlight ROM 21, and multiplier 2o are used.
Is required. In the case of multiplication processing, error position calculation circuit 1
e and the information output from the error magnitude calculation circuit 17 pass through the selector 19 and the selector 20 and are directly sent to the multiplier 2.
0 is input, multiplication processing is performed, and the results are returned to the error position calculation circuit 16 and the error size calculation circuit 17. In the case of division processing, it is realized in the form of multiplication of backlight, and the information output from the error position calculation circuit 2o and the error size calculation circuit 17 passes through the backlight R
This is input to the OM 21 and its output is input to the multiplier 20 to perform division processing.The processing of the n error size calculation circuit 17 is performed after the processing of the error position calculation circuit 16 is completed. , the selector 19.degree. 22, the backlight ROM 21, and the multiplier 2o are not used simultaneously by the error position calculation circuit 16 and the error magnitude calculation circuit 17. When the error position information and error size information are calculated through the above processing and input to the correction circuit 18, they are corrected based on the error position information and error size information of encoded code 1 and output as an information code. be done.

発明の効果 以上の説明から明らかなように、本発明は、リード・ソ
ロモン符号の復号化処理に必要となる乗算処理と除算処
理を専用乗算器と逆光ROMを用いて行なうことによっ
て、従来のベキの加算、減算を行なわないため、またコ
ード変換ROMをアクセスする必要がないため、回路規
模の増大を大幅に削減するとともに、復号化処理スピー
ドを大幅に上げることができるという効果を有するもの
である。
Effects of the Invention As is clear from the above explanation, the present invention uses a dedicated multiplier and a backlit ROM to perform the multiplication and division processing necessary for decoding Reed-Solomon codes, thereby improving the efficiency of conventional power Since there is no addition or subtraction of , and there is no need to access the code conversion ROM, it has the effect of significantly reducing the increase in circuit size and significantly increasing the decoding processing speed. .

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

第1図は本発明の一実施例にょる誤シ訂正回路における
演算装置のブロック図、第2図及び第3図は従来の誤り
訂正回路における演算装置のブロック図である。 15・・・・・・シンドローム計算回路、16・・・・
・・誤す位置計算回路、17・・・・・・誤り大きさ計
算回路、18・・・・・・訂正回路、20・・・・・・
乗算器、21・・・・・・逆光ROM、19.22・・
・・・・セレクタ。 代理人の氏名 弁理士 粟 野 重 孝 ほか1名\ 区       − へ       八 派
FIG. 1 is a block diagram of an arithmetic unit in an error correction circuit according to an embodiment of the present invention, and FIGS. 2 and 3 are block diagrams of an arithmetic unit in a conventional error correction circuit. 15...Syndrome calculation circuit, 16...
...Error position calculation circuit, 17...Error magnitude calculation circuit, 18...Correction circuit, 20...
Multiplier, 21... Backlight ROM, 19.22...
····selector. Name of agent: Patent attorney Shigetaka Awano and 1 other person

Claims (1)

【特許請求の範囲】[Claims] 情報を入力して乗算処理かあるいは除算処理かを選択す
る第1の選択手段と、この第1の選択手段が除算処理を
選択した場合には前記情報を入力し前記情報の逆元を算
出して出力する逆元ROMと、乗算処理を実行する際に
は前記第1の選択手段から出力される情報を入力し、除
算処理を実行する際には前記逆元ROMから出力される
情報を入力して出力する第2の選択手段と、この第2の
選択手段から出力される情報に乗算処理を実行する乗算
器とを具備した演算装置。
a first selection means that inputs information and selects either multiplication processing or division processing; and when the first selection means selects division processing, inputs the information and calculates the inverse element of the information; inputting the inverse element ROM to be outputted, and the information output from the first selection means when executing the multiplication process, and inputting the information output from the inverse element ROM when executing the division process. an arithmetic device comprising: a second selection means for outputting the information; and a multiplier for performing multiplication processing on the information output from the second selection means.
JP63292768A 1988-11-18 1988-11-18 Arithmetic unit Pending JPH01157129A (en)

Priority Applications (1)

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

Applications Claiming Priority (1)

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

Related Parent Applications (1)

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

Publications (1)

Publication Number Publication Date
JPH01157129A true JPH01157129A (en) 1989-06-20

Family

ID=17786090

Family Applications (1)

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

Country Status (1)

Country Link
JP (1) JPH01157129A (en)

Citations (3)

* 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
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 (3)

* 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
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

Similar Documents

Publication Publication Date Title
US6209114B1 (en) Efficient hardware implementation of chien search polynomial reduction in reed-solomon decoding
JP3232602B2 (en) Euclidean circuit
US3278729A (en) Apparatus for correcting error-bursts in binary code
CA1256202A (en) Method and apparatus for decoding bch code
EP0621698A2 (en) Error correction method including erasure correction, and apparatus therefore
EP0836285B1 (en) Reed-Solomon decoder with general-purpose processing unit and dedicated circuits
US6687725B1 (en) Arithmetic circuit for finite field GF (2m)
JP3245290B2 (en) Decoding method and device
KR100336234B1 (en) Data error correction apparatus
JPH10112660A (en) Error decoding method and device utilizing reed solomon code
JPH01157129A (en) Arithmetic unit
JPH11196006A (en) Parallel processing syndrome calculation circuit and reed solomon decoding circuit
US11281428B2 (en) Conversion circuitry
JP3233502B2 (en) Decryption device
JPH06314978A (en) Chain search circuit
JPS6269728A (en) Error correction circuit
JPH06230991A (en) Method and apparatus for computation of inverse number of arbitrary element in finite field
JPS58132837A (en) Divider
US11750222B1 (en) Throughput efficient Reed-Solomon forward error correction decoding
RU2818029C1 (en) Device for correcting errors in polynomial system of residue classes
JP3131969B2 (en) Arithmetic unit
JPS6217256B2 (en)
JPH0764810A (en) Galois field computing element
JPH0778748B2 (en) Galois field arithmetic unit
KR920010993B1 (en) Arithmetic unit of polynominal higher degree equation