JP2978900B1 - Pseudo failure generation method and pseudo failure generation method - Google Patents

Pseudo failure generation method and pseudo failure generation method

Info

Publication number
JP2978900B1
JP2978900B1 JP10225935A JP22593598A JP2978900B1 JP 2978900 B1 JP2978900 B1 JP 2978900B1 JP 10225935 A JP10225935 A JP 10225935A JP 22593598 A JP22593598 A JP 22593598A JP 2978900 B1 JP2978900 B1 JP 2978900B1
Authority
JP
Japan
Prior art keywords
pseudo
failure
primary
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.)
Expired - Lifetime
Application number
JP10225935A
Other languages
Japanese (ja)
Other versions
JP2000057006A (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.)
IBARAKI NIPPON DENKI KK
Original Assignee
IBARAKI NIPPON DENKI KK
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 IBARAKI NIPPON DENKI KK filed Critical IBARAKI NIPPON DENKI KK
Priority to JP10225935A priority Critical patent/JP2978900B1/en
Application granted granted Critical
Publication of JP2978900B1 publication Critical patent/JP2978900B1/en
Publication of JP2000057006A publication Critical patent/JP2000057006A/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Abstract

【要約】 【課題】 1次事象が発生した後の2次事象についても
障害処理試験を行うことができるようにする。 【解決手段】 1次擬似障害発生タイミングに基づい
て、擬似障害事象設定レジスタ2aに設定された1次擬
似障害を選択し、2次擬似障害発生タイミングに基づい
て、擬似障害事象設定レジスタ2bに設定された2次擬
似障害を選択する選択部(1、5)と、所定のファーム
ウェアのアドレスが実行されたときに上記1次擬似障害
発生タイミングを生成する1次擬似障害発生タイミング
生成部3と、上記選択部にて所定の1次擬似障害が選択
されたときに上記2次障害発生タイミングを生成する2
次擬似障害発生タイミング生成部4と、上記選択部にて
選択された擬似障害に関するエラー処理を行うエラー処
理部6とを有する。
An object of the present invention is to perform a failure processing test on a secondary event after a primary event has occurred. SOLUTION: A primary simulated fault set in a simulated fault event setting register 2a is selected based on a primary simulated fault occurrence timing, and set in a simulated fault event setting register 2b based on a secondary simulated fault occurrence timing. A selector (1, 5) for selecting the generated secondary pseudo-failure; a primary pseudo-failure occurrence timing generator 3 for generating the primary pseudo-failure occurrence timing when a predetermined firmware address is executed; Generating the secondary failure occurrence timing when a predetermined primary pseudo failure is selected by the selection unit;
It has a next pseudo fault occurrence timing generation unit 4 and an error processing unit 6 that performs error processing on the pseudo fault selected by the selection unit.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、情報処理装置の障
害処理の試験を行うための擬似障害発生方法および擬似
障害方式に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a pseudo-failure generating method and a pseudo-failure method for testing a fault processing of an information processing apparatus.

【0002】[0002]

【従来の技術】この種の擬似障害発生方式では、ファー
ムウェアにより設定された擬似障害を発生して、該擬似
障害に対する情報処理装置の障害処理の試験が行われ
る。図2に、従来例として特開平7-253906号公報に開示
されている擬似障害発生回路の概略構成を示す。
2. Description of the Related Art In this type of pseudo fault generation method, a pseudo fault set by firmware is generated, and a test of a fault processing of an information processing apparatus for the pseudo fault is performed. FIG. 2 shows a schematic configuration of a pseudo fault generating circuit disclosed in Japanese Patent Application Laid-Open No. 7-253906 as a conventional example.

【0003】この擬似障害発生回路は、乱数発生回路1
01、擬似障害発生タイミング決定回路102、擬似障
害発生数設定回路103、乱数指示レジスタ104、乱
数値設定回路105、擬似障害発生カウンタ106、擬
似障害発生制御回路107、擬似障害コード指定レジス
タ108、擬似障害発生指示レジスタ109、および論
理回路110からなる。
[0003] This pseudo failure generating circuit is composed of a random number generating circuit 1.
01, a pseudo fault occurrence timing determination circuit 102, a pseudo fault occurrence number setting circuit 103, a random number instruction register 104, a random value setting circuit 105, a pseudo fault occurrence counter 106, a pseudo fault occurrence control circuit 107, a pseudo fault code designation register 108, a pseudo fault code It comprises a fault occurrence register 109 and a logic circuit 110.

【0004】乱数発生回路101は、8ビットの乱数デ
ータ204を発生する。この乱数発生回路101からの
乱数データ204は、擬似障害発生タイミング決定回路
102、擬似障害コード指定レジスタ108、乱数値設
定回路105にそれぞれ入力される。
[0004] A random number generation circuit 101 generates 8-bit random number data 204. The random number data 204 from the random number generation circuit 101 is input to the pseudo failure occurrence timing determination circuit 102, the pseudo failure code designation register 108, and the random number value setting circuit 105, respectively.

【0005】擬似障害発生数設定回路103は、擬似障
害発生信号200により擬似障害発生数を、外部からの
値を使用するか、乱数発生回路101からの乱数データ
の値を使用するかを判定し、乱数データの値を使用する
場合は、乱数指示レジスタ104に「1」を設定し、外
部からの値を使用する場合には、擬似障害発生信号20
0の値を擬似障害発生カウンタ106に設定する。乱数
値設定回路105は、乱数指示信号201が「1」のと
き、乱数発生回路101からの乱数データ204の値を
擬似障害発生カウンタ106に設定する。
A simulated fault occurrence number setting circuit 103 determines, based on a simulated fault occurrence signal 200, whether the simulated fault occurrence number uses a value from the outside or the value of random number data from the random number generation circuit 101. When the value of the random number data is used, "1" is set in the random number instruction register 104. When the value from the outside is used, the pseudo failure occurrence signal 20 is set.
A value of 0 is set in the pseudo failure occurrence counter 106. When the random number instruction signal 201 is “1”, the random number value setting circuit 105 sets the value of the random number data 204 from the random number generation circuit 101 in the pseudo failure occurrence counter 106.

【0006】擬似障害発生タイミング決定回路102
は、乱数発生回路101からの乱数データ205および
擬似障害発生カウンタ106からの擬似障害発生カウン
タ信号207が入力され、擬似障害発生カウンタ信号2
07が1以上のとき、乱数データ205を2分割した下
位のデータを保持する。そして、その保持データと2分
割したときの乱数データ205の上位のデータとを比較
し、一致した場合に、擬似障害発生タイミング信号20
8を擬似障害発生制御回路107へ出力する。このよう
にして、擬似障害の発生タイミングが決定される。
A simulated fault occurrence timing determination circuit 102
The random number data 205 from the random number generation circuit 101 and the pseudo failure occurrence counter signal 207 from the pseudo failure occurrence counter 106 are input, and the pseudo failure occurrence counter signal 2
When 07 is 1 or more, lower-order data obtained by dividing the random number data 205 into two is held. Then, the held data is compared with the higher-order data of the random number data 205 obtained when the data is divided into two, and if they match, the pseudo failure occurrence timing signal 20 is output.
8 is output to the simulated fault occurrence control circuit 107. In this way, the occurrence timing of the pseudo failure is determined.

