JPH08340260A - Code error correction circuit - Google Patents

Code error correction circuit

Info

Publication number
JPH08340260A
JPH08340260A JP14634395A JP14634395A JPH08340260A JP H08340260 A JPH08340260 A JP H08340260A JP 14634395 A JP14634395 A JP 14634395A JP 14634395 A JP14634395 A JP 14634395A JP H08340260 A JPH08340260 A JP H08340260A
Authority
JP
Japan
Prior art keywords
data
code
bit
error
memory
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.)
Withdrawn
Application number
JP14634395A
Other languages
Japanese (ja)
Inventor
Tsukasa Ishizuka
司 石塚
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.)
Japan Radio Co Ltd
Original Assignee
Japan Radio Co Ltd
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 Japan Radio Co Ltd filed Critical Japan Radio Co Ltd
Priority to JP14634395A priority Critical patent/JPH08340260A/en
Publication of JPH08340260A publication Critical patent/JPH08340260A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Error Detection And Correction (AREA)

Abstract

PURPOSE: To reduce a hardware scale and to shorten processing time. CONSTITUTION: A data generator 3 generates 2M pieces of M-bit data, the inspection bits of N bits are added to the M-bit data in an encoding circuit and the block code of (M+N) bits is generated. An error addition circuit 5 generates the random error of P bits to the block code and performs output as an error addition code. In a memory 2, the M-bit data are written with the error addition code as a write address. At the time of performing a decoding processing, the check bits of N bits are added to the transmission data of M bits, a block encoded block code string is received as a reception block code string and a shift register 1 accesses the memory with the block code as a read address for the respective block codes of the reception block code string and reads stored data as error correction data.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明はデータ通信に用いられ伝
送路で発生する符号誤りを訂正する符号誤り訂正回路に
関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a code error correction circuit used for data communication and correcting a code error generated in a transmission line.

【0002】[0002]

【従来の技術】一般に、BCH符号等のブロック符号を
受けて復号する復号化回路には、符号誤り訂正回路が備
えられている。このようなブロック符号(例えば、BC
H符号)を復号する際には、一般に次の方法が用いられ
ている。
2. Description of the Related Art Generally, a decoding circuit for receiving and decoding a block code such as a BCH code is provided with a code error correction circuit. Such block codes (eg BC
When decoding H code), the following method is generally used.

【0003】いま、符号多項式c(X)が送信側から送
られたとする。そして、誤りパターンを表す多項式e
(X)が加わり、受信多項式r(X)=c(X)+e
(X)が得られたとする。まず、r(X)からシンドロ
ームを求め、シンドロームから誤り位置多項式を求め
る。その後、誤り位置多項式の根を求め、これによっ
て、誤り訂正を行う。このような誤り訂正を行う際に
は、一般に、多数の加算器及びシフトレジスタが必要と
なる。
Now, assume that the code polynomial c (X) is sent from the transmitting side. Then, the polynomial e that represents the error pattern
(X) is added, and the receiving polynomial r (X) = c (X) + e
It is assumed that (X) is obtained. First, the syndrome is obtained from r (X), and the error locator polynomial is obtained from the syndrome. After that, the root of the error locator polynomial is obtained, and the error is corrected by this. When performing such error correction, a large number of adders and shift registers are generally required.

【0004】[0004]

【発明が解決しようとする課題】上述のように、ブロッ
ク符号の復号化回路において、誤り訂正を行う際には、
多数の加算器及びシフトレジスタが必要となって、ハー
ドウェア規模が大きくなってしまうという問題点があ
る。一方、ソフトウェア処理によって誤り訂正を行おう
とすると、極めて多くの加算処理及びデータシフト処理
を行う必要がある関係上、処理時間が大きくなってしま
うという問題点がある。
As described above, when performing error correction in the block code decoding circuit,
There is a problem that a large number of adders and shift registers are required, which increases the hardware scale. On the other hand, if an attempt is made to perform error correction by software processing, there is a problem in that the processing time becomes long because an extremely large amount of addition processing and data shift processing have to be performed.

