JPH04209035A - Artificial trouble generating circuit - Google Patents
Artificial trouble generating circuitInfo
- Publication number
- JPH04209035A JPH04209035A JP2400273A JP40027390A JPH04209035A JP H04209035 A JPH04209035 A JP H04209035A JP 2400273 A JP2400273 A JP 2400273A JP 40027390 A JP40027390 A JP 40027390A JP H04209035 A JPH04209035 A JP H04209035A
- Authority
- JP
- Japan
- Prior art keywords
- address
- pseudo
- microinstruction
- fault
- register
- 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
Links
- 238000003745 diagnosis Methods 0.000 abstract 1
- 230000006870 function Effects 0.000 description 5
- 238000011084 recovery Methods 0.000 description 5
- 230000008685 targeting Effects 0.000 description 2
- 238000010586 diagram Methods 0.000 description 1
- 238000000034 method Methods 0.000 description 1
Landscapes
- Test And Diagnosis Of Digital Computers (AREA)
Abstract
Description
[00011 [00011
【産業上の利用分野]本発明はデータ処理装置の疑似障
害発生回路に関する。
[0002]
【従来の技術】近年、電子計算機の応用分野が飛躍的拡
大を遂げるに従い、システムの高信頼性の要求は年々高
くなっている。そのため計算機に障害回復機能を設ける
ようになってきた。
[0003]Lかし、障害回復機能自体の信頼性をも問
題視する必要があり、この障害回復機能の診断を行うた
めに、人為的に疑似障害(以下擬障と記す)を発生する
疑障発生回路を内蔵することがある。このような疑障発
生回路では、従来、装置の動作状態とは無関係に擬障を
発生する方法が用いられていた。
[0004]BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a pseudo failure generating circuit for a data processing device. [0002] BACKGROUND OF THE INVENTION In recent years, as the field of application of electronic computers has expanded dramatically, the demand for high reliability of systems has been increasing year by year. For this reason, computers have come to be equipped with a failure recovery function. [0003] However, it is also necessary to consider the reliability of the failure recovery function itself, and in order to diagnose this failure recovery function, it is necessary to consider the reliability of the failure recovery function itself. It may have a built-in fault circuit. Conventionally, such a fault generating circuit has used a method of generating a pseudo fault regardless of the operating state of the device. [0004]
【発明が解決しようとする課題】上述した従来の擬障発
生回路は、装置の動作状態とは無関係にランダムに擬障
を発生させるため、例えば装置が例外処理中に擬障を発
生させるというように、特定のフェーズを狙って擬障を
発生させることが困難であると同時に、全く同一の擬障
を繰り返し発生することが困難であるという欠点がある
。
[0005][Problems to be Solved by the Invention] The above-mentioned conventional pseudo-fault generating circuit randomly generates pseudo-faults regardless of the operating state of the device. Another drawback is that it is difficult to generate a pseudo fault targeting a specific phase, and at the same time, it is difficult to repeatedly generate the same pseudo fault. [0005]
【課題を解決するための手段】本発明の擬障発生回路は
、マイクロ命令から構成されるマイクロプログラムを格
納する制御記憶と、制御記憶から読み出した次実行アド
レスを含むマイクロ命令を格納するマイクロ命令レジス
タと、疑障を発生させる特定のマイクロ命令のアドレス
を保持する疑障発生アドレスレジスタと、マイクロ命令
レジスタに格納されたマイクロ命令中の次実行アドレス
と疑障発生アドレスレジスタに保持されたアドレスとを
比較する比較回路と、比較の結果一致した場合に疑障を
発生する擬障発生器とを有する。
[0006][Means for Solving the Problems] The pseudo-failure generation circuit of the present invention includes a control memory that stores a microprogram composed of microinstructions, and a microinstruction that stores a microinstruction containing a next execution address read from the control memory. A register, a suspected failure address register that holds the address of the specific microinstruction that caused the failure, the next execution address of the microinstruction stored in the microinstruction register, and the address held in the doubtful failure address register. and a false fault generator that generates a false fault when the comparison results match. [0006]
【実施例】図1は本発明の一実施例のブロック図である
。
[00071図1を参照すると、本実施例は、制御記憶
1、マイクロ命令レジスタ2、デコーダ3、擬障発生ア
ドレスを規定するレジスタ4、比較回路5、擬障発生器
6からなる。
[00081制御記憶1中に記憶されたマイクロプログ
ラムを構成するマイクロ命令は、読み出されるとマイク
ロ命令レジスタ2に格納される。マイクロ命令レジスタ
2に格納されたマイクロ命令の一部は、デコーダ3によ
りデコードされ、マイクロ命令を実行するための制御信
号300になる。その一方でマイクロ命令レジスタ2に
格納されたマイクロ命令の一部は、次実行アドレス信号
200となり、制御記憶1上のアドレスを特定し、次の
マイクロ命令をマイクロ命令レジスタ2に格納する。こ
の一連の動作によりマイクロ命令の実行シーケンスが形
成される。
[0009]装置の特定の動作状態で擬障を発生させた
い場合には、擬障発生アドレスを規定するレジスタ4に
、擬障を発生しようとする特定のマイクロ命令のアドレ
スをセットする。比較回路5は、次実行アドレス信号2
00と、疑似障害アドレスを規定するレジスタ4にセッ
トされたアドレスとを比較し、両者が一致した場合には
擬障発生信号500を発行する。この擬障発生信号50
0に従って、擬障発生器6は擬障を発生する。このよう
にしてマイクロ命令の特定のアドレスを狙って擬障を発
生することができる。
[00101
【発明の効果]本発明により、装置の特定の動作状態に
擬障を発生させることができ、また全く同一の擬障を繰
り返し発生させることができるため、障害回復機能の診
断が容易になる効果がある。DESCRIPTION OF THE PREFERRED EMBODIMENTS FIG. 1 is a block diagram of an embodiment of the present invention. [00071] Referring to FIG. 1, this embodiment includes a control memory 1, a microinstruction register 2, a decoder 3, a register 4 for defining a pseudo-fault address, a comparison circuit 5, and a pseudo-fault generator 6. [00081 The microinstructions constituting the microprogram stored in the control memory 1 are stored in the microinstruction register 2 when read out. A part of the microinstruction stored in the microinstruction register 2 is decoded by the decoder 3 and becomes a control signal 300 for executing the microinstruction. On the other hand, part of the microinstructions stored in the microinstruction register 2 becomes the next execution address signal 200, specifies the address on the control memory 1, and stores the next microinstruction in the microinstruction register 2. This series of operations forms a microinstruction execution sequence. [0009] When it is desired to cause a pseudo fault to occur in a specific operating state of the device, the address of a specific microinstruction for which a pseudo fault is to occur is set in the register 4 that defines the pseudo fault occurrence address. Comparison circuit 5 receives next execution address signal 2
00 and the address set in the register 4 that defines the pseudo-fault address, and if the two match, a pseudo-fault occurrence signal 500 is issued. This false fault occurrence signal 50
0, the pseudo fault generator 6 generates a pseudo fault. In this way, it is possible to generate a false fault by targeting a specific address of a microinstruction. [00101] [Effects of the Invention] According to the present invention, it is possible to generate a pseudo fault in a specific operating state of the device, and the same pseudo fault can be repeatedly generated, making it easy to diagnose the fault recovery function. There is a certain effect.
【図1】図1は本発明の一実施例を示す。FIG. 1 shows an embodiment of the present invention.
1 制御記憶
2 マイクロ命令アドレス
3 デコーダ
4 擬障発生アドレスを規定するレジスタ5 比較
回路
6 擬障発生器1 Control memory 2 Microinstruction address 3 Decoder 4 Register 5 that specifies the pseudo-fault occurrence address Comparison circuit 6 pseudo-fault generator
【図1】[Figure 1]
Claims (1)
グラムを格納する制御記憶と、制御記憶から読み出した
次実行アドレスを含むマイクロ命令を格納するマイクロ
命令レジスタと、疑似障害を発生させる特定のマイクロ
命令のアドレスを保持する疑似障害発生アドレスレジス
タと、前記マイクロ命令レジスタに格納されたマイクロ
命令中の次実行アドレスと前記疑似障害発生アドレスレ
ジスタに保持されたアドレスとを比較する比較回路と、
比較の結果一致した場合に疑似障害を発生する疑似障害
発生器とを有することを特徴とする疑似障害発生回路。1. A control memory that stores a microprogram composed of microinstructions, a microinstruction register that stores microinstructions including a next execution address read from the control memory, and a microinstruction register that stores a specific microinstruction that causes a pseudo failure. a pseudo fault occurrence address register that holds an address; a comparison circuit that compares the next execution address in the microinstruction stored in the microinstruction register with the address held in the pseudo fault occurrence address register;
1. A pseudo-fault generating circuit comprising: a pseudo-fault generator that generates a pseudo-fault when a match is found as a result of comparison.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2400273A JPH04209035A (en) | 1990-12-04 | 1990-12-04 | Artificial trouble generating circuit |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2400273A JPH04209035A (en) | 1990-12-04 | 1990-12-04 | Artificial trouble generating circuit |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH04209035A true JPH04209035A (en) | 1992-07-30 |
Family
ID=18510185
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2400273A Pending JPH04209035A (en) | 1990-12-04 | 1990-12-04 | Artificial trouble generating circuit |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH04209035A (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH08292903A (en) * | 1995-04-21 | 1996-11-05 | Nec Corp | Information processor |
-
1990
- 1990-12-04 JP JP2400273A patent/JPH04209035A/en active Pending
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH08292903A (en) * | 1995-04-21 | 1996-11-05 | Nec Corp | Information processor |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN104583935B (en) | Instruction insertion in state machine engine | |
| JPH0581014A (en) | Programmable array for on-chip control store for correcting microcode | |
| KR870002504A (en) | Fault recovery method and apparatus in the calculation system | |
| JP2986104B2 (en) | Information processing equipment self-test circuit | |
| KR840006091A (en) | How to recover from errors in the microprogram controller | |
| US5146586A (en) | Arrangement for storing an execution history in an information processing unit | |
| EP0497485A2 (en) | Computer for implementing two-operand instructions | |
| JPS5816350A (en) | Memory extension substituting system | |
| KR940011040B1 (en) | Microcomputer | |
| JP3157242B2 (en) | Error handling method in micro program control | |
| JPH02166529A (en) | Pseudo fault generating circuit | |
| JP3057732B2 (en) | Information processing device | |
| JP2618387B2 (en) | Testing method for information processing equipment | |
| JPH08263324A (en) | Debug facilitation device | |
| JPS59112343A (en) | Address searching device of data processor | |
| JPH05101203A (en) | Microprocessor | |
| JPS6212545B2 (en) | ||
| JPH0553925A (en) | Microprogram controller | |
| JPS63123137A (en) | Address coincidence signal generating system | |
| JPS6146857B2 (en) | ||
| JPS62267840A (en) | Generating system for pseudo trouble | |
| JPS5935245A (en) | Pseudo fault generator | |
| JPH057388A (en) | Time switch fault monitor | |
| JPS61269743A (en) | Debugging system | |
| JPH0793180A (en) | Microprocessor |