JPS5935245A - Pseudo fault generator - Google Patents

Pseudo fault generator

Info

Publication number
JPS5935245A
JPS5935245A JP57144320A JP14432082A JPS5935245A JP S5935245 A JPS5935245 A JP S5935245A JP 57144320 A JP57144320 A JP 57144320A JP 14432082 A JP14432082 A JP 14432082A JP S5935245 A JPS5935245 A JP S5935245A
Authority
JP
Japan
Prior art keywords
pseudo
failure
microinstruction
output
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
Application number
JP57144320A
Other languages
Japanese (ja)
Inventor
Koichi Bando
坂東 幸一
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
Nippon Electric Co 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 Corp, Nippon Electric Co Ltd filed Critical NEC Corp
Priority to JP57144320A priority Critical patent/JPS5935245A/en
Publication of JPS5935245A publication Critical patent/JPS5935245A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Test And Diagnosis Of Digital Computers (AREA)

Abstract

PURPOSE:To generate a pseudo fault even under microinstruction execution, by generating the pseudo fault when the instruction code of a microprogram being executed coincides with a preset instruction code for the generation of the pseudo fault. CONSTITUTION:A desired pseudo fault switch SW among switches SW11 and a desired pseudo fault generation microinstruction code setting swith SW1 among switches SW4 are set. The setting of those SWs is possible regardless of whether a data processor 1 is in operation or not, and set values are changed during the operation. A microinstruction register output 2 from the processor 1 is stored in a microinstruction buffer register 3. The output of a pseudo fault generation microinstruction code register 5 having the SW4 set is compared with the output of the register 3 by a comparing circuit 8; when they coincide with each other, a pseudo signal generating circuit 10 is driven by a coincidence signal 9 to output a pseudo fault signal 12 set by the SW11 to the pseudo fault application point in the processor 1. The signal of ''1'' or ''0'' depending upon the circuit characteristic of the application point is generated.

Description

【発明の詳細な説明】 〔発明の属する技術分野〕 本発明は擬似障害発生装置、特にデータ処理装置上で擬
似障害を発生させる装置に関する。
DETAILED DESCRIPTION OF THE INVENTION [Technical field to which the invention pertains] The present invention relates to a pseudo-failure generation device, and particularly to a device for generating a pseudo-fault on a data processing device.

〔従来技術〕[Prior art]

従来、データ処理¥&置土で擬似障害を発生させる方式
には第1にデータ処理装置内のバックボード、パッケー
ジ、IC等の入出力端子から入手又は外付回路により擬
似障害を注入させる方式、第2にデータ処理装置内に予
めエラー発生回路を内蔵させておき、テストモードにセ
ットした後擬似障害発生命令によりエラーを発生させる
等の方式しかし、第1の方式では擬似障害を発生させる
条件が選べない為、無効なタイミングで発生1.たり、
任意のマイクロ命令を狙って発生できない等の欠点があ
った。
Conventionally, methods for generating pseudo failures in data processing and storage include methods in which pseudo failures are obtained from the input/output terminals of backboards, packages, ICs, etc. within the data processing equipment or are injected using external circuits; The second method is to build in an error generation circuit in advance in the data processing device, and after setting it to test mode, generate an error with a pseudo-failure generation command.However, in the first method, there are no conditions for generating a pseudo-fault. Occurs at invalid timing because it cannot be selected 1. Or,
It had drawbacks such as not being able to target arbitrary microinstructions.

又、第2の方式ではテストモードのセット及び擬似障害
発生命令等をプログラム中に埋め込まなければならず、
プログラムの変更を要する欠点があった。
In addition, in the second method, a set of test modes and a pseudo failure instruction must be embedded in the program.
There was a drawback that required changes to the program.

〔発明の目的〕[Purpose of the invention]

本発明の目的はプログラムを何ら変更せずに任意のマイ
クロ命令実行中に擬似障害を発生させる装置を提供する
ことにある。
SUMMARY OF THE INVENTION An object of the present invention is to provide a device that generates a pseudo failure during execution of any microinstruction without changing the program.

〔発明の構成〕[Structure of the invention]

本第1の発明によるとデータ処理装置上で実行中ノマイ
クロプログラムの命令コードを示すマイクロ命令レジス
タ出力と予めセットされた擬似障害発生のトリガポイン
トを示す擬似障害発生マイクロ命令コードレジスタとの
出力のマイクロ命令コード情報を比較する比較回路と、
この比較回路がマイクロ命令コードの一致を検出した場
合に前記データ処理装置内の各種回路に擬似障害を発生
させる擬似障害発生回路とを含むことを特徴とする擬似
障害発生装置が得られる。
According to the first aspect of the present invention, the microinstruction register output indicating the instruction code of the microprogram being executed on the data processing device and the output of the pseudo failure microinstruction code register indicating the preset trigger point of the pseudo failure occurrence are output. a comparison circuit that compares microinstruction code information;
A pseudo-failure generation device is obtained, which includes a pseudo-fault generation circuit that generates a pseudo-fault in various circuits in the data processing device when the comparison circuit detects a match between microinstruction codes.

