JPS5916303B2 - data processing equipment - Google Patents

data processing equipment

Info

Publication number
JPS5916303B2
JPS5916303B2 JP53001768A JP176878A JPS5916303B2 JP S5916303 B2 JPS5916303 B2 JP S5916303B2 JP 53001768 A JP53001768 A JP 53001768A JP 176878 A JP176878 A JP 176878A JP S5916303 B2 JPS5916303 B2 JP S5916303B2
Authority
JP
Japan
Prior art keywords
data
register
parity
circuit
parity bit
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
JP53001768A
Other languages
Japanese (ja)
Other versions
JPS5494851A (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.)
NEC Corp
Original Assignee
Nippon Electric Co Ltd
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 Nippon Electric Co Ltd filed Critical Nippon Electric Co Ltd
Priority to JP53001768A priority Critical patent/JPS5916303B2/en
Publication of JPS5494851A publication Critical patent/JPS5494851A/en
Publication of JPS5916303B2 publication Critical patent/JPS5916303B2/en
Expired legal-status Critical Current

Links

Landscapes

  • Detection And Correction Of Errors (AREA)

Description

【発明の詳細な説明】 本発明は電子計算機等に使用されるデータ処理装置に関
し、特にパリテイビットを用いて障害検出を行なうデー
タ処理装置に関する。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a data processing device used in an electronic computer or the like, and more particularly to a data processing device that detects failures using parity bits.

従来、電子計算機等の論理回路の障害検出には、広く知
られているパリテイ予知によるパリテイチェック方式や
パリテイビットを付加せずに装置を二重化して障害を検
出する方式が採用されている。
Conventionally, fault detection in logic circuits in electronic computers has been carried out by using the widely known parity check method based on parity prediction, or by duplicating devices without adding parity bits to detect faults. .

しかし、前者では論理回路のLSI化が進んできている
現在、障害検出対象金物に比べてパリテイ予知のための
金物の占める実装スペースが膨大なものとなり、また、
後者には障害検出用金物と対象金物が同等に必要となる
欠点がある。第1図に後者の二重化方式を採用した装置
の構成を示す。
However, in the former case, as logic circuits are becoming more and more integrated into LSIs, the mounting space occupied by the hardware for parity prediction becomes enormous compared to the hardware for failure detection.
The latter method has the disadvantage that it requires both a fault detection hardware and a target hardware. FIG. 1 shows the configuration of a device that employs the latter duplex method.

Aレジスタ1、Bレジスタ2およびCレジスタ3に保持
された被演算データのうち加算すべき2つのデータがレ
ジスタ選択回路4で選択され2進加算器5に入力される
Of the operand data held in the A register 1, B register 2, and C register 3, two data to be added are selected by the register selection circuit 4 and input to the binary adder 5.

加算された結果はDレジスタ6に与えられ出力データは
一致検出回路Tへ送られる。上記一連の動作と同様に二
重化された他方のEレジスタ8、Fレジスタ9、Gレジ
スタ10、レジスタ選択回路11および2進加算器12
が動作し、加算結果がHレジスタ13に与えられ、出力
データが一致検出回路Tに送られ前記Dレジスタ6から
の出力と前記Hレジスタ13からの出力との比較を行な
うことにより障害発生の有無を検出している、本発明の
目的は必要最小限の論理回路のみを二重化して一方の論
理回路から結果のデータビットと他方の論理回路から結
果のパリテイビットとを併合してパリテイチェックを行
なうことにより上記従来装置と同等の障害検出率を維持
し障害検出金物量を削減して従来装置の欠点を解消した
データ処理装置を提供することにある。
The added result is given to the D register 6, and the output data is sent to the coincidence detection circuit T. The other E register 8, F register 9, G register 10, register selection circuit 11, and binary adder 12 are duplicated in the same manner as in the above series of operations.
operates, the addition result is given to the H register 13, the output data is sent to the coincidence detection circuit T, and the output from the D register 6 and the output from the H register 13 are compared to determine whether or not a fault has occurred. The purpose of the present invention is to duplicate only the minimum necessary logic circuits and perform a parity check by merging the resulting data bits from one logic circuit and the resulting parity bits from the other logic circuit. It is an object of the present invention to provide a data processing device which eliminates the drawbacks of the conventional device by maintaining a fault detection rate equivalent to that of the conventional device and reducing the amount of fault detection hardware.

