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
JP2885051B2 - Failure simulation method - Google Patents
[go: Go Back, main page]

JP2885051B2 - Failure simulation method - Google Patents

Failure simulation method

Info

Publication number
JP2885051B2
JP2885051B2 JP6013929A JP1392994A JP2885051B2 JP 2885051 B2 JP2885051 B2 JP 2885051B2 JP 6013929 A JP6013929 A JP 6013929A JP 1392994 A JP1392994 A JP 1392994A JP 2885051 B2 JP2885051 B2 JP 2885051B2
Authority
JP
Japan
Prior art keywords
fault
failure
list
change
pattern
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
JP6013929A
Other languages
Japanese (ja)
Other versions
JPH07218597A (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 JP6013929A priority Critical patent/JP2885051B2/en
Publication of JPH07218597A publication Critical patent/JPH07218597A/en
Application granted granted Critical
Publication of JP2885051B2 publication Critical patent/JP2885051B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • 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 fault simulation method, and more particularly to a fault simulation method for a delay fault in which a signal delay value of a logic circuit is out of an allowable range.

【0002】[0002]

【従来の技術】論理回路はANDやOR等のゲート回路
やフリップフロップやインバータ等の論理素子を組合せ
所望の論理動作を実現するが、これら論理素子を用いた
同相転送回路や自己ループ回路や微分回路などの遅延利
用回路が含まれている。これらの回路は、分岐後の信号
が再度合成される再収斂経路の信号伝播遅延時間の差を
利用して動作する回路であり、素子遅延時間や配線遅延
時間を厳密に考慮して設計される。これらの遅延時間が
許容値を外れると上記論理回路の動作が不安定となり、
いわゆる遅延故障状態となる。したがって、このような
遅延利用回路をシミュレーションする場合にも厳密な遅
延時間の取扱いが必要である。
2. Description of the Related Art A logic circuit realizes a desired logic operation by combining gate circuits such as AND and OR, and logic elements such as flip-flops and inverters. A delay utilization circuit such as a circuit is included. These circuits operate using a difference in signal propagation delay time of a reconvergent path on which a signal after branching is recombined, and are designed in strict consideration of element delay time and wiring delay time. . If these delay times deviate from the allowable values, the operation of the logic circuit becomes unstable,
This is a so-called delay failure state. Therefore, it is necessary to strictly handle the delay time even when simulating such a delay utilizing circuit.

【0003】一方、故障シミュレーションは、上述のよ
うな被検査論理回路のテストパターンに対する故障の振
舞いを忠実にシミュレーションする必要があり、この故
障シミュレーション実行時には、テスト対象の複数の入
力外部信号の変化開始タイミングのばらつきであるテス
タスキューや、素子や配線の遅延時間のばらつきを考慮
しなければならない。
On the other hand, in the fault simulation, it is necessary to faithfully simulate the behavior of a fault with respect to the test pattern of the logic circuit to be tested as described above. When executing the fault simulation, a change in a plurality of input external signals to be tested starts. It is necessary to consider tester skew, which is variation in timing, and variation in delay time of elements and wiring.

【0004】従来の一般的な故障シミュレーション方法
すなわち第1の故障シミュレーション方法では、検証対
象論理回路の信号値が1つの値に固定されてしまうよう
な故障を対象とし、上述のような遅延故障を対象とはし
ていなかった。また、1992年11月に米国で発行さ
れたアイイーイーイー・コンピュータ・ソサイェティ・
テスト・テクノロジ・テクニカル・コミッティ(IEE
E ComputerSociety Test Te
chnology Technical Comitt
ee)主催のフアースト・アジア・テスト・シンポジュ
ームのプロシーデング(Proceedings Fi
rst Asian Test Syposium:A
TS’92)第52頁〜第56頁所載の論文「パスデレ
イ・フオールトシミュレーション・アルゴリズムス・フ
ォア・シーケンシャルサーキッツ(Path Dela
y Fault Simulation Algori
thms for Sequential Circu
its)(文献1)記載の故障シミュレーションのよう
に遅延故障を扱う第2の故障シミュレーション方法も提
案されているが、特別な論理を定義するとともに各素子
についても特別な演算を必要とするため、上述の第1の
故障シミュレーションを実行する第1の故障シミュレー
タの演算処理部を利用することは不可能であり、複雑な
演算のために大きな計算時間を必要としていた。
In the conventional general fault simulation method, that is, the first fault simulation method, a fault in which the signal value of the logic circuit to be verified is fixed to one value is targeted, and the above-described delay fault is performed. It was not targeted. IEE Computer Society, issued in the United States in November 1992
Test Technology Technical Committee (IEEE)
E Computer Society Test Te
Chronology Technical Commit
ee) The First Asia Test Symposium sponsored by Proceedings Fi
rst Asian Test Syposium: A
TS'92) pp. 52-56, "Path Delay Fault Simulation Algorithms for Sequential Circuits (Path Dela)
y Fault Simulation Algori
thms for Sequential Circuit
Its) A second fault simulation method for handling delay faults such as the fault simulation described in (Reference 1) has been proposed. However, since a special logic is defined and a special operation is required for each element, It is impossible to use the arithmetic processing unit of the first fault simulator that executes the above-described first fault simulation, and a large calculation time is required for complicated calculations.

【0005】故障シミュレーション対象の第1の論理回
路の一例を示す図3を参照すると、この第1の論理回路
はそれぞれ入力信号I1,I2,I3の供給を受ける入
力用の端子T1,T2,T3と、演算素子であるAND
ゲートG1,G2と、出力信号O1を出力する出力用の
端子T14とを備える。
Referring to FIG. 3 showing an example of a first logic circuit to be simulated for failure, the first logic circuit has input terminals T1, T2, T3 which receive supply of input signals I1, I2, I3, respectively. And AND which is an arithmetic element
It has gates G1 and G2 and an output terminal T14 for outputting an output signal O1.

【0006】図3に示す回路の故障が存在しない場合す
なわち正常動作の場合の回路の信号値を示す表1を参照
すると、この表の縦の列で示す素子名とは入力端子と出
力端子およびANDゲートG1,G2の各々出力信号
A,Bの値を示す。横の行ではパターン番号を示す。上
記回路の値は入力端子についてはテストパターンにおけ
る各パターンの最初の設定値を、各演算素子および出力
端子については供給を受けた入力信号の変化に応答して
変化し終った時点での値すなわち各パターンの最終値を
それぞれ示す。
Referring to Table 1 showing the signal values of the circuit in the case where there is no failure of the circuit shown in FIG. 3, that is, in the case of normal operation, the element names shown in the vertical columns of the table are input terminals, output terminals and The values of the output signals A and B of the AND gates G1 and G2 are shown. The horizontal line shows the pattern number. The value of the above circuit is the initial set value of each pattern in the test pattern for the input terminal, and the value at the time when the change ends in response to the change of the supplied input signal for each arithmetic element and output terminal, that is, The final value of each pattern is shown.

【0007】[0007]

【表1】 [Table 1]

【0008】ここで、出力端子における観測時刻は各パ
ターンの最後のタイミングとし、故障により許容範囲を
越える遅延すなわち遅延故障とは上記遅延により各パタ
ーンの終りまでに所定の変化が完了しない故障であると
する。
Here, the observation time at the output terminal is the last timing of each pattern, and a delay exceeding an allowable range due to a failure, that is, a delay failure is a failure in which a predetermined change is not completed by the end of each pattern due to the delay. And

【0009】表2を参照すると、従来の第1の故障シミ
ュレーション方法による各パターン対応の故障情報の集
合すなわち故障リストの演算結果を示す。この表で定義
した故障は入力端子および出力端子を除いた内部の演算
素子すなわちゲートG1,G2のそれぞれの出力A,B
の故障であるとする。
Referring to Table 2, there is shown a set of fault information corresponding to each pattern, that is, a calculation result of a fault list according to the first conventional fault simulation method. The faults defined in this table correspond to the internal arithmetic elements excluding the input terminal and the output terminal, that is, the respective outputs A and B of the gates G1 and G2.
Is assumed to be a failure.

【0010】[0010]

【表2】 [Table 2]