【0007】擬似障害発生制御回路107は、擬似障害
発生タイミング決定回路102からの擬似障害発生タイ
ミング信号208および擬似障害発生カウンタ106か
らの擬似障害発生カウンタ信号207が入力され、擬似
障害発生タイミング信号208の論理が「1」で、擬似
障害発生カウンタ信号207が「1」以上のとき、擬似
障害発生指示信号209を擬似障害コード指定レジスタ
108と擬似障害発生指示レジスタ109へそれぞれ出
力するとともに、擬似障害発生カウンタを1減算する旨
の擬似障害発生カウンタ減算信号211を擬似障害発生
カウンタ106へ出力する。
The simulated fault occurrence control circuit 107 receives the simulated fault occurrence timing signal 208 from the simulated fault occurrence timing determination circuit 102 and the simulated fault occurrence counter signal 207 from the simulated fault occurrence counter 106 and receives the simulated fault occurrence timing signal 208. Is "1" and the pseudo failure occurrence counter signal 207 is "1" or more, the pseudo failure occurrence instruction signal 209 is output to the pseudo failure code designation register 108 and the pseudo failure occurrence instruction register 109, respectively. A pseudo failure occurrence counter subtraction signal 211 indicating that the occurrence counter is decremented by 1 is output to the pseudo failure occurrence counter 106.

【0008】擬似障害コード指定レジスタ108は、擬
似障害発生指示信号209の論理が「1」のとき、乱数
発生回路101からの乱数データ206の値を保持し、
その値を擬似障害コード212として論理回線110へ
送出する。擬似障害発生指示レジスタ109は、擬似障
害発生指示信号209の論理が「1」のとき、イネーブ
ル信号210を論理回路110へ送出する。論理回路1
10は、イネーブル信号210の論理が「1」のとき、
擬似障害コード212をデコードして通常障害表示信号
213と論理和をとり、障害表示レジスタ111を設定
する。
When the logic of the pseudo failure generation instruction signal 209 is “1”, the pseudo failure code designation register 108 holds the value of the random number data 206 from the random number generation circuit 101,
The value is sent to the logical line 110 as the pseudo failure code 212. When the logic of the pseudo fault occurrence instruction signal 209 is “1”, the pseudo fault occurrence instruction register 109 sends an enable signal 210 to the logic circuit 110. Logic circuit 1
10, when the logic of the enable signal 210 is “1”,
The pseudo fault code 212 is decoded and ORed with the normal fault display signal 213 to set the fault display register 111.

【0009】上述の擬似障害発生回路では、擬似障害を
複数回発生させることができ、処理装置の動作中に発生
する一連の関連を持つ複数の障害処理動作の試験を行う
ことができる。
In the above-described simulated fault occurrence circuit, a simulated fault can be generated a plurality of times, and a test can be performed for a plurality of fault handling operations having a series of relations that occur during the operation of the processing device.

【0010】[0010]

【発明が解決しようとする課題】ディスクアレイ等の複
数のデバイスを制御する装置においては、あるデバイス
が故障する1次事象が発生した後に、その状態を保持し
ながら次の処理を行い、該処理中に別のデバイスが故障
する2次事象が発生する場合がある。そのため、このよ
うな複数のデバイスを制御する装置では、1次事象が発
生した後の2次事象についても障害処理の試験を行うこ
とが要求される。
In an apparatus for controlling a plurality of devices such as a disk array, after the occurrence of a primary event in which a certain device fails, the following processing is performed while maintaining the state of the primary event. A secondary event may occur during which another device may fail. Therefore, in an apparatus for controlling such a plurality of devices, it is required to perform a test of a failure process for a secondary event after a primary event has occurred.

【0011】しかしながら、上述した従来の擬似障害発
生技術は、単に1次擬似障害を複数回発生させるだけで
あり、2次事象に対する障害処理試験を行うことはでき
ない。現状の擬似障害発生技術では、1次事象が発生し
た後の2次事象についての障害処理試験を行うことがで
きないため、十分な評価を行うことができず、品質低下
を招く結果となっていた。
However, the above-described conventional pseudo-failure generation technique merely generates a primary pseudo-failure a plurality of times, and cannot perform a failure processing test for a secondary event. With the current pseudo failure generation technology, it is not possible to perform a failure processing test on a secondary event after the occurrence of a primary event, so that sufficient evaluation cannot be performed, resulting in quality deterioration. .

【0012】本発明の目的は、上記問題を解決し、1次
事象が発生した後の2次事象についても障害処理試験を
行うことができる擬似障害発生方法および擬似障害発生
方式を提供することにある。
An object of the present invention is to solve the above-mentioned problem and to provide a pseudo-failure generating method and a pseudo-failure generating method capable of performing a fault handling test even for a secondary event after a primary event has occurred. is there.

【0013】[0013]

【課題を解決するための手段】上記目的を達成するた
め、本発明の擬似障害発生方式は、複数のデバイスを制
御する装置の擬似障害発生方式において、前記複数のデ
バイスのそれぞれのエラーに関する擬似障害のうちのど
の擬似障害を1次擬似障害として発生させるかが設定さ
れる1次擬似障害事象設定手段と、前記複数のデバイス
の各エラーに関する擬似障害のうちのどの擬似障害を2
次擬似障害として発生させるかが設定される2次擬似障
害事象設定手段と、入力された1次擬似障害発生タイミ
ングに基づいて、前記1次擬似障害事象設定手段に設定
された1次擬似障害を選択し、入力された2次擬似障害
発生タイミングに基づいて、前記2次擬似障害事象設定
手段に設定された2次擬似障害を選択する選択手段と、
ファームウェアのアドレスの所定のアドレスが実行され
たときに1次擬似障害を発生させるための1次擬似障害
発生タイミングを生成し、これを前記選択手段へ出力す
る1次擬似障害発生タイミング生成手段と、前記選択手
段にて所定のデバイスのエラーに関する1次擬似障害が
選択されたときに2次擬似障害を発生させるための2次
障害発生タイミングを生成し、これを前記選択手段へ出
力する2次擬似障害発生タイミング生成手段と、前記選
択手段にて選択された1次擬似障害または2次擬似障害
を発生させて、該擬似障害に関するエラー処理を行うエ
ラー処理手段とを有することを特徴とする。
In order to achieve the above object, the present invention provides a pseudo-failure generating method for an apparatus for controlling a plurality of devices, the pseudo-failure generating method relating to an error of each of the plurality of devices. Primary pseudo-failure event setting means for setting which of the pseudo-failures is to be generated as the primary pseudo-failure, and which pseudo-failure among the pseudo-failures relating to each error of the plurality of devices is set to 2
A secondary pseudo-failure event setting means for setting whether or not to generate a secondary pseudo-failure; and a primary pseudo-failure set in the primary pseudo-failure event setting means based on the input primary pseudo-failure occurrence timing. Selecting means for selecting the secondary simulated fault set in the secondary simulated fault event setting means based on the selected and inputted secondary simulated fault occurrence timing;
Primary pseudo-failure occurrence timing generation means for generating a primary pseudo-failure occurrence timing for generating a primary pseudo-failure when a predetermined address of the firmware is executed, and outputting the same to the selection means; When the selection means selects a primary pseudo failure relating to an error of a predetermined device, a secondary failure generation timing for generating a secondary pseudo failure is generated, and this is output to the selection means. It is characterized by comprising a fault occurrence timing generating means and an error processing means for generating a primary pseudo fault or a secondary pseudo fault selected by the selecting means and performing an error process relating to the pseudo fault.