本第2の発明によるとデータ処理装置上で実行中のマク
ロインストラクションの命令コードを示すマクロ命令レ
ジスタ出力と予めセットされた擬似障害発生のトリガポ
イントを示す擬似障害発生マクロ命令コードレジスタと
の出力のマクロ命令コード情報を比較する比較回路と、
この比較回路がマクロ命令コードの一致を検出した場合
に前記データ処理装置内の各種回路に擬似障害を発生さ
せる擬似障害発生回路とを含むことを特徴とする擬似障
害発生装置が得られる。
According to the second aspect of the present invention, the output of the macro instruction register indicating the instruction code of the macro instruction being executed on the data processing device and the pseudo-failure occurrence macro instruction code register indicating the trigger point of the preset pseudo-failure occurrence are output. a comparison circuit that compares macro instruction code information;
A pseudo-fault generating device is obtained, which includes a pseudo-fault generating circuit that generates a pseudo-fault in various circuits in the data processing device when the comparison circuit detects a match between macro instruction codes.

〔実施例の説明〕[Explanation of Examples]

次に本発明について図面を参照して詳細に説明する。第
1図は本第1の発明の一実施例のブロック図で、第1図
を参照すると、データ処理装置1からのマイクロ命令レ
ジスタ出力2を記憶する為のマイクロ命令バッファレジ
スタ3と、擬似障害発生々イクロ命令コード設定スイッ
チ4の出力を記憶する擬似障害発生マイクロ命令コード
レジスタ5と、これら二つのレジスタ3と5の出力であ
る6、7を比較する比較回路8と、該比較回路85− の出力9の制御により擬似障害設定スイッチ11の出力
をデータ処理装置1へ送り込む為の擬似障擬似障害を発
生させたいスイッチの値をv′1“にセットする。これ
らのスイッチ11の出力は擬似障害発生回路10の出力
12によりデータ処理装置1の任意の擬似障害注入点に
接続されており、出力12が11“又は0”になること
により擬1の擬似障害注入点の回路特性により任意に選
択できる。
Next, the present invention will be explained in detail with reference to the drawings. FIG. 1 is a block diagram of an embodiment of the first invention. Referring to FIG. 1, a microinstruction buffer register 3 for storing a microinstruction register output 2 from a data processing device 1, and a pseudo fault A pseudo failure micro instruction code register 5 that stores the output of the micro instruction code setting switch 4, a comparison circuit 8 that compares the outputs 6 and 7 of these two registers 3 and 5, and the comparison circuit 85- Under the control of the output 9 of the switch 11, the value of the switch for which a pseudo failure is to be generated is set to v'1'' in order to send the output of the pseudo failure setting switch 11 to the data processing device 1.The outputs of these switches 11 are The output 12 of the fault generation circuit 10 is connected to an arbitrary pseudo-fault injection point of the data processing device 1, and when the output 12 becomes 11 "or 0", it is arbitrarily connected to the pseudo-fault injection point according to the circuit characteristics of the pseudo-1 pseudo-fault injection point. You can choose.

更に、擬似障害を発生させたいマイクロ命令コードを擬
似障害発生マイクロ命令コード設定スイッチ4にセット
する。スイッチ4と11の設定はデータ処理装置1が動
作中でも停止中でも可能であり、又動作中に設定値を変
更することもできる。
Further, a microinstruction code for causing a pseudo failure is set in the pseudo failure microinstruction code setting switch 4. The switches 4 and 11 can be set while the data processing device 1 is in operation or stopped, and the set values can also be changed during operation.

又スイッチ4及び11の出力はチャツタを防ぐ為6− にレジスタ5及び10で一旦記憶される。Also, the outputs of switches 4 and 11 are set to 6- to prevent chatter. are temporarily stored in registers 5 and 10.

一方、データ処理挟置1からのマイクロ命令レジスタ出
力2はマイクロ命令バッファレジスタ3に記憶されてい
る。レジスタ3とレジスタ5の出力である6と7は比較
回路8で比較され、一致すると比較回路8の出力9が′
1“になり、擬似障害発生回路10は擬似障害設定スイ
ッチ11の出力をデータ処理挟置1へ送り込む。
On the other hand, the microinstruction register output 2 from the data processing interposer 1 is stored in the microinstruction buffer register 3. Outputs 6 and 7 of registers 3 and 5 are compared in comparator circuit 8, and if they match, output 9 of comparator circuit 8 becomes '
1'', and the pseudo fault generation circuit 10 sends the output of the pseudo fault setting switch 11 to the data processing interposer 1.