【0011】表2に示された故障情報は、2つの:(コ
ロン)で仕切られた3つの項からなり、第1項は「故障
の存在する素子名/故障時の値」から成る伝播故障の種
類を示す。「故障時の値」は故障の存在のため示される
異常値のことであり、0は正常値論理1に対し故障のた
め論理0にとどまっていることを、また1は正常値論理
0に対し故障のため論理1にとどまっていることをそれ
ぞれ示す。第2項および第3項は素子名列に示される素
子に上記故障が伝播したときの対象素子のそれぞれ入力
値および出力値を示す。複数の入力を有する素子の上記
入力値は、図3における対応素子の上側から下側への端
子入力の順に示す。
The fault information shown in Table 2 consists of three items separated by two colons (colon), and the first item is a propagation fault consisting of "element name where fault exists / value at fault". Indicates the type of “Value at the time of failure” is an abnormal value indicated by the presence of a failure. 0 is a normal value logic 1 and remains at logic 0 due to failure. 1 is a normal value logic 0 It indicates that the state remains at logic 1 due to a failure. The second and third terms respectively show the input value and output value of the target element when the fault propagates to the element shown in the element name column. The input values of an element having a plurality of inputs are shown in the order of terminal input from the upper side to the lower side of the corresponding element in FIG.

【0012】ここで、この第1の従来のシミュレーショ
ン方法において、テストパターンの第2パターン目にお
いてANDゲートG1の出力Aに生成された故障情報
[A/0:11:0]に着目する。この故障情報は、上
記第2パターン目ではANDゲートG2の下側の入力す
なわち入力I3の値が論理0であるためこの出力Bは論
理0のままであり、出力端子T14に伝播せず出力O1
も論理0であるので、この第2パターン内では検出不可
能な故障である。次に、第3パターン目に移行した場
合、出力Aの値論理0はそのまま保持され、入力I3の
値が論理1となることにより出力Bの値論理0が出力O
1に故障情報として伝播し、したがって、この故障は第
3パターン目で検出されると判断される。しかるに、出
力Aの値が正常回路で論理0から論理1に変化したのは
第2パターン目であり、出力Aの値の変化が1パターン
以上の時間を要した場合でもその変化が第3パターン目
の観測時刻までには端子T14まで伝播している可能性
もある。このような場合に第3パターン目で観測するだ
けでは、出力Aの値の変化が1パターン以内に出力端子
まで伝播しないような故障が存在していても、出力Oの
値が正常状態と同一となる場合が存在し、したがって、
この第1の従来の故障シミュレーション方法では、この
種の遅延故障の検出・判定は不可能である。
Here, in the first conventional simulation method, attention is paid to the failure information [A / 0: 11: 0] generated at the output A of the AND gate G1 in the second test pattern. In this failure pattern, the output B remains at logic 0 because the value of the lower input of the AND gate G2, that is, the value of the input I3 is logic 0 in the second pattern, and the output O1 does not propagate to the output terminal T14.
Is also a logical 0, and is a failure that cannot be detected in the second pattern. Next, when the process proceeds to the third pattern, the value logic 0 of the output A is held as it is, and the value of the input I3 becomes the logic 1, so that the value logic 0 of the output B becomes the output O.
1 as fault information, and therefore, it is determined that this fault is detected in the third pattern. However, it is the second pattern that the value of the output A changes from logic 0 to logic 1 in the normal circuit. Even if the change of the value of the output A takes more than one pattern, the change is the third pattern. By the time the eye is observed, it may have propagated to the terminal T14. In such a case, simply observing in the third pattern, even if there is a failure such that the change in the value of the output A does not propagate to the output terminal within one pattern, the value of the output O is the same as in the normal state. And therefore,
In the first conventional failure simulation method, detection and determination of this kind of delay failure is impossible.

【0013】次に、表3〜表5を参照して文献1に示す
従来の第2の故障シミュレーション方法について説明す
る。
Next, a second conventional fault simulation method shown in Reference 1 will be described with reference to Tables 3 to 5.

【0014】表3は従来の第2の故障シミュレーション
方法における13種類の状態値とこれら状態値に対応す
るコードとを示し、表4は表3に示したコード対応の入
力変化が生じたときの2入力ANDゲートの演算結果を
コードで示し、表5は図3の回路に表1のパターンを与
えたときの演算結果を示す。
Table 3 shows 13 kinds of state values and codes corresponding to these state values in the second conventional fault simulation method, and Table 4 shows a case where an input change corresponding to the codes shown in Table 3 occurs. The operation results of the two-input AND gate are shown by codes, and Table 5 shows the operation results when the circuit of FIG.

【0015】[0015]

【表3】 [Table 3]

【0016】[0016]

【表4】 [Table 4]

【0017】[0017]

【表5】 [Table 5]

【0018】表3を参照すると、この表の縦の列で示す
13種類の状態値は、相続く2つのクロック期間の信号
値の変化状態をハザード(スパイク等複数変化を起す可
能性の障害)の有無と組合せて示したものである。左端
の値が変化前の、右端の値が変化後の値をそれぞれ示
し、論理0,1および不定値Xで表す。中央の2つの縦
線間の記号は変化状態を示し、hはハザード有り、nh
はハザード無し、〜(鼻音記号)はハザードの有無が不
確定あるいは観測上無意味(ドントケア)な変化をそれ
ぞれ表す。例えば、[1|h|0]はハザードが有る場
合の論理1から論理0への状態変化を、[1|nh|
0]はハザードが無い場合の論理1から論理0への状態
変化をそれぞれ示す。
Referring to Table 3, the 13 types of state values shown in the vertical columns of the table indicate the change state of the signal value in two consecutive clock periods as a hazard (a failure that may cause a plurality of changes such as spikes). Are shown in combination with the presence or absence of. The leftmost value indicates the value before the change, and the rightmost value indicates the value after the change, which are represented by logic 0, 1 and an indefinite value X. The symbol between the two vertical lines at the center indicates a change state, h indicates a hazard, nh
Indicates no hazard, and ~ (nasal symbol) indicates a change in which the presence or absence of the hazard is uncertain or observationally meaningless (don't care). For example, [1 | h | 0] represents a state change from logic 1 to logic 0 when there is a hazard, as [1 | nh |
0] indicates a state change from logic 1 to logic 0 when there is no hazard.

【0019】表5を参照すると、この表の縦の列で表1
と同様の素子名と、横の行でテストパターンのパターン
番号とを示す。例えば、入力I1が第1パターンでは論
理不定からドントケア状態で論理0に変化し、第2パタ
ーンで論理0からハザード無しで論理1に変化したこと
が示される。
Referring to Table 5, the vertical columns of Table 1 represent Table 1.
The element names similar to the above and the pattern numbers of the test patterns are shown in the horizontal rows. For example, it indicates that the input I1 has changed from logic undefined in the first pattern to logic 0 in the don't care state, and has changed from logic 0 to logic 1 without hazard in the second pattern.

【0020】このように、信号伝播のシミュレーション
を実行する場合には、特別な状態値を定義して、これら
状態値に対して素子の種類毎に特別な演算処理を実行す
る必要があるので、上述の第1の故障シミュレーション
方法の演算処理部および演算ライブラリの利用でこの第
2の故障シミュレーション方法の故障シミュレーション
の実行が不可能である上に、演算時間の増大要因となる
複雑な演算処理を行う必要がある。
As described above, when a signal propagation simulation is performed, it is necessary to define special state values and execute special arithmetic processing for these state values for each element type. The use of the operation processing unit and the operation library of the above-described first failure simulation method makes it impossible to execute the failure simulation of the second failure simulation method, and performs complicated operation processing that causes an increase in operation time. There is a need to do.

【0021】[0021]

【発明が解決しようとする課題】上述した従来の第1の
故障シミュレーション方法は、検証対象論理回路の出力
値が1つの値に固定されてしまうような故障を対象と
し、遅延故障の検出・判定能力を持たないという欠点が
あった。
The above-mentioned first conventional fault simulation method targets a fault in which the output value of a logic circuit to be verified is fixed to one value, and detects and determines a delay fault. There was a drawback of not having the ability.

【0022】また、遅延故障を対象とする従来の第2の
故障シミュレーション方法は、特別な状態値を定義する
とともに各素子についても特別な演算を必要とするた
め、上記第1の故障シミュレーション方法の演算処理部
を利用することは不可能であり、複雑な演算のための大
きな計算時間を必要とするという欠点があった。
In the second conventional fault simulation method for delay faults, a special state value is defined and a special operation is required for each element. It is impossible to use the arithmetic processing unit, and there is a disadvantage that a large calculation time is required for a complicated operation.

