JPH06324898A - Information processor - Google Patents

Information processor

Info

Publication number
JPH06324898A
JPH06324898A JP5115455A JP11545593A JPH06324898A JP H06324898 A JPH06324898 A JP H06324898A JP 5115455 A JP5115455 A JP 5115455A JP 11545593 A JP11545593 A JP 11545593A JP H06324898 A JPH06324898 A JP H06324898A
Authority
JP
Japan
Prior art keywords
unit
instruction
control storage
failure
storage unit
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
JP5115455A
Other languages
Japanese (ja)
Inventor
Masashi Shinohara
真史 篠原
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 Computertechno Ltd
Original Assignee
NEC Computertechno 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 NEC Computertechno Ltd filed Critical NEC Computertechno Ltd
Priority to JP5115455A priority Critical patent/JPH06324898A/en
Publication of JPH06324898A publication Critical patent/JPH06324898A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To perform the operatin of a device successively by without stopping the operation of the device instructing the holding of a software visible register at an exception processing part, or instructing the redoing of pre-fetch to an instruction fetch part and an operand fetch part by replacing a value within exception processing when an intermittent fault occurs in a control storage part. CONSTITUTION:A fault discrimination part 12 sends out a signal to the exception processing part 20 when a next instructin to an instruction in which a fault occurs is the one to use computing element 15b while the output signal of a fault detecting part 9a is inputted, and when the instruction is an executing state. The exception processing part 20, when inputting the signal, instructs the holding of the software visible register. A history register is provided for the software visible register for which the holding is not in time, and the value is replaced in the exception processing. The exception processing part 20 instructs the redoing of pre-fetch to the instruction fetch part 1 and the operand fetch part 3 simultaneously with the above mentioned operation.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は情報処理装置に関し、特
に、その制御記憶部のリトライ機能に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an information processing apparatus, and more particularly to a retry function of its control storage unit.

【0002】[0002]

【従来の技術】情報処理装置の制御記憶部の故障には、
訂正可能な故障(間欠故障)と訂正不可能な故障(固定
故障)とがある。間欠故障の場合は、制御記憶部に正し
いデータの書直すをすことにより、情報処理装置を停止
させずに継続して動作させることができる。一つの制御
記憶部で故障が発生したとき、同じタイミングで全ての
制御記憶部および演算部の動作を停止させることは困難
である。従って、一つの制御記憶部で故障が発生したと
きに他の制御記憶部および演算部の動作を停止させるタ
イミングは、故障が発生した制御記憶部およびそれに関
連する演算部の動作停止タイミングよりも遅れたタイミ
ングとなる。このため、実行してはいけない命令(制御
記憶部で故障が発生した命令の次の命令)を実行してい
まうことがある。その状態で動作を継続させると、パイ
プラインが乱れて演算結果が不正となるため、従来は、
情報処理装置の動作を停止させている。
2. Description of the Related Art When a control storage unit of an information processing device fails,
There are correctable failures (intermittent failures) and uncorrectable failures (fixed failures). In the case of an intermittent failure, by rewriting the correct data in the control storage unit, the information processing apparatus can be continuously operated without being stopped. When a failure occurs in one control storage unit, it is difficult to stop the operations of all control storage units and arithmetic units at the same timing. Therefore, when a failure occurs in one control storage unit, the timing at which the operation of the other control storage unit and the operation unit is stopped is later than the operation stop timing of the control storage unit in which the failure has occurred and the operation unit related thereto. It will be the timing. Therefore, an instruction that should not be executed (an instruction next to an instruction in which a failure has occurred in the control storage unit) may be executed. If you continue the operation in that state, the pipeline will be disturbed and the operation result will be incorrect, so conventionally,
The operation of the information processing device is stopped.

【0003】図3は上述のような従来の情報処理装置の
一例を示すブロック図、図4は図3の例の動作を示すタ
イミングチャートである。
FIG. 3 is a block diagram showing an example of the conventional information processing apparatus as described above, and FIG. 4 is a timing chart showing the operation of the example of FIG.

【0004】図3において、命令フェッチ部1は、命令
の先取りを行う。命令レジスタ(IFR)2は、命令フ
ェッチ部1が先取りした命令を受取る。
In FIG. 3, the instruction fetch unit 1 prefetches an instruction. The instruction register (IFR) 2 receives an instruction prefetched by the instruction fetch unit 1.

【0005】オペランドフェッチ部3は、オペランドの
先取りを行う。オペランドレジスタ(DFR)4は、オ
ペランドフェッチ部3が先取りしたオペランドを受取
る。
The operand fetch unit 3 prefetches operands. The operand register (DFR) 4 receives the operand prefetched by the operand fetch unit 3.

【0006】デコーダ(IDEC)5は、命令レジスタ
(IFR)2が受取った命令をデコードして命令の種類
を識別する。
The decoder (IDEC) 5 decodes the instruction received by the instruction register (IFR) 2 and identifies the type of the instruction.