【0014】上記の場合、前記1次擬似障害発生タイミ
ング生成手段は、現在実行中のファームウェアのアドレ
スが随時保持される第1のレジスタと、前記ファームウ
ェアのアドレスのうちの所定のアドレスが予め設定され
た第2のレジスタと、前記第1のレジスタに保持された
アドレスと前記第2のレジスタに設定されているアドレ
スとを比較し、両アドレスが一致した場合に論理「1」
を、一致しない場合には論理「0」を出力する第1の比
較手段と、1次擬似障害を発生させる際に出力が論理
「1」となるように設定される第3のレジスタと、前記
第1の比較手段および第3のレジスタの出力をそれぞれ
入力とし、これら入力の論理積が論理「1」のときに1
次擬似障害発生タイミングを前記選択手段へ出力する第
1の論理演算手段とを有し、2次擬似障害発生タイミン
グ生成手段は、前記1次擬似障害事象設定手段にて設定
される1次擬似障害のうちの所定の1次擬似障害を指定
する第4のレジスタと、前記選択手段にて選択された1
次擬似障害と前記第4のレジスタにて指定された1次擬
似障害とを比較し、両擬似障害が一致した場合に論理
「1」を、一致しない場合には論理「0」を出力する第
2の比較手段と、2次擬似障害を発生させる際に出力が
論理「1」となるように設定される第5のレジスタと、
前記第2の比較手段および第5のレジスタの出力をそれ
ぞれ入力とし、これら入力の論理積が論理「1」のとき
に2次擬似障害発生タイミングを前記選択手段へ出力す
る第2の論理演算手段とを有する構成としてもよい。
In the above case, the primary pseudo failure occurrence timing generation means includes a first register in which an address of the currently executing firmware is held at any time, and a predetermined address among the addresses of the firmware. The second register is compared with the address held in the first register and the address set in the second register. If both addresses match, the logic "1" is output.
First comparing means for outputting a logical "0" when they do not match, a third register for setting the output to a logical "1" when a primary pseudo fault occurs, The output of the first comparing means and the output of the third register are each input, and when the logical product of these inputs is logic "1", 1
First logical operation means for outputting the next pseudo-failure occurrence timing to the selection means, and the secondary pseudo-failure occurrence timing generation means includes a primary pseudo-failure set by the primary pseudo-failure event setting means. A fourth register for designating a predetermined primary pseudo failure among the first and second pseudo failures;
The second pseudo fault is compared with the first pseudo fault specified by the fourth register, and a logic “1” is output when both the pseudo faults match, and a logic “0” is output when the two do not match. A second comparing means, a fifth register whose output is set to be logical "1" when a secondary pseudo fault occurs,
A second logical operation means for receiving the outputs of the second comparing means and the fifth register as inputs, and outputting a secondary simulated fault occurrence timing to the selecting means when the logical product of these inputs is logic "1" May be provided.

【0015】本発明の第1の擬似障害発生方法は、複数
のデバイスを予め設定された処理手順に従って制御する
装置において行われる擬似障害発生方法において、前記
処理手順に沿って任意のタイミングで前記複数のデバイ
スのそれぞれのエラーに関する擬似障害1次擬似障害
として発生させ、前記擬似障害のうちの所定の擬似障害
が1次擬似障害として発生したときに、該1次擬似障害
に関するエラー処理中に、前記擬似障害のうちの所定の
擬似障害を2次擬似障害として発生させ、該2次擬似障
害に関するエラー処理を行うことを特徴とする。
The first pseudo failure process of the present invention, in the pseudo failure method performed in the apparatus for controlling according to a preset procedure a plurality of devices, the
Along the processing procedure of dummy failure for each of the error of the plurality of devices at any time is generated as the primary pseudo fault, predetermined dummy failure of said dummy failure
Is generated as a primary pseudo-failure, a predetermined pseudo-failure among the pseudo-failures is generated as a secondary pseudo-failure during the error processing relating to the primary pseudo-failure, and the error processing relating to the secondary pseudo-failure is performed. It is characterized by performing.

【0016】本発明の第2の擬似障害発生方法は、複数
のデバイスを制御する装置において行われる擬似障害発
生方法において、前記複数のデバイスのそれぞれのエラ
ーに関する擬似障害のうちのどの擬似障害を1次擬似障
害として発生させるかを設定し、ファームウェアのアド
レスの所定のアドレスが実行されるタイミングで該1次
擬似障害を発生させてエラー処理を行うようにし、前記
複数のデバイスの各エラーに関する擬似障害のうちのど
の擬似障害を2次擬似障害として発生させるかを設定
し、前記複数のデバイスの各エラーに関する擬似障害の
うちから所定の擬似障害が1次擬似障害として設定さ
れ、該1次擬似障害に関するエラー処理が実行されたと
きに、前記2次擬似障害を発生させてエラー処理を行う
ようにしたことを特徴とする。
According to a second simulated fault occurrence method of the present invention, in the simulated fault occurrence method performed in an apparatus for controlling a plurality of devices, one of the simulated faults among the simulated faults relating to each error of the plurality of devices is set to one It is set whether or not to generate a pseudo-failure, and at the timing when a predetermined address of the firmware address is executed, the primary pseudo-failure is generated and error processing is performed. Out of the pseudo-failures related to each error of the plurality of devices, a predetermined pseudo-failure is set as a primary pseudo-failure, and the pseudo-failure is set as a primary pseudo-failure. The error processing is performed by generating the secondary pseudo failure when the error processing related to the error is executed. To.

【0017】上記の場合、前記1次擬似障害を発生させ
るタイミングを、現在実行中のファームウェアのアドレ
スを随時保持し、該保持したアドレスと予め設定された
アドレスとを比較し、両アドレスが一致した場合に論理
「1」を、一致しない場合には論理「0」を出力するよ
うにし、該出力と1次擬似障害を発生させる際に出力が
論理「1」となるように設定されるレジスタの出力との
論理積をとり、該論理積が論理「1」となるタイミング
とするようにしてもよい。
In the above case, the timing at which the primary pseudo failure occurs is held at any time with the address of the firmware currently being executed, and the held address is compared with a preset address. In this case, a logic "1" is output if it does not match, and a logic "0" is output if it does not match. When a primary pseudo failure occurs, the output of the register is set to be a logic "1". The logical product of the output and the logical product may be calculated so that the logical product is set to a timing at which the logical product becomes “1”.

【0018】また、前記2次擬似障害を発生させるタイ
ミングを、実行された1次擬似障害と予め設定された1
次擬似障害とを比較し、両擬似障害が一致した場合に論
理「1」を、一致しない場合には論理「0」を出力する
ようにし、該出力と2次擬似障害を発生させる際に出力
が論理「1」となるように設定されるレジスタの出力と
の論理積をとり、該論理積が論理「1」となるタイミン
グとするようにしてもよい。
Further, the timing at which the secondary pseudo-failure is generated is determined by comparing the executed primary pseudo-failure with a preset one.
The second pseudo fault is compared with the next pseudo fault, and when both pseudo faults match, the logic "1" is output, and when they do not match, the logic "0" is output. May be ANDed with the output of a register that is set to be logical "1", and the timing may be such that the logical AND becomes logical "1".

【0019】(作用)上記のとおりの本発明において
は、1次擬似障害を発生させてエラー処理を実行し、該
エラー処理中に2次擬似障害を発生させてエラー処理を
実行するようになっているので、従来できなかった、1
次事象が発生した後の2次事象についての障害処理試験
を行うことができる。
(Operation) In the present invention as described above, a first pseudo fault is generated to execute error processing, and a second pseudo fault is generated during the error processing to execute error processing. So we couldn't
A fault handling test for a secondary event after the occurrence of the next event can be performed.

【0020】また、本発明においては、1次擬似障害の
発生は、ファームウェアのアドレスの所定のアドレスが
実行されるタイミングで行われ、2次擬似障害の発生
は、所定のデバイスのエラーに関する1次擬似障害が実
行されるタイミングで行われるようになっているので、
1次擬似障害および2次擬似障害はともに任意の発生タ
イミングで発生することが可能である。
Further, in the present invention, the occurrence of the primary pseudo failure is performed at a timing when a predetermined address of the firmware address is executed, and the occurrence of the secondary pseudo failure is determined by a primary error relating to a predetermined device error. Because it is performed at the timing when the pseudo failure is executed,
Both the primary pseudo-failure and the secondary pseudo-failure can occur at any timing.

【0021】[0021]

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

