JPS5935456B2 - arithmetic processing unit - Google Patents

arithmetic processing unit

Info

Publication number
JPS5935456B2
JPS5935456B2 JP52065059A JP6505977A JPS5935456B2 JP S5935456 B2 JPS5935456 B2 JP S5935456B2 JP 52065059 A JP52065059 A JP 52065059A JP 6505977 A JP6505977 A JP 6505977A JP S5935456 B2 JPS5935456 B2 JP S5935456B2
Authority
JP
Japan
Prior art keywords
arithmetic
register
signal line
calculation
sent
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
JP52065059A
Other languages
Japanese (ja)
Other versions
JPS53149738A (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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP52065059A priority Critical patent/JPS5935456B2/en
Publication of JPS53149738A publication Critical patent/JPS53149738A/en
Publication of JPS5935456B2 publication Critical patent/JPS5935456B2/en
Expired legal-status Critical Current

Links

Description

【発明の詳細な説明】 〔発明の利用分野〕 本発明は、演算器を2面有する演算処理装置の改良に関
するもの−cある。
DETAILED DESCRIPTION OF THE INVENTION [Field of Application of the Invention] The present invention relates to an improvement of an arithmetic processing device having two arithmetic units.

〔発明の背景〕[Background of the invention]

高信頼度を要求される演算処理装置においては、その演
算動作で用いる演算器の演算誤りを検出する為に、同一
演算器を2面持たせ、2面の演算器に同一演算動作を行
なわせ、演算結果を比較し、一致していれば指定した演
算が正しく行なわれたと見做し、もし不一致であれば演
算誤りが生じていると見做して制御装置に対しエラー信
号を送出し、制御装置が何らかのエラー処理を行つてい
る。
In arithmetic processing devices that require high reliability, in order to detect calculation errors in the arithmetic units used in the arithmetic operations, two sides of the same arithmetic unit are provided, and the arithmetic units on the two sides are made to perform the same arithmetic operation. , compare the calculation results, and if they match, it is assumed that the specified calculation was performed correctly; if they do not match, it is assumed that a calculation error has occurred, and an error signal is sent to the control device, The control device is performing some kind of error handling.

この場合、一般には2面の演算器に対して固定的に同一
動作を行うよう構成されており、誤りが生じても演算器
での誤動作なのか比較回路での誤動作なのか均分けがで
きなかつた。このため、2面の演算器を各々独立に制御
し、各演算器に同一データを与えて異なる演算を実行せ
しめることにより、比較回路の正常性をチェックする方
法が提案されている(特開昭51−48241号)。し
かし、この従来の方法は、2面の演算器が正しく動作す
る場合のみ、比較回路の正しい正常性チェックが保証さ
れるものであり、信頼性という点で十分でない。〔発明
の目的〕 本発明の目的は、演算器を2面有する演算処理装置にお
いて、演算誤り検出時に、そのエラー処理に対して演算
器における誤りなのか比較回路における誤りなのかを正
しく均分ける手段を与えることにある。
In this case, the arithmetic units on the two sides are generally configured to perform the same operation in a fixed manner, and even if an error occurs, it is difficult to tell whether it is a malfunction in the arithmetic unit or in the comparator circuit. Ta. For this reason, a method has been proposed for checking the normality of the comparator circuit by independently controlling the computing units on the two sides, giving the same data to each computing unit, and having them perform different operations (Japanese Patent Application Laid-Open No. No. 51-48241). However, in this conventional method, correct normality check of the comparator circuit is guaranteed only when the arithmetic units on the two sides operate correctly, and is not sufficient in terms of reliability. [Object of the Invention] An object of the present invention is to provide a means for correctly dividing whether an error is in the arithmetic unit or in a comparator circuit with respect to error processing when an arithmetic error is detected in an arithmetic processing device having two arithmetic units. It is about giving.

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

本発明の特徴とするところは、2面の演算器から出力さ
れる演算結果を個別に演算結果格納レジスタに取込む機
能を実現することにより、演算結果として格納されるレ
ジスタ群に2面の演算器の演算結果を別々に格納し、更
に、このレジスタ群の2つの演算結果を参照することに
より、各々の演算器がいかなる演算動作を行なつたかを
容易に判読できるようにしたことである。
The feature of the present invention is that by realizing the function of individually importing the calculation results output from the calculation units of the two sides into the calculation result storage register, the two sides of the calculation can be stored in the register group where the calculation results are stored. By storing the operation results of the units separately and referring to the operation results of the two register groups, it is possible to easily determine what operation each operation unit has performed.

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

図は本発明による演算処理装置の一実施例のブロック図
を示したものである。
The figure shows a block diagram of an embodiment of an arithmetic processing device according to the present invention.

図において、演算器囚3及び演算器(B)4はそれぞれ
レジスタ囚1、レジスタ(B)2、ゲート10及び比較
回路8に接続され、更に、演算器(A)3には演算モー
ドデコーダCA)5が、演算器(B)4には演算モード
デコーダ(B)6が接続されている。演算結果格納レジ
スタ11にはゲート10、レジスタ(A)1及びレジス
タ(B)2が接続され、ラツチ9には比較回路8及び制
御装置7が接続されている。制御装置7にはレジスタ囚
1、レジスタ(B)2、演算モードデコーダ(A)5、
演算モードデコーダ(B)6、ゲート10及びラツチ9
が接続されている。レジスタ(A)1は本実施例では1
個であるが、通常は複数のレジスタを有するレジスタ群
の内の1つが使用されて被演算数を蓄えておく。
In the figure, the arithmetic unit 3 and the arithmetic unit (B) 4 are connected to the register 1, the register (B) 2, the gate 10, and the comparison circuit 8, respectively, and the arithmetic unit (A) 3 is connected to an arithmetic mode decoder CA. ) 5, and a calculation mode decoder (B) 6 is connected to the calculation unit (B) 4. A gate 10, a register (A) 1 and a register (B) 2 are connected to the calculation result storage register 11, and a comparison circuit 8 and a control device 7 are connected to the latch 9. The control device 7 includes a register 1, a register (B) 2, an operation mode decoder (A) 5,
Operation mode decoder (B) 6, gate 10 and latch 9
is connected. Register (A) 1 is 1 in this embodiment.
Usually one of a register group having multiple registers is used to store the operand.