【0007】アドレスレジスタ(CSA)6aおよび6
bは、それぞれ制御記憶部(CS)7aおよび7bのア
ドレスを保持する。制御記憶部(CS)7aおよび7b
は、それぞれアドレスレジスタ(CSA)6aおよび6
bが保持している値をアドレスとして索引されるマイク
ロプログラムを格納している。制御記憶レジスタ(CS
R)8aおよび8bは、それぞれ制御記憶部(CS)7
aおよび7bの値を受取る。
Address registers (CSA) 6a and 6
b holds the addresses of the control storage units (CS) 7a and 7b, respectively. Control storage units (CS) 7a and 7b
Are address registers (CSA) 6a and 6 respectively.
It stores a microprogram that is indexed using the value held by b as an address. Control storage register (CS
R) 8a and 8b are control storage units (CS) 7 respectively.
It receives the values of a and 7b.

【0008】故障検出部9aおよび9bは、それぞれ制
御記憶レジスタ(CSR)8aおよび8bの出力値から
制御記憶部(CS)7aおよび7bの故障の有無を検出
する。故障訂正部10aおよび10bは、それぞれ故障
検出部9aおよび9bで検出された故障が訂正可能な故
障であるとき、対応する制御記憶部(CS)7aおよび
7bの訂正を行う。
Fault detectors 9a and 9b detect the presence / absence of a fault in control storage units (CS) 7a and 7b from the output values of control storage registers (CSR) 8a and 8b, respectively. When the faults detected by the fault detecting units 9a and 9b are correctable faults, the fault correcting units 10a and 10b correct the corresponding control storage units (CS) 7a and 7b.

【0009】故障報告レジスタ(EH)11aおよび1
1bは、それぞれ制御記憶部(CS)7aおよび7bで
故障が発生したとき、対応する故障検出部9aおよび9
bからの信号を入力し、制御記憶部(CS)7aまたは
7bの故障の訂正が終了するまでその値を保持する。
Fault report registers (EH) 11a and 1
1b, when a failure occurs in the control storage units (CS) 7a and 7b, respectively, the corresponding failure detection units 9a and 9b.
The signal from b is input and the value is held until the correction of the failure of the control storage unit (CS) 7a or 7b is completed.

【0010】故障判別部32は、故障検出部9aおよび
9bの出力により、情報処理装置を停止させるか否かを
判断し、停止信号41を出力する。
The failure determination section 32 determines whether or not to stop the information processing apparatus based on the outputs of the failure detection sections 9a and 9b, and outputs a stop signal 41.

【0011】データレジスタ13a〜13dは、オペラ
ンドレジスタ(DFR)4の出力を入力して保持する。
The data registers 13a to 13d receive and hold the output of the operand register (DFR) 4.

【0012】デコーダ(CCNT)14aおよび14b
は、それぞれ制御記憶レジスタ(CSR)8aおよび8
bの出力によって演算の種類を決定する。演算器15a
および15bは、それぞれデコーダ(CCNT)14a
および14bによって制御されて各種の演算を行う。
Decoders (CCNT) 14a and 14b
Are control storage registers (CSR) 8a and 8 respectively.
The type of operation is determined by the output of b. Calculator 15a
And 15b are decoders (CCNT) 14a, respectively.
And 14b to perform various calculations.

【0013】セレクタ16は、演算器15aおよび15
bの出力信号を切替える。リザルトレジスタ(RXR)
17は、セレクタ16によって切替えられた演算器15
aまたは15bの出力値を保持する。
The selector 16 includes arithmetic units 15a and 15a.
Switch the output signal of b. Result register (RXR)
Reference numeral 17 denotes an arithmetic unit 15 switched by the selector 16.
Hold the output value of a or 15b.

【0014】CSモードレジスタ(CMCDE)18
は、デコーダ(IDEC)5の出力によって、セレクタ
16において何れの演算器の値を選択するかを指示す
る。レジスタ(CREG)19は、CSモードレジスタ
(CMCDE)18の出力値を保持する。
CS mode register (CMCDE) 18
Indicates which arithmetic unit value is to be selected in the selector 16 by the output of the decoder (IDEC) 5. The register (CREG) 19 holds the output value of the CS mode register (CMCDE) 18.

【0015】例外処理部40は、演算器15aおよび1
5b並びに命令フェッチ部1並びにオペランドフェッチ
部3からの信号により、例外処理を行う。
The exception processing unit 40 is provided with the arithmetic units 15a and 1a.
Exception processing is performed by signals from 5b, the instruction fetch unit 1, and the operand fetch unit 3.

【0016】上述のように構成された情報処理装置は、
次のように動作する。
The information processing apparatus configured as described above is
It works as follows.

