Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP2855999B2 - Automatic generation of test input sequence using hardware simulator - Google Patents
[go: Go Back, main page]

JP2855999B2 - Automatic generation of test input sequence using hardware simulator - Google Patents

Automatic generation of test input sequence using hardware simulator

Info

Publication number
JP2855999B2
JP2855999B2 JP4271526A JP27152692A JP2855999B2 JP 2855999 B2 JP2855999 B2 JP 2855999B2 JP 4271526 A JP4271526 A JP 4271526A JP 27152692 A JP27152692 A JP 27152692A JP 2855999 B2 JP2855999 B2 JP 2855999B2
Authority
JP
Japan
Prior art keywords
unit
input
request
setting
failure
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 - Fee Related
Application number
JP4271526A
Other languages
Japanese (ja)
Other versions
JPH06123760A (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.)
NEC Corp
Original Assignee
Nippon Electric Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nippon Electric Co Ltd filed Critical Nippon Electric Co Ltd
Priority to JP4271526A priority Critical patent/JP2855999B2/en
Publication of JPH06123760A publication Critical patent/JPH06123760A/en
Application granted granted Critical
Publication of JP2855999B2 publication Critical patent/JP2855999B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Test And Diagnosis Of Digital Computers (AREA)
  • Tests Of Electronic Circuits (AREA)

Description

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

【0001】[0001]

【産業上の利用分野】本発明は検査入力系列の自動生成
方式に関して、特に未定義な入力ビット列に入力値を設
定し、故障シミュレーションした後、故障が見つからな
い場合にはバックトラックを行い、検出率を向上させる
検査入力系列の自動生成方式に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method for automatically generating a test input sequence, in particular, by setting an input value to an undefined input bit string, performing a failure simulation, and performing backtracking when no failure is found, thereby performing detection. The present invention relates to an automatic generation method of a test input sequence for improving a rate.

【0002】[0002]

【従来の技術】従来は、未定義な入力ビット列に無作為
な入力値を設定したのち、コンカレント故障シミュレー
ションを行い、故障検出率を求めていた。尚、コンカレ
ント故障シミュレーションについては、樹下,藤原「デ
ジタル回路の故障診断(上)」工学図書,1983を参
照のこと。
2. Description of the Related Art Conventionally, after a random input value is set to an undefined input bit string, a concurrent fault simulation is performed to obtain a fault detection rate. For the concurrent failure simulation, see Kinoshita and Fujiwara, "Diagnosis of Digital Circuit Failure (Part 1)", Engineering Books, 1983.

【0003】[0003]

【発明が解決しようとする課題】上述した従来の検査入
力系列の自動生成方式は、最初の入力ビットは無作為に
値が与えられていた。このため、その初期設定からのフ
ィードバックである要求値設定による検出率向上が効率
的に行えないという問題点があった。
In the above-described conventional automatic generation method of the test input sequence, the first input bit is given a value at random. For this reason, there has been a problem that the detection rate cannot be efficiently improved by setting the required value as feedback from the initial setting.

【0004】[0004]

【課題を解決するための手段】第1の発明は、プロセッ
サにおける最初に故障検出の目標とする演算単位の第1
の故障検出要求を発生する初期目標設定部と、前記第1
の故障検出要求および第2の故障検出要求を受取り前記
故障が設定されている演算単位の入力ビット列の方向で
あるファンイン側に前記演算単位の故障リストから故障
がみつかるように設定すべき値の設定要求を出力するノ
ード設定要求部と、前記ノード設定要求部の設定値を前
記演算単位の’不定’入力に接続されている全ての前記
ファンイン側の演算単位に伝播する多重後方伝播部と、
前記多重後方伝播部で伝播され前記入力ビット列まで到
達した前記設定値を前記入力ビット列に設定要求する要
求設定部と、前記入力ビット列設定要求および入力ビッ
ト列追加要求を受けて要求された値を前記入力ビット列
に予め決められたビットずつ設定していく入力設定部
と、前記入力ビット列に設定された入力値よりコンカレ
ント故障シミュレーションを行うシミュレーション部
と、前記シミュレーション部でシミュレーションされた
結果故障が1つも見つからなければ終了するかどうかを
判定する終了判定部と、前記終了判定部で終了しないと
判定された時前記入力ビット列に設定した入力値を変更
する入力設定更新部と、前記故障が見つかった時前記入
力ビット列に設定した入力値を変更不可能にする入力ビ
ット固定部と、前記入力ビット固定部からの指示により
他の未設定の前記入力ビット列に入力を追加するように
前記入力ビット列追加要求を出力する入力追加指示部
と、前記故障シミュレーションによる前記演算単位の前
記故障リスト出力の値が’不定’の時前記第2の故障検
出要求を出力するDフロンティア認識部とを備える。
According to a first aspect of the present invention, there is provided a first operation unit which is a target of failure detection in a processor first.
An initial target setting unit for generating a failure detection request of
Receiving the failure detection request and the second failure detection request, the value of a value to be set so that a failure is found from the failure list of the operation unit on the fan-in side, which is the direction of the input bit string of the operation unit in which the failure is set. A node setting request unit that outputs a setting request, and a multiplex backward propagation unit that propagates the setting value of the node setting request unit to all the fan-in side operation units connected to the 'undefined' input of the operation unit. ,
A request setting unit that requests the input bit sequence to set the set value propagated by the multiple backward propagation unit and reaches the input bit sequence; and inputs the requested value in response to the input bit sequence setting request and the input bit sequence addition request. An input setting unit that sets a predetermined bit in a bit string, a simulation unit that performs a concurrent failure simulation based on the input value set in the input bit string, and a failure simulated by the simulation unit. An end setting unit for determining whether or not to end the operation, an input setting update unit for changing an input value set in the input bit string when the end judgment unit determines that the operation is not to be ended, and the input when the failure is found. An input bit fixing unit for making an input value set in a bit string unchangeable; An input addition instruction unit that outputs the input bit string addition request to add an input to another unset input bit string according to an instruction from a bit fixing unit, and a value of the failure list output of the operation unit by the failure simulation And a D frontier recognizing unit that outputs the second failure detection request when is "undefined".