【0005】本発明の目的はハードウェア規模が少なく
て済みしかも処理時間を短縮できる符号誤り訂正回路を
提供することにある。
An object of the present invention is to provide a code error correction circuit which requires a small hardware scale and can shorten the processing time.

【0006】[0006]

【課題を解決するための手段】本発明によれば、Mビッ
ト(Mは正の整数)の送信データに対してNビット(N
は正の整数)の検査ビットを付加してブロック符号化さ
れたブロック符号列を受信ブロック符号列として受け前
記受信ブロック符号列を復号する復号装置に用いられ、
予め定められ互いに異なる複数のMビットデータが記憶
データとして格納されたメモリと、前記受信ブロック符
号列のブロック符号毎に該ブロック符号を読出アドレス
として前記メモリをアクセスして前記記憶データを誤り
訂正データとして読み出す読出手段とを有することを特
徴とする符号誤り訂正回路が得られる。
According to the present invention, N-bit (N-bit) data is transmitted for M-bit (M is a positive integer) transmission data.
Is a positive integer) and is used in a decoding device that receives a block code string block-coded by adding a check bit of the received block code string and decodes the received block code string,
A memory in which a plurality of predetermined M-bit data different from each other is stored as storage data, and for each block code of the received block code sequence, the block code is used as a read address to access the memory to access the storage data as error correction data It is possible to obtain a code error correction circuit having a reading means for reading as.

【0007】この符号誤り訂正回路は、さらに、互いに
異なる2M 個のMビットデータを発生するデータ発生器
と、前記Mビットデータに対してNビットの検査ビット
を付加して(M+N)ビットのブロック符号に符号化す
る符号化回路と、該(M+N)ビットのブロック符号に
対してPビット(P<N)のランダム誤りを発生させて
誤り付加コードとして出力する誤り付加回路とを有し、
前記誤り付加コードを書き込みアドレスとして前記Mビ
ットデータが前記メモリに書き込まれる。
The code error correction circuit further includes a data generator for generating 2 M M-bit data different from each other, and N (M + N) -bit data by adding N check bits to the M-bit data. An encoding circuit for encoding into a block code, and an error adding circuit for generating a P-bit (P <N) random error with respect to the (M + N) -bit block code and outputting as an error-added code,
The M-bit data is written in the memory using the error addition code as a write address.