【0022】図1に、本発明の擬似障害発生方式の一実
施形態を示す。この擬似障害発生方式は、例えばディス
クアレイ等の複数のデバイスを制御する装置の各デバイ
スにおける擬似障害処理を試験するもので、その構成は
エラー表示レジスタ1、擬似障害事象設定レジスタ2
a,2b、1次擬似障害発生タイミング生成部3、2次
擬似障害発生タイミング生成部4、セレクタ5、エラー
処理部6からなる。
FIG. 1 shows an embodiment of a simulated fault occurrence system according to the present invention. This simulated fault occurrence method tests simulated fault processing in each device of a device for controlling a plurality of devices such as a disk array, and has a configuration including an error display register 1, a simulated fault event setting register 2
a, 2b, a primary simulated fault occurrence timing generator 3, a secondary simulated fault occurrence timing generator 4, a selector 5, and an error processor 6.

【0023】エラー表示レジスタ1は、通常のエラー発
生を示すエラー信号aおよび擬似障害事象設定レジスタ
2a,2bの出力がそれぞれセレクタ5を介して入力さ
れており、これら入力のうちセレクタ5にて選択された
入力の値を格納する。エラー処理部6は、エラー表示レ
ジスタ1に格納された値に基づいて、対応するデバイス
の擬似障害処理を行う。
The error display register 1 receives an error signal a indicating the occurrence of a normal error and the outputs of the simulated fault event setting registers 2a and 2b via a selector 5, respectively. Stores the value of the input. The error processing unit 6 performs a simulated fault process for the corresponding device based on the value stored in the error display register 1.

【0024】擬似障害事象設定レジスタ2aは、エラー
処理部6によって実行される各デバイスの1次擬似障害
処理のうちのどの処理を実行するのかを指定するもので
ある。この擬似障害事象設定レジスタ2aでは、任意の
1次擬似障害処理に対応する値がFWにより予め設定さ
れ、該設定値がセレクタ5を介してエラー表示レジスタ
1へ出力される。
The simulated fault event setting register 2a specifies which of the primary simulated fault processing of each device executed by the error processing unit 6 is to be executed. In the pseudo-failure event setting register 2a, a value corresponding to an arbitrary primary pseudo-failure process is set in advance by the FW, and the set value is output to the error display register 1 via the selector 5.

【0025】擬似障害事象設定レジスタ2bは、エラー
処理部6によって実行される各デバイスの2次擬似障害
処理のうちのどの処理を実行するのかを指定するもので
ある。この擬似障害事象設定レジスタ2aでは、任意の
2次擬似障害処理に対応する値がFWにより予め設定さ
れ、該設定値がセレクタ5を介してエラー表示レジスタ
1へ出力される。
The simulated fault event setting register 2b specifies which of the secondary simulated fault processes of each device executed by the error processing unit 6 is to be executed. In the pseudo-failure event setting register 2a, a value corresponding to an arbitrary secondary pseudo-failure process is set in advance by the FW, and the set value is output to the error display register 1 via the selector 5.

【0026】セレクタ5は、1次擬似障害発生タイミン
グ生成部3にて生成された1次障害発生タイミングに基
づいて、擬似障害事象設定レジスタ2aの出力を選択
し、2次擬似障害発生タイミング生成部4にて生成され
た2次障害発生タイミングに基づいて、擬似障害事象設
定レジスタ2bの出力を選択し、いずれの障害発生タイ
ミングも生成されていない場合には、通常のエラー信号
aに関する入力を選択する。
The selector 5 selects the output of the simulated fault event setting register 2a based on the primary fault occurrence timing generated by the primary simulated fault occurrence timing generator 3, and selects the secondary simulated fault occurrence timing generator. 4. Based on the secondary fault occurrence timing generated in step 4, the output of the pseudo fault event setting register 2b is selected. If no fault occurrence timing has been generated, the input related to the normal error signal a is selected. I do.

【0027】1次擬似障害発生タイミング生成部3は、
FWのアドレスのどのアドレスが実行されたときに1次
擬似障害を発生させるかを決めるもので、その構成は、
FW実行アドレス表示レジスタ31、擬似障害発生タイ
ミングレジスタ32、比較部33、擬似障害モードレジ
スタ34、論理演算部35からなる。
The primary simulated fault occurrence timing generation unit 3
This determines which of the FW addresses will cause a primary pseudo-failure when executed.
It comprises a FW execution address display register 31, a pseudo failure occurrence timing register 32, a comparison unit 33, a pseudo failure mode register 34, and a logical operation unit 35.

【0028】FW実行アドレス表示レジスタ31は、現
在実行しているFWのアドレスを随時保持する。擬似障
害発生タイミングレジスタ32は、1次擬似障害を発生
させるタイミングを指定するもので、FWのアドレスの
うちの所定のアドレスが、擬似障害モード実行時に予め
FWにより設定される。比較部33は、FW実行アドレ
ス表示レジスタ31に保持されたアドレスと擬似障害発
生タイミングレジスタ32にて指定されたアドレスとを
比較し、両アドレスが一致した場合に論理「1」を、一
致しない場合には論理「0」を出力する。擬似障害モー
ドレジスタ34は2ビットのレジスタであって、擬似障
害モード実行時には論理「1」が、擬似障害モードでな
い場合には論理「0」がFWにより設定される。論理演
算部35は、比較部33および擬似障害モードレジスタ
34の出力をそれぞれ入力とし、これら入力の論理積を
とり、該論理積結果が「1」になったときに1次擬似障
害発生タイミングをセレクタ5へ出力する。
The FW execution address display register 31 holds the address of the currently executed FW as needed. The simulated fault occurrence timing register 32 designates a timing at which a first simulated fault occurs, and a predetermined address among the addresses of the FW is set in advance by the FW when the simulated fault mode is executed. The comparing unit 33 compares the address held in the FW execution address display register 31 with the address specified by the pseudo failure occurrence timing register 32, and when both addresses match, logic "1" is determined. Outputs logic "0". The pseudo failure mode register 34 is a two-bit register, and the logic “1” is set by the FW when the pseudo failure mode is executed, and the logic “0” is set when the pseudo failure mode is not set. The logical operation unit 35 receives the outputs of the comparison unit 33 and the pseudo failure mode register 34 as inputs, takes the logical product of these inputs, and determines the primary pseudo failure occurrence timing when the logical product result becomes “1”. Output to selector 5.

【0029】2次擬似障害発生タイミング生成部4は、
どの1次擬似障害処理が実行されたときに2次擬似障害
を発生させるかを決めるもので、その構成は、擬似障害
発生エラー表示レジスタ41、比較部42、擬似障害モ
ードレジスタ43、論理演算部44からなる。
The secondary simulated fault occurrence timing generation section 4
The primary pseudo-failure processing is executed to determine when the secondary pseudo-failure is to be generated. The configuration includes a pseudo-failure occurrence error display register 41, a comparing unit 42, a pseudo-failure mode register 43, and a logical operation unit. 44.

【0030】擬似障害発生エラー表示レジスタ41は、
2次擬似障害を発生させるタイミングを指定するもの
で、エラー表示レジスタ1に格納される値のうちの所定
の値が、擬似障害モード実行時に予めFWにより設定さ
れる。比較部42は、エラー表示レジスタ1に格納され
た値と擬似障害発生エラー表示レジスタ41にて指定さ
れた値とを比較し、これらの値が一致した場合に論理
「1」を、一致しない場合には論理「0」を出力する。
擬似障害モードレジスタ43は2ビットのレジスタであ
って、擬似障害モード実行時には論理「1」が、擬似障
害モードでない場合には論理「0」がFWにより設定さ
れる。論理演算部44は、比較部42および擬似障害モ
ードレジスタ43の出力をそれぞれ入力とし、これら入
力の論理積をとり、該論理積結果が「1」になったとき
に2次擬似障害発生タイミングをセレクタ5へ出力す
る。
The pseudo failure occurrence error display register 41
This specifies the timing at which the secondary pseudo failure occurs, and a predetermined value among the values stored in the error display register 1 is set in advance by the FW when the pseudo failure mode is executed. The comparing unit 42 compares the value stored in the error display register 1 with the value specified in the pseudo failure occurrence error display register 41, and when these values match, the logic “1” is determined. Outputs logic "0".
The pseudo-failure mode register 43 is a 2-bit register. The FW sets the logic “1” when the pseudo-failure mode is executed, and sets the logic “0” when the pseudo-failure mode is not set. The logical operation unit 44 receives the outputs of the comparison unit 42 and the pseudo-failure mode register 43 as inputs, calculates the logical product of these inputs, and determines the secondary pseudo-failure occurrence timing when the logical product result is “1”. Output to selector 5.

