JPS6039249A - Operation device - Google Patents

Operation device

Info

Publication number
JPS6039249A
JPS6039249A JP58147601A JP14760183A JPS6039249A JP S6039249 A JPS6039249 A JP S6039249A JP 58147601 A JP58147601 A JP 58147601A JP 14760183 A JP14760183 A JP 14760183A JP S6039249 A JPS6039249 A JP S6039249A
Authority
JP
Japan
Prior art keywords
parity
register
data
output
circuit
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
JP58147601A
Other languages
Japanese (ja)
Inventor
Koichi Kaneko
金子 公一
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 JP58147601A priority Critical patent/JPS6039249A/en
Publication of JPS6039249A publication Critical patent/JPS6039249A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/08Error detection or correction by redundancy in data representation, e.g. by using checking codes
    • G06F11/10Adding special bits or symbols to the coded information, e.g. parity check, casting out 9's or 11's
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/004Error avoidance

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Detection And Correction Of Errors (AREA)

Abstract

PURPOSE:To prevent an erroneous operation result from being written in a register by generating a parity by the result of operation of an operation section, storing the parity to a register, checking the parity and discriminating an error being a cause to an operation fault easily. CONSTITUTION:An LSI having an fault detecting function is provided with a data register 1 and an arithmetic logical operation circuit 2 as the operating section, the result of operation 7 obtained by the operation of the circuit 2 is inputted and provide a parity generation circuit 8 to generates a parity output 10. A parity output 10 from the circuit 8 is stored in a parity register 9 and output data 13, 14 of the register 9 are fed to parity check circuits 11, 12 by address signals 3, 4. The parity of the output data 5, 6 of the register 1 is checked by the circuits 11, 12 to output output signals 15 and 16, an output signal 18 of an OR circuit 17 as a control means controls the register 1 to prevent the write of the erroneous operation result to the register 1.

Description

【発明の詳細な説明】 〔発明の技術分野〕 この発明は故障検出機能を備えた演算装置、特KLSI
宿に備えた演算装置に関する。
[Detailed Description of the Invention] [Technical Field of the Invention] The present invention relates to an arithmetic device having a fault detection function, especially a KLSI
This article relates to a computing device installed in an inn.

〔従来技術〕[Prior art]

第1図は従来の演算装置を示すブロック図である。 FIG. 1 is a block diagram showing a conventional arithmetic device.

図において、1はデータを格納したデータレジスタ、2
は演算部としての算術論理演算回路(以下、ALUと称
す)、3.4は前記データレジスタ1に格納されている
データのアドレスを指定するアドレス信号、5はアドレ
ス信号3でアドレスを指定することによりデータレジス
タ1より読出される出力データ、6はアドレス信号4で
アドレスを指定することによりデータレジスタ1より読
出される出力データ、7は前記ALU2の出力信号であ
る。
In the figure, 1 is a data register that stores data; 2 is a data register that stores data;
3.4 is an address signal that specifies the address of the data stored in the data register 1; and 5 is the address signal 3 that specifies the address. 6 is the output data read out from the data register 1 by specifying an address with the address signal 4, and 7 is the output signal of the ALU 2.

従来の演算装置は上記のように構成されており、アドレ
ス信号3または4でアドレスを指定されてデータレジス
タ1より読出された出力データ5または6は、ALU2
へ出力される。そしてA I、 U2で演算した結果は
、出力信号7として出力された後、前記アドレス信号4
で指定したデータレジスタ1のアドレスに格納されるよ
うになっている。
The conventional arithmetic unit is configured as described above, and the output data 5 or 6 read out from the data register 1 by the address specified by the address signal 3 or 4 is sent to the ALU 2.
Output to. Then, the result calculated by AI and U2 is outputted as an output signal 7, and then outputted as the address signal 4.
The data is stored at the address of data register 1 specified by .

しかしながら、従来の演算装置は以上のように構成され
ているので、ALU2に【る演算結果が誤っていた場合
、故障部分を判別1−るのが極めて困難であるという問
題点があった。例えば、この従来例においては、アドレ
ス信号3で指定したデータレジスタ1のアドレスが故障
シていルノカ、アドレス信号4で指定したデータレジス
タ1のアドレスが故障しているのか、ろるいはALU2
が故障しているのかを判断するのが極めて困難であると
いう問題点があった。
However, since the conventional arithmetic unit is configured as described above, there is a problem in that when the arithmetic result of the ALU 2 is incorrect, it is extremely difficult to identify the faulty part. For example, in this conventional example, if the address of data register 1 specified by address signal 3 is faulty, the address of data register 1 specified by address signal 4 may be faulty, or if the address of data register 1 specified by address signal 4 is faulty.
There was a problem in that it was extremely difficult to determine whether the device was malfunctioning or not.

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

