Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JPH0368019A - Fault detecting system for adder - Google Patents
[go: Go Back, main page]

JPH0368019A - Fault detecting system for adder - Google Patents

Fault detecting system for adder

Info

Publication number
JPH0368019A
JPH0368019A JP1204055A JP20405589A JPH0368019A JP H0368019 A JPH0368019 A JP H0368019A JP 1204055 A JP1204055 A JP 1204055A JP 20405589 A JP20405589 A JP 20405589A JP H0368019 A JPH0368019 A JP H0368019A
Authority
JP
Japan
Prior art keywords
parity
adder
result
addition
arithmetic
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
JP1204055A
Other languages
Japanese (ja)
Inventor
Motoshi Miyashita
宮下 元志
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
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP1204055A priority Critical patent/JPH0368019A/en
Publication of JPH0368019A publication Critical patent/JPH0368019A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To detect a fault of a computing element which is not dualized by bringing a result of addition of an adder to feedback to an input stage, executing the addition to '0' data and generating a parity, and executing a parity check again. CONSTITUTION:Numbers X, Y to be operated pass through arithmetic input selecting parts 31, 32 and sent to an arithmetic part by an instruction of an arithmetic input selection instructing part 4. A result of operation is stored in an arithmetic result store part 2, and a parity generated by a parity generating part 5 is stored in parity store part, and checked by a parity check part 7. The result of operation stored in the arithmetic result store part 2 is brought to feedback to the arithmetic input selecting part 31, and added to an output of a zero data generating part 9. With respect to this addition, the parity check is executed again.

Description

【発明の詳細な説明】 技術分野 本発明は加算器の故障検出方式に関する。[Detailed description of the invention] Technical field The present invention relates to an adder failure detection method.

従来技術 従来、この種の加算器の故11を検出方式は、加算器を
二重化し、各々の加算結果を比較する方法、あるいは、
一方の加算器の加算結果よりパリティを生威し、他方の
加算器の加算結果とのパリティチェックを行う方法によ
り加算器の故障を検出していた。このような故障検出方
式においては、演算器のハードウェア量が大きくなり、
LSI等に組み込む場合、ビンベア数あるいはセル数な
どの制約条件によりLSIの設計を困難にする場合が多
いという欠点がある。
PRIOR ART Conventionally, the method for detecting errors in this type of adder is to duplicate the adder and compare the results of each addition, or,
Adder failures have been detected by determining parity from the addition result of one adder and performing a parity check with the addition result of the other adder. In such a fault detection method, the amount of hardware of the computing unit increases,
When incorporated into an LSI or the like, there is a drawback that the design of the LSI is often difficult due to constraints such as the number of bins or cells.

発明の目的 そこで、本発明はハードウェア量が少ない加算器の故障
検出方式を提供することを目的としている。
OBJECTS OF THE INVENTION Therefore, an object of the present invention is to provide an adder failure detection method that requires a small amount of hardware.

発明の構成 本発明の加算器の故障検出方式は、入力データの加算処
理をなす加算器の故障検出を行う加算器の故障検出方式
であって、加算すべき2つのデータの組と、この2つの
データの加算結果データと“0“の組とを択一的に前記
加算器へ供給する入力供給手段と、前記加算器の加算結
果のパリティを生成するパリティ生成手段と、このパリ
ティ出力をチェックするパリティチェック手段とを設け
、前記2つのデータの加算結果と、前記2つの加算結果
と“0”データとの加算結果のパリティとを用いて前記
パリティチェック手段によりチェックするようにしたこ
とを特徴とする。
Structure of the Invention The adder failure detection method of the present invention is an adder failure detection method for detecting a failure in an adder that performs addition processing of input data, and the adder failure detection method detects a failure in an adder that performs addition processing of input data. input supply means for selectively supplying the addition result data of two data and a set of "0" to the adder; a parity generation means for generating parity of the addition result of the adder; and checking the parity output. A parity check means is provided, and the parity check means checks using the result of addition of the two data and the parity of the result of addition of the two results of addition and "0" data. shall be.

実施例 以下、図面を用いて本発明の詳細な説明する。Example Hereinafter, the present invention will be explained in detail using the drawings.