【0031】次に、この擬似障害発生方式の動作につい
て具体的に説明する。
Next, the operation of the pseudo failure generation method will be described in detail.

【0032】通常時は、擬似障害モードレジスタ34に
は論理「0」が設定されているので、論理演算部35の
出力が「0」となって、論理演算部44の出力も「0」
となる。セレクタ5ではエラー信号aが選択され、該エ
ラー信号aの値がエラー表示レジスタ1に格納されるこ
ととなる。この場合、エラー処理部6は本来のエラーが
発生するまでエラー処理を行わない。
Normally, since the logic "0" is set in the pseudo failure mode register 34, the output of the logic operation unit 35 is "0", and the output of the logic operation unit 44 is also "0".
Becomes The selector 5 selects the error signal a, and the value of the error signal a is stored in the error display register 1. In this case, the error processing unit 6 does not perform error processing until an original error occurs.

【0033】擬似障害を発生してエラー処理試験を行う
場合は、まず、FWによって擬似障害モードレジスタ3
4,43に論理「1」が設定されるとともに、どのFW
アドレスを実行したときにどの内容の1次擬似障害を発
生させ、どの1次擬似障害を発生させたときにどの内容
の2次擬似障害を発生させるかが設定される。この設定
では、擬似障害事象設定レジスタ2aにどの内容の1次
擬似障害を発生するかの設定値を、擬似障害事象設定レ
ジスタ2bにどの内容の2次擬似障害を発生するかの設
定値を、擬似障害発生タイミングレジスタ32に1次擬
似障害を発生するタイミングとなるFWのアドレスを、
擬似障害発生エラー表示レジスタ41にどの1次擬似障
害を発生したときに2次擬似障害を発生させるかの設定
値をFWによりそれぞれ設定する。これら全ての設定が
終わった後、FWによる通常の処理を実行する。
When an error processing test is performed by generating a pseudo-failure, first, the pseudo-failure mode register 3 is set by the FW.
The logic “1” is set in the registers 4 and 43, and which FW
It is set which primary pseudo fault of which content is to be generated when the address is executed, and which secondary pseudo fault of which content is to be generated when which primary pseudo fault is generated. In this setting, a set value indicating what kind of primary simulated fault occurs in the simulated fault event setting register 2a, a set value indicating what kind of secondary simulated fault to generate in the simulated fault event setting register 2b, An address of the FW which is a timing at which a primary pseudo failure occurs is stored in the pseudo failure occurrence timing register 32.
In the pseudo failure occurrence error display register 41, a setting value for which primary pseudo failure occurs when a secondary pseudo failure occurs is set by the FW. After all these settings are completed, normal processing by the FW is executed.

【0034】FWによる通常の処理が実行されると、現
在実行しているFWのアドレスがFW実行アドレス表示
レジスタ31に随時保持される。そして、比較部33に
てFW実行アドレス表示レジスタ31に保持されたアド
レスと擬似障害発生タイミングレジスタ32に設定され
たアドレスとの比較が行われる。比較部33では、両ア
ドレスが一致した場合に論理「1」が出力され、一致し
ない場合には論理「0」が出力される。
When the normal processing by the FW is executed, the address of the FW currently being executed is held in the FW execution address display register 31 as needed. Then, the comparison unit 33 compares the address held in the FW execution address display register 31 with the address set in the pseudo failure occurrence timing register 32. The comparator 33 outputs a logical “1” when both addresses match, and outputs a logical “0” when they do not match.

【0035】FW実行アドレス表示レジスタ31に保持
されたアドレスと擬似障害発生タイミングレジスタ32
に設定されたアドレスとが一致すると、比較部33の出
力が論理「1」となる。論理演算部35では、比較部3
3の出力(論理「1」)と擬似障害モードレジスタ34
の出力(論理「1」)との論理積がとられ、その結果と
して論理「1」が出力される。
The address held in the FW execution address display register 31 and the pseudo failure occurrence timing register 32
, The output of the comparison unit 33 becomes logic “1”. In the logical operation unit 35, the comparison unit 3
3 (logical "1") and the pseudo failure mode register 34
(Logical "1") is obtained, and as a result, logical "1" is output.

【0036】論理演算部35の出力が論理「1」となる
と、セレクタ5にて擬似障害事象設定レジスタ2aの出
力が選択され、擬似障害事象設定レジスタ2aの値がエ
ラー表示レジスタ1に格納される。なお、FW実行アド
レス表示レジスタ31に保持されたアドレスと擬似障害
発生タイミングレジスタ32に設定されたアドレスとが
一致しなかった場合は、比較部33の出力は論理「0」
となり、論理演算部35の出力も論理「0」となる。論
理演算部35の出力が論理「0」の場合は、上記のよう
なセレクタ5における擬似障害事象設定レジスタ2aの
出力の選択は行われないので、1次擬似障害は発生しな
い。
When the output of the logical operation unit 35 becomes logical "1", the output of the pseudo failure event setting register 2a is selected by the selector 5, and the value of the pseudo failure event setting register 2a is stored in the error display register 1. . If the address held in the FW execution address display register 31 does not match the address set in the simulated fault occurrence timing register 32, the output of the comparison unit 33 is logic "0".
, And the output of the logic operation unit 35 also becomes logic “0”. When the output of the logical operation unit 35 is logic "0", the selection of the output of the pseudo failure event setting register 2a in the selector 5 as described above is not performed, so that the primary pseudo failure does not occur.

【0037】エラー表示レジスタ1に擬似障害事象設定
レジスタ2aの値が格納されると、エラー処理部6にて
そのエラー表示レジスタ1に格納された値に基づいて対
応するデバイスの擬似障害処理が行われるとともに、比
較部42にてそのエラー表示レジスタ1に格納された値
と擬似障害発生エラー表示レジスタ41に設定されてい
る値とが比較される。比較部42では、値が一致した場
合に論理「1」が出力され、一致しない場合には論理
「0」が出力される。
When the value of the simulated fault event setting register 2a is stored in the error display register 1, the simulated fault processing of the corresponding device is performed by the error processing unit 6 based on the value stored in the error display register 1. At the same time, the comparison unit 42 compares the value stored in the error display register 1 with the value set in the pseudo failure occurrence error display register 41. The comparison unit 42 outputs logic “1” when the values match, and outputs logic “0” when the values do not match.

【0038】エラー表示レジスタ1に格納された値が擬
似障害発生エラー表示レジスタ41に設定されている値
と一致した場合は、比較部42の出力が論理「1」とな
る。論理演算部44では、比較部42の出力(論理
「1」)と擬似障害モードレジスタ43の出力(論理
「1」)との論理積がとられ、その結果として論理
「1」が出力される。論理演算部44の出力が論理
「1」となると、セレクタ5にて擬似障害事象設定レジ
スタ2bの出力が選択され、擬似障害事象設定レジスタ
2bの値がエラー表示レジスタ1に格納される。そし
て、エラー処理部6にてそのエラー表示レジスタ1に格
納された値に基づいて対応するデバイスの2次擬似障害
処理が行われる。
When the value stored in the error display register 1 matches the value set in the pseudo failure occurrence error display register 41, the output of the comparing section 42 becomes logic "1". In the logical operation unit 44, the logical product of the output (logic “1”) of the comparison unit 42 and the output (logic “1”) of the pseudo failure mode register 43 is obtained, and as a result, the logical “1” is output. . When the output of the logical operation unit 44 becomes logic “1”, the output of the pseudo failure event setting register 2 b is selected by the selector 5, and the value of the pseudo failure event setting register 2 b is stored in the error display register 1. Then, based on the value stored in the error display register 1, the error processing section 6 performs the secondary pseudo failure processing of the corresponding device.