【0005】また、第2の発明は、並列処理を行う複数
のプロセッサにおける最初に目標とする初期目標故障の
前記演算単位を各プロセッサに1個以上均等に選出する
プロセッサ単位目標選出部と、選出された前記演算単位
について第1の故障検出要求を発生する前記初期目標設
定部とを備えることを特徴とする。
A second invention provides a processor unit target selection unit for uniformly selecting one or more calculation units of an initial target failure initially targeted by a plurality of processors performing parallel processing to each processor, And an initial target setting unit for generating a first failure detection request for the calculated operation unit.

【0006】[0006]

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

【0007】図1は第1の発明の一実施例の構成図であ
り、最初に検出の目標とする故障を1つ定め(以後、初
期目標故障と呼ぶ)、目標故障の検出要求を発生する初
期目標設定部12と、初期目標設定部12より出力され
る検出要求を受取り、その故障が設定されている演算単
位より入力ビット列7の方向(ファンイン側)に、演算
単位に設定すべき値を設定するよう要求するノード設定
要求部9と、ノード設定要求部9から出された設定要求
を、演算単位の’不定’入力に接続されている全てのフ
ァンイン側の演算単位に伝播する多重後方伝播部10、
さらに多重後方伝播部10で伝播され、入力ビット列7
まで到達した要求値をその入力ビット列7に設定要求す
る要求設定部11、要求設定部11で要求された値を入
力ビット列7に数ビットずつ設定していく入力設定部1
と、入力設定部1に設定された入力値よりコンカレント
故障シミュレーションを行うシミュレーション部2と、
シミュレーション部2でシミュレーションされた結果、
故障が1つも見つからなければ、終了するかどうかを判
定する終了判定部3と、終了判定部3で終了しないと判
定された時、今まで設定した入力値を変更する(以後バ
ックトラックと呼ぶ)入力設定更新部4と、故障が見つ
かった時、今まで設定した入力ビット列7を変更不可能
にする入力ビット固定部5と、他の未設定入力ビット列
7に入力を追加するように入力設定部1に指示する入力
追加指示部6と、また、シミュレーション部2において
は、演算単位毎にコンカレント故障シミュレーション
し、その正常出力結果が故障リスト演算時の出力結果と
食い違い、かつ、故障リスト演算時の値が’不定’の
時、この演算単位に’不定’な入力があると認識し、ノ
ード設定要求部9にDフロンティア存在通知を行い設定
要求を発生させるDフロンティア認識部8とから構成さ
れる。
FIG. 1 is a block diagram of an embodiment of the first invention. First, one fault to be detected is determined (hereinafter referred to as an initial target fault), and a request for detecting a target fault is generated. The initial target setting unit 12 receives a detection request output from the initial target setting unit 12, and sets a value to be set as an operation unit in the direction of the input bit string 7 (fan-in side) from the operation unit in which the failure is set. And a multiplex that propagates the setting request issued from the node setting request unit 9 to all the fan-in side operation units connected to the “undefined” input of the operation unit. Back propagation unit 10,
Further, the input bit string 7
Setting unit 11 for requesting the input bit string 7 to set the requested value that has arrived at the input setting unit 11 and setting the value requested by the request setting unit 11 to the input bit string 7 several bits at a time.
A simulation unit 2 for performing a concurrent failure simulation from an input value set in the input setting unit 1;
As a result of the simulation performed by the simulation unit 2,
If no failure is found, an end determination unit 3 that determines whether or not to end the operation, and when the end determination unit 3 determines that the operation is not to be ended, the input value set so far is changed (hereinafter referred to as a backtrack). An input setting updating unit 4; an input bit fixing unit 5 that makes it impossible to change the input bit string 7 set so far when a failure is found; and an input setting unit that adds an input to another unset input bit string 7 The input addition instructing unit 6 and the simulation unit 2 perform concurrent failure simulation for each operation unit, and the normal output result is different from the output result at the time of the failure list operation. When the value is “undefined”, it recognizes that there is an “undefined” input in this operation unit, and notifies the node setting request unit 9 of the presence of the D frontier and generates a setting request. And an ear recognition unit 8.

