JPS6029979B2 - Failure diagnosis device - Google Patents

Failure diagnosis device

Info

Publication number
JPS6029979B2
JPS6029979B2 JP53067430A JP6743078A JPS6029979B2 JP S6029979 B2 JPS6029979 B2 JP S6029979B2 JP 53067430 A JP53067430 A JP 53067430A JP 6743078 A JP6743078 A JP 6743078A JP S6029979 B2 JPS6029979 B2 JP S6029979B2
Authority
JP
Japan
Prior art keywords
information bits
circuit
parity
blocks
bits
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
JP53067430A
Other languages
Japanese (ja)
Other versions
JPS54158137A (en
Inventor
則和 藤井
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 JP53067430A priority Critical patent/JPS6029979B2/en
Publication of JPS54158137A publication Critical patent/JPS54158137A/en
Publication of JPS6029979B2 publication Critical patent/JPS6029979B2/en
Expired legal-status Critical Current

Links

Landscapes

  • Detection And Correction Of Errors (AREA)
  • Test And Diagnosis Of Digital Computers (AREA)
  • Detection And Prevention Of Errors In Transmission (AREA)

Description

【発明の詳細な説明】 この発明はデータ転送及び処理装置における誤り検知訂
正装置に対してその装置の故障指摘が可能となる故障診
断装置に関するものである。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a fault diagnosis device capable of pointing out a fault in an error detection and correction device in a data transfer and processing device.

ここで云う誤り検知訂正符号は例えば第1図に示す64
個の情報ビット及び8個の検査ビットよりなる「単一誤
り訂正二重誤り検出」符号を用いて説明する。第1図の
“0”から“63’’が情報ビット、COからC7が検
査ビットである。従釆の誤り検知訂正装置は全情報ビッ
トを1ケ所に集中させていたが、実際の論理基板上で回
路を実現するとき、情報ビットを数ケのブロックに分割
し、各ブ。
The error detection and correction code referred to here is, for example, the 64 code shown in FIG.
An explanation will be given using a "single error correction double error detection" code consisting of 8 information bits and 8 check bits. In Figure 1, "0" to "63" are information bits, and CO to C7 are check bits.The conventional error detection and correction device concentrated all the information bits in one place, but the actual logic board When realizing the circuit above, the information bits are divided into several blocks, and each block is divided into blocks.

ックを全く同一の回路で組上げ製造コストを下げること
が可能となる。特に主記憶装置の場合4ブロック毎に分
割し、入出力データの制御及び誤り検知訂正装置等すべ
て同一回路にすることができ論理基板の種類を減すこと
ができる。以上の様な利点がある反面情報ビットが各ブ
ロックに分散する為誤り検知訂正装置が故障した場合ど
のブロックの故障か指摘することが困難な欠点がある。
この発明はこの欠点を解決する為に故障範囲を指摘する
故障診断装置であり、以下図面で詳細に説明する。最初
にブロック分割した誤り検知訂正装置について説明する
It becomes possible to assemble the blocks with exactly the same circuit and reduce manufacturing costs. In particular, in the case of a main memory device, it is divided into four blocks, so that input/output data control, error detection and correction devices, etc. can all be made into the same circuit, and the number of types of logic boards can be reduced. Although it has the above-mentioned advantages, it has the disadvantage that it is difficult to identify which block is at fault when the error detection and correction device fails because the information bits are dispersed in each block.
In order to solve this drawback, the present invention is a fault diagnosis device that points out the fault range, and will be explained in detail below with reference to the drawings. First, an error detection and correction device that divides into blocks will be explained.

第1図の符号を第2図の様に並べ変え4ブロツ外こ分割
し、各ブロックをD1(Byに0,4)、D2(Byt
e1,5)、D3(Byに2,6)、D4(Byte3
,7)と名付ける。
The symbols in Figure 1 are rearranged as shown in Figure 2, divided into 4 blocks, and each block is D1 (0, 4 in By), D2 (By
e1,5), D3 (Byte 2,6), D4 (Byte3
,7).

Byにとは情報ビット8ビット分を云いByteo〜7
は第2図の表のように対応している。各ブロックの各行
の“1”の立っているビットのグループを第2図の表に
示されているPO〜P7と名付ける。即ちDIブロック
のPOというのは情報ビット0,1,2,32,35を
示している。又D4ブロックのPOというのは情報ビッ
ト25,28,31,59,60,61を示す。第3図
は誤り検知訂正装置全体の図である。1は第1図に示す
ような64個の情報ビットと8個の検査ビットとよりな
る信号のデータ線、AI〜A4は誤り検知訂正装置を含
んだデータ制御回路でありすべて同一で構成された情報
ビットが異なるのみである。
By means 8 bits of information, Byteo~7
correspond as shown in the table in Figure 2. Groups of bits set to "1" in each row of each block are named PO to P7 shown in the table of FIG. That is, PO of the DI block indicates information bits 0, 1, 2, 32, and 35. Also, PO of the D4 block indicates information bits 25, 28, 31, 59, 60, and 61. FIG. 3 is a diagram of the entire error detection and correction device. 1 is a data line for a signal consisting of 64 information bits and 8 check bits as shown in Fig. 1, and AI to A4 are data control circuits including error detection and correction devices, all of which are configured identically. Only the information bits are different.

AIはB〆eo,4の情報ビット及びC0,C4の検査
ビット、A2はBXel,5の情報ビット及びC1,C
5の検査ビット、A3はByte2,6の情報ビット及
びC2,C6の検査ビット、A4はByに3,7の情報
ビット及びC3,C7の検査ビットを含んでいる。BI
〜B4は18ビットよりなるデータを保持するレジスタ
、CI〜C4はしジスタ出力線、GI〜G4は情報ビッ
トの正確性を示す信号生成回路としてのシンドローム(
症候群)の生成回路であり、この拡大図を第4図、第5
図に示す。第3図においてSO〜S7はシンドロームの
各ビット線であり、情報ビットに誤りがなければ全て“
0”であり奇数個の1があれば単一誤り、偶数個の“1
”があれば2個、もしくは偶数個の誤りを示す。これら
の判断はエラービット判定回路2で行い、単一誤りの場
合は誤りビット位置を指摘する信号のデコードをも行う
。8は誤り位置指摘信号線、EI〜E4は信号線3によ
ってレジスタCI〜C4のレジスタ出力を訂正する訂正
回路、4は誤りを訂正された64個のデータ線である。
AI is B〆eo, 4 information bit and C0, C4 check bit, A2 is BXel, 5 information bit and C1, C
A3 includes information bits in Bytes 2 and 6 and inspection bits in C2 and C6, and A4 includes information bits in Bytes 3 and 7 and inspection bits in C3 and C7. B.I.
~B4 is a register that holds data consisting of 18 bits, CI~C4 is a register output line, and GI~G4 is a syndrome (signal generation circuit) that indicates the accuracy of information bits.
This is the generation circuit for the syndrome
As shown in the figure. In Fig. 3, SO to S7 are the bit lines of the syndrome, and if there is no error in the information bits, all “
0” and an odd number of 1s means a single error; an even number of “1s” means a single error.
” indicates two or even number of errors. These judgments are made by the error bit determination circuit 2, and in the case of a single error, a signal indicating the error bit position is also decoded. 8 indicates the error position. Indication signal lines EI to E4 are correction circuits that correct register outputs of registers CI to C4 by signal line 3, and 4 is 64 data lines whose errors have been corrected.

次に第4図について説明する。GI〜G4はシンドロー
ム生成回路である。FI〜F8は第2図の各ブロック毎
に分けた符号の中で各行毎に“1”の立っているビット
の排他的論理和をとるパリティ回路であり、そのパリテ
ィ出力をP7,PO〜P6とする。第2図におけるP7
,PO〜P6と同一である。更にこの詳細図は第5図に
示してある。F5〜F8はFI〜F4とまったく同等な
ので省略している。第4図ではシンドローム生成回路G
Iブロックについてのみ図示しているがG2〜G4も同
様に構成されたものである。第5図で回路FIの入力d
1〜d8、d12は、シンドローム生成回路GIに対し
ては情報ビット(第2図参照)0〜7、35であり出力
はP7となるがシンドローム生成回路G2に対しては情
報ビット(第2図参照)8〜15,43であり出力はP
Oと変化する。その変化の様子を第4図に示されている
。即ちP7はGI〜G4に対してP7→PO→PI→P
2と変化している。他の入出力信号に対する出力信号も
同様である。次にシンドロームを生成するには第2図の
表中各ブロックのP7,PO〜P6を互に接続し全ット
の情報を1つにまとめなければならない。それが第5図
の回路F2,F6である。回路F2のX,Y,Zは自分
以外のブロックからのP7,PO〜P6である。第5図
の場合はシンドローム生成回路GIブロックを示してお
り、回路F2は他のブロックのPOを×,Y,Zに接続
、回路F6は他のブロックのP4をU,V,Wに接続す
る。dcn(n=0〜3),dcm(m=4〜7)は検
査ビットを示している。dl〜d16は毎ブロックの情
報ビットを示している。接続されたあとの出力S0,S
4がシンドロームビットとなり、第3図のS0,S4と
同一である。他のシンドロームビットも同様に接続し、
シンドローム生成回路G2ブ。ツクからSI,S5が、
シンドローム生成回路G3ブロックからS2,S6が、
シンドローム生成回路G4ブロックからS3,S7が生
成される。以上は誤り検知訂正装置の説明である。次に
この回路から故障指摘の方法を説明する。
Next, FIG. 4 will be explained. GI to G4 are syndrome generation circuits. FI to F8 are parity circuits that take the exclusive OR of the bits set to "1" in each row in the code divided into each block in FIG. shall be. P7 in Figure 2
, PO to P6. Further details of this are shown in FIG. F5 to F8 are completely equivalent to FI to F4, so they are omitted. In Figure 4, the syndrome generation circuit G
Although only the I block is shown, G2 to G4 are similarly configured. In Figure 5, the input d of the circuit FI
1 to d8, d12 are information bits (see Figure 2) 0 to 7, 35 for the syndrome generation circuit GI, and the output is P7, but information bits (see Figure 2) for the syndrome generation circuit G2 are Reference) 8 to 15, 43 and the output is P
Changes to O. The state of the change is shown in FIG. That is, P7 is P7→PO→PI→P for GI~G4
It has changed to 2. The same applies to output signals for other input/output signals. Next, in order to generate a syndrome, it is necessary to connect P7 and PO to P6 of each block in the table of FIG. 2 to combine the information of all the blocks into one. These are circuits F2 and F6 in FIG. X, Y, and Z of circuit F2 are P7, PO to P6 from blocks other than itself. In the case of Fig. 5, the syndrome generation circuit GI block is shown, and circuit F2 connects PO of another block to ×, Y, and Z, and circuit F6 connects P4 of another block to U, V, and W. . dcn (n=0 to 3) and dcm (m=4 to 7) indicate check bits. dl to d16 indicate information bits of each block. Output S0, S after connected
4 is a syndrome bit, which is the same as S0 and S4 in FIG. Connect other syndrome bits in the same way,
Syndrome generation circuit G2 block. From Tsuku to SI, S5,
S2 and S6 from the syndrome generation circuit G3 block,
S3 and S7 are generated from the syndrome generation circuit G4 block. The above is a description of the error detection and correction device. Next, a method for pointing out a failure from this circuit will be explained.

