JPS6231444A - Pseudo fault generating system - Google Patents

Pseudo fault generating system

Info

Publication number
JPS6231444A
JPS6231444A JP60169620A JP16962085A JPS6231444A JP S6231444 A JPS6231444 A JP S6231444A JP 60169620 A JP60169620 A JP 60169620A JP 16962085 A JP16962085 A JP 16962085A JP S6231444 A JPS6231444 A JP S6231444A
Authority
JP
Japan
Prior art keywords
data
pseudo
circuit
comparison
pseudo fault
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
JP60169620A
Other languages
Japanese (ja)
Inventor
Takashi Nishizawa
隆 西澤
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
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 filed Critical NEC Corp
Priority to JP60169620A priority Critical patent/JPS6231444A/en
Publication of JPS6231444A publication Critical patent/JPS6231444A/en
Pending legal-status Critical Current

Links

Landscapes

  • Test And Diagnosis Of Digital Computers (AREA)

Abstract

PURPOSE:To facilitate an easy pseudo test under complicated conditions by comparing a data given from a data processor with a comparison data and producing a pseudo fault when the final coincidence is obtained with the comparison data. CONSTITUTION:A selection circuit 3 is controlled by the selection code 21 of a memory 2 and the sequential data are selected from a data processor 1. These selected data are compared with the corresponding comparison data of the memory 2 through a comparator 4. The comparison data 22 is replaced with the coincidence output given from the comparator 4 and via a control circuit 5, a register 7 storing the output of a decoder 6, etc. Then a pseudo fault generating circuit 8 is started by the final coincidence output via the circuit 5. Thus the pseudo fault is produced without using a microinstruction and a pseudo fault test is carried out through the processor 1. This facilitates an easy pseudo test under the complicated conditions.

Description

【発明の詳細な説明】 技術分野 本発明はデータ処理装置に於ける擬似障害発生方式に関
する。
DETAILED DESCRIPTION OF THE INVENTION TECHNICAL FIELD The present invention relates to a method for generating a pseudo failure in a data processing device.

艷兄亘I 従来、データ処理装置においては、ハードウェア障害処
理の評価を行うに際して擬似障害を発生させて障害処理
を行う方式がある。かかる障害発生の手段としてマイク
ロ命令により擬似障害を発生させる方法があった。
Wataru I. Conventionally, in data processing devices, there is a method of generating a pseudo failure to perform failure handling when evaluating hardware failure handling. As a means of generating such a failure, there has been a method of generating a pseudo failure using a microinstruction.

かかる方法によれば、マイクロプログラム中の任意のス
テップのマイクロ命令に擬似障害を発生させるマイクロ
命令を埋込み、データ処理装置が動作中にそのステップ
が実行されると擬似障害が発生し障害処理が行われるも
のであった。しかしこの方式では、そのステップに至る
までのソフトウェア命令シーケンス、マイクロプログラ
ムシーケンス、その他のハードウェアの条件等を指定す
    シ、ることが出来ないという欠点がある。
According to this method, a microinstruction that causes a pseudo fault is embedded in a microinstruction of an arbitrary step in a microprogram, and when that step is executed while the data processing device is operating, a pseudo fault occurs and the fault processing is not performed. It was something that would happen. However, this method has the disadvantage that it is not possible to specify the software instruction sequence, microprogram sequence, other hardware conditions, etc. up to that step.

発明の目的 本発明の目的は、擬似障害発生に至るまでのソフトウェ
ア命令シーケンス、マイクロプログラムシーケンス及び
その他のハードウェア等の条件を指定することができ、
複雑な条件下でも擬似障害テストが容易に可能な擬似障
害発生方式を提供することである。
OBJECT OF THE INVENTION The object of the present invention is to specify the software instruction sequence, microprogram sequence, and other hardware conditions leading up to the occurrence of a pseudo failure;
An object of the present invention is to provide a method for generating a simulated failure that allows a simulated failure test to be easily performed even under complicated conditions.

発明の構成 本発明による擬似障害発生方式は、マイクロプログラム
制御によるデータ処理装置におけるハードウェア障害処
理の評価を行うための擬似障害発生方式であって、前記
マイクロプログラムの制御に従って用いられる各種デー
タを予め所定順序に基づいて格納したデータ格納手段と
、前記データ処理装置から導出される各種データを前記
データ格納手段からの導出データと比較して両者が一致
する毎に前記データ格納手段から導出するデータを順次
更新して導出する手段とを設け、最後の比較データ間で
一致が検出されたときに擬似障害の発生を行うようにし
たことを特徴としている。
Structure of the Invention The pseudo-fault generation method according to the present invention is a pseudo-fault generation method for evaluating hardware fault processing in a data processing device controlled by a microprogram. The data storage means stored in a predetermined order and the various data derived from the data processing device are compared with the data derived from the data storage means, and each time the two match, the data derived from the data storage means is The present invention is characterized in that a pseudo failure is generated when a match is detected between the last comparison data.