【0008】本発明の動作例を図1にそって、図2のフ
ローチャートを参照しながら説明する。 1.初期目標設定部12は、検出の目標とする故障を1
つ定め(以後、初期目標故障と呼ぶ)、目標故障の検出
要求を発生し、ノード設定要求部9に通知する。
An operation example of the present invention will be described with reference to FIG. 1 and a flowchart of FIG. 1. The initial target setting unit 12 sets the failure to be detected as 1
Once determined (hereinafter referred to as an initial target failure), a request for detection of a target failure is generated and notified to the node setting request unit 9.

【0009】2.ノード設定要求部9は、初期目標設定
部12より通知された演算単位がどのような入力があれ
ば故障リスト出力が’不定’でなく故障が見つかる出力
になるか演算し、そのための入力値をその演算単位に設
定してもらうように多重後方伝播部10に要求する。
[0009] 2. The node setting request unit 9 calculates what kind of input is the calculation unit notified from the initial target setting unit 12 and determines whether the failure list output is not “undefined” and becomes an output in which a failure is found, and calculates the input value for that. A request is made to the multiplex backward propagation unit 10 to have the operation unit set.

【0010】3.多重後方伝播部10は、ノード設定要
求部9から通知された演算単位が入力ビット列7でなけ
れば、通知された演算単位の設定要求のある全入力につ
いて、ファンイン側に設定すべき入力値を要求する(要
求値と呼ぶ)。その後ファンイン側の演算単位に関して
要求値を出力するための入力値(新たな要求値)を演算
しファンイン側に要求する。
[0010] 3. If the operation unit notified from the node setting request unit 9 is not the input bit string 7, the multiplex backward propagation unit 10 sets the input value to be set to the fan-in side for all inputs for which the notified operation unit setting request is issued. Request (called a request value). Thereafter, an input value (new required value) for outputting a required value for the fan-in side operation unit is calculated and requested to the fan-in side.

【0011】4.多重後方伝播部10で、入力ビット列
7まで到達した要求値があれば、要求設定部11に通知
する。
4. If there is a request value reaching the input bit string 7 in the multiplex backward propagation section 10, the request setting section 11 is notified.

【0012】5.要求設定部11は、入力ビット列7に
値を追加する時に多重後方伝播部10より通知された要
求値を要求したビット位置に設定するよう入力設定部1
に通知する。
5. The request setting unit 11 sets the request value notified from the multiplex backward propagation unit 10 to the requested bit position when adding a value to the input bit string 7.
Notify.

【0013】6.入力設定部1は、入力設定が可能であ
るか判断し(101) 、開始時には設定可能なので、要求設
定部11から通知された要求値を設定してシミュレーシ
ョン部2に通知する(103) 。 7.入力設定部1は、入力ビット列7の全てに既に入力
を設定し終えてしまって入力設定が不可能の場合(101)
、現入力ビット列を検査入力系列として登録し、入力
ビット列7を初期化した後(102) 、要求された入力値を
入力ビット列7に設定してシミュレーション部2に通知
する(103) 。
6. The input setting unit 1 determines whether the input setting is possible (101), and since it can be set at the start, sets the request value notified from the request setting unit 11 and notifies the simulation unit 2 (103). 7. If the input setting unit 1 has already set the input to all of the input bit strings 7 and cannot set the input (101)
After the current input bit sequence is registered as a test input sequence and the input bit sequence 7 is initialized (102), the requested input value is set in the input bit sequence 7 and notified to the simulation unit 2 (103).

【0014】8.シミュレーション部2は、通知された
後、入力ビット列7を入力としてコンカレント故障シミ
ュレーションを行う。この時、演算単位毎の演算終了
後、Dフロンティア認識部8を動作させる。
8. After being notified, the simulation unit 2 performs a concurrent failure simulation using the input bit string 7 as an input. At this time, the D frontier recognizing unit 8 is operated after the operation for each operation unit is completed.

【0015】9.Dフロンティア認識部8は、演算単位毎のコ
ンカレント故障シミュレーションの演算終了後、演算単
位に故障リストが発生していてかつその故障リストの演
算結果が’不定’であるかどうか調べ、条件を満たして
いれば、ノード設定要求部9に通知する。
9. After the completion of the concurrent failure simulation operation for each operation unit, the D frontier recognizing unit 8 checks whether a failure list has occurred in the operation unit and whether the operation result of the failure list is “undefined”, and satisfies the condition. If so, the node setting request unit 9 is notified.

