JPS6022772B2 - Simulated failure control method - Google Patents

Simulated failure control method

Info

Publication number
JPS6022772B2
JPS6022772B2 JP53154043A JP15404378A JPS6022772B2 JP S6022772 B2 JPS6022772 B2 JP S6022772B2 JP 53154043 A JP53154043 A JP 53154043A JP 15404378 A JP15404378 A JP 15404378A JP S6022772 B2 JPS6022772 B2 JP S6022772B2
Authority
JP
Japan
Prior art keywords
failure
pseudo
register
fault
instruction
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.)
Expired
Application number
JP53154043A
Other languages
Japanese (ja)
Other versions
JPS5580158A (en
Inventor
光有 白田
順治 宮川
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.)
Nippon Telegraph and Telephone Corp
Original Assignee
Nippon Telegraph and Telephone 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 Nippon Telegraph and Telephone Corp filed Critical Nippon Telegraph and Telephone Corp
Priority to JP53154043A priority Critical patent/JPS6022772B2/en
Publication of JPS5580158A publication Critical patent/JPS5580158A/en
Publication of JPS6022772B2 publication Critical patent/JPS6022772B2/en
Expired legal-status Critical Current

Links

Landscapes

  • Test And Diagnosis Of Digital Computers (AREA)

Description

【発明の詳細な説明】 本発明は、データ処理装置において指定した命令ないし
マイクロ命令の実行時に、データ処理装置の指定した個
所に指定したタイミングで一時的又は固定的な擬似障害
を発生させる擬似障害発生制御方式に関するものである
DETAILED DESCRIPTION OF THE INVENTION The present invention provides a pseudo-fault that causes a temporary or permanent pseudo-fault at a specified location in a data processing device at a specified timing when a specified instruction or microinstruction is executed in the data processing device. This relates to generation control methods.

データ処理装置においては、ハードウェア障害に対する
信頼性、可用性、保守性の向上のため、エラーの検出、
訂正、再実行、割込み等の各種の障害処理機能を備えて
いる。
In data processing equipment, error detection and
It has various fault handling functions such as correction, re-execution, and interrupt.

こられの障害処理機能は、ハードウェア及びソフトウェ
アによって実現され、障害の影響が波及することを防止
するとともに、一時的障害ないし固定的障害に対する救
済処理を行なっている。データ処理装置に障害が発生し
た場合に前記障害処理作動が正しく実行されることを保
証するためには、ハードウェア並びにソフトウェアの障
害処理機能の正常性をあらかじめ検証しておく必要があ
る。
These fault handling functions are realized by hardware and software, and prevent the effects of faults from spreading, and perform relief processing for temporary or fixed faults. In order to ensure that the failure handling operation is correctly executed when a failure occurs in the data processing device, it is necessary to verify in advance the normality of the failure handling functions of hardware and software.

そのための有効な手段として、データ処理装置の指定し
た個所に擬似的な障害を発生させることにより障害処理
作動を起動し、その正常性を検査する方法が考えられて
いる。従来、データ処理装置の動作中に擬似障害を発生
させる方法としては、以下のような各種の方式がある。
As an effective means for this purpose, a method has been considered in which a pseudo fault is generated at a designated location of the data processing device, thereby activating a fault handling operation and testing its normality. Conventionally, there are various methods for generating a pseudo failure during operation of a data processing device, such as the following.

A 擬似障害発生用命令を設け、当該命令実行時に障害
をセットするトリガを出す方式。
A: A method in which a pseudo failure instruction is provided and a trigger is issued to set a failure when the instruction is executed.

B 障害を発生させたいアドレス(命令アドレスないし
マイクロ命令アドレス)をあらかじめ設定しておき、該
アドレスと等しい命令が実行されたとき障害をセットす
るトリガを出す方式。
B: A method in which an address (instruction address or microinstruction address) at which a fault is to occur is set in advance, and a trigger is issued to set a fault when an instruction equal to the address is executed.

C マイクロ命令に擬似障害発生用のフィールドを設け
、当該マイクロ命令実行時に該フィールドにより障害発
生制御を行なう。しかしながら、上記A,Bの方式では
、再実行が成功するような一時的障害を擬似すること、
及び擬似障害発生個所やタイミングを指定することが困
難である。
C. A field for generating a pseudo failure is provided in a microinstruction, and the occurrence of a failure is controlled by this field when the microinstruction is executed. However, in methods A and B above, it is necessary to simulate a temporary failure that will result in successful re-execution;
It is also difficult to specify the location and timing of pseudo-failure occurrence.