【0017】まず命令フェッチ部1において命令の先取
りを行う。命令フェッチ部1が先取りされた命令は、命
令レジスタ(IFR)2において保持される。命令レジ
スタ(IFR)2に保持された命令は、デコーダ(ID
EC)5において、演算器15aまたは演算器15bの
何れの演算器を使用する命令であるかを判断される。
First, the instruction fetch unit 1 prefetches an instruction. The instruction fetched by the instruction fetch unit 1 is held in the instruction register (IFR) 2. The instruction held in the instruction register (IFR) 2 is
The EC) 5 determines which of the arithmetic units 15a and 15b is used for the instruction.

【0018】デコーダ(IDEC)5によって使用する
演算器が指定されると、その演算器を制御する制御記憶
部(CS)7aまたは7bにアドレスを与える。すなわ
ち、アドレスレジスタ(CSA)6aまたは6bにアド
レスデータをセットする。
When the arithmetic unit to be used is designated by the decoder (IDEC) 5, an address is given to the control storage unit (CS) 7a or 7b for controlling the arithmetic unit. That is, the address data is set in the address register (CSA) 6a or 6b.

【0019】ここでは、演算器15aを使用する命令で
あり、アドレスレジスタ(CSA)6aにアドレスデー
タがセットされたものとして以下の説明を続行する。
Here, it is an instruction to use the arithmetic unit 15a, and the following description will be continued assuming that the address data is set in the address register (CSA) 6a.

【0020】このとき同時に、デコーダ(IDEC)5
の出力値は、CSモードレジスタ(CMCDE)18に
セットされる。CSモードレジスタ(CMCDE)18
の出力値は、次のタイミングでレジスタ(CREG)1
9にセットされる。
At this time, at the same time, the decoder (IDEC) 5
Is set in the CS mode register (CMCDE) 18. CS mode register (CMCDE) 18
Output value of the register (CREG) 1 at the next timing
Set to 9.

【0021】制御記憶部(CS)7aは、アドレスレジ
スタ(CSA)6aの値をアドレスとして索引され、そ
の結果(マイクロプログラム)は、制御記憶レジスタ
(CSR)8aに保持される。制御記憶レジスタ(CS
R)8aの値は、デコーダ(CCNT)14aによって
デコードされる。
The control storage section (CS) 7a is indexed by using the value of the address register (CSA) 6a as an address, and the result (microprogram) is held in the control storage register (CSR) 8a. Control storage register (CS
The value of R) 8a is decoded by the decoder (CCNT) 14a.

【0022】一方、オペランドフェッチ部3において、
オペランドが先取りされる。先取りされたオペランド
は、オペランドレジスタ(DFR)4にセットされ、オ
ペランドレジスタ(DFR)4の値は、データレジスタ
13aおよび13bにセットされる。
On the other hand, in the operand fetch unit 3,
Operands are prefetched. The prefetched operand is set in the operand register (DFR) 4, and the value of the operand register (DFR) 4 is set in the data registers 13a and 13b.

【0023】演算器15aは、データレジスタ13aお
よび13bを入力し、デコーダ(CCNT)14aによ
って指示された演算を行う。セレクタ16は、レジスタ
(CREG)19の出力信号によって演算器15aを選
択し、演算器15aの演算結果をリザルトレジスタ(R
XR)17にセットし、当該命令の動作を終了する。こ
のとき、演算器15aの演算結果に例外事項(例えばオ
ーバーフロー)がある場合は、演算器15aから例外処
理部40に信号が送られ、例外処理部40において例外
処理が行われる。
The arithmetic unit 15a inputs the data registers 13a and 13b and performs the arithmetic operation instructed by the decoder (CCNT) 14a. The selector 16 selects the arithmetic unit 15a according to the output signal of the register (CREG) 19 and outputs the calculation result of the arithmetic unit 15a to the result register (R
XR) 17 is set and the operation of the instruction is completed. At this time, if there is an exception (for example, overflow) in the calculation result of the arithmetic unit 15a, a signal is sent from the arithmetic unit 15a to the exception processing unit 40, and the exception processing unit 40 performs exception processing.

【0024】制御記憶レジスタ(CSR)8aの値はま
た、故障検出部9aに送られて故障の有無が検出され
る。故障検出部9aにおいて故障が検出され、それが訂
正可能な故障であるときは、その結果は故障訂正部10
aに通知され、故障訂正部10aは、故障を訂正する信
号を作成する。
The value of the control storage register (CSR) 8a is also sent to the failure detector 9a to detect the presence or absence of a failure. If a failure is detected by the failure detection unit 9a and it is a correctable failure, the result is the failure correction unit 10a.
A is notified, and the failure correction unit 10a creates a signal for correcting the failure.

【0025】このとき、故障検出部9aの出力信号によ
って制御記憶部(CS)7aがホールドされ、また、故
障報告レジスタ(EH)11aがセットされる。さら
に、故障報告レジスタ(EH)11aの出力信号によっ
て制御記憶部(CS)7bがホールドされる。故障訂正
部10aは、制御記憶部(CS)7aの故障のあるワー
ドヘ訂正指示を送る。
At this time, the control storage section (CS) 7a is held by the output signal of the failure detection section 9a, and the failure report register (EH) 11a is set. Further, the control storage unit (CS) 7b is held by the output signal of the failure report register (EH) 11a. The failure correction unit 10a sends a correction instruction to the defective word in the control storage unit (CS) 7a.