【0016】10.終了判定部3は、シミュレーション
が行われた後、検出故障があれば入力ビット固定部5へ
通知する、検出故障がなく指定検出率に達していなけれ
ばバックトラックを行うため入力設定更新部4に通知す
る。また指定検出率に達していればそのまま実行を終了
する。
10. After the simulation is performed, the end determination unit 3 notifies the input bit fixing unit 5 if there is a detected failure, and if there is no detected failure and the specified detection rate has not been reached, the input setting update unit 4 performs backtracking. Notice. If the specified detection rate has been reached, the execution ends.

【0017】11.入力ビット固定部5は、終了判定部
3から通知されると入力ビット列7に現在設定されてい
る入力ビットの入力設定値を固定し、入力設定更新部4
による更新が不可能になるようにする。その後入力追加
指示部6に通知する。
11. When notified from the end determination unit 3, the input bit fixing unit 5 fixes the input set value of the input bit currently set in the input bit string 7, and sets the input setting update unit 4.
So that updates by After that, the input addition instructing unit 6 is notified.

【0018】12.入力追加指示部6は、入力設定部1
へまだ設定されていない入力ビットへの追加を設定する
ように指示を出す。(6.に戻る) 13.入力設定更新部4は、終了判定部3から通知され
ると入力ビット列7に現在設定されている入力ビットの
入力設定値を変更し、シミュレーション部2に通知す
る。
[12] The input addition instructing unit 6 includes the input setting unit 1
Instructs to set the addition to input bits that have not yet been set. (Return to 6.) When notified from the end determination unit 3, the input setting update unit 4 changes the input set value of the input bit currently set in the input bit string 7 and notifies the simulation unit 2 of the change.

【0019】14.ノード設定要求部9は、Dフロンティア認
識部8から通知された演算単位の故障リスト出力が’不
定’でなく故障が見つかる出力になるにはどのような入
力値があればよいか演算し、その入力値をその演算単位
に設定してもらうように要求を多重後方伝播部10に通
知する。
14. The node setting request unit 9 calculates what kind of input value is required for the fault list output of the calculation unit notified from the D frontier recognizing unit 8 to be an output in which a fault is found instead of “undefined”, and the input value is calculated. Is notified to the multiplex backward propagation unit 10 so as to be set as the operation unit.

【0020】15.多重後方伝播部10は、ノード設定
要求部9から通知された演算単位が入力ビット列7でな
ければ、通知された演算単位の設定要求のある全入力に
ついてファンイン側に設定すべき入力値を要求する(要
求値と呼ぶ)。その後ファンイン側の演算単位に関して
要求値を出力するための入力値(新たな要求値)を演算
しファンイン側に要求する。
15. If the operation unit notified from the node setting request unit 9 is not the input bit string 7, the multiplex backward propagation unit 10 requests input values to be set on the fan-in side for all inputs for which the notified operation unit setting request is issued. (Called a required value). Thereafter, an input value (new required value) for outputting a required value for the fan-in side operation unit is calculated and requested to the fan-in side.

【0021】16.多重後方伝播部10で、入力ビット
列7まで到達した要求値があれば要求設定部11に通知
する。
16. If there is a request value that has reached the input bit string 7 in the multiplex backward propagation unit 10, the request setting unit 11 is notified.

【0022】17.要求設定部11は、多重後方伝播部
10より通知された要求値があれば、入力設定部1で入
力ビット列7に値を追加するときにその要求値を要求し
たビット位置に設定するよう入力設定部1通知する。
17. If there is a request value notified from the multiplex backward propagation unit 10, the request setting unit 11 sets the input value so that when the input setting unit 1 adds a value to the input bit string 7, the request value is set to the requested bit position. Part 1 is notified.