このレジスタ(A)1の被演算数は信号線12を介して
送出され、演算器3及び4に取り込まれる。レジスタ(
8)2も通常は複数のレジスタからなるレジスタ群の1
つが使用されて、それに演算数が蓄えられ、信号線13
を介して演算器3及び4に与えられる。演算モードデコ
ーダ(A)5は信号線22を介して制御装置7から送ら
れて来る演算モード指令をデコードし、信号線24を介
して演算器(A)3に与えるためのものである。同様に
、演算モードデコーダ(B)6は信号線23を介して制
御装置7から送られて来る演算モード指令をデコードし
、信号線25を介して演算器(B)4に与えるためのも
のである。制御装置7は上記演算モードデコーダ5,6
に対する演算モード指令の他に、信号線20,21を通
してレジスタ1,2にレジスタ選択信号を、又、信号線
26を通してゲート10に演算器選択信号を、更に、信
号線27を介してラツチ9にセツト信号をそれぞれ送出
する。演算器(A)3は、信号線24を介して送られて
来る演算モード指令に基き、信号線12を介して送られ
て来る被演算数及び信号線13を介して送られて来る演
算数に対して所定の演算を行い、その演算結果を信号線
14に送出する。
The operand of this register (A) 1 is sent out via the signal line 12 and taken into the arithmetic units 3 and 4. register(
8) 2 is also usually one of a register group consisting of multiple registers.
is used, the arithmetic number is stored in it, and the signal line 13
The signal is supplied to the arithmetic units 3 and 4 via. The arithmetic mode decoder (A) 5 is for decoding the arithmetic mode command sent from the control device 7 via the signal line 22 and giving it to the arithmetic unit (A) 3 via the signal line 24. Similarly, the arithmetic mode decoder (B) 6 is for decoding the arithmetic mode command sent from the control device 7 via the signal line 23 and giving it to the arithmetic unit (B) 4 via the signal line 25. be. The control device 7 includes the arithmetic mode decoders 5 and 6.
In addition to the operation mode command for A set signal is sent respectively. The arithmetic unit (A) 3 receives the operands sent via the signal line 12 and the operands sent via the signal line 13 based on the arithmetic mode command sent via the signal line 24. A predetermined calculation is performed on the data, and the calculation result is sent to the signal line 14.