実施例 次に、本発明について図面を参照して説明する。Example Next, the present invention will be explained with reference to the drawings.

第1図は本発明の実施例のブロック図である。FIG. 1 is a block diagram of an embodiment of the invention.

データ処理装置1はマイクロプログラムにより制御され
、制御に従って用いられるオペランドアクセスアドレス
値、マイクロプログラムのシーケンスを示すマイクロ命
令アドレスおよびソフトウェア命令の命令コードを送出
する様に構成されている。
The data processing device 1 is controlled by a microprogram and is configured to send operand access address values used in accordance with the control, microinstruction addresses indicating the sequence of the microprogram, and instruction codes of software instructions.

記憶回路2はデータ処理装置1から送出される較データ
22を蓄えており選択コード21は選択回路3へ、比較
データ22は比較回路4へ夫々送られる。また記憶回路
2の各ワードにはそのワードの選択コードおよび比較デ
ータが最後のデータか否かを示す制御ビット23が設け
られており、その出力は制御回路5へ送られる。
The storage circuit 2 stores comparison data 22 sent from the data processing device 1, the selection code 21 is sent to the selection circuit 3, and the comparison data 22 is sent to the comparison circuit 4, respectively. Further, each word of the memory circuit 2 is provided with a control bit 23 indicating whether the selection code and comparison data of that word are the last data, and the output thereof is sent to the control circuit 5.

選択回路3はデータ処理装置1から選ばれたオペランド
アドレス値、マイクロ命令アドレス、ソフトウェア命令
コードの3種類のデータを入力とし、記憶回路2の選択
コードにより示されるデータを選択出力して比較回路4
へ送出する。比較回路4は選択回路3および記憶回路2
の比較データを入力として比較し、その比較結果を出力
して制御回路5に送出する。
The selection circuit 3 inputs three types of data: the operand address value, microinstruction address, and software instruction code selected from the data processing device 1, selects and outputs the data indicated by the selection code of the storage circuit 2, and outputs the selected data to the comparison circuit 4.
Send to. The comparison circuit 4 is connected to the selection circuit 3 and the storage circuit 2.
The comparison data is inputted and compared, and the comparison result is output and sent to the control circuit 5.

制御回路5は比較回路4から一致信号が送られて来ると
、記憶回路2の制御ビットが最終のワードを示していな
ければレジスタ7に対し次のワードを示す様更新信号を
出力する。また、制御ビットが最終のワードであること
を示していると、擬似障害発生回路8に対し擬似障害(
以下擬障と略す)を起す指示を出すと共に、レジスタ7
に対しクリア指示を出し記憶回路2の先頭のワードを示
す様にする。
When the control circuit 5 receives the match signal from the comparison circuit 4, if the control bit of the storage circuit 2 does not indicate the final word, it outputs an update signal to the register 7 to indicate the next word. Furthermore, if the control bit indicates that it is the final word, the pseudo fault generation circuit 8 is notified of the pseudo fault (
In addition to issuing an instruction to cause a pseudo fault), register 7
A clear instruction is issued to indicate the first word of the memory circuit 2.

デコーダ6はデータ処理装置1のマイクロ命令をデコー
ドし、レジスタ7のクリアを行うマイクロ命令が実行さ
れるとレジスタ7に対しクリア指示を出す。レジスタ7
は記憶回路2のワードを示すアドレスを蓄えデコーダ6
および制御回路5により制御される。
The decoder 6 decodes the microinstruction of the data processing device 1, and issues a clear instruction to the register 7 when the microinstruction for clearing the register 7 is executed. register 7
stores the address indicating the word of the memory circuit 2, and the decoder 6
and is controlled by the control circuit 5.

擬障発生回路8は制御回路5からの指示信号によりデー
タ処理装置内のエラーフラグをセットし擬障を発生させ
る。エラーフラグがセットされるとそのデータ処理装置
に本来具備されている障害処理が実行される。
The pseudo-failure generation circuit 8 sets an error flag in the data processing device in response to an instruction signal from the control circuit 5, and generates a pseudo-fault. When the error flag is set, failure handling originally provided in the data processing device is executed.

