JPS6355815B2 - - Google Patents

Info

Publication number
JPS6355815B2
JPS6355815B2 JP573882A JP573882A JPS6355815B2 JP S6355815 B2 JPS6355815 B2 JP S6355815B2 JP 573882 A JP573882 A JP 573882A JP 573882 A JP573882 A JP 573882A JP S6355815 B2 JPS6355815 B2 JP S6355815B2
Authority
JP
Japan
Prior art keywords
register
multiplier
polynomial
symbol part
output
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
Application number
JP573882A
Other languages
Japanese (ja)
Other versions
JPS58123252A (en
Inventor
Yasuo Sugyama
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP573882A priority Critical patent/JPS58123252A/en
Publication of JPS58123252A publication Critical patent/JPS58123252A/en
Publication of JPS6355815B2 publication Critical patent/JPS6355815B2/ja
Granted legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03MCODING; DECODING; CODE CONVERSION IN GENERAL
    • H03M13/00Coding, decoding or code conversion, for error detection or error correction; Coding theory basic assumptions; Coding bounds; Error probability evaluation methods; Channel models; Simulation or testing of codes
    • H03M13/03Error detection or forward error correction by redundancy in data representation, i.e. code words containing more digits than the source words
    • H03M13/05Error detection or forward error correction by redundancy in data representation, i.e. code words containing more digits than the source words using block codes, i.e. a predetermined number of check bits joined to a predetermined number of information bits
    • H03M13/13Linear codes
    • H03M13/15Cyclic codes, i.e. cyclic shifts of codewords produce other codewords, e.g. codes defined by a generator polynomial, Bose-Chaudhuri-Hocquenghem [BCH] codes

Landscapes

  • Physics & Mathematics (AREA)
  • Algebra (AREA)
  • General Physics & Mathematics (AREA)
  • Mathematical Physics (AREA)
  • Pure & Applied Mathematics (AREA)
  • Probability & Statistics with Applications (AREA)
  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Error Detection And Correction (AREA)

Description

【発明の詳細な説明】 この発明は、データ伝送において伝送路に生じ
た誤りを訂正するための誤り訂正符号の一種であ
る短縮巡回符号の符号化回路に関するものであ
る。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to an encoding circuit for a shortened cyclic code, which is a type of error correction code for correcting errors occurring in a transmission path during data transmission.

従来技術の構成を記述するに先立つて、従来の
短縮巡回符号について、簡単に説明する。
Prior to describing the configuration of the prior art, the conventional shortened cyclic code will be briefly explained.

従来のガロア体GF(q)上の符号長n、情報記
号数kの短縮巡回符号(以後、q元(n、k)短
縮巡回符号と略す)の符号語(X)の構成を、
第1図に示す。第1図に示すように、情報記号部
m(X)が、符号語(X)の高次の部分を、検
査記号部(X)が、符号語(X)の低次の部
分を占めている。すなわち、 (X)=(X)Xm+(X) …(1) である。ここで、mは検査シンボル数であり、即
ち符号長n、情報記号数kであるとき、m=n−
kであたえられる。また、この発明において表わ
れる数式演算(加算、乗算)は、すべてガロア体
GF(q)でおこなわれる。
The structure of the code word (X) of a conventional shortened cyclic code (hereinafter abbreviated as q-element (n, k) shortened cyclic code) with code length n and number of information symbols k on Galois field GF(q) is as follows:
Shown in Figure 1. As shown in Figure 1, the information symbol part m(X) occupies the high-order part of the code word (X), and the check symbol part (X) occupies the low-order part of the code word (X). There is. That is, (X)=(X)X m +(X)...(1). Here, m is the number of check symbols, that is, when the code length is n and the number of information symbols is k, m=n−
It is given by k. In addition, all mathematical operations (addition, multiplication) appearing in this invention are in Galois type.
It is done in GF(q).

そして、符号語(X)は、生成多項式g(X)
によつて割り切れなければならない。すなわち、 (X)≡0 mod g(X) …(2) ここで、記号≡は、合同式を示し、mod g
(X)は、g(X)によつて法をとることを示す。
また、g(X)の次数はmである。
And the code word (X) is the generator polynomial g(X)
must be divisible by. That is, (X)≡0 mod g(X) …(2) Here, the symbol ≡ indicates a congruence expression, and mod g
(X) indicates modulo by g(X).
Further, the order of g(X) is m.

このようなq元(n、k)短縮巡回符号の符号
語(X)は、情報記号部(X)を与えて、 (X)≡−(X)Xm mod g(X)
…(3) を満足するような検査記号部(X)を求めるこ
とによつて、生成できる。そして、式(3)は多項式
m(X)Xmを生成多項式g(X)で割算したとき
の剰余が(X)であることを意味している。
The code word (X) of such a q-element (n, k) shortened cyclic code is given by the information symbol part (X) and is expressed as (X)≡−(X)X m mod g(X)
...It can be generated by finding a check symbol part (X) that satisfies (3). Equation (3) means that the remainder when polynomial m(X)X m is divided by generator polynomial g(X) is (X).

このような検査記号部(X)を求めるための
符号化回路のうち、フイードバツクシフトレジス
タを用いた形式のものが、第2図に示されてい
る。図において、1は入力端子、2は出力端子、
3は減算器、4は乗算器、5はスイツチ、M1,1
M1,2,………,M1,n-1,M1,nは乗算器、R1,1
R1,2,………,R1,n-1,R1,nはレジスタ、A1,1,…
……,A1,n-2,A1,n-1は加算器である。
Among the encoding circuits for determining such a check symbol part (X), one using a feedback shift register is shown in FIG. In the figure, 1 is an input terminal, 2 is an output terminal,
3 is a subtracter, 4 is a multiplier, 5 is a switch, M 1,1 ,
M 1,2 , ......, M 1,n-1 , M 1,n is a multiplier, R 1,1 ,
R 1,2 ,......, R 1,n-1 , R 1,n are registers, A 1,1 ,...
..., A 1,n-2 , A 1,n-1 are adders.

次に動作について説明する。まず最初に、スイ
ツチ5を閉にし、かつレジスタR1,1、レジスタ
R1,2,………、レジスタR1,n-1、レジスタR1,n
値を0にする。次に入力端子1に、情報記号部
X (X)=K-1i=0 i Xi …(4) の最高次の係数k-1を入力する。従つて、レジ
スタR1,nの内容がスイツチ5を通して、減算器3
に与えられているから、減算器3によつて入力
k−1からレジスタR1,nの内容が減算される。減算
器3の出力は剰算器4によつて係数gn -1をかけら
れる。乗算器4の出力は、乗算器M1,1、乗算器
M1,2,………、乗算器M1,n-1、乗算器M1,nに与え
られる。乗算器4の出力は、乗算器M1,nによつ
て係数gn-1をかけられ、さらに加算器A1,n-1によ
つて、レジスタR1,n-1の内容を加えられ、レジス
タR1,nに納められる。乗算器4の出力は、乗算器
M1,n-1によつて係数gn-2をかけられ、さらに加算
器A1,n-2によつて、レジスタR1,n-2の内容を加え
られ、レジスタR1,n-1に納められる。乗算器4の
出力は、乗算器M1,2によつて係数g1をかけられ、
さらに加算器A1,1によつて、レジスタR1,1の内容
を加えられ、レジスタR1,2に納められる。乗算器
4の出力は、乗算器M1,1によつて係数g0をかけら
れ、レジスタR1,1に納められる。ついで、情報記
号部(X)の最高次の次の係数k-2を入力す
る。それを入力として、上記の動作を繰り返し、
レジスタR1,1、レジスタR1,2,………、レジスタ
R1,n-1、レジスタR1,nの内容を更新する。さら
に、つづけて、情報記号部(X)を高次の係数
の方から順次入力し、上記の動作を繰り返す。
Next, the operation will be explained. First, close switch 5, and register R 1,1 and register
The values of R 1,2 , ......, register R 1,n-1 , and register R 1,n are set to 0. Next, input the highest order coefficient k-1 of the information symbol part X (X)= K-1i=0 i X i (4) to the input terminal 1. Therefore, the contents of register R1 ,n are passed through switch 5 to subtracter 3.
is given, so input by subtractor 3 is
The contents of register R 1,n are subtracted from k-1 . The output of the subtracter 3 is multiplied by a coefficient g n -1 by a remainder multiplier 4. The output of multiplier 4 is multiplier M 1,1 , multiplier
M 1,2 , ......, multiplier M 1,n-1 and multiplier M 1,n are given. The output of the multiplier 4 is multiplied by a coefficient g n-1 by a multiplier M 1,n and further added with the contents of the register R 1,n-1 by an adder A 1,n-1. , stored in register R 1,n . The output of multiplier 4 is
Multiplied by coefficient g n-2 by M 1,n-1 , further added with the contents of register R 1,n-2 by adder A 1,n-2 , and added to register R 1,n-2 by adder A 1,n-2. 1 . The output of multiplier 4 is multiplied by a factor g 1 by multiplier M 1,2 ,
Furthermore, the contents of register R 1,1 are added by adder A 1,1 and stored in register R 1,2 . The output of multiplier 4 is multiplied by a coefficient g 0 by multiplier M 1,1 and stored in register R 1,1 . Then, input the next highest coefficient k-2 of the information symbol part (X). Using that as input, repeat the above operation,
Register R 1,1 , Register R 1,2 , ………, Register
R 1,n-1 , updates the contents of register R 1,n . Furthermore, the information symbol part (X) is sequentially input from the higher-order coefficient, and the above operation is repeated.

最後に、情報記号部(X)の最低次の係数
を入力し、レジスタR1,1、レジスタR1,2,……
…、レジスタR1,n-1、レジスタR1,nの内容を更新
する。このとき、得られたレジスタR1,n、レジス
タR1,n-1,………、レジスタR1,2、レジスタR1,1
の内容が、検査記号部(X)の係数n-1n
−2,………,10にそれぞれ対応している。
ここで (X)=n-1i=0 i Xi …(5) である。
Finally, the lowest order coefficient of the information symbol part (X)
Input 0 , register R 1,1 , register R 1,2 ,...
..., register R 1,n-1 , updates the contents of register R 1,n . At this time, the obtained register R 1,n , register R 1,n-1 , ......, register R 1,2 , register R 1,1
The contents of are the coefficients n-1 , n of the inspection symbol part (X)
They correspond to −2 , ……, 1 , and 0 , respectively.
Here, (X)= n-1i=0 i X i …(5).

この後、スイツチ5を開にし、入力端子1に0
を与えた上で、レジスタR1,nの内容を、出力端子
2からとり出す。レジスタR1,n、レジスタ
R1,n-1,………、レジスタR1,2、およびレジスタ
R1,1の内容は、それぞれ、レジスタR1,n-1、レジ
スタR1,n-2,………、レジスタR1,1の内容、およ
び乗算器M1,1の出力に置き換えられる。
After this, switch 5 is opened and input terminal 1 is set to 0.
After giving , the contents of register R 1,n are taken out from output terminal 2. register R 1,n , register
R 1,n-1 ,……, register R 1,2 , and register
The contents of R 1,1 are replaced by the contents of register R 1,n-1 , register R 1,n-2 , ......, register R 1,1 , and the output of multiplier M 1,1, respectively. .

上記の動作をさらにm−1回繰り返すことによ
つて、出力端子2から所望の検査記号部r(X)
を得ることができる。
By repeating the above operation m-1 times, the desired test symbol part r(X) is output from the output terminal 2.
can be obtained.

このように、入力を情報記号部m(X)とし、
多項式m(X)Xmを生成多項式g(X)によつて
割算した時の剰余多項式を求め、それを検査記号
部としてとり出せばよい。
In this way, let the input be the information symbol part m(X),
The remainder polynomial obtained when the polynomial m(X)X m is divided by the generator polynomial g(X) may be obtained, and this may be taken out as the check symbol part.

従来のq元(n、k)短縮巡回符号の符号化回
路は、以上のように構成されているので、検査記
号部が低次の部分に固定されており、検査記号部
が低次の部分にないような短縮巡回符号の符号化
回路には使用できないという欠点があつた。
The conventional encoding circuit for a q-element (n, k) shortened cyclic code is configured as described above, so that the check symbol part is fixed to the low-order part, and the check symbol part is fixed to the low-order part. The drawback was that it could not be used in encoding circuits for shortened cyclic codes, such as those not found in

この発明はこれらの欠点を解消するためになさ
れたもので、検査記号部が低次の部分にないよう
なq元(n、k)短縮巡回符号の符号化回路を提
供するものである。
The present invention has been made to eliminate these drawbacks, and provides an encoding circuit for a q-element (n, k) shortened cyclic code in which the check symbol part is not in a lower-order part.

この発明の構成を記述するに先立つて、検査記
号部が低次の部分にないような短縮巡回符号につ
いて説明する。検査記号部が低次の部分にないよ
うなq元(n、k)短縮巡回符号の符号語V(X)
の構成を第3図に示す。第3図に示すように、情
報記号部が符号語V(X)の高次の部分と低次の
部分を占め、検査記号部r(X)がその間の部分
を占めている。ここで、高次の情報記号部をmu
(X)、低次の情報記号部をmL(X)と表わすと、
符号語V(X)は、 V(X)=mu(X)Xm+L+r(X)XL+mL(X) …(6) と表わされる。そして、符号語V(X)は、生成
多項式g(x)によつて割り切れなければならな
い。すなわち、 V(X)≡0 mod g(X) …(7) この符号語V(X)において、高次の情報記号部
mu(X)と低次の情報記号部mL(X)とを与え
て、 r(X)XL≡−muXm+L −mL(X) mod g(X) …(8) を満足するような検査記号部r(X)を求めたい。
Lは符号語V(x)において、次数が低次の情報
記号部分の長さ(単位はシンボル)。一方、次数
が高次の情報記号の長さはK−L(シンボル)あ
り、両者の合計でKシンボルの情報が符号語内に
存在する。uは次数が高次の情報シンボル部分を
示す添字(サフイクス)であり、例えばmu(x)
は次数が高次の情報記号部分の多項式を示しru
(x)は高次の情報記号部分の多項式mu(x)に
よる検査記号成分を示す。そのような検査記号部
r(X)を求めるため、検査記号部r(X)を高次
の情報記号部mu(X)による検査記号部成分ru
(X)と低次の情報記号部mL(X)による検査記
号成分rL(X)とに分解する。すなわち、 ru(X)≡−mu(X)Xm mod g(X) …(9) rL(X)XL≡−mL(X) mod g(X) …(10) r(X)=ru(X)+rL(X) …(11) である。したがつて、入力mu(X)に対して出力
ru(X)を求め、入力mL(X)に対して出力rL(X)
を求め、2つの出力ru(X)とrL(X)を加算し
て、所望の検査記号部r(X)を得るという手法
をとる。
Before describing the configuration of the present invention, a shortened cyclic code in which the check symbol part is not in a lower order part will be explained. Codeword V(X) of a q-element (n, k) shortened cyclic code whose check symbol part is not in a low-order part
The configuration is shown in Figure 3. As shown in FIG. 3, the information symbol part occupies the high-order part and the low-order part of the code word V(X), and the check symbol part r(X) occupies the part between them. Here, the higher-order information symbol part is m u
(X), and the lower-order information symbol part is expressed as m L (X).
The code word V(X) is expressed as V(X)=m u (X)X m+L +r(X)X L +m L (X) (6). Then, the code word V(X) must be divisible by the generator polynomial g(x). That is, V(X)≡0 mod g(X) …(7) In this code word V(X), the higher-order information symbol part
Given m u (X) and the low-order information symbol part m L (X), r(X)X L ≡−m u X m+L −m L (X) mod g(X) …(8 ) We would like to find a test symbol part r(X) that satisfies the following.
L is the length of the low-order information symbol part (unit: symbol) in the code word V(x). On the other hand, the length of a higher-order information symbol is K-L (symbols), and a total of K symbols of information exists in the code word. u is a subscript indicating a higher-order information symbol part; for example, m u (x)
indicates the polynomial of the information symbol part with higher degree r u
(x) indicates the check symbol component by the polynomial m u (x) of the high-order information symbol part. In order to obtain such a check symbol part r(X), check symbol part r(X) is converted into a check symbol part component r u by a higher-order information symbol part m u (X).
(X) and a check symbol component r L (X) by the low-order information symbol part m L (X). That is, r u (X)≡−m u (X)X m mod g(X) …(9) r L (X)X L ≡−m L (X) mod g(X) …(10) r( X)=r u (X)+r L (X)...(11). Therefore, for input m u (X), output
Find r u (X) and output r L (X) for input m L (X)
A method is used in which the desired check symbol part r(X) is obtained by adding the two outputs r u (X) and r L (X).

2つの検査記号成分ru(X)とrL(X)のうち、
ru(X)は容易に求めることができる。すなわち、
式(9)は、多項式mu(X)Xmを生成多項式g(X)
で割算したときの剰余が、ru(X)であることを
意味している。このことは、式(3)のもつ意味と全
く同一であり、ru(X)を求めるための回路は、
従来の短縮巡回符号の符号化回路と全く同一の形
式となる。
Of the two test symbol components r u (X) and r L (X),
r u (X) can be easily determined. That is,
Equation (9) generates the polynomial m u (X)X m by the polynomial g(X)
This means that the remainder when divided by is r u (X). This is exactly the same as the meaning of equation (3), and the circuit for determining r u (X) is
The format is exactly the same as the conventional shortened cyclic code encoding circuit.

次に、残りの検査記号成分rL(X)の求め方を
述べる。まず、 f(X)XL≡−1 mod g(X)…(12) なる多項式f(x) f(X)=n-1i=0 fiXi …(13) を、回路設計に先立つて求めておく。式(10)と式(11)
とから、 rL(X)≡−mL(X)f(X) mod g(X)
…(14) が成立する。この式(14)は、入力mL(X)を多
項式f(X)で乗算したのち、多項式g(X)で割
算すれば、その剰余がrL(X)であることを意味
している。
Next, how to obtain the remaining test symbol component r L (X) will be described. First, the polynomial f(x) f(X)= n-1i=0 f i X i ... (13) is used for circuit design. Please ask in advance. Equation (10) and Equation (11)
Since, r L (X)≡−m L (X) f(X) mod g(X)
…(14) holds true. This equation (14) means that if the input m L (X) is multiplied by the polynomial f (X) and then divided by the polynomial g (X), the remainder is r L (X). There is.

以下第4図に示すこの発明の一実施例について
説明する。第4図において、1は入力端子、2は
出力端子、3は減算器、4は乗算器、5はスイツ
チ、6は入力端子、7は出力端子、8は乗算器、
9はスイツチ、10は加算器、11は出力端子、
M1,1,M1,2,………,M1,n-1,M1,nは乗算器、
R1,1,R1,2,………,R1,n-1,R1,nはレジスタ、
A1,1,………,A1,n-2,A1,n-1は加算器、M2,1
M2,2,………,M2,n-1,M2,nは乗算器、R2,1
R2,2,………,R2,n-1,R2,nはレジスタ、A2,1
A2,2,………,A2,n-1,A2,nは加算器、M3,1
M3,2,………,M3,n-1,M3,nは乗算器である。
An embodiment of the present invention shown in FIG. 4 will be described below. In FIG. 4, 1 is an input terminal, 2 is an output terminal, 3 is a subtracter, 4 is a multiplier, 5 is a switch, 6 is an input terminal, 7 is an output terminal, 8 is a multiplier,
9 is a switch, 10 is an adder, 11 is an output terminal,
M 1,1 , M 1,2 , ......, M 1,n-1 , M 1,n is a multiplier,
R 1,1 , R 1,2 , ......, R 1,n-1 , R 1,n are registers,
A 1,1 , ......, A 1,n-2 , A 1,n-1 is an adder, M 2,1 ,
M 2,2 , ......, M 2,n-1 , M 2,n is a multiplier, R 2,1 ,
R 2,2 , ......, R 2,n-1 , R 2,n is a register, A 2,1 ,
A 2,2 , ......, A 2,n-1 , A 2,n is an adder, M 3,1 ,
M 3,2 , ......, M 3,n-1 , M 3,n are multipliers.

第4図の上半分が、入力mu(X)に対して出力
ru(X)を求める回路であり、第4図の下半分が、
入力mL(X)に対して出力rL(X)を求める回路
であり、右端の加算器10が出力ru(X)と出力
rL(X)を加算して所望の検査記号部r(X)を求
める回路である。
The upper half of Figure 4 is the output for the input m u (X)
The circuit for calculating r u (X) is shown in the lower half of Figure 4.
This is a circuit that calculates the output r L (X) for the input m L (X), and the rightmost adder 10 outputs r u (X) and
This circuit adds r L (X) to obtain a desired check symbol part r(X).

次に、動作について説明する。第4図の上半分
は、入力mu(X)に対して出力ru(X)を求める
回路であり、第2図に示された従来の、入力m
(X)に対して出力r(X)を求める短縮巡回符号
の、符号化回路の動作と、全く同一の動作をす
る。したがつて、入力mu(X)に対して出力ru
(X)を求める回路の動作の説明は省略する。
Next, the operation will be explained. The upper half of FIG. 4 is a circuit that obtains the output r u (X) for the input m u (X).
The operation is exactly the same as that of an encoding circuit for a shortened cyclic code that obtains the output r(X) for (X). Therefore, for input m u (X), output r u
A description of the operation of the circuit for obtaining (X) will be omitted.

次に、第4図の下半分の入力mL(X)に対して
出力rL(X)を求める回路の動作を説明する。ま
ず最初に、スイツチ9を閉にし、かつレジスタ
R2,1、レジスタR2,2,………、レジスタR2,n-1
レジスタR2,nの値を0にする。次に入力端子6
に、低次の情報記号部mL(X) mL(X)=L-1i=0 mL,iXi …(15) の最高次の係数mL,L-1を入力する。そして、その
値が、乗算器M3,1、乗算器M3,2,………、乗算器
M3,n-1、乗算器M3,nに与えられる。乗算器M3,1
は、入力mL,L-1と係数f0との乗算をおこなう。乗
算器M3,2は、入力mL,L-1と係数f1との乗算をおこ
なう。乗算器M3,n-1は、入力mL,L-1と係数fn-2
の乗算をおこなう。乗算器M3,nは、入力mL,L-1
係数fn-1との乗算をおこなう。
Next, the operation of the circuit for obtaining the output r L (X) for the input m L (X) in the lower half of FIG. 4 will be explained. First, close switch 9 and register
R 2,1 , register R 2,2 , ......, register R 2,n-1 ,
Set the value of register R 2,n to 0. Next, input terminal 6
Input the highest order coefficient m L,L-1 of the low-order information symbol part m L (X) m L (X) = L-1i=0 m L , i X i ...(15) . Then, the values are multiplier M 3,1 , multiplier M 3,2 , ......, multiplier
M 3,n-1 is given to the multiplier M 3,n . Multiplier M 3,1
multiplies the input m L,L-1 by the coefficient f 0 . Multiplier M 3,2 multiplies input m L,L-1 by coefficient f 1 . Multiplier M 3,n-1 multiplies input m L,L-1 by coefficient f n-2 . Multiplier M 3,n multiplies input m L,L-1 by coefficient f n-1 .

一方、レジスタR2,nの内容が、スイツチ9を通
つて乗算器8によつて係数(−gn -1)をかけられ
る。乗算器8の出力は、乗算器M2,1、乗算器
M2,2,………、乗算器M2,n-1、乗算器M2,nに与え
られる。乗算器M2,1は、乗算器8の出力と係数g0
との乗算をおこなう。乗算器M2,2は、乗算器8の
出力と係数g1との乗算をおこなう。乗算器M2,n-1
は、乗算器8の出力と係数gn-2との乗算をおこな
う。乗算器M2,nは、乗算器8の出力と係数gn-1
の乗算をおこなう。
On the other hand, the contents of register R 2,n are multiplied by a coefficient (-g n -1 ) by multiplier 8 through switch 9. The output of multiplier 8 is multiplier M 2,1 , multiplier
M 2,2 , ......, multiplier M 2,n-1 and multiplier M 2,n are given. Multiplier M 2,1 combines the output of multiplier 8 and coefficient g 0
Perform multiplication with . Multiplier M 2,2 multiplies the output of multiplier 8 by coefficient g 1 . Multiplier M 2,n-1
multiplies the output of the multiplier 8 by the coefficient g n-2 . Multiplier M 2,n multiplies the output of multiplier 8 by coefficient g n-1 .

ついで、加算器A2,nは乗算器M2,nの出力と乗算
器M3,nの出力とレジスタR2,n-1の内容を加算す
る。その加算器A2,nの出力がレジスタR2,nに納め
られる。加算器A2,n-1は乗算器M2,n-1の出力と乗
算器M3,n-1の出力とレジスタM2,n-2の内容を加算
する。その加算器A2,n-1の出力がレジスタR2,n-1
に納められる。加算器A2,2は乗算器M2,2の出力と
乗算器M3,2の出力とレジスタR2,1の内容を加算す
る。その加算器A2,2の出力がレジスタR2,2に納め
られる。加算器A2,1は、乗算器M2,1の出力と乗算
器M3,1の出力を加算する。その加算器A2,1の出力
がレジスタR2,1に納められる。
Then, adder A 2,n adds the output of multiplier M 2,n , the output of multiplier M 3,n , and the contents of register R 2,n-1 . The output of the adder A 2,n is stored in the register R 2,n . Adder A 2,n-1 adds the output of multiplier M 2,n-1 , the output of multiplier M 3,n-1 , and the contents of register M 2,n-2 . The output of the adder A 2,n-1 is the register R 2,n-1
It can be paid in Adder A 2,2 adds the output of multiplier M 2,2 , the output of multiplier M 3,2 , and the contents of register R 2,1 . The output of the adder A 2,2 is stored in the register R 2,2 . Adder A 2,1 adds the output of multiplier M 2,1 and the output of multiplier M 3,1 . The output of the adder A 2,1 is stored in the register R 2,1 .

ついで、低次の情報記号部mL(X)の最高次の
係数mL,L-2を入力する。それを入力として上記の
動作を繰り返し、レジスタR2,1、レジスタR2,2
………、レジスタR2,n-1、レジスタR2,nの内容を
更新する。
Next, the highest order coefficient m L,L-2 of the low order information symbol part m L (X) is input. Repeat the above operation with that as input, register R 2,1 , register R 2,2 ,
......, update the contents of register R 2,n-1 and register R 2,n .

さらにつづけて、低次の情報記号部mL(X)を
高次の係数の方から順次入力し、上記の動作を繰
り返す。
Further, the low-order information symbol part m L (X) is sequentially input from the high-order coefficient, and the above operation is repeated.

最後に、低次の情報記号部mL(X)の最低次の
係数mL,0を入力し、レジスタR2,1、レジスタR2,2
………、レジスタR2,n-1、レジスタR2,nの内容を
更新する。このとき得られたレジスタR2,n、レジ
スタR2,n-1,………、レジスタR2,2、レジスタ
R2,1の内容が、検査記号成分rL(X)の係数rL,n-1
rL,n-2,………,rL,1,rL,0にそれぞれ対応してい
る。ここで、 rL(X)=n-1i=0 rL,iXi …(16) である。
Finally, input the lowest order coefficient m L,0 of the low order information symbol part m L (X), register R 2,1 , register R 2,2 ,
......, update the contents of register R 2,n-1 and register R 2,n . Register R 2,n , register R 2,n-1 , ......, register R 2,2 , register obtained at this time
The content of R 2,1 is the coefficient r L,n-1 of the test symbol component r L (X),
They correspond to r L,n-2 , ......, r L,1 , and r L,0, respectively. Here, r L (X) = n-1i=0 r L,i X i ...(16).

この後、スイツチ5とスイツチ9を開にし、入
力端子1と入力端子6とに0を与えた上で、レジ
スタR1,nの内容とレジスタR2,nの内容を、加算器
10で加算し、出力端子11からとり出す。レジ
スタR1,n、レジスタR1,n-1,………、レジスタ
R1,2、およびレジスタR1,1の内容は、それぞれ、
レジスタR1,n-1、レジスタR1,n-2,………、レジ
スタR1,1の内容、および乗算器M1,1の出力に置き
換えられる。レジスタR2,n、レジスタR2,n-1,…
……、レジスタR2,2、およびレジスタR2,1の内容
は、それぞれ、レジスタR2,n-1、レジスタR2,n-2
………、レジスタR2,1の内容、および加算器A2,1
の出力に置き換えられる。
After this, switch 5 and switch 9 are opened, 0 is given to input terminal 1 and input terminal 6, and the contents of register R 1,n and the contents of register R 2,n are added by adder 10. and take it out from the output terminal 11. Register R 1,n , Register R 1,n-1 , ………, Register
The contents of R 1,2 and register R 1,1 are, respectively,
They are replaced by register R 1,n-1 , register R 1,n-2 , . . . , the contents of register R 1,1 and the output of multiplier M 1,1 . Register R 2,n , Register R 2,n-1 ,…
..., the contents of register R 2,2 and register R 2,1 are respectively register R 2,n-1 , register R 2,n-2 ,
………, contents of register R 2,1 , and adder A 2,1
will be replaced by the output of

上記の動作をさらにm−1回繰り返すことによ
つて、出力端子11から所望の検査記号部r(X)
を得ることができる。
By repeating the above operation m-1 times, the desired test symbol part r(X) is output from the output terminal 11.
can be obtained.

このように、第1の入力を高次の情報記号部
mu(X)とし、多項式mu(X)Xmを生成多項式g
(X)によつて割算した時の第1の剰余多項式を
求め、かつ、第2の入力を低次の情報記号部mL
(X)とし、多項式mL(X)に多項式f(X)を乗
算し、さらに生成多項式g(X)によつて割算し
た時の第2の剰余多項式を求め、それら2つの順
余多項式を加算することによつて検査記号部r
(X)を得ることができる。
In this way, the first input is converted into a higher-order information symbol part.
Let m u (X) be the polynomial m u (X )
Find the first remainder polynomial when divided by (X), and input the second input into the lower-order information symbol part m L
(X), multiply the polynomial m L (X) by the polynomial f(X), and further divide by the generator polynomial g(X) to find the second remainder polynomial, and then calculate the second remainder polynomial of these two ordinal remainder polynomials. By adding the check symbol part r
(X) can be obtained.

以上のように、この発明によれば、符号語にお
ける検査記号部の位置が低次に固定されていない
ため、検査記号部が符号語の中でどのような位置
を占めていようとも適用できるという利点があ
る。
As described above, according to the present invention, the position of the check symbol part in the code word is not fixed at a lower level, so it can be applied regardless of the position of the check symbol part in the code word. There are advantages.

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

第1図は、従来のq元(n、k)短縮巡回符号
の符号語の構成図、第2図は、従来のq元(n、
k)短縮巡回符号の符号化回路図、第3図は、こ
の発明の対象となる検査記号部が低次の部分にな
いようなq元(n、k)短縮巡回符号の符号語の
構成図、第4図は、この発明の検査記号部が低次
の部分にないようなq元(n、k)短縮巡回符号
の符号化回路の一実施例の図である。 図中、1は、入力端子、2は、出力端子、3
は、減算器、4は、乗算器、5は、スイツチ、6
は、入力端子、7は、出力端子、8は、乗算器、
9は、スイツチ、10は、加算器、11は出力端
子、M1,1は乗算器、M1,2は乗算器、………,
M1,n-1は乗算器、M1,nは乗算器、R1,1はレジス
タ、R1,2はレジスタ、………,R1,n-1はレジスタ、
R1,nはレジスタ、A1,1は加算器、A1,n-1は加算器、
A1,n-1は加算器、M2,1は乗算器、M2,2は乗算器、
………,M2,n-1は乗算器、M2,nは乗算器、A2,1
加算器、A2,2は加算器、………,A2,n-1は加算
器、A2,nは加算器、R2,1はレジスタ、R2,2はレジ
スタ、………,R2,n-1はレジスタ、R2,nはレジス
タ、M3,1は乗算器、M3,2は乗算器、………,
M3,n-1は乗算器、M3,nは乗算器である。なお、図
中、同一あるいは相当部分には同一符号を付して
示してある。
Figure 1 is a block diagram of a code word of a conventional q-element (n, k) shortened cyclic code.
k) Encoding circuit diagram of a shortened cyclic code, FIG. 3 is a block diagram of a code word of a q-element (n, k) shortened cyclic code in which the check symbol part, which is the object of this invention, is not in a low-order part. , FIG. 4 is a diagram of an embodiment of an encoding circuit for a q-element (n, k) shortened cyclic code in which the check symbol part of the present invention is not in a low-order part. In the figure, 1 is an input terminal, 2 is an output terminal, 3
is a subtracter, 4 is a multiplier, 5 is a switch, 6
is an input terminal, 7 is an output terminal, 8 is a multiplier,
9 is a switch, 10 is an adder, 11 is an output terminal, M 1,1 is a multiplier, M 1,2 is a multiplier, ......,
M 1,n-1 is a multiplier, M 1,n is a multiplier, R 1,1 is a register, R 1,2 is a register, ......, R 1,n-1 is a register,
R 1,n is a register, A 1,1 is an adder, A 1,n-1 is an adder,
A 1,n-1 is an adder, M 2,1 is a multiplier, M 2,2 is a multiplier,
………, M 2,n-1 is a multiplier, M 2,n is a multiplier, A 2,1 is an adder, A 2,2 is an adder, ………, A 2,n-1 is an adder A 2,n is an adder, R 2,1 is a register, R 2,2 is a register, ......, R 2,n-1 is a register, R 2,n is a register, M 3,1 is a multiplication M 3,2 is a multiplier, ………,
M 3,n-1 is a multiplier, and M 3,n is a multiplier. In the drawings, the same or corresponding parts are denoted by the same reference numerals.