演算器(B)4でも、信号線25を介して送られて来る
演算モード指令に基き、信号線12を介して送られて来
る被演算数及び信号線13を介して送られて来る演算数
に対して所定の演算を行い、演算結果を信号線・15に
送出する。この時、制御装置7より信号線22、23に
送出する演算モード指◆を異つたものにすると、演算器
3、4で異る演算、例えば演算器(A)3では加算を、
演算器(B)4では減算を実行させることができる。比
較回路8は、信号線14を介して送られて来る演算器(
A)3からの演算結果と信号線15を介して送られて来
る演算器(B)4からの演算結果とをビツト対応に比較
し、全ビツト一致している場合には結果一致信号を、一
致していない場合には結果不一致信号を信号線18に送
出する。
Also in the arithmetic unit (B) 4, based on the arithmetic mode command sent via the signal line 25, the operands sent via the signal line 12 and the operands sent via the signal line 13 are calculated. A predetermined calculation is performed on the data, and the calculation result is sent to the signal line 15. At this time, if the calculation mode indicators ◆ sent from the control device 7 to the signal lines 22 and 23 are different, the calculation units 3 and 4 perform different calculations, for example, calculation unit (A) 3 performs addition.
The arithmetic unit (B) 4 can perform subtraction. The comparator circuit 8 receives an arithmetic unit (
The calculation result from A) 3 and the calculation result from the calculation unit (B) 4 sent via the signal line 15 are compared bit by bit, and if all bits match, a result match signal is sent. If they do not match, a result mismatch signal is sent to the signal line 18.

ラツチ9は制御装置7から信号線27を介して送られて
来るセツト信号により、信号線18を介して結果一致信
号が送られて来ている場合にオンとなり、結果不一致信
号が送られて来ている場合にはオフとなるモードラツチ
であり、本ラツチのオン、オフの状態は信号線19を介
して制御装置7に通知される。制御装置7は、上記モー
ドラツチ9の状態により、例えば演算結果が不一致の場
合、演算器3、4に対して異つた演算モードを指定して
、再度演算を行わしめ、演算器3、4の誤動作なのか比
較回路8での誤動作なのかの切分けをとりあえず判断す
る。
The latch 9 is turned on by a set signal sent from the control device 7 via the signal line 27, when a result match signal is sent via the signal line 18, and when a result mismatch signal is sent. This mode latch is turned off when the latch is on, and the on/off state of this latch is notified to the control device 7 via the signal line 19. Depending on the state of the mode latch 9, for example, if the calculation results do not match, the control device 7 specifies a different calculation mode for the calculation units 3 and 4 and performs the calculation again, thereby preventing malfunction of the calculation units 3 and 4. For now, we will decide whether it is a malfunction in the comparator circuit 8 or not.

一方、信号線14、15に送出された演算結果は共にゲ
ート10に入り、制御装置7から信号線26に演算器(
A)3を選択する信号が送出されていると、信号線14
に送出された演算器(A)3の演算結果が信号線16を
介して演算結果格納レジスタ11にラツチされ、信号線
26に演算器(B)4を選択する信号が送出されている
と、信号線15に送出された演算器(B)4の演算結果
が演算結果格納レジスタ11にラツチされる。
On the other hand, the calculation results sent to the signal lines 14 and 15 both enter the gate 10 and are sent from the control device 7 to the signal line 26 to the calculation unit (
A) If the signal to select 3 is being sent, the signal line 14
The calculation result of the calculation unit (A) 3 sent to is latched in the calculation result storage register 11 via the signal line 16, and the signal for selecting the calculation unit (B) 4 is sent to the signal line 26. The operation result of the arithmetic unit (B) 4 sent to the signal line 15 is latched into the operation result storage register 11.