【0026】故障検出部9aの出力信号は、同時に、故
障判別部32にも送られ、故障判別部32において、故
障のあった次の命令が演算器15bを使用する命令であ
り、その命令が実行状態にあるか否かがチェックされ
る。次の命令が演算器15bを使用する命令であり、そ
の命令が実行状態にあるときは、故障判別部32は、情
報処理装置の動作を停止させるための停止信号41を送
出する。これから数秒後に、この停止信号41は情報処
理装置内にくまなく分配され、情報処理装置の動作は停
止する。
The output signal of the failure detecting section 9a is also sent to the failure determining section 32 at the same time. In the failure determining section 32, the next instruction having a failure is an instruction to use the arithmetic unit 15b, and the instruction is It is checked whether it is in the running state. The next instruction is an instruction to use the arithmetic unit 15b, and when the instruction is in the execution state, the failure determination unit 32 sends a stop signal 41 for stopping the operation of the information processing device. A few seconds after this, the stop signal 41 is distributed throughout the information processing apparatus, and the operation of the information processing apparatus is stopped.

【0027】図4は、上述の動作をタイミングチャート
で示したものである。
FIG. 4 is a timing chart showing the above operation.

【0028】図4に示すように、始めに演算器15aを
使用する命令50を実行し、次に、演算器15bを使用
する命令51を実行する。
As shown in FIG. 4, first, the instruction 50 using the arithmetic unit 15a is executed, and then the instruction 51 using the arithmetic unit 15b is executed.

【0029】命令50は、Cサイクルにおいて命令レジ
スタ(IFR)2に受取られ、Tサイクルにおいてアド
レスレジスタ(CSA)6aにアドレスが設定される。
次に、Eサイクルにおいて制御記憶部(CS)7aが索
引され、その結果(マイクロプログラム)が制御記憶レ
ジスタ(CSR)8aにセットされる。
The instruction 50 is received by the instruction register (IFR) 2 in the C cycle, and the address is set in the address register (CSA) 6a in the T cycle.
Next, in the E cycle, the control storage unit (CS) 7a is indexed, and the result (microprogram) is set in the control storage register (CSR) 8a.

【0030】Tサイクルにおいてはまた、命令50のオ
ペランドがオペランドレジスタ(DFR)4にセットさ
れ、オペランドレジスタ(DFR)4の値は、Eサイク
ルにおいてデータレジスタ13aおよび13bにセット
される。
Also in the T cycle, the operand of the instruction 50 is set in the operand register (DFR) 4, and the value of the operand register (DFR) 4 is set in the data registers 13a and 13b in the E cycle.

【0031】制御記憶レジスタ(CSR)8aの出力信
号に訂正可能な故障が発生しており、これを故障検出部
9aがEサイクルにおいて検出したときは、故障報告レ
ジスタ(EH)11aがセットされ、同時に故障訂正部
10aに報告される。
When a correctable failure has occurred in the output signal of the control storage register (CSR) 8a and the failure detection unit 9a detects this in the E cycle, the failure report register (EH) 11a is set, At the same time, it is reported to the failure correction unit 10a.

【0032】Wサイクルにおいて演算器15aにおける
データレジスタ13aおよび13bの値の演算結果をリ
ザルトレジスタ(RXR)17に格納しようとするが、
故障検出部9aの出力信号によってリザルトレジスタ
(RXR)17の更新が抑止される。また、命令51の
CサイクルおよびTサイクルおよびEサイクルの動作は
通常通り実行され、Wサイクルの動作のみ、故障報告レ
ジスタ(EH)11aによって抑止される。
In the W cycle, the operation result of the values of the data registers 13a and 13b in the arithmetic unit 15a is to be stored in the result register (RXR) 17,
Update of the result register (RXR) 17 is suppressed by the output signal of the failure detection unit 9a. The operation of the instruction 51 in the C cycle, the T cycle, and the E cycle is executed normally, and only the operation of the W cycle is suppressed by the failure report register (EH) 11a.

【0033】従って、命令51もリザルトレジスタ(R
XR)17の更新以外は完了した状態となる。この状態
で制御記憶部(CS)7aの故障を訂正して命令50を
再び実行しようとしても、命令51の演算結果が演算器
15bに残留しているため、命令50の再実行結果は、
不正な値となる。
Therefore, the instruction 51 also includes the result register (R
XR) 17 is in a completed state except for the update. Even if an attempt is made to execute the instruction 50 again by correcting the failure of the control storage unit (CS) 7a in this state, the operation result of the instruction 51 remains in the operation unit 15b.
It will be an invalid value.

【0034】[0034]