この発明の装置は、第1のデータとそのパリテイビット
とを保持する第1のデータ保持回路と、前記第1のデー
タと同一内容の第2のデータとそのパリテイビットとを
保持する第2のデータ保持回路と、前記第1および第2
のデータ保持回路からそれぞれ第1のデータおよび第2
のデータを供給されそれぞれのデータに同一の演算処理
するよう二つの処理手段を有する二重化演算処理手段と
、この二重化演算処理手段の一方の処理手段からの演算
結果にもとづいてパリテイビツトを発生させるバリテイ
ビツト発生手段とを含み、前記二重化演算処理手段の他
方の処理手段の演算結果をデータとしかつこのデータに
前記パリテイビツト発生手段から発生されたパリテイビ
ツトを付加して送出するようにしたことを特徴とする。
The device of the present invention includes a first data holding circuit that holds first data and its parity bit, and a second data holding circuit that holds second data having the same content as the first data and its parity bit. 2 data holding circuits, and the first and second data holding circuits.
the first data and the second data from the data holding circuits respectively.
a duplex arithmetic processing means having two processing means so as to perform the same arithmetic processing on each data supplied with the data; and a parity bit generator for generating a parity bit based on the calculation result from one of the processing means of the duplex arithmetic processing means. The method is characterized in that the processing result of the other processing means of the duplex processing means is used as data, and a parity bit generated from the parity bit generation means is added to this data before being transmitted.

次に本発明について図面を参照して詳細に説明する。第
2図に示した本発明の第1の実施例は2進加減算を遂行
する装置を示し、この装置ではパリテイビツトPを付加
した被演算データを保持するAレジスタ21、Bレジス
タ22}よびCレジスタ23の出力のうち演算したいそ
れぞれパリテイビツトを含む前記レジスタのうち2個の
レジスタからの前記レジスタのうち2個のデータがレジ
スタ選択回路24に入力され、ここで選択された2個の
データが線28訃よび29を介してパリテイビツトを除
いたデータビツトとして2進加算器5と12およびパリ
テイチエツク回路27へ与えられ、2進加算器5卦よび
12へ入力されたデータにエラーがあつたか否かがパリ
テイチエツク回路27の出力に得られる。
Next, the present invention will be explained in detail with reference to the drawings. A first embodiment of the present invention shown in FIG. 2 shows an apparatus for performing binary addition and subtraction, in which an A register 21, a B register 22} and a C register hold operand data to which a parity bit P has been added. Out of the 23 outputs, data from 2 of the registers each containing a parity bit to be operated on is input to the register selection circuit 24, and the 2 data selected here are sent to the line 28. Whether or not there is an error in the data input to the binary adders 5 and 12 and the parity check circuit 27, which are provided as data bits excluding the parity bits via the input terminal 29 and the parity check circuit 27. is obtained at the output of the parity check circuit 27.

前記線28訃よび29を介して2進加算器5卦よび12
に入力されたデータビツトが2進加算器5卦よび12で
演算され、その結果のデータバツトが2進加算器5から
Dレジスタ26に与えられ、また、パリデイビツトは2
進加算器12に接続されたパリテイ発生回路25の出力
に得られ、前記データビツトに前記パリテイビツトを付
加したものが演算結果としてDレジスタ26に得られる
。Dレジスタ26の出力は線32で前記パリテイチエツ
ク回路27に供給され、2進加算器5と12、パリテイ
発生回路25およびDレジスタ26と動作した一連の論
理回路に障害があつたかどうかパリテイチエツク回路2
7の出力に得られる。このように、本発明では、前記加
算処理遂行に必要な金物に対してある一部論理回路(2
進加算器5,12)を二重化してパリテイビツトを発生
させかつチエツクすることにより障害検出率を悪化させ
ずに、障害検出金物量を削減することができる。
Binary adders 5 and 12 are connected via the lines 28 and 29.
The data bits input to the register 26 are operated on by the binary adders 5 and 12, and the resulting data bits are given from the binary adder 5 to the D register 26.
The output of the parity generation circuit 25 connected to the adder 12 is obtained, and the result obtained by adding the parity bit to the data bit is obtained in the D register 26 as an operation result. The output of the D register 26 is supplied on line 32 to the parity check circuit 27, which checks the parity check circuit 27 to determine if there is a failure in the series of logic circuits operating with the binary adders 5 and 12, the parity generator 25 and the D register 26. Check circuit 2
The output of 7 is obtained. In this way, in the present invention, a certain part of the logic circuit (2
By duplicating the advance adders 5 and 12) to generate and check parity bits, it is possible to reduce the amount of hardware detected for failure without deteriorating the failure detection rate.