また、Cの方式では、マイクロ命令に擬似障害発生制御
用のフィールドを設ける必要があり、ハ−ドゥェア増に
つながる。さらに、A,Cの方式においては、障害を発
生させたいプログラムにあらかじめ擬似障害発生用の命
令(又はマイクロ命令)を挿入しておく必要があり、擬
似障害発生制御の融通性に欠ける。本発明は、上記の点
を解決するためになされたもので、データ処理装置の動
作中に一時的及び固定的な擬似障害を効果的に発生させ
ることを目的としている。
Furthermore, in the C method, it is necessary to provide a field for controlling the occurrence of a pseudo-failure in the microinstruction, which leads to an increase in hardware. Furthermore, in methods A and C, it is necessary to insert in advance an instruction (or microinstruction) for generating a pseudo-failure into a program in which a failure is to occur, and thus lacks flexibility in pseudo-fault generation control. The present invention has been made to solve the above-mentioned problems, and its purpose is to effectively generate temporary and permanent pseudo-failures during the operation of a data processing device.

また、最近、従来のコンソール機能や保守診断機能を統
合して、データ処理装置とは独立した蓄積プログラム型
の情報処理装置である副処理装置にこのような機能を行
なわせることが考慮されているが、本発明は上記副処理
装置の処理機能を利用して、擬似障害発生制御を行なわ
しめるようにすることを目的としている。そのため、本
発明による擬似障害発生制御方式は、動作中のプログラ
ムに特別な命令を挿入する等の処理を必要としないこと
、及びプログラムにより随時擬似障害発生個所、タイミ
ング等を変化させることができ、融通性のある制御がで
きることを特徴としている。以下図面に基づいて詳細に
説明する。
Recently, consideration has been given to integrating conventional console functions and maintenance/diagnosis functions and having a sub-processing unit, which is a storage program type information processing unit independent of the data processing unit, perform these functions. However, it is an object of the present invention to utilize the processing functions of the sub-processing device to perform pseudo failure occurrence control. Therefore, the pseudo fault occurrence control method according to the present invention does not require processing such as inserting special instructions into the running program, and can change the pseudo fault occurrence location, timing, etc. at any time depending on the program. It is characterized by flexible control. A detailed explanation will be given below based on the drawings.

第1図は本発明を適用したデータ処理システムの一実施
例の構成を示すブロック図である。
FIG. 1 is a block diagram showing the configuration of an embodiment of a data processing system to which the present invention is applied.

図中の記号1は擬似的な障害を発生させるべきデータ処
理装置(以下CPUと呼ぶ)を表わし、2はCPUIと
は独立した蓄積プログラム型の情報処理装置(以下シス
テム管理装置SMPと呼ぶ)を表わす。また3は命令ア
ドレスレジス夕(山R)、4はメモリ(LM)、5はア
ドレス比較回路、6はタイミング発生回路、7は制御用
フリップフロツプ(SF)、8はカウンタ、9は比較回
路、10‘ま障害表示フリツプフロツプ(EIF)、1
1はマスク障害表示フリップフロップ(MEIF)、1
2はストップアドレスレジスタ(SAR)、1 3はタ
イミングデータレジスタ(TDR)、1 4はエラーア
ドレスレジス夕(EAR)、15は対SMPインタフェ
ース、16は対CPUインタフェース、17は制御部、
18はメモリである。
Symbol 1 in the figure represents a data processing device (hereinafter referred to as CPU) that should cause a pseudo failure, and symbol 2 represents a storage program type information processing device (hereinafter referred to as system management device SMP) that is independent of the CPUI. represent. Further, 3 is an instruction address register (mountain R), 4 is a memory (LM), 5 is an address comparison circuit, 6 is a timing generation circuit, 7 is a control flip-flop (SF), 8 is a counter, 9 is a comparison circuit, 10 Fault indication flip-flop (EIF), 1
1 is a mask fault indication flip-flop (MEIF), 1
2 is a stop address register (SAR), 13 is a timing data register (TDR), 14 is an error address register (EAR), 15 is an interface to SMP, 16 is an interface to CPU, 17 is a control unit,
18 is a memory.