Claims (1)

【特許請求の範囲】 1 情報記号部が符号語の高次の部分と低次の部
分に分かれていて、検査記号部がその間の次数に
位置しているような短縮巡回符号の符号語を生成
する目的で、第1の入力を高次の情報記号部mu
(x)とし、多項式mu(x)xmを次数mの生成多
項式g(x)によつて割算した時の第1の剰余多
項式を求めるための、フイードバツク係数として
生成多項式g(x)の係数をもつフイードバツク
シフトレジスタと、第2の入力を低次のL−1シ
ンボルからなる情報記号部mL(x)とし、多項式
mL(x)に多項式f(x)を乗算し、かつ、生成
多項式g(x)によつて割算した時の第2の剰余
多項式を求めるための、フイードフオワード係数
としてf(x)XL≡−1mod g(x)を満足する
多項式f(x)の係数をもち、フイードバツク係
数として生成多項式g(x)の係数をもつフイー
ドフオワード/フイードバツクシフトレジスタ
と、上記2つの剰余多項式を加算することによつ
て検査記号部を求めるための加算器とを有するこ
とを特徴とする短縮巡回符号の符号化回路。 但し、Lは本発明における符号語V(x)にお
いて次数が低次の情報記号部分の長さ(単位はシ
ンボル)である。一方、次数が高次の情報記号の
長さはK−L(シンボル)あり、両者の合計でK
シンボルの情報が符号語内に存在する。mは検査
シンボル数であり、即ち符号長n、情報記号数k
とするとき、m=n−kであたえられる。uは次
数が高次の情報シンボル部分を示す添字(サフイ
クス)であり、mu(x)は次数が高次の情報記号
部分の多項式を示しru(x)は高次の情報記号部
分の多項式mu(x)による検査記号成分を示す。
[Scope of Claims] 1. Generating a codeword of a shortened cyclic code in which the information symbol part is divided into a high-order part and a low-order part of the codeword, and the check symbol part is located at an order between them. For the purpose of
(x), and the generator polynomial g(x) is used as a feedback coefficient to obtain the first remainder polynomial when the polynomial m u (x) x m is divided by the generator polynomial g(x) of degree m. A feedback shift register with coefficients of
m L (x) is multiplied by the polynomial f(x) and divided by the generator polynomial g(x). ) and an adder for obtaining a check symbol part by adding two remainder polynomials. However, L is the length (unit: symbol) of the low-order information symbol part in the code word V(x) in the present invention. On the other hand, the length of a higher-order information symbol is K-L (symbols), and the total length of both is K
Symbol information is present in the codeword. m is the number of check symbols, that is, code length n, number of information symbols k
When, it is given by m=nk. u is a suffix indicating a high-order information symbol part, m u (x) is a polynomial of a high-order information symbol part, and r u (x) is a polynomial of a high-order information symbol part. The test symbol component by the polynomial m u (x) is shown.
JP573882A 1982-01-18 1982-01-18 Encoding circuit for shortened cyclic code Granted JPS58123252A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP573882A JPS58123252A (en) 1982-01-18 1982-01-18 Encoding circuit for shortened cyclic code

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP573882A JPS58123252A (en) 1982-01-18 1982-01-18 Encoding circuit for shortened cyclic code