【0023】[0023]

【課題を解決するための手段】本発明の故障シミュレー
ション方法は、外部入力端子に供給される予め定めたク
ロックサイクル数の期間を1パターン期間とするテスト
パターンに起因して発生する論理回路内の回路素子の信
号変化を逐一追跡し前記1パターン期間内で前記信号変
化が終了しない故障である遅延故障を検出する故障シミ
ュレーション方法において、前記回路素子の入力および
出力端子およびこの入力および出力端子の各々に接続す
る配線部分に集中して前記遅延故障が存在する故障モデ
ルを設定し、前記1パターン期間単位で正常な第1の論
理回路と前記遅延故障が存在する第2の論理回路とに対
してそれぞれ演算を実行し、任意の前記1パターン期間
である第1のパターン期間において前記第2の論理回路
内の前記遅延故障が発生した第1の回路素子の特定情報
と前記遅延故障に起因する前記第1の回路素子の第1の
出力値の正常値に対する変化情報とを含む第1の故障情
報を生成し、前記第1のパターン期間の次の第2のパタ
ーン期間において前記第1の出力値の変化の有無を判定
し、前記第1の出力値の変化が無い場合に前記第1の回
路素子の対象故障のリストである第1の故障リストから
前記第1の故障情報を削除し、前記第1の出力値の変化
が有る場合に前記第1の故障情報を前記第1の故障リス
トに追加し、前記第1の故障リストの変化の有無を判定
し、前記第1の故障リストの変化の有の場合にこの変化
対応の演算を行い第2の故障情報を付加し前記第1の故
障リストを更新して第2の故障リストを生成し、前記第
2の故障リストを前記第1の回路素子の出力の伝播先の
第2の回路素子に伝播し、前記第1または第2の故障リ
ストが前記第2の論理回路の観測可能点に伝播したとき
前記第1または第2の故障情報を検出可能と判定するこ
とを特徴とするものである。
According to the present invention, there is provided a method for simulating a fault in a logic circuit which is generated due to a test pattern in which a period of a predetermined number of clock cycles supplied to an external input terminal is one pattern period. In a failure simulation method for tracking a signal change of a circuit element one by one and detecting a delay fault which is a failure where the signal change does not end within the one pattern period, an input terminal and an output terminal of the circuit element and each of the input and output terminals A fault model in which the delay fault exists is concentrated on a wiring portion connected to the first logic circuit, and a normal first logic circuit and a second logic circuit in which the delay fault exists are defined in units of one pattern period. The delay fault in the second logic circuit is performed in a first pattern period that is an arbitrary one pattern period. Generating first fault information including specific information of the generated first circuit element and change information of a first output value of the first circuit element with respect to a normal value caused by the delay fault; It is determined whether or not the first output value has changed in a second pattern period following the pattern period described above. If there is no change in the first output value, a list of target faults of the first circuit element is displayed. Deleting the first failure information from a certain first failure list, and adding the first failure information to the first failure list when there is a change in the first output value; The presence or absence of a change in the failure list is determined, and if there is a change in the first failure list, an operation corresponding to the change is performed, second failure information is added, the first failure list is updated, and the second failure list is updated. And generates the second failure list by the first circuit element. The first or second fault information is detected when the first or second fault list is propagated to an observable point of the second logic circuit. It is characterized by determining that it is possible.

【0024】[0024]

【実施例】次に、本発明の第1の実施例をフローチャー
トで示す図1を参照すると、この図に示す本実施例の故
障シミュレーション方法は、従来と同様にテストパター
ンの1パターン内で信号値の変化が終了しない故障を遅
延故障として扱い、テストパターン番号を1に設定する
初期化処理(ステップS1)と、パターン番号を進める
処理(ステップS2)と、現在処理実行中のパターンが
最終パターン番号を越えたか否かの判定処理(ステップ
S3)と、演算対象素子があるか否かの判定処理(ステ
ップS4)と、演算対象素子の信号値が前のパターンの
信号値から変化したか否かの判定処理(ステップS5)
と、演算対象素子の対象故障を上記演算対象素子の故障
リストから削除する処理(ステップS6)と、演算対象
素子の対象故障を上記演算対象素子の故障リストに追加
する処理(ステップS7)と、演算対象素子の入力の故
障リストに変化があるか否かの判定処理(ステップS
8)と、演算対象素子の入力の故障リストの変化に対応
した演算を行い演算対象素子の故障リストの更新を行う
処理(ステップS9)と、現在の演算対象素子のフアン
アウト先を新たな演算対象素子とする処理(ステップS
10)と、検出故障の判定処理(ステップS11)とを
含む。
FIG. 1 is a flow chart showing a first embodiment of the present invention. Referring to FIG. 1, a failure simulation method according to the present embodiment shown in FIG. A failure in which the value change does not end is treated as a delay failure, and an initialization process (step S1) for setting the test pattern number to 1; a process for advancing the pattern number (step S2); The process of determining whether the number has exceeded the number (step S3), the process of determining whether there is an element to be operated (step S4), and whether the signal value of the element to be operated has changed from the signal value of the previous pattern Determination process (step S5)
A process of deleting the target failure of the operation target element from the failure list of the operation target element (step S6), and a process of adding the target failure of the operation target element to the failure list of the operation target element (step S7); Processing for determining whether there is a change in the failure list of the input of the element to be operated (step S
8), processing for performing an operation corresponding to the change in the failure list of the input of the operation target element to update the failure list of the operation target element (step S9), and performing a new operation for the current fan-out destination of the operation target element. Processing for Target Element (Step S
10) and a detection failure detection process (step S11).

【0025】図1を参照して本実施例の動作について説
明すると、まず、ステップS1でシミュレーション対象
論理回路内の素子の初期値設定を行い、上記論理回路内
の故障リストを初期化し、パターン番号あるいはクロッ
クサイクル番号および時刻を初期値とする。ここで、上
記初期値は通常は不定としてスタートし、上記故障リス
トの初期化では通常全ての素子に対して空集合とする。
また、パターン番号の初期値を0とする。次に、ステッ
プS2でパターン番号を進める処理を行い、この番号の
テストパターンの信号値を入力端子に供給する準備を行
う。ここで、ステップS3の判定結果、現在処理実行中
のパターン番号が最終パターン番号を越えている場合に
はENDに進み処理を終了する。最終パターン番号を越
えていない場合にはステップS4に進み、演算対象素子
の存在の有無を判定する。各パターンの最初の上記演算
対象素子は全ての入力端子である。上記演算対象素子が
存在しない場合にはステップS11に進む。上記演算対
象素子が存在する場合にはステップS5に進み、上記演
算対象素子の信号値が前のパターンの信号値から変化し
たか否かの判定を行う。ステップS5で相続くパターン
の信号値の変化がない場合には、ステップS6に進み、
上記演算対象素子の対象とする故障すなわち対象故障を
リストアップした故障リストに上記信号値の無変化対応
の論理値故障が存在する場合には、上記論理値故障を故
障リストから削除する。これにより、信号値の変化が2
パターン以上にわたって検出される定常的な論理値故障
が検出対象故障から削除される。
The operation of this embodiment will be described with reference to FIG. 1. First, in step S1, initial values of elements in a logic circuit to be simulated are set, a failure list in the logic circuit is initialized, and a pattern number is set. Alternatively, the clock cycle number and the time are set as initial values. Here, the initial value usually starts as indefinite, and in the initialization of the failure list, normally, an empty set is set for all elements.
Also, the initial value of the pattern number is set to 0. Next, in step S2, a process of advancing the pattern number is performed, and preparation is made to supply the signal value of the test pattern of this number to the input terminal. If the result of the determination in step S3 indicates that the pattern number currently being processed exceeds the final pattern number, the process proceeds to END and ends. If it does not exceed the final pattern number, the process proceeds to step S4, and it is determined whether or not the calculation target element exists. The first element to be calculated in each pattern is all input terminals. If there is no such element, the process proceeds to step S11. If the target element exists, the process proceeds to step S5 to determine whether the signal value of the target element has changed from the signal value of the previous pattern. If there is no change in the signal value of the successive patterns in step S5, the process proceeds to step S6,
If there is a logic value fault corresponding to the signal value invariable in the fault list listing the faults targeted by the operation target element, that is, the target faults, the logic value fault is deleted from the fault list. As a result, the change in the signal value becomes 2
Stationary logical value faults detected over the pattern or more are deleted from the faults to be detected.