【発明が解決しようとする課題】上述したように、従来
の情報処理装置は、一つの制御記憶部による動作から他
の制御記憶部による動作に移行するときに訂正可能な故
障が発生した場合、故障を発生した命令の次の命令を中
止させることが出来ず、故障を訂正して命令を再実行し
た結果が不正な値となるため、訂正可能な故障が発生し
たときでも、情報処理装置の動作を停止させなければな
らないという問題点を有している。
As described above, in the conventional information processing apparatus, when a correctable failure occurs when the operation by one control storage unit shifts to the operation by another control storage unit, Since it is not possible to stop the instruction next to the one that caused a failure and the result of correcting the failure and re-executing the instruction will be an incorrect value, even if a correctable failure occurs, There is a problem that the operation has to be stopped.

【0035】[0035]

【課題を解決するための手段】本発明の情報処理装置
は、命令を先取りする命令フェッチ部とオペランドを先
取りするオペランドフェッチ部とを有し、パイプライン
動作を行う情報処理装置であって、マイクロプログラム
を格納している第一の制御記憶部と、前記第一の制御記
憶部の動作に対して排他的な動作を行うマイクロプログ
ラムを格納している第二の制御記憶部と、前記第一の制
御記憶部によって制御される第一の演算部と、前記第二
の制御記憶部によって制御される第二の演算部と、前記
第一の制御記憶部の故障を検出する第一の故障検出部
と、前記第二の制御記憶部の故障を検出する第二の故障
検出部と、前記第一の故障検出部および前記第二の故障
検出部によって検出された故障が前記第一の制御記憶部
から前記第二の制御記憶部に動作が移行するときに発生
したかまたは前記第二の制御記憶部から前記第一の制御
記憶部に動作が移行するときに発生したかを判別する故
障判別部と、前記故障判別部からの信号と前記第一およ
び第二の演算部からの信号と前記命令フェッチ部および
前記オペランドフェッチ部からの信号とによって例外処
理を行う例外処理部とを備え、前記第一の制御記憶部を
使用する命令を実行した後に前記第二の制御記憶部を使
用する命令の実行指示を送出すると同時に前記第一の制
御記憶部に訂正可能な故障が発生したとき、または、前
記第二の制御記憶部を使用する命令を実行した後に前記
第一の制御記憶部を使用する命令の実行指示を送出する
と同時に前記第二の制御記憶部に訂正可能な故障が発生
したとき、前記訂正可能な故障を訂正した後、前記例外
処理部からの信号によって前記命令フェッチ部および前
記オペランドフェッチ部を再起動させることを含むもの
であり、特に、例外処理部に対する故障判別部からの例
外事項の処理の優先度を、第一および第二の演算部から
の例外事項の処理並びに命令フェッチ部およびオペラン
ドフェッチ部からの例外事項の処理の優先度よりも低く
設定したものである。
An information processing apparatus according to the present invention is an information processing apparatus that has an instruction fetch unit for prefetching an instruction and an operand fetch unit for prefetching an operand and performs a pipeline operation. A first control storage unit that stores a program; a second control storage unit that stores a microprogram that performs an exclusive operation with respect to the operation of the first control storage unit; A first arithmetic unit controlled by the control storage unit, a second arithmetic unit controlled by the second control storage unit, and a first failure detection for detecting a failure of the first control storage unit. Section, a second failure detection section for detecting a failure of the second control storage section, a failure detected by the first failure detection section and the second failure detection section, and the first control storage Section from the second control note From the second control storage unit to the first control storage unit to determine whether it occurs when the operation is transferred to the first control storage unit, and from the failure determination unit And a signal from the first and second arithmetic units, and an exception processing unit that performs exception processing with the signals from the instruction fetch unit and the operand fetch unit, and uses the first control storage unit. When the correctable failure occurs in the first control storage unit at the same time as the execution instruction of the command that uses the second control storage unit is transmitted after the execution of the instruction, or the second control storage unit. When a correctable fault occurs in the second control storage unit at the same time when an instruction to execute the instruction using the first control storage unit is transmitted after executing the instruction using the correctable fault, the correctable fault is corrected. Shi After that, it includes restarting the instruction fetch unit and the operand fetch unit by a signal from the exception processing unit, and in particular, the priority of the exception processing from the failure determination unit with respect to the exception processing unit, The priority is set to be lower than the priority of the processing of exceptions from the first and second arithmetic units and the processing of exceptions from the instruction fetch unit and the operand fetch unit.

【0036】[0036]

【実施例】次に、本発明の実施例について図面を参照し
て説明する。
Embodiments of the present invention will now be described with reference to the drawings.

【0037】図1は本発明の一実施例を示すブロック
図、図2は図1の実施例の動作を示すタイミングチャー
トである。
FIG. 1 is a block diagram showing an embodiment of the present invention, and FIG. 2 is a timing chart showing the operation of the embodiment of FIG.

【0038】図1の実施例の構成は、故障判別部12お
よび例外処理部20以外は、図3の従来例のと同じであ
る。
The configuration of the embodiment shown in FIG. 1 is the same as that of the conventional example shown in FIG. 3, except for the failure determination unit 12 and the exception processing unit 20.