第3図においてbl〜b4は各ブロックで発生した排他
的論理和のパリティ出力PO〜P7を外部に出力するた
めのものである。但しシンドロームビットが最終的に生
成された回路部分はそのシンドロームビツトを示す。例
えばシンドローム生成回路G2ブロックの場合P0,S
I,P2,P3,P4,S5,P6,P7を示している
。P1,P5ではなくSI,S5であることに注意)。
このbl〜b4をデータ線にのせて読み取れる様にする
。読み込んだあと、外部装置(図示せず)で与えられた
情報データの排他的論理和を発生し今読み込んだ情報デ
ータと比較して誤り検知訂正装置の故障部分を指摘する
ことが出来る。例えば第3図に示したbl〜b4から出
力される報を第6図にHIの様に表現し誤り検知訂正装
の指摘情報と名付ける(以下指摘情報という)。
In FIG. 3, bl-b4 are for outputting the exclusive OR parity outputs PO-P7 generated in each block to the outside. However, the circuit portion where the syndrome bit is finally generated indicates that syndrome bit. For example, in the case of the syndrome generation circuit G2 block, P0, S
I, P2, P3, P4, S5, P6, and P7 are shown. Note that these are SI and S5, not P1 and P5).
These bl to b4 are placed on the data line so that they can be read. After reading, an exclusive OR of the information data given by an external device (not shown) is generated and compared with the information data that has just been read, so that a faulty part of the error detection and correction device can be pointed out. For example, the information output from bl to b4 shown in FIG. 3 is expressed as HI in FIG. 6 and named as error detection and correction device pointing information (hereinafter referred to as pointing information).