【0026】一方、ステップS5で相続くパターンの信
号値の変化がある場合には、ステップS7に進み、上記
故障リストにこの変化対応の故障すなわち遅延故障を追
加する。ステップS6,S7のいずれに分岐した場合で
も、次のステップS8で、上記故障リストの変化の有無
の判定処理に進む。上記変化には、上記故障リスト中の
対象故障の要素の内容の変化とともに上記要素数の増大
および減少を含む。このステップS8で変化がある場合
にはステップS9に進み、上記故障リストの変化対応の
演算を実行し、上記故障リストを更新してステップS1
0に進む。変化がない場合には直接ステップS10に進
む。ステップS10では、現在の演算対象素子の信号値
の伝播先の素子を新たな演算対象素子として登録する。
この後、ステップS4の判定処理に戻り、演算対象素子
がない場合にはステップS11に進み、出力端子に伝播
した故障を検出可能な遅延故障と判定する。ここで、一
度検出された故障を定義故障から削除することも可能と
する。その後、ステップS2に戻り、パターン番号を進
め、ステップS3〜S11の処理を反復する。
On the other hand, if there is a change in the signal value of the successive pattern in step S5, the process proceeds to step S7, and a fault corresponding to this change, that is, a delay fault, is added to the fault list. Regardless of the branch to step S6 or S7, the process proceeds to the next step S8 to determine whether or not the failure list has changed. The change includes an increase and decrease in the number of the elements together with a change in the content of the element of the target failure in the failure list. If there is a change in step S8, the process proceeds to step S9, where an operation corresponding to the change in the failure list is executed, the failure list is updated, and step S1 is performed.
Go to 0. If there is no change, the process proceeds directly to step S10. In step S10, the element to which the signal value of the current operation target element propagates is registered as a new operation target element.
Thereafter, the process returns to the determination process of step S4, and if there is no operation target element, the process proceeds to step S11, where it is determined that the delay propagated to the output terminal is a detectable delay fault. Here, the fault once detected can be deleted from the defined fault. Thereafter, the process returns to step S2, advances the pattern number, and repeats the processing of steps S3 to S11.

【0027】本実施例の故障シミュレーション方法を、
従来の技術の説明で用いた図3に示すシミュレーション
対象の第1の論理回路に対し、この論理回路の初期値を
Xとし表1に示すテストパターンを供給した場合につい
て演算を実行した結果の故障リストを示す表6を参照す
ると、この表で定義した故障は、従来と同様に入力端子
および出力端子を除いた内部の演算素子すなわちゲート
G1,G2の出力A,Bの故障であるとする。この表6
に示す故障情報は、2つの:(コロン)で仕切られた3
つの項からなり、第1項は「故障の存在する素子名/遅
延故障を示すDと故障時の値」から成る伝播故障の種類
を示す。「故障時の値」は従来と同様の定義である。例
えば、D0は正常値論理1に対し遅延故障のため論理0
にとどまっていることを、またD1は正常値論理0に対
し遅延故障のため論理1にとどまっていることをそれぞ
れ示す。その他の第2,第3項については従来と同様で
あるので説明を省略する。
The failure simulation method of this embodiment is
For the first logic circuit to be simulated shown in FIG. 3 used in the description of the conventional technology, the initial value of the logic circuit is set to X, and a test pattern shown in Table 1 is supplied. Referring to Table 6 showing the list, it is assumed that the faults defined in this table are faults of the internal arithmetic elements excluding the input terminal and the output terminal, that is, the faults of the outputs A and B of the gates G1 and G2 as in the conventional case. This Table 6
The failure information shown in Fig. 3 is divided into two parts: (colon).
The first term indicates the type of propagation fault consisting of “element name where fault exists / D indicating delay fault and value at fault”. The “value at the time of failure” has the same definition as in the past. For example, D0 is a logical 0 due to a delay fault with respect to a normal logical 1
, And D1 indicates that the normal value logic 0 remains at logic 1 due to a delay fault. The other second and third terms are the same as in the related art, and thus description thereof is omitted.

【0028】[0028]

【表6】 [Table 6]

【0029】表6に示す第1パターン目は初期値Xから
の変化であるため新たな変化としては考えないので、全
ての素子の遅延故障対応の故障リストは空集合である。
第2パターン目ではANDゲートG1の出力信号Aが論
理0から論理1に変化し、この出力信号Aが1に変化す
るのに1パターン分以上の期間を要する故障すなわちA
/D0が対応の入力信号値と故障時の出力信号値ととも
にANDゲートG1の故障リストに追加される。ただ
し、この第2パターン目では、ANDゲートG2の下側
の入力信号すなわちI3が論理0であるためこの故障は
これ以上伝播しない。
Since the first pattern shown in Table 6 is a change from the initial value X and is not considered as a new change, the fault list corresponding to delay faults of all elements is an empty set.
In the second pattern, the output signal A of the AND gate G1 changes from logic 0 to logic 1, and the output signal A changes to 1 in a fault requiring more than one pattern period, that is, A
/ D0 is added to the failure list of the AND gate G1 together with the corresponding input signal value and the output signal value at the time of failure. However, in the second pattern, since the input signal on the lower side of the AND gate G2, that is, I3 is logic 0, this fault does not propagate any further.

【0030】次に、第3パターン目では、出力信号Aの
値は変化せず、出力信号Bの値は変化するため、AND
ゲートG1の故障リストから出力信号A対応の故障情報
が削除され、この第3パターン目における検出対象の遅
延故障とはならない。一方、ANDゲートG2に対して
は、出力信号Bが論理0から論理1に変化し、その結
果、ANDゲートG2の故障リストに[B/D0:1
1:0]が追加される。この故障の影響対応の異常値
は、この第3パターン内において出力端子T14に伝播
し、この遅延故障B/D0が検出される。上述のよう
に、故障A/D0は、第2パターン目中に出力端子T1
4に伝播しなかったので検出されない。
Next, in the third pattern, the value of the output signal A does not change and the value of the output signal B changes.
The failure information corresponding to the output signal A is deleted from the failure list of the gate G1, and does not become a detection target delayed failure in the third pattern. On the other hand, for the AND gate G2, the output signal B changes from logic 0 to logic 1, and as a result, [B / D0: 1
1: 0] are added. The abnormal value corresponding to the influence of the failure propagates to the output terminal T14 in the third pattern, and the delay failure B / D0 is detected. As described above, the failure A / D0 causes the output terminal T1 during the second pattern.
No, it is not detected.

【0031】本発明の第2の実施例を示すフローチャー
トである図2を参照すると、本実施例の前述の第1の実
施例に対する相違点は、回路素子としてフリップフロッ
プなどの記憶素子を含む場合であり、ステップS3とス
テップS4との間に上記記憶素子に伝播した以外の前の
パターンの故障リストを削除する処理のステップS24
を挿入し、ステップS6を削除し、さらにステップS1
0の代りに新たな演算対象素子を故障リストあるいは出
力値に変化があった素子のフアンアウト先の素子とする
処理のステップS30を設けたことである。
Referring to FIG. 2 which is a flow chart showing the second embodiment of the present invention, the difference between the first embodiment and the above-mentioned first embodiment is that a circuit element includes a storage element such as a flip-flop. And the step S24 of the process of deleting the failure list of the previous pattern other than the one propagated to the storage element between the step S3 and the step S4
Is inserted, step S6 is deleted, and step S1 is further deleted.
A step S30 is provided in which a new element to be operated is set as a fan-out destination element of a failure list or an element whose output value has changed in place of 0.

【0032】これにより、1パターン中で上記記憶素子
まで故障の影響対応の異常値対応の異常値が伝播しない
ものは検出対象の故障から削除される。
As a result, a pattern in which the abnormal value corresponding to the abnormal value corresponding to the influence of the fault does not propagate to the storage element in one pattern is deleted from the faults to be detected.