【0039】故障判別部12は、故障検出部9aおよび
9bの出力により、情報処理装置を停止させるか否かを
判断し、その結果を例外処理部20に送る。
The failure determination unit 12 determines whether or not to stop the information processing device based on the outputs of the failure detection units 9a and 9b, and sends the result to the exception processing unit 20.

【0040】例外処理部20は、演算器15aおよび1
5b並びに命令フェッチ部1並びにオペランドフェッチ
部3並びに故障判別部12からの信号により、例外処理
を行う。
The exception processing unit 20 includes the arithmetic units 15a and 1a.
Exception processing is performed by signals from 5b, the instruction fetch unit 1, the operand fetch unit 3, and the failure determination unit 12.

【0041】上述のように構成された情報処理装置は、
次のように動作する。
The information processing apparatus configured as described above is
It works as follows.

【0042】故障判別部12および例外処理部20以外
の各部の動作は、上述の従来例の対応する各部の動作と
同じであるので、詳細な記述は省略する。
The operations of the respective parts other than the failure determination part 12 and the exception processing part 20 are the same as the operations of the corresponding parts of the above-mentioned conventional example, and therefore a detailed description thereof will be omitted.

【0043】故障判別部12は、故障検出部9aの出力
信号を入力したとき故障のあった次の命令が演算器15
bを使用する命令であり、その命令が実行状態にあるか
否かをチェックする。次の命令が演算器15bを使用す
る命令であり、その命令が実行状態にあるときは、故障
判別部12は、例外処理部20に対して信号を送出す
る。
When the output signal of the failure detection section 9a is input to the failure determination section 12, the next instruction that has a failure is given to the arithmetic unit 15
It is an instruction using b, and it is checked whether or not the instruction is in the execution state. The next instruction is an instruction to use the arithmetic unit 15b, and when the instruction is in the execution state, the failure determination unit 12 sends a signal to the exception processing unit 20.

【0044】このとき送出される例外事項は、演算器1
5aからの例外事項や、命令フェッチ部1およびオペラ
ンドフェッチ部3からの例外事項よりも、低いプライオ
リティに設定される。その理由は、他の致命的な例外事
項が発生したときは、制御記憶部における間欠故障は重
要でなくなり、また、演算結果による例外事項は、その
命令を再スタートさせたとき、同じ例外事項が発生する
ため、そのとき制御記憶部の訂正を行えばよいからであ
る。
The exceptions sent at this time are the arithmetic unit 1
The priority is set lower than the exceptions from 5a and the exceptions from the instruction fetch unit 1 and the operand fetch unit 3. The reason is that when other fatal exceptions occur, the intermittent failure in the control memory becomes insignificant, and the exception resulting from the operation result is the same exception when the instruction is restarted. This is because the error occurs, and at that time, the control storage unit may be corrected.

【0045】例外処理部20は、故障判別部12から信
号を入力すると、ソフトウエアビジブルレジスタのホー
ルドを指示する。ソフトウエアビジブルレジスタのホー
ルドが間に合わないものについては、ヒストリレジスタ
を持ち、例外処理の中で値を差し替える。
When the exception processing section 20 receives a signal from the failure determination section 12, it instructs the software visible register to be held. If the software visible register cannot be held in time, it has a history register and replaces the value during exception processing.

【0046】例外処理部20は、これと同時に、命令フ
ェッチ部1およびオペランドフェッチ部3に対して先取
りのやり直しを指示する。
At the same time, the exception processing unit 20 instructs the instruction fetch unit 1 and the operand fetch unit 3 to redo the prefetch.