第1図は本発明の一実施例の回路図を示す。演算部1は
2入力データの加算を行う加算器であり、演算部1の演
算結果は演算結果格納部2に保持される。演算入力選択
指示部4は演算入力選択部31、32への選択条件の指
示を行う。
FIG. 1 shows a circuit diagram of an embodiment of the present invention. The calculation unit 1 is an adder that adds two input data, and the calculation result of the calculation unit 1 is held in the calculation result storage unit 2. The calculation input selection instruction section 4 instructs the calculation input selection sections 31 and 32 regarding selection conditions.

・(リティ生成部5は演算部1の演算結果よりバI)テ
ィを生成する。パリティ生成部5によって生成されたパ
リティはパリティ格納部6に保持され、演算結果格納部
2の出力とパリティ格納部6の出力とのパリティチェッ
クがパリティチェック部7により行われる。
- (The property generation unit 5 generates a property based on the calculation result of the calculation unit 1). The parity generated by the parity generation section 5 is held in the parity storage section 6, and the parity check section 7 performs a parity check between the output of the operation result storage section 2 and the output of the parity storage section 6.

演算結果格納部2とパリティ格納部6へ加えるべき格納
タイミング信号は格納タイミング生成部8で生成される
。ゼロデータ発生部9は演算入力選択部へ“O”データ
を送出する機能を有し、この“0”データは演算入力選
択部32に入力される。また、演算結果格納部2の出力
を演算入力選択部31ヘフィードバックする経路を有し
ている。
A storage timing signal to be applied to the calculation result storage section 2 and the parity storage section 6 is generated by a storage timing generation section 8. The zero data generation section 9 has a function of sending "O" data to the calculation input selection section, and this "0" data is input to the calculation input selection section 32. It also has a path for feeding back the output of the calculation result storage section 2 to the calculation input selection section 31 .

次に、本発明の一実施例の動作について第1図を用いて
説明する。
Next, the operation of one embodiment of the present invention will be explained using FIG.

演算対象となる被演算数X、Yは、演算入力選択指示部
4の指示により演算入力選択部31.32を経由し演算
部1への入力データX、Yとなる。
The operands X and Y to be calculated become input data X and Y to the calculation unit 1 via the calculation input selection units 31 and 32 according to instructions from the calculation input selection instruction unit 4.

演算結果は第2図のセット信号10により演算結果格納
部2に格納される。又第2図のセット信号11によりパ
リティ生成部5により生成されたパリティがパリティ格
納部6に格納され、更にパリティチェック部7によりパ
リティチェックされる。
The calculation result is stored in the calculation result storage section 2 by the set signal 10 shown in FIG. Further, the parity generated by the parity generation section 5 in response to the set signal 11 in FIG. 2 is stored in the parity storage section 6, and further parity checked by the parity check section 7.

セット信号は何れも格納タイミング生成部8により出力
される。これにより演算結果格納部2の故障が検出され
る。
All set signals are output by the storage timing generator 8. As a result, a failure in the calculation result storage unit 2 is detected.

引き続き、演算結果格納部2に格納されている演算結果
は演算入力選択部31にフィードバラ“りされる。演算
入力選択指示部4の指示により演算部1への入力データ
X、Yとなるデータは上述したフィードバックデータと
ゼロデータ発生部9により送出される“0”データであ
る。
Subsequently, the calculation results stored in the calculation result storage section 2 are fed back to the calculation input selection section 31.The data that becomes the input data X and Y to the calculation section 1 according to the instruction from the calculation input selection instruction section 4 is These are the feedback data described above and the "0" data sent out by the zero data generating section 9.

この演算結果からパリティ生成部5によりパリティが生
威されてパリティ格納部6に格納され、演算結果自体は
演算結果格納部2には格納されず、演算結果格納部2に
は前回の演算結果が残っている。この状態で、パリティ
チェック部7により(X+Y)なるデータと現在のパリ
ティ格納部6におけるパリティとを用いてパリティチェ
ックが行Xわれ、加算器の故障を検出可能とする。
Parity is generated from this calculation result by the parity generation unit 5 and stored in the parity storage unit 6.The calculation result itself is not stored in the calculation result storage unit 2, but the calculation result storage unit 2 stores the previous calculation result. Remaining. In this state, the parity check section 7 performs a parity check using the data (X+Y) and the parity in the current parity storage section 6, thereby making it possible to detect a failure in the adder.