【0023】図3は第2の発明の一実施例の構成図であ
り、最初に検出の目標とする故障(以後、初期目標故障
と呼ぶ)を各プロセッサに1個以上均等に選出するプロ
セッサ単位目標選出部14と、プロセッサ単位目標選出
部14より通知される1つ1つの初期目標故障の検出要
求を発生する初期目標設定部13と、初期目標設定部1
3より出力される検出要求を受取り、その故障が設定さ
れている演算単位より入力ビット列7の方向(ファンイ
ン側)に演算単位に設定すべき値を設定するよう要求す
るノード設定要求部9と、ノード設定要求部9から出さ
れた設定要求を演算単位の’不定’入力に接続されてい
る全てのファンイン側の演算単位に伝播する多重後方伝
播部10と、さらに多重後方伝播部10で伝播され入力
ビット列7まで到達した要求値をその入力ビット列7に
設定要求する要求設定部11と、要求設定部11で要求
された値を入力ビット列7に数ビットずつ設定していく
入力設定部1と、入力設定部1に設定された入力値より
コンカレント故障シミュレーションを行うシミュレーシ
ョン部2と、シミュレーション部2でシミュレーション
された結果、故障が1つも見つからなければ、終了する
かを判定する終了判定部3と、終了判定部3で終了しな
いと判定された時、今まで設定した入力値を変更する
(以後バックトラックと呼ぶ)入力設定更新部4と、故
障が見つかった時、今まで設定した入力ビット列7を変
更不可能にする入力ビット固定部5と、他の未設定入力
ビット列7に入力を追加するように入力設定部1に指示
する入力追加指示部6と、シミュレーション部2におい
て、演算単位毎にコンカレント故障シミュレーション
し、その正常出力結果が故障リスト演算時の出力結果と
食い違い、かつ故障リスト演算時の値が’不定’の時、
この演算単位に’不定’な入力があると認識し、ノード
設定要求部9にDフロンティア存在通知を行い設定要求
を発生させるDフロンティア認識部8から構成される。
FIG. 3 is a block diagram of an embodiment of the second invention, in which a processor unit for uniformly selecting one or more faults to be detected first (hereinafter referred to as initial target faults) equally for each processor. A target selecting unit 14, an initial target setting unit 13 that generates a request for detecting each initial target failure notified by the processor unit target selecting unit 14, and an initial target setting unit 1
A node setting request unit 9 for receiving a detection request output from the node 3 and requesting to set a value to be set in the operation unit in the direction of the input bit string 7 (fan-in side) from the operation unit in which the fault is set. A multi-back propagation unit 10 for propagating the setting request issued from the node setting request unit 9 to all the operation units on the fan-in side connected to the "undefined" input of the operation unit; A request setting unit 11 for requesting the input bit string 7 to set a request value that has been propagated and reaching the input bit string 7, and an input setting unit 1 for setting the value requested by the request setting unit 11 to the input bit string 7 several bits at a time. And a simulation unit 2 for performing a concurrent failure simulation based on the input value set in the input setting unit 1. If none is found, an end determination unit 3 that determines whether to end, and an input setting update unit that changes the input value set up to now (hereinafter referred to as backtrack) when the end determination unit 3 determines that the operation is not to end. 4, an input bit fixing unit 5 for making the input bit string 7 set so far unchangeable when a failure is found, and an input setting unit 1 to instruct the input setting unit 1 to add an input to another unset input bit string 7. In the input addition instructing unit 6 and the simulation unit 2, when a concurrent failure simulation is performed for each operation unit, the normal output result is different from the output result at the time of the failure list operation, and the value at the time of the failure list operation is “undefined”,
A D frontier recognizing unit 8 that recognizes that there is an “undefined” input in this operation unit, notifies the node setting requesting unit 9 of the presence of the D frontier, and generates a setting request.

【0024】次に、本発明の動作例を図3にそって、図
2のフローチャートを参照しながら説明する。
Next, an operation example of the present invention will be described with reference to FIG. 3 and a flowchart of FIG.

【0025】1.最初にプロセッサ単位目標選出部14
は、検出の目標とする初期目標故障を、並列処理を行う
各プロセッサに1個以上均等に選出する。各プロセッサ
において、以下の処理が行われる 2.初期目標設定部13は、プロセッサ単位目標選出部
14により当該プロセッサに割り当てられた初期目標故
障の検出要求を発生し、ノード設定要求部9に通知す
る。
1. First, the processor unit target selection unit 14
Selects uniformly one or more initial target faults to be detected by each processor performing the parallel processing. 1. The following processing is performed in each processor. The initial target setting unit 13 generates a detection request for an initial target failure assigned to the processor by the processor unit target selection unit 14 and notifies the node setting request unit 9 of the request.

【0026】3.ノード設定要求部9は、初期目標設定
部13より通知された演算単位がどのような入力があれ
ば故障リスト出力が’不定’でなく故障が見つかる出力
になるか演算し、そのための入力値をその演算単位に設
定してもらうように多重後方伝播部10に要求する。
3. The node setting request unit 9 calculates what kind of input the calculation unit notified from the initial target setting unit 13 is, and outputs a fault list output that is not “undefined” and a fault is found, and calculates an input value for that. A request is made to the multiplex backward propagation unit 10 to have the operation unit set.

【0027】4.多重後方伝播部10は、ノード設定要
求部9から通知された演算単位が入力ビット列7でなけ
れば、通知された演算単位の設定要求のある全入力につ
いてファンイン側に設定すべき入力値を要求する(要求
値と呼ぶ)。その後ファンイン側の演算単位に関して要
求値を出力するための入力値(新たな要求値)を演算し
ファンイン側に要求する。
4. If the operation unit notified from the node setting request unit 9 is not the input bit string 7, the multiplex backward propagation unit 10 requests input values to be set on the fan-in side for all inputs for which the notified operation unit setting request is issued. (Called a required value). Thereafter, an input value (new required value) for outputting a required value for the fan-in side operation unit is calculated and requested to the fan-in side.