【0033】本実施例を図3の論理回路の故障シミュレ
ーションに適用すると、まず、パターンの最初に記憶素
子に伝播していない故障リストが削除されるため、第2
パターン目に存在した故障リストは全部削除され、新た
に変化が生じたところのみが演算処理される。このた
め、入力信号I3の次に、ANDゲートG2が演算対称
となり、出力信号Bの値が論理0から論理1に変化し、
その結果、ANDゲートG2の故障リストに[B/D
0:11:0]が追加される。この故障の影響対応の異
常値は、この第2パターン内において出力端子T14に
伝播し、この遅延故障B/D0が検出される。
When this embodiment is applied to the failure simulation of the logic circuit shown in FIG. 3, first, a failure list that has not propagated to the storage element at the beginning of the pattern is deleted.
All the failure lists existing in the pattern are deleted, and only the part where a new change occurs is subjected to the arithmetic processing. Therefore, after the input signal I3, the AND gate G2 becomes operationally symmetric, and the value of the output signal B changes from logic 0 to logic 1,
As a result, [B / D] is added to the failure list of the AND gate G2.
0: 11: 0] are added. The abnormal value corresponding to the influence of the failure propagates to the output terminal T14 in the second pattern, and the delay failure B / D0 is detected.

【0034】このように、第1および第2の実施例の故
障シミュレーションは、従来の第1の故障シミュレーシ
ョン方法では区別できない、ある定常値に固定され続け
るような故障と遅延故障との区別が可能である。
As described above, in the fault simulations of the first and second embodiments, it is possible to discriminate between a fault which is fixed to a certain steady-state value and a delay fault which cannot be distinguished by the conventional first fault simulation method. It is.

【0035】また、従来の第2の故障シミュレーション
方法と異なり、遅延故障シミュレーション専用の信号値
の定義および演算処理を用いることなく正常回路に対す
るシミュレーションは、従来の第1の故障シミュレーシ
ョン方法と同様な演算処理を用いて実行し、故障回路に
対する演算処理は入力値あるいは出力値を故障回路の影
響で生じた信号値に置換することにより、上記従来の第
1の故障シミュレーション方法と同様な演算処理を用い
て実行することができる。
Further, unlike the second conventional fault simulation method, the simulation for the normal circuit without using the definition of signal values dedicated to the delay fault simulation and the arithmetic processing is performed in the same manner as the first conventional fault simulation method. The processing is performed using the processing, and the processing for the faulty circuit is performed by replacing the input value or the output value with the signal value generated by the influence of the faulty circuit. Can be executed.

【0036】次に、故障シミュレーション対象の第2の
論理回路を示す図4を参照すると、この第2の論理回路
は記憶素子を含む順序回路の一例であり、それぞれ入力
信号I1,I2,I3およびI4の供給を受ける入力用
の端子T1,T2,T3およびT5と、クロックCLK
の供給を受ける端子T4と、演算素子でありそれぞれ信
号V1,V2を出力するインバータH21,H22と、
記憶素子であり入力端子Dに信号のクロック端子Cにク
ロックCLKのそれぞれの供給を受け非反転出力のみを
使用してそれぞれ信号F1〜F4を出力しいずれもD型
のフリップフロップE21〜E24と、それぞれ信号A
1,A2を出力するANDゲートG21,G22と、出
力信号O1,O2をそれぞれ出力する出力用の端子T
6,T7とを備える。
Next, referring to FIG. 4 showing a second logic circuit to be simulated for failure, this second logic circuit is an example of a sequential circuit including a storage element, and has input signals I1, I2, I3 and I3, respectively. Input terminals T1, T2, T3 and T5 receiving the supply of I4 and a clock CLK
T4, and inverters H21 and H22 which are operation elements and output signals V1 and V2, respectively.
A memory element, which receives a supply of a clock CLK at a clock terminal C of a signal at an input terminal D, outputs signals F1 to F4 using only non-inverted outputs, and outputs D-type flip-flops E21 to E24; Each signal A
AND gates G21 and G22 for outputting output signals O1 and A2, and an output terminal T for outputting output signals O1 and O2, respectively.
6, T7.

【0037】この第2の論理回路に対する第2の実施例
の故障シミュレーション方法による演算結果の故障リス
トを示す表7を参照すると、この表の表記方法は、クロ
ックCLKの値の論理0から論理1への変化すなわち立
上がりをRと表記する以外は表6の第1の論理回路の故
障リストと同様である。
Referring to Table 7 showing a failure list of operation results of the second logic circuit by the failure simulation method of the second embodiment, the notation of this table is that the value of clock CLK is changed from logic 0 to logic 1 This is the same as the failure list of the first logic circuit in Table 6 except that the change, ie, the rise, is denoted by R.

【0038】[0038]

【表7】 [Table 7]

【0039】ここで、出力信号値の観測時刻はクロック
CLKの立上がり時刻から次のクロックCLKの立上が
りの直前の時刻までとし、第1クロックサイクルのみ時
刻0から最初すなわち第1クロックの立上がり直前の時
刻までとする。また、ここでの遅延故障とは、各クロッ
クサイクル内で上記観測時刻までに信号値の変化が完了
しない状態をいう。
Here, the observation time of the output signal value is from the rising time of the clock CLK to the time immediately before the rising of the next clock CLK. Only the first clock cycle starts from time 0, that is, the time immediately before the rising of the first clock. Up to. In addition, the delay fault here refers to a state where the change of the signal value is not completed by the above-mentioned observation time within each clock cycle.

【0040】図4に示す第2の論理回路の入力信号のタ
イミング関係を示すタイムチャートである図5を参照す
ると、テストパターンの各々の期間はクロックCLKの
1サイクル期間に対応し、上記パターンの値はクロック
サイクルの途中で変化し、各々の入力信号I1〜I4の
値は所定の時刻に与えられる。
Referring to FIG. 5, which is a time chart showing the timing relationship of the input signals of the second logic circuit shown in FIG. 4, each period of the test pattern corresponds to one cycle period of clock CLK. The values change in the middle of a clock cycle, and the values of the input signals I1 to I4 are given at predetermined times.

【0041】表7を参照すると、第1クロックサイクル
では初期値は不定としているため、全ての故障リストは
空集合である。第2クロックサイクルではインバータH
21,H22の出力信号V1,V2が共に論理0から論
理1に変化し、信号V1,V2の故障リストとしてそれ
ぞれ[V1/D0:0:0],[V2/D0:0:0]
が生成される。この第2クロックサイクルにおいて、フ
リップフロップE21,E22のそれぞれの出力信号F
1,F2は不定値Xから論理0に変化する。
Referring to Table 7, since the initial value is undefined in the first clock cycle, all the fault lists are empty sets. In the second clock cycle, the inverter H
The output signals V1 and V2 of H21 and H22 both change from logic 0 to logic 1, and [V1 / D0: 0: 0] and [V2 / D0: 0: 0] as failure lists of the signals V1 and V2, respectively.
Is generated. In the second clock cycle, the output signal F of each of the flip-flops E21 and E22 is output.
1, F2 changes from the indefinite value X to logic 0.

【0042】第3クロックサイクルに移行する前に、記
憶素子であるフリップフロップE21,E22に伝播し
た故障以外の故障リストを削除するが、上述したV1/
D0,V2/D0に関する故障情報は共にフリップフロ
ップE21,E22に伝播したので削除されず、第3ク
ロックサイクルでそれぞれ取込まれ、それぞれ信号F
1,F2の故障リストに追加される。また、信号F1,
F2自身の値が論理0から論理1に変化するので、信号
F1,F2の故障リストに、それぞれ[F1/D0:1
R:0],[F2/D0:1R:0]が追加される。さ
らに、ANDゲートG21の下側の入力I2が論理1に
変化するため、この出力信号A1の値は論理1に変化す
る。これにしたがい信号A1の故障リストに[A1/D
0:11:0]を追加し、さらに、ANDゲートG21
の入力に伝播している故障リスト対応の故障情報もこの
信号A1の故障リストに追加される。一方、ANDゲー
トG22の下側の入力I4の値が論理0であるため、出
力信号A2の変化は生起せず、したがって信号A2の故
障リストは生成されない。
Before shifting to the third clock cycle, the fault list other than the fault propagated to the flip-flops E21 and E22 as storage elements is deleted.
The fault information relating to D0 and V2 / D0 is not deleted because both have propagated to the flip-flops E21 and E22.
1 and F2 are added to the failure list. Also, the signals F1,
Since the value of F2 changes from logic 0 to logic 1, the fault list of the signals F1 and F2 includes [F1 / D0: 1
R: 0] and [F2 / D0: 1R: 0] are added. Further, since the lower input I2 of the AND gate G21 changes to logic 1, the value of the output signal A1 changes to logic 1. According to this, [A1 / D
0: 11: 0], and an AND gate G21
Is also added to the fault list of the signal A1. On the other hand, since the value of the input I4 on the lower side of the AND gate G22 is logical 0, no change occurs in the output signal A2, and therefore, a failure list of the signal A2 is not generated.