第3図に示した本発明の第2の実施例は左シフト処理を
遂行する装置であり、この装置はJレジスタ41とKレ
ジスタ42と、このJレジスタ41のデータを入力しシ
フト数指定回路48で指定された数だけ左シフトする二
重化シフト回路45とから構成されている。
The second embodiment of the present invention shown in FIG. 3 is a device that performs left shift processing, and this device includes a J register 41, a K register 42, and a shift number designation circuit that inputs the data of the J register 41. 48, and a duplex shift circuit 45 that shifts to the left by the number specified by 48.

この二重化シフト回路45に卦いて上述のように左シフ
トされたときの空白部分(すなわち、右端)に前記Kレ
ジスタ42に格納されたデータが順に供給される。
The data stored in the K register 42 is sequentially supplied to the duplication shift circuit 45 to the blank portion (ie, the right end) when the data is shifted to the left as described above.

前記二重化シフト回路45でシフトされた結果は、前記
Jレジスタ41にフイードバツクされ、そこに一旦格納
された後でJレジスタ41中の(図示していない)パリ
テイ発生回路でパリテイビツトが付加されたあとで信号
線43を介してパリテイチエツクされる。
The result shifted by the duplex shift circuit 45 is fed back to the J register 41, and once stored there, a parity bit is added by a parity generation circuit (not shown) in the J register 41. Parity is checked via signal line 43.

この比較結果により一連のシフト動作を行なう前記シフ
ト回路に卦ける障害の有無を調べることができる。
Based on the comparison result, it is possible to check whether or not there is a failure in the shift circuit that performs a series of shift operations.

前記シフト処理遂行に必要な金物のLSI化に加え、障
害検出のために必要なパリテイチエツク回路、パリテイ
発生回路訃よび二重化処理回路をレジスタ用Cおよびシ
フト用Cに組込むことにより、LSI化に適した障害検
出をより少ない金物増で実現できる。
In addition to converting the hardware necessary for performing the shift processing into an LSI, the parity check circuit, parity generation circuit, and duplication processing circuit necessary for failure detection are incorporated into the register C and shift C. Appropriate fault detection can be achieved with fewer additional hardware.

本発明はパリテイチエツク回路、一部論理回路の二重化
訃よびパリテイ発生回路を持つことでより多い障害検出
金物を要した方式と同等の障害検出率を得ることが可能
とする。
By having a parity check circuit, duplication of some logic circuits, and a parity generation circuit, the present invention makes it possible to obtain a fault detection rate equivalent to a system requiring more fault detection hardware.

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

第1図は障害検出を行なう従来の構成を示す図、第2図
は本発明の第一の実施例を示す図および第3図は本発明
の他の実施例を示す図。 1・・・・・・Aレジスタ、2・・・・・・Bレジスタ
、3・・・・・・Cレジスタ、4・・・・・・レジスタ
選択回路、5・・・・・・2進加算器、6・・・・・・
Dレジスタ、7・・・・・・一致検出回路、8・・・・
・・Eレジスタ、9・・・・・・Fレジスタ、10・・
・・・・Gレジスタ、11・・・・・・レジスタ選択回
路、12・・・・・・2進加算器、13・・・・・・H
レジスタ、21・・・・・・パリテイを付加したAレジ
スタ、22・・・・・・パリテイを付加したBレジスタ
、23・・・・・・パリテイを付加したCレジスタ、2
4・・・・・・ゲリテイビツトを含めて選択するレジス
タ選択回路、25・・・・・・パリテイビツト発生回路
、26・・・・・・パリテイを付加したDレジスタ、2
7・・・・・・パリテイチエツク回路、28,29・・
・・・・データビツト線、30,31・・・・・・パリ
テイビツト線、41・・・・・・Jレジスタ、42・・
・・・・Kレジスタ、43,44・・・・・・パリテイ
チエツク出力線、45・・・・・・二重化シフト回路、
46・・・・・・シフト結果出力データ線、47・・・
・・・シフト数指定回路。
FIG. 1 is a diagram showing a conventional configuration for detecting a failure, FIG. 2 is a diagram showing a first embodiment of the present invention, and FIG. 3 is a diagram showing another embodiment of the present invention. 1...A register, 2...B register, 3...C register, 4...register selection circuit, 5...binary Adder, 6...
D register, 7... Coincidence detection circuit, 8...
...E register, 9...F register, 10...
...G register, 11...Register selection circuit, 12...Binary adder, 13...H
Register, 21...A register with parity added, 22...B register with parity added, 23...C register with parity added, 2
4...Register selection circuit that selects including the gerity bit, 25...Parity bit generation circuit, 26...D register with parity added, 2
7... Parity check circuit, 28, 29...
...Data bit line, 30, 31...Parity bit line, 41...J register, 42...
... K register, 43, 44 ... Parity check output line, 45 ... Duplex shift circuit,
46...Shift result output data line, 47...
...Shift number specification circuit.