【0047】故障訂正部10aによる制御記憶部(C
S)7aの故障の訂正が終了すると、故障報告レジスタ
(EH)11aがセットされる。さらに、故障報告レジ
スタ(EH)11aおよび11bがリセットされ、命令
フェッチ部1から先ほど中断した命令が再度送られ、そ
の命令が再実行される。このようにして、制御記憶部に
間欠故障が発生したとき、情報処理装置は、動作を停止
する必要はなく、継続して動作し続けることができる。
The control storage unit (C
When the correction of the failure of (S) 7a is completed, the failure report register (EH) 11a is set. Further, the failure report registers (EH) 11a and 11b are reset, the instruction interrupted by the instruction fetch unit 1 is sent again, and the instruction is re-executed. In this way, when an intermittent failure occurs in the control storage unit, the information processing device does not need to stop its operation and can continue to operate.

【0048】図2は、上述の動作をタイミングチャート
で示したものである。
FIG. 2 is a timing chart showing the above operation.

【0049】図2において、例外処理部20以外の動作
は、図4の場合と同じであるので、詳細な記述は省略す
る。
In FIG. 2, the operations other than the exception processing unit 20 are the same as those in FIG. 4, and therefore detailed description will be omitted.

【0050】例外処理部20は、故障判別部12の出力
信号(図2においては図示省略)によって起動される。
これにより例外処理部20は命令フェッチ部1およびオ
ペランドフェッチ部3に対して起動信号を送出する。命
令フェッチ部1およびオペランドフェッチ部3は、例外
処理部20からの起動信号を入力すると、それぞれの先
取りを開始する。
The exception processing section 20 is activated by the output signal (not shown in FIG. 2) of the failure determination section 12.
As a result, the exception processing unit 20 sends an activation signal to the instruction fetch unit 1 and the operand fetch unit 3. The instruction fetch unit 1 and the operand fetch unit 3, when receiving the activation signal from the exception processing unit 20, start their prefetching.

【0051】[0051]

【発明の効果】以上説明したように、本発明の情報処理
装置は、制御記憶部に間欠故障が発生した場合、故障判
別部において、その故障のあった次の命令が他の演算器
を使用する命令であり、かつその命令が実行状態にある
ことを判断して例外処理部に対して信号を送り、例外処
理部においてソフトウエアビジブルレジスタのホールド
を指示するか、またはヒストリレジスタによって例外処
理の中で値を差し替え、同時に、命令フェッチ部および
オペランドフェッチ部に対して先取りのやり直しを指示
することにより、情報処理装置の動作を停止せずに継続
して動作させることが可能になるという効果がある。
As described above, in the information processing apparatus of the present invention, when an intermittent failure occurs in the control storage section, the next instruction having the failure uses another computing unit in the failure determination section. The exception processing unit determines whether the instruction is in the execution state and sends a signal to the exception processing unit, and instructs the exception processing unit to hold the software visible register, or By replacing the value in the middle and at the same time instructing the instruction fetch unit and the operand fetch unit to redo the prefetching, it is possible to continuously operate the information processing device without stopping the operation. is there.

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

【図1】本発明の一実施例を示すブロック図である。FIG. 1 is a block diagram showing an embodiment of the present invention.

【図2】図1の実施例の動作を示すタイミングチャート
である。
FIG. 2 is a timing chart showing the operation of the embodiment shown in FIG.

【図3】従来の情報処理装置の一例を示すブロック図で
ある。
FIG. 3 is a block diagram showing an example of a conventional information processing apparatus.

【図4】図3の例の動作を示すタイミングチャートであ
る。
FIG. 4 is a timing chart showing the operation of the example of FIG.

【符号の説明】[Explanation of symbols]

1 命令フェッチ部 2 命令レジスタ(IFR) 3 オペランドフェッチ部 4 オペランドレジスタ(DFR) 5 デコーダ(IDEC) 6a・6b アドレスレジスタ(CSA) 7a・7b 制御記憶部(CS) 8a・8b 制御記憶レジスタ(CSR) 9a・9b 故障検出部 10a・10b 故障訂正部 11a・11b 故障報告レジスタ(EH) 12・32 故障判別部 13a・13b・13c・13d データレジスタ 14a・14b デコーダ(CCNT) 15a・15b 演算器 16 セレクタ 17 リザルトレジスタ(RXR) 18 CSモードレジスタ(CMCDE) 19 レジスタ(CREG) 20・40 例外処理部40 41 停止信号 50・51 命令 1 instruction fetch unit 2 instruction register (IFR) 3 operand fetch unit 4 operand register (DFR) 5 decoder (IDEC) 6a / 6b address register (CSA) 7a / 7b control storage unit (CS) 8a / 8b control storage register (CSR) ) 9a / 9b Failure detection section 10a / 10b Failure correction section 11a / 11b Failure report register (EH) 12/32 Failure determination section 13a / 13b / 13c / 13d Data register 14a / 14b Decoder (CCNT) 15a / 15b Operation unit 16 Selector 17 Result register (RXR) 18 CS mode register (CMCDE) 19 Register (CREG) 20/40 Exception processing unit 40 41 Stop signal 50/51 instruction

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 命令を先取りする命令フェッチ部とオペ
ランドを先取りするオペランドフェッチ部とを有し、パ
イプライン動作を行う情報処理装置であって、 マイクロプログラムを格納している第一の制御記憶部
と、前記第一の制御記憶部の動作に対して排他的な動作
を行うマイクロプログラムを格納している第二の制御記
憶部と、前記第一の制御記憶部によって制御される第一
の演算部と、前記第二の制御記憶部によって制御される
第二の演算部と、前記第一の制御記憶部の故障を検出す
る第一の故障検出部と、前記第二の制御記憶部の故障を
検出する第二の故障検出部と、前記第一の故障検出部お
よび前記第二の故障検出部によって検出された故障が前
記第一の制御記憶部から前記第二の制御記憶部に動作が
移行するときに発生したかまたは前記第二の制御記憶部
から前記第一の制御記憶部に動作が移行するときに発生
したかを判別する故障判別部と、前記故障判別部からの
信号と前記第一および第二の演算部からの信号と前記命
令フェッチ部および前記オペランドフェッチ部からの信
号とによって例外処理を行う例外処理部とを備え、前記
第一の制御記憶部を使用する命令を実行した後に前記第
二の制御記憶部を使用する命令の実行指示を送出すると
同時に前記第一の制御記憶部に訂正可能な故障が発生し
たとき、または、前記第二の制御記憶部を使用する命令
を実行した後に前記第一の制御記憶部を使用する命令の
実行指示を送出すると同時に前記第二の制御記憶部に訂
正可能な故障が発生したとき、前記訂正可能な故障を訂
正した後、前記例外処理部からの信号によって前記命令
フェッチ部および前記オペランドフェッチ部を再起動さ
せることを含む特徴とする情報処理装置。
1. An information processing apparatus having an instruction fetch unit for prefetching an instruction and an operand fetch unit for prefetching an operand, which performs a pipeline operation, wherein a first control storage unit stores a microprogram. A second control storage unit that stores a microprogram that performs an exclusive operation with respect to the operation of the first control storage unit; and a first operation controlled by the first control storage unit. Section, a second computing section controlled by the second control storage section, a first failure detection section for detecting a failure of the first control storage section, and a failure of the second control storage section. A second failure detection unit for detecting the failure, the failure detected by the first failure detection unit and the second failure detection unit operates from the first control storage unit to the second control storage unit. Bites that occurred when migrating Is a failure determination unit that determines whether an operation occurs when the operation is transferred from the second control storage unit to the first control storage unit, a signal from the failure determination unit, and the first and second calculations Unit and an exception processing unit that performs exception processing by signals from the instruction fetch unit and the operand fetch unit, the second control after executing an instruction using the first control storage unit When a correctable failure occurs in the first control storage unit at the same time when an instruction to execute a storage unit use instruction is sent, or the first control storage unit is used after the instruction using the second control storage unit is executed. When a correctable failure occurs in the second control storage section at the same time when an instruction to execute an instruction that uses the control storage section is sent, after correcting the correctable failure, a signal from the exception handling section is used. Previous An information processing apparatus comprising: reactivating an instruction fetch unit and the operand fetch unit.
【請求項2】 例外処理部に対する故障判別部からの例
外事項の処理の優先度を、第一および第二の演算部から
の例外事項の処理並びに命令フェッチ部およびオペラン
ドフェッチ部からの例外事項の処理の優先度よりも低く
設定することを含む特徴とする請求項1記載の情報処理
装置。
2. The priority of the exception processing from the failure determination unit with respect to the exception processing unit is set to the exception processing from the first and second arithmetic units and the exception processing from the instruction fetch unit and the operand fetch unit. The information processing apparatus according to claim 1, further comprising setting the processing priority lower than the priority.
JP5115455A 1993-05-18 1993-05-18 Information processor Pending JPH06324898A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5115455A JPH06324898A (en) 1993-05-18 1993-05-18 Information processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5115455A JPH06324898A (en) 1993-05-18 1993-05-18 Information processor