【0028】5.多重後方伝播部10で、入力ビット列
7まで到達した要求値があれば要求設定部11に通知す
る。
5. If there is a request value that has reached the input bit string 7 in the multiplex backward propagation unit 10, the request setting unit 11 is notified.

【0029】6.要求設定部11は、入力ビット列7に
値を追加する時に多重後方伝播部10より通知された要
求値を、要求したビット位置に設定するよう入力設定部
1に通知する。
6. The request setting unit 11 notifies the input setting unit 1 of setting the request value notified by the multiplex backward propagation unit 10 at the requested bit position when adding a value to the input bit string 7.

【0030】7.入力設定部1は、入力設定が可能であ
るか判断し(101) 、開始時には設定可能なので、要求設
定部11から通知された要求値を設定してシミュレーシ
ョン部2に通知する(103) 。 8.入力設定部1は、入力ビット列7の全てに既に入力
を設定し終えてしまって入力設定が不可能の場合(101)
、現入力ビット列を検査入力系列として登録し、入力
ビット列7を初期化した後(102) 、要求された入力値を
入力ビット列7に設定してシミュレーション部2に通知
する(103) 。
[7] The input setting unit 1 determines whether the input setting is possible (101), and since it can be set at the start, sets the request value notified from the request setting unit 11 and notifies the simulation unit 2 (103). 8. If the input setting unit 1 has already set the input to all of the input bit strings 7 and cannot set the input (101)
After the current input bit sequence is registered as a test input sequence and the input bit sequence 7 is initialized (102), the requested input value is set in the input bit sequence 7 and notified to the simulation unit 2 (103).

【0031】9.シミュレーション部2は、通知された
後入力ビット列7を入力としてコンカレント故障シミュ
レーションを行う。この時、演算単位毎の演算終了後、
Dフロンティア認識部8を動作させる。
9. After being notified, the simulation unit 2 performs a concurrent failure simulation using the input bit string 7 as an input. At this time, after the end of the operation for each operation unit,
The D frontier recognition unit 8 is operated.

【0032】10.Dフロンティア認識部8は、演算単位毎の
コンカレント故障シミュレーションの演算終了後、演算
単位に故障リストが発生していてかつその故障リストの
演算結果が’不定’であるかどうか調べ、条件を満たし
ていればノード設定要求部9に通知する。
10. After the completion of the concurrent failure simulation operation for each operation unit, the D frontier recognizing unit 8 checks whether a failure list has occurred in the operation unit and whether the operation result of the failure list is “undefined”, and satisfies the condition. If so, the node setting request unit 9 is notified.

【0033】11.終了判定部3は、シミュレーション
が行われた後、検出故障があれば入力ビット固定部5へ
通知する。検出故障がなく指定検出率に達していなけれ
ば、バックトラックを行うため入力設定更新部4に通知
する。また指定検出率に達していればそのまま実行を終
了する。
11. After the simulation is performed, the end determination unit 3 notifies the input bit fixing unit 5 if there is a detection failure. If there is no detection failure and the designated detection rate has not been reached, the input setting updating unit 4 is notified to perform backtracking. If the specified detection rate has been reached, the execution ends.

【0034】12.入力ビット固定部5は、終了判定部
3から通知されると入力ビット列7に現在設定されてい
る入力ビットの入力設定値を固定し、入力設定更新部4
による更新が不可能になるようにする。その後入力追加
指示部6に通知する。
12. When notified from the end determination unit 3, the input bit fixing unit 5 fixes the input set value of the input bit currently set in the input bit string 7, and sets the input setting update unit 4.
So that updates by After that, the input addition instructing unit 6 is notified.

【0035】13.力追加指示部6は、入力設定部1へ
まだ設定されていない入力ビットへの追加を設定するよ
うに指示を出す。(7.に戻る) 14.入力設定更新部4は、終了判定部3から通知され
ると入力ビット列7に現在設定されている入力ビットの
入力設定値を変更しシミュレーション部2に通知する。
13. The force addition instructing unit 6 instructs the input setting unit 1 to set addition to an input bit that has not been set yet. (Return to 7.) When notified from the end determination unit 3, the input setting update unit 4 changes the input set value of the input bit currently set in the input bit string 7 and notifies the simulation unit 2 of the change.

【0036】15.ノード設定要求部9は、Dフロンティア認
識部8から通知された演算単位の故障リスト出力が’不
定’でなく故障が見つかる出力になるにはどのような入
力値があればよいか演算し、その入力値をその演算単位
に設定してもらうように要求を多重後方伝播部10に通
知する。
15. The node setting request unit 9 calculates what kind of input value is required for the fault list output of the calculation unit notified from the D frontier recognizing unit 8 to be an output in which a fault is found instead of “undefined”, and the input value is calculated. Is notified to the multiplex backward propagation unit 10 so as to be set as the operation unit.