Claims (1)

【特許請求の範囲】[Claims] 1 第1のデータとそのパリテイビットとを保持する第
1のデータ保持回路と、前記第1のデータと同一内容の
第2のデータとそのパリテイビットとを保持する第2の
データ保持回路と、前記第1および第2のデータ保持回
路からそれぞれ第1のデータおよび第2のデータを供給
されそれぞれのデータに同一の演算処理するよう二つの
処理手段を有する二重化演算処理手段と、この二重化演
算処理手段の一方の処理手段からの演算結果にもとづい
てパリテイビットを発生させるパリテイビット発生手段
とを含み、前記二重化演算処理手段の他方処理手段の演
算結果をデータとし、かつこのデータに前記パリテイビ
ット発生手段から発生されたパリテイビットを付加して
送出するようにしたことを特徴とするデータ処理装置。
1. A first data holding circuit that holds first data and its parity bit; and a second data holding circuit that holds second data that has the same content as the first data and its parity bit. and a duplex operation processing means having two processing means supplied with first data and second data from the first and second data holding circuits, respectively, and performing the same arithmetic operation on each data; parity bit generating means for generating a parity bit based on the calculation result from one of the processing means of the arithmetic processing means, the calculation result of the other processing means of the duplex calculation processing means being used as data, and the data A data processing device characterized in that a parity bit generated by the parity bit generation means is added and transmitted.
JP53001768A 1978-01-10 1978-01-10 data processing equipment Expired JPS5916303B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP53001768A JPS5916303B2 (en) 1978-01-10 1978-01-10 data processing equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP53001768A JPS5916303B2 (en) 1978-01-10 1978-01-10 data processing equipment

Publications (2)

Publication Number Publication Date
JPS5494851A JPS5494851A (en) 1979-07-26
JPS5916303B2 true JPS5916303B2 (en) 1984-04-14

Family

ID=11510750

Family Applications (1)

Application Number Title Priority Date Filing Date
JP53001768A Expired JPS5916303B2 (en) 1978-01-10 1978-01-10 data processing equipment

Country Status (1)

Country Link
JP (1) JPS5916303B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5559563A (en) * 1978-10-30 1980-05-06 Nec Corp Error detector
JPH0691428B2 (en) * 1985-01-23 1994-11-14 株式会社日立製作所 Flip-flop circuit

Also Published As

Publication number Publication date
JPS5494851A (en) 1979-07-26

Similar Documents

Publication Publication Date Title
Patel et al. Concurrent error detection in ALU's by recomputing with shifted operands
US6173414B1 (en) Systems and methods for reduced error detection latency using encoded data
JPH07129426A (en) Fault processing system
US3660646A (en) Checking by pseudoduplication
JPH02150921A (en) Surplus inspector
US5081629A (en) Fault isolation for multiphase clock signals supplied to dual modules which are checked by comparison using residue code generators
US4924467A (en) System for checking duplicate logic using complementary residue codes to achieve high error coverage with a minimum of interface signals
US4224681A (en) Parity processing in arithmetic operations
JPS5916303B2 (en) data processing equipment
US4538237A (en) Method and apparatus for calculating the residue of a binary number
JPS62293441A (en) Data outputting system
US5742533A (en) Method and apparatus for modulus error checking
US5629945A (en) Electronic arithmetic unit with multiple error detection
JP2000040081A (en) Vector data processor
JPS6029413B2 (en) Arithmetic circuit error checking method
JP3173648B2 (en) Failure detection method
JP2965595B2 (en) Redundant device
JPH04288629A (en) Operation circuit for data with parity
JPS63115240A (en) Fault detecting system
JPS63106838A (en) Data buffer check circuit
JPH01231134A (en) Artificial fault generating system for information processor
JPH0368019A (en) Fault detecting system for adder
JPH01194035A (en) Address parity checking system for information processor
JPS6083162A (en) Diagnosis device of input circuit
JPH02220141A (en) Trouble detecting circuit