JPS5857782B2 - Syndrome generation circuit - Google Patents
Syndrome generation circuitInfo
- Publication number
- JPS5857782B2 JPS5857782B2 JP53052133A JP5213378A JPS5857782B2 JP S5857782 B2 JPS5857782 B2 JP S5857782B2 JP 53052133 A JP53052133 A JP 53052133A JP 5213378 A JP5213378 A JP 5213378A JP S5857782 B2 JPS5857782 B2 JP S5857782B2
- Authority
- JP
- Japan
- Prior art keywords
- code
- error correction
- information
- syndrome
- input terminal
- 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
Links
Landscapes
- Detection And Correction Of Errors (AREA)
Description
【発明の詳細な説明】
本発明は誤り訂正符号を用いた情報処理装置のシンドロ
ーム発生回路に関する。DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a syndrome generation circuit for an information processing device using an error correction code.
情報処理装置に対する高は硅化の要求がますます高まっ
ているが、それとともにこれらの装置に対する高信頼は
への要求に応えるための一手法として、誤り訂正符号が
有効ごあることは従来からよく知られている。It has long been well known that error correction codes are effective as a method to meet the increasing demands for high reliability for information processing equipment, and for meeting the demands for high reliability for these equipment. It is being
従来の装置においては、与えられた2値情報符号および
その誤り訂正符号からのシンドロームの発生は、多数の
論理用集積回路を相互接続した構成を用いることにより
行なっている。In conventional devices, syndromes are generated from a given binary information code and its error correction code by using a configuration in which a large number of logic integrated circuits are interconnected.
一方、近年集積回路技術の急速な発達に伴い、シンドロ
ーム発生に用いられる論理回路が1個または数個の大規
模集積回路を相互接続することにより構成できるように
なったが、従来の論理構成を1個または数個の大規模集
積回路に適用すると通常従来の論理構成はハードウェア
量を少なくするように構成されているため多様な要求に
対する汎用比がなくまた入出力端子数が増加するという
欠点がある。On the other hand, with the rapid development of integrated circuit technology in recent years, logic circuits used for syndrome generation can now be constructed by interconnecting one or several large-scale integrated circuits; When applied to one or several large-scale integrated circuits, conventional logic configurations are usually configured to reduce the amount of hardware, so they lack a general-purpose ratio that can meet various requirements, and the number of input/output terminals increases. There is.
本発明の目的は異なる幅の情報符号および誤り訂正符号
からシンドロームを発生するための集積化されたシンド
ローム発生回路を提供することにある。An object of the present invention is to provide an integrated syndrome generation circuit for generating syndromes from information codes and error correction codes of different widths.
本発明の他の目的は誤り訂正符号入力とシンドローム発
生用の他の論理ブロックからの符号入力とを共通の入力
端子へ入力することができるようにして入力端子を減少
させ汎用はのあるジンドロ−ム発生回路を提供すること
にある。Another object of the present invention is to reduce the number of input terminals by allowing an error correction code input and a code input from another logic block for syndrome generation to be input to a common input terminal. The object of the present invention is to provide a programmable time generating circuit.
本発明の回路は、情報符号を与える情報入力端子と、
第1の誤り訂正符号を与える第1の符号入力端子と、
前記情報端子からの情報符号と、前記第1の誤り訂正符
号入力端子からの第1の誤り訂正符号とに基づいて排他
的論理和演算する演算手段と、この演算手段からの演算
結果を出力する出力端子と、
外部から与えられる排他的論理和演算結果と第2の誤り
訂正符号とのどちらか一方を入力する第2の符号入力端
子とを含み、
前記情報符号のビット数が前記情報入力端子数と等しい
か小さい時には第2の誤り訂正符号を前記演算手段に与
え、大きい時には前記外部から与えられる排他的論理和
結果とともに情報符号の残りのビットと第2の誤り訂正
符号とを前記演算手段に与えシンドロームを発生するよ
うにしたことを特徴とする。The circuit of the present invention includes: an information input terminal that provides an information code; a first code input terminal that provides a first error correction code; an information code from the information terminal; and an information code from the first error correction code input terminal. a calculation means for performing an exclusive OR operation based on the first error correction code of the calculation means; an output terminal for outputting the operation result from the calculation means; and an exclusive OR operation result given from the outside and the second error. a second code input terminal for inputting either one of a correction code and a correction code, and when the number of bits of the information code is equal to or smaller than the number of information input terminals, a second error correction code is provided to the calculation means; When the error correction code is larger, the remaining bits of the information code and the second error correction code are applied to the calculation means together with the exclusive OR result given from the outside to generate a syndrome.
次に本発明について図面を参照して詳細に説明する。Next, the present invention will be explained in detail with reference to the drawings.
第1図は本発明の第1の実施例を示す図である。FIG. 1 is a diagram showing a first embodiment of the present invention.
本発明の回路は入力端子4から符号P。The circuit of the present invention has an input terminal 4 with a symbol P.
およびPlを入力し、切替信号6に与えて符号P。and Pl are inputted and given to the switching signal 6 to generate the code P.
およびPl を信号線9または10へ出力する切替回路
1と情報符号d。and Pl to the signal line 9 or 10, and the switching circuit 1 and the information code d.
、dl、d2およびd3を入力端子3から、誤り訂正符
号C6およびC1を入力端子5から、さらに符号P。, dl, d2 and d3 from input terminal 3, error correction codes C6 and C1 from input terminal 5, and code P.
およびPl を信号線9または10から入力し、出力端
子7からシンドロームS。and Pl are input from signal line 9 or 10, and syndrome S is input from output terminal 7.
およびSl を出力端子8からシンドロームS2および
S3を出力するシンドローム発生回路2からなる基本回
路11からなり、これらの入出力符号の関係は以下に示
す式(1−1)〜(1−4) 、 (2−1)〜(2−
4)のようになる。The basic circuit 11 includes a syndrome generating circuit 2 which outputs syndromes S2 and S3 from an output terminal 8.The relationship between these input and output codes is expressed by the following equations (1-1) to (1-4). (2-1) ~ (2-
4).
すなわち、切替信号が第1の状態にある場合には、 第1表は情報符号り。That is, when the switching signal is in the first state, Table 1 is information code.
、Dl、D2およびD3誤り訂正符号C6,C,、C2
およびC3とシンドロームS。, Dl, D2 and D3 error correction codes C6, C, , C2
and C3 and syndrome S.
、S、、S2およびS3との関係を示すパリティ発生マ
トリックスで1ビツトの誤り訂正が可能である。, S, , 1-bit error correction is possible with the parity generation matrix showing the relationship between S2 and S3.
なお、情報符号D10−D’3+誤り訂正符号C′。Note that information code D10-D'3+error correction code C'.
およびC10と情報符号D′4〜D′7情報符号C%山
よびC’ との間で完全巡回性がある。There is complete cyclicity between C10 and the information codes D'4 to D'7 and the C% peak and C'.
第1図の回路を単一構成で独立に使用する実施例を次に
示す。An embodiment in which the circuit of FIG. 1 is used independently in a single configuration will be described below.
情報符号(Do、Dl、D2およびD3)が入力端子3
を介して、また誤り訂正符号C2およびC3が入力端子
4.切替回路1および信号線10を介して排他的論理和
がとられ、その排他的論理和結果と入力端子5を介して
与えられる誤り訂正符号C6およびC1とが排他的論理
和演算され、その結果、出力端子7からシンドローム信
号S。Information codes (Do, Dl, D2 and D3) are input terminal 3
Also, error correction codes C2 and C3 are connected to input terminals 4. An exclusive OR is performed via the switching circuit 1 and the signal line 10, and the exclusive OR result is subjected to an exclusive OR operation with the error correction codes C6 and C1 given via the input terminal 5. , syndrome signal S from output terminal 7.
およびSlが出力され、出力端子8からシンドロームS
2およびS3が出力される。and Sl are output, and the syndrome S
2 and S3 are output.
この演算は式(3−1)〜(3−4)に示されとなり、
第1表のパリティ発生マトリックスのシンドロームS。This calculation is shown in equations (3-1) to (3-4),
Syndrome S of the parity generation matrix in Table 1.
、Sl、S2およびS3 と一致する。, Sl, S2 and S3.
次に第2表を参照すると、第2表は情報符号D10〜D
′7および誤り訂正符号C′0〜C/、とシンドローム
S′O−8′3 との関係を示すパリティ発生マトリ
ックスで第1表同様に1ビツトの誤り訂正が可能である
。Next, referring to Table 2, the information code D10 to D
'7, error correction codes C'0 to C/, and a parity generation matrix showing the relationship between syndrome S'O-8'3, it is possible to correct a 1-bit error as in Table 1.
また、第2図を参照すると第2図は第1図の回路におい
て切替端子6に第2の状態になるように切替信号を与え
たものを2個用いていたものである。Further, referring to FIG. 2, the circuit shown in FIG. 2 uses two circuits in which a switching signal is applied to the switching terminal 6 so that the switching terminal 6 enters the second state.
第2表に示す情報符号D′6.D1.D′2およびfj
3が入力端子3′を介し、誤り訂正符号C′OおよびC
10を介でシンドローム発生回路2′に与えられ、排他
的論理和演算がなされ、演算結果は接続線12を介して
入力端子4′に与えられる。Information code D'6 shown in Table 2. D1. D'2 and fj
3 through input terminal 3', error correction codes C'O and C
The signal is applied to the syndrome generating circuit 2' via 10, where an exclusive OR operation is performed, and the result of the operation is applied to the input terminal 4' via a connection line 12.
これととモニ情報符号り/l、D′5.D′6オヨヒv
7カ入力端子3′を介し、誤り訂正符号C′2 および
C10が入力端子5〃を介してシンドローム発生回路2
〃に与えられる。This and monitor information code/l, D'5. D'6 Oyohi v
The error correction codes C'2 and C10 are input to the syndrome generating circuit 2 through the input terminal 5 through the input terminal 3'.
given to.
この結果、シンドロームが出力端子7〃に出力される。As a result, the syndrome is output to the output terminal 7.
なお、この情報符号D′O,D’1゜偽およびD′3と
情報符号D′l、D′5.D5およびD′7 とが入力
端子3′と3// とに与えられ、同様に誤り訂正符
号C′o およびC10と誤り訂正符号C′2およびC
10とが与えられていたが、この関係は逆になってもよ
い。Note that the information codes D'O, D'1°false and D'3 and the information codes D'l, D'5. D5 and D'7 are applied to input terminals 3' and 3//, and similarly error correction codes C'o and C10 and error correction codes C'2 and C
10 was given, but this relationship may be reversed.
この場合の排他的論理和結果は接続線13を介して伝搬
される。The exclusive OR result in this case is propagated via the connection line 13.
この関係は以下の式に表わされる。This relationship is expressed by the following formula.
以上示したように、第1図に示した基本回路11は第1
の状態および第2の状態において、それぞれ情報符号り
。As shown above, the basic circuit 11 shown in FIG.
and the second state, respectively, the information code.
−D3 と誤り訂正符号C6〜C3のシンドローム発生
に使用できる。-D3 and error correction codes C6 to C3.
なお、本発明の詳細な説明したシンドローム発生回路は
、十分に拡張性のあるもので、シンドローム生成用符号
と誤り訂正符号の入力端子を共用にしたシンドローム発
生用回路を使用情報幅に応じてこのシンドローム発生用
回路を1個または数個使用して、このシンドローム発生
用回路ヲ複数個使用する場合には、相互回路間で相互接
続するとともに、シンドローム生成用符号と誤り訂正符
号との使用方法を切替えて、所要のシンドローム符号を
発生することができる。The syndrome generation circuit described in detail of the present invention is sufficiently extensible, and the syndrome generation circuit that shares the input terminals of the syndrome generation code and the error correction code can be used in accordance with the information width used. If one or several syndrome generation circuits are used and multiple syndrome generation circuits are used, the mutual circuits should be interconnected, and the method of using the syndrome generation code and error correction code should be explained. The desired syndrome code can be generated by switching.
本発明は、異なる幅の情報符号およびその誤り訂正符号
からシンドローム符号を発生するための単一の論理回路
を1個または数個用いることができ論理ブロック毎に入
力される誤り訂正符号およびシンドローム生成用符号を
共通化して情報幅に応じてこれらの入力端子の使用方法
を変えることにより入力端子を減らし集積回路に適した
回路を横取できるという効果がある。The present invention can use one or several single logic circuits for generating syndrome codes from information codes of different widths and their error correction codes, and generates error correction codes and syndromes input for each logic block. By making common use codes and changing the usage of these input terminals according to the information width, there is an effect that the number of input terminals can be reduced and circuits suitable for integrated circuits can be used.
第1図は本発明の第1の実施例を示す回路および第2図
は本発明の第2の実施例を示す図である。
第1図から第2図において% 1 t 1’+ 1//
・・・・・・切替回路、2 、2’、 2//・・・・
・・シンドローム発生回路、3.3’、3//・・・・
・・入力端子・4・4′・4“°°゛・・・入力端子、
5 、5’、 5// ・・・・・・入力端子、6.6
’。
6tt 、、、、、、切替信号b 7 + 7’ j
7〃 ・・・・・・出力端子、8.8’、8//・・・
・・・出力端子、9.9’、9//・・・・・・信号線
、10.10’、10// ・・・・・・信号線、12
゜13・・・・・・信号線。FIG. 1 is a circuit showing a first embodiment of the invention, and FIG. 2 is a diagram showing a second embodiment of the invention. From Figure 1 to Figure 2, % 1 t 1'+ 1//
...Switching circuit, 2, 2', 2//...
・・Syndrome generation circuit, 3.3', 3//・・・・
・・Input terminal・4・4′・4“°°゛・・・Input terminal,
5, 5', 5// ...input terminal, 6.6
'. 6tt , , , switching signal b 7 + 7' j
7〃...Output terminal, 8.8', 8//...
...output terminal, 9.9', 9//...signal line, 10.10', 10//...signal line, 12
゜13... Signal line.
Claims (1)
正符号を与える第1の符号入力端子と、 前記情報符号と前記第1の誤り訂正符号とに基づいて排
他的論理和演算する演算手段と、この演算手段からの演
算結果を出力する出力端子と、 外部から与えられる排他的論理和演算結果と第2の誤り
訂正符号とのどちらか一方を入力する第2の符号入力端
子とを含み、 前記情報符号のビット数が前記情報入力端子数と等しい
か小さいときには前記第2の誤り訂正符号を前記演算手
段に与え前記情報符号のビット数が前記情報入力端子数
より太きいときには前記外部から与えられる排他的論理
和結果とともに前記情報符号の残りのビットと前記第2
の誤り訂正符号とを前記演算手段に与えシンドロームを
発生するようにしたことを特徴とするシンドローム発生
回路。[Claims] 1. An information input terminal for manually inputting an information code, a first code input terminal for providing a first error correction code, and an exclusive input terminal based on the information code and the first error correction code. A calculation means for performing an OR operation, an output terminal for outputting the operation result from the operation means, and a second terminal for inputting either the exclusive OR operation result given from the outside or a second error correction code. a code input terminal; when the number of bits of the information code is equal to or smaller than the number of information input terminals, the second error correction code is applied to the calculation means; When it is thick, the remaining bits of the information code and the second
2. A syndrome generating circuit, characterized in that the syndrome is generated by applying an error correction code to the calculating means.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP53052133A JPS5857782B2 (en) | 1978-04-27 | 1978-04-27 | Syndrome generation circuit |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP53052133A JPS5857782B2 (en) | 1978-04-27 | 1978-04-27 | Syndrome generation circuit |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS54142955A JPS54142955A (en) | 1979-11-07 |
| JPS5857782B2 true JPS5857782B2 (en) | 1983-12-21 |
Family
ID=12906361
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP53052133A Expired JPS5857782B2 (en) | 1978-04-27 | 1978-04-27 | Syndrome generation circuit |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS5857782B2 (en) |
-
1978
- 1978-04-27 JP JP53052133A patent/JPS5857782B2/en not_active Expired
Also Published As
| Publication number | Publication date |
|---|---|
| JPS54142955A (en) | 1979-11-07 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| Castagnoli et al. | Optimization of cyclic redundancy-check codes with 24 and 32 parity bits | |
| US3678469A (en) | Universal cyclic division circuit | |
| US3728678A (en) | Error-correcting systems utilizing rate {178 {11 diffuse codes | |
| KR100202206B1 (en) | Data processing unit for calculating multiplicative inverses of finite bodies | |
| JP2000124813A (en) | Reed-Solomon encoding device and method, and Reed-Solomon decoding device and method | |
| US4241446A (en) | Apparatus for performing single error correction and double error detection | |
| Heap et al. | Least upper bounds on OBDD sizes | |
| US20050166122A1 (en) | System and method for generating cyclic codes for error control in digital communications | |
| JPS5857782B2 (en) | Syndrome generation circuit | |
| JPS6221293B2 (en) | ||
| JPH0345020A (en) | Cyclic code processing circuit | |
| JPS62231333A (en) | Modulo double adder | |
| JPS605981B2 (en) | Syndrome generation circuit for error correction code creation | |
| JPH04292018A (en) | Variable crc generation circuit | |
| US3423576A (en) | Reversible counting circuit apparatus | |
| JPS5966240A (en) | Crcc production checking circuit | |
| JP3150689B2 (en) | ROM digital arithmetic circuit | |
| JPH0637737A (en) | Crc arithmetic circuit | |
| JPS58205260A (en) | Error detection and correction system for encoded data | |
| Chang et al. | VLSI Architectures for the Multiplication of Integers Modulo a Fermat Number | |
| RU2393529C2 (en) | Device for correction of errors in polynomial system of deduction classes with application of pseudo-orthogonal polynomials | |
| JPS6243750A (en) | Stored data processing circuit | |
| JPS6315534A (en) | Convolution encoder | |
| JPH03149924A (en) | Error correcting decoder | |
| JPS62196924A (en) | Code conversion system |