この発明は、かかる問題点に着目して成されたもので、
演算部によって得た演算結果よりパリティを生成するパ
リティ生成回路と、そのパリティ生成回路の出力データ
を格納するパリティレジスタト、そのパリティレジスタ
の出力データおヨヒmI記データレジスタの出力データ
によりパリティチェックを行なうパリティチェック回路
と、そのパリティチェック回路の出力信号に応じて前記
演算結果のデータレジスタへの書込みを制御する制f卸
手段と欠備えることにより、容易に演算エラーの原因と
なる故障を判別できると共に、誤った演算結果をデータ
レジスタに書き込まないようにした演算装置を提供する
ものである。
This invention was made by focusing on these problems.
A parity generation circuit that generates parity from the operation result obtained by the operation section, a parity register that stores the output data of the parity generation circuit, and a parity check using the output data of the parity register and the output data of the data register. By providing a parity check circuit for performing a parity check and a control means for controlling writing of the operation result to a data register according to an output signal of the parity check circuit, it is possible to easily identify a failure that causes an operation error. In addition, it is an object of the present invention to provide an arithmetic device that prevents erroneous arithmetic results from being written to a data register.

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

第2図はこの発明の一実施例を示すブロック図であり、
1〜7は上記従来装置と同一であるので説明の詳細は省
く。8I′1ALU2の演算結果7よりパリティを生成
するパリティ生成回路、9はそのパリティ生成回路8の
出力データ10を格納するパリティレジスタ、11.1
2はそのパリティレジスタ9の出力データ13.14お
よび前記データレジスタ1からの出力データ5.6によ
りそれぞれパリティチェックを行なうパリティチェック
回路、15.16はそれぞれのパリティチェック回路1
1.12の出力信号である。17はその出力信号15.
16が入力される制f[11手段としてのオア回路で、
そのオア回路17の出力信号である書込制御信号18に
より、データレジスタ1への演算結果7の書込みが制御
されるようになっている。
FIG. 2 is a block diagram showing an embodiment of the present invention,
1 to 7 are the same as the conventional device described above, so detailed explanations will be omitted. 8I'1 A parity generation circuit that generates parity from the operation result 7 of ALU2; 9 is a parity register that stores output data 10 of the parity generation circuit 8; 11.1
2 is a parity check circuit that performs a parity check using the output data 13.14 of the parity register 9 and the output data 5.6 from the data register 1, respectively; 15.16 is the respective parity check circuit 1;
1.12 output signal. 17 is its output signal 15.
16 is input in the OR circuit as a means of f[11,
A write control signal 18, which is an output signal of the OR circuit 17, controls writing of the calculation result 7 to the data register 1.

上記のように構成された演算装置において、アドレス信
号3,4の指定によりデータレジスタ1から読出された
出力データ5,6はALU2へ入力されると共にパリテ
ィレジスタ9の出力データ13.14と共にそれぞれ)
くリテイチェック回路11.12へ入力される。セして
ノくリテイテエツク回路11.12でそれぞれノ<リテ
イチェックが行なわれ、出力信号15.16が外部へ出
力される。これと同時に、オア回路17の入力端に前記
パリティチェック回路11.12の出力信号15゜16
が入力され、その出力信号15.16に応じてオア回路
17から書込制御信号18がデータレジスタ1へ出力さ
れる。
In the arithmetic unit configured as described above, output data 5 and 6 read from data register 1 in accordance with address signals 3 and 4 are input to ALU 2 and together with output data 13 and 14 of parity register 9, respectively).
The signal is input to the quality check circuits 11 and 12. A security check is carried out in each of the set and security check circuits 11 and 12, and output signals 15 and 16 are output to the outside. At the same time, the output signal 15°16 of the parity check circuit 11.12 is applied to the input terminal of the OR circuit 17.
is input, and a write control signal 18 is output from the OR circuit 17 to the data register 1 in accordance with the output signals 15 and 16 thereof.

また、前記ALU2の演算結果7は、前記データレジス
タ1へ入力された書込制御信号18に応じて、アドレス
信号4で指定したデータレジスタ1のアドレスに格納さ
れると共にノ<リテイ生成回路8に入力される。そして
、その/CIJティ生成回路8からの出力データ10け
、アドレス信号4で指定したパリティレジスタ9のアド
レスに格納される。
In addition, the calculation result 7 of the ALU 2 is stored in the address of the data register 1 specified by the address signal 4 in accordance with the write control signal 18 input to the data register 1, and is also sent to the logic generation circuit 8. is input. Then, ten pieces of output data from the /CIJ property generation circuit 8 are stored at the address of the parity register 9 specified by the address signal 4.