DISOは11ブロックのS0(シンドロームビツト)
を示しており、D2POは12ブロックのPO出力を示
している。以下のビットも同に各ブロックの排他的論理
和の出力である。一山として32ビットの情報データが
全て「1」とすれば指摘情報HIの正常な状態は日2で
表現される。指摘情報HIによる状態が日3の場合外部
装置で生成される状態と異なるものと判断され、D4P
Oが異っているのでシンドローム生成回路D4ブ。ツク
のPOを出力する回路が故障ということになる。なおD
ISOも異っているが、第5図からわかるようにD4P
Oが異っているのでDISO‘こ影響を与えた為である
。またこの指摘を有効なものにする為に第3図に示した
エラービット判定回路2の動作を止められることが必要
であり、制御回路5がその制御を行う。即ち誤り検知訂
正装置を使用しない場合情報に誤りがなく、誤り検知訂
正装置を使用すると情報に誤りが生ずる場合に有効とな
る。以上はシンドローム生成時の回路について述べたが
この発明はこれに限らず検査ビット発生回路についても
同様に使用することができる。以上のようにこの発明に
よれば分散した論理ブロックの故障指摘を、外部装置に
よっては自動的にでき故障時間及び修理時間の短縮が可
能となる。
DISO has 11 blocks of S0 (syndrome bits)
, and D2PO indicates the PO output of 12 blocks. The following bits are also the output of the exclusive OR of each block. If all 32 bits of information data are set to "1" as a single pile, the normal state of the indicated information HI is expressed as day 2. If the status according to the indication information HI is day 3, it is determined that the status is different from the status generated by the external device, and D4P
Since O is different, syndrome generation circuit D4b. This means that the circuit that outputs the current PO is faulty. Furthermore, D
The ISO is also different, but as you can see from Figure 5, D4P
This is because since O is different, DISO' had this influence. Further, in order to make this indication effective, it is necessary to be able to stop the operation of the error bit determination circuit 2 shown in FIG. 3, and the control circuit 5 performs this control. That is, it is effective when there is no error in the information when the error detection and correction device is not used, and when an error occurs in the information when the error detection and correction device is used. Although the above description has been made regarding a circuit for generating a syndrome, the present invention is not limited to this and can be similarly applied to a test bit generation circuit. As described above, according to the present invention, failures in distributed logical blocks can be automatically pointed out using an external device, thereby making it possible to shorten failure time and repair time.

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