【0008】そして、前記読出手段は、例えば、(M+
N)ビットのシフトレジスタであり、さらに、符号誤り
訂正回路には、前記Mビットデータを前記メモリに書き
込む際前記メモリに前記データ発生器を接続するととも
に前記誤り付加回路を前記メモリに接続するスイッチ手
段が備えられており、前記誤り訂正データを生成する際
該スイッチ手段は前記シフトレジスタに接続されるとと
もに出力端子に接続される。
The reading means may be, for example, (M +
A switch for connecting the data generator to the memory and the error addition circuit to the memory when writing the M-bit data to the memory. Means are provided, and the switch means is connected to the shift register and to the output terminal when the error correction data is generated.

【0009】[0009]

【作用】本発明では、誤り付加コードを書き込みアドレ
スとしてMビットデータをメモリに書き込み、受信ブロ
ック符号列のブロック符号毎にブロック符号を読出アド
レスとしてメモリをアクセスして記憶データを誤り訂正
データとして読み出すようにしたから、符号誤り訂正処
理を行う際、ハードウェア規模が少なくて済みしかも処
理時間を短縮できる。
According to the present invention, M-bit data is written in the memory by using the error addition code as the write address, and the memory is accessed by using the block code as the read address for each block code of the received block code string to read the stored data as the error correction data. Therefore, when the code error correction process is performed, the hardware scale is small and the processing time can be shortened.

【0010】[0010]

【実施例】以下本発明について実施例によって説明す
る。
EXAMPLES The present invention will be described below with reference to examples.

【0011】図1を参照して、本発明による符号誤り訂
正回路は、シフトレジスタ1、メモリ2、データ発生器
3、符号化回路4、誤り付加回路5、及びスイッチ6a
及び6bを備えており、スイッチ6a及び6cは連動し
ている。
Referring to FIG. 1, a code error correction circuit according to the present invention includes a shift register 1, a memory 2, a data generator 3, an encoding circuit 4, an error adding circuit 5, and a switch 6a.
And 6b, the switches 6a and 6c are interlocked.

【0012】いま、ブロック符号をデータビット数M
(Mは正の整数)、検査ビット数N(Nは正の整数)と
して、Pビット(P<N)までの誤り訂正能力があるも
のとして説明する。なお、ここでは、便宜上データは全
てバイナリーであるものとする。
Now, the block code is represented by the number M of data bits.
(M is a positive integer) and the number of check bits N (N is a positive integer) will be described as having an error correction capability up to P bits (P <N). Note that, here, for the sake of convenience, all the data are assumed to be binary.

【0013】図示の符号誤り訂正回路が起動されると、
スイッチ6a及び6bはa端子側に切り替わる。データ
発生器3はMビットの符号について全ての組み合わせを
発生する。つまり、2M 個のデータ列を発生することに
なる。これらデータ列はスイッチ6aを介して順次メモ
リ2に後述するようにして格納される。
When the illustrated code error correction circuit is activated,
The switches 6a and 6b are switched to the a terminal side. The data generator 3 generates all combinations for M-bit codes. That is, 2 M data strings are generated. These data strings are sequentially stored in the memory 2 via the switch 6a as described later.

【0014】一方、データ発生器3から出力されたデー
タ列は符号化回路4でブロック符号に符号化される。つ
まり、データ列は(M+N)ビットのブロック符号に符
号化される。そして、ブロック符号は誤り付加回路5に
与えられる。
On the other hand, the data string output from the data generator 3 is encoded into a block code by the encoding circuit 4. That is, the data string is encoded into a block code of (M + N) bits. Then, the block code is given to the error adding circuit 5.

【0015】誤り付加回路5では、(M+N)ビットの
ブロック符号に対して誤りをPビットまでのランダム誤
りの全ての組み合わせについて付加して、誤り付加コー
ドとして出力する。そして、これら誤り付加コードはス
イッチ6bを介して書き込みアドレスとしてメモリ2に
与えられる。この結果、メモリ2には書き込みアドレス
に従って上述のデータ列が順次書き込まれることにな
る。
The error addition circuit 5 adds an error to a block code of (M + N) bits for all combinations of random errors up to P bits and outputs it as an error addition code. Then, these error addition codes are given to the memory 2 as write addresses via the switch 6b. As a result, the above-mentioned data string is sequentially written in the memory 2 according to the write address.

【0016】上述の処理は、一つのデータ列について、
(M+N)ビットのブロック符号を生成し、このブロッ
ク符号に対して誤りをPビットまでの誤りの全ての組み
合わせについて付加することになる。従って、異なる複
数のアドレスに同一のデータ列が格納されることにな
る。
The above-described processing is performed for one data string
A block code of (M + N) bits is generated, and errors are added to this block code for all combinations of errors up to P bits. Therefore, the same data string is stored at different addresses.

【0017】全てのデータ列がメモリ2に格納される
と、スイッチ6a及び6bはb端子側に切り替わる。こ
れによって、符号誤り訂正回路は復号可能状態となり、
受信符号列(ブロック符号列)がシフトレジスタ1に順
次入力される(シフトレジスタ1は(M+N)ビットの
シフトレジスタである)。1ブロック符号分がシフトレ
ジスタ1に入力されると、シフトレジスタ1の内容を読
出アドレスとしてメモリがアクセスされる。これによっ
て、この読出アドレスに対応する格納データ列が読出デ
ータとしてメモリ2から読み出されることになる。
When all the data strings are stored in the memory 2, the switches 6a and 6b are switched to the b terminal side. As a result, the code error correction circuit is ready for decoding,
Received code strings (block code strings) are sequentially input to the shift register 1 (the shift register 1 is a (M + N) -bit shift register). When one block of code is input to the shift register 1, the memory is accessed using the contents of the shift register 1 as a read address. As a result, the stored data string corresponding to this read address is read from the memory 2 as read data.

【0018】前述のように、誤り付加コードを書き込み
アドレスとしてメモリ2にはデータ列が書き込まれてい
るから、上記の読出データは受信符号の誤り訂正データ
となる。
As described above, since the data string is written in the memory 2 using the error addition code as the write address, the read data described above becomes the error correction data of the received code.

【0019】生成多項式が変更した際には、符号化回路
4を変更すればよく、さらに、同一の符号を用いて同時
に複数のデータ通信を行う際には、シフトレジスタ及び
メモリを増設するだけで、複数のデータ通信に対応する
ことができる。なお、生成多項式が不変であれば、メモ
リをリードオンリーメモリ(ROM)として上述した手
法によってROMにデータを予め書き込んでおれば、回
路規模(ハードウェア規模)をさらに少なくすることが
できる。
When the generator polynomial is changed, the encoding circuit 4 may be changed. Further, when a plurality of data communications are simultaneously performed using the same code, a shift register and a memory are simply added. It is possible to support a plurality of data communications. If the generator polynomial is invariant, the circuit scale (hardware scale) can be further reduced if the memory is read-only memory (ROM) and the data is written in the ROM in advance by the above-described method.

【0020】上述の実施例では、データがバイナリーで
ある場合について説明したが、多値符号においても同様
にして本発明を適用することができる。
In the above embodiment, the case where the data is binary has been described, but the present invention can be similarly applied to the multilevel code.

【0021】[0021]

【発明の効果】以上説明したように、本発明では、予め
定められた書き込みアドレスに対応して互いに異なる複
数のMビットデータをそれぞれメモリに記憶データとし
て格納しておき、受信ブロック符号列のブロック符号毎
にブロック符号を読出アドレスとしてメモリをアクセス
して記憶データを誤り訂正データとして読み出すように
したから、符号誤り訂正処理を行う際ハードウェア規模
が少なくて済みしかも処理時間を短縮できるという効果
がある。
As described above, according to the present invention, a plurality of M-bit data different from each other corresponding to a predetermined write address are stored in the memory as storage data, and the blocks of the reception block code string are stored. Since the memory is accessed as the error correction data by accessing the memory using the block code as the read address for each code, the hardware scale is small when performing the code error correction process, and the processing time can be shortened. is there.

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

【図1】本発明による符号誤り訂正回路の一実施例を示
すブロック図である。
FIG. 1 is a block diagram showing an embodiment of a code error correction circuit according to the present invention.

【符号の説明】[Explanation of symbols]

1 シフトレジスタ 2 メモリ 3 データ発生器 4 符号化回路 5 誤り付加回路 6a,6b スイッチ 1 shift register 2 memory 3 data generator 4 encoding circuit 5 error addition circuit 6a, 6b switch

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 Mビット(Mは正の整数)の送信データ
に対してNビット(Nは正の整数)の検査ビットを付加
してブロック符号化されたブロック符号列を受信ブロッ
ク符号列として受け前記受信ブロック符号列を復号する
復号装置に用いられ、予め定められた書き込みアドレス
に対応して互いに異なる複数のMビットデータがそれぞ
れ記憶データとして格納されたメモリと、前記受信ブロ
ック符号列のブロック符号毎に該ブロック符号を読出ア
ドレスとして前記メモリをアクセスして前記記憶データ
を誤り訂正データとして読み出す読出手段とを有するこ
とを特徴とする符号誤り訂正回路。
1. A block code string block-coded by adding N-bit (N is a positive integer) check bit to M-bit (M is a positive integer) transmission data as a reception block code string. A memory used in a decoding device that receives the received block code string, stores a plurality of M-bit data different from each other as storage data corresponding to a predetermined write address, and a block of the received block code string. A code error correction circuit comprising: a read unit that accesses the memory by using the block code as a read address for each code and reads the stored data as error correction data.
【請求項2】 請求項1に記載された符号誤り訂正回路
において、さらに、互いに異なる2M 個のMビットデー
タを発生するデータ発生器と、前記Mビットデータに対
してNビットの検査ビットを付加して(M+N)ビット
のブロック符号に符号化する符号化回路と、該(M+
N)ビットのブロック符号に対してPビット(P<N)
のランダム誤りを発生させて誤り付加コードとして出力
する誤り付加回路とを有し、前記誤り付加コードを書き
込みアドレスとして前記Mビットデータが前記メモリに
書き込まれるようにしたことを特徴とする符号誤り訂正
回路。
2. The code error correction circuit according to claim 1, further comprising a data generator that generates 2 M M-bit data different from each other and an N-bit check bit for the M-bit data. An encoding circuit for adding and encoding into a block code of (M + N) bits;
P bits (P <N) for N) bit block code
Error-adding circuit for generating a random error and outputting it as an error-adding code, and the M-bit data is written in the memory using the error-adding code as a write address. circuit.
【請求項3】 請求項1に記載された符号誤り訂正回路
において、前記読出手段は(M+N)ビットのシフトレ
ジスタであり、前記Mビットデータを前記メモリに書き
込む際前記メモリに前記データ発生器を接続するととも
に前記誤り付加回路を前記メモリに接続するスイッチ手
段が備えられており、前記誤り訂正データを生成する際
該スイッチ手段は前記シフトレジスタに接続されるとと
もに出力端子に接続されるようにしたことを特徴とする
符号誤り訂正回路。
3. The code error correction circuit according to claim 1, wherein the reading means is a (M + N) -bit shift register, and the data generator is stored in the memory when the M-bit data is written in the memory. Switch means for connecting the error addition circuit to the memory is provided, and the switch means is connected to the shift register and the output terminal when the error correction data is generated. A code error correction circuit characterized by the above.
JP14634395A 1995-06-13 1995-06-13 Code error correction circuit Withdrawn JPH08340260A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP14634395A JPH08340260A (en) 1995-06-13 1995-06-13 Code error correction circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP14634395A JPH08340260A (en) 1995-06-13 1995-06-13 Code error correction circuit