【0043】第4クロックサイクルに移行する前に、フ
リップフロップE23,E24に伝播した故障以外の故
障リストが削除される。フリップフロップE23の入力
は信号A1であるので信号A1の故障リスト以外は削除
される。また、フリップフロップE24の入力の信号A
2の故障リストは上述のように生成されていない。第4
クロックサイクルで信号F3自身の変化による故障情報
と、信号A1に伝播している故障リスト対応の故障情報
が信号F3の故障リストとして生成される。この信号F
3の故障リスト対応の故障は出力端子T6に出力信号O
1として伝播し検出される。また、ANDゲートG22
の下側の入力I4の値が論理1に変化するため、これに
よる出力信号A2の変化対応の故障情報が信号A2の故
障リストに追加される。しかし、上述のように、前の第
3クロックサイクルにおいてANDゲートG22の上側
の入力に伝播していた故障の影響対応の異常値がこの1
サイクルで次段のフリップフロップF22に伝播してい
ないため削除されており、第4クロックサイクルには関
連故障情報は存在しない。信号A2の値の変化対応の故
障情報はこの第4クロックサイクル内にフリップフロッ
プE24まで伝播するため、第5クロックサイクルで出
力信号F4の変化にともなう故障情報とともに出力端子
T7に出力信号O2として伝播し検出される。
Before shifting to the fourth clock cycle, the fault list other than the fault propagated to the flip-flops E23 and E24 is deleted. Since the input of the flip-flop E23 is the signal A1, all but the fault list of the signal A1 are deleted. Also, the signal A of the input of the flip-flop E24
The failure list of No. 2 has not been generated as described above. 4th
In a clock cycle, failure information due to a change in the signal F3 itself and failure information corresponding to the failure list propagated to the signal A1 are generated as a failure list of the signal F3. This signal F
The fault corresponding to the fault list 3 is output signal O to output terminal T6.
Propagated as 1 and detected. Also, an AND gate G22
Since the value of the input I4 on the lower side changes to logic 1, the failure information corresponding to the change of the output signal A2 due to the change is added to the failure list of the signal A2. However, as described above, the abnormal value corresponding to the influence of the fault that has propagated to the upper input of the AND gate G22 in the previous third clock cycle is this one.
Since it has not propagated to the flip-flop F22 of the next stage in the cycle, it has been deleted, and no related fault information exists in the fourth clock cycle. Since the failure information corresponding to the change in the value of the signal A2 propagates to the flip-flop E24 in the fourth clock cycle, the failure information is propagated to the output terminal T7 as the output signal O2 together with the failure information accompanying the change in the output signal F4 in the fifth clock cycle. Detected.

【0044】次に、故障シミュレーション対象の第3の
論理回路を示す図6を参照すると、この第3の論理回路
は信号の分岐再収斂経路を有する回路の一例であり、そ
れぞれ入力信号I1,I2の供給を受ける入力用の端子
T1,T2と、演算素子でありそれぞれ信号B1,B
2,B3を出力するバッファC31,C32,C33
と、それぞれ信号A1,A2を出力するANDゲートG
31,G32と、出力信号O1を出力する出力用の端子
T6とを備える。
Next, referring to FIG. 6 showing a third logic circuit to be simulated for failure, this third logic circuit is an example of a circuit having a signal branch and reconverge path, and the input signals I1 and I2 are respectively provided. Input terminals T1 and T2 receiving the supply of signals and operation elements and signals B1 and B, respectively.
Buffers C31, C32, and C33 that output 2, B3
And an AND gate G that outputs signals A1 and A2, respectively.
31 and G32, and an output terminal T6 for outputting the output signal O1.

【0045】表8に示す第1のテストパターンに対応す
る故障リストを示す表9を参照すると、この表の表記方
法は、表6の第1の論理回路の故障リストの第1〜第3
項に加えて各々コロンで区切られた第4,第5の2つの
項をさらに有し、第4項は故障情報が生成されたパター
ン番号を、第5項が入力値の変化回数をそれぞれ示す。
故障情報が複数回変化する場合は矢印により第1回目か
ら第2回目への変化を示す。
Referring to Table 9, which shows a failure list corresponding to the first test pattern shown in Table 8, the notation of this table is based on the first to third failure lists of the first logic circuit shown in Table 6.
In addition to the term, each further has two fourth and fifth terms separated by a colon. The fourth term indicates the pattern number for which the failure information has been generated, and the fifth term indicates the number of changes in the input value. .
When the failure information changes a plurality of times, the arrow indicates the change from the first time to the second time.

【0046】[0046]

【表8】 [Table 8]

【0047】 [0047]

【0048】表9を参照すると、第1パターン目では全
ての信号は不定値からの変化となり故障リスとは空集合
となる。第2パターン目では入力信号I1が論理1から
論理0に変化すると、バッファC31,C32の出力信
号B1,B2がそれぞれ論理1から論理0に変化し、こ
の第2パターン目での1度目の変化であるので、これら
出力信号B1,B2対応のそれぞれの故障情報は[B1
/D1:0:1:2:1],[B2/D1:0:1:
2:1]となる。さらに、ANDゲートG31にこの変
化が伝播し、信号B1の故障リストと信号A1自身の変
化に対応して信号A1の故障リストが生成される。一
方、ANDゲートG32では、まず、この第2パターン
目での1度目の入力変化として信号B2の変化に応答し
て出力信号A2が変化し、[A2/D1:01:1:
2:1],[B2/D1:11:1:2:1]の2つが
まず故障リストとして登録される。その後信号A1の変
化がANDゲートG32に伝播し、このとき信号A1は
論理0に変化するため、B2/D1の故障情報は信号A
2の故障リストから削除され、A2/D1の故障情報の
み残る。したがって、この2度目の変化後の信号A2の
故障リストは[A2/D1:00:1:2:2]とな
る。
Referring to Table 9, in the first pattern, all signals change from indefinite values, and the fault squirrel is an empty set. In the second pattern, when the input signal I1 changes from logic 1 to logic 0, the output signals B1 and B2 of the buffers C31 and C32 change from logic 1 to logic 0, respectively, and the first change in the second pattern Therefore, the failure information corresponding to these output signals B1 and B2 is [B1
/ D1: 0: 1: 2: 1], [B2 / D1: 0: 1:
2: 1]. Further, this change propagates to the AND gate G31, and a fault list of the signal A1 is generated corresponding to the change of the fault list of the signal B1 and the change of the signal A1 itself. On the other hand, in the AND gate G32, first, as the first input change in the second pattern, the output signal A2 changes in response to the change in the signal B2, and [A2 / D1: 01: 1:
2: 1] and [B2 / D1: 11: 1: 2: 1] are first registered as a failure list. After that, the change in the signal A1 propagates to the AND gate G32, and at this time, the signal A1 changes to logic 0.
2 is deleted from the failure list, and only the failure information of A2 / D1 remains. Therefore, the failure list of the signal A2 after the second change is [A2 / D1: 00: 1: 2: 2].

【0049】バッファC33に対しては、最初はA2/
D1の故障に対しては[A2/D1:1:1:2:1]
として伝播するが、このA2/D1の故障はその後AN
DゲートG32で2度目の入力変化を生じるのでこの情
報が伝播し変化回数が更新されて[A2/D1:1:
1:2:2]となる。一方、B3/D1の故障に対して
は、信号B1が受ける入力の変化が1度のみであるた
め、最初の変化時の故障情報[B3/D1:0:1:
2:1]から変化しない。出力信号O1に対しては、信
号B3の故障リストに対応する影響がそのまま伝播す
る。
For buffer C33, A2 /
[A2 / D1: 1: 1: 2: 1] for failure of D1
, But the failure of A2 / D1
Since a second input change occurs in the D gate G32, this information is propagated and the number of changes is updated to [A2 / D1: 1:
1: 2: 2]. On the other hand, for the failure of B3 / D1, since the input of the signal B1 changes only once, the failure information [B3 / D1: 0: 1:
2: 1]. The effect corresponding to the failure list of the signal B3 propagates to the output signal O1 as it is.