SARI2、TDR13、EARl4、アドレス比較回
路5、カウンタ8、比較回路9、SF7は本発明のため
CPUIに対して付加させたものであって、SAR12
は擬似障害を発生させる命令アドレスを保持し、TDR
13は擬似障害を発生させるタイミングデータを保持す
る。
SARI2, TDR13, EARl4, address comparison circuit 5, counter 8, comparison circuit 9, and SF7 are added to the CPUI for the purpose of the present invention.
holds the instruction address that causes the pseudo failure, and TDR
13 holds timing data for generating a pseudo failure.

またEARl4は、障害検出機構に対応して設けられて
いる障害表示フリツプフロツプ(EIF群の特定の一つ
を選択するためのEIFアドレスを保持し、アドレス比
較回路5は実行中の命令アドレスとストップアドレスと
を比較する。さらにカゥンタ8および比較回路9は障害
発生タイミングを制御し、SF7はカウンタ8の動作を
制御する。また、CPUIは、再実行を可能にするため
に必要なデータを命令実行時に退避しているものとする
The EAR14 also holds an EIF address for selecting a specific one of the EIF group (EIF display flip-flop) provided in correspondence with the fault detection mechanism, and the address comparison circuit 5 compares the currently executed instruction address and the stop address. In addition, the counter 8 and the comparison circuit 9 control the timing of failure occurrence, and the SF7 controls the operation of the counter 8. In addition, the CPU It is assumed that they have evacuated.

SMP2は、CPUIに障害が発生したときCPUIか
らの割込みを解析し必要な障害処理動作を行う。この障
害処理機能の一つとして、SM円2は擬似障害発生制御
機能を有しており、CPUI内のSARI2,TDR1
3,EARl4の各レジスタに適宜データを設定するこ
とにより、擬似障害発生制御を行うことができる。以下
、第1図のデータ処理システムにおける擬似障害発生制
御の詳細な動作を説明する。
When a failure occurs in the CPUI, the SMP2 analyzes an interrupt from the CPUI and performs necessary failure handling operations. As one of the fault processing functions, the SM circle 2 has a pseudo fault occurrence control function, and the SARI 2 and TDR 1 in the CPU
3. By setting appropriate data in each register of EAR14, pseudo failure occurrence control can be performed. The detailed operation of pseudo failure occurrence control in the data processing system shown in FIG. 1 will be described below.

第2図はCPUIの動作を示すフローチャート、第3図
はSMP2の動作を示すフローチャートである。
FIG. 2 is a flowchart showing the operation of the CPUI, and FIG. 3 is a flowchart showing the operation of the SMP2.

また第4図はCPUIにおける命令実行処理の一例を示
すタイムヤートである。最初にCPUIの動作を説明す
る。
Further, FIG. 4 is a time chart showing an example of instruction execution processing in the CPUI. First, the operation of the CPUI will be explained.

CPUIにおける命令の処理は大別して、スタティサイ
ズ処理(S)と命令実行処理(E)とに分けられる。処
理Sでは命令の議出し、オペランドの決定及びオペラン
ドの議出しが行われる。処理Eでは各命令に対応した処
理が実行される。通常、第4図aに示すごとく、処理B
が実行中に次の命令の処理Sが先行制御されているが、
分岐命令実行時等では、第4b図のように先行制御が乱
れる場合が生じる。命令アドレスレジスタ(IAR)3
は、透常、処理Eの先頭(次命令の処理Sの先頭)にお
いて次に実行すべき命令アドレスに更新され、メモリ(
LM)4より命令が謙出される。本実施例ではタイミン
グTo毎にIAR3の内容が更新される。
ZCPUIにおいて擬似障害の
叛生制御動作が行なわれるためには、あらかじめ擬似障
害の発生に必要なデータがSMP2よりSARI 2,
TDR1 3,EAR1 4の各レジスタに設定されて
いる必要がある。このとき、CPUIは処理Sのタイミ
ングT,毎にIAR3とSARI2の内容をアドレス比
較回路5において比較する。アドレス内容が一致すると
信号22をオンにし、フリツプフロツプ(SF)7をセ
ットする。SF7はカウンタ8へのタイミングクロック
の供給を制御するために設けられている。カウンタ8は
SF7がオンの間、タイミングクロックが発生する毎に
カウントアップされていく。
Instruction processing in the CPUI can be broadly divided into static size processing (S) and instruction execution processing (E). In the process S, a command is issued, an operand is determined, and an operand is issued. In process E, processes corresponding to each command are executed. Usually, as shown in FIG. 4a, processing B
The processing S of the next instruction is being controlled in advance while it is being executed.
When a branch instruction is executed, advance control may be disrupted as shown in FIG. 4b. Instruction address register (IAR) 3
is transparently updated to the next instruction address to be executed at the beginning of processing E (the beginning of processing S of the next instruction), and the memory (
LM) The command is issued from 4. In this embodiment, the contents of IAR3 are updated at each timing To.
In order for the pseudo failure control operation to be performed in the ZCPUI, the data necessary for the occurrence of the pseudo failure must be transferred from the SMP2 to the SARI 2,
It must be set in each register of TDR13 and EAR14. At this time, the CPUI compares the contents of IAR3 and SARI2 at every timing T of processing S in address comparison circuit 5. When the address contents match, the signal 22 is turned on and the flip-flop (SF) 7 is set. SF7 is provided to control the supply of a timing clock to the counter 8. The counter 8 is incremented every time the timing clock is generated while the SF7 is on.

命令の実行がタイミングT,よりTDR1 3で指定さ
れたクロック数分だけ進むと、比較回路9によって信号
26をオンにし、EARl4により指定される障害表示
フリップフロップ(EIF)10を強制的にセットする
。EIFは障害検出機構に対応してCPUI内に複数個
存在し、いずれかのEIFがセットされることによりマ
スター障害表示フリツプフロツプ(ME『)1 1がセ
ットされる。
When the execution of the instruction advances by the number of clocks specified by TDR13 from the timing T, the comparator circuit 9 turns on the signal 26 and forcibly sets the failure indicating flip-flop (EIF) 10 specified by EARl4. . A plurality of EIFs exist in the CPUI corresponding to failure detection mechanisms, and when any one of the EIFs is set, the master failure indication flip-flop (ME') 11 is set.

MEIFI Iがオソになるとタイミングクロックの発
生を停止し内部状態を凍結するとともに、SMP2に対
して割込信号29により障害の発生を通知する。山R3
とSAR12の内容がタイミングT,において一致しな
い場合は、カウンタ8の起動を行わない。この場合、命
令実行終了時にCPUIが鎖実行モードにあるか否かを
調べる。再実行モードは、CPUIが障害発生後の命令
再実行状態にあることを示すものであり、再実行時のC
PUIの動作を制御するとともに、一時的な障害が再実
行により救済された時、SMP2に対して再実行の成功
を通知するための制御に用いられている。命令実行終了
時再実行モードーこあれば命令の区切りでタイミングク
ロツクを止め、SMP2への割込みを発生する。
When MEIF I becomes normal, it stops generating the timing clock, freezes the internal state, and notifies the SMP 2 of the occurrence of a failure using an interrupt signal 29. mountain R3
If the contents of SAR12 and SAR12 do not match at timing T, counter 8 is not activated. In this case, it is checked whether the CPUI is in chain execution mode at the end of instruction execution. The re-execution mode indicates that the CPUI is in the state of re-executing instructions after a failure occurs, and the CPU
It is used to control the operation of the PUI and to notify the SMP 2 of the success of re-execution when a temporary failure is relieved by re-execution. Re-execution mode at the end of instruction execution - If this mode is selected, the timing clock is stopped at the end of instructions and an interrupt is generated to SMP2.

実行モードでなければ、IAR3を次の命令アドレスに
更新し処理を継続する。次に、CPUIより割込要求が
発生した時のSMP2の動作説明を行う。SM円2はC
PUIよりの割込要求を受け付けると、障害処理プログ
ラム(ERP)を呼び出し制御を渡す。ERPはSMP
2の専用メモリ18上で必要な障害処理を実行する。ま
ず、CPUIのクロツク停止時における内部情報を障害
情報として収集する。次に、受け付けた割込要求が障害
検出に起因するのか、再実行成功に起因するのかを調べ
る。割込原因が再実行成功の場合には、ERP内の一時
障害処理ルーチソに分岐する。
If it is not in execution mode, IAR3 is updated to the next instruction address and processing continues. Next, the operation of the SMP2 when an interrupt request is generated from the CPU will be explained. SM yen 2 is C
When accepting an interrupt request from the PUI, it calls the error handling program (ERP) and passes control. ERP is SMP
The necessary failure processing is executed on the dedicated memory 18 of 2. First, internal information when the CPU clock is stopped is collected as failure information. Next, it is determined whether the accepted interrupt request is due to failure detection or successful re-execution. If the cause of the interrupt is a successful re-execution, the process branches to a temporary failure handling routine within the ERP.

一時障害処理ルーチンでは、障害情報の集金等の処理を
行なった後、CPUIヘリスタート信号を供給する。こ
の時、IAR3を再実行の対象となった命令の次に実行
すべき命令アドレスに更新し、処理を再開させる。割込
原因が障害検出の場合には、収集し障害情報を分析し、
再実行が可能か否かを判定する。
In the temporary failure processing routine, after processing such as collection of failure information, a CPU helistart signal is supplied. At this time, IAR3 is updated to the instruction address to be executed next to the instruction to be re-executed, and processing is restarted. If the cause of the interrupt is failure detection, collect and analyze the failure information,
Determine whether re-execution is possible.

可能であれば再実行回数をカウントアップする。再実行
回数は、障害が一時的であるか固定的であるかを判定す
るために用いられる情報であり、あらかじめ指定された
回数(N)だけ再実行を行なってもその都度障害が検出
される場合、ERPはその障害が固定的なものであると
判断する。次に、擬似障害発生要求の有無を調べる。
If possible, count up the number of re-executions. The number of re-executions is information used to determine whether the failure is temporary or permanent, and the failure will be detected each time even if the re-execution is performed a pre-specified number of times (N). If so, the ERP determines that the failure is permanent. Next, it is checked whether there is a pseudo-failure request.

本実施例では、SMP2の制御パネルより設定される擬
似障害モードフリツブフロツブの内容を調べる。擬似障
害制御要求の有無を判断する。第3a図の被線内が擬似
障害叛生制御に関する処理である。タ 擬似障害発生制
御の処理内容としては、■一時的障害設定機能、■固定
的障害設定機能、■障害設定の連続制御機能がある。
In this embodiment, the contents of the pseudo failure mode flipflop set from the control panel of the SMP2 are examined. Determine whether there is a pseudo failure control request. The lined area in FIG. 3a is the processing related to the pseudo-failure repulsion control. The processing contents of pseudo-failure occurrence control include ■temporary failure setting function, ■fixed failure setting function, and ■continuous failure setting control function.

これらの機能は、ERPのサブルーチンである擬似障害
設定ルーチンンにおいてて前記CPUI内のSAR12
,TDR13,EARl4の各レジスタに必要なデータ
を設定すること、及び擬似障害発生回数(n)を指定す
ることにより制御される。nは再実行指定回数Nを越え
ないし、値であり、n回再実行する間同じ場所に擬似障
害を設定しつづけることを示している。擬似障害発生制
御要求があると、今までの再実行回数nより大きいか杏
かを調べる。
These functions are performed by the SAR12 in the CPUI in the pseudo failure setting routine which is a subroutine of the ERP.
, TDR13, and EARl4, and by specifying the number of times (n) of pseudo failure occurrence. n is a value that does not exceed the specified number of re-executions N, and indicates that a pseudo failure will continue to be set at the same location while re-executing n times. When a pseudo-failure occurrence control request is made, it is checked whether the number of re-executions up to now is greater than n.

nに等しいかまたはnより小さい場合は第3a図の■に
戻り、再実行回数がNより大きくないことを確かめた上
で、再実行に必要な情報の復元等、再実行前処理を行い
、CPUIに対してリスタート信号を供給する。nより
大きい場合は、擬似障害設定ルーチンに分岐し、以下の
処理を行う。擬似障害を発生すべき命令アドレス、タイ
ミング及び障害表示フリツプフロツプのアドレスをそれ
ぞれCPUI内のSARI2,TDR1 3,EAR1
4に設定するとともに、擬似障害発生回数nを指定する
。また、擬似障害設定の必要がなければ、上記各レジス
タの内容をリセットする。レジスタの設定等に用いるデ
ータはERPのデータ領域あるいはERPの使用するフ
ァイル内にあらかじめ蓄えられている。これらの処理が
終ると、第3a図の■に戻り、再実行回数がNを越えと
いるか否かを調べる。
If it is equal to or smaller than n, return to step (3) in Figure 3a, and after confirming that the number of re-executions is not greater than N, perform pre-re-execution processing such as restoring information necessary for re-execution, Provides a restart signal to the CPUI. If it is larger than n, the process branches to a pseudo failure setting routine and performs the following processing. The instruction address, timing, and fault display flip-flop address in which a pseudo fault should occur are stored in the CPUI, respectively, in SARI2, TDR13, and EAR1.
4, and also specifies the number of pseudo failure occurrences n. Furthermore, if there is no need to set a pseudo failure, the contents of each of the above registers are reset. Data used for register settings, etc. is stored in advance in the data area of the ERP or in a file used by the ERP. When these processes are completed, the process returns to step (2) in FIG. 3a, and it is checked whether the number of re-executions exceeds N or not.

Nを越えといる場合は固定的な障害と判断し、固定障害
処理ルーチンに分岐する。N‘こ等しいか4・さし・場
合には再実行前処理後、CPUIヘリスタート信号を供
給し再実行を行わせる。今回の再実行は既に擬似障害設
定データが更新又はリセットされているため正常に終了
し、前述したように再実行成功割込みとしてSMP2に
通知される。
If the number exceeds N, it is determined that the failure is a fixed failure, and the process branches to a fixed failure handling routine. If N' is equal to or less than 4, after the re-execution pre-processing, a CPU helistart signal is supplied to cause re-execution. The current re-execution ends normally because the pseudo failure setting data has already been updated or reset, and the SMP 2 is notified as a re-execution success interrupt as described above.

その後CPUIはSMP2りリスタート信号を受け取る
と、次の命令アドレス処理を再開する。したがって、擬
似障害設定ルーチンにおいて、設定データを次々に更新
することにより、擬似障害の発生を連続的に制御するこ
とができる。
Thereafter, when the CPUI receives the SMP2 restart signal, it resumes processing the next instruction address. Therefore, by updating the setting data one after another in the pseudo fault setting routine, it is possible to continuously control the occurrence of pseudo faults.

また、擬似障害発生回数nをNに等しく指定すれば、固
定的な障害を擬似できる。さらにnの指定により一時的
障害の継続時間を制御することができる。本発明の他の
実施例として、第3a図の破線内部の処理のみをSMP
2において制御し、他の障害処理機能や再実行機能をC
PUIの機能に含める方式がある。
Further, by specifying the number of pseudo fault occurrences n equal to N, a fixed fault can be simulated. Furthermore, the duration of the temporary failure can be controlled by specifying n. As another embodiment of the present invention, only the processing inside the broken line in FIG. 3a is performed by SMP.
2, and other failure handling functions and re-execution functions are controlled by C.
There is a method of including it in the PUI function.

また「他の実施例として、マイクロ命令アドレスをスト
ップアドレスとして用いる方式がある。
``Another embodiment is a method in which a microinstruction address is used as a stop address.

・すなわち、SMP2より擬似障害の設定データとして
、マイクロ命令アドレス、マイクロ命令制御タイミング
、及び障害表示フリップフロツプのアドレスを指定する
。マイクロ命令は通常複数のマイクロフィールドから構
成されており、各フイータ ルドに対応したマイクロ操
作がマイクロ命令制御タイミングにより順序制御されて
いく。したがってマイクロ命令制御タイミングを指定す
ることにより、各マイクロ操作に対応したハードウェア
に対して擬似的な障害を発生させることができる。0
以上の説明から明らかな如く、本発明による擬似障害発
生制御方式によれば下記のような効果がある。
- That is, the SMP2 specifies the microinstruction address, microinstruction control timing, and fault display flip-flop address as pseudo fault setting data. A microinstruction usually consists of multiple microfields, and the microoperations corresponding to each field are sequentially controlled by the microinstruction control timing. Therefore, by specifying the micro-instruction control timing, it is possible to cause a pseudo-failure in the hardware corresponding to each micro-operation. 0
As is clear from the above description, the pseudo failure occurrence control method according to the present invention has the following effects.

(1)データ処理装置において実行中の任意のプログラ
ムの指定したアドレスで、該データ処理装タ 層の指定
した個所に指定したタイミングで、一時的又は固定的な
擬似障害を設定することができる。
(1) A temporary or fixed pseudo failure can be set at a specified address of any program running in a data processing device at a specified location in the data processing device layer at a specified timing.

そのため、障害処理機能を実行するハードウェア、ソフ
トウェアのデバク並びに正常性の確認に有効である。0
‘2) 擬似障害設定データ(ストップアドレス、タイ
ミングデータ、障害表示フリツプフロツプアドレス)に
より、擬似障害の発生個所、タイミングをきめ細かく制
御できる。
Therefore, it is effective for debugging and confirming the normality of hardware and software that execute fault handling functions. 0
'2) The pseudo-fault setting data (stop address, timing data, fault display flip-flop address) allows fine-grained control of the location and timing of pseudo-fault occurrence.

‘3’擬似障害の設定をプログラムにより連続的にタ
制御することができ、効率的な擬似障害の発生が可能で
ある。
'3' Continuously set pseudo failure settings by program.
control, and efficient generation of simulated failures.

また、擬似障害を発生させる再実行回数を指定すること
により、一時障害の継続時間を制御できる。{41 従
来から存在するコンソール機能や保守診断機能を実行す
るデータ処理装置とは独立した蓄積プログラム型の情報
処理装置を利用することにより、少量の付加ハードウェ
アで擬似障害発生制御御機能を実現することができる。
Furthermore, by specifying the number of re-executions to cause a pseudo failure, the duration of a temporary failure can be controlled. {41 By using a storage program type information processing device that is independent of the conventional data processing device that executes the console function and maintenance diagnosis function, the pseudo-failure occurrence control function can be realized with a small amount of additional hardware. be able to.

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

第1図は本発明を適用したデータ処理システムの一実施
例の構成を示すブロック図、第2図はデータ処理装置の
動作を示す流れ図、第3a図ないし第3b図は擬似障害
の発生制御を行うシステム管理装置の動作を示す流れ図
、第4図は命令処理のタイムチャートを表わす図である
。 1・・・データ処理装置(CPU)、2・・・システム
管理装置(SMP)、3・・・命令アドレスレジスタ(
山R)、4…メモリ(LM)、5・・・アドレス比較回
路、6・・・タイミング発生回路、7・・・制御用フリ
ップフロップ(SF)、8…カウンタ、9…比較回路、
10…障害表示フリップフロップ(EIF)、11…マ
スタ障害表示フリップフロツプ(MEIF)、12…ス
トップアドレスレジスタ(SAR)、1 3・・・タイ
ミングデータレジスタ(TDR)、1 4・・・エラー
アドレスレジスタ(EAR)、15…対SMPインタフ
ェス、16…対CPUインタフェース、17・・・制御
、18・・・メモリ。 オー図 オ2図 オ3(q)図 オ3b図 牙4図
Fig. 1 is a block diagram showing the configuration of an embodiment of a data processing system to which the present invention is applied, Fig. 2 is a flow chart showing the operation of the data processing device, and Figs. 3a and 3b show control over the occurrence of pseudo faults. FIG. 4 is a flowchart showing the operations of the system management device to be performed, and FIG. 4 is a diagram showing a time chart of command processing. 1...Data processing unit (CPU), 2...System management unit (SMP), 3...Instruction address register (
Mountain R), 4...Memory (LM), 5...Address comparison circuit, 6...Timing generation circuit, 7...Control flip-flop (SF), 8...Counter, 9...Comparison circuit,
10... Fault indication flip-flop (EIF), 11... Master failure indication flip-flop (MEIF), 12... Stop address register (SAR), 1 3... Timing data register (TDR), 1 4... Error address register ( EAR), 15... SMP interface, 16... CPU interface, 17... Control, 18... Memory. Figure O Figure O 2 Figure O 3 (q) Figure O 3 b Figure Fang 4

Claims (1)

【特許請求の範囲】[Claims] 1 擬似障害の設定箇所を指定するレジスタEAR、擬
似障害の発生タイミングを指定するレジスタTDR、擬
似障害を発生させる命令アドレスを指定するレジスタS
ARとを有するデータ処理装置および該データ処理装置
に接続されて前記各レジスタに任意の値を設定できる該
データ処理装置とは独立した蓄積プログラム形の副情報
処理装置とからなる装置において、前記データ処理装置
において実行される命令アドレスとレジスタSARの内
容とを比較する回路を設け、該回路における比較一致に
より擬似障害を発生させる命令を指定し、かつ該命令の
実行過程でレジスタTDRで示されるタイミングでレジ
スタEARで示される箇所に擬似障害を発生させるとと
もに、該擬似障害の発生ごとに前記副情報処理装置に割
込みを起しこれによつて副情報処理装置で前記各レジス
タEAR,TDR,SARにおける擬似障害設定用のデ
ータを再設定することによつて、擬似障害の発生を副情
報処理装置のプログラム制御によつて擬似するとともに
擬似障害の継続時間を制御するようにしたことを特徴と
する擬似障害発生制御方式。
1 Register EAR that specifies the location where the pseudo fault is set, register TDR that specifies the timing of the pseudo fault occurrence, register S that specifies the instruction address that causes the pseudo fault to occur.
An apparatus comprising a data processing apparatus having an AR and a storage program type sub-information processing apparatus connected to the data processing apparatus and capable of setting arbitrary values in each of the registers, which is independent of the data processing apparatus, A circuit is provided that compares the instruction address to be executed in the processing device with the contents of the register SAR, and a comparison match in the circuit specifies an instruction that causes a pseudo failure, and the timing indicated by the register TDR in the process of executing the instruction. generates a pseudo fault at the location indicated by the register EAR, and causes an interrupt to the sub information processing device each time the pseudo fault occurs, thereby causing the sub information processing device to perform a pseudo fault at the location indicated by the register EAR, TDR, and SAR. A simulation characterized in that the occurrence of a pseudo failure is simulated by program control of a sub-information processing device and the duration of the pseudo failure is controlled by resetting data for setting the pseudo failure. Failure occurrence control method.
JP53154043A 1978-12-12 1978-12-12 Simulated failure control method Expired JPS6022772B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP53154043A JPS6022772B2 (en) 1978-12-12 1978-12-12 Simulated failure control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP53154043A JPS6022772B2 (en) 1978-12-12 1978-12-12 Simulated failure control method

Publications (2)

Publication Number Publication Date
JPS5580158A JPS5580158A (en) 1980-06-17
JPS6022772B2 true JPS6022772B2 (en) 1985-06-04

Family

ID=15575664

Family Applications (1)

Application Number Title Priority Date Filing Date
JP53154043A Expired JPS6022772B2 (en) 1978-12-12 1978-12-12 Simulated failure control method

Country Status (1)

Country Link
JP (1) JPS6022772B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0222940Y2 (en) * 1983-10-21 1990-06-21

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS584460A (en) * 1981-06-30 1983-01-11 Fujitsu Ltd Automatic verifying device for program
JPS5916055A (en) * 1982-07-16 1984-01-27 Nec Corp Automatic generator for artificial fault
JPS5953948A (en) * 1982-09-20 1984-03-28 Fujitsu Ltd Testing circuit of information error detecting circuit
JPS6010350A (en) * 1983-06-30 1985-01-19 Fujitsu Ltd Test equipment of error processing function of computer
JPS6017542A (en) * 1983-07-08 1985-01-29 Japanese National Railways<Jnr> Fault injection device
JPS60100233A (en) * 1983-11-04 1985-06-04 Nec Corp Artificial fault generator
JPS60222936A (en) * 1984-04-20 1985-11-07 Fujitsu Ltd Diagnostic system for check circuit
JPS60239839A (en) * 1984-05-15 1985-11-28 Nec Corp False fault generator
JPS60239838A (en) * 1984-05-15 1985-11-28 Nec Corp False fault generator

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0222940Y2 (en) * 1983-10-21 1990-06-21

Also Published As

Publication number Publication date
JPS5580158A (en) 1980-06-17

Similar Documents

Publication Publication Date Title
US4635193A (en) Data processor having selective breakpoint capability with minimal overhead
US6718294B1 (en) System and method for synchronized control of system simulators with multiple processor cores
US7536605B2 (en) Injection of software faults into an operational system
Kao et al. DEFINE: A distributed fault injection and monitoring environment
US4740969A (en) Method and apparatus for recovering from hardware faults
US7950001B2 (en) Method and apparatus for instrumentation in a multiprocessing environment
US5630049A (en) Method and apparatus for testing software on a computer network
US4852092A (en) Error recovery system of a multiprocessor system for recovering an error in a processor by making the processor into a checking condition after completion of microprogram restart from a checkpoint
US4493035A (en) Data processor version validation
US6728668B1 (en) Method and apparatus for simulated error injection for processor deconfiguration design verification
JP2002268914A (en) Method for monitoring execution of privileged instruction
CN111936972B (en) Data processing apparatus and method of operating the same
JPS6022772B2 (en) Simulated failure control method
US6212493B1 (en) Profile directed simulation used to target time-critical crossproducts during random vector testing
JPH0810437B2 (en) Guest execution control method for virtual machine system
Sidwell et al. Non-stop multi-threaded debugging in gdb
JP2001209556A (en) Verification supporting system
JPH11175369A (en) Program development supporting device, program development supporting method and medium recording program development supporting program
US9417987B2 (en) Advisory warning and workaround indications to user when stopped between load and store conditional instructions while using source level debuggers
JP2861962B2 (en) Computer program simulation apparatus and method
EP0782074B1 (en) Game apparatus and method for debugging game program
JP2828590B2 (en) Microprogram verification method
CN110727577A (en) Debugging method, system and medium for probability recurrence problem in embedded system software
JP2002268915A (en) System and method for monitoring unaligned memory access
JPS60124746A (en) Data processing unit