【0039】なお、エラー表示レジスタ1に格納された
値が擬似障害発生エラー表示レジスタ41に設定されて
いる値と一致しなかった場合には、比較部42の出力は
論理「0」となり、論理演算部44の出力も論理「0」
となる。論理演算部44の出力が論理「0」の場合は、
上記のようなセレクタ5における擬似障害事象設定レジ
スタ2bの出力の選択は行われないので、2次擬似障害
は発生しない。
If the value stored in the error display register 1 does not match the value set in the pseudo failure occurrence error display register 41, the output of the comparing section 42 becomes logic "0", The output of the operation unit 44 is also logic “0”.
Becomes When the output of the logic operation unit 44 is logic “0”,
Since the output of the pseudo failure event setting register 2b is not selected by the selector 5 as described above, the secondary pseudo failure does not occur.

【0040】以下、上述の2次擬似障害発生処理の動作
について具体的なアドレスおよび設定値を挙げて詳細に
説明する。
Hereinafter, the operation of the above-described secondary pseudo failure occurrence processing will be described in detail with specific addresses and set values.

【0041】ここでは、擬似障害発生処理の対象となる
デバイスを回路A〜Gとし、1次擬似障害として回路C
のエラーを発生した後、2次擬似障害として回路Gのエ
ラーを発生する。この場合のエラー表示レジスタ1は8
ビットで、その構成は、 ビット7:代表ビット ビット6:回路Aのエラー ビット5:回路Bのエラー ビット4:回路Cのエラー ビット3:回路Dのエラー ビット2:回路Eのエラー ビット1:回路Fのエラー ビット0:回路Gのエラー となっている。また、ここでは、FWのアドレスは16
ビットで 00A0(hex) 00A2(hex) 00A4(hex) 00A8(hex) 00B0(hex) 00B2(hex) ・・・・・・・・・ と動作するようになっており、FWのアドレスが「00
B0(hex)」のときに1次擬似障害として回路Cの
エラー、2次擬似障害として回路Gのエラーを発生する
場合について説明する。
Here, devices to be subjected to the pseudo-failure occurrence processing are assumed to be circuits A to G, and a circuit C is regarded as a primary pseudo-failure.
, An error of the circuit G is generated as a secondary pseudo fault. The error display register 1 in this case is 8
Bit 7: Representative bit Bit 6: Error in circuit A Bit 5: Error in circuit B Bit 4: Error in circuit C Bit 3: Error in circuit D Bit 2: Error in circuit E Bit 1: Circuit F error bit 0: Circuit G error. Here, the address of the FW is 16
00A0 (hex) 00A2 (hex) 00A4 (hex) 00A8 (hex) 00B0 (hex) 00B2 (hex)..., And the FW address is "00".
A case will be described in which an error of the circuit C occurs as a primary pseudo-failure at the time of “B0 (hex)”, and an error of the circuit G occurs as a secondary pseudo-failure.

【0042】まず、初期設定として、 擬似障害発生タイミングレジスタ32:00B0(he
x) 擬似障害発生発生エラー表示レジスタ43:10(he
x) 擬似障害設定レジスタ2a:10(hex) 擬似障害設定レジスタ2b:01(hex) 擬似障害モードレジスタ34:1(bin) 擬似障害モードレジスタ43:1(bin) を設定する。
First, as an initial setting, a pseudo failure occurrence timing register 32: 00B0 (he
x) Pseudo failure occurrence occurrence error display register 43:10 (he
x) Pseudo failure setting register 2a: 10 (hex) Pseudo failure setting register 2b: 01 (hex) Pseudo failure mode register 34: 1 (bin) Pseudo failure mode register 43: 1 (bin) is set.

【0043】FWによる通常の処理が行われてFWのア
ドレスの「00B0(hex)」が実行され、FW実行
アドレス表示レジスタ31に「00B0(hex)」が
保持されると、比較部33にてそのFW実行アドレス表
示レジスタ31に保持された「00B0(hex)」と
擬似障害発生タイミングレジスタ32に設定されている
「00B0(hex)」との比較が行われる。これらレ
ジスタの値は一致しているので、比較部33の出力は論
理「1」となる。論理演算部35では、比較部33の出
力(論理「1」)と擬似障害モードレジスタ34の「1
(bin)」との論理積がとられ、その結果として論理
演算部35からセレクタ5へ論理「1」が出力される。
When the normal processing by the FW is performed to execute “00B0 (hex)” of the address of the FW, and “00B0 (hex)” is held in the FW execution address display register 31, the comparison unit 33 “00B0 (hex)” held in the FW execution address display register 31 is compared with “00B0 (hex)” set in the pseudo failure occurrence timing register 32. Since the values of these registers match, the output of the comparison unit 33 becomes logic "1". In the logical operation unit 35, the output (logic “1”) of the comparison unit 33 and “1” of the pseudo failure mode register 34
(Bin) ", and a logical" 1 "is output from the logical operation unit 35 to the selector 5 as a result.

【0044】論理演算部35の出力が論理「1」となる
と、セレクタ5にて擬似障害事象設定レジスタ2aの
「10(hex)」が選択され、エラー表示レジスタ1
に「10(hex)」が格納される。ここで、エラー表
示レジスタ1は8ビットであり、「10(hex)」は
回路Cのエラーに関する擬似障害を発生させることを意
味する。
When the output of the logical operation unit 35 becomes logic "1", "10 (hex)" of the simulated fault event setting register 2a is selected by the selector 5, and the error display register 1
Is stored as "10 (hex)". Here, the error display register 1 has 8 bits, and “10 (hex)” means that a pseudo failure relating to an error of the circuit C is generated.

【0045】エラー表示レジスタ1に「10(he
x)」が格納されると、エラー処理部6にて回路Cのエ
ラーに関する1次擬似障害処理が行われるとともに、比
較部42にてそのエラー表示レジスタ1に格納された
「10(hex)」と擬似障害発生エラー表示レジスタ
41に設定されている「10(hex)」との比較が行
われる。これらレジスタの値は一致しているので、比較
部42の出力は論理「1」となる。論理演算部44で
は、比較部42の出力(論理「1」)と擬似障害モード
レジスタ43の「1(bin)」との論理積がとられ、
その結果として論理演算部44からセレクタ5へ論理
「1」が出力される。
In the error display register 1, "10 (he
When (x) is stored, the error processing unit 6 performs the primary simulated fault processing relating to the error of the circuit C, and the comparing unit 42 stores “10 (hex)” stored in the error display register 1. Is compared with “10 (hex)” set in the pseudo failure occurrence error display register 41. Since the values of these registers match, the output of the comparison unit 42 becomes logic "1". In the logical operation unit 44, the logical product of the output (logic “1”) of the comparison unit 42 and “1 (bin)” of the pseudo failure mode register 43 is obtained.
As a result, a logical “1” is output from the logical operation unit 44 to the selector 5.

【0046】論理演算部44の出力が論理「1」となる
と、セレクタ5にて擬似障害事象設定レジスタ2bの
「01(hex)」が選択され、エラー表示レジスタ1
に「01(hex)」が格納される。ここで、エラー表
示レジスタ1は8ビットであり、「01(hex)」は
回路Gのエラーに関する擬似障害を発生させることを意
味する。
When the output of the logical operation unit 44 becomes logic "1", "01 (hex)" of the pseudo failure event setting register 2b is selected by the selector 5, and the error display register 1
Is stored as “01 (hex)”. Here, the error display register 1 has 8 bits, and “01 (hex)” means that a pseudo failure relating to an error of the circuit G is generated.