【0037】16.多重後方伝播部10は、ノード設定
要求部9から通知された演算単位が入力ビット列7でな
ければ、通知された演算単位の設定要求のある全入力に
ついて、ファンイン側に設定すべき入力値を要求する。
その後ファンイン側の演算単位に関して要求値を出力す
るための入力値(新たな要求値)を演算し、ファンイン
側に要求する。
16. If the operation unit notified from the node setting request unit 9 is not the input bit string 7, the multiplex backward propagation unit 10 sets the input value to be set to the fan-in side for all inputs for which the notified operation unit setting request is issued. Request.
Thereafter, an input value (new required value) for outputting a required value is calculated for the fan-in side calculation unit, and a request is made to the fan-in side.

【0038】17.多重後方伝播部10で、入力ビット
列7まで到達した要求値があれば要求設定部11に通知
する。
17. If there is a request value that has reached the input bit string 7 in the multiplex backward propagation unit 10, the request setting unit 11 is notified.

【0039】18.要求設定部11は、多重後方伝播部
10より通知された要求値があれば、入力設定部1で入
力ビット列7に値を追加するときにその要求値を要求し
たビット位置に設定するよう入力設定部1通知する。
18. If there is a request value notified from the multiplex backward propagation unit 10, the request setting unit 11 sets the input value so that when the input setting unit 1 adds a value to the input bit string 7, the request value is set to the requested bit position. Part 1 is notified.

【0040】[0040]

【発明の効果】以上説明したように第1の発明は、無作
為でなく常に要求値により入力値を決めるので、見つけ
る故障の数が多い高品質のパターンを発生することがで
きる効果がある。さらに第2の発明は、第1の発明に加
え多くの故障を対象とし並列実行を行って高品質のパタ
ーンを短時間で発生することができる効果がある。
As described above, the first aspect of the present invention has the effect of generating a high-quality pattern with a large number of faults to be found, since the input value is always determined not by random but by a required value. Further, the second invention has an effect that a high-quality pattern can be generated in a short time by performing parallel execution for many failures in addition to the first invention.

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

【図1】第1の発明の一実施例を示すブロック図であ
る。
FIG. 1 is a block diagram showing an embodiment of the first invention.

【図2】本実施例の入力設定部内部のフローチャートで
ある。
FIG. 2 is a flowchart inside an input setting unit of the embodiment.

【図3】第2の発明の一実施例を示すブロック図であ
る。
FIG. 3 is a block diagram showing one embodiment of the second invention.

【符号の説明】 1 入力設定部 2 シミュレーション部 3 終了判定部 4 入力設定更新部 5 入力ビット固定部 6 入力追加指示部 7 入力ビット列 8 Dフロンティア認識部 9 ノード設定要求部 10 多重後方伝播部 11 要求設定部 12,13 初期目標設定部 14 プロセッサ単位目標選出部[Description of Signs] 1 input setting unit 2 simulation unit 3 end determination unit 4 input setting updating unit 5 input bit fixing unit 6 input addition instructing unit 7 input bit string 8 D frontier recognition unit 9 node setting request unit 10 multiplex backward propagation unit 11 Requirement setting unit 12, 13 Initial target setting unit 14 Processor unit target selection unit