【0050】したがって、第2パターン目でA2/D1
およびB3/D1の故障が検出可能であることがわか
る。これに加えて、通過経路上の素子の入力値の変化回
数の情報から、A2/D1に対しては上記変化回数は2
であり、また、B3/D1に対しては上記変化回数は1
であることから 、B3/D1の入力、すなわち信号B
3の入力から先の出力信号O1までのパスは、遅延故障
検出のパスは1つに特定されているので他のパスの影響
に対し独立に観測可能と判定される。しかし、A2/D
1の故障に関してその入力、すなわち信号A2の入
から先の出力信号O1までの複数のパスが変化を生じ
ているため、パスの特定は不可能であると判定する
Therefore, A2 / D1 in the second pattern
And B3 / D1 failure of young detectable der Rukoto
You. In addition to this, the change in the input value of the element on the passage path
From the number information, the number of changes is 2 for A2 / D1.
And the number of changes is 1 for B3 / D1.
Therefore, the input of B3 / D1 , that is, the signal B
The path from the input of No. 3 to the previous output signal O1 is determined to be observable independently of the influence of the other paths since only one path for delay fault detection is specified. However, A2 / D
In the case of the failure of No. 1 , its input , that is , the input of signal A2
Multiple paths from the force to the previous output signal O1 cause changes
And for that, it is determined that a specific path is not possible.

【0051】[0051]

【表10】 [Table 10]

【0052】[0052]

【表11】 [Table 11]

【0053】一方、表10の第2のパターン対応の故障
ーリストを示す表11を参照すると、第2パターン目で
入力信号I2の論理1から論理0への変化に応答して信
号A1が論理1から論理0に変化し、故障リスト[A1
/D1:10:1:2:1]が生成される。さらに、信
号A2が変化しこのとき検出される故障は信号A2自身
の故障情報[A2/D1:10:1:2:1]と信号A
1から伝播した故障情報[A1/D1:11:1:2:
1]となる。これはさらに、信号B3に伝播し、故障情
報[B3/D1:0:1:2:1]と伝播してきた故障
情報[A1/D1:1:1:2:1],[A2/D1:
1:1:2:1]となり、これらはそのまま出力信号O
1に伝播する。この場合、この他に値の変化するパスは
ないので変化回数は全ての検出故障について1である。
On the other hand, referring to Table 11, which shows a fault-list corresponding to the second pattern in Table 10, the signal A1 changes to logic 1 in response to the change of the input signal I2 from logic 1 to logic 0 in the second pattern. From “0” to logic 0, and the failure list [A1
/ D1: 10: 1: 2: 1]. Further, the signal A2 changes and the fault detected at this time is the fault information [A2 / D1: 10: 1: 2: 1] of the signal A2 itself and the signal A2.
1 [A1 / D1: 11: 1: 2 ::
1]. This further propagates to the signal B3, the fault information [B3 / D1: 0: 1: 2: 1] and the fault information [A1 / D1: 1: 1: 2: 1], [A2 / D1:
1: 1: 2: 1], and these are output signals O
Propagate to 1. In this case, since there is no other path whose value changes, the number of changes is 1 for all detected faults.

【0054】したがって、検出故障はA1/D1とA2
/D1とB3/D1であり、A1/D1の入力から先の
パスが特定されているので他のパスの影響に対し独立に
観測可能と判定される。
Therefore, the detected faults are A1 / D1 and A2
/ D1 and B3 / D1, and since the path ahead is specified from the input of A1 / D1, it is determined that the influence of other paths can be independently observed.

【0055】このように変化が発生する素子の入力変化
の回数を計算し伝播することにより、遅延故障検出のパ
スが特定されているか否かの判定が可能である。
Thus, by calculating and propagating the number of input changes of the element in which the change occurs, it is possible to determine whether or not the path for delay fault detection is specified.

【0056】[0056]

【発明の効果】以上説明したように、本発明の故障シミ
ュレーション方法は、第1のパターン期間において遅延
故障が発生した回路素子の特定情報と上記遅延故障に起
因する上記回路素子の出力値の正常値に対する変化情報
とを含む第1の故障情報を生成し、上記出力値の変化が
有る場合に上記第1の故障情報を上記第1の故障リスト
に追加し、上記第1の故障リストの変化の有の場合に第
2の故障情報を付加し更新して第2の故障リストを生成
し、上記第2の故障リストを伝播先の第2の回路素子に
伝播し、上記第1または第2の故障リストが前記第2の
論理回路の観測可能点に伝播したとき前記第1または第
2の故障情報を検出可能と判定することにより、特別な
状態値の定義や特別な演算を必要とすることなく、ま
た、従来と同様の演算による比較的小さい計算時間で遅
延故障の検出・判定をすることが可能となるという効果
がある。
As described above, according to the fault simulation method of the present invention, in the first pattern period, the specific information of the circuit element in which the delay fault has occurred and the output value of the circuit element caused by the delay fault are normal. Generating first failure information including change information with respect to the value, adding the first failure information to the first failure list when there is a change in the output value, and changing the first failure list; , The second fault information is added and updated to generate a second fault list, and the second fault list is propagated to the second circuit element of the propagation destination, and the first or second fault information is propagated. When the fault list has propagated to the observable point of the second logic circuit, it is determined that the first or second fault information can be detected, thereby requiring a special state value definition and a special operation. Without the same There is an effect that it becomes possible to make detection and determination of the delay fault in a relatively small computation time by.

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

【図1】本発明の故障シミュレーション方法の第1の実
施例を示すフローチャートである。
FIG. 1 is a flowchart showing a first embodiment of the failure simulation method according to the present invention.

【図2】本発明の故障シミュレーション方法の第2の実
施例を示すフローチャートである。
FIG. 2 is a flowchart showing a second embodiment of the failure simulation method according to the present invention.

【図3】本発明および従来の故障シミュレーション方法
の対象とする第1の論理回路である。
FIG. 3 shows a first logic circuit to which the present invention and a conventional fault simulation method are applied.

【図4】本発明の故障シミュレーション方法の対象とす
る第2の論理回路である。
FIG. 4 shows a second logic circuit to be subjected to the fault simulation method of the present invention.

【図5】図4の回路の入力信号のタイミング関係を示す
タイムチャートである。
FIG. 5 is a time chart showing a timing relationship of input signals of the circuit of FIG. 4;

【図6】本発明の故障シミュレーション方法の対象とす
る第3の論理回路である。
FIG. 6 shows a third logic circuit to which the failure simulation method according to the present invention is applied.

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

C31〜C33 バッファ E21〜E24 フリップフロップ G1,G2,G21,G22,G31,G32 AN
Dゲート H21,H22 インバータ T1〜T8,T14 端子
C31 to C33 buffers E21 to E24 flip-flops G1, G2, G21, G22, G31, G32 AN
D gate H21, H22 Inverter T1 to T8, T14 terminal