擬似障害発生回路10の出力にはデータ処理挟置1内の
擬似障害注入点に接続されており、出力12が11“又
は0”になることにより擬似障害を発生させる。出力1
2が11” とゞ0“のどちらで擬似障害が発生するか
はデータ処理挟置1の擬似障害注入点の回路特性による
The output of the pseudo fault generating circuit 10 is connected to a pseudo fault injection point in the data processing interposer 1, and a pseudo fault is generated when the output 12 becomes 11" or 0". Output 1
Whether a pseudo fault occurs when 2 is 11" or 0" depends on the circuit characteristics of the pseudo fault injection point of the data processing interposer 1.

以上の実施例では擬似障害発生マイクロ命令コードと擬
似障害設定はスイッチを使って入手により行う場合を示
したが、データ処理挟置1と本装置の間に特別なインタ
フェースを設けることによりデータ処理挟置1の指示に
より行うことも可能である。
In the above embodiment, the pseudo-fault generation microinstruction code and the pseudo-fault settings are obtained by using a switch. However, by providing a special interface between the data processing interposer 1 and this device, It is also possible to perform this according to the instructions in Section 1.

また、第1の発明ではマイクロプログラムの命令コード
を使用したが、本第2の発明ではマイクロプログラムア
ドレスの代りに一段上位のマクロインストラクションマ
クロ命令コードヲffl用している。
Further, in the first invention, a microprogram instruction code is used, but in the second invention, a macro instruction macro instruction code of one step higher is used in place of the microprogram address.

更にまた、第1の発明の比較回路と第2の発明の比較回
路の両方を有【7、両方の比較回路に於て一致を検出し
た場合のみ擬似障害を発生させ、どちらか一方の比較回
路のみで一致を検出【7た場合は擬似障害を発生させな
いようにしてもよい。
Furthermore, it is possible to have both the comparison circuit of the first invention and the comparison circuit of the second invention. If a match is detected only with

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

本発明は以上説明【またようにプログラムを何ら変更せ
ずに任意のマイクロ命令又はマクロ命令実行中を狙って
擬似障害を発生できる効果がある。
As explained above, the present invention also has the effect of generating a pseudo-failure during execution of any micro-instruction or macro-instruction without making any changes to the program.

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

第1図は本第1の発明の一実施例を示すブロック図であ
る。 1・・・・・・データ処理挟置、2・・・・・・マイク
ロ命令レタ、6・・・・・・レジスタ3の出力、7・・
・・・・レジスタ5−9 = 6 / 口
FIG. 1 is a block diagram showing an embodiment of the first invention. 1...Data processing interposition, 2...Micro instruction letter, 6...Output of register 3, 7...
...Register 5-9 = 6 / mouth

Claims (3)

【特許請求の範囲】[Claims] (1)データ処理装置上で実行中のマイクロプログラム
の命令コードを示すマイクロ命令レジスタ出力と予めセ
ットされた擬似障害発生のトリガポイントを示す擬似障
害発生マイクロ命令コードレジスタとの出力のマイクロ
命令コード情報を比較する比較回路と、この比較回路が
マイクロ命令コ、−ドの一致を検出した場合に前記デー
タ処理装置内の各種回路に擬似障害を発生させる擬似障
害発生回路とを含むことを特徴゛とする擬似障害発生装
置。
(1) Microinstruction code information output from the microinstruction register output indicating the instruction code of the microprogram being executed on the data processing device and the pseudo failure microinstruction code register indicating the trigger point for the preset pseudo failure occurrence and a pseudo fault generation circuit that generates a pseudo fault in various circuits in the data processing device when the comparison circuit detects a match between the microinstruction codes. A simulated failure generating device.
(2)データ処理装置上で実行中のマクロインストラク
ションの命令コードを示すマクロ命令レジスタ出力と予
めセットされた擬似障害発生のトリガポイントを示す擬
似障害発生マクロ命令コードレジスタとの出力のマクロ
命令コード情報を比較する比較回路と、この比較回路が
マクロ命令コードの一致を検出した場合に前記データ 
    ゛処理装置内の各種回路に擬似障害を発生させ
る擬似障害発生回路とを含むことを特徴とする擬似障害
発生装置。
(2) Macro instruction code information of the output of the macro instruction register output indicating the instruction code of the macro instruction being executed on the data processing device and the pseudo-failure occurrence macro instruction code register indicating the trigger point of the preset pseudo-failure occurrence. and a comparison circuit that compares the data, and when this comparison circuit detects a match between the macro instruction codes, the data
A pseudo-failure generation device comprising: a pseudo-fault generation circuit that generates pseudo-faults in various circuits within a processing device.
(3)  データ処理装置上で実行中のマイクロプログ
ラムの命令コードを示すマイクロ命令レジスタ出力と予
めセットされた擬似障害発生のトリガポイントを示す擬
似障害発生マイクロ命令コードレジスタとの出方のマイ
クロ命令コード情報を比較する第1の比較回路と、前記
データ処理装置上で実行中のマクロインストラクション
の命令コードを示すマクロ命令レジスタ出方ト予めセッ
トされた擬似障害発生のトリガポイントを示す擬似障害
発生マクロ命令コードレジスタとの出力のマクロ命令コ
ード情報を比較する第4し 2比較回路とを有し、前記第1および第2の比較回路に
於て一致を検出した場合のみ擬似障害を発生させ、どち
らが一方の一比較回路のみで−致を検出した場合は擬似
障害を発生させないようにしたことを特徴とする特許請
求の範囲第(1)項および第(2)項記載の擬似障害発
生装置。
(3) The microinstruction code of the output of the microinstruction register indicating the instruction code of the microprogram being executed on the data processing device and the pseudo failure microinstruction code register indicating the trigger point of the preset pseudo failure occurrence. a first comparison circuit that compares information; a macro instruction register indicating the instruction code of the macro instruction being executed on the data processing device; and a pseudo-failure occurrence macro instruction indicating a preset trigger point for the occurrence of a pseudo-failure. and a fourth and second comparison circuit that compares output macro instruction code information with the code register, and generates a pseudo failure only when a match is detected in the first and second comparison circuits. The pseudo-failure generating device according to claim 1, wherein the pseudo-failure generation device does not generate a pseudo-failure when only one comparison circuit detects a match.
JP57144320A 1982-08-20 1982-08-20 Pseudo fault generator Pending JPS5935245A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP57144320A JPS5935245A (en) 1982-08-20 1982-08-20 Pseudo fault generator

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP57144320A JPS5935245A (en) 1982-08-20 1982-08-20 Pseudo fault generator

Publications (1)

Publication Number Publication Date
JPS5935245A true JPS5935245A (en) 1984-02-25

Family

ID=15359346

Family Applications (1)

Application Number Title Priority Date Filing Date
JP57144320A Pending JPS5935245A (en) 1982-08-20 1982-08-20 Pseudo fault generator

Country Status (1)

Country Link
JP (1) JPS5935245A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0535611A (en) * 1991-07-29 1993-02-12 Nec Corp Information processor

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS4965156A (en) * 1972-10-23 1974-06-24
JPS53117348A (en) * 1977-03-23 1978-10-13 Nec Corp Generating equipment for spurious intermittent error detection code
JPS5556219A (en) * 1978-10-20 1980-04-24 Nec Corp Microprogram control system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS4965156A (en) * 1972-10-23 1974-06-24
JPS53117348A (en) * 1977-03-23 1978-10-13 Nec Corp Generating equipment for spurious intermittent error detection code
JPS5556219A (en) * 1978-10-20 1980-04-24 Nec Corp Microprogram control system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0535611A (en) * 1991-07-29 1993-02-12 Nec Corp Information processor

Similar Documents

Publication Publication Date Title
JPS5935245A (en) Pseudo fault generator
KR940011040B1 (en) Microcomputer
JPS5935244A (en) Pseudo fault generator
JP3119474B2 (en) LSI test method
JP2924392B2 (en) Microcomputer system
JPH0415834A (en) Test system for computer
JPS60101649A (en) Diagnosis device of electronic computer
JPS6015969B2 (en) Microinstruction address generation method
JPS60221829A (en) Data processor
JPH01231134A (en) Artificial fault generating system for information processor
JP2599795B2 (en) Test method for circuits with microprocessor
JPH0194451A (en) Program developer
JPH02103643A (en) Interruption generation circuit for debug
JPS62272326A (en) Microprogram controller
JPH04162143A (en) Microcomputer
JPH0594333A (en) Lsi with built-in micro-program
JPS59208648A (en) Microprocessor having testing function
JPS6121552A (en) Pseudo fault generating method of input and output interface
JPS6149244A (en) Information processor
JPH0727469B2 (en) Redundant error generator for microprocessor
JPH0827741B2 (en) Single-chip microcomputer
JPS63282535A (en) Signal processor
JPH02135540A (en) Method for testing data processor
JPS62272327A (en) Microprogram controller
JPS63233442A (en) Processor having debugging supporting circuit