例tば、データレジスタ1の0番地にデータ(0010
)2が、1番地にデータ(0101)zがそれぞれ格納
され、また、パリティレジスタ9の0番地にデータ(0
010)2のパリティとして「0」が、1番地にデータ
(0101)2のパリティとしてrlJがそれぞれ格納
されているとき、0番地と1番地のオ0を1番地に格納
する演算金繰り返し行うとすると、演算結果(0111
)2はデータレジスタ1の1番地に格納されると共にハ
IJティ生成回路8にエリ生成されたその演算結果(0
111)2のパリティ「0」がパリティレジスタ9の1
番地に格納される。
For example, data (0010
)2 and data (0101)z are stored at address 1, and data (0101)z is stored at address 0 of parity register 9.
When "0" is stored as the parity of 010)2 and rlJ is stored as the parity of data (0101)2 at address 1, if you repeatedly perform the calculation to store 0 at address 0 and 1 at address 1, Then, the calculation result (0111
)2 is stored at address 1 of the data register 1, and the operation result (0
111) Parity “0” of 2 is 1 of parity register 9
Stored in address.

ここで、データレジスタ1の1番地の故障により演算結
果が(0101)zとして格納され、次の演算で、前述
と同様にして0番地と1番地のデータが読み出さネタ場
合、データレジスタ1の1番地に格納されているデータ
(0101) 2とパリティレジスタ9の1番地に格納
されているパリティ「0」とがパリティチェック回路1
2に入力され、とのパリテ・イチェツク回路12からは
出力信号16としてパリティエラー信号が出力される。
Here, if the operation result is stored as (0101)z due to a failure at address 1 of data register 1, and in the next operation, the data at addresses 0 and 1 are to be read out in the same way as described above, then 1 of data register 1 Parity check circuit 1
A parity error signal is input as an output signal 16 from the parity check circuit 12.

これにより、アトVス信号4で指定したデータレジスタ
1のアドレスが故障していることが判別される。また、
前記出力信号16としてのパリティエラー信号は、オア
回路17に入力され、演算結果7がデータレジスタ1に
書き込まれないように寿込制御信号18を禁止状態にす
る。
As a result, it is determined that the address of the data register 1 specified by the ATVS signal 4 is faulty. Also,
The parity error signal as the output signal 16 is input to the OR circuit 17, and the lifetime control signal 18 is inhibited so that the calculation result 7 is not written to the data register 1.

なお、この発明は前記実施例に示したデータレジスタの
規模および演算部の機能に限定されるものではなく、さ
らに大規模のデータレジスタおよびさらに多機能な演n
部にも適用し得るもので、前記実施例と同様の効果を奏
する。
Note that the present invention is not limited to the scale of the data register and the functions of the arithmetic unit shown in the above embodiments, but can be applied to even larger scale data registers and even more multi-functional processors.
The present invention can also be applied to other parts of the body, and the same effects as those of the above-mentioned embodiments can be obtained.

〔発明の効果〕〔Effect of the invention〕

この発明は以上説明したとおり、データレジスタに格納
した入力データを用いて演算を行なう演層−邸金側1え
た演算装置において、前記演勢一部によって得た演算結
果よりパリティを生成するパリティ生成回路と、そのパ
リティ生成回路の出力データに格納するパリティレジス
タと、そのパリティレジスタの出力データおよび前記デ
ータレジスタの出力データによりパリティチェックを行
なうパリティチェック回路と、そのパリティチェック回
路の出力信号に応じて前記演算結果のデータレジスタへ
の書込みを制御する制御手段とを備えたことにより、演
算結果が誤っていた場合、どの部分が故障しているかを
容易に判別できるという効果があると共に、誤った演算
結果をデータレジスタに書込むのを防止することができ
るという効果がある。従って、今後、LSIの高密度化
に伴うデータレジスタの故障率の増大が予想されるが、
そのような場合に絶大なる効果を奏するものである。
As explained above, the present invention provides a parity generation system that generates parity from the operation result obtained by the operation part in an arithmetic unit that performs an operation using input data stored in a data register. a parity register that stores the output data of the parity generation circuit; a parity check circuit that performs a parity check using the output data of the parity register and the output data of the data register; By including the control means for controlling the writing of the calculation result to the data register, if the calculation result is incorrect, it is possible to easily determine which part is at fault, and also to prevent the incorrect calculation from occurring. This has the effect of preventing the result from being written to the data register. Therefore, it is expected that the failure rate of data registers will increase in the future as LSI density increases.
It is extremely effective in such cases.

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

