JPH077919B2 - Binary information conversion circuit - Google Patents
Binary information conversion circuitInfo
- Publication number
- JPH077919B2 JPH077919B2 JP61042220A JP4222086A JPH077919B2 JP H077919 B2 JPH077919 B2 JP H077919B2 JP 61042220 A JP61042220 A JP 61042220A JP 4222086 A JP4222086 A JP 4222086A JP H077919 B2 JPH077919 B2 JP H077919B2
- Authority
- JP
- Japan
- Prior art keywords
- information
- error
- code
- conversion circuit
- binary information
- 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
- 238000006243 chemical reaction Methods 0.000 title claims description 11
- 208000011580 syndromic disease Diseases 0.000 description 6
- 230000005540 biological transmission Effects 0.000 description 5
- 238000010586 diagram Methods 0.000 description 4
- 108010076504 Protein Sorting Signals Proteins 0.000 description 3
- 230000000694 effects Effects 0.000 description 2
Landscapes
- Detection And Correction Of Errors (AREA)
- Error Detection And Correction (AREA)
Description
【発明の詳細な説明】 産業上の利用分野 本発明なリードソロモン符号を用いた誤り訂正部の2進
情報変換回路に関する。Description: TECHNICAL FIELD The present invention relates to a binary information conversion circuit of an error correction unit using a Reed-Solomon code according to the present invention.
従来の技術 情報列a0,a1,……,ak-1を多項式表現S(x)を次式で
示す。ART information sequence a 0, a 1, indicating ......, ak -1 polynomial expression S (x) with the following equation.
S(x)=a0xk-1+a1xk-2+……ak-2x+ak-1 ……
(1) リードソロモン符号のm次生成多項式G(x)を用いて
符号語を生成し、それを多項式表現したものをF1(x)
として次式で示す。S (x) = a 0 xk -1 + a 1 xk -2 + …… ak -2 x + ak -1 ……
(1) Generate a codeword using the m-th order generator polynomial G (x) of the Reed-Solomon code, and express it in polynomial form as F 1 (x)
Is shown by the following equation.
F1(x)=a0xn-1+a1xn-2+……ak-1xn-k +b0xm-1+……+bm-2x+bm-1 ……(2) ここでkは情報部の長さ、mは検査符号の長さ、nは符
号語の長さ(n=m+k)を示す。 F 1 (x) = a 0 xn -1 + a 1 xn -2 + ...... ak -1 xn - k + b 0 xm -1 + ...... + bm -2 x + bm -1 ...... (2) where k is the information unit , M is the length of the check code, and n is the length of the codeword (n = m + k).
このように生成される符号語を送信信号とし、伝送して
受信側において、検査符号により伝送中に生じた誤りの
訂正が行なわれる。誤り訂正はシンドロームを生成する
ことにより誤り位置情報と誤りパターンを算出すること
により行なわれる。ここで得らる誤り位置情報は、例え
ば式(2)でa1が誤った場合、誤り位置情報としてn−
2が得られる。ところで、訂正する際、誤り位置情報よ
りa1が蓄えられているメモリのアドレス値を算出する必
要がある。一般にメモリには式(2)においてa0がアド
レス0、a1がアドレス1、……の場所に書込まれてい
る。従って、符号長nを28とした時、0→27,1→26,…
…,26→1,27→0というように誤り位置情報から実際の
メモリのアドレス値に変換しなければならない。以上の
ような動作を実現する回路として第4図に示すようなRO
Mを使用したものが考えられる。ROMへの入力としてEL0
〜EL4の5ビットの誤り位置情報からなりROM内で変換を
行った後、アドレス信号としてA0〜A4を出力するもので
ある。The code word generated in this way is used as a transmission signal and transmitted, and the receiving side corrects the error that occurred during transmission by the check code. Error correction is performed by generating syndromes and calculating error position information and error patterns. The error position information obtained here is, for example, n− as the error position information when a 1 is incorrect in Expression (2).
2 is obtained. By the way, when correcting, it is necessary to calculate the address value of the memory in which a 1 is stored from the error position information. Generally, in the memory, a 0 is written in address 0, a 1 is written in address 1, ... Therefore, when the code length n is 28, 0 → 27, 1 → 26, ...
The error position information must be converted into the actual memory address value, such as 26 → 1, 27 → 0. As a circuit that realizes the above operation, RO as shown in FIG.
It is possible to use M. EL0 as input to ROM
After the conversion was carried out in the ROM consists of 5 bits of error position information ~EL4, and outputs the A 0 to A 4 as an address signal.
発明が解決しようとする問題点 上記のようにROMを用いた構成では、符号長さの長さが
変わるとROMのデータを変更しなければならない。従っ
てLSI化を考えた場合、ROMを内蔵してしまうと符号長を
固定しなければならないため汎用性がなくなる。汎用性
を保つにはROMを外付けしなければならないなど問題が
多い。Problems to be Solved by the Invention In the configuration using the ROM as described above, the data in the ROM must be changed when the code length changes. Therefore, when considering the LSI, if the ROM is built in, the code length must be fixed, and the versatility is lost. There are many problems such as having to attach an external ROM to maintain versatility.
本発明はこのような問題点を考慮して、ROMを使用せず
に、LSI化に適した2進情報変換回路を提供するもので
ある。In consideration of such a problem, the present invention provides a binary information conversion circuit suitable for LSI without using a ROM.
問題点を解決するための手段 本発明はシンドロームより得られた誤り位置情報よりメ
モリのアドレス信号を生成するに際し、符号長nより1
を引いた2進情報の各ビットを反転する手段と、反転し
た結果と誤り位置情報を加算する手段と、加算した結果
を反転する手段を備え、誤り位置情報から符号語の蓄え
られているメモリのアドレス信号を生成する2進情報変
換回路である。Means for Solving Problems When the address signal of the memory is generated from the error position information obtained from the syndrome, the present invention uses the code length n of 1
A memory for storing a code word from the error position information, comprising means for inverting each bit of the binary information obtained by subtraction, means for adding the inverted result and error position information, and means for inverting the added result. 2 is a binary information conversion circuit for generating the address signal.
作用 本発明は上記したとおり、インバータと加算器によりア
ドレス信号を生成することにより簡単な回路構成で実現
することができる。Action As described above, the present invention can be realized with a simple circuit configuration by generating an address signal with an inverter and an adder.
実施例 まず、本発明で用いた誤り訂正符号であるリードソロモ
ン符号について説明する。GF(2)上でのl次の既約多
項式F(x)を考えた場合、“0"と“1"の元しか存在し
ないのでGF(2)上ではF(x)は根を持たない。そこ
で、F(x)=0を満足する根αを考える。このとき零
元を含むαのべき乗で表わされる2n個の相異なる元0,α
0,α1,……,α2l-2は拡大体のGF(2l)を構成する。GF
(2l)の各元はα0(=1),α1,α2,……,αl-1の
線形結合として表現することができる。First, a Reed-Solomon code which is an error correction code used in the present invention will be described. Considering the irreducible polynomial F (x) of degree 1 on GF (2), since there are only elements of "0" and "1", F (x) has no root on GF (2). . Therefore, consider a root α that satisfies F (x) = 0. At this time, 2n different elements 0, α represented by the power of α including zero element
0 , α 1 , ..., α 2 l -2 form the extension field GF (2l). GF
Each element of (2l) can be expressed as a linear combination of α 0 (= 1), α 1 , α 2 , ..., α l -1 .
今、情報別a0,a1,……,ak-1を多項式表現すると、前記
したように(1)式 S(x)=a0xk-1+a1xk-2+……ak-2x+ak-1 ……
(1) となる。リードソロモン符号のm次生成多項式G(x)
は (3)式として表わされる。この生成多項式G(x)に
より得られる符号語は検査符号m個、最小距離(m+
1)となる。符号語を生成するには、まずxm・S(x)
を生成多項式G(x)で割り、剰除R(x)を求める。
このとき商をQ(X)とする xmS(x)=Q(x)G(x)+R(x) ……(4) となる。ここでF1(x)=xmS(x)+R(x)とする
と F1(x)=xmS(x)+R(x)=Q(x)G(x) …
…(5) となりF1(x)はG(x)で割り切れる。このときのF1
(x)の各係数列が符号語を表わす。剰除R(x)を R(x)=b0xm-1+b1xm-2+……bm-2x+bm-1 ……
(6) とすると、符号語の多項式表現F1(x)は F1(x)=a0xn-1+a1xn-2+……+ak-1xn-k+b0xm-1 +……+bm-2x+bm-1 ……(2) となる。ここでnは符号長を示す。(n=m+k) この符号語を送信信号列と考えると、元の情報列a0,a1,
…ak-1に検査符号列b0,b1,…,bm-1を付加して送信する
ことになる。Now, the information by a 0, a 1, ......, when polynomial representation of ak -1, as described above (1) S (x) = a 0 xk -1 + a 1 xk -2 + ...... ak -2 x + ak -1 ……
(1) M-th order generator polynomial G (x) of Reed-Solomon code
Is It is expressed as equation (3). The code words obtained by this generator polynomial G (x) are m check codes, and the minimum distance (m +
It becomes 1). To generate a codeword, first xmS (x)
Is divided by the generator polynomial G (x) to obtain the remainder R (x).
At this time, xmS (x) = Q (x) G (x) + R (x) (4) where the quotient is Q (X). If F 1 (x) = xmS (x) + R (x), then F 1 (x) = xmS (x) + R (x) = Q (x) G (x).
(5) and F 1 (x) is divisible by G (x). F 1 at this time
Each coefficient string in (x) represents a code word. The remainder R (x) is R (x) = b 0 xm -1 + b 1 xm -2 + ...... bm -2 x + bm -1 ......
When (6), polynomial representation F 1 codeword (x) is F 1 (x) = a 0 xn -1 + a 1 xn -2 + ...... + ak -1 xn - k + b 0 xm -1 + ...... + bm -2 x + bm -1 It becomes (2). Here, n indicates a code length. (N = m + k) Considering this codeword as a transmission signal sequence, the original information sequence a 0 , a 1 ,
The check code string b 0 , b 1 , ..., bm -1 is added to ... ak -1 and transmitted.
受信信号系列をF2(x)、伝送中に生ずる誤り系列をe
(x)とすると次式が成立する。The received signal sequence is F 2 (x), and the error sequence generated during transmission is e
When (x), the following equation is established.
F2(X)=F1(x)+e(x) ……(7) 受信側では伝送中に発生した誤りの有無を調べるために
シンドロームを生成する。シンドロームは受信信号系列
を生成多項式G(x)で割った剰除として求めることが
できる。F 2 (X) = F 1 (x) + e (x) (7) On the receiving side, a syndrome is generated to check whether or not there is an error that occurred during transmission. The syndrome can be obtained as a remainder obtained by dividing the received signal sequence by the generator polynomial G (x).
具体例として(8)式の4次生成多項式を用いた場合、 G(x)=(x−α0)(x−α1)(x−α2)(x
−α3) ……(8) このとき、シンドロームS0,S1,S2,S3は(9)式で表わ
される。As a specific example, when the fourth generation polynomial of Expression (8) is used, G (x) = (x−α 0 ) (x−α 1 ) (x−α 2 ) (x
-Α 3 ) (8) At this time, the syndromes S 0 , S 1 , S 2 , and S 3 are represented by the equation (9).
この場合、2箇所までの誤りであれば、その誤りの位置
と誤りパターンを求めることができる。 In this case, if the error is up to two points, the error position and the error pattern can be obtained.
受信信号の多項式表現F2(x)を次式で表わす。The polynomial expression F 2 (x) of the received signal is expressed by the following equation.
ここで、 は、元の情報ai,biの受信情報を示す。 here, Indicates the received information of the original information ai, bi.
今、誤りパターンとしてei,ejとすると F2(x)=F1(x)+eixi+ejxj ……(11) が得られる。従って、シンドロームより次式が得られ
る。Now, assuming that the error pattern is ei, ej, F 2 (x) = F 1 (x) + eixi + ejxj (11) is obtained. Therefore, the following equation is obtained from the syndrome.
(12)式より誤りパターンei,ejと誤り位置i,jを算出す
ることができる。 The error pattern ei, ej and the error position i, j can be calculated from the equation (12).
信号フォーマットとして第2図の場合を考える。Nブロ
ックを単位に誤り訂正を完結するとし、1ブロックの長
さは32、2系列のリードソロモン符号C1,C2は図中矢印
の方向に生成系列をとるものとし、ともに長さは4とす
る。Consider the case of FIG. 2 as the signal format. When the error correction is completed in units of N blocks, the length of one block is 32, and the two-series Reed-Solomon codes C 1 and C 2 take a generation sequence in the direction of the arrow in the figure, and both have a length of 4 And
受信側では一旦Nブロック分の受信信号をメモリに書込
んだ後、C1,C2の順に誤り訂正を行なう。その際、生成
系列毎に逐次信号を読み出して行なわれる。第2図の信
号フォーマットを便宜上、そのままメモリ上に配置する
ことにし、下位5ビットのアドレス信号により縦方向の
位置を指定し、6ビット目以上のアドレス信号によりブ
ロック方向(横方向)の位置を指定するものとする。と
ころで、(10)式で示した受信信号において、C1生成系
列では、第3図(a)に示すように下位5ビットのアド
レス信号が0,1,2,……の場所にはd31,d30,d29,…の信号
が書込まれることになる。例えばd29が誤っていたとす
ると誤り位置を算出した結果i=29が得られるが、誤り
の訂正を行なう際はメモリ上のアドレスに変換しなけれ
ばならない。すなわち、第3図(a)の列ではi=29の
かわりに下位5ビットのアドレス2にする必要がある。
同様に0→31,1→30,……,30→1,31→0となるように算
出された誤り位置より、メモリのアドレス値に変換す
る。第3図(b)にはC2生成系列を示す。C2の符号語の
長さは28であり、従ってこの場合は求まった誤り位置情
報から、0→27,1→27,2→25,……,26→1,27→0となる
ように変換しなければならない。On the receiving side, once the received signals for N blocks are written in the memory, error correction is performed in the order of C 1 and C 2 . At that time, the signal is sequentially read for each generation sequence. For the sake of convenience, the signal format of FIG. 2 is arranged in the memory as it is, the vertical position is specified by the lower 5 bit address signal, and the position in the block direction (horizontal direction) is specified by the 6th bit or more address signal. Shall be specified. By the way, in the received signal represented by the equation (10), in the C 1 generation sequence, as shown in FIG. 3 (a), the address signal of the lower 5 bits is d 31 at the place of 0, 1, 2 ,. The signals of, d 30 , d 29 , ... Will be written. For example, if d 29 is erroneous, i = 29 is obtained as a result of calculating the error position, but it must be converted to an address on the memory when correcting the error. That is, in the column of FIG. 3 (a), it is necessary to use address 2 of the lower 5 bits instead of i = 29.
Similarly, the error position calculated to be 0 → 31, 1 → 30, ..., 30 → 1, 31 → 0 is converted into a memory address value. FIG. 3 (b) shows a C 2 generation sequence. The length of the code word of C 2 is 28. Therefore, in this case, from the error position information obtained, 0 → 27,1 → 27,2 → 25, ……, 26 → 1,27 → 0 I have to convert.
第1図に本発明による2進情報変換回路を示す。1はイ
ンバータ、2は5ビットのバイナリ加算器、3はインバ
ータである。インバータ1に符号長nから1を引いた2
進情報を入力する。nが28であれば、11011を入力す
る。この時インバータ1の出力は00100となる。誤り位
置情報が24、すなわち2進数表現で11000の時、加算器
2により出力として11100が得られる。従ってインバー
タ3によりアドレス信号として00011、10進表現で3が
得られる。これは符号長が28であれば24→3に変換され
ることから正常に動作されていることがわかる。第1図
の回路構成では符号長が32までしか対応できないがそれ
以上必要な時でもビット数を増加させるだけで適応でき
る。例えば符号長が50であれば第1図において6ビット
の構成とすればよい。又、この時、符号長が28であった
としても符号長から1を引いた2進情報値を011011とす
ればよい。FIG. 1 shows a binary information conversion circuit according to the present invention. Reference numeral 1 is an inverter, 2 is a 5-bit binary adder, and 3 is an inverter. Inverter 1 minus 1 from code length 2
Enter the base information. If n is 28, 11011 is input. At this time, the output of the inverter 1 becomes 00100. When the error position information is 24, that is, when the binary representation is 11000, 11100 is obtained as an output by the adder 2. Therefore, the inverter 3 obtains 00011 as an address signal and 3 in decimal notation. If the code length is 28, this is converted from 24 to 3, so it can be seen that the operation is normal. The circuit configuration of FIG. 1 can handle code lengths up to 32, but when more code length is required, it can be adapted by increasing the number of bits. For example, if the code length is 50, the configuration of 6 bits in FIG. 1 may be used. At this time, even if the code length is 28, the binary information value obtained by subtracting 1 from the code length may be 011011.
発明の効果 以上説明したように、本発明によれば、インバータと加
算器による2進情報変換回路の実現で、ROMを使用する
ことなく回路が簡単となりLSI化に適したものとするこ
とができる。又、符号長を変えた場合にも同一の回路構
成で実現することができ実用的効果は大きい。EFFECTS OF THE INVENTION As described above, according to the present invention, by implementing a binary information conversion circuit by an inverter and an adder, the circuit can be simplified without using a ROM and can be suitable for LSI implementation. . Further, even if the code length is changed, it can be realized with the same circuit configuration, and the practical effect is great.
第1図は本発明における一実施例の2進情報変換回路の
回路図、第2図は誤り訂正符号の生成系列を示す信号フ
ォーマット図、第3図はアドレス変換の動作の説明図、
第4図は従来の2進情報変換回路を示す説明図である。 1……インバータ、2……加算器、3……インバータ。FIG. 1 is a circuit diagram of a binary information conversion circuit according to an embodiment of the present invention, FIG. 2 is a signal format diagram showing an error correction code generation sequence, and FIG. 3 is an explanatory diagram of an address conversion operation.
FIG. 4 is an explanatory diagram showing a conventional binary information conversion circuit. 1 ... Inverter, 2 ... Adder, 3 ... Inverter.
───────────────────────────────────────────────────── フロントページの続き (72)発明者 武内 宏壮 大阪府門真市大字門真1006番地 松下電器 産業株式会社内 (56)参考文献 特開 昭58−66159(JP,A) ─────────────────────────────────────────────────── ─── Continuation of the front page (72) Inventor Hirotake Takeuchi 1006 Kadoma, Kadoma City, Osaka Prefecture Matsushita Electric Industrial Co., Ltd. (56) Reference JP-A-58-66159 (JP, A)
Claims (1)
なうに際し、符号語の長さがn(nは正の整数)の場
合、(n−1)の2進情報を反転する手段と、反転した
結果と誤り位置情報i(iは正の整数、かつ0≦i<
n)の2進情報を加算する手段と、加算結果を反転する
手段を備え、前記誤り位置情報iから符号語の蓄えられ
ているメモリのアドレス情報(n−i−1)に変換する
2進情報変換回路。1. When performing error correction using a Reed-Solomon code, when the length of the code word is n (n is a positive integer), means for inverting the binary information of (n-1) and inversion. Result and error position information i (i is a positive integer and 0 ≦ i <
n) binary means for adding the binary information and means for inverting the addition result, and converting the error position information i into address information (ni-1) of the memory in which the code word is stored. Information conversion circuit.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP61042220A JPH077919B2 (en) | 1986-02-27 | 1986-02-27 | Binary information conversion circuit |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP61042220A JPH077919B2 (en) | 1986-02-27 | 1986-02-27 | Binary information conversion circuit |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS62199122A JPS62199122A (en) | 1987-09-02 |
| JPH077919B2 true JPH077919B2 (en) | 1995-01-30 |
Family
ID=12629952
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP61042220A Expired - Lifetime JPH077919B2 (en) | 1986-02-27 | 1986-02-27 | Binary information conversion circuit |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH077919B2 (en) |
Families Citing this family (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2722553B2 (en) * | 1988-11-10 | 1998-03-04 | 三菱電機株式会社 | Error correction decoder |
| JP2560876B2 (en) * | 1990-03-16 | 1996-12-04 | 日本電気株式会社 | Error address generation circuit |
-
1986
- 1986-02-27 JP JP61042220A patent/JPH077919B2/en not_active Expired - Lifetime
Also Published As
| Publication number | Publication date |
|---|---|
| JPS62199122A (en) | 1987-09-02 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JPH0389631A (en) | Decoding method and device | |
| Chang et al. | Algebraic decoding of (71, 36, 11),(79, 40, 15), and (97, 49, 15) quadratic residue codes | |
| KR880014463A (en) | Reed-Solomon error correction code encoder | |
| JPS60144834A (en) | Arithmetic circuit for finite field | |
| JP3176171B2 (en) | Error correction method and apparatus | |
| KR19980702551A (en) | Improved 3, 4 error correction systems | |
| JP3000811B2 (en) | Cyclic coding and CRC device and processing method thereof | |
| JPH077919B2 (en) | Binary information conversion circuit | |
| KR100281946B1 (en) | Syndrome calculation device | |
| KR940011663B1 (en) | Error Correction System | |
| JPS6217256B2 (en) | ||
| JP2622957B2 (en) | Coding and decoding method of BCH code | |
| JPS6135731B2 (en) | ||
| JP2543319B2 (en) | Encoder | |
| JPH1032497A (en) | Error evaluation polynomial coefficient computing device | |
| KR950008485B1 (en) | Unierror correction r-s decoder | |
| JPS6150416B2 (en) | ||
| JP2537178B2 (en) | Data processing device | |
| JP2534563B2 (en) | Tolerable error successive correction circuit | |
| KR0137354B1 (en) | Error Detection and Correction Method in Wireless Data Communication | |
| KR900000670Y1 (en) | Cord word generator of read-solomon encoder | |
| JP2752510B2 (en) | Error correction decoder | |
| KR100212830B1 (en) | Syndrome Calculator of Reed Solomon Decoder | |
| Clarke | R&d white paper | |
| JPH0636286B2 (en) | Error correction method and apparatus |