この演算結果格納レジスタ11にラツチされた内容は、
制御装置7より信号線21(これは実際には制御線とデ
ータ線よりなる)を介してレジスタ(A)1に該レジス
タ選択信号が送られてきていると、信号線17を介して
該レジスタ(A)1に格納され、信号線20(これも制
御線とデータ線よりなる)を介してレジスタ(B)2に
該レジスタ選択信号が送られてきていると、該レジスタ
(B)2に格納されることになる。更に、レジスタ(A
)1は信号線21を介して制御装置7から送られて来る
データを格納でき、同じ信号線21を介して自レジスタ
の内容を制御装置7に送出することもできる。レジスタ
(B)2も同様に信号線20を介して制御装置7から送
られて来るデータを格納でき、同じ信号線20を介して
自レジスタの内容を制御装置7に送出することができる
。従つて、制御装置7は、各演算器CA)3、(8)4
の演算結果をレジスタCA)1あるいはレジスタ(B)
2を通して入手することができ、これにより演算器毎の
動作の正常性をチエツクすることができる。この各演算
器3、4が正常に動作することを確認した上で、制御装
置7は演算器3、4に異なる演算を行わしめることによ
り、その場合のラツチ9の伏態によつて比較回路8の正
常性を正しく判定することができる。〔発明の効果〕、 以上の説明から明らかな如く、本発明によれば、各演算
器の出力を任意に選択して取出し、制御装置で解析する
ことにより演算器毎の動作の正常性チエツクが行え、更
に各演算器が正常に動作することを確認できることによ
り比較回路の正しい正常性チエツクも行え、演算器及び
比較回路の正常性チエツクの信頼性を格段に向上させる
ことができる。
The contents latched in this operation result storage register 11 are as follows:
When the register selection signal is sent from the control device 7 to the register (A) 1 via the signal line 21 (which actually consists of a control line and a data line), the register selection signal is sent via the signal line 17 to the register (A) 1. (A) 1 and the register selection signal is sent to the register (B) 2 via the signal line 20 (also consisting of a control line and a data line). It will be stored. Furthermore, the register (A
) 1 can store data sent from the control device 7 via the signal line 21, and can also send the contents of its own register to the control device 7 via the same signal line 21. Similarly, the register (B) 2 can store data sent from the control device 7 via the signal line 20, and can send the contents of its own register to the control device 7 via the same signal line 20. Therefore, the control device 7 controls each arithmetic unit CA)3, (8)4
The operation result is stored in register CA) 1 or register (B).
2, and can be used to check the normality of operation of each computing unit. After confirming that each of the arithmetic units 3 and 4 operates normally, the control device 7 causes the arithmetic units 3 and 4 to perform different arithmetic operations. It is possible to correctly determine the normality of 8. [Effects of the Invention] As is clear from the above explanation, according to the present invention, the normality of the operation of each computing unit can be checked by arbitrarily selecting and extracting the output of each computing unit and analyzing it with a control device. Furthermore, since it can be confirmed that each arithmetic unit operates normally, a correct normality check of the comparator circuit can be performed, and the reliability of the normality check of the arithmetic unit and the comparator circuit can be greatly improved.

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

図は本発明の一実施例を示す演算処理装置のプロツク図
である。 1・・・・・・レジスタ(A)、2・・・・・・レジス
タ(B)、3・・・・・・演算器(4)、4・・・・・
・演算器(B),. 5・・・・・・演算モードデコー
ダ(4)、6・・・・・・演算モードデコーダ(B)、
7・・・・・制御装置、8・・・・・・比較回路、9・
・・・・・ラツチ、10・・・・・・ゲート、11・・
・・・・演算結果格納レジスタ。
The figure is a block diagram of an arithmetic processing device showing one embodiment of the present invention. 1...Register (A), 2...Register (B), 3...Arithmetic unit (4), 4...
・Arithmetic unit (B), . 5... Arithmetic mode decoder (4), 6... Arithmetic mode decoder (B),
7...control device, 8...comparison circuit, 9...
...Latch, 10...Gate, 11...
...Arithmetic result storage register.

