JPS6260320A - Error correction circuit - Google Patents

Error correction circuit

Info

Publication number
JPS6260320A
JPS6260320A JP20000585A JP20000585A JPS6260320A JP S6260320 A JPS6260320 A JP S6260320A JP 20000585 A JP20000585 A JP 20000585A JP 20000585 A JP20000585 A JP 20000585A JP S6260320 A JPS6260320 A JP S6260320A
Authority
JP
Japan
Prior art keywords
syndrome
bit
error
data
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.)
Granted
Application number
JP20000585A
Other languages
Japanese (ja)
Other versions
JPH0691471B2 (en
Inventor
Makoto Nakamura
誠 中村
Fumio Sugiyama
文夫 杉山
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.)
Toshiba Corp
Original Assignee
Toshiba 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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP60200005A priority Critical patent/JPH0691471B2/en
Publication of JPS6260320A publication Critical patent/JPS6260320A/en
Publication of JPH0691471B2 publication Critical patent/JPH0691471B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Error Detection And Correction (AREA)

Abstract

PURPOSE:To ensure the error position of 2-bit or over simply by giving a syndrome to an address of a storage device and outputting a data representing the bit error location decided by a syndrome from the storage device. CONSTITUTION:A received data M'(X) is inputted to a syndrome detection circuit 11 in an error correction circuit to obtain a syndrome S(X). An error position detection ROM 12 uses the syndrome S(X) as an address input and a data E(X) representing the bit error location specified by the syndrome S(X) is outputted. That is, each data is stored in a storage location of the ROM 12 addressed by using the syndrome corresponding to all bit errors. Then the error bit of the received data M'(X) is inverted by a circuit composing of the error bit inverting circuit 13 based on all data E(X). Thus, the error correction is applied without a complicated algorithm and then the circuit constitution is simplified and the reliability is improved.

Description

【発明の詳細な説明】 〔発明の技術分野〕 本発明は、誤り訂正能力を有するブロック符号データを
受入れて復号化する際に用いられる誤り訂正回路に関す
る。
DETAILED DESCRIPTION OF THE INVENTION [Technical Field of the Invention] The present invention relates to an error correction circuit used when accepting and decoding block code data having error correction capability.

〔発明の技術的背景とその問題点〕[Technical background of the invention and its problems]

近年、ディジタル通信技術の発展に伴い、誤り訂正符号
が盛んに利用されている。とりわけ衛星通信、移動通信
のように伝送路の信頼性が低い無線ディジタル通信にお
いては誤り訂正技術は不可欠の技術であり、さらに近年
は磁気記録装置へのディジタル信号の記録再生にも誤り
訂正技術が広く利用されている。誤り訂正符号は大きく
分けてブロック符号、畳込み符号に大別されるが、なか
でも巡回符号を用いたブロック符号は種々の冗長度や誤
り訂正能力をもつものが数多く知られており、広く利用
されている。
In recent years, with the development of digital communication technology, error correction codes have been widely used. Error correction technology is an essential technology, especially in wireless digital communications where the reliability of the transmission path is low, such as satellite communications and mobile communications.Furthermore, in recent years, error correction technology has also been used for recording and reproducing digital signals on magnetic recording devices. Widely used. Error correction codes can be broadly divided into block codes and convolutional codes, but block codes using cyclic codes are known to have various levels of redundancy and error correction ability, and are widely used. has been done.

ところで、巡回符号のうちBC)−1(ポース・チョー
ドリ・オッケンジエム)符号は、ランダム誤りを訂正す
る符号であり、2ビツト以上の誤り位置決定のためのア
ルゴリズムとしてピーターソンの方法、バーレンカンブ
の方法、あるいはマツシイの方法等、種々の方式が提案
されている。しかし、これらの方法は、いずれも学術的
にはともかくとして極めて複雑な演算を必要とすること
から実用上有用な方法とは言い難く、一般には2ビツト
以上の訂正にはあまり使用されていないというのが実状
であった。
By the way, among the cyclic codes, the BC)-1 (Porth Chaudhry Ockenziem) code is a code that corrects random errors, and algorithms for determining error positions of 2 or more bits include Peterson's method, Verrenkumbe's method, Various methods have been proposed, such as Matsushii's method. However, all of these methods require extremely complex calculations, so it is difficult to say that they are useful in practice, and they are generally not used for corrections of 2 bits or more. That was the actual situation.