フロントページの続き (58)調査した分野(Int.Cl.6,DB名) G01R 31/28 G06F 11/25 G06F 17/50Continuation of the front page (58) Field surveyed (Int.Cl. 6 , DB name) G01R 31/28 G06F 11/25 G06F 17/50

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】プロセッサにおける最初に故障検出の目標
とする演算単位の第1の故障検出要求を発生する初期目
標設定部と、前記第1の故障検出要求および第2の故障
検出要求を受取り前記故障が設定されている演算単位の
入力ビット列の方向であるファンイン側に前記演算単位
の故障リストから故障がみつかるように設定すべき値の
設定要求を出力するノード設定要求部と、前記ノード設
定要求部の設定値を前記演算単位の’不定’入力に接続
されている全ての前記ファンイン側の演算単位に伝播す
る多重後方伝播部と、前記多重後方伝播部で伝播され前
記入力ビット列まで到達した前記設定値を前記入力ビッ
ト列に設定要求する要求設定部と、前記入力ビット列設
定要求および入力ビット列追加要求を受けて要求された
値を前記入力ビット列に予め決められたビットずつ設定
していく入力設定部と、前記入力ビット列に設定された
入力値よりコンカレント故障シミュレーションを行うシ
ミュレーション部と、前記シミュレーション部でシミュ
レーションされた結果故障が1つも見つからなければ終
了するかどうかを判定する終了判定部と、前記終了判定
部で終了しないと判定された時前記入力ビット列に設定
した入力値を変更する入力設定更新部と、前記故障が見
つかった時前記入力ビット列に設定した入力値を変更不
可能にする入力ビット固定部と、前記入力ビット固定部
からの指示により他の未設定の前記入力ビット列に入力
を追加するように前記入力ビット列追加要求を出力する
入力追加指示部と、前記故障シミュレーションによる前
記演算単位の前記故障リスト出力の値が’不定’の時前
記第2の故障検出要求を出力するDフロンティア認識部
とを備えることを特徴とするハードウェアシミュレータ
を用いた検査入力系列の自動生成方式。
An initial target setting unit for first generating a first failure detection request of an operation unit targeted for failure detection in the processor; receiving the first failure detection request and the second failure detection request; A node setting request unit that outputs a request for setting a value to be set so that a failure is found from the failure list of the operation unit to the fan-in side, which is the direction of the input bit string of the operation unit in which the failure is set, and the node setting A multiplex back propagation unit that propagates the setting value of the request unit to all the operation units on the fan-in side connected to the 'undefined' input of the operation unit; A request setting unit for requesting the input bit string to set the set value, and receiving the input bit string setting request and the input bit string addition request to set the requested value to the input bit string. An input setting unit for setting a predetermined bit at a time, a simulation unit for performing a concurrent failure simulation based on an input value set for the input bit string, and if no failure is found as a result of simulation by the simulation unit. An end determination unit for determining whether or not to end, an input setting updating unit for changing an input value set in the input bit string when the end determination unit determines that the processing is not to be ended, and the input bit string when the failure is found An input bit fixing unit for making the input value set to be unchangeable, and an input for outputting the input bit string addition request so as to add an input to another unset input bit string according to an instruction from the input bit fixing unit An additional instructing unit, wherein the value of the fault list output of the operation unit by the fault simulation is An automatic generation method of a test input sequence using a hardware simulator, comprising: a D frontier recognizing unit that outputs the second failure detection request when “undefined”.
【請求項2】並列処理を行う複数のプロセッサにおける
最初に目標とする初期目標故障の前記演算単位を各プロ
セッサに1個以上均等に選出するプロセッサ単位目標選
出部と、選出された前記演算単位について第1の故障検
出要求を発生する前記初期目標設定部とを備えることを
特徴とする請求項1記載のハードウェアシミュレータを
用いた検査入力系列の自動生成方式。
2. A processor unit target selection section for uniformly selecting one or more operation units of an initial target failure initially targeted by a plurality of processors performing parallel processing for each processor, and the selected operation units. The method according to claim 1, further comprising the initial target setting unit configured to generate a first failure detection request.
JP4271526A 1992-10-09 1992-10-09 Automatic generation of test input sequence using hardware simulator Expired - Fee Related JP2855999B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4271526A JP2855999B2 (en) 1992-10-09 1992-10-09 Automatic generation of test input sequence using hardware simulator

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4271526A JP2855999B2 (en) 1992-10-09 1992-10-09 Automatic generation of test input sequence using hardware simulator

Publications (2)

Publication Number Publication Date
JPH06123760A JPH06123760A (en) 1994-05-06
JP2855999B2 true JP2855999B2 (en) 1999-02-10

Family

ID=17501298

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4271526A Expired - Fee Related JP2855999B2 (en) 1992-10-09 1992-10-09 Automatic generation of test input sequence using hardware simulator

Country Status (1)

Country Link
JP (1) JP2855999B2 (en)

Also Published As

Publication number Publication date
JPH06123760A (en) 1994-05-06

Similar Documents

Publication Publication Date Title
JP4488595B2 (en) Test pattern generation method
US6077304A (en) Verification system for simulator
US5373514A (en) Three-state bus structure and method for generating test vectors while avoiding contention and/or floating outputs on the three-state bus
US20030093765A1 (en) Method and system for robust distributed circuit synthesis
JP2001099901A (en) Test pattern compression method, test pattern compression apparatus and system, and recording medium
JP2953975B2 (en) Test pattern generation device and test pattern generation method
US6918076B2 (en) Method for providing bitwise constraints for test generation
CN114064435A (en) Database test method, device, medium and electronic equipment
JP2855999B2 (en) Automatic generation of test input sequence using hardware simulator
JP2855992B2 (en) Automatic generation of test input sequence
US6789222B2 (en) Single-pass methods for generating test patterns for combinational circuits
JPH0213868A (en) Cost function control searching method
US20020156608A1 (en) Integrated testcase language for hardware design verification
US11176299B1 (en) Analysis of signal transitions in feedback circuits
JP2785901B2 (en) Test sequence generation method and test sequence generation device
JPH0926986A (en) Test pattern generation method and delay verification method
Manikandan et al. An enhanced path delay fault simulator for combinational circuits
JP2597760B2 (en) Path activation method
JP3265384B2 (en) Logic simulation method and logic simulation device used therefor
JPH08339389A (en) Logic simulation device
JP3101872B2 (en) Logic synthesis support method and system
Pomeranz et al. On the characterization and efficient computation of hard-to-detect bridging faults
JP2996293B2 (en) Failure simulation method
JPH07159499A (en) Logical circuit principle undetected failure determination method and test pattern generation method
JP2936862B2 (en) Logic verification device

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 19981027

LAPS Cancellation because of no payment of annual fees