発明の詳細 な説明したように本発明は、加算器の加算結果を再び加
算器の入力段にフィードバックさせO“データとの加算
を実行させ、その演算結果よりパリティを生威し、前回
の演算結果とのパリティチェックを行なうことにより、
二重化されていない単一の演算器の故障を検出できる効
果がある。
As described in detail, the present invention feeds back the addition result of the adder to the input stage of the adder to execute the addition with O' data, generates parity from the operation result, and uses the previous operation. By performing a parity check with the result,
This has the effect of being able to detect a failure in a single, non-duplicated arithmetic unit.

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

第1図は本発明の一実施例を示す回路図であり、第2図
は本発明の一実施例を示すタイミング図である。 主要部分の符号の説明 1・・・・・・演算部 5・・・・・・パリティ生成部 6・・・・・・パリティ格納部 7・・・・・・パリティチェック部 9・・・・・・ゼロデータ発生部
FIG. 1 is a circuit diagram showing one embodiment of the present invention, and FIG. 2 is a timing diagram showing one embodiment of the present invention. Explanation of symbols of main parts 1... Arithmetic unit 5... Parity generation unit 6... Parity storage unit 7... Parity check unit 9...・Zero data generation part

Claims (1)

【特許請求の範囲】[Claims] (1)入力データの加算処理をなす加算器の故障検出を
行う加算器の故障検出方式であって、加算すべき2つの
データの組と、この2つのデータの加算結果データと“
0”の組とを択一的に前記加算器へ供給する入力供給手
段と、前記加算器の加算結果のパリテイを生成するパリ
テイ生成手段と、このパリテイ出力をチェックするパリ
テイチェック手段とを設け、前記2つのデータの加算結
果と、前記2つの加算結果と“0”データとの加算結果
のパリテイとを用いて前記パリテイチェック手段により
チェックするようにしたことを特徴とする加算器の故障
検出方式。
(1) An adder failure detection method that detects a failure in an adder that performs addition processing of input data.
input supply means for selectively supplying a set of 0'' to the adder, parity generation means for generating parity of the addition result of the adder, and parity check means for checking the parity output. , a failure of an adder characterized in that the parity checking means checks the parity using the result of addition of the two data and the parity of the result of addition of the two results of addition and "0" data. Detection method.
JP1204055A 1989-08-07 1989-08-07 Fault detecting system for adder Pending JPH0368019A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1204055A JPH0368019A (en) 1989-08-07 1989-08-07 Fault detecting system for adder

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1204055A JPH0368019A (en) 1989-08-07 1989-08-07 Fault detecting system for adder

Publications (1)

Publication Number Publication Date
JPH0368019A true JPH0368019A (en) 1991-03-25

Family

ID=16484003

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1204055A Pending JPH0368019A (en) 1989-08-07 1989-08-07 Fault detecting system for adder

Country Status (1)

Country Link
JP (1) JPH0368019A (en)

Similar Documents

Publication Publication Date Title
US4665522A (en) Multi-channel redundant processing systems
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
JPH0368019A (en) Fault detecting system for adder
JPH02304632A (en) Fault detecting system for computing element
JP6710142B2 (en) Control system
JPS5916303B2 (en) data processing equipment
US5144628A (en) Microprogram controller in data processing apparatus
JP2654072B2 (en) Fault tolerant computer equipment
JPH03265035A (en) Arithmetic output control circuit
JPS61148539A (en) Information processor
JPS6260035A (en) Artificial trouble generation system
JPH07271625A (en) Information processor
JPS63118842A (en) Trouble detecting system for arithmetic unit
JPS60159901A (en) Multiplex control device
JPH02196345A (en) Microprogram controller
JPH04149742A (en) Duplex operation system for computing element
JPH04170657A (en) Transmission line control device
JPH01194035A (en) Address parity checking system for information processor
JPH0573352A (en) Information processor
JPH01231134A (en) Artificial fault generating system for information processor
JPH01241949A (en) Signal processing circuit
JPS6019239A (en) Error checking system of multiple generating circuit
JPS6117983A (en) Emergency stop device for nuclear reactor