JPS6133023A - Coding and decoding device - Google Patents

Coding and decoding device

Info

Publication number
JPS6133023A
JPS6133023A JP15475884A JP15475884A JPS6133023A JP S6133023 A JPS6133023 A JP S6133023A JP 15475884 A JP15475884 A JP 15475884A JP 15475884 A JP15475884 A JP 15475884A JP S6133023 A JPS6133023 A JP S6133023A
Authority
JP
Japan
Prior art keywords
code
reed
encoding
error
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.)
Pending
Application number
JP15475884A
Other languages
Japanese (ja)
Inventor
Toru Inoue
徹 井上
Atsuhiro Yamagishi
山岸 篤弘
Takeshi Onishi
健 大西
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 JP15475884A priority Critical patent/JPS6133023A/en
Publication of JPS6133023A publication Critical patent/JPS6133023A/en
Pending legal-status Critical Current

Links

Landscapes

  • Detection And Correction Of Errors (AREA)
  • Error Detection And Correction (AREA)

Abstract

PURPOSE:To treat a C1 code as the one equal to a 2-dimensional code while maintaining the correcting capacity of a Reed Solomon RS code, bu regarding the C1 code as the 2-dimensional code and the RS code on a Galois field. CONSTITUTION:The information supplied from a terminal 1 is calculated by S0 and S8 syndrome calculation circuits 11 and 12 respectively and supplied to a divider circuit 13 of a Galois field. Then X=S8/S0 is carried out on a Galois field GF(2<8>). The value X is converted by a logarithm ROM14 and multiplied by 1/8 through a coefficient unit 15 to be latched by a register 16 in the form of the number of error positions. An error patten sent from the circuit 11 is latched by a register 17, and the outputs of both registers 16 and 17 are supplied to a correction circuit 18 together with the input information delayed by a delay circuit 19. Thus an error is corrected and checked by an S4 syndrome recheck circuit 20. When a correct correction is confirmed, the information is delivered through a terminal 2. Then the detection information is outputted through a terminal 21 when an error is checked.

Description

【発明の詳細な説明】 〔発明の技術分野〕 この発明は誤り訂正符号に関する発明であり。[Detailed description of the invention] [Technical field of invention] This invention relates to error correction codes.

特にその符号化復号化装置に関する。In particular, it relates to the encoding/decoding device.

〔従来技術〕[Prior art]

第1図は2重符号の復号化を行う復号器の説明図である
。図で(1)は情報入力端子、(2)は出力端子。
FIG. 1 is an explanatory diagram of a decoder that decodes double codes. In the figure, (1) is the information input terminal, and (2) is the output terminal.

(31は01′OI1号器、(4)はC2復号器である
。この例ではC1は(”1v R19dl ) 2元符
号、(例λはORO(Cycl ic Redunda
ncy Check )符号)C2は(I2゜R2、d
2 ) 、  R8(Reed−solomon )符
号で符号化されており、入力端子から入力された情報は
2元符号のシリアルシフトレジスターによってシンドロ
ーム計算がされ誤り検出、又は訂正されてC2復号器へ
出力されそこで再度誤り訂正されて出力端子(2)より
出力される。ここで(n、k、d)符号とは符号長n、
情報記号数k、最小距離dの線形符号である。この場合
C1符号は2元符号であるので誤り検出だけにつかうの
ならnl  k1段のシフトレジスターで構成できるが
、2元符号であるのでR8符号等に比べるとハードウェ
アが複雑になる割には訂正できる誤りビット数は少く特
にバースト性の誤りには効果的でない。
(31 is 01'OI1 encoder, (4) is C2 decoder. In this example, C1 is ("1v R19dl) binary code, (example λ is ORO (Cyclic Redunda)
ncy Check) code) C2 is (I2°R2, d
2) It is encoded with an R8 (Reed-Solomon) code, and the information input from the input terminal is subjected to syndrome calculation by a binary code serial shift register, error detection or correction, and output to the C2 decoder. There, the error is corrected again and outputted from the output terminal (2). Here, (n, k, d) code means code length n,
It is a linear code with k number of information symbols and minimum distance d. In this case, the C1 code is a binary code, so if it is used only for error detection, it can be configured with a 1-stage nl k shift register, but since it is a binary code, the hardware is more complicated than an R8 code etc. The number of error bits that can be corrected is small, and it is not particularly effective against burst errors.