第1図は「単一誤り訂正、二重誤り検知」符号を示す図
、第2図は第1図で示す符号を並びかえた符号を示す図
、第3図はこの発明を適用した誤り検知訂正装置の概略
構成図、第4図はシンドローム生成回路の棺畑略構成図
、第5図は第4図の排他的論理和回路(パリティー生成
回路)を示す概略構成図、第6図はこの発明を使用して
故障指摘の過程を示した符号図である。 図中、1,4はデータ線、2はエラービット判定回路、
5は制御回路、GI〜G4はシンドローム生成回路、F
I〜F8はパリティ発生回路、bl〜b4はパリティ出
力線である。 なお図中同一符号は同一又は相当部分を示す。第2図 図 蛇 図 の 船 図 寸 船 図 船 第6図
Fig. 1 is a diagram showing a "single error correction, double error detection" code, Fig. 2 is a diagram showing a code obtained by rearranging the codes shown in Fig. 1, and Fig. 3 is a diagram showing error detection to which this invention is applied. A schematic configuration diagram of the correction device, Figure 4 is a schematic configuration diagram of the syndrome generation circuit, Figure 5 is a schematic configuration diagram showing the exclusive OR circuit (parity generation circuit) of Figure 4, and Figure 6 is a schematic diagram of the syndrome generation circuit. FIG. 2 is a code diagram showing a process of pointing out a failure using the invention; In the figure, 1 and 4 are data lines, 2 is an error bit judgment circuit,
5 is a control circuit, GI to G4 are syndrome generation circuits, F
I to F8 are parity generation circuits, and bl to b4 are parity output lines. Note that the same reference numerals in the figures indicate the same or equivalent parts. Figure 2 Figure 6 Snake's boat diagram Dimensions Figure 6

Claims (1)