Claims (1)

【特許請求の範囲】[Claims] 1 被演算数を蓄えておくレジスタと、演算数を著えて
おくレジスタと、両レジスタの内容の所定の演算を行な
う演算器を2面と、該2面の演算器の出力の演算結果を
比較する比較回路と、該比較回路での比較結果をラッチ
するラッチ回路と、前記演算結果を一時的に格納する演
算結果格納レジスタと、全体の動作を制御する制御装置
とからなる演算処理装置において、前記制御装置からの
指令により前記2面の演算器に同一の演算動作あるいは
異なる演算動作を指定すると共に、前記2面の演算器の
任意の側の出力を選択して前記演算結果格納レジスタに
ラッチすることを特徴とする演算処理装置。
1 A register for storing the operands, a register for storing the operands, and an arithmetic unit that performs a predetermined operation on the contents of both registers, and the calculation results of the outputs of the arithmetic units on the two sides are compared. In an arithmetic processing device, the arithmetic processing device includes a comparator circuit that latches the comparison result of the comparator circuit, a computation result storage register that temporarily stores the computation result, and a control device that controls the overall operation. A command from the control device specifies the same arithmetic operation or a different arithmetic operation for the arithmetic units on the two sides, and selects the output of any side of the arithmetic units on the two sides and latches it in the arithmetic result storage register. An arithmetic processing device characterized by:
JP52065059A 1977-06-02 1977-06-02 arithmetic processing unit Expired JPS5935456B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP52065059A JPS5935456B2 (en) 1977-06-02 1977-06-02 arithmetic processing unit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP52065059A JPS5935456B2 (en) 1977-06-02 1977-06-02 arithmetic processing unit

Publications (2)

Publication Number Publication Date
JPS53149738A JPS53149738A (en) 1978-12-27
JPS5935456B2 true JPS5935456B2 (en) 1984-08-29

Family

ID=13275990

Family Applications (1)

Application Number Title Priority Date Filing Date
JP52065059A Expired JPS5935456B2 (en) 1977-06-02 1977-06-02 arithmetic processing unit

Country Status (1)

Country Link
JP (1) JPS5935456B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CA1257003A (en) * 1985-06-19 1989-07-04 Tadayoshi Enomoto Arithmetic circuit

Also Published As

Publication number Publication date
JPS53149738A (en) 1978-12-27

Similar Documents

Publication Publication Date Title
US3937938A (en) Method and apparatus for assisting in debugging of a digital computer program
JPS635777B2 (en)
JPS6351287B2 (en)
JPH05143476A (en) Diagnostic system for instruction queue
US5440604A (en) Counter malfunction detection using prior, current and predicted parity
JPS5935456B2 (en) arithmetic processing unit
US5388253A (en) Processing system having device for testing the correct execution of instructions
JPS62293441A (en) Data outputting system
US5144628A (en) Microprogram controller in data processing apparatus
JPH0612270A (en) Test circuit
JP2704062B2 (en) Information processing device
JPS5939777B2 (en) control storage
JP2690910B2 (en) Control storage device
JPH06259250A (en) Information processor
JPH03266154A (en) Information processor
JPH0335327A (en) Majority decision fault processor
JPS60167547A (en) Signal transmitter
JPH04318628A (en) Central processing unit
JPS62166451A (en) History analyzing device for logical unit
JPH0642209B2 (en) Information processing equipment
JPH0823849B2 (en) Memory read register controller
JPS61267141A (en) Address detecting device for microprogram
JPH03142503A (en) Programmable controller
JPH0268633A (en) Check circuit for microprogram
JPH01162941A (en) Data saving system