Publications (2)

Publication Number Publication Date
JPS58123252A JPS58123252A (en) 1983-07-22
JPS6355815B2 true JPS6355815B2 (en) 1988-11-04

Family

ID=11619438

Family Applications (1)

Application Number Title Priority Date Filing Date
JP573882A Granted JPS58123252A (en) 1982-01-18 1982-01-18 Encoding circuit for shortened cyclic code

Country Status (1)

Country Link
JP (1) JPS58123252A (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS60152129A (en) * 1984-01-19 1985-08-10 Nec Home Electronics Ltd Read solomon code and coding circuit
JPS63132532A (en) * 1986-11-25 1988-06-04 Ricoh Co Ltd Polynomial dividing circuit for extended galois field
JPH0518580Y2 (en) * 1987-03-26 1993-05-18
CN112166331A (en) * 2018-05-23 2021-01-01 堺显示器制品株式会社 Connection system

Also Published As

Publication number Publication date
JPS58123252A (en) 1983-07-22

Similar Documents

Publication Publication Date Title
JP3288883B2 (en) Error correction encoding device, error correction decoding device, data transmission system with error correction code, and error correction code decoding method
US4873688A (en) High-speed real-time Reed-Solomon decoder
EP0620654B1 (en) Circuit for performing the Euclidian algorithm in decoding of arithmetical codes
US8176396B2 (en) System and method for implementing a Reed Solomon multiplication section from exclusive-OR logic
JP2005218098A (en) Reed-solomon decoder circuit of a forward directional chain search system
JP4777258B2 (en) Reed-Solomon code encoding and decoding using look-up tables for Galois field multiplication
US5805617A (en) Apparatus for computing error correction syndromes
JPH07212248A (en) Calculating method for error position polynomial, and device therefor
US6263471B1 (en) Method and apparatus for decoding an error correction code
JP2001127645A (en) Error correction method and error correction device
JP2694792B2 (en) Error position polynomial arithmetic circuit
JPS6355815B2 (en)
KR100192804B1 (en) Polynominal evaluator in a reed-solomon decoder
JP3614978B2 (en) Galois field division method and division apparatus
JP4045872B2 (en) Encoding method and encoding apparatus
JP2000244332A (en) Data error correction device
JP2000020333A (en) Decoding device, arithmetic unit and their methods
US7472333B2 (en) Encoding method and apparatus for cross interleaved cyclic codes
EP1037148B1 (en) Error coding method
JPS63107319A (en) Polynomial division circuit on expanded galois field
JPH06230991A (en) Method and apparatus for computation of inverse number of arbitrary element in finite field
EP0793352A2 (en) Apparatus for determining the error evaluator polynomial for use in a Reed-Solomon decoder
KR100335482B1 (en) Error correcting system
KR970005125B1 (en) Reed soloman decoder
CN113946467A (en) Method for reading data from memory device and error correction device