【特許請求の範囲】 1 N個の情報ビツトを複数個のブロツクに分割し循環
符号方式により上記N個の情報ビツトの誤りを検知及び
訂正する装置に対する故障診断装置であつて、上記複数
個のブロツクと同数であり、相互に同一構成のデータ制
御回路を有し、このデータ制御回路の各々にはパリテイ
出力に応じてエラービツトを検出するための出力信号を
生成する信号生成回路が設けられ、この信号生成回路の
各々には上記複数個のブロツクに分割された情報ビツト
の数に対応する個数のパリテイ発生回路であつて上記の
ように分割された情報ビツトを適宜組合せて上記パリテ
イ出力を発生させるものが設けられ、更に、上記各信号
生発回路内の上記複数個のパリテイ発生回路のパリテイ
出力を外部に出力する手段が設けられており、上記各信
号生成回路内の上記複数個のパリテイ回路のいずれが故
障したかを指摘するようにした前記故障診断装置。 2 各信号生成回路を同一回路で構成したことを特徴と
する特許請求の範囲第1項記載の故障診断装置。
[Scope of Claims] 1. A fault diagnosis device for a device that divides N information bits into a plurality of blocks and detects and corrects errors in the N information bits using a cyclic coding method, which The number of data control circuits is the same as that of the blocks, and each of the data control circuits has the same configuration. Each of the data control circuits is provided with a signal generation circuit that generates an output signal for detecting error bits according to the parity output. Each of the signal generation circuits has a number of parity generation circuits corresponding to the number of information bits divided into the plurality of blocks, and generates the parity output by appropriately combining the information bits divided as described above. further provided with means for outputting parity outputs of the plurality of parity generation circuits in each of the signal generation circuits to the outside, The failure diagnosis device is configured to point out which of the following has failed. 2. The failure diagnosis device according to claim 1, wherein each signal generation circuit is constructed of the same circuit.
JP53067430A 1978-06-05 1978-06-05 Failure diagnosis device Expired JPS6029979B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP53067430A JPS6029979B2 (en) 1978-06-05 1978-06-05 Failure diagnosis device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP53067430A JPS6029979B2 (en) 1978-06-05 1978-06-05 Failure diagnosis device

Publications (2)

Publication Number Publication Date
JPS54158137A JPS54158137A (en) 1979-12-13
JPS6029979B2 true JPS6029979B2 (en) 1985-07-13

Family

ID=13344677

Family Applications (1)

Application Number Title Priority Date Filing Date
JP53067430A Expired JPS6029979B2 (en) 1978-06-05 1978-06-05 Failure diagnosis device

Country Status (1)

Country Link
JP (1) JPS6029979B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH039584Y2 (en) * 1986-02-21 1991-03-11

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH039584Y2 (en) * 1986-02-21 1991-03-11

Also Published As

Publication number Publication date
JPS54158137A (en) 1979-12-13

Similar Documents

Publication Publication Date Title
US6018817A (en) Error correcting code retrofit method and apparatus for multiple memory configurations
US4077028A (en) Error checking and correcting device
US4402045A (en) Multi-processor computer system
KR100261790B1 (en) Error correction circuit and semiconductor memory device
US5768294A (en) Memory implemented error detection and correction code capable of detecting errors in fetching data from a wrong address
IE71652B1 (en) Byte write error method and apparatus
US5751745A (en) Memory implemented error detection and correction code with address parity bits
US4236247A (en) Apparatus for correcting multiple errors in data words read from a memory
US3898443A (en) Memory fault correction system
US6519736B1 (en) Generating special uncorrectable error codes for failure isolation
US5761221A (en) Memory implemented error detection and correction code using memory modules
US4498178A (en) Data error correction circuit
US6463563B1 (en) Single symbol correction double symbol detection code employing a modular H-matrix
GB1417771A (en) Data processing system
US6460157B1 (en) Method system and program products for error correction code conversion
EP1141830B1 (en) A method and apparatus for detecting errors in data output from memory and a device failure in the memory
JPS6029979B2 (en) Failure diagnosis device
JPH02146200A (en) Eeprom device
JPS6160618B2 (en)
SU1302327A1 (en) Storage with modulo error correction
JPH03147041A (en) Error correction system
JPS6093844A (en) Data transmission method
JP2578740B2 (en) Error correction method
JP3045532B2 (en) Memory device
JP2759607B2 (en) Synchronous signal detection device