第2図は別の従来例で(5)はSR,復号器で0重符号
を用いた例である。この場合は符号C4とC2のガロア
体GP(2m)を同じ体にしておけばシンドローム演算
回路はじめかなりの部分のハードウェアを共通化できる
特徴があった。ところがこの場合。
FIG. 2 is another conventional example, and (5) is an example in which a zero-fold code is used in the SR and decoder. In this case, if the Galois fields GP (2m) of codes C4 and C2 were made the same field, a considerable part of the hardware including the syndrome calculation circuit could be made common. However, in this case.

C1符号を検出だけにつかおうとしても11  k1段
のシフトレジスターではmJ&できずほぼシンドローム
計算回路と同程度のハードウェアが必要であった。
Even if an attempt was made to use the C1 code only for detection, an 11k1 stage shift register would not be able to perform mJ&, and hardware of approximately the same level as a syndrome calculation circuit would be required.

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

本発明は従来のかかる不具合を除(目的でなされたもの
で01を検出だけに用いる時は11  k1段のシフト
レジスターで構成し、01訂正を実行する時にはC2符
号のハードウェアと共用できるような構成にしたもので
訂正能力はR8符号と全くおなじでかつ、2元符号と同
じ手法で誤り検出を可能にしたところに特徴がある。
The present invention has been developed to eliminate such problems in the conventional technology, and is configured with a shift register of 11 k1 stages when 01 is used only for detection, and which can be used in common with C2 code hardware when performing 01 correction. It has the same structure as the R8 code, and its correction ability is exactly the same as that of the R8 code, and it is characterized by being able to detect errors using the same method as the binary code.

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

第3図は本発明によるC1符号の符号器でこの例では生
成多項式 %式% で符号化する。
FIG. 3 shows a C1 code encoder according to the present invention, and in this example, encoding is performed using a generator polynomial.

第3L¥1で(61は入力端子、(7)は出力端子、(
81けシフトレジスター、(9)は排多的論理和ゲート
、Sl。
In the 3rd L\1 (61 is the input terminal, (7) is the output terminal, (
81-digit shift register, (9) is exclusive OR gate, Sl.

82はスイッチ、帥はORゲートである。82 is a switch, and 82 is an OR gate.

第41¥1け復号化回路の実施例で(1)は情報入力端
子、(2)は情報出力端子、flitはシンドロームS
o計算回路、(I2はシンドローム88計算回路、 +
131は除算回路、 (141は対数ROMメモリー、
Q!9は1/8倍係数器、 tt61は誤り位置レジス
ター、aDは誤りパターンレジスター、 +tillは
誤り訂正回路、 (IIは遅延回路。
In the embodiment of the 41st ¥1 digit decoding circuit, (1) is an information input terminal, (2) is an information output terminal, and flit is a syndrome S
o calculation circuit, (I2 is syndrome 88 calculation circuit, +
131 is a division circuit, (141 is a logarithm ROM memory,
Q! 9 is a 1/8 multiplier, tt61 is an error position register, aD is an error pattern register, +till is an error correction circuit, (II is a delay circuit).

■はS4シンドロ一ムチエツク回路、 Qυは誤り検出
端子。ここで符号C1,C2のパラメータを(10゜8
.3)、(10,7,4)とする。
■ is the S4 syndromic check circuit, and Qυ is the error detection terminal. Here, the parameters with symbols C1 and C2 are (10°8
.. 3), (10, 7, 4).

従来の方法ではC1復号のシンドローム計算は。In the conventional method, the syndrome calculation for C1 decoding is as follows.

ここでαは原始多項式X8+X4+X6+X2+1−0
0根である。
Here α is the primitive polynomial X8+X4+X6+X2+1-0
It is root 0.

02作号のシンドロームは 従ってシンドローム計算回路S。、S、は共用できる。The syndrome of the 02th issue is Therefore, the syndrome calculation circuit S. ,S, can be shared.

しかしこれではCROのように2元符号を0重符号に用
いてシリアルのシフトレジスターで簡単に符号化復号化
できるメリットはなくなる。
However, this eliminates the advantage of using a binary code as a zero-fold code and easily encoding and decoding it with a serial shift register, as in CRO.

2元のシフトレジスターでop(2m)の元を生成し、
且その元が符号C2の元と共通になるように工夫するこ
とによりC1符号を2元の符号のように又。
Generate the element of op(2m) with a binary shift register,
Moreover, by making the element common to the element of the code C2, the C1 code can be made like a binary code.

R8符号のように符号化復号化することが本発明の目的
である。C1を2元の符号とし、生成多項式%式%) 選ぶとこれはガロア体G PI (2m )の上での生
爪多項式o(x)= (x+1 ) (X+α8)を選
んだことになるからe  C2復号のシンドローム演算
にS(C0)。
It is an object of the present invention to encode and decode like an R8 code. If C1 is a binary code and the generator polynomial is selected, this means that the raw nail polynomial o(x) = (x+1) (X+α8) on the Galois field G PI (2m) is selected. S(C0) for syndrome calculation of C2 decoding.

S(α8)を含むように設計すればC1,C2のシンド
ローム演算回路を共用できる。C2符号の根α1゜αi
 +1.  α1+21 がC4の根を含むようにする
ためにはそれぞれの根のαの巾乗の差が等間隔で運ぶよ
うにすれはよい。即ち、今の場合はd=3だから例えば
C2符号は根α0.α4.α8.C1符号は根α0.α
8をもつようにすれはよい。
If designed to include S(α8), the syndrome calculation circuits of C1 and C2 can be shared. Root α1゜αi of C2 code
+1. In order for α1+21 to include the C4 root, the difference in the power of α of each root should be carried at equal intervals. That is, in this case, d=3, so for example, the C2 code has a root α0. α4. α8. The C1 code has the root α0. α
It's good to have 8.

従ってC2符号のシンドローム演算は となる。これはすなわち、原始元αの偶数中のものはす
べて原始元になりうるからである。そのなかから2元符
号の生成多項式になりうるものをC1符号の生成多項式
に選べはよい。今の場合、C1の几8符号としての生成
多項式は o(x)=(x+α0)(X+α8) でβ=α8を新しい原始元とみれば o(x) = (x+β0)(X+β1)でH,S符号
の生成多項式になることがわかる。又jIη常のR8符
号は2元で生成多項式を表世できない。
Therefore, the syndrome calculation for C2 code is as follows. This is because all even numbers of the primitive element α can be primitive elements. Among them, it is possible to select a generator polynomial for the C1 code that can be a generator polynomial for the binary code. In this case, the generator polynomial for C1 as a 8-code is o(x) = (x+α0) (X+α8), and if β = α8 is considered a new primitive element, then o(x) = (x+β0) (X+β1) and H, It can be seen that this is a generating polynomial for the S code. Also, the usual R8 code cannot express a generator polynomial in two elements.

上の例は2元で衣用できる特殊な例であることが理解で
きよう。
It can be understood that the above example is a special case that can be used with two elements.

C2復号化を従来のパラレル演算で実行する方法を説明
しよう。
Let us explain how to perform C2 decoding using conventional parallel operations.

So、S8を用いて1エラーを訂正する場合。When correcting one error using So, S8.

So−ei S8== e、 ((1B ) I S Oパターンは誤りパターンを示している。誤り位置
αiを求める。
So-ei S8==e, ((1B) The ISO pattern indicates an error pattern. Find the error position αi.

X−88/So二α81 故に 1=(1/8)logaX より誤り位置を求める。但し、  logaXはGF(
28)の原始元αを底とする対数である。
X-88/So2 α81 Therefore, 1=(1/8)logaX Find the error position. However, logaX is GF (
28) is the logarithm with the primitive element α as the base.

Xを入カバターンとしlogaXを出力領として出力す
る。対応表は図5の表1で与えられる。ROMメモリー
へはXがアドレスパターンとして入力され内容1oga
Xが出力される。
Outputs X as an input pattern and logaX as an output area. The correspondence table is given in Table 1 of FIG. X is input as an address pattern to the ROM memory, and the content is 1oga.
X is output.

第4図で情報入力端子filから入力された情報はSo
、S8シンドロ一ム計算回路(111,n7Jでそれぞ
れ計算されガロア体の除算回路Q3へ入力されX = 
S B /S 。
In Fig. 4, the information input from the information input terminal fil is
, S8 syndrome calculation circuit (111, n7J) are respectively calculated and input to the Galois field division circuit Q3.
SB/S.

がガロア体GF(28)上で実行される。値Xは対数R
OMで変換され更に係数器で(1/8)倍されて誤り位
置数になり(leのレジスターにラッチされる。
is executed on the Galois field GF(28). The value X is the logarithm R
It is converted by OM and further multiplied by (1/8) by a coefficient multiplier to obtain the number of error positions (latched in the register of le).

一方誤りパターンはSoレジスターから071のレジス
ターにラッチされ遅延回路←9に蓄積されていた情報は
訂正回路f116で訂正され、さらにS4シンドロ一ム
再チエツク回路で正しい訂正であったかどうかを確認し
て正しけれは出力端子(2)より情報を出力し、誤りが
検出されれば検出端子r211より検出情報を出力する
On the other hand, the error pattern is latched from the So register to the register 071, and the information stored in the delay circuit ←9 is corrected by the correction circuit f116, and then checked by the S4 syndrome re-check circuit to see if it is correct. outputs information from the output terminal (2), and if an error is detected, outputs detection information from the detection terminal r211.

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

以上述べたようにC1符号をあたかも2元符号のように
符号化復号化できるようにしたためR8符号のもってい
る引止能力を活かしたままでC4符号を2元の符号と同
等にとり扱うことができる。
As described above, since the C1 code can be encoded and decoded as if it were a binary code, the C4 code can be handled in the same way as a binary code while taking advantage of the retention ability of the R8 code.

なお説明の便宜上C1符号に距離3.C2符号に距離4
のns符号を用いたが一般にどのような距離のR8符号
の組合せでも可能である。
For convenience of explanation, a distance of 3. distance 4 to C2 code
Although the ns code of 1 is used, in general, any combination of R8 codes of any distance is possible.

更に今はC1,C2と2つの符号で構成される2次元の
符号に限定して説明したが一般に多次元の符号に適用可
能である。
Furthermore, although the explanation has been limited to a two-dimensional code composed of two codes C1 and C2, it is generally applicable to multidimensional codes.

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

第1図は従来技術の例を示す[ン1.第2図は従来技術
の別の例を示す図、第3図Ad本発明によるC1符号化
の例を示す図、第4図は本発明による02作号化の例を
示す図、第5図は従来および本発明の基本演算部分であ
る対数ROMのアドレスと内容log、工Xの対応表を
示す図である。 図において09はシンドロームS。計算回路、12は8
8計算回路、a渇はガロア体の除算回路、  (141
は対数ROMである。 なお図中、同一あるいは相当部分には同一符号を付しで
ある。
FIG. 1 shows an example of the prior art [N1. Figure 2 is a diagram showing another example of the prior art, Figure 3 is a diagram showing an example of C1 encoding according to the present invention, Figure 4 is a diagram showing an example of 02 encoding according to the present invention, and Figure 5 is a diagram showing an example of C1 encoding according to the present invention. 1 is a diagram showing a correspondence table between the address of the logarithm ROM, which is the basic calculation part of the conventional system and the present invention, the contents log, and the operation X. In the figure, 09 is syndrome S. Calculation circuit, 12 is 8
8 calculation circuit, a is a Galois field division circuit, (141
is a logarithmic ROM. In the figures, the same or corresponding parts are denoted by the same reference numerals.

Claims (3)

【特許請求の範囲】[Claims] (1)C_1符号を2元符号化、又はReed−Sol
omon符号で符号化し、C_2符号をReed−So
lomon符号で符号化して送信し、受信側で誤りを検
出または訂正して復号化する符号化復号化装置において
、C_1符号の生成多項式をGF(2^m)(mは適当
な正整数)のガロア体の元に選んでやることによりC_
1を2元符号ともGF(2^m)上のReed−sol
omon符号ともみなせるようにしC_1訂正または検
出を可能にした符号化復号化装置
(1) Binary encoding of C_1 code or Reed-Sol
omon code, and C_2 code is Reed-So
In an encoding/decoding device that encodes with Lomon code and transmits it, detects or corrects errors and decodes it on the receiving side, the generating polynomial of C_1 code is set to GF(2^m) (m is an appropriate positive integer). By selecting it under the Galois field, C_
Reed-sol on GF(2^m) with 1 as binary code
Encoding/decoding device that can be regarded as an omon code and enables C_1 correction or detection
(2)C_1符号を2元符号化、又はReed−Sol
omon符号で符号化し、C_2符号をReed−So
lomon符号で符号化して送信し、受信側で誤りを検
出または訂正して復号化する符号化復号化装置において
、C_1符号の生成多項式をGF(2^m)(mは適当
な正整数)ガロア体の元に選ぶことによりC_1を2元
符号ともGF(2^m)上のReed−Solomon
符号ともみなせるようにしC_1、C_2のシンドロー
ム演算回路部分を共用することを特徴とする符号化復号
化装置
(2) Binary encoding of C_1 code or Reed-Sol
omon code, and C_2 code is Reed-So
In an encoding/decoding device that encodes with Lomon code and transmits it, detects or corrects errors and decodes it on the receiving side, the generating polynomial of C_1 code is GF(2^m) (m is an appropriate positive integer) Galois By choosing C_1 as the element of the field, both binary codes are Reed-Solomon on GF(2^m)
An encoding/decoding device characterized in that the syndrome calculation circuit portion of C_1 and C_2 is shared so that it can be regarded as a code.
(3)C_1符号を2元符号化、又はReed−Sol
omon符号で符号化し、C_2符号をReed−So
lomon符号で符号化して送信し、受信側で誤りを検
出または訂正して復号化する符号化復号化装置において
、C_1符号の生成多項式をGF(2^m)(mは適当
な正整数)のガロア体の元に選んでやることによりC_
1を2元符号ともGF(2^m)上のReed−Sol
omon符号ともみなせるようにし、C_1符号、C_
2符号のシンドローム演算回路を共用化するためにC_
2符号の根をα^i、α^i+l、α^i^+^2^l
、・・・、と等間隔にしてC_1符号のα^j、α^j
^+^k、α^j^+^2^k、・・・、を一部共通な
根に含む(例えばα^i=α^j、α^i^+^2^l
=α^j^+^k)ことを特徴とする符号化復元化装置
。但し、i、j、k、lは適当な整数。
(3) Binary encoding of C_1 code or Reed-Sol
omon code, and C_2 code is Reed-So
In an encoding/decoding device that encodes with Lomon code and transmits it, detects or corrects errors and decodes it on the receiving side, the generating polynomial of C_1 code is set to GF(2^m) (m is an appropriate positive integer). By selecting it under the Galois field, C_
1 as a binary code is Reed-Sol on GF(2^m)
omon code, C_1 code, C_
In order to share the syndrome calculation circuit of two codes, C_
The roots of 2 signs are α^i, α^i+l, α^i^+^2^l
, ..., α^j, α^j of C_1 code at equal intervals
Some common roots include ^+^k, α^j^+^2^k, ... (for example, α^i=α^j, α^i^+^2^l
=α^j^+^k). However, i, j, k, and l are appropriate integers.
JP15475884A 1984-07-25 1984-07-25 Coding and decoding device Pending JPS6133023A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP15475884A JPS6133023A (en) 1984-07-25 1984-07-25 Coding and decoding device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP15475884A JPS6133023A (en) 1984-07-25 1984-07-25 Coding and decoding device

Publications (1)

Publication Number Publication Date
JPS6133023A true JPS6133023A (en) 1986-02-15

Family

ID=15591252

Family Applications (1)

Application Number Title Priority Date Filing Date
JP15475884A Pending JPS6133023A (en) 1984-07-25 1984-07-25 Coding and decoding device

Country Status (1)

Country Link
JP (1) JPS6133023A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6146623A (en) * 1984-08-10 1986-03-06 Mitsubishi Electric Corp Coding and decoding method
JPS6328133A (en) * 1986-07-22 1988-02-05 Matsushita Electric Ind Co Ltd Code error detecting and correcting device
JPH0637646A (en) * 1992-02-17 1994-02-10 Mitsubishi Electric Corp Error correction system and decoder using the same

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6146623A (en) * 1984-08-10 1986-03-06 Mitsubishi Electric Corp Coding and decoding method
JPS6328133A (en) * 1986-07-22 1988-02-05 Matsushita Electric Ind Co Ltd Code error detecting and correcting device
JPH0637646A (en) * 1992-02-17 1994-02-10 Mitsubishi Electric Corp Error correction system and decoder using the same

Similar Documents

Publication Publication Date Title
Wolf On codes derivable from the tensor product of check matrices
US4402045A (en) Multi-processor computer system
US4958349A (en) High data rate BCH decoder
US8694872B2 (en) Extended bidirectional hamming code for double-error correction and triple-error detection
CN100428176C (en) (18, 9) error correction code for double error correction and triple error detection
KR19980702551A (en) Improved 3, 4 error correction systems
US11101925B2 (en) Decomposable forward error correction
Kilgus et al. A class of cyclic unequal error protection codes (Corresp.)
JPS6133023A (en) Coding and decoding device
US3781791A (en) Method and apparatus for decoding bch codes
KR102532623B1 (en) Bose-chaudhuri-hocquenghem (bch) encoding and decoding method tailored for refundant array of inexpensive disks(raid), and apparatus there-of
JPH08293802A (en) Interleaving type error correction method
JP3248098B2 (en) Syndrome calculation device
RU2542665C1 (en) Device of data storage and transmission with detection and correction of errors in information bytes
US5329534A (en) &#34;System, devices and algorithms for the error correction in digital transmission&#34;
CN111277830A (en) Encoding method, decoding method and device
Mozhiarasi et al. An Enhanced (31, 11, 5) Binary BCH Encoder and Decoder for Data Transmission
Elumalai et al. Encoder And Decoder For (15113) and (63394) Binary BCH Code With Multiple Error Correction
JPS6146623A (en) Coding and decoding method
RU2591474C1 (en) Parallel reconfigurable encoder of bch codes
JPH0636286B2 (en) Error correction method and apparatus
JPS6345923A (en) Syndrome calculation circuit
Skrybaylo-Leskiv et al. Algebraic Modeling of Error-Correcting Codes for Info-Communication Systems
KR900000670Y1 (en) Cord word generator of read-solomon encoder
Kamala et al. FPGA Realisation Of An Optimal Reed Solomon Encoder