【0047】エラー表示レジスタ1に「01(he
x)」が格納されると、エラー処理部6にて回路Gのエ
ラーに関する2次擬似障害処理が行われる。これによ
り、回路Cのエラーに関する1次擬似障害処理を行って
いる最中に回路Gのエラーに関する2次擬似障害処理が
行われることになる。
In the error display register 1, "01 (he
x) ”is stored, the error processing unit 6 performs the second pseudo failure processing relating to the error of the circuit G. As a result, the secondary pseudo-failure processing relating to the error of the circuit G is performed during the primary pseudo-failure processing relating to the error of the circuit C.

【0048】[0048]

【発明の効果】以上説明したように構成される本発明に
よれば、1次事象が発生した後の2次事象についての障
害処理試験を行うことができるので、従来試験すること
ができなかった、実機上でごくまれな2次事象に関する
擬似障害試験を容易に行うことができる。
According to the present invention configured as described above, a fault handling test for a secondary event after the occurrence of a primary event can be performed, so that the conventional test could not be performed. In addition, it is possible to easily perform a pseudo failure test on a rare secondary event on an actual machine.

【0049】また、本発明によれば、1次擬似障害およ
び2次擬似障害はともに任意の発生タイミングで発生す
ることが可能であるので、実際に起こるべき発生タイミ
ングに近い形で擬似障害試験を行うことができ、試験対
象である装置の品質を早い段階で容易に高めることがで
きる。さらに加えて、障害などの再現試験においても、
その障害の発生条件と同等の擬似障害を発生させること
ができる。
Further, according to the present invention, since both the primary pseudo-failure and the secondary pseudo-failure can occur at any timing, a pseudo-failure test is performed in a manner close to the actual occurrence timing. The quality of the device to be tested can be easily increased at an early stage. In addition, in reproduction tests such as obstacles,
A pseudo fault equivalent to the fault occurrence condition can be generated.

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

【図1】本発明の擬似障害発生方式の一実施形態を示す
ブロック図である。
FIG. 1 is a block diagram showing an embodiment of a pseudo failure generation system according to the present invention.

【図2】特開平7-253906号公報に開示されている擬似障
害発生回路の概略構成を示すブロック図である。
FIG. 2 is a block diagram showing a schematic configuration of a pseudo fault generating circuit disclosed in Japanese Patent Application Laid-Open No. 7-253906.

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

1 エラー表示レジスタ 2a,2b 擬似障害事象設定手段 3 1次擬似障害発生タイミング生成部 4 2次擬似障害発生タイミング生成部 5 セレクタ 6 エラー処理部 31 FW実行アドレス表示レジスタ 32 擬似障害発生タイミングレジスタ 33,42 比較部 34,43 擬似障害モードレジスタ 35,44 論理演算部 41 擬似障害発生エラー表示レジスタ DESCRIPTION OF SYMBOLS 1 Error display register 2a, 2b Pseudo fault event setting means 3 Primary pseudo fault occurrence timing generator 4 Secondary pseudo fault occurrence timing generator 5 Selector 6 Error processing unit 31 FW execution address display register 32 Pseudo fault occurrence timing register 33, 42 comparison unit 34, 43 pseudo failure mode register 35, 44 logical operation unit 41 pseudo failure occurrence error display register