Publications (1)

Publication Number Publication Date
JPH08340260A true JPH08340260A (en) 1996-12-24

Family

ID=15405564

Family Applications (1)

Application Number Title Priority Date Filing Date
JP14634395A Withdrawn JPH08340260A (en) 1995-06-13 1995-06-13 Code error correction circuit

Country Status (1)

Country Link
JP (1) JPH08340260A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6954554B2 (en) * 2001-08-30 2005-10-11 Daewoo Electronics Corporation Block coding/decoding method and apparatus for increasing code rate

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6954554B2 (en) * 2001-08-30 2005-10-11 Daewoo Electronics Corporation Block coding/decoding method and apparatus for increasing code rate

Similar Documents

Publication Publication Date Title
US6639865B2 (en) Memory device, method of accessing the memory device, and reed-solomon decoder including the memory device
US6385751B1 (en) Programmable, reconfigurable DSP implementation of a Reed-Solomon encoder/decoder
JP3234130B2 (en) Error correction code decoding method and circuit using this method
JPS60140981A (en) Method and device for decoding digital coded word of coded word system
KR100403634B1 (en) Memory device for applying to high speed pipeline Reed-Solomon decoder and method of memory access and Reed-Solomon decoder having the memory device
US11757567B2 (en) Devices and methods for encoding and decoding to implement a maximum transition avoidance coding with minimum overhead
JPS632370B2 (en)
US20040088497A1 (en) Methods and apparatus for exchanging data using cyclic redundancy check codes
EP0608848B1 (en) Cyclic coding and cyclic redundancy code check processor
KR100499467B1 (en) Block interleaving method, and apparatus for the same
US4519079A (en) Error correction method and apparatus
JPH08340260A (en) Code error correction circuit
NO843657L (en) DECODER
JPH0361210B2 (en)
JPH0691471B2 (en) Error correction circuit
KR940007422B1 (en) Rs decoding system without using buffer register
JPS61242426A (en) Chained encoding and error correcting circuit
JP3728011B2 (en) Error correction method and error correction apparatus
KR880012030A (en) Data receiver
JPH06303149A (en) Decoder for bch code
JPH0636286B2 (en) Error correction method and apparatus
RU1810909C (en) Error corrector
KR100925429B1 (en) Turbo coder
JPH03117923A (en) Error correcting decoder
KR940001603A (en) How to fix error

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20020903