(発明の目的〕 本発明は、このような事情に基づきなされたもので、そ
の目的とするところは、極めて簡易な方法で、2ビツト
以上の誤り位置を確定することができる誤り訂正回路を
提供することにある。
(Objective of the Invention) The present invention was made based on the above circumstances, and its purpose is to provide an error correction circuit that can determine the error position of two or more bits using an extremely simple method. It's about doing.

〔発明の概要〕[Summary of the invention]

本発明は、情報ビットと冗長ビットとで構成される受入
データを生成多項式で除算してシンドロームを求めるシ
ンドローム検出手段と、このシンドローム検出手段をア
ドレスとして入力し上記シンドロームで一意的に特定さ
れるビット誤り位置を示すデータを出力する記憶手段と
、この記憶手段からの出力データを用いて前記受入デー
タの誤りビットを訂正する誤りビット訂正手段とを具備
したことを特徴としている。
The present invention provides a syndrome detection means for calculating a syndrome by dividing received data consisting of information bits and redundant bits by a generating polynomial, and a syndrome detection means for inputting this syndrome detection means as an address and bits uniquely specified by the syndrome. It is characterized by comprising a storage means for outputting data indicating the error position, and an error bit correction means for correcting the error bits of the received data using the output data from the storage means.

〔発明の効果〕〔Effect of the invention〕

本発明によれば、記憶装置のアドレスにシンドロームを
与え、記憶装置からシンドロームによって決まるビット
誤り位置を示すデータを出力データとして出力するよう
にしているので、2ビツト以上の誤り訂正を11雑なア
ルゴリズムを用いることなく行なうことができる。した
がって、回路構成の簡単化、これによる通信システム、
磁気記録装置等の信頼性向上に寄与できる。このような
効果は訂正可能なビット数が増えれば増える程一層顕著
に現れる。
According to the present invention, a syndrome is given to the address of the storage device, and data indicating the bit error position determined by the syndrome is outputted from the storage device as output data. This can be done without using. Therefore, the circuit configuration is simplified, and the communication system thereby
It can contribute to improving the reliability of magnetic recording devices, etc. This effect becomes more noticeable as the number of bits that can be corrected increases.

〔発明の実施例〕[Embodiments of the invention]

以下、本発明の詳細な説明する。 The present invention will be explained in detail below.

ここでは−例としてBCH符号を用いる場合について考
える。
Here, we will consider a case where a BCH code is used as an example.

いま、誤り訂正符号の符号語M(X)がガロア体GF(
Q)の元で構成され、その生成多項式G(×)が、GF
(q)の拡大体GE(qm)の元により定められている
とき、符号IM(X)はG(X)で割切れる。このよう
な符号語M(X)を採用すれば、入力された符号語M’
  (X)が生成多項式でG(X)で割切れるかどうか
によって誤り発生の有無がわかる。
Now, the code word M(X) of the error correction code is a Galois field GF (
Q), whose generating polynomial G(×) is GF
When defined by the element of the extension field GE(qm) of (q), the code IM(X) is divisible by G(X). If such a code word M(X) is adopted, the input code word M'
Whether or not an error has occurred can be determined by whether (X) is a generator polynomial and is divisible by G(X).

いま、入力された符号語M’  (X)が伝送誤りを含
む場合、符号語M’  (X)をG(X)で除算した余
りはOにはならない。誤りが生じたビットを“1′′、
その他を“0パとする符号列をE (X)とすると、 M’  (X)=M (X)+E (X)(「十」は法
2加算)であるから、M’  (X)をa<X>で除算
した余りは、E (X)/G (X)の余りと等しい、
この余りをシンドローム5(X)と呼ぶ。このシンドロ
ーム5(X)が2ビツトまでの誤りの全てのパターンに
ついて異なる値をとり得れば、シンドローム5(X)か
ら2ビツトまでの誤りを訂正することができる。
If the input code word M' (X) includes a transmission error, the remainder when the code word M' (X) is divided by G (X) will not be O. The bit where the error occurred is set to “1'',
Let E (X) be a code string in which the rest is 0, then M' (X) = M (X) + E (X) ('10' is modulo 2 addition), so M' (X) can be The remainder after dividing by a<X> is equal to the remainder of E (X)/G (X).
This remainder is called syndrome 5(X). If this syndrome 5(X) can take different values for all patterns of errors up to 2 bits, then errors up to 2 bits from syndrome 5(X) can be corrected.

第1図は本発明の一実施例を示す図である。すなわち、
この誤り訂正回路は、受入データM′(X)から上述し
たシンドロームを求めるシンドローム検出回路11と、
このシンドローム検出回路11から出力されるシンドロ
ーム5(X)をアドレス入力してこのシンドローム5(
X)によって特定されるビット誤り位置を示すデータE
 (X)を出力する誤り位置検出ROM12と、この誤
り位置検出ROM12から出力されるデータE (X>
に基づいて受入データM’  (X)の誤りビットを反
転させる誤りビット反転回路13とで構成されている。
FIG. 1 is a diagram showing an embodiment of the present invention. That is,
This error correction circuit includes a syndrome detection circuit 11 that obtains the above-mentioned syndrome from received data M'(X);
Syndrome 5(X) outputted from this syndrome detection circuit 11 is inputted as an address,
Data E indicating the bit error position specified by
(X) and the data E (X>
The error bit inverting circuit 13 inverts the error bits of the received data M'(X) based on the error bits of the received data M'(X).

いま、受入データM’  (X)が符号ビット長31(
情報ビット長16、冗長ビット長15)で、3ビットま
での誤りを訂正できる(31.16)のBCH符号であ
るとする。そして、生成多項式を、Q (X) =X1
 ’ +X11 +XI O+X9+ Xll + X
7 + X5 + Xl + X2+x+1 とする。
Now, the received data M' (X) has a code bit length of 31 (
Assume that the BCH code has an information bit length of 16, a redundancy bit length of 15), and is capable of correcting errors of up to 3 bits (31.16). Then, the generator polynomial is defined as Q (X) =X1
' +X11 +XI O+X9+ Xll + X
7 + X5 + Xl + X2+x+1.

このような31ビツトの受入データM’  (X)が、
シンドローム検出回路11に入力されると、シンドロー
ム検出回路11では受入データM’  (X)を生成多
項式a (X)で除算してシンドローム5(X)を算出
する。シンドローム5(X)は、生成多項式a (X)
の次数が15であるから15ビツトのデータとなる。
Such 31-bit received data M' (X) is
When input to the syndrome detection circuit 11, the syndrome detection circuit 11 divides the received data M'(X) by the generating polynomial a(X) to calculate syndrome 5(X). Syndrome 5(X) is the generator polynomial a (X)
Since the order of is 15, the data is 15 bits.

第2図にシンドローム5(X)検出の一例を示す。なお
、ここでは簡単のために生成多項式が、g’  (X)
=X5+X2+i である場合の例を示した。
FIG. 2 shows an example of syndrome 5(X) detection. Note that here, for simplicity, the generator polynomial is g' (X)
An example where =X5+X2+i is shown.

すなわち、まずデータ入力に先だって遅延回路21.2
2.23.24.25が全てクリアされる。次に高次の
ビットから順次シリアルに入力された受入データは、E
X−OR回路26において、遅延回路25の出力信号と
排他的論理和され、遅延回路21に与えられる。遅延回
路21に入力されたビットデータは、所定のクロックに
従って遅延回路22〜25まで順次シフトされるが、遅
延回路22と23との間のEX−OR回路27において
再び遅延回路25の出力と排他的論理和がとられる。シ
ンドローム5(X)は、受入データの最後のビットがシ
ンドローム検出回路11に入力され、ざらにEX−OR
回路26を介して遅延回路21から出力された時に遅延
回路21〜25の出力信号として得られる。上述した1
5次の生成多項式〇(X)の場合にも、遅延回路が15
段になるだけで第2図の回路と全く同じ原理の検出回路
を構成することができる。
That is, first, before data input, the delay circuit 21.2
2.23.24.25 are all cleared. Next, the received data serially input from the higher order bit is E
The X-OR circuit 26 performs an exclusive OR with the output signal of the delay circuit 25 and provides the result to the delay circuit 21 . The bit data input to the delay circuit 21 is sequentially shifted to the delay circuits 22 to 25 according to a predetermined clock, but is again exclusive to the output of the delay circuit 25 in the EX-OR circuit 27 between the delay circuits 22 and 23. The logical OR is taken. For syndrome 5 (X), the last bit of the received data is input to the syndrome detection circuit 11 and roughly EX-OR
When the signal is output from the delay circuit 21 via the circuit 26, it is obtained as the output signal of the delay circuits 21-25. 1 mentioned above
Even in the case of a fifth-order generator polynomial 〇(X), the delay circuit is 15
A detection circuit based on the same principle as the circuit shown in FIG. 2 can be constructed by simply using the stages.

このようにして得られたシンドロームS(X>は、誤り
位置検出ROM12にアドレスデータとして与えられる
The syndrome S(X> thus obtained is given to the error position detection ROM 12 as address data.

例えば下位16ビツト目が誤ったとすると、シンドロー
ムは、X15をQ (X)で除算した余りであるから、 S (X> =X” 1 +xl O+X9 +X8+
XT+XS +X3 +X2 +X +1 となる。従って、ROM12のアドレスには、なるアド
レスデータが与えられる。そして、このアドレスで示さ
れるROM12の記憶場所には、oooooooooo
oooooioooooooooooooo。
For example, if the lower 16 bits are incorrect, the syndrome is the remainder when X15 is divided by Q (X), so S (X> =X” 1 +xl O+X9 +X8+
XT+XS +X3 +X2 +X +1. Therefore, the following address data is given to the address of the ROM 12. Then, the storage location of the ROM 12 indicated by this address contains oooooooooooo
ooooooiooooooooooooooo.

なるデータが記憶されており、これが出力される。This data is stored and output.

また、例えば下位4ビツト目、16ビツト目、17ビツ
ト目の3ビツトのデータが誤ったとすると、シンドロー
ムS (X)は、×15 +XI S +×3をQ(X
)で割った余りであるから、S (X) −Xl 2+
X7 +X6+X’+X’ +X3+1 となる。したがってROM12のアドレスには、なるア
ドレスデータが与えられる。そして、このアドレスで示
されるROIv112の記憶場所には、なるデータが記
憶されており、これが出力される。
For example, if the 3-bit data of the lower 4th bit, 16th bit, and 17th bit is incorrect, the syndrome S (X) is
), so S (X) −Xl 2+
It becomes X7 +X6+X'+X' +X3+1. Therefore, the following address data is given to the address of the ROM 12. Then, data is stored in the storage location of the ROIv 112 indicated by this address, and this data is output.

このように、全ての1ビット誤り、2ビット誤り、3ビ
ット誤りに対応するシンドロームでアドレスされるRO
M12の各記憶場所には、予めそれぞれのビット誤り位
置に“1″を立てた31ビツトデータを記憶しておく。
In this way, the RO addressed by the syndrome corresponding to all 1-bit errors, 2-bit errors, and 3-bit errors
In each storage location of M12, 31-bit data with "1" set at each bit error position is stored in advance.

訂正できる誤りは、1ビット誤りが31通り、2ビット
誤りが3102 =465通り、3ビット誤りが3 t
 C3=4495通りであるので、21 & =327
68あるアドレスのうちの約1/6に相当する。なあ、
ビット誤りが生じていない場合には、シンドローム検出
回路11からはアドレス(00・・・OO)が指定され
るので、この場所には(00・・・00)のデータを記
憶しておく。そして、これ以外のアドレスが指定される
場合は、4ビツト以上の誤りが生じたことを示しており
、この場合には誤り訂正が不可能である。したがって、
このようなアドレスで指定されるROM12の記憶場所
の全てには、訂正不能を知らせる特別のデータ、例えば
(11・・・11)のデータを記憶しておく。
The errors that can be corrected are 31 1-bit errors, 3102 = 465 2-bit errors, and 3 t3-bit errors.
Since C3 = 4495 ways, 21 & = 327
This corresponds to about 1/6 of the 68 addresses. Hey,
If no bit error has occurred, the syndrome detection circuit 11 specifies the address (00...OO), so data (00...00) is stored in this location. If an address other than this is specified, this indicates that an error of 4 bits or more has occurred, and in this case, error correction is impossible. therefore,
All of the storage locations in the ROM 12 designated by such addresses store special data indicating that correction is impossible, for example, data (11...11).

ROM12の出力データは、誤りビット反転回路13に
入力される。誤りビット反転回路13は、例えば第3図
に示すように構成されている。すなわち、受入データM
’  (X)は、31ビツトのシフトレジスタ31にシ
リアルに入力される。31ビツトの受入データの全ての
ビットがシフトレジスタ31に格納されたら、受入デー
タはシフトレジスタ31から31ビツトのラッチ回路3
2にラッチされる。そして、各ビットデータは各々EX
−○R回路331.332 、・・・、3331の一方
の入力に与えられる。一方、誤り位置検出ROM12か
らの誤り位置データE(X)も31ビツトのラッチ回路
34にラッチされ、各々EX−OR回路331.332
 、・・・、33ヨ1の他方の入力に与えられる。また
、ラッチ回路34の出力はAND回路35にも入力され
ている。
The output data of the ROM 12 is input to the error bit inversion circuit 13. The error bit inversion circuit 13 is configured as shown in FIG. 3, for example. That is, the received data M
'(X) is serially input to a 31-bit shift register 31. When all bits of the 31-bit received data are stored in the shift register 31, the received data is transferred from the shift register 31 to the 31-bit latch circuit 3.
It is latched to 2. And each bit data is EX
It is given to one input of the -○R circuits 331, 332, . . . , 3331. On the other hand, the error position data E(X) from the error position detection ROM 12 is also latched in the 31-bit latch circuit 34, and the EX-OR circuits 331 and 332 are respectively latched.
, . . , 33 is given to the other input of 1. Further, the output of the latch circuit 34 is also input to an AND circuit 35.

いま、受入データに誤りがないときは、ラッチ回路34
の出力は、全て0″であるから、受入データは、EX−
OR回路33工、332 、・・・。
If there is no error in the received data, the latch circuit 34
Since the output of is all 0'', the received data is EX-
OR circuit 33, 332,...

333工によっては何等左右されず、そのまま出力され
る。
333 It is not influenced in any way by the construction and is output as is.

一方、受入データに3ビツト以下の誤りがある場合には
、ROM12からは誤り位置に“1″が立ったデータが
出力されるので、入力データは、EX−OR回路331
.332 、・・・、3331によって反転され、これ
によって誤りが訂正されたデータM(X>がEX−OR
回路33t 、332 。
On the other hand, if there is an error of 3 bits or less in the received data, the ROM 12 outputs data with "1" set at the error position, so the input data is sent to the EX-OR circuit 331.
.. 332, . . . , 3331, and error-corrected data M (X> is
Circuits 33t, 332.

・・・、3331から出力される。..., output from 3331.

また、4ビツト以上の誤りが生じた場合には、ラッチ回
路34の出力が全て“′1”になるので、AND回路3
5の出力が“○”から1”に反転し、これが誤り検出信
号ERRとして出力される。
Furthermore, if an error of 4 bits or more occurs, all the outputs of the latch circuit 34 become "'1", so the AND circuit 3
The output of 5 is inverted from "○" to 1, and this is output as the error detection signal ERR.

このように本実施例によれば、誤り位置検出ROM12
を用いた極めて簡単な回路構成により、また複雑なアル
ゴリズムを一切用いることなく2ビツト以上のランダム
誤りを訂正でき、誤り訂正符号の実用化に大きく寄与す
ることは明らかである。
In this way, according to this embodiment, the error position detection ROM 12
It is clear that random errors of 2 bits or more can be corrected by using an extremely simple circuit configuration using an extremely simple circuit configuration, and without using any complicated algorithms, and it will greatly contribute to the practical application of error correction codes.

なお、本発明は、上述した実施例に限定されるものでは
ない。
Note that the present invention is not limited to the embodiments described above.

例えば上記実施例では31個のEX−OR回路を使用し
て受入データとビット誤り位置を示すデータとのEX−
ORを並列的にとるようにしたが、受入データがシリア
ルに入力されるので、誤りビット反転回路13の出力デ
ータも1ピッ1−ずつ出力するようにすれば、EX−O
R回路は1つで足りることになる。第4図はこのような
考えに基づき構成された回路である。
For example, in the above embodiment, 31 EX-OR circuits are used to perform an EX-OR operation between the received data and the data indicating the bit error position.
Although the OR is performed in parallel, since the received data is input serially, if the output data of the error bit inversion circuit 13 is also output one by one, EX-O
One R circuit is sufficient. FIG. 4 shows a circuit constructed based on this idea.

すなわち、誤り位置検出ROM41に与えるアドレスの
うち下位15ビツトを上記実施例と同様のシンドローム
5(X)で与え、上位5ビツトに5ビツトのカウンタ4
2からの出力を与える。そして、カウンタ42を所定の
クロックに従って順次カウントアツプさせ、アドレスを
更新していく。
That is, of the address given to the error position detection ROM 41, the lower 15 bits are given with syndrome 5(X) similar to the above embodiment, and the upper 5 bits are given with a 5-bit counter 4.
Gives the output from 2. Then, the counter 42 is sequentially counted up according to a predetermined clock to update the address.

ROM41には、例えば第5図に示すように、データの
ビット位置を示す上位5ビツトooooo〜11111
とシンドロームとが結合されて構成されたアドレスの記
憶場所に、そのシンドロームによって特定される31ビ
ツトのビット誤り位置データのうち、上記上位5ビツト
で決まるビット位置のビットデータが1ビツトだけデー
タとして格納されている。例えば第5図に示すように、
シンドロームが、 であるとき、そのビツト誤り位置データが、であること
は前述したが、この例では上記31ビツトのデータのう
ちのカウンタ42の出力で特定されるビット位置の1ビ
ツトデータのみをROM41の内部に記憶させておくよ
うにしている。そして、このROM41の出力と受入デ
ータとをEX−OR回路43に入力させて誤り訂正を行
なうものとなっている。
In the ROM 41, for example, as shown in FIG.
Out of the 31-bit bit error position data specified by the syndrome, only 1 bit of bit data at the bit position determined by the upper 5 bits is stored as data in the storage location of the address configured by combining and the syndrome. has been done. For example, as shown in Figure 5,
As mentioned above, when the syndrome is , the bit error position data is . However, in this example, only 1-bit data at the bit position specified by the output of the counter 42 out of the 31-bit data is stored in the ROM 41 . I am trying to store it internally. Then, the output of the ROM 41 and the received data are input to an EX-OR circuit 43 for error correction.

このような構成であれば、カウンタ42のカウントアツ
プによって31ビツトのデータがROM 41からシリ
アルに出力されるので、第3図に示したような31ビツ
トのシフトレジスタ31、ラッチ32.34おにび31
個(7)EX−OR回路331〜3331を必要としな
いという利点がある。
With this configuration, 31-bit data is serially output from the ROM 41 by counting up the counter 42, so the 31-bit shift register 31 and latches 32 and 34 as shown in FIG. 31
There is an advantage that (7) EX-OR circuits 331 to 3331 are not required.

また、上記実施例では誤り位置を示すデータに31ビツ
トのデータを用い、このデータのピッl−データが1”
の部分が誤りであることを示したが、この31ビツトの
データを5ビツトのバイナリ−データで示すようにして
もよい。第6図にこの例を示す。
Furthermore, in the above embodiment, 31-bit data is used as the data indicating the error position, and the pitch data of this data is 1''.
Although this part has been shown to be an error, this 31-bit data may be represented as 5-bit binary data. An example of this is shown in FIG.

すなわち、誤り位置検出ROM51は、そのメモリ空間
のうちの最上位アドレスが“O11になる第1の領域と
、1”になる第2の領域とに分割されている。そして、
2ビット誤りのうち上位の誤りビットの位置を示す5ビ
ツトのバイナリ−データが、上記第1の領域の対応する
シンドロームで特定される記憶場所に記憶され、同下位
の誤りビットの位置を示す5ビツトのバイナリ−データ
が、上記第2の領域の対応するシンドロームで特定され
る記憶場所に記憶されている。当初ROM51のアドレ
スの最上位ビットは“OIIに設定されている。ROM
51の出力は、コンパレータ52の第1の入力端子に導
入されている。一方、コンパレータ52の第2の入力端
子には、5ビツトのカウンタ53からの出力が与えられ
ている。
That is, the error position detection ROM 51 is divided into a first area where the highest address of the memory space is "O11" and a second area where the highest address is "1". and,
5-bit binary data indicating the position of the higher-order error bit among the 2-bit errors is stored in the storage location specified by the corresponding syndrome in the first area, and 5-bit binary data indicating the position of the lower-order error bit Bit binary data is stored in the memory location specified by the corresponding syndrome in the second area. Initially, the most significant bit of the address of the ROM 51 is set to “OII.”
The output of 51 is introduced into a first input terminal of comparator 52. On the other hand, the second input terminal of the comparator 52 is supplied with the output from the 5-bit counter 53.

カウンタ53は高速クロックφによって駆動され、(0
)から(31)までのバイナリ−コードを出力する。コ
ンパレータ52は両人力データが一致したら1°′を出
力する。一方、受入データM′(X)は、シフトレジス
タ54に導入されている。
The counter 53 is driven by a high-speed clock φ and is (0
) to (31) are output. The comparator 52 outputs 1°' when both human force data match. On the other hand, the received data M'(X) is introduced into the shift register 54.

このシフトレジスタ54は、カウンタ53の高速クロッ
クφで駆動されている。したがって、コンパレータ52
から1”が出力された時に、シフトレジスタから出力さ
れているビットデータは誤りということになる。そこで
、コンパレータ52の出力が1111+になったときに
は、シフトレジスタ54の出力をEX−OR回路55で
反転さゼれば、誤り訂正を行なうことができる。なお、
コンパレータ52からの“1″出力は、RSSフリップ
フロラフ路56のセット(S)端子に与えられているの
で、RSSフリップフロラフ路56の出力はO″から“
1″に反転し、ROM51のアドレスの農上位ビットは
“1″となる。そして、再び同様の手順で2ビツト目の
誤り訂正が行われる。なお、誤り訂正が終了したら、カ
ウンタ53とRSフリップフロップ56のリセット(R
)端子に、外部らのリセット信号R8が与えられる。
This shift register 54 is driven by the high speed clock φ of the counter 53. Therefore, comparator 52
When 1" is output from the shift register, the bit data being output from the shift register is an error. Therefore, when the output of the comparator 52 becomes 1111+, the output of the shift register 54 is sent to the EX-OR circuit 55. If it is reversed, error correction can be performed.
Since the "1" output from the comparator 52 is given to the set (S) terminal of the RSS flip flow path 56, the output of the RSS flip flow path 56 changes from O" to "
1", and the high-order bit of the address in the ROM 51 becomes "1". Then, the second bit error correction is performed again in the same procedure. When the error correction is completed, the counter 53 and the RS flip-flop 56 reset (R
) terminal is given an external reset signal R8.

訂正できる誤りビットの数が増えれば、RSフリップフ
ロップの数を増やせば良い。
If the number of error bits that can be corrected increases, the number of RS flip-flops can be increased.

このような構成であれば、誤り位置検出ROM51の容
量を前述した各実施例のものに比べて5/31に削減す
ることができる。
With such a configuration, the capacity of the error position detection ROM 51 can be reduced to 5/31 compared to that of each of the embodiments described above.

この他、本発明はシンドロームからビット誤り位置を検
出する記憶装置としてRAMや磁気ディスクなど他の記
憶装置を用いるようにしてもよい。
In addition, the present invention may use other storage devices such as a RAM or a magnetic disk as a storage device for detecting bit error positions from syndromes.

また、巡回符号の種類はBCHに限らず、シンドローム
からビット誤り位置を特定できる誤り訂正能力を有する
符号であれば、この発明を適用可能である。
Further, the type of cyclic code is not limited to BCH, and the present invention can be applied to any code having an error correction ability that can identify bit error positions from syndromes.

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

第1図は本発明の一実施例に係る誤り訂正回路のブロッ
ク図、第2図は同誤り訂正回路におけるシンドローム検
出回路の一例を示すブロック図、第3図は同誤り訂正回
路における誤りビット反転回路の一例を示すブロック図
、第4図は本発明の他の実施例に係る誤り訂正回路の一
部を示すブロック図、第5図は同誤り訂正回路における
ROMの内容を示す図、第6図は本発明の更に他の実施
例に係る誤り訂正回路の一部を示すブロック図である。 21〜25・・・遅延回路、31・・・シフトレジスタ
、32.34・・・ラッチ回路、56・・・RSSフリ
ップフロラフ路。 出願人代理人 弁理士 鈴江武彦 第1図 E(X) 第4図 第5図 5(X) 第6図
Fig. 1 is a block diagram of an error correction circuit according to an embodiment of the present invention, Fig. 2 is a block diagram showing an example of a syndrome detection circuit in the error correction circuit, and Fig. 3 is an error bit inversion in the error correction circuit. 4 is a block diagram showing a part of an error correction circuit according to another embodiment of the present invention; FIG. 5 is a block diagram showing the contents of a ROM in the error correction circuit; FIG. The figure is a block diagram showing a part of an error correction circuit according to still another embodiment of the present invention. 21-25... Delay circuit, 31... Shift register, 32.34... Latch circuit, 56... RSS flip flow path. Applicant's representative Patent attorney Takehiko Suzue Figure 1 E (X) Figure 4 Figure 5 5 (X) Figure 6

Claims (3)

【特許請求の範囲】[Claims] (1)情報ビットと冗長ビットとで構成された受入デー
タを生成多項式で除算してシンドロームを求めるシンド
ローム検出手段と、このシンドローム検出手段から出力
される前記シンドロームをアドレスとして入力し前記シ
ンドロームから一意的に決定する前記受入データのビッ
ト誤り位置を示すデータを出力する記憶装置と、この記
憶装置からの出力データを用いて前記受入データの誤り
ビットを訂正する誤りビット訂正手段とを具備したこと
を特徴とする誤り訂正回路。
(1) Syndrome detection means for dividing received data consisting of information bits and redundant bits by a generating polynomial to obtain a syndrome, and inputting the syndrome outputted from this syndrome detection means as an address and uniquely determining the syndrome from the syndrome. The method is characterized by comprising: a storage device that outputs data indicating a bit error position of the received data determined by the storage device; and an error bit correction means that corrects error bits of the received data using output data from the storage device. error correction circuit.
(2)前記記憶装置は、前記シンドロームからビット誤
り位置を一意的に決定できないときに前記受入データに
誤りがあつたことだけを知らせるデータを出力するもの
であることを特徴とする特許請求の範囲1項記載の誤り
訂正回路。
(2) The storage device outputs data that only indicates that there is an error in the received data when the bit error position cannot be uniquely determined from the syndrome. The error correction circuit described in Section 1.
(3)前記記憶装置はカウンタを備え、前記記憶装置の
アドレスの一部に前記シンドロームを与えるとともに残
りのアドレスに上記カウンタの出力を与え、前記シンド
ロームで特定されるビット誤り位置を示すデータのうち
前記カウンタで特定される位置のビットデータを出力す
るものであることを特徴とする特許請求の範囲第1項記
載の誤り訂正回路。
(3) The storage device includes a counter, gives the syndrome to a part of the addresses of the storage device, and gives the output of the counter to the remaining addresses, so that among the data indicating the bit error position specified by the syndrome, 2. The error correction circuit according to claim 1, wherein the error correction circuit outputs bit data at a position specified by the counter.
JP60200005A 1985-09-10 1985-09-10 Error correction circuit Expired - Lifetime JPH0691471B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60200005A JPH0691471B2 (en) 1985-09-10 1985-09-10 Error correction circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60200005A JPH0691471B2 (en) 1985-09-10 1985-09-10 Error correction circuit

Publications (2)

Publication Number Publication Date
JPS6260320A true JPS6260320A (en) 1987-03-17
JPH0691471B2 JPH0691471B2 (en) 1994-11-14

Family

ID=16417209

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60200005A Expired - Lifetime JPH0691471B2 (en) 1985-09-10 1985-09-10 Error correction circuit

Country Status (1)

Country Link
JP (1) JPH0691471B2 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63308444A (en) * 1987-06-10 1988-12-15 Matsushita Electric Ind Co Ltd Communication protocol processor
JPH01212924A (en) * 1988-02-19 1989-08-25 Sanyo Electric Co Ltd Error correction circuit
JPH01223827A (en) * 1988-03-03 1989-09-06 Nec Corp Error correction information output circuit
US8007556B2 (en) * 2003-12-24 2011-08-30 Saint-Gobain Centre De Recherches Et D'etudes Europeen Block for filtering particles contained in exhaust gases of an internal combustion engine

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4619931B2 (en) 2005-11-22 2011-01-26 株式会社東芝 Decoding device, storage device, and decoding method

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5644946A (en) * 1979-09-20 1981-04-24 Hitachi Ltd Code error correction and detection system
JPS5789349A (en) * 1980-11-22 1982-06-03 Nec Corp Decoder for error correction code

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5644946A (en) * 1979-09-20 1981-04-24 Hitachi Ltd Code error correction and detection system
JPS5789349A (en) * 1980-11-22 1982-06-03 Nec Corp Decoder for error correction code

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63308444A (en) * 1987-06-10 1988-12-15 Matsushita Electric Ind Co Ltd Communication protocol processor
JPH01212924A (en) * 1988-02-19 1989-08-25 Sanyo Electric Co Ltd Error correction circuit
JPH01223827A (en) * 1988-03-03 1989-09-06 Nec Corp Error correction information output circuit
US8007556B2 (en) * 2003-12-24 2011-08-30 Saint-Gobain Centre De Recherches Et D'etudes Europeen Block for filtering particles contained in exhaust gases of an internal combustion engine

Also Published As

Publication number Publication date
JPH0691471B2 (en) 1994-11-14

Similar Documents

Publication Publication Date Title
EP0136604B1 (en) Decoding method and system.
JPH07235880A (en) Digital data coding method
JPS60204125A (en) Decoding device
CN111597072B (en) Error control coding ECC system and memory device including the same
CN111628780A (en) Data encoding method, data decoding method and data processing system
EP0101218A2 (en) Methods of correcting errors in binary data
JPS62190931A (en) Apparatus for calculating byte for patrol redundancy test
JPH10107650A (en) Error detection circuit and error correction circuit
JPS59151246A (en) Encoder inspector
JPH10107646A (en) Crc code generating circuit, code error detection circuit and crc circuit
CA1213673A (en) Burst error correction using cyclic block codes
US8631307B2 (en) Method for encoding and/or decoding multimensional and a system comprising such method
US6536009B1 (en) Technique for generating single-bit error-correcting, two-bit burst error-detecting codes
JPS6260320A (en) Error correction circuit
JP7429223B2 (en) Turbo product code decoding method, device, decoder and computer storage medium
JP2003078421A (en) Method and device for detecting first position of code series, and decoding method and device using the sames
JPS6260319A (en) Error correction circuit
JPH0361210B2 (en)
Key Some error-correcting codes and their applications
RU1810909C (en) Error corrector
JPH05151007A (en) Crc arithmetic unit
RU2282307C2 (en) Method for syndrome decoding for convolution codes
JP2008112522A (en) Device and method for detecting error
Houghton et al. Cyclic redundancy checking
Sokolovskyi et al. DEVELOPMENT OF THE METHOD OF DETECTING AND CORRECTING DATA TRANSMISSION ERRORS IN IOT SYSTEMS FOR MONITORING THE STATE OF OBJECTS.