Claims (6)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 複数のデバイスを制御する装置の擬似障
害発生方式において、 前記複数のデバイスのそれぞれのエラーに関する擬似障
害のうちのどの擬似障害を1次擬似障害として発生させ
るかが設定される1次擬似障害事象設定手段と、 前記複数のデバイスの各エラーに関する擬似障害のうち
のどの擬似障害を2次擬似障害として発生させるかが設
定される2次擬似障害事象設定手段と、 入力された1次擬似障害発生タイミングに基づいて、前
記1次擬似障害事象設定手段に設定された1次擬似障害
を選択し、入力された2次擬似障害発生タイミングに基
づいて、前記2次擬似障害事象設定手段に設定された2
次擬似障害を選択する選択手段と、 ファームウェアのアドレスの所定のアドレスが実行され
たときに1次擬似障害を発生させるための1次擬似障害
発生タイミングを生成し、これを前記選択手段へ出力す
る1次擬似障害発生タイミング生成手段と、 前記選択手段にて所定のデバイスのエラーに関する1次
擬似障害が選択されたときに2次擬似障害を発生させる
ための2次障害発生タイミングを生成し、これを前記選
択手段へ出力する2次擬似障害発生タイミング生成手段
と、 前記選択手段にて選択された1次擬似障害または2次擬
似障害を発生させて、該擬似障害に関するエラー処理を
行うエラー処理手段とを有することを特徴とする擬似障
害発生方式。
In a pseudo failure generation method for an apparatus that controls a plurality of devices, it is set which of a plurality of pseudo failures relating to errors of the devices is to be generated as a primary pseudo failure. Secondary pseudo-failure event setting means; secondary pseudo-failure event setting means for setting which of the pseudo-failures relating to each error of the plurality of devices is to be generated as a secondary pseudo-failure; The primary pseudo failure set in the primary pseudo failure event setting means is selected based on the secondary pseudo failure occurrence timing, and the secondary pseudo failure event setting means is selected based on the input secondary pseudo failure occurrence timing. 2 set to
Selecting means for selecting a next pseudo fault; generating a first pseudo fault occurrence timing for generating a first pseudo fault when a predetermined address of the firmware address is executed, and outputting this to the selecting means A primary pseudo failure occurrence timing generating means, and a secondary failure occurrence timing for generating a secondary pseudo failure when the primary pseudo failure related to a predetermined device error is selected by the selecting means, Secondary failure occurrence timing generation means for outputting the first pseudo failure or the second pseudo failure selected by the selection means, and performing error processing relating to the pseudo failure. And a pseudo failure generating method.
【請求項2】 請求項1に記載の擬似障害発生方式にお
いて、 前記1次擬似障害発生タイミング生成手段は、 現在実行中のファームウェアのアドレスが随時保持され
る第1のレジスタと、 前記ファームウェアのアドレスのうちの所定のアドレス
が予め設定された第2のレジスタと、 前記第1のレジスタに保持されたアドレスと前記第2の
レジスタに設定されているアドレスとを比較し、両アド
レスが一致した場合に論理「1」を、一致しない場合に
は論理「0」を出力する第1の比較手段と、 1次擬似障害を発生させる際に出力が論理「1」となる
ように設定される第3のレジスタと、 前記第1の比較手段および第3のレジスタの出力をそれ
ぞれ入力とし、これら入力の論理積が論理「1」のとき
に1次擬似障害発生タイミングを前記選択手段へ出力す
る第1の論理演算手段とを有し、 2次擬似障害発生タイミング生成手段は、 前記1次擬似障害事象設定手段にて設定される1次擬似
障害のうちの所定の1次擬似障害を指定する第4のレジ
スタと、 前記選択手段にて選択された1次擬似障害と前記第4の
レジスタにて指定された1次擬似障害とを比較し、両擬
似障害が一致した場合に論理「1」を、一致しない場合
には論理「0」を出力する第2の比較手段と、 2次擬似障害を発生させる際に出力が論理「1」となる
ように設定される第5のレジスタと、 前記第2の比較手段および第5のレジスタの出力をそれ
ぞれ入力とし、これら入力の論理積が論理「1」のとき
に2次擬似障害発生タイミングを前記選択手段へ出力す
る第2の論理演算手段とを有することを特徴とする擬似
障害発生方式。
2. The pseudo failure generation method according to claim 1, wherein the first pseudo failure generation timing generation means includes: a first register in which an address of a currently executing firmware is held as needed; and an address of the firmware. Comparing a second register in which a predetermined address is set in advance with an address held in the first register and an address set in the second register, and when both addresses match with each other A first comparing means for outputting a logic "1" when the values do not coincide with each other, and a third means for setting an output to a logic "1" when a primary pseudo failure occurs. And the output of the first comparing means and the output of the third register, respectively, and when the logical product of these inputs is logical "1", the primary pseudo failure occurrence timing is selected. First logical operation means for outputting to the means, and a secondary pseudo failure occurrence timing generating means, wherein a predetermined primary pseudo failure of the primary pseudo failure set by the primary pseudo failure event setting means is provided. A fourth register for designating a fault, a primary pseudo fault selected by the selection means and a primary pseudo fault specified by the fourth register are compared, and if both pseudo faults match, A second comparing means for outputting a logical "1" and a logical "0" when they do not match, and a fifth for setting the output to be a logical "1" when a secondary pseudo fault occurs. A second register which outputs the output of the second pseudo failure to the selection means when the logical product of these inputs is logic "1"; Pseudo operation characterized by having logical operation means Failure system.
【請求項3】 複数のデバイスを予め設定された処理手
順に従って制御する装置において行われる擬似障害発生
方法において、前記処理手順に沿って任意のタイミングで 前記複数のデ
バイスのそれぞれのエラーに関する擬似障害1次擬似
障害として発生させ、前記擬似障害のうちの所定の擬似
障害が1次擬似障害として発生したときに、該1次擬似
障害に関するエラー処理中に、前記擬似障害のうちの所
定の擬似障害を2次擬似障害として発生させ、該2次擬
似障害に関するエラー処理を行うことを特徴とする擬似
障害発生方法。
3. A processing device in which a plurality of devices are set in advance by a predetermined processing method.
In the pseudo-failure method performed in the apparatus for controlling according to the order, along the processing procedure to generate a pseudo-fault for each of the error of the plurality of devices as the primary dummy failure at any time, of said dummy failure Predetermined pseudo
When a failure occurs as a primary pseudo failure, during the error processing relating to the primary pseudo failure, a predetermined pseudo failure among the pseudo failures is generated as a secondary pseudo failure, and the error processing relating to the secondary pseudo failure is performed. Performing a pseudo failure.
【請求項4】 複数のデバイスを制御する装置において
行われる擬似障害発生方法において、 前記複数のデバイスのそれぞれのエラーに関する擬似障
害のうちのどの擬似障害を1次擬似障害として発生させ
るかを設定し、ファームウェアのアドレスの所定のアド
レスが実行されるタイミングで該1次擬似障害を発生さ
せてエラー処理を行うようにし、 前記複数のデバイスの各エラーに関する擬似障害のうち
のどの擬似障害を2次擬似障害として発生させるかを設
定し、前記複数のデバイスの各エラーに関する擬似障害
のうちから所定の擬似障害が1次擬似障害として設定さ
れ、該1次擬似障害に関するエラー処理が実行されたと
きに、前記2次擬似障害を発生させてエラー処理を行う
ようにしたことを特徴とする擬似障害発生方法
4. A pseudo-failure generating method performed in an apparatus controlling a plurality of devices, wherein a pseudo-failure among pseudo-failures relating to errors of the plurality of devices is set as a primary pseudo-failure. And performing error processing by generating the primary pseudo-failure at a timing at which a predetermined address of the firmware address is executed. Setting whether to generate as a fault, when a predetermined pseudo fault is set as a primary pseudo fault from among the pseudo faults related to each error of the plurality of devices, and when error processing related to the primary pseudo fault is executed, A pseudo-failure generating method, wherein the secondary pseudo-failure is generated and error processing is performed.
【請求項5】 請求項4に記載の擬似障害発生方法にお
いて、 前記1次擬似障害を発生させるタイミングを、 現在実行中のファームウェアのアドレスを随時保持し、
該保持したアドレスと予め設定されたアドレスとを比較
し、両アドレスが一致した場合に論理「1」を、一致し
ない場合には論理「0」を出力するようにし、該出力と
1次擬似障害を発生させる際に出力が論理「1」となる
ように設定されるレジスタの出力との論理積をとり、該
論理積が論理「1」となるタイミングとすることを特徴
とする擬似障害発生方法。
5. The pseudo-failure generating method according to claim 4, wherein the timing at which the primary pseudo-failure is generated is held at an address of a currently executing firmware as needed.
The stored address is compared with a preset address, and when both addresses match, logic "1" is output, and when they do not match, logic "0" is output. A pseudo-failure generating method, which takes the logical product of the register and the output of a register set so that the output becomes logical "1" when generating the logical value, and sets the timing at which the logical product becomes logical "1". .
【請求項6】 請求項4に記載の擬似障害発生方法にお
いて、 前記2次擬似障害を発生させるタイミングを、 実行された1次擬似障害と予め設定された1次擬似障害
とを比較し、両擬似障害が一致した場合に論理「1」
を、一致しない場合には論理「0」を出力するように
し、該出力と2次擬似障害を発生させる際に出力が論理
「1」となるように設定されるレジスタの出力との論理
積をとり、該論理積が論理「1」となるタイミングとす
ることを特徴とする擬似障害発生方法。
6. The pseudo-failure generating method according to claim 4, wherein a timing of generating the secondary pseudo-failure is determined by comparing the executed primary pseudo-failure with a preset primary pseudo-failure. Logic "1" when the pseudo failure matches
Is output as a logical "0" if they do not match, and the logical product of the output and the output of a register set to output a logical "1" when a secondary pseudo fault occurs is calculated. The pseudo failure generating method is characterized in that the timing is such that the logical product becomes logical "1".
JP10225935A 1998-08-10 1998-08-10 Pseudo failure generation method and pseudo failure generation method Expired - Lifetime JP2978900B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10225935A JP2978900B1 (en) 1998-08-10 1998-08-10 Pseudo failure generation method and pseudo failure generation method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10225935A JP2978900B1 (en) 1998-08-10 1998-08-10 Pseudo failure generation method and pseudo failure generation method

Publications (2)

Publication Number Publication Date
JP2978900B1 true JP2978900B1 (en) 1999-11-15
JP2000057006A JP2000057006A (en) 2000-02-25

Family

ID=16837211

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10225935A Expired - Lifetime JP2978900B1 (en) 1998-08-10 1998-08-10 Pseudo failure generation method and pseudo failure generation method

Country Status (1)

Country Link
JP (1) JP2978900B1 (en)

Also Published As

Publication number Publication date
JP2000057006A (en) 2000-02-25

Similar Documents

Publication Publication Date Title
JP3871384B2 (en) Defect analysis memory for semiconductor memory test equipment
JP3811528B2 (en) Memory test system for multi-bit test
JPH0646468A (en) Spatial switch circuit
JP2978900B1 (en) Pseudo failure generation method and pseudo failure generation method
JP2002312252A (en) Memory diagnostic device and diagnostic method
US5504862A (en) Logic verification method
JP2002244934A (en) Memory monitoring device and method
JPH07253906A (en) Pseudo fault generating circuit
JP2616542B2 (en) Pseudo failure generation system
JPS61262856A (en) Testing circuit
JPH11191080A (en) Memory testing device
JPH01162300A (en) Rom checking circuit testing system
JPH10207787A (en) Storage device testing system
JPH04109340A (en) False fault generating circuit
JP3173461B2 (en) Pseudo-normal test circuit and pseudo-normal test method for memory patrol function
JPS63231540A (en) Pseudo fault generating circuit
JPH01187475A (en) Test device for semiconductor integrated circuit
JPH08320806A (en) Fault automatic detection system for digital ic
JPH0950385A (en) Method and device for testing instruction sequence in information processor
JP2003194895A (en) Pattern generating device and method, and semiconductor integrated circuit test device
JPH0668190A (en) Function test program generation system
JPH0498429A (en) Microcomputer
JP2001101898A (en) Address control circuit
JPH06194422A (en) Integrated circuit
JPH03278231A (en) Failure detecting circuit for address comparator