Publications (1)

Publication Number Publication Date
JPH06324898A true JPH06324898A (en) 1994-11-25

Family

ID=14662982

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5115455A Pending JPH06324898A (en) 1993-05-18 1993-05-18 Information processor

Country Status (1)

Country Link
JP (1) JPH06324898A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8898516B2 (en) 2011-12-09 2014-11-25 Toyota Jidosha Kabushiki Kaisha Fault-tolerant computer system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8898516B2 (en) 2011-12-09 2014-11-25 Toyota Jidosha Kabushiki Kaisha Fault-tolerant computer system

Similar Documents

Publication Publication Date Title
US4701915A (en) Error recovery system in a data processor having a control storage
EP0372751B1 (en) Pipelined data-processing apparatus
JPH05303492A (en) Data processor
IL181992A (en) Selecting subroutine return mechanisms
US8516303B2 (en) Arithmetic device for concurrently processing a plurality of threads
JPH06324898A (en) Information processor
US6990569B2 (en) Handling problematic events in a data processing apparatus
US5673391A (en) Hardware retry trap for millicoded processor
JPH07152594A (en) Retry control system for control processor
JPS63214856A (en) Data protection control system for data processing unit
JPH11149390A (en) Data processor and fault diagnostic method in the same
TW202343224A (en) Logic circuit and method for checking and updating program counter values in pipeline architecture
JP2793386B2 (en) Computer error information storage device for computer
JPH0135369B2 (en)
JPH05158808A (en) Microprogram controller
JP2786215B2 (en) Restart processing control method
JP2021144426A (en) Processor and error detection method
JPS621049A (en) Memory access control system
JP2944335B2 (en) Information processing device
JPH05120155A (en) Microprogram controller
JPH04274520A (en) Microprogram controller
JPH06110687A (en) Information processing device and information processing method
JPH0375835A (en) Data processor
JPS59178547A (en) Instruction retry system
JPH02141833A (en) Information processor

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20000801