Claims (3)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 外部入力端子に供給される予め定めたク
ロックサイクル数の期間を1パターン期間とするテスト
パターンに起因して発生する論理回路内の回路素子の信
号変化を逐一追跡し前記1パターン期間内で前記信号変
化が終了しない故障である遅延故障を検出する故障シミ
ュレーション方法において、 前記回路素子の入力および出力端子およびこの入力およ
び出力端子の各々に接続する配線部分に集中して前記遅
延故障が存在する故障モデルを設定し、 前記1パターン期間単位で正常な第1の論理回路と前記
遅延故障が存在する第2の論理回路とに対してそれぞれ
演算を実行し、 任意の前記1パターン期間である第1のパターン期間に
おいて前記第2の論理回路内の前記遅延故障が発生した
第1の回路素子の特定情報と前記遅延故障に起因する前
記第1の回路素子の第1の出力値の正常値に対する変化
情報とを含む第1の故障情報を生成し、 前記第1のパターン期間の次の第2のパターン期間にお
いて前記第1の出力値の変化の有無を判定し、 前記第1の出力値の変化が無い場合に前記第1の回路素
子の対象故障のリストである第1の故障リストから前記
第1の故障情報を削除し、 前記第1の出力値の変化が有る場合に前記第1の故障情
報を前記第1の故障リストに追加し、 前記第1の故障リストの変化の有無を判定し、 前記第1の故障リストの変化の有の場合にこの変化対応
の演算を行い第2の故障情報を付加し前記第1の故障リ
ストを更新して第2の故障リストを生成し、 前記第2の故障リストを前記第1の回路素子の出力の伝
播先の第2の回路素子に伝播し、 前記第1または第2の故障リストが前記第2の論理回路
の観測可能点に伝播したとき前記第1または第2の故障
情報を検出可能と判定することを特徴とする故障シミュ
レーション方法。
1. The method according to claim 1, wherein a signal change of a circuit element in a logic circuit caused by a test pattern in which a period of a predetermined number of clock cycles supplied to an external input terminal is one pattern period is traced one by one. A fault simulation method for detecting a delay fault, which is a fault in which the signal change does not end within a period, wherein the delay fault is concentrated on input and output terminals of the circuit element and a wiring portion connected to each of the input and output terminals. Is set, and an operation is executed for each of the normal first logic circuit and the second logic circuit where the delay fault exists in the one pattern period unit, and the arbitrary one pattern period In the first pattern period, the identification information of the first circuit element in which the delay fault has occurred in the second logic circuit and the delay fault And generating first failure information including change information of a first output value of the first circuit element with respect to a normal value, the first failure information being generated in a second pattern period subsequent to the first pattern period. It is determined whether or not the output value of the first circuit element has changed. If the first output value does not change, the first fault information is deleted from a first fault list which is a list of target faults of the first circuit element. And when there is a change in the first output value, adding the first failure information to the first failure list, determining whether there is a change in the first failure list, When there is a change in the list, a calculation corresponding to the change is performed, second failure information is added, the first failure list is updated, and a second failure list is generated. The output of the first circuit element propagates to a second circuit element to which the output propagates; A fault simulation method, comprising: determining that the first or second fault information can be detected when the first or second fault list propagates to an observable point of the second logic circuit.
【請求項2】 外部入力端子に供給される予め定めたク
ロックサイクル数の期間を1パターン期間とするテスト
パターンに起因して発生する論理回路内の記憶素子を含
む回路素子の信号変化を逐一追跡し前記1パターン期間
内で前記信号変化が終了しない故障である遅延故障を検
出する故障シミュレーション方法において、 前記回路素子の入力および出力端子およびこの入力およ
び出力端子の各々に接続する配線部分に集中して前記遅
延故障が存在する故障モデルを設定し、 前記1パターン期間単位で正常な第1の論理回路と前記
遅延故障が存在する第2の論理回路とに対してそれぞれ
演算を実行し、 任意の前記1パターン期間である第1のパターン期間に
おいて前記第2の論理回路内の前記遅延故障が発生した
第1の回路素子の特定情報と前記遅延故障に起因する前
記第1の回路素子の第1の出力値の正常値に対する変化
情報とを含む第1の故障情報を生成し、 前記第1のパターン期間の次の第2のパターン期間にお
いて前記第1の出力値の変化の有無を判定し、 前記第1の回路素子の対象故障のリストである第1の故
障リストから前記記憶素子である第3の回路素子に伝播
した故障情報以外の前記第1の故障情報を削除し、 前記第1の故障リストの変化の有無を判定し、 前記第1の故障リストの変化の有の場合にこの変化対応
の演算を行い第2の故障情報を付加し前記第1の故障リ
ストを更新して第2の故障リストを生成し、 前記第2の故障リストを前記第1の回路素子の出力の伝
播先の第2の回路素子に伝播し、 前記第1または第2の故障リストが前記第2の論理回路
の観測可能点に伝播したとき前記第1または第2の故障
情報を検出可能と判定することを特徴とする故障シミュ
レーション方法。
2. A signal change of a circuit element including a storage element in a logic circuit, which is caused by a test pattern in which a period of a predetermined number of clock cycles supplied to an external input terminal is one pattern period, is tracked one by one. In the fault simulation method for detecting a delay fault, which is a fault in which the signal change does not end within the one pattern period, the method is characterized in that input and output terminals of the circuit element and wiring portions connected to each of the input and output terminals are concentrated. A fault model in which the delay fault exists is set, and an operation is executed for each of the normal first logic circuit and the second logic circuit in which the delay fault exists in the unit of one pattern period, and In a first pattern period which is the one pattern period, identification information of a first circuit element in which the delay fault has occurred in the second logic circuit; Generating first failure information including change information of a first output value of the first circuit element with respect to a normal value caused by the delay failure; a second pattern period next to the first pattern period; Determining whether there is a change in the first output value, and excluding failure information propagated from the first failure list, which is a list of target failures of the first circuit element, to the third circuit element, which is the storage element The first failure information is deleted, and the presence or absence of a change in the first failure list is determined. If there is a change in the first failure list, an operation corresponding to the change is performed and the second failure information is calculated. And updating the first fault list to generate a second fault list. Propagating the second fault list to a second circuit element to which the output of the first circuit element propagates; The first or second fault list is a list of the second logic circuit. Fault simulation method characterized by determining possible to detect the first or second failure information when propagated to measurement possible point.
【請求項3】 前記故障情報が、故障の伝播経路上の素
子の入力の前記1パターン期間内における変化回数を含
み、 前記変化回数が1度であることを識別された故障が前記
出力端子に伝播した場合に前記素子の入力端子から先の
信号経路に前記遅延故障の検出用の経路が1つに特定さ
れることにより他の経路の遅延の影響と独立に観測可能
と判定することを特徴とする請求項1または請求項2記
載の故障シミュレーション方法。
3. The method according to claim 1, wherein the failure information is a element on a failure propagation path.
Wherein said contact Keru change frequency within a pattern period of the input of the child, the previous signal path from the input terminal of the device when a failure in which the change frequency is identified to be the one degree is propagated to the output terminal 3. The method according to claim 1 , wherein when the path for detecting the delay fault is specified as one, it is determined that the path is observable independently of the influence of the delay of the other path. Failure simulation method.
JP6013929A 1994-02-08 1994-02-08 Failure simulation method Expired - Lifetime JP2885051B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6013929A JP2885051B2 (en) 1994-02-08 1994-02-08 Failure simulation method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6013929A JP2885051B2 (en) 1994-02-08 1994-02-08 Failure simulation method

Publications (2)

Publication Number Publication Date
JPH07218597A JPH07218597A (en) 1995-08-18
JP2885051B2 true JP2885051B2 (en) 1999-04-19

Family

ID=11846881

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6013929A Expired - Lifetime JP2885051B2 (en) 1994-02-08 1994-02-08 Failure simulation method

Country Status (1)

Country Link
JP (1) JP2885051B2 (en)

Also Published As

Publication number Publication date
JPH07218597A (en) 1995-08-18

Similar Documents

Publication Publication Date Title
US7787577B2 (en) Asynchronous interface methods and apparatus
Jephson et al. A three-value computer design verification system
Bose et al. Path delay fault simulation of sequential circuits
Pramanick et al. On the fault coverage of gate delay fault detecting tests
CN117377961A (en) Methods, devices and equipment for simulation
US5798938A (en) System and method for verification of a precharge critical path for a system of cascaded dynamic logic gates
JPH0694793A (en) Method for detecting signal transition and propagation
Pomeranz et al. Unspecified transition faults: a transition fault model for at-speed fault simulation and test generation
JP2885051B2 (en) Failure simulation method
US8392776B2 (en) Delay fault diagnosis program
Dehbashi et al. SAT-based speedpath debugging using waveforms
WO2001045565A2 (en) Modeling and testing of an integrated circuit
JP2002259488A (en) Clock skew verification method
JP2001188807A (en) Time failure simulation method
JP4985211B2 (en) Logic circuit simulation
Mehta et al. Improving the resolution of single-delay-fault diagnosis
JPWO2008050505A1 (en) Simulation device
Chakraborty et al. Robust testing for stuck-at faults
JPH0581368A (en) Mode verification method for bidirectional terminal in scan path
JPH04293165A (en) Delay fault simulation system
Renovell et al. A specific atpg technique for resistive open with sequence recursive dependency
JPH04313162A (en) Logical simulation device
Saxena Fault Simulation Algorithms: Verilog Implementation
JP2004062222A (en) Failure simulation device and failure simulation program
Hasib High Quality Delay Testing Scheme for a Self-Timed Microprocessor

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: 19990112