第1図は従来の演算装置を示すブロック図、第2図はこ
の発明の一実施例を示すブロック図である。 1・・・・・・・・・データレジスタ 2・・・・・・・・・演算部としての算術論理演算回路
5.6・・・データレジスタの出力データ7・・・・・
・・・・演算部によって得た演算精米8・・・・・・・
・・パリティ生成回路9・・・・・・・・・パリティレ
ジスタ10・・・・・・パリティ生成回路の出力データ
11.12・・・・・・パリティチェック回路13.1
4・・・・・・パリティレジスタの出力データ15.1
6・・・・・・パリティチェック回路の出力信号 17・・・・・・制御手段としてのオア回路18・・・
・・・制御手段の出力信号 代理人大岩増雄
FIG. 1 is a block diagram showing a conventional arithmetic device, and FIG. 2 is a block diagram showing an embodiment of the present invention. 1... Data register 2... Arithmetic logic operation circuit as an arithmetic unit 5.6... Data register output data 7...
...Calculated polished rice obtained by the calculation section 8...
Parity generation circuit 9 Parity register 10 Parity generation circuit output data 11.12 Parity check circuit 13.1
4... Parity register output data 15.1
6... Output signal of parity check circuit 17... OR circuit 18 as control means...
・・・Control means output signal agent Masuo Oiwa

Claims (1)

【特許請求の範囲】[Claims] データレジスタに格納したデータを用いて演算を行なう
演算部を備えた演算装置において、前記演算部によって
得た演算結果よりパリティを生成するハIJティ生成回
路と、そのパリティ生成回路の出力データを格納するパ
リティレジスタと、そのパリティレジスタの出力データ
および前記データレジスタの出力データによりパリティ
チェックを行なうパリティチェック回路と、そのバリテ
イチL、ツク回路の出力信号に応じて前記演算結果のデ
ータレジスタへの書込みを制御する制御手段を+ihλ
−たことを特徴とする演算装置。
In an arithmetic device equipped with an arithmetic unit that performs an arithmetic operation using data stored in a data register, a high IJT generation circuit that generates parity from the arithmetic result obtained by the arithmetic unit and output data of the parity generation circuit are stored. a parity check circuit that performs a parity check using the output data of the parity register and the output data of the data register; The control means to control +ihλ
- An arithmetic device characterized by the following.
JP58147601A 1983-08-12 1983-08-12 Operation device Pending JPS6039249A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP58147601A JPS6039249A (en) 1983-08-12 1983-08-12 Operation device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP58147601A JPS6039249A (en) 1983-08-12 1983-08-12 Operation device

Publications (1)

Publication Number Publication Date
JPS6039249A true JPS6039249A (en) 1985-03-01

Family

ID=15434021

Family Applications (1)

Application Number Title Priority Date Filing Date
JP58147601A Pending JPS6039249A (en) 1983-08-12 1983-08-12 Operation device

Country Status (1)

Country Link
JP (1) JPS6039249A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6974635B1 (en) 1998-09-24 2005-12-13 Neomax Materials Co., Ltd. Package for electronic component, lid material for package lid, and production method for lid material

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6974635B1 (en) 1998-09-24 2005-12-13 Neomax Materials Co., Ltd. Package for electronic component, lid material for package lid, and production method for lid material

Similar Documents

Publication Publication Date Title
JPS62214599A (en) Semiconductor memory device
JPH0594377A (en) Parity detecting circuit
US4224681A (en) Parity processing in arithmetic operations
JPS6039249A (en) Operation device
JPH0316655B2 (en)
JPH05165734A (en) Fixed fault diagnostic device for main storage device
JP2891897B2 (en) Store-in cache failure handling system
JPS6325380B2 (en)
JPS5939777B2 (en) control storage
JPH0216658A (en) Memory device
JPH0764869A (en) Method for controlling error ceneration for test in storage device and device therefor
JP2567986B2 (en) Data processing system
JPS63753A (en) Test system for memory error checking and correcting circuit
JPS59144246A (en) Data reception control system
JPH05233467A (en) Scratch pad memory control system
JPH01154244A (en) Logical integrated circuit
JPH0259843A (en) Memory device
JPH06161804A (en) Information processor
JPH02271448A (en) Address control circuit
JPH03233639A (en) Microprogram controller
JPH05233461A (en) Main storage device
JPS62245453A (en) Substituting method for alternative memory
JPH08221282A (en) Parity generation and check circuit
JPS59152600A (en) Microcomputer
JPH09204363A (en) Data memory device