JPH0214817B2 - - Google Patents
Info
- Publication number
- JPH0214817B2 JPH0214817B2 JP60184824A JP18482485A JPH0214817B2 JP H0214817 B2 JPH0214817 B2 JP H0214817B2 JP 60184824 A JP60184824 A JP 60184824A JP 18482485 A JP18482485 A JP 18482485A JP H0214817 B2 JPH0214817 B2 JP H0214817B2
- Authority
- JP
- Japan
- Prior art keywords
- code
- circuit
- matrix
- encoding
- 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
Links
Landscapes
- Error Detection And Correction (AREA)
Description
【発明の詳細な説明】
産業上の利用分野
本発明は、情報記憶装置等における符号・復号
化処理装置に関する。DETAILED DESCRIPTION OF THE INVENTION Field of Industrial Application The present invention relates to an encoding/decoding processing device in an information storage device or the like.
従来の技術
従来、この種の装置においては、第3図に示す
ように、情報コードが入力される入力端子1と、
この入力端子1に入力された情報コードから検査
コードを生成する除算回路2と、この除算回路2
の出力線3から出力される検査コードと前記入力
端子1から入力される情報コードと切り換えてそ
の出力線6から符号化コードを出力するセレクタ
5と、エンコード制御回路4とで符号化回路Aを
構成し、情報コードに検査コードを付加すること
によつて符号化処理が行なわれている一方、符号
化コードが入力される入力端子7と、この入力端
子7に入力された符号化コードからシンドローム
を計算する計算回路8と、この計算回路8の出力
線9から出力されるシンドロームと前記符号化コ
ードとから訂正処理を行なつてその出力線12か
ら情報コードを出力する訂正回路11と、デコー
ド制御回路10とで復号化回路Bを構成し、復号
化処理が行なわれていた。BACKGROUND ART Conventionally, in this type of device, as shown in FIG. 3, an input terminal 1 into which an information code is input;
A division circuit 2 that generates a test code from the information code input to this input terminal 1;
The encoding circuit A is controlled by the encoder control circuit 4 and the selector 5 which switches between the inspection code outputted from the output line 3 and the information code inputted from the input terminal 1 and outputs the encoded code from the output line 6. While the encoding process is performed by configuring the information code and adding a check code to the information code, there is an input terminal 7 into which the encoded code is input, and a syndrome is detected from the encoded code input to this input terminal 7. a correction circuit 11 that performs a correction process on the syndrome outputted from an output line 9 of this calculation circuit 8 and the encoded code and outputs an information code from its output line 12; The control circuit 10 constitutes a decoding circuit B, and decoding processing is performed.
発明が解決しようとする問題点
しかしながら、上述した従来装置の構成によれ
ば、符号化処理と復号化処理とが別々の回路構成
で行なわれていることから、両回路において別々
の制御が必要となり、また検査コード生成のため
に除算回路を用いていることから、構成ビツト数
の多いシンボルを扱う符号語においては、除算回
路及びシンドローム計算回路の回路規模が膨大に
なるという問題があつた。Problems to be Solved by the Invention However, according to the configuration of the conventional device described above, the encoding process and the decoding process are performed in separate circuit configurations, so separate control is required for both circuits. In addition, since a division circuit is used to generate the check code, there is a problem in that the circuit scale of the division circuit and syndrome calculation circuit becomes enormous for code words that handle symbols with a large number of constituent bits.
本発明は、上述の問題点に鑑みなされたもの
で、回路規模が膨大になることのないようにした
符号・復号化処理装置を提供することを目的とし
たものである。 The present invention has been made in view of the above-mentioned problems, and it is an object of the present invention to provide an encoding/decoding processing device that does not require an enormous circuit scale.
問題点を解決するための手段
上述の問題点を解決するために、本発明は、生
成行列(G−Matrix)と検査行列(H−
Matrix)のテーブルを読出し専用メモリ
(ROM)にもち、同一回路において符号化及び
シンドローム計算を行なうという構成を備えたも
のである。Means for Solving the Problems In order to solve the above problems, the present invention uses a generation matrix (G-Matrix) and a check matrix (H-Matrix).
Matrix) table in a read-only memory (ROM), and the encoding and syndrome calculations are performed in the same circuit.
作 用
すなわち、本発明は、上述の構成によつて、符
号・復号化処理を1つの回路にまとめ上げること
ができることから、回路規模を大幅に削減するこ
とが可能になる。Effect: In other words, according to the present invention, the above-described configuration allows encoding and decoding processing to be combined into one circuit, thereby making it possible to significantly reduce the circuit scale.
実施例
以下、本発明を第1図及び第2図に示す一実施
例に基づいて説明する。Embodiment Hereinafter, the present invention will be explained based on an embodiment shown in FIGS. 1 and 2.
第1図は本発明に係る符号・復号化処理装置の
概略構成を示し、図中21は情報コードまたは符
号化コードの入力端子、22はエンコード及びシ
ンドローム計算を行なう回路、23は生成行列及
び検査行列のテーブルが格納されたROM、24
は検査コード及びシンドロームの出力線、25は
符号化時に情報コードと検査コードとを切り換え
て出力するセレクタ、26はセレクタ25からの
符号化コードの出力端子、27は制御回路、28
は復号化時に訂正動作を行なう回路、29は情報
コードの出力端子である。 FIG. 1 shows a schematic configuration of an encoding/decoding processing device according to the present invention, in which 21 is an input terminal for an information code or an encoded code, 22 is a circuit for encoding and syndrome calculation, and 23 is a generation matrix and check ROM in which the matrix table is stored, 24
25 is a selector that switches and outputs the information code and the test code during encoding; 26 is an output terminal for the encoded code from the selector 25; 27 is a control circuit; 28
2 is a circuit that performs a correction operation during decoding, and 29 is an output terminal for the information code.
以上のように構成された符号・復号化処理装置
について、以下その動作を説明する。まず、符号
化時に、情報コードが入力端子21に入力される
と、エンコード回路22によつてROM23に格
納されている生成行列(G−Matrix)と情報コ
ードの行列積演算が行なわれ、検査コードが生成
されて出力線24から出力されるとともに、制御
回路27によつてセレクタ25が切り換えられ、
情報コードに続いて検査コードが符号化コードと
して出力端子26から出力される。一方、復号化
時に、入力端子21に符号化コードが入力される
と、シンドローム計算回路22によつてROM2
3に格納されている検査行列(H−Matrix)と
符号化コードの行列積演算が行なわれ、シンドロ
ームが生成されて制御回路27によつて制御され
た訂正回路28によつて情報コードが出力端子2
9から出力されるようになつているものである。 The operation of the encoding/decoding processing device configured as described above will be explained below. First, during encoding, when an information code is input to the input terminal 21, the encoding circuit 22 performs a matrix product operation of the information code and the generation matrix (G-Matrix) stored in the ROM 23, and the check code is is generated and output from the output line 24, and the selector 25 is switched by the control circuit 27,
Following the information code, a check code is output from the output terminal 26 as an encoded code. On the other hand, when an encoded code is input to the input terminal 21 during decoding, the syndrome calculation circuit 22
A matrix product operation of the check matrix (H-Matrix) stored in 3 and the encoded code is performed, a syndrome is generated, and the information code is sent to the output terminal by the correction circuit 28 controlled by the control circuit 27. 2
It is designed to be output from 9.
上述のとおり、エンコード及びシンドローム計
算回路22は、行列の積演算行なうもので、検査
コードあるいはシンドロームを4シンボル生成す
る例の概略構成を第2図に示す。すなわち、第2
図に示すように、入力端子31に情報コードまた
は符号化コードが入力され、生成行列(G−
Matrix)または検査行列(H−Matrix)の各要
素が入力端子32に入力されると、乗算回路33
によつてそれらの積が積項出力線34に出力され
る。また、ラツチ37〜40は、それまでの演算
結果が順次4シンボル毎に格納されており、その
出力がセレクタ41を通り加算回路35によつて
出力線34に出力される次の積項を加算し、出力
線36に順次シンボルを出力してその結果が再び
ラツチ37〜40に順次格納されて行き、出力端
子42に検査コードまたはシンドロームを出力す
ることにより行列の積演算が行なわれるものであ
る。 As described above, the encoding and syndrome calculation circuit 22 performs matrix product operations, and FIG. 2 shows a schematic configuration of an example in which four symbols of test codes or syndromes are generated. That is, the second
As shown in the figure, an information code or an encoded code is input to the input terminal 31, and a generation matrix (G-
When each element of the check matrix (H-Matrix) or check matrix (H-Matrix) is input to the input terminal 32, the multiplication circuit 33
The product is outputted to the product term output line 34 by . In addition, the latches 37 to 40 sequentially store the calculation results up to that point every four symbols, and add the next product term whose output passes through the selector 41 and is output to the output line 34 by the adder circuit 35. Then, the symbols are sequentially outputted to the output line 36, the results are sequentially stored again in the latches 37 to 40, and the test code or syndrome is outputted to the output terminal 42 to perform the matrix product operation. .
発明の効果
以上の説明から明らかなように、本発明は、生
成行列と検査行列のテーブルをROMにもち、同
一回路において符号化及びシンドローム計算を行
ない得るようにすることによつて、符号・復号化
処理を1つの回路にまとめ上げてなることから、
回路規模を大幅に削減できるという効果を有する
ものである。Effects of the Invention As is clear from the above explanation, the present invention has a table of generation matrices and check matrices in ROM, and enables encoding and decoding by performing encoding and syndrome calculation in the same circuit. Since the conversion processing is combined into one circuit,
This has the effect of significantly reducing the circuit scale.
第1図は本発明に係る符号・復号化処理方法を
用いた一実施例の概略的回路構成図、第2図は同
じくエンコード及びシンドローム計算回路の要部
概略構成図、第3図は従来の符号・復号化処理装
置の概略的回路構成図である。
21……情報コードまたは符号化コードの入力
端子、22……エンコード及びシンドローム計算
回路、23……生成行列及び検査行列テーブル
ROM、24……検査コード及びシンドローム出
力線、25……セレクタ、26……符号化コード
出力端子、27……制御回路、28……訂正回
路、29……情報コード出力端子、31……情報
コードまたは符号化コード入力端子、32……生
成行列及び検査行列要素入力端子、33……乗算
回路、34……出力線、35……加算回路、36
……順次シンボル出力線、37〜40……ラツ
チ、41……セレクタ、42……検査コードまた
はシンドローム出力端子。
FIG. 1 is a schematic circuit configuration diagram of an embodiment using the encoding/decoding processing method according to the present invention, FIG. 2 is a schematic diagram of the main part of the encoding and syndrome calculation circuit, and FIG. FIG. 2 is a schematic circuit configuration diagram of an encoding/decoding processing device. 21... Input terminal for information code or encoded code, 22... Encoding and syndrome calculation circuit, 23... Generation matrix and check matrix table
ROM, 24...Test code and syndrome output line, 25...Selector, 26...Encoded code output terminal, 27...Control circuit, 28...Correction circuit, 29...Information code output terminal, 31...Information Code or encoded code input terminal, 32... Generation matrix and parity check matrix element input terminal, 33... Multiplication circuit, 34... Output line, 35... Addition circuit, 36
...Sequential symbol output line, 37-40...Latch, 41...Selector, 42...Test code or syndrome output terminal.
Claims (1)
選択入力する入力手段と、この入力手段より入力
された情報コードあるいは符号化コードと生成行
列あるいは検査行列との積演算を行ない、検査コ
ードあるいはシンドロームの計算を行なう演算手
段と、前記生成行列および検査行列を記憶する記
憶手段と、前記情報コードと前記演算回路から出
力される検査コードとを切り替える切替手段と、
前記演算回路から出力されるシンドロームに基づ
き前記符号化コードの訂正処理を行なう訂正手段
とを有する符号・復号化処理装置。1. An input means for selectively inputting an information code or an encoded code, and a product operation of the information code or encoded code inputted from this input means and a generation matrix or a check matrix, and a test code or syndrome an arithmetic means for performing calculations, a storage means for storing the generation matrix and the check matrix, and a switching means for switching between the information code and the check code output from the arithmetic circuit;
An encoding/decoding processing device comprising: a correction means for correcting the encoded code based on the syndrome output from the arithmetic circuit.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP18482485A JPS6245224A (en) | 1985-08-22 | 1985-08-22 | Coding and decoding processing method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP18482485A JPS6245224A (en) | 1985-08-22 | 1985-08-22 | Coding and decoding processing method |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS6245224A JPS6245224A (en) | 1987-02-27 |
| JPH0214817B2 true JPH0214817B2 (en) | 1990-04-10 |
Family
ID=16159934
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP18482485A Granted JPS6245224A (en) | 1985-08-22 | 1985-08-22 | Coding and decoding processing method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS6245224A (en) |
Family Cites Families (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS58147807A (en) * | 1982-02-26 | 1983-09-02 | Toshiba Corp | Error correcting circuit |
-
1985
- 1985-08-22 JP JP18482485A patent/JPS6245224A/en active Granted
Also Published As
| Publication number | Publication date |
|---|---|
| JPS6245224A (en) | 1987-02-27 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP3232602B2 (en) | Euclidean circuit | |
| JPH045214B2 (en) | ||
| US3859630A (en) | Apparatus for detecting and correcting errors in digital information organized into a parallel format by use of cyclic polynomial error detecting and correcting codes | |
| EP0249982A2 (en) | Decoder | |
| JPS6114540B2 (en) | ||
| Peng et al. | On Construction of the $(24, 12, 8) $ Golay Codes | |
| JPH09505952A (en) | Programmable redundancy / syndrome generator | |
| KR100336234B1 (en) | Data error correction apparatus | |
| JPH0214817B2 (en) | ||
| JPS61237521A (en) | Coding and decoding circuit of error correction code | |
| EP0341851A2 (en) | Method and apparatus for interleaved encoding | |
| US9985661B1 (en) | Reed-Solomon erasure code decoder | |
| JPH06230991A (en) | Method and apparatus for computation of inverse number of arbitrary element in finite field | |
| JPH0345020A (en) | Cyclic code processing circuit | |
| JP2575506B2 (en) | Chain search circuit | |
| US6704901B1 (en) | Runtime programmable Reed-Solomon decoder | |
| JPS6248812A (en) | System of calculating inverse element | |
| JP2622957B2 (en) | Coding and decoding method of BCH code | |
| AU608690B2 (en) | Method and apparatus for decoding error correction code | |
| RU2037271C1 (en) | Error-correcting device | |
| JP2570251B2 (en) | Arithmetic circuit of finite field | |
| US3240922A (en) | Serial digital electronic computer | |
| KR970005125B1 (en) | Reed-Solo Only Encoder | |
| JPS6269728A (en) | Error correction circuit | |
| CA1082815A (en) | Table lookup direct decoder for double-error- correcting (dec) bch codes using general pair of syndromes |