次に本発明の動作について第2図に示す様な処理を例に
とり順を追って説明する。ここで擬障を発生させる際の
条件が次の様な場合を考える。ソフトウェア命令がA命
令〜B命令の順で出現し、B命令でC番地のオペランド
をアクセスした後、83番地のマイクロ命令アドレスを
実行したときに擬障を起すものとする。このとき記憶回
路2には第3図に示す様なデータが予め格納されている
ものとする。第3図における選択コード21および制御
ビット23の意味は第4図(A)、(B)に夫々示す通
りである。
Next, the operation of the present invention will be explained step by step using the process shown in FIG. 2 as an example. Let us now consider the following conditions for causing a false failure. It is assumed that software instructions appear in the order of instructions A to B, and a false failure occurs when the microinstruction address at address 83 is executed after the B instruction accesses the operand at address C. At this time, it is assumed that data as shown in FIG. 3 is stored in the memory circuit 2 in advance. The meanings of the selection code 21 and control bit 23 in FIG. 3 are as shown in FIGS. 4(A) and 4(B), respectively.

第2図のシーケンスにおいて、A−D→E−)Bはソフ
トウェア命令のシーケンスを示し、B1→B2→B3は
B命令におけるマイクロ命令シーケンスを示している。
In the sequence of FIG. 2, A-D→E-)B indicates a software instruction sequence, and B1→B2→B3 indicates a microinstruction sequence in the B instruction.

A命令が実行される際、データ処理装置1からはソフト
ウェア命令コード゛A″が出力され選択回路3に入力さ
れる。記憶回路2からは先頭のワードに格納されている
選択コード++ 00 uおよび比較データ“A′′が
出力され選択回路3から出力されるデータ“A″と共に
比較回路4に入力される。比較回路4からは一致信号が
制御回路5に送られ、さらに制御回路5はレジスタ7に
更新信号を送り次のワードを示す様にする。
When the A instruction is executed, the data processing device 1 outputs the software instruction code "A" and inputs it to the selection circuit 3.The storage circuit 2 outputs the selection code ++ 00 u and stored in the first word. Comparison data "A'' is output and inputted to comparison circuit 4 together with data "A" output from selection circuit 3. The comparison circuit 4 sends a match signal to the control circuit 5, which in turn sends an update signal to the register 7 to indicate the next word.

次にD命令が実行されると、データ処理装置1からはソ
フトウェア命令コード“D 11が出力され、前述と同
様のバスを通じて比較回路4に、記憶回路2から送られ
た比較データ゛B″と共に入力される。よってこのとき
比較結果は不一致となり制御回路5およびレジスタ7は
動作しない。次のE命令も同様である。
Next, when the D instruction is executed, the software instruction code "D11" is output from the data processing device 1, and is input to the comparison circuit 4 through the same bus as described above together with the comparison data "B" sent from the storage circuit 2. be done. Therefore, at this time, the comparison result does not match, and the control circuit 5 and register 7 do not operate. The same applies to the next E command.

さらにB命令が実行されると、比較回路4で再び一致信
号が送出され制御回路5によりレジスタ7、が更新され
次のワードのデータが出力される。
When the B instruction is further executed, the comparison circuit 4 again sends out a match signal, the control circuit 5 updates the register 7, and the next word of data is output.

この様に処理が進みB命令の中のマイクロ命令アドレス
B2においてオペランドアドレス″″C”の一致、さら
にアドレスB3においてマイクロ命令アドレス“’13
3°′の一致が検出される。このとき記憶回路2から出
力されているワードの制御ビットは1″であり、従って
制御回路5からは擬障発生回路8に対し擬障発生指示が
出される。擬障発生回路8は本指示によりデータ処理装
置1のエラーフラグをセットし擬障が発生するのである
Processing progresses in this way, and the operand address ""C" matches at the microinstruction address B2 in the B instruction, and furthermore, the microinstruction address "'13" matches at the address B3.
A 3°' match is detected. At this time, the control bit of the word output from the memory circuit 2 is 1'', so the control circuit 5 issues a pseudo fault generation instruction to the pseudo fault generation circuit 8. The pseudo fault generation circuit 8 receives this instruction. The error flag of the data processing device 1 is set and a false failure occurs.

この様に複雑な条件下での擬障発生も記憶回路2へ条件
を満すデータを格納しておくことにより自由に発生させ
ることが可能となる。
In this way, by storing data that satisfies the conditions in the memory circuit 2, false failures can be generated freely under such complicated conditions.

°発明の詳細 な説明したように、本発明によれば、データ処理装置か
ら得られる各種データを予め用意した比較データと比較
し、両者が一致する毎に比較データを順次更新してR後
の比較データとの間で一致が検出されたときに擬障を発
生させることにより、複雑な条件下における擬障テスト
が容易に可能となる効果がある。
°As described in detail, according to the present invention, various data obtained from a data processing device are compared with comparison data prepared in advance, and each time the two match, the comparison data is sequentially updated, and after R. By generating a pseudo fault when a match is detected with the comparison data, it is possible to easily perform a pseudo fault test under complex conditions.

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

第1図は本発明の実施例のブロック図、第2図は本発明
の動作説明のためのソフトウェア命令フローおよびマイ
クロ命令フローを示す図、第3図は第1図の記憶回路3
の格納内容を示す図、第4図(A>、(B)は第3図の
選択コードおよび制御ビットの内容を夫々示す図である
。 主要部分の符号の説明 1・・・・・・データ処理装置 2・・・・・・記憶回路 3・・・・・・選択回路 4・・・・・・比較回路 5・・・・・・制御回路 6・・・・・・デコーダ 7・・・・・・レジスタ
FIG. 1 is a block diagram of an embodiment of the present invention, FIG. 2 is a diagram showing a software instruction flow and a microinstruction flow for explaining the operation of the present invention, and FIG. 3 is a memory circuit 3 of FIG.
FIG. 4 (A>, (B) is a diagram showing the contents of the selection code and control bit in FIG. 3, respectively. Explanation of symbols of main parts 1... Data Processing device 2... Memory circuit 3... Selection circuit 4... Comparison circuit 5... Control circuit 6... Decoder 7... ···register

Claims (1)

【特許請求の範囲】[Claims] マイクロプログラム制御によるデータ処理装置における
ハードウェア障害処理の評価を行うための擬似障害発生
方式であって、前記マイクロプログラムの制御に従つて
用いられる各種データを予め所定順序に基づいて格納し
たデータ格納手段と、前記データ処理装置から導出され
る各種データを前記データ格納手段からの導出データと
比較して両者が一致する毎に前記データ格納手段から導
出するデータを順次更新して導出する手段とを設け、最
後の比較データ間で一致が検出されたときに擬似障害の
発生を行うようにしたことを特徴とする擬似障害発生方
式。
A pseudo failure generation method for evaluating hardware failure processing in a data processing device controlled by a microprogram, the data storage means storing various data used under the control of the microprogram in advance based on a predetermined order. and means for comparing various data derived from the data processing device with data derived from the data storage means, and each time the two match, sequentially updating and deriving the data derived from the data storage means. , a pseudo failure generation method is characterized in that a pseudo failure is generated when a match is detected between the last comparison data.
JP60169620A 1985-07-31 1985-07-31 Pseudo fault generating system Pending JPS6231444A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60169620A JPS6231444A (en) 1985-07-31 1985-07-31 Pseudo fault generating system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60169620A JPS6231444A (en) 1985-07-31 1985-07-31 Pseudo fault generating system

Publications (1)

Publication Number Publication Date
JPS6231444A true JPS6231444A (en) 1987-02-10

Family

ID=15889874

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60169620A Pending JPS6231444A (en) 1985-07-31 1985-07-31 Pseudo fault generating system

Country Status (1)

Country Link
JP (1) JPS6231444A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS59221903A (en) * 1983-05-31 1984-12-13 日立電線株式会社 Wire and cable

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS59221903A (en) * 1983-05-31 1984-12-13 日立電線株式会社 Wire and cable
JPH0126125B2 (en) * 1983-05-31 1989-05-22 Hitachi Cable

Similar Documents

Publication Publication Date Title
JPS62102386A (en) Ic card
JPS5886648A (en) Tracing device
JPS6231444A (en) Pseudo fault generating system
CN110020565B (en) Probe information reading fault prompting method, device, server and storage medium
SU1645960A1 (en) Program run checking device
JP2616542B2 (en) Pseudo failure generation system
JPS61846A (en) Test method for normalness of memory contents
JPH04104345A (en) Write control system for partial rewrite data of main storage device with ecc mechanism
JP2618387B2 (en) Testing method for information processing equipment
JPH05197538A (en) Exception generation line number display system of precompiler system
JPH0233173B2 (en)
JPS60221829A (en) Data processor
JPS62111336A (en) Debugging system
JPS6320547A (en) Data processor
JPS63163543A (en) Information processor
JPS59200356A (en) Program tracing system
JPH02103643A (en) Interruption generation circuit for debug
JPS6217837A (en) Data processing system
JPH08123840A (en) Device for verifying system and method therefor
JPH04149733A (en) Sequence control system
JPH04367902A (en) Programmable controller
JPH02235150A (en) Information processor
JPS60175154A (en) Replacing method of instruction
JPS61269743A (en) Debugging system
JPS61269744A (en) Debugging system