JPH08304513A - Failure diagnosis system - Google Patents

Failure diagnosis system

Info

Publication number
JPH08304513A
JPH08304513A JP7113322A JP11332295A JPH08304513A JP H08304513 A JPH08304513 A JP H08304513A JP 7113322 A JP7113322 A JP 7113322A JP 11332295 A JP11332295 A JP 11332295A JP H08304513 A JPH08304513 A JP H08304513A
Authority
JP
Japan
Prior art keywords
fault
gate
stuck
failure
test
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.)
Granted
Application number
JP7113322A
Other languages
Japanese (ja)
Other versions
JP2861861B2 (en
Inventor
Takeshi Shimono
武志 下野
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Corp
Original Assignee
NEC Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Corp filed Critical NEC Corp
Priority to JP7113322A priority Critical patent/JP2861861B2/en
Publication of JPH08304513A publication Critical patent/JPH08304513A/en
Application granted granted Critical
Publication of JP2861861B2 publication Critical patent/JP2861861B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Abstract

PURPOSE: To speedily and accurately diagnose a failure by a means for defining stack fault, a means for simulating stuck-at fault, and a means for judging fault gate of suspect. CONSTITUTION: A means 11 for defining stuck-at fault inputs logic connection data 1 and refers to a fault gate 17 of suspect and defines 0 stuck-at fault or 1 stuck-at fault for the output of each fault gate of suspect. A means 12 for simulating stuck-at fault inputs a test pattern 2, performs fault simulation for the stuck-at fault defined by the means 11, and obtains a detection observation point. A means 13 for judging fault gate of suspect judges that an error may be produced when conditions that the stuck-at fault defined by the means 1 is detected at an observation point where a rest by a tester 100 results in an error and is not detected at an observation point where no error pattern results in an error and then outputs the gate to a fault gate 17 of suspect. When a failed part can be narrowed down, the gate 17 is displayed as a diagnosis result 16 by a diagnosis result display means 15.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、論理回路の故障診断シ
ステムに関し、特にテスタを用いた試験の結果不良と判
定された回路の故障を診断する故障診断システムに関す
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a failure diagnosis system for a logic circuit, and more particularly to a failure diagnosis system for diagnosing a failure of a circuit determined to be defective as a result of a test using a tester.

【0002】[0002]

【従来の技術】従来この種の技術では、ゲートの入出力
に定義した単一縮退故障に基づく故障シミュレーション
結果とテスタによる試験結果を逐次照合することにより
故障シミュレーションに要する計算時間と故障辞書に必
要なファイル容量を削減する手法がいくつか提案されて
いる。たとえば、特開平4−266169号公報には、
段階的にシミュレーション対象故障を定義して診断故障
シミュレーションを行うことによりマシンリソースを削
減し、故障診断の精度を高める技術が記載されている。
また、特開平4−195547号公報には、シミュレー
ション結果を実際の検査結果と照合してシミュレーショ
ン対象リストを絞っていくことによって処理時間を短縮
する技術が記載されている。
2. Description of the Related Art Conventionally, in this type of technique, the calculation time required for the fault simulation and the fault dictionary are required by sequentially comparing the fault simulation result based on the single stuck-at fault defined in the input / output of the gate with the test result by the tester. Several methods have been proposed to reduce the file size. For example, in Japanese Patent Laid-Open No. 4-266169,
A technique is described in which a fault to be simulated is defined stepwise and a diagnostic fault simulation is performed to reduce machine resources and improve the precision of fault diagnosis.
Further, Japanese Patent Laid-Open No. 4-195547 discloses a technique for reducing the processing time by collating the simulation result with the actual inspection result and narrowing down the simulation target list.

【0003】また、他の技術として、任意の故障を仮定
した論理シミュレーションの結果とテスタでの試験結果
を比較する事により故障箇所の診断を行う方法が提案さ
れている。たとえば、特開平4−55776号公報に
は、論理シミュレーションによる期待値とテスタによる
測定結果との照合をとることにより故障原因を特定する
技術が記載されている。
As another technique, there has been proposed a method of diagnosing a failure location by comparing a result of logic simulation assuming an arbitrary failure with a test result of a tester. For example, Japanese Patent Application Laid-Open No. 4-55776 describes a technique for identifying the cause of failure by comparing the expected value obtained by logic simulation with the measurement result obtained by a tester.

【0004】[0004]

【発明が解決しようとする課題】上述の従来技術では、
まず、ゲートの入出力に定義した単一縮退故障に基づく
故障シミュレーション結果とテスタによる試験結果を逐
次照合することにより故障箇所の診断を行う方法では、
実際に多いゲート内部の縮退故障や短絡故障などについ
て故障箇所を指摘できないという問題がある。
In the above-mentioned prior art,
First, in the method of diagnosing a fault location by sequentially collating the fault simulation result based on the single stuck-at fault defined in the input / output of the gate and the test result by the tester,
There is a problem in that it is not possible to point out faulty points such as stuck-at faults and short circuit faults inside gates that are often found.

【0005】これは、故障シミュレーションはゲートの
入出力の単一縮退故障を前提としていることに起因する
ものである。すなわち、故障シミュレーションの結果と
テスタでの試験結果とが一致するかどうかにより定義し
た故障が実際に存在するかどうかを判定し、一致しない
故障をテストパターン毎に除外している為、ゲート内部
の縮退故障や短絡故障などについては、故障シミュレー
ションの結果とテスタでの試験結果とが一致せず、定義
した故障が全て除外されてしまい、これらの故障回路部
分を指摘できないからである。
This is because the fault simulation is premised on a single stuck-at fault at the input / output of the gate. That is, it is determined whether or not a defined fault actually exists by checking whether the results of the fault simulation and the test results of the tester match, and the faults that do not match are excluded for each test pattern. With regard to stuck-at faults and short-circuit faults, the results of the fault simulation do not match the test results of the tester, and all the defined faults are excluded, and these faulty circuit parts cannot be pointed out.

【0006】さらに、任意の故障を仮定した論理シミュ
レーションの結果とテスタでの試験結果を比較する事に
より故障箇所の診断を行う方法では、対象回路の規模の
増大、複雑化により故障箇所の特定に非常に手間がかか
るという問題がある。
Further, in the method of diagnosing a failure point by comparing the result of logic simulation assuming an arbitrary failure with the test result of the tester, the failure point can be identified by increasing the scale and complexity of the target circuit. There is a problem that it is very troublesome.

【0007】これは、最初にテスタでの試験結果に基づ
き、設計者が原因となる故障を推定する必要が有り、こ
の被疑故障の推定には被試験回路に熟知していることが
必要であり、対象回路の規模の増大、複雑化により故障
箇所の推定は非常に困難となるからである。また、推定
の誤りにより、推定した故障を仮定した論理シミュレー
ションの結果とテスタによる試験結果が一致しない場
合、推定と論理シミュレーションを何度も繰り返す必要
が有るからである。
This requires the designer to first estimate the fault that is the cause based on the test results of the tester, and to estimate the suspected fault, it is necessary to be familiar with the circuit under test. This is because it is very difficult to estimate the failure location due to the increase in the scale and complexity of the target circuit. Also, if the result of the logic simulation assuming the estimated failure and the test result by the tester do not match due to an error in the estimation, it is necessary to repeat the estimation and the logic simulation many times.

【0008】本発明の目的は、故障診断を高速に行い、
また診断の精度を向上させることにある。より具体的に
は、ゲートの入出力の縮退故障だけでなく、実際に多い
ゲート内部の縮退故障や短絡故障などについても故障箇
所の絞り込みを可能とし、故障診断の精度を上げること
にある。また、大規模な回路に対しても短時間に効率良
く自動で故障箇所を診断する方法を提供する事により、
被試験回路に熟知していない者でも容易に故障箇所を診
断することのできる方法を提供することにある。
An object of the present invention is to perform fault diagnosis at high speed,
It is also to improve the accuracy of diagnosis. More specifically, not only the stuck input / output stuck-at failure of the gate but also the stuck-at failure inside the gate and the short-circuited failure which are actually many can be narrowed down to improve the accuracy of the failure diagnosis. In addition, by providing a method for efficiently and automatically diagnosing failure points in a short time even for large-scale circuits,
It is an object of the present invention to provide a method by which even a person who is not familiar with a circuit under test can easily diagnose a failure location.

【0009】[0009]

【課題を解決するための手段】上記課題を解決するため
に本発明の故障診断システムは、論理回路の機能レベル
の試験の結果に基づいて論理回路の故障を診断する論理
回路の故障診断システムにおいて、被疑故障ゲートの出
力に0縮退故障および1縮退故障を定義する縮退故障定
義手段と、前記試験で使用したテストパターンを用いて
故障シミュレーションを行い、前記縮退故障定義手段に
より定義された縮退故障がどの観測点において検出され
るかを求める縮退故障シミュレーション手段と、前記試
験によりエラーを発生した観測点に関して前記縮退故障
シミュレーション手段により故障が検出された場合には
エラー原因の可能性がある旨を判定し、前記試験により
エラーを発生したパターンにおいてエラーを発生しない
観測点に関して前記縮退故障シミュレーション手段によ
り故障が検出された場合にはエラー原因の可能性がない
旨を判定する被疑故障ゲート判定手段とを有する。
In order to solve the above-mentioned problems, a failure diagnosis system of the present invention is a failure diagnosis system for a logic circuit for diagnosing a failure of the logic circuit based on a result of a test of a function level of the logic circuit. , A stuck-at fault defining means for defining 0 stuck-at faults and 1 stuck-at faults at the output of the suspected fault gate, and a test simulation used by the test pattern used in the test, and the stuck-at faults defined by the stuck-at fault defining means are detected. Stuck-at fault simulation means for determining at which observation point the fault is detected, and if a fault is detected by the stuck-at fault simulation means at the observation point at which an error has occurred by the test, it is determined that there is a possibility of an error cause. However, regarding the observation points that do not generate an error in the pattern If a fault is detected by the stuck-at fault simulation means and a suspected fault gate determining means determines that there is no possibility of error cause.

【0010】また、本発明の他の故障診断システムは、
論理回路の機能レベルの試験の結果に基づいて論理回路
の故障を診断する論理回路の故障診断システムにおい
て、被疑故障ゲートの出力に故障時の値が不定となる故
障を定義する不定故障定義手段と、前記試験で使用した
テストパターンを用いて故障シミュレーションを行い、
前記不定故障定義手段により定義された不定故障によっ
てどの観測点に不定値が出力されるかを求める不定故障
シミュレーション手段と、前記試験によりエラーを発生
したパターンに関して前記不定故障シミュレーション手
段により全てのエラーを発生した観測点について不定値
が検出された場合にはエラー原因の可能性がある旨を判
定し、前記試験によりエラーを発生したパターンに関し
て前記不定故障シミュレーション手段により少なくとも
一つのエラーを発生した観測点について不定値でないも
のが検出された場合にはエラー原因の可能性がない旨を
判定する被疑故障ゲート判定手段とを有する。
Another fault diagnosis system of the present invention is
In a failure diagnosis system of a logic circuit for diagnosing a failure of the logic circuit based on the result of the test of the function level of the logic circuit, an indefinite failure definition means for defining a failure in which the value at the time of failure is undefined at the output of the suspected failure gate, and , Perform a failure simulation using the test pattern used in the test,
An indefinite fault simulation means for determining to which observation point an indefinite value is output by the indefinite fault defined by the indefinite fault definition means, and all the errors by the indefinite fault simulation means with respect to the pattern in which an error occurs due to the test. When an indeterminate value is detected for the generated observation point, it is determined that there is a possibility of an error cause, and an observation point at which at least one error has been generated by the indefinite fault simulation means with respect to the pattern in which the error has occurred by the test. If a value that is not an indefinite value is detected, a suspected failure gate determination unit that determines that there is no possibility of an error cause is provided.

【0011】また、本発明の他の故障診断システムは、
論理回路の機能レベルの試験の結果に基づいて論理回路
の故障を診断する論理回路の故障診断システムにおい
て、被疑故障ゲートの出力に0縮退故障と1縮退故障を
定義する縮退故障定義手段と、前記試験で使用したテス
トパターンを用いて正常な場合のゲートの入力値および
出力値ならびに前記縮退故障定義手段により定義された
故障がある場合のゲートの入力値および出力値を求め
て、前記被疑故障ゲートの出力に定義された縮退故障が
どの観測点において検出されるかを判定する縮退故障シ
ミュレーション手段と、前記試験によりエラーを発生し
ない観測点に関して前記縮退故障シミュレーション手段
により故障が検出された場合には前記被疑故障ゲートの
出力値は前記縮退故障シミュレーション手段により求め
られた正常な場合のゲートの出力値と同じである旨を推
定し、前記試験によりエラーを発生した観測点に関して
前記縮退故障シミュレーション手段により故障が検出さ
れた場合には前記被疑故障ゲートの出力値は前記縮退故
障シミュレーション手段により求められた正常な場合の
ゲートの出力値の反対の値である旨を推定するゲート出
力値推定手段と、前記縮退故障シミュレーション手段に
より求められた前記故障がある場合のゲートの入力値と
前記ゲート出力値推定手段により推定されたゲートの出
力値との組合せから前記被疑故障ゲートの真理値表を作
成し、この真理値表に矛盾のあるゲートを被疑故障ゲー
トから除去する真理値表作成手段とを有する。
Another fault diagnosis system of the present invention is
In a logic circuit failure diagnosis system for diagnosing a failure of a logic circuit based on a result of a test of a function level of the logic circuit, a stuck-at fault defining means for defining 0 stuck-at fault and 1 stuck-at fault at an output of a suspected fault gate, Using the test pattern used in the test, the input value and the output value of the gate in the normal case and the input value and the output value of the gate in the case of the fault defined by the stuck-at fault defining means are obtained, and the suspected failure gate is obtained. A stuck-at fault simulation means for determining at which observation point a stuck-at fault defined in the output of is detected, and a failure is detected by the stuck-at fault simulation means for an observation point that does not generate an error by the test, The output value of the suspected failure gate is a normal case gage obtained by the stuck-at failure simulation means. The output value of the suspected failure gate is estimated by the stuck-at fault simulation means when the fault is detected by the stuck-at fault simulation means at the observation point where an error occurs in the test. A gate output value estimating means for estimating that the output value of the gate in the normal case is the opposite value, and an input value of the gate in the case where there is the failure obtained by the stuck-at fault simulation means and the Truth table creating means for creating a truth table of the suspected failure gate from the combination with the output value of the gate estimated by the gate output value estimating means, and removing a gate having a contradiction in the truth table from the suspected failure gate Have and.

【0012】また、本発明の他の故障診断システムは、
論理回路の機能レベルの試験の結果に基づいて論理回路
の故障を診断する論理集積回路の故障診断システムにお
いて、前記論理回路内の被疑故障ゲートの初期値を人手
指定により設定する被疑故障ゲート設定手段と、被疑故
障ゲートの出力に0縮退故障および1縮退故障を定義す
る縮退故障定義手段と、前記試験で使用したテストパタ
ーンを用いて故障シミュレーションを行い、前記縮退故
障定義手段により定義された縮退故障がどの観測点にお
いて検出されるかを求める縮退故障シミュレーション手
段と、前記試験によりエラーを発生した観測点に関して
前記縮退故障シミュレーション手段により故障が検出さ
れた場合にはエラー原因の可能性がある旨を判定し、前
記試験によりエラーを発生したパターンにおいてエラー
を発生しない観測点に関して前記縮退故障シミュレーシ
ョン手段により故障が検出された場合にはエラー原因の
可能性がない旨を判定する被疑故障ゲート判定手段と、
被疑故障ゲートの出力に0縮退故障と1縮退故障を定義
する縮退故障定義手段と、前記試験で使用したテストパ
ターンを用いて正常な場合のゲートの入力値および出力
値ならびに前記縮退故障定義手段により定義された故障
がある場合のゲートの入力値および出力値を求めて、前
記被疑故障ゲートの出力に定義された該縮退故障がどの
観測点において検出されるかを判定する縮退故障シミュ
レーション手段と、前記試験によりエラーを発生しない
観測点に関して前記縮退故障シミュレーション手段によ
り故障が検出された場合には前記被疑故障ゲートの出力
値は前記縮退故障シミュレーション手段により求められ
た正常な場合のゲートの出力値と同じである旨を推定
し、前記試験によりエラーを発生した観測点に関して前
記縮退故障シミュレーション手段により故障が検出され
た場合には前記被疑故障ゲートの出力値は前記縮退故障
シミュレーション手段により求められた正常な場合のゲ
ートの出力値の反対の値である旨を推定するゲート出力
値推定手段と、前記縮退故障シミュレーション手段によ
り求められた前記故障がある場合のゲートの入力値と前
記ゲート出力値推定手段により推定されたゲートの出力
値との組合せから前記被疑故障ゲートの真理値表を作成
し、この真理値表に矛盾のあるゲートを被疑故障ゲート
から除去する真理値表作成手段とを有する。
Further, another failure diagnosis system of the present invention is
In a failure diagnosis system for a logic integrated circuit, which diagnoses a failure of a logic circuit based on a result of a test of a function level of the logic circuit, a suspected failure gate setting means for manually setting an initial value of a suspected failure gate in the logic circuit. And a stuck-at fault defining means for defining 0 stuck-at faults and 1 stuck-at faults at the output of the suspected fault gate, and a fault simulation using the test pattern used in the test, and stuck-at faults defined by the stuck-at fault defining means. A stuck-at fault simulation means for determining at which observation point is detected, and if a failure is detected by the stuck-at fault simulation means at the observation point at which an error has occurred by the test, it is possible that there is a possibility of an error cause. Judgment and observation that does not cause an error in the pattern that caused an error by the above test A suspected fault gate determining means determines that there is no possibility of errors caused when a failure is detected by the stuck-at fault simulation means with respect to,
The stuck-at fault defining means for defining 0 stuck-at faults and 1 stuck-at faults at the output of the suspected fault gate, and the input value and output value of the gate in the normal case using the test pattern used in the test and the stuck-at fault defining means. Stuck-at fault simulation means for determining at which observation point the stuck-at fault defined at the output of the suspected-fault gate is obtained by obtaining an input value and an output value of the gate when there is a defined fault, When a fault is detected by the stuck-at fault simulation means with respect to an observation point that does not generate an error by the test, the output value of the suspected fault gate is the output value of the gate in the normal case obtained by the stuck-at fault simulation means. It is estimated that they are the same, and the stuck-at fault simulation is performed for the observation point where an error has occurred in the test. Gate output value estimation for estimating that the output value of the suspected failure gate is the opposite value of the output value of the normal gate obtained by the stuck-at fault simulation means when a failure is detected by the operation means. Means, and a truth value table of the suspected failure gate from a combination of the input value of the gate when the fault is obtained by the stuck-at fault simulation means and the output value of the gate estimated by the gate output value estimation means. And a truth table creating means for creating a gate having a contradiction in the truth table and removing it from the suspected failure gate.

【0013】また、本発明の他の故障診断システムは、
論理回路の機能レベルの試験の結果に基づいて論理回路
の故障を診断する論理集積回路の故障診断システムにお
いて、前記論理回路内の被疑故障ゲートの初期値を人手
指定により設定する被疑故障ゲート設定手段と、被疑故
障ゲートの出力に故障時の値が不定となる故障を定義す
る不定故障定義手段と、前記試験で使用したテストパタ
ーンを用いて故障シミュレーションを行い、前記不定故
障定義手段により定義された不定故障によってどの観測
点に不定値が出力されるかを求める不定故障シミュレー
ション手段と、前記試験によりエラーを発生したパター
ンに関して前記不定故障シミュレーション手段により全
てのエラーを発生した観測点について不定値が検出され
た場合にはエラー原因の可能性がある旨を判定し、前記
試験によりエラーを発生したパターンに関して前記不定
故障シミュレーション手段により少なくとも一つのエラ
ーを発生した観測点について不定値でないものが検出さ
れた場合にはエラー原因の可能性がない旨を判定する被
疑故障ゲート判定手段と、被疑故障ゲートの出力に0縮
退故障と1縮退故障を定義する縮退故障定義手段と、前
記試験で使用したテストパターンを用いて正常な場合の
ゲートの入力値および出力値ならびに前記縮退故障定義
手段により定義された故障がある場合のゲートの入力値
および出力値を求めて、前記被疑故障ゲートの出力に定
義された該縮退故障がどの観測点において検出されるか
を判定する縮退故障シミュレーション手段と、前記試験
によりエラーを発生しない観測点に関して前記縮退故障
シミュレーション手段により故障が検出された場合には
前記被疑故障ゲートの出力値は前記縮退故障シミュレー
ション手段により求められた正常な場合のゲートの出力
値と同じである旨を推定し、前記試験によりエラーを発
生した観測点に関して前記縮退故障シミュレーション手
段により故障が検出された場合には前記被疑故障ゲート
の出力値は前記縮退故障シミュレーション手段により求
められた正常な場合のゲートの出力値の反対の値である
旨を推定するゲート出力値推定手段と、前記縮退故障シ
ミュレーション手段により求められた前記故障がある場
合のゲートの入力値と前記ゲート出力値推定手段により
推定されたゲートの出力値との組合せから前記被疑故障
ゲートの真理値表を作成し、この真理値表に矛盾のある
ゲートを被疑故障ゲートから除去する真理値表作成手段
とを有する。
Another fault diagnosis system of the present invention is
In a failure diagnosis system for a logic integrated circuit, which diagnoses a failure of a logic circuit based on a result of a test of a function level of the logic circuit, a suspected failure gate setting means for manually setting an initial value of a suspected failure gate in the logic circuit. And an indefinite fault definition means for defining a fault in which the value at the time of failure is indefinite in the output of the suspected failure gate, and a fault simulation using the test pattern used in the test, and defined by the indefinite fault definition means. An indefinite fault simulation means for determining to which observation point an indefinite value is output due to an indefinite fault, and an indefinite value is detected for an observation point where all the errors have occurred by the indefinite fault simulation means with respect to the pattern in which an error has occurred due to the test. If the error is detected, it is judged that there is a possibility of error and the error is Suspected fault gate determination means for determining that there is no possibility of an error cause when a non-indeterminate value is detected for the observation points at which at least one error has occurred with respect to the generated pattern, and the suspected A stuck-at fault defining means for defining 0 stuck-at faults and 1 stuck-at faults at the output of the fault gate, and an input value and output value of the gate in a normal case using the test pattern used in the test, and the stuck-at fault defining means. A stuck-at fault simulation means for determining at which observation point the stuck-at fault defined in the output of the suspected-failed gate is obtained by obtaining an input value and an output value of the gate in the case where there is a selected fault; For the observation points that do not generate an error by the test, the stuck-at fault simulation means If it is issued, it is estimated that the output value of the suspected failure gate is the same as the output value of the gate in the normal case obtained by the stuck-at fault simulation means, and regarding the observation point at which an error occurred by the test. A gate for estimating that the output value of the suspected failure gate is a value opposite to the output value of the normal gate obtained by the stuck-at fault simulation means when a failure is detected by the stuck-at fault simulation means. The truth of the suspected failure gate from the combination of the output value estimation means and the gate input value when the fault is obtained by the stuck-at fault simulation means and the gate output value estimated by the gate output value estimation means. A truth table creating means for creating a value table and removing gates having inconsistencies in the truth table from the suspected failure gate Have and.

【0014】また、本発明の他の故障診断システムは、
論理回路の機能レベル試験の結果に基づいて論理回路の
故障を診断する論理回路の故障診断システムにおいて、
前記試験結果においてエラーが検出された観測点から回
路の入力側に向かって回路をトレースし、前記論理回路
の入力端に達するまでにトレースした範囲のゲートを被
疑故障ゲートの初期値とする回路トレース手段と、被疑
故障ゲートの出力に0縮退故障および1縮退故障を定義
する縮退故障定義手段と、前記試験で使用したテストパ
ターンを用いて故障シミュレーションを行い、前記縮退
故障定義手段により定義された縮退故障がどの観測点に
おいて検出されるかを求める縮退故障シミュレーション
手段と、前記試験によりエラーを発生した観測点に関し
て前記縮退故障シミュレーション手段により故障が検出
された場合にはエラー原因の可能性がある旨を判定し、
前記試験によりエラーを発生したパターンにおいてエラ
ーを発生しない観測点に関して前記縮退故障シミュレー
ション手段により故障が検出された場合にはエラー原因
の可能性がない旨を判定する被疑故障ゲート判定手段
と、被疑故障ゲートの出力に0縮退故障と1縮退故障を
定義する縮退故障定義手段と、前記試験で使用したテス
トパターンを用いて正常な場合のゲートの入力値および
出力値ならびに前記縮退故障定義手段により定義された
故障がある場合のゲートの入力値および出力値を求め
て、前記被疑故障ゲートの出力に定義された該縮退故障
がどの観測点において検出されるかを判定する縮退故障
シミュレーション手段と、前記試験によりエラーを発生
しない観測点に関して前記縮退故障シミュレーション手
段により故障が検出された場合には前記被疑故障ゲート
の出力値は前記縮退故障シミュレーション手段により求
められた正常な場合のゲートの出力値と同じである旨を
推定し、前記試験によりエラーを発生した観測点に関し
て前記縮退故障シミュレーション手段により故障が検出
された場合には前記被疑故障ゲートの出力値は前記縮退
故障シミュレーション手段により求められた正常な場合
のゲートの出力値の反対の値である旨を推定するゲート
出力値推定手段と、前記縮退故障シミュレーション手段
により求められた前記故障がある場合のゲートの入力値
と前記ゲート出力値推定手段により推定されたゲートの
出力値との組合せから前記被疑故障ゲートの真理値表を
作成し、この真理値表に矛盾のあるゲートを被疑故障ゲ
ートから除去する真理値表作成手段とを有する。
Another failure diagnosis system of the present invention is
In a failure diagnosis system for a logic circuit that diagnoses a failure of the logic circuit based on the result of the function level test of the logic circuit,
A circuit trace in which the circuit is traced from the observation point where an error is detected in the test result toward the input side of the circuit, and the gate in the range traced until reaching the input end of the logic circuit is the initial value of the suspected failure gate. Means, a stuck-at fault defining means for defining 0 stuck-at faults and 1 stuck-at faults at the output of the suspected failure gate, and a test simulation used in the test pattern used in the test, and the stuck-at faults defined by the stuck-at fault defining means. A stuck-at fault simulation means for determining at which observation point a fault is detected, and if a failure is detected by the stuck-at fault simulation means for an observation point at which an error has occurred by the test, it means that there is a possibility of an error cause. Is judged,
A suspected failure gate determination unit that determines that there is no possibility of an error cause when the stuck-at fault simulation unit detects a fault with respect to an observation point that does not cause an error in the pattern in which an error has occurred by the test, and a suspected fault The stuck-at fault defining means for defining 0 stuck-at faults and 1 stuck-at faults at the output of the gate, and the input value and output value of the gate in the normal case using the test pattern used in the test, and the stuck-at fault defining means. A stuck-at fault simulation means for determining at which observation point the stuck-at fault defined in the output of the suspected-failure gate is detected by obtaining an input value and an output value of the gate when there is a failure, and the test. A fault is detected by the stuck-at fault simulation means for an observation point that does not generate an error. In this case, it is estimated that the output value of the suspected fault gate is the same as the output value of the gate in the normal case obtained by the stuck-at fault simulation means, and the stuck-at degeneration is performed with respect to the observation point where an error occurs in the test. A gate output value for estimating that the output value of the suspected failure gate is the opposite of the output value of the gate in the normal case obtained by the stuck-at fault simulation means when a failure is detected by the failure simulation means. A truth table of the suspected failure gate based on a combination of an estimating unit and an input value of the gate when the fault is obtained by the stuck-at fault simulation unit and an output value of the gate estimated by the gate output value estimating unit. And a truth table creating means for removing a gate having a contradiction in the truth table from the suspected failure gate. To.

【0015】また、本発明の他の故障診断システムは、
論理回路の機能レベル試験の結果に基づいて論理回路の
故障を診断する論理回路の故障診断システムにおいて、
前記試験結果においてエラーが検出された観測点から回
路の入力側に向かって回路をトレースし、前記論理回路
の入力端に達するまでにトレースした範囲のゲートを被
疑故障ゲートの初期値とする回路トレース手段と、被疑
故障ゲートの出力に故障時の値が不定となる故障を定義
する不定故障定義手段と、前記試験で使用したテストパ
ターンを用いて故障シミュレーションを行い、前記不定
故障定義手段により定義された不定故障によってどの観
測点に不定値が出力されるかを求める不定故障シミュレ
ーション手段と、前記試験によりエラーを発生したパタ
ーンに関して前記不定故障シミュレーション手段により
全てのエラーを発生した観測点について不定値が検出さ
れた場合にはエラー原因の可能性がある旨を判定し、前
記試験によりエラーを発生したパターンに関して前記不
定故障シミュレーション手段により少なくとも一つのエ
ラーを発生した観測点について不定値でないものが検出
された場合にはエラー原因の可能性がない旨を判定する
被疑故障ゲート判定手段と、被疑故障ゲートの出力に0
縮退故障と1縮退故障を定義する縮退故障定義手段と、
前記試験で使用したテストパターンを用いて正常な場合
のゲートの入力値および出力値ならびに前記縮退故障定
義手段により定義された故障がある場合のゲートの入力
値および出力値を求めて、前記被疑故障ゲートの出力に
定義された該縮退故障がどの観測点において検出される
かを判定する縮退故障シミュレーション手段と、前記試
験によりエラーを発生しない観測点に関して前記縮退故
障シミュレーション手段により故障が検出された場合に
は前記被疑故障ゲートの出力値は前記縮退故障シミュレ
ーション手段により求められた正常な場合のゲートの出
力値と同じである旨を推定し、前記試験によりエラーを
発生した観測点に関して前記縮退故障シミュレーション
手段により故障が検出された場合には前記被疑故障ゲー
トの出力値は前記縮退故障シミュレーション手段により
求められた正常な場合のゲートの出力値の反対の値であ
る旨を推定するゲート出力値推定手段と、前記縮退故障
シミュレーション手段により求められた前記故障がある
場合のゲートの入力値と前記ゲート出力値推定手段によ
り推定されたゲートの出力値との組合せから前記被疑故
障ゲートの真理値表を作成し、この真理値表に矛盾のあ
るゲートを被疑故障ゲートから除去する真理値表作成手
段とを有する。
Another failure diagnosis system of the present invention is
In a failure diagnosis system for a logic circuit that diagnoses a failure of the logic circuit based on the result of the function level test of the logic circuit,
A circuit trace in which the circuit is traced from the observation point where an error is detected in the test result toward the input side of the circuit, and the gate in the range traced until reaching the input end of the logic circuit is the initial value of the suspected failure gate. Means, an indefinite fault definition means for defining a fault whose value at the time of failure is indefinite in the output of the suspected failure gate, and a fault simulation using the test pattern used in the test, and defined by the indefinite fault definition means. The indefinite fault simulation means for determining to which observation point an indefinite value is output due to the indefinite fault, and the indefinite values for the observation points in which all the errors have been generated by the indefinite fault simulation means with respect to the pattern in which an error has occurred due to the test. If it is detected, it is judged that there is a possibility that it is the cause of the error. A suspected failure gate determination means for determining that there is no possibility of error cause when at least one error-free observation point is detected by the indefinite failure simulation means with respect to the generated pattern. 0 for the output of the suspected failure gate
Stuck-at fault defining means for defining stuck-at fault and 1 stuck-at fault,
Using the test pattern used in the test, the input value and output value of the gate in the normal case and the input value and output value of the gate in the case of the fault defined by the stuck-at fault defining means are obtained, and the suspected fault A stuck-at fault simulation means for determining at which observation point the stuck-at fault defined in the output of the gate is detected, and a case where a failure is detected at the stuck-at fault simulation means for an observation point that does not generate an error by the test. It is estimated that the output value of the suspected failure gate is the same as the output value of the gate in the normal case obtained by the stuck-at fault simulation means, and the stuck-at fault simulation is performed on the observation point where an error occurs in the test. When a failure is detected by the means, the output value of the suspected failure gate is Gate output value estimating means for estimating that the output value of the gate in the normal case obtained by the stuck-at fault simulation means is the opposite value; A truth table for creating a truth table of the suspected failure gate from a combination of an input value and an output value of the gate estimated by the gate output value estimating means, and a truth for removing a gate having a contradiction in the truth table from the suspected failure gate. And a value table creating means.

【0016】[0016]

【作用】本発明においては、第1の発明では被疑故障ゲ
ート判定手段により定義した縮退故障の故障シミュレー
ション結果とテスタによる試験結果とが完全に一致する
故障だけでなく、ゲート内部の故障によりエラーが検出
される可能性のあるゲートを被疑故障ゲートとして残す
事によりゲート入出力の縮退故障だけでなくゲート内部
の故障をも診断する。また第2の発明では被疑故障ゲー
トの出力が不定になる故障を仮定して故障シミュレーシ
ョンした結果により被疑故障ゲートの判定を行うことに
より、ゲート内部の故障によりゲートの動作が変わって
しまう任意の故障について診断する。また第3の発明で
は故障シミュレーション結果により被疑故障ゲートの出
力値を推定して真理値表を作成することにより、ゲート
内部の故障によってゲートの動作が変わってしまう故障
についてその故障回路における真理値表を求めて故障の
診断を行う。
According to the first aspect of the present invention, not only does the fault simulation result of the stuck-at fault defined by the suspected fault gate determination means completely match the test result of the tester, but an error occurs due to a fault inside the gate. By leaving the gate that may be detected as the suspicious failure gate, not only the stuck input / output failure of the gate but also the failure inside the gate is diagnosed. Further, in the second aspect of the present invention, by deciding the suspected failure gate based on the result of failure simulation assuming a failure in which the output of the suspected failure gate becomes indefinite, an arbitrary failure in which the operation of the gate changes due to a failure inside the gate Diagnose. According to the third invention, the truth value table is created by estimating the output value of the suspected failure gate based on the result of the failure simulation, so that the truth table in the failure circuit can be applied to the failure in which the operation of the gate is changed by the failure inside the gate. To diagnose the failure.

【0017】本発明ではあらかじめ故障辞書を作成する
ことなく、テストパターン毎に故障シミュレーションを
行い、テスタによる試験結果を参照して被疑故障ゲート
を段階的に絞り込むことにより、必要なファイル容量お
よび計算時間を少なく抑える。
According to the present invention, a failure simulation is performed for each test pattern without creating a failure dictionary in advance, and the suspected failure gate is narrowed down step by step by referring to the test result by the tester. Keep it low.

【0018】本発明ではあらかじめ設計者による被疑故
障箇所の推定をすることなく、回路の指定された範囲内
の全部のゲートを被疑故障ゲートの初期値とするか、あ
るいはテスタによる試験結果でエラーの出た観測点から
回路を入力側にトレースし、該論理集積回路の入力端に
達するまでにトレースした範囲のゲートを被疑故障ゲー
トの初期値として故障診断を行うことにより、被試験回
路に対して熟知していない者でも容易に故障診断ができ
るようになる。
According to the present invention, all gates within the specified range of the circuit are set as the initial values of the suspected failure gate without the designer estimating the suspected failure location in advance, or an error is detected in the test result by the tester. The circuit is traced from the observed point to the input side, and the fault is diagnosed by using the gate in the traced range until reaching the input end of the logic integrated circuit as the initial value of the suspected fault gate, and Even a person who is not familiar with it can easily diagnose a failure.

【0019】[0019]

【実施例】次に本発明の故障診断システムの一実施例に
ついて図面を参照して詳細に説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the failure diagnosis system of the present invention will be described in detail with reference to the drawings.

【0020】図1を参照すると、本発明の第1の実施例
である故障診断システムは、被疑故障ゲート17の出力
に対して0縮退故障または1縮退故障を定義する縮退故
障定義手段11と、故障シミュレーションを行う縮退故
障シミュレーション手段12と、縮退故障の定義されて
いるゲートがエラーの原因となりうるか否かを判定する
被疑故障ゲート判定手段13と、診断結果16を表示す
る診断結果表示手段15とを含んでいる。
Referring to FIG. 1, the fault diagnosis system according to the first embodiment of the present invention includes a stuck-at fault defining means 11 for defining a stuck-at-0 fault or a stuck-at-1 fault with respect to the output of the suspected fault gate 17. Stuck-at fault simulation means 12 for performing a failure simulation, suspected-fault gate determination means 13 for determining whether a gate in which a stuck-at fault is defined can cause an error, and diagnostic result display means 15 for displaying a diagnostic result 16. Is included.

【0021】検査結果3には、テスタ100を介してテ
ストパターン2が与えられた被試験回路101の出力応
答とテストパターン2の出力期待値とを比較して得られ
たエラー情報が格納されている。まず、縮退故障定義手
段11は、被試験回路101の論理接続データ1を入力
し、被疑故障ゲート17を参照しながら各被疑故障ゲー
トの出力に0縮退故障または1縮退故障を定義する。こ
こで、0縮退故障とは、固定的に「0」になってしまう
故障であり、1縮退とは、固定的に「1」になってしま
う故障である。この縮退故障定義手段11が行う定義
は、仮のものであり、以降の手順に応じて取り消され
る。
The inspection result 3 stores error information obtained by comparing the output response of the circuit under test 101 given the test pattern 2 via the tester 100 and the expected output value of the test pattern 2. There is. First, the stuck-at fault definition means 11 inputs the logical connection data 1 of the circuit under test 101 and refers to the suspected fault gate 17 to define a stuck-at-0 fault or a stuck-at-1 fault at the output of each suspected fault gate. Here, the stuck-at-0 failure is a failure that fixedly becomes "0", and the stuck-at-1 failure is a failure that fixedly becomes "1". The definition performed by the stuck-at fault definition means 11 is tentative and is canceled according to the subsequent procedure.

【0022】次に、縮退故障シミュレーション手段12
は、テストパターン2を入力し、縮退故障定義手段11
により定義された縮退故障について故障シミュレーショ
ンを行い、各縮退故障がどの観測点で検出されるかを求
める。
Next, the stuck-at fault simulation means 12
Inputs the test pattern 2, and the stuck-at fault definition means 11
A stuck simulation is performed for the stuck-at faults defined by to find at which observation point each stuck-at fault is detected.

【0023】被疑故障ゲート判定手段13は、縮退故障
定義手段11により定義された縮退故障がテスタ100
による試験の結果エラーとなった観測点で検出され、か
つエラーパターンのエラーでない観測点で検出されない
という条件を満たした場合に、該縮退故障の定義されて
いるゲートがエラーの原因となりうると判定し、このゲ
ートを被疑故障ゲート17に出力する。それ以外の、試
験の結果エラーとなった観測点で検出されない場合、お
よびエラーパターンのエラーでない観測点で検出される
場合には、該縮退故障の定義されているゲートはエラー
の原因とはならないと判定し、このゲートを被疑故障ゲ
ート17から削除する。
The suspected failure gate determination means 13 tests the stuck-at fault defined by the stuck-at fault definition means 11 to the tester 100.
If the condition that the error is detected at the observation point as a result of the test by and the detection is not performed at the observation point that is not an error in the error pattern is satisfied, the gate in which the stuck-at fault is defined may cause an error. Then, this gate is output to the suspected failure gate 17. Otherwise, if it is not detected at an observation point that results in an error in the test, or if it is detected at an observation point that is not an error in the error pattern, the gate in which the stuck-at fault is defined does not cause an error. Then, this gate is deleted from the suspected failure gate 17.

【0024】診断終了の判定14として、エラーとなっ
たテストパターンがまだ残っており、かつまだ被疑故障
ゲート17として多くのゲートが残っており、更に被疑
故障箇所の絞り込みが可能と判断される場合には、再び
縮退故障定義手段11に戻って、上記処理を繰り返す。
一方、エラーとなったテストパターンがなくなるか、ま
たは被疑故障ゲート17として十分少ない数、例えば1
箇所にまで故障箇所を絞り込むことができれば、診断結
果表示手段15により被疑故障ゲート17を診断結果1
6として表示する。
As the judgment 14 of the end of diagnosis, there is still an errored test pattern, and many gates remain as the suspected failure gate 17, and it is judged that the suspected failure location can be narrowed down. To return to the stuck-at fault definition means 11, the above process is repeated.
On the other hand, the error test pattern disappears or the suspected failure gate 17 has a sufficiently small number, for example, 1
If the failure points can be narrowed down to the points, the diagnosis result display means 15 allows the suspected failure gate 17 to display the diagnosis result 1
Display as 6.

【0025】次に本発明の上記第一の実施例の動作につ
いて図2〜図4を用いて詳細に説明する。
Next, the operation of the first embodiment of the present invention will be described in detail with reference to FIGS.

【0026】図2を参照すると、CMOS論理回路によ
る排他的論理和回路(以下、XOR回路、または、XO
Rゲートという)の回路図において、XOR回路20は
PMOSトランジスタ21〜25、NMOSトランジス
タ26〜30とそれらの間の配線により構成されてい
る。図2において、×印を付した故障箇所31がグラン
ド配線との短絡などにより0固定になる故障が生じた場
合を考える。入力A=1かつ入力B=1の時に、出力Y
は正常ならば0になるところ、故障により1となる。そ
れ以外の入力に対してXOR回路20は正常な回路と同
じ値を出力する。従って、ゲートレベルでみると、ゲー
ト入出力の0縮退故障にも1縮退故障にもならず、あた
かも論理和ゲートのように振る舞うことになる。
Referring to FIG. 2, an exclusive OR circuit (hereinafter referred to as an XOR circuit or an XO circuit) formed of a CMOS logic circuit.
In the circuit diagram of (R gate), the XOR circuit 20 is composed of PMOS transistors 21 to 25, NMOS transistors 26 to 30, and wiring between them. In FIG. 2, consider a case where a failure location 31 marked with an X is fixed to 0 due to a short circuit with the ground wiring or the like. Output Y when input A = 1 and input B = 1
Will be 0 if normal, but will be 1 due to a failure. For other inputs, the XOR circuit 20 outputs the same value as a normal circuit. Therefore, at the gate level, neither the 0 stuck-at fault nor the 1 stuck-at fault occurs at the gate input / output, and the gate behaves like an OR gate.

【0027】図3を参照すると、図2の内部故障を持つ
XORゲート(以下、故障ゲートという)を含む論理回
路例において、論理回路40は正常なXORゲート4
1、故障により論理が排他的論理和から論理和に変化し
た故障ゲート42、正常な論理積ゲート(以下、AND
ゲートという)43および正常な論理和ゲート(以下、
ORゲートという)44を含んでいる。
Referring to FIG. 3, in the example of the logic circuit including the XOR gate having an internal fault (hereinafter referred to as a fault gate) shown in FIG. 2, the logic circuit 40 has a normal XOR gate 4
1. A failure gate 42 whose logic has changed from an exclusive OR to a logical OR due to a failure, and a normal AND gate (hereinafter, AND gate).
43) and a normal OR gate (hereinafter,
It includes an OR gate) 44.

【0028】図4を参照すると、図3の論理回路40に
対してテストパターン2を与えて試験を行った結果が示
される。試験は5つのテストパターンを用いて行われ、
パターン番号「2」のテストパターンに対する出力Fが
正常回路の場合の期待値として「0」となるところ、故
障回路では「1」が出力されてエラーとなり、更にパタ
ーン番号「5」のテストパターンに対する出力Eが正常
回路の場合の期待値として「0」となるところ、故障回
路では「1」が出力されてエラーとなっている。
Referring to FIG. 4, there is shown a result of performing a test by applying the test pattern 2 to the logic circuit 40 of FIG. The test is conducted using five test patterns,
When the output F for the test pattern of pattern number "2" is "0" as an expected value in the case of a normal circuit, "1" is output in the fault circuit and an error occurs, and for the test pattern of pattern number "5". When the output E is "0" as the expected value in the case of the normal circuit, "1" is output in the faulty circuit, which is an error.

【0029】図3および図4を用いて、従来のゲートの
入出力の縮退故障だけを対象とした故障診断方式では故
障箇所の絞り込みに失敗する事を示す。そして、本発明
の故障診断方式により故障箇所の絞り込みが可能である
ことを示す。
With reference to FIGS. 3 and 4, it is shown that the conventional failure diagnosis method for only the stuck-at fault of the input / output of the gate fails in narrowing down the failure point. Then, it is shown that the failure diagnosis method of the present invention enables narrowing down of failure points.

【0030】まず、従来の縮退故障を対象とした故障診
断方式では各ゲートの入出力に0縮退故障と1縮退故障
を定義する。次に、テストパターンを用いて故障シミュ
レーションを行い、定義した故障の検出状況と試験結果
のエラーの出方とが一致する故障だけを被疑故障として
残す。図3の回路で図4のパターン番号「1」のテスト
パターンを用いて故障シミュレーションを行うと、XO
Rゲート41の入出力の1故障、故障ゲート42の入出
力の1故障、ANDゲート43の出力の1故障、ORゲ
ート44の入出力の1故障の合計10個の故障が検出さ
れ、試験結果でエラーが出ていない事からこれらの故障
は不一致として除外される。残った縮退故障についてパ
ターン番号「2」のテストパターンを用いて故障シミュ
レーションを行うと、XORゲート42の入力の0故障
2個が出力Fで検出され、Fでエラーになっている事か
らこの2個の故障だけが被疑故障として残る。パターン
番号「3」のテストパターンで故障シミュレーションを
行うと故障ゲート42の第1入力の0故障が出力Fで検
出され、パターン番号「4」のテストパターンで故障シ
ミュレーションを行うと故障ゲート42の第2入力の0
故障が出力Eで検出されるが、どちらのテストパターン
もエラーが無いので2つの故障は試験結果と不一致とし
て削除される。この結果、最初に定義した縮退故障は全
て削除されてしまい被疑故障がなくなり故障診断に失敗
する。
First, in the conventional fault diagnosis method for stuck-at faults, 0 stuck-at fault and 1 stuck-at fault are defined at the input and output of each gate. Next, failure simulation is performed using the test pattern, and only failures in which the defined failure detection status and the error result of the test result match are left as suspected failures. When the failure simulation is performed using the test pattern of the pattern number “1” of FIG. 4 in the circuit of FIG.
A total of 10 failures including 1 failure of the input / output of the R gate 41, 1 failure of the input / output of the failure gate 42, 1 failure of the output of the AND gate 43, and 1 failure of the input / output of the OR gate 44 are detected, and the test result is obtained. Since there are no errors in the above, these failures are excluded as inconsistencies. When a fault simulation is performed on the remaining stuck-at faults using the test pattern of the pattern number “2”, two 0 faults at the input of the XOR gate 42 are detected at the output F, and since there is an error at F, this 2 Only individual failures remain as suspected failures. When the failure simulation is performed with the test pattern of the pattern number “3”, the 0 failure at the first input of the failure gate 42 is detected at the output F, and when the failure simulation is performed with the test pattern of the pattern number “4”, the failure gate 42 2-input 0
A fault is detected at the output E, but since neither test pattern has an error, the two faults are deleted as a mismatch with the test result. As a result, all the stuck-at faults defined at the beginning are deleted, the suspected faults disappear, and the fault diagnosis fails.

【0031】次に、本発明の故障診断方式による動作を
説明する。まずXORゲート41、故障ゲート42、A
NDゲート43、ORゲート44の出力だけに0縮退故
障と1縮退故障を定義する。次にテストパターンを用い
て縮退故障シミュレーションを行う。パターン番号
「1」のテストパターンではエラーがないため、全ての
ゲートはそのまま被疑故障ゲートとして残される。パタ
ーン番号「2」のテストパターンでは、ANDゲート4
3の出力の1故障が出力Eで検出され、他のゲートの出
力の1故障が出力Fで検出される。エラーのある出力F
で検出され、エラーの無い出力Eで検出されない故障を
持つXORゲート41、故障ゲート42、ORゲート4
4が被疑故障ゲートとして残る。
Next, the operation of the fault diagnosis system of the present invention will be described. First, the XOR gate 41, the failure gate 42, A
Only the outputs of the ND gate 43 and the OR gate 44 define the stuck-at-0 fault and the stuck-at-1 fault. Next, a stuck-at fault simulation is performed using the test pattern. Since the test pattern with the pattern number “1” has no error, all the gates are left as they are as the suspected failure gate. In the test pattern of the pattern number "2", the AND gate 4
One failure of the output of 3 is detected at the output E, and one failure of the output of the other gate is detected at the output F. Output F with error
XOR gate 41, fault gate 42, and OR gate 4 having a fault detected by
4 remains as the suspected failure gate.

【0032】次に残った3つのゲートの出力に再び0縮
退故障と1縮退故障を定義して次のテストパターンで縮
退故障シミュレーションを行う。パターン番号「3」及
び「4」のテストパターンでは、エラーが無いため被疑
故障ゲートに変化はない。パターン番号「5」のテスト
パターンを用いた縮退故障シミュレーションの結果、故
障ゲート42の出力の1故障が出力Eで検出され、XO
Rゲート41とORゲート44の出力の0故障が出力F
で検出される。この結果エラーのある出力Eで検出さ
れ、かつエラーの無い出力Fで検出されない故障を持つ
故障ゲート42だけが被疑故障ゲートとして残る。この
ようにして実際に故障のあるゲートを絞り込むことに成
功する。
Next, a stuck-at-0 fault and a stuck-at-1 fault are defined again for the outputs of the remaining three gates, and the stuck-at fault simulation is performed by the following test pattern. In the test patterns of the pattern numbers “3” and “4”, there is no error, and therefore the suspected failure gate does not change. As a result of the stuck-at fault simulation using the test pattern of the pattern number “5”, one fault of the output of the fault gate 42 is detected at the output E, and XO
Output 0 of R gate 41 and OR gate 44 is output F
Detected in. As a result, only the fault gate 42 having a fault that is detected at the erroneous output E and not at the error-free output F remains as the suspected fault gate. In this way, it is possible to successfully narrow down the gates that actually have a failure.

【0033】この第1の実施例では、従来の方法と同様
0、1縮退故障を定義して故障シミュレーションを行っ
ているが、これは、縮退故障だけを対象とした診断を行
っているのではなく、被疑故障ゲートの出力からエラー
が観測された観測点まで故障信号が伝搬しているかどう
かを判定する為に行っているものである。すなわち、従
来の手法との違いとして、エラーパターンだけを用いて
被疑故障ゲートの判定を行うこと、被疑故障ゲートの出
力だけに故障を定義して入力には定義しないこと、毎回
0故障と1故障の両方を定義すること、があげられる。
エラーパターンだけを用いて被疑故障ゲートの判定を行
うのは、縮退故障以外の故障では故障ゲートの出力値は
必ずしも固定しておらず、正常パターンでは正常回路と
同じ出力値をしている可能性があるからであり、正常パ
ターンで検出されるものを不一致として削除する従来の
方法では実際に故障のあるゲートの故障まで削除してし
まうおそれがあるからである。被疑故障ゲートの出力に
だけ故障を定義するのは、故障のあるゲートの実際の故
障箇所がゲートの内部やゲートの入力にあったとして
も、エラーパターンにおいては故障ゲートの出力値が正
常な場合の値と異なる値を示しているはずであり、ゲー
トの出力の故障が検出されるかどうかを判定することに
より故障ゲートの出力からエラーが観測された観測点ま
で故障信号が伝搬するかどうかを判定することができる
からである。
In the first embodiment, as in the conventional method, 0 and 1 stuck-at faults are defined and a fault simulation is carried out. However, this is because the stuck-at fault only is diagnosed. Instead, it is performed to determine whether or not the fault signal propagates from the output of the suspected fault gate to the observation point where the error is observed. That is, the difference from the conventional method is that the suspicious failure gate is determined only by using the error pattern, the failure is defined only in the output of the suspicious failure gate and not in the input, and 0 failure and 1 failure each time. Both of these are defined.
The judgment of the suspected failure gate using only the error pattern is because the output value of the failure gate is not always fixed for failures other than the stuck-at failure, and the normal pattern may have the same output value as the normal circuit. This is because there is a risk that even a fault of a gate that actually has a fault may be deleted in the conventional method that deletes a pattern detected as a normal pattern as a mismatch. A fault is defined only for the output of the suspected fault gate when the output value of the fault gate is normal in the error pattern even if the actual fault location of the faulty gate is inside the gate or at the gate input. It should show a value different from the value of, and determine whether the failure signal propagates from the output of the failure gate to the observation point where the error is observed by determining whether the failure of the output of the gate is detected. This is because it can be determined.

【0034】これにより、従来のようなゲートの入出力
全部に故障を定義して故障シミュレーションを行う方法
に比べて、故障シミュレーションに要する時間を大幅に
短縮する事ができる。従来の診断方法では一度エラーパ
ターンと不一致となり削除された故障は二度と故障シミ
ュレーションされることがないのに対して、本発明の診
断方法で毎回被疑故障ゲートの出力に0故障と1故障の
両方を定義して故障シミュレーションを行うのは、ゲー
ト内部の故障の種類によっては正常な値「0」に対して
「1」となり、正常な値「1」に対して「0」となるよ
うな故障が考えられるからである。あるエラーパターン
で故障により正常な値「0」に対して「1」となったと
すれば、その故障ゲートの出力の1故障が検出され、0
故障は検出されない。別のエラーパターンで故障により
正常な値「1」に対して「0」となったとすれば、その
故障ゲートの出力の0故障が検出され、1故障が検出さ
れない。従って、被疑故障ゲートの出力に毎回0故障と
1故障の両方を定義して縮退故障シミュレーションを行
うことで、どちらかの故障の検出により故障ゲートから
エラーが観測された観測点までの経路が活性化している
ことが判定できる。
As a result, the time required for the failure simulation can be greatly shortened as compared with the conventional method in which the failure is defined for all inputs and outputs of the gate and the failure simulation is performed. In the conventional diagnostic method, a fault that does not match the error pattern once and is deleted is never simulated again. On the other hand, the diagnostic method of the present invention provides both 0 and 1 faults in the output of the suspected failure gate. Depending on the type of failure inside the gate, the failure simulation is performed by defining "1" for a normal value "0" and "0" for a normal value "1". Because it can be considered. If a normal value "0" becomes "1" due to a failure in a certain error pattern, one failure of the output of the failure gate is detected and 0
No fault is detected. If another error pattern causes "0" with respect to the normal value "1" due to a failure, 0 failure of the output of the failure gate is detected and 1 failure is not detected. Therefore, by defining both 0-fault and 1-fault in the output of the suspected fault gate every time and performing the stuck-at fault simulation, the route from the fault gate to the observation point where the error is observed is activated by detecting either fault. It can be determined that it has become.

【0035】このようにして、従来の診断方法では故障
箇所を絞り込むことができなかった、正常な値「0」に
対して「1」となり、正常な値「1」に対して「0」と
なるような故障についても、絞り込みが可能となり、診
断の精度を向上させることができる。
In this way, the normal diagnostic value cannot be narrowed down by the conventional diagnostic method, and the normal value "0" becomes "1" and the normal value "1" becomes "0". It is possible to narrow down even such a failure, and the accuracy of diagnosis can be improved.

【0036】次に本発明の故障診断システムの第2の実
施例について図面を参照して詳細に説明する。
Next, a second embodiment of the fault diagnosis system of the present invention will be described in detail with reference to the drawings.

【0037】図5を参照すると、本発明の第2の実施例
である故障診断システムは、不定故障定義手段61、不
定故障シミュレーション手段62、被疑故障ゲート判定
手段63、および、診断結果表示手段65を含んでい
る。
Referring to FIG. 5, the failure diagnosis system according to the second embodiment of the present invention includes an indefinite failure defining means 61, an indefinite failure simulation means 62, a suspected failure gate determining means 63, and a diagnosis result displaying means 65. Is included.

【0038】論理接続データ1、テストパターン2、テ
スタ100、被試験回路101および、検査結果3は、
第1の実施例において説明したものと同様である。
The logical connection data 1, the test pattern 2, the tester 100, the circuit under test 101, and the inspection result 3 are
This is similar to that described in the first embodiment.

【0039】まず、不定故障定義手段61は、被試験回
路101の論理接続データ1を入力し、被疑故障ゲート
67を参照しながら、各被疑故障ゲートの出力に故障時
の値が不定となる故障を定義する。
First, the indefinite fault definition means 61 inputs the logical connection data 1 of the circuit under test 101, refers to the suspected fault gate 67, and outputs the output of each suspected fault gate whose fault value becomes indefinite. Is defined.

【0040】次に、不定故障シミュレーション手段62
は、テストパターン2を入力し、不定故障定義手段61
により定義された不定故障について故障シミュレーショ
ンを行い、該不定故障によりどの観測点において不定が
出るかを求める。
Next, the indefinite fault simulation means 62
Inputs the test pattern 2, and the indefinite fault definition means 61
A fault simulation is performed on the indefinite fault defined by ## EQU1 ## to find at which observation point the indefinite fault appears.

【0041】被疑故障ゲート判定手段63は、不定故障
定義手段61により定義された不定故障によりテスタ1
00による試験の結果エラーとなった各テストパターン
のエラーとなった観測点すべてにおいて不定が出る場合
に該不定故障が定義されているゲートがエラーの原因と
なり得ると判定し、被疑故障ゲート67に出力する。そ
れ以外の、エラーとなった観測点において不定が出ない
場合には該不定故障が定義されているゲートはエラーの
原因とはならないと判定し、被疑故障ゲート67には出
力しない。
The suspicious failure gate determination means 63 uses the undefined failure defined by the undefined failure definition means 61 to determine the tester 1
When the indefiniteness occurs at all the observation points in which the error of each test pattern is an error as a result of the test by 00, it is determined that the gate in which the indefinite fault is defined may cause the error, and the suspected failure gate 67 Output. If no indefiniteness occurs at any other errored observation point, it is determined that the gate in which the indefinite fault is defined does not cause the error and is not output to the suspected failure gate 67.

【0042】診断終了の判定64においては、エラーと
なったテストパターンがまだ残っており、かつ、まだ被
疑故障ゲート67として多くのゲートが残っており、更
に被疑故障箇所の絞り込みが可能と判断される場合に
は、再び不定故障定義手段61に戻って、上記処理を繰
り返す。一方、エラーとなったテストパターンがなくな
るか、または、被疑故障ゲート67として十分少ない
数、例えば1箇所にまで故障箇所を絞り込む事ができた
場合には、診断結果表示手段65により被疑故障ゲート
67を診断結果66として表示する。
In the diagnosis end judgment 64, the errored test pattern still remains, and many gates still remain as the suspected failure gate 67, and it is judged that the suspected failure location can be narrowed down. If it does, the process returns to the indefinite fault definition means 61 again and the above process is repeated. On the other hand, if the errored test pattern disappears, or if the number of suspected failure gates 67 is sufficiently small, for example, the failure points can be narrowed down to one, the suspected failure gate 67 is displayed by the diagnostic result display means 65. Is displayed as the diagnosis result 66.

【0043】次に本発明の上記第2の実施例の動作につ
いて図3および図4を用いて詳細に説明する。
Next, the operation of the second embodiment of the present invention will be described in detail with reference to FIGS. 3 and 4.

【0044】まず、図3におけるXORゲート41、故
障ゲート42、ANDゲート43、ORゲート44の出
力に不定故障を定義する。次に、テストパターンを用い
て故障シミュレーションを行う。パターン番号「1」の
テストパターンではエラーがないため、すべてのゲート
はそのまま被疑故障ゲートとして残る。パターン番号
「2」のテストパターンではXORゲート41、故障ゲ
ート42、ORゲート44の出力の不定故障によりエラ
ーのある出力Fが不定となるため、これらのゲートが被
疑故障ゲートとして残り、出力Fが不定にならないAN
Dゲート43が被疑故障ゲートから削除される。パター
ン番号「3」及び「4」のテストパターンでは、エラー
がないため、被疑故障ゲートには変化はない。最後のパ
ターン番号「5」のテストパターンでは故障ゲート42
の出力の不定故障によりエラーのある出力Eが不定とな
り、他の2つのゲートの出力の不定故障では出力Eは不
定とならないため、故障ゲート42だけが被疑故障ゲー
トとして残る。このようにして、実際に故障のあるゲー
トを絞り込むことに成功する。
First, an indefinite fault is defined at the outputs of the XOR gate 41, the fault gate 42, the AND gate 43, and the OR gate 44 in FIG. Next, failure simulation is performed using the test pattern. Since there is no error in the test pattern with the pattern number “1”, all gates remain as suspected failure gates. In the test pattern of the pattern number “2”, the output F having an error becomes indefinite due to the indefinite failure of the outputs of the XOR gate 41, the failure gate 42, and the OR gate 44, and therefore these gates remain as the suspected failure gates, and the output F becomes An undetermined AN
The D gate 43 is deleted from the suspected failure gate. In the test patterns of the pattern numbers “3” and “4”, since there is no error, the suspected failure gate does not change. In the last test pattern of the pattern number “5”, the failure gate 42
Since the output E having an error becomes indefinite due to the indefinite fault of the output of the above, and the output E does not become indefinite with the indefinite fault of the outputs of the other two gates, only the fault gate 42 remains as the suspected fault gate. In this way, it is possible to successfully narrow down the gate that actually has a failure.

【0045】この第2の実施例では、従来の方法と異な
り、不定故障を定義して故障シミュレーションを行って
いる。もし故障ゲートが正常でない動作を行い回路の観
測点でエラーとして観測されたとすると、その故障ゲー
トの出力を不定とした故障シミュレーションの結果は必
ずエラーとなった観測点で不定の出力を出すはずであ
る。もし故障シミュレーションの結果エラーとなった観
測点で「0」または「1」の確定値が出力されたとする
と、それは不定故障を定義したゲートの出力がどのよう
な値であってもエラーとなった観測点には影響しない事
を意味しており、そのゲートは故障ゲートでないと判断
できる。これは、故障ゲートが0固定、1固定以外のど
のような動作をしたとしても成り立つので、従来の故障
診断方法と異なり、縮退故障以外の故障でも絞り込むこ
とが可能である。
In the second embodiment, unlike the conventional method, an indefinite fault is defined and a fault simulation is performed. If the fault gate operates abnormally and is observed as an error at the observation point of the circuit, the result of the fault simulation in which the output of the fault gate is indefinite should always give an indefinite output at the observation point where the error occurred. is there. If a fixed value of "0" or "1" is output at the observation point that resulted in an error as a result of the failure simulation, it was an error regardless of the value of the output of the gate that defined the indefinite failure. This means that the observation point is not affected, and it can be determined that the gate is not a fault gate. This holds even if the failure gate performs any operation other than fixed to 0 and fixed to 1. Therefore, unlike the conventional failure diagnosis method, it is possible to narrow down failures other than the stuck-at failure.

【0046】次に本発明の故障診断システムの第3の実
施例について図面を参照して詳細に説明する。
Next, a third embodiment of the fault diagnosis system of the present invention will be described in detail with reference to the drawings.

【0047】図6を参照すると、本発明の第3の実施例
である故障診断システムは、縮退故障定義手段71、縮
退故障シミュレーション手段72、ゲート出力値推定手
段73、真理値表作成手段74、および、診断結果表示
手段76を含んでいる。
Referring to FIG. 6, the fault diagnosis system according to the third embodiment of the present invention includes a stuck-at fault definition means 71, a stuck-at fault simulation means 72, a gate output value estimation means 73, a truth table creation means 74, It also includes diagnostic result display means 76.

【0048】論理接続データ1、テストパターン2、テ
スタ100、被試験回路101および検査結果3は第1
の実施例により説明したものと同様である。
The logical connection data 1, the test pattern 2, the tester 100, the circuit under test 101 and the inspection result 3 are the first
This is the same as that described in the embodiment.

【0049】まず、縮退故障定義手段71は、被試験回
路101の論理接続データ1を入力し、被疑故障ゲート
78を参照しながら各被疑故障ゲートの出力に0縮退故
障と1縮退故障を定義する。
First, the stuck-at fault definition means 71 inputs the logical connection data 1 of the circuit under test 101, and refers to the suspected fault gate 78 to define 0 stuck-at fault and 1 stuck-at fault at the output of each suspected fault gate. .

【0050】次に、縮退故障シミュレーション手段72
は、テストパターン2を入力し、縮退故障定義手段71
により定義された縮退故障について故障シミュレーショ
ンを行い、各縮退故障がどの観測点で検出されるかを求
める。すなわち、テストパターン2を用いて正常な場合
のゲートの入力値および出力値(以下、正常値という)
を求め、さらに、縮退故障定義手段71により定義され
た故障がある場合のゲートの入力値および出力値を求め
る。そして、被疑故障ゲートの出力に定義された縮退故
障がどの観測点において検出されるかを判定する。
Next, the stuck-at fault simulation means 72.
Inputs the test pattern 2 and stuck-at fault definition means 71
A stuck simulation is performed for the stuck-at faults defined by to find at which observation point each stuck-at fault is detected. That is, the input value and the output value of the gate in the normal case using the test pattern 2 (hereinafter referred to as the normal value)
Furthermore, the input value and the output value of the gate when there is a fault defined by the stuck-at fault definition means 71 are determined. Then, it is determined at which observation point the stuck-at fault defined in the output of the suspected failure gate is detected.

【0051】ゲート出力値推定手段73は、該縮退故障
がエラーでないテストパターンで検出された時にはその
テストパターンにおける該被疑故障ゲートの出力値は正
常値と同じであると推定する。また、該縮退故障がエラ
ーパターンのエラーとなった観測点で検出された時には
そのテストパターンにおける該被疑故障ゲートの出力値
は正常値と反対の値であると推定する。正常値が「0」
であれば推定値を「1」、正常値が「0」であれば推定
値を「1」とする。また、該縮退故障がエラーパターン
のエラーとなった観測点と同じエラーパターンのエラー
でない観測点で同時に検出された時はそのテストパター
ンにおける該被疑故障ゲートの出力値は不定値であると
推定する。これは該被疑故障ゲートが本当の故障ゲート
であるとすると矛盾していることを意味する。
The gate output value estimating means 73 estimates that the output value of the suspected failure gate in the test pattern is the same as the normal value when the stuck-at fault is detected in a test pattern which is not an error. Further, when the stuck-at fault is detected at the observation point where the error of the error pattern is detected, it is estimated that the output value of the suspected fault gate in the test pattern is a value opposite to the normal value. Normal value is "0"
If so, the estimated value is "1", and if the normal value is "0", the estimated value is "1". Further, when the stuck-at fault is simultaneously detected at the observation point where the error of the error pattern is an error and the observation point where the error of the same error pattern is not detected, it is estimated that the output value of the suspected failure gate in the test pattern is an indefinite value. . This means that the suspected failure gate is inconsistent with the true failure gate.

【0052】次に、真理値表作成手段74は、各テスト
パターンにおける被疑故障ゲートの入力値の正常値とゲ
ート出力値推定手段73により推定された該被疑故障ゲ
ートの出力値とを元にして該被疑故障ゲートの真理値表
を作成する。この時、該被疑故障ゲートの出力推定値が
不定値である場合は真理値表に矛盾があるとして該被疑
故障ゲートを被疑故障ゲート78から削除する。また、
以前のテストパターンにより推定された該被疑故障ゲー
トの出力値と別のテストパターンにより推定された同一
入力値に対する該被疑故障ゲートの出力推定値が異なる
場合にも真理値表に矛盾があるとして該被疑故障ゲート
を被疑故障ゲート78から削除する。
Next, the truth table creating means 74 is based on the normal value of the input value of the suspected failure gate in each test pattern and the output value of the suspected failure gate estimated by the gate output value estimating means 73. A truth table of the suspected failure gate is created. At this time, if the estimated output value of the suspected failure gate is an indefinite value, the suspected failure gate is deleted from the suspected failure gate 78 because the truth table has a contradiction. Also,
Even if the output value of the suspected fault gate estimated by the previous test pattern and the output estimated value of the suspected fault gate for the same input value estimated by another test pattern are different, it is considered that the truth table is inconsistent. The suspected failure gate is deleted from the suspected failure gate 78.

【0053】診断終了の判定75においては、故障シミ
ュレーションをしていないテストパターンがまだ残って
おり、かつ、まだ被疑故障ゲート78として多くのゲー
トが残っており、更に被疑故障箇所の絞り込みが可能と
判断される場合には、再び縮退故障定義手段71に戻っ
て、上記処理を繰り返す。一方、全てのテストパターン
について処理が終わるか、または被疑故障ゲート78と
して十分少ない数、例えば1箇所にまで故障箇所を絞り
込む事ができたら診断結果表示手段76により被疑故障
ゲート78および被疑故障ゲート真理値表79を診断結
果77として表示する。
In the determination 75 of the end of diagnosis, the test pattern for which the failure simulation has not been performed still remains, and many gates still remain as the suspected failure gate 78, and it is possible to further narrow down the suspected failure location. If it is determined, the process returns to the stuck-at fault definition means 71 again, and the above process is repeated. On the other hand, if the processing is completed for all the test patterns or if the number of suspected failure gates 78 is sufficiently small, for example, the failure location can be narrowed down to one, the diagnostic result display means 76 causes the suspected failure gate 78 and the suspected failure gate truth. The value table 79 is displayed as the diagnosis result 77.

【0054】次に本発明の上記第3の実施例の動作につ
いて図7〜9を用いて詳細に説明する。
Next, the operation of the third embodiment of the present invention will be described in detail with reference to FIGS.

【0055】図7を参照すると、図2の内部故障を持つ
XORゲートを含む論理回路例であり、論理回路80は
故障により論理が排他的論理和から論理和に変化した故
障ゲート81および正常なANDゲート82からなる。
Referring to FIG. 7, there is shown an example of a logic circuit including an XOR gate having an internal fault of FIG. 2, and a logic circuit 80 has a fault gate 81 whose logic changes from an exclusive OR to a logical OR due to a fault and a normal gate. It consists of an AND gate 82.

【0056】図8を参照すると、図7の論理回路80に
対してテストパターンを与えて試験を行った結果を示す
図である。試験は8個のテストパターンを用いて行わ
れ、唯一パターン番号「8」のテストパターンにおいて
出力Yの正常回路の期待値が「0」になるところ、故障
回路では「1」が出力されてエラーとなっている。
Referring to FIG. 8, there is shown a result of performing a test by applying a test pattern to the logic circuit 80 of FIG. The test is performed by using eight test patterns. Only in the test pattern with the pattern number “8”, when the expected value of the normal circuit of the output Y becomes “0”, “1” is output in the faulty circuit and an error occurs. Has become.

【0057】まず、論理回路80の中の故障ゲート81
およびANDゲート82の出力に0縮退故障と1縮退故
障を定義する。次に、パターン番号「1」のテストパタ
ーンを用いて故障シミュレーションを行う。この結果、
ANDゲート82の出力の1縮退故障が出力Yで検出さ
れる。このパターンでエラーは出ていないため、ゲート
出力値推定手段73は、ANDゲート82の出力値を正
常値と同じ0と推定する。真理値表作成手段74は、A
NDゲート82のこのパターンでの入力値(0,0)と
出力値の推定値0との組合せを被疑故障ゲート真理値表
79に出力する。再び最初の縮退故障定義手段71へ戻
る。
First, the fault gate 81 in the logic circuit 80.
And a stuck-at-0 fault and a stuck-at-1 fault are defined at the output of the AND gate 82. Next, failure simulation is performed using the test pattern with the pattern number “1”. As a result,
A stuck-at-1 fault in the output of AND gate 82 is detected at output Y. Since there is no error in this pattern, the gate output value estimation means 73 estimates the output value of the AND gate 82 to be 0, which is the same as the normal value. The truth table creating means 74 uses A
The combination of the input value (0,0) of this pattern of the ND gate 82 and the estimated value 0 of the output value is output to the suspected failure gate truth table 79. It returns to the first stuck-at fault definition means 71 again.

【0058】次に、パターン番号「2」のテストパター
ンを用いて故障シミュレーションを行う。この結果、故
障ゲート81の出力の1縮退故障とANDゲート82の
出力の1縮退故障が出力Yで検出される。このパターン
ではエラーが出ていないため、ゲート出力値推定手段7
3では故障ゲート81の出力値およびANDゲート82
の出力値を正常値と同じ0と推定する。真理値表作成手
段74は、故障ゲート81のこのパターンでの入力値
(0,0)と出力値の推定値0、および、ANDゲート
82のこのパターンでの入力値(0,1)と出力値の推
定値0の組合せを被疑故障ゲート真理値表79に出力す
る。どちらも既に被疑故障ゲート真理値表79に出力さ
れている入力値と出力値の推定値の組合せと矛盾しない
ため、共に被疑故障ゲートとして残る。
Next, a fault simulation is performed using the test pattern of pattern number "2". As a result, the stuck-at-1 fault at the output of the fault gate 81 and the stuck-at-1 fault at the output of the AND gate 82 are detected at the output Y. Since there is no error in this pattern, the gate output value estimating means 7
3, the output value of the failure gate 81 and the AND gate 82
The output value of is estimated to be 0, which is the same as the normal value. The truth table creating means 74 outputs the estimated value 0 of the input value (0,0) and the output value of the failure gate 81 in this pattern, and the input value (0,1) and the output of the AND gate 82 in this pattern. The combination of the estimated values 0 is output to the suspected failure gate truth table 79. Both are consistent as the combination of the input value and the estimated value of the output value already output to the suspected failure gate truth value table 79, and thus both remain as the suspected failure gate.

【0059】同様にしてパターン番号「3」のテストパ
ターンではANDゲート82の入力値(1,0)と出力
値の推定値0の組合せが被疑故障ゲート真理値表79に
出力され、パターン番号「4」のテストパターンでは故
障ゲート81の入力値(0,1)と出力値の推定値1の
組合せ、および、ANDゲート82の入力値(1,1)
と出力値の推定値1の組合せが被疑故障ゲート真理値表
79に出力される。パターン番号「5」のテストパター
ンではANDゲート82の入力値(1,0)に対して出
力値が0と推定されるが、これは既にパターン番号
「3」のテストパターンで出力されている真理値表の組
合せと一致するため、被疑故障ゲート真理値表79は変
化しない。
Similarly, in the test pattern of the pattern number "3", the combination of the input value (1, 0) of the AND gate 82 and the estimated value 0 of the output value is output to the suspected failure gate truth value table 79, and the pattern number "3" is output. 4 ”test pattern, the combination of the input value (0, 1) of the failure gate 81 and the estimated value 1 of the output value, and the input value (1, 1) of the AND gate 82
And the estimated value 1 of the output value are output to the suspected failure gate truth value table 79. In the test pattern of the pattern number “5”, the output value is estimated to be 0 with respect to the input value (1,0) of the AND gate 82. This is the truth that is already output in the test pattern of the pattern number “3”. The suspicious failure gate truth value table 79 does not change because it matches the combination of the value tables.

【0060】同様にしてパターン番号「6」及び「7」
のテストパターンで得られるANDゲート82の入力値
と出力値の推定値の組合せはそれぞれパターン番号
「4」及び「1」のテストパターンで得られた真理値表
の組合せと一致する。またパターン番号が6のテストパ
ターンからは故障ゲート81の入力値(1,0)と出力
値の推定値1の組合せが被疑故障ゲート真理値表79に
追加される。
Similarly, pattern numbers "6" and "7"
The combination of the input value and the estimated value of the output value of the AND gate 82 obtained by the test pattern of No. 1 matches the combination of the truth table obtained by the test patterns of the pattern numbers "4" and "1", respectively. Further, from the test pattern with the pattern number 6, the combination of the input value (1, 0) of the failure gate 81 and the estimated value 1 of the output value is added to the suspected failure gate truth value table 79.

【0061】最後にパターン番号「8」のテストパター
ンでは故障ゲート81の出力の1縮退故障とANDゲー
ト82の出力の1縮退故障が出力Yで検出されるが、被
試験回路はこのパターンでエラーとなっているため、ゲ
ート出力値推定手段73は、故障ゲート81とANDゲ
ート82の出力値を正常値の反対の「1」であると推定
する。故障ゲート81の入力値(1,1)と出力値の推
定値「1」との組合せはここまでの真理値表と矛盾しな
いため、故障ゲート真理値表79に追加される。
Finally, in the test pattern of the pattern number "8", the stuck-at-1 fault of the output of the fault gate 81 and the stuck-at-1 fault of the output of the AND gate 82 are detected at the output Y, but the circuit under test has an error in this pattern. Therefore, the gate output value estimation means 73 estimates that the output values of the failure gate 81 and the AND gate 82 are “1” which is the opposite of the normal value. Since the combination of the input value (1, 1) of the failure gate 81 and the estimated value “1” of the output value does not contradict the truth table up to this point, it is added to the failure gate truth value table 79.

【0062】一方、ANDゲート82の入力値(0,
1)と出力値の推定値「1」との組合せはパターン番号
「2」のテストパターンから得られた入力値(0,1)
と出力値の推定値「0」の組合せと矛盾するするため、
ANDゲート82は故障ゲートではないと判定されて被
疑故障ゲート78から削除される。これで全てのテスト
パターンが終わったため、診断結果表示手段76により
故障ゲート81とその真理値表が診断結果77として表
示される。
On the other hand, the input value (0,
The combination of 1) and the estimated value of the output value “1” is the input value (0, 1) obtained from the test pattern of the pattern number “2”.
Since this is inconsistent with the combination of the estimated value “0” of the output value,
The AND gate 82 is determined to be not the failure gate and is deleted from the suspected failure gate 78. Now that all the test patterns have been completed, the diagnostic result display means 76 displays the fault gate 81 and its truth table as the diagnostic result 77.

【0063】図9を参照すると、診断結果77として表
示される真理値表の例は、最終的に被疑故障ゲートであ
ると診断された故障ゲート81の入力値と出力値の組合
せが表形式として表示されている。これにより、本来入
力値が(1,1)の時の出力値が「0」となるべきとこ
ろ「1」となって、排他的論理和ゲートが論理和として
動作している故障であることが判る。このようにして実
際に故障のあるゲートを絞り込むことができると同時に
その故障によりゲートがどのように動作するかを推定す
ることが出来る。
Referring to FIG. 9, in the example of the truth table displayed as the diagnosis result 77, the combination of the input value and the output value of the failure gate 81 finally diagnosed as the suspected failure gate is shown in a table format. It is displayed. As a result, the output value when the input value is originally (1, 1) should be "0", but becomes "1", and the exclusive OR gate operates as a logical sum. I understand. In this way, it is possible to narrow down the gates that actually have a failure, and at the same time, to estimate how the gate will operate due to the failure.

【0064】この第3の実施例では、第1の実施例と同
様、被疑故障ゲートの出力に縮退故障を定義して故障シ
ミュレーションを行い、故障箇所の絞り込みを行ってい
る。図1の実施例と異なるのは、エラーでないテストパ
ターンでの故障シミュレーションの結果も利用して絞り
込みを行っている点である。これにより第1の実施例で
は絞り込みきれない故障についても、更に絞り込むこと
ができる場合がある。
In the third embodiment, similarly to the first embodiment, the stuck-at fault is defined in the output of the suspected fault gate, the fault simulation is performed, and the fault location is narrowed down. The difference from the embodiment of FIG. 1 is that the result is narrowed down also by using the result of the failure simulation with a test pattern that is not an error. As a result, it may be possible to further narrow down the failures that cannot be narrowed down in the first embodiment.

【0065】例えば、図7の回路と図8の結果から故障
診断を行う場合、第1の実施例による故障診断方法で
は、エラーパターンであるパターン番号「8」のテスト
パターンだけで判定する。このテストパターンでは故障
ゲート81の出力の1故障とANDゲート82の出力の
1故障が出力Yで検出されるため、共に被疑故障ゲート
であると判定される。この様に第3の実施例ではエラー
でないテストパターンを含む全てのテストパターンを処
理し、かつ真理値表を作成するという処理の増加がある
が、絞り込み精度が良いという特徴がある。
For example, in the case of performing the failure diagnosis from the circuit of FIG. 7 and the result of FIG. 8, the failure diagnosis method according to the first embodiment determines only the test pattern of the pattern number “8” which is the error pattern. In this test pattern, one failure of the output of the failure gate 81 and one failure of the output of the AND gate 82 are detected in the output Y, so both are determined to be the suspected failure gate. As described above, in the third embodiment, there is an increase in the processing of processing all test patterns including a test pattern that is not an error and creating a truth table, but it is characterized by good narrowing accuracy.

【0066】次に本発明の故障診断システムの第4の実
施例について図面を参照して詳細に説明する。
Next, a fourth embodiment of the fault diagnosis system of the present invention will be described in detail with reference to the drawings.

【0067】図10を参照すると、本発明の第4の実施
例である故障診断システムは、被疑故障ゲート設定手段
120、縮退故障定義手段11、縮退故障シミュレーシ
ョン手段12、被疑故障ート判定手段13、縮退故障定
義手段71、縮退故障シミュレーション手段72、ゲー
ト出力値推定手段73、真理値表作成手段74、及び、
診断結果表示手段76を含んでいる。
Referring to FIG. 10, in the failure diagnosis system according to the fourth embodiment of the present invention, suspected failure gate setting means 120, stuck-at failure definition means 11, stuck-at failure simulation means 12, suspected failure gate determination means 13 are shown. , Stuck-at fault definition means 71, stuck-at fault simulation means 72, gate output value estimation means 73, truth value table creation means 74, and
The diagnostic result display means 76 is included.

【0068】縮退故障定義手段11、縮退故障シミュレ
ーション手段12、及び、被疑故障ゲート判定手段13
は、第1の実施例における各手段と同様である。また、
縮退故障定義手段71、縮退故障シミュレーション手段
72、ゲート出力値推定手段73、真理値表作成手段7
4、及び、診断結果表示手段76は、第3の実施例にお
ける各手段と同様である。また、論理接続データ1、テ
ストパターン2、テスタ100、被試験回路101、及
び、検査結果3は、第1の実施例により説明したものと
同様である。
Stuck-at fault definition means 11, stuck-at fault simulation means 12, and suspected fault gate determination means 13
Is the same as each means in the first embodiment. Also,
Stuck-at fault definition means 71, stuck-at fault simulation means 72, gate output value estimation means 73, truth table creation means 7
4 and the diagnostic result display means 76 are the same as the respective means in the third embodiment. The logical connection data 1, the test pattern 2, the tester 100, the circuit under test 101, and the inspection result 3 are the same as those described in the first embodiment.

【0069】最初に被疑故障ゲート設定手段120によ
り人手により指定された範囲内のゲートが、被疑故障ゲ
ート17の初期値として設定される。人手による指定方
法としては被試験回路全体を範囲とする指定、命令デコ
ード回路や演算回路など被試験回路内部を機能的に分け
た一部を範囲とする指定、メモリ以外の部分など被試験
回路内の特定部分以外を範囲とする指定というような、
設計者等が容易に指定できるものとする。
First, the gate within the range manually designated by the suspected failure gate setting means 120 is set as the initial value of the suspected failure gate 17. As a method of manually specifying, the entire circuit under test is specified as a range, the instruction decoding circuit or the arithmetic circuit is specified as a part that functionally separates the circuit inside the circuit under test, and the part other than the memory is in the circuit under test. Such as specifying a range other than the specific part of
The designer etc. can easily specify.

【0070】次に、被疑故障ゲート設定手段120によ
り設定された被疑故障ゲート17を被疑故障ゲートの初
期値として、縮退故障定義手段11、縮退故障シミュレ
ーション手段12、及び、被疑故障ゲート判定手段13
により第一段階の故障診断を行う。この手順は第1の実
施例1で説明したものと同様である。この結果得られた
被疑故障ゲート17を第二段階の故障診断における被疑
故障ゲート78の初期値として、第二段階の故障診断を
行う。
Next, using the suspected failure gate 17 set by the suspected failure gate setting means 120 as the initial value of the suspected failure gate, the stuck-at fault definition means 11, the stuck-at fault simulation means 12, and the suspected failure gate determination means 13 are set.
The first stage failure diagnosis is performed by. This procedure is similar to that described in the first embodiment 1. The suspected failure gate 17 obtained as a result is used as the initial value of the suspected failure gate 78 in the failure diagnosis of the second step, and the failure diagnosis of the second step is performed.

【0071】第二段階の故障診断の手順は第3の実施例
で説明したものと同様である。第3の実施例による故障
診断では、第1の実施例による故障診断に比べて処理量
が多い代わりに、より狭い範囲にまで被疑故障ゲートを
絞り込むことができる可能性がある。従って、最初に第
1の実施例の診断方法により故障箇所の絞り込みを行
い、その後第3の実施例と同様の診断方法により故障箇
所の絞り込みを行うことにより、全体の処理時間を少な
くしてかつ非常に精度の良い故障箇所の絞り込みを行う
ことができる。
The procedure of the second stage failure diagnosis is the same as that described in the third embodiment. In the failure diagnosis according to the third embodiment, there is a possibility that the suspected failure gate can be narrowed down to a narrower range, although the processing amount is larger than that in the failure diagnosis according to the first embodiment. Therefore, first, the failure point is narrowed down by the diagnosis method of the first embodiment, and then the failure point is narrowed down by the same diagnosis method as the third embodiment, thereby reducing the entire processing time and It is possible to narrow down faulty parts with extremely high accuracy.

【0072】この第4の実施例では、第1の実施例と第
3の実施例とを組み合わせているが、第2の実施例と第
3の実施例とを組み合わせても同様の効果が得られる。
また、第一段階の故障診断において被疑故障ゲートが1
箇所にまで絞り込めた場合は第二段階の故障診断を省略
しても良い。
In the fourth embodiment, the first embodiment and the third embodiment are combined, but the same effect can be obtained by combining the second embodiment and the third embodiment. To be
In addition, in the first stage failure diagnosis, the suspected failure gate is 1
The second stage failure diagnosis may be omitted when the number is narrowed down.

【0073】次に本発明の故障診断システムの第5の実
施例について図面を参照して詳細に説明する。
Next, a fifth embodiment of the fault diagnosis system of the present invention will be described in detail with reference to the drawings.

【0074】図11を参照すると、本発明の第5の実施
例である故障診断システムは、第4の実施例における被
疑故障ゲート設定手段120を回路トレース手段130
に置き換えたものとなっている。回路トレース手段13
0は、検査結果3を参照して試験の結果エラーが検出さ
れた観測点から回路の入力側に向かって回路をたどって
行く(以下、この動作をトレースという)。被試験回路
101の入力端に達するまでトレースすると、このトレ
ースした範囲のゲートを被疑故障ゲート17の初期値と
する。これ以降の手順は第4の実施例と同様である。
Referring to FIG. 11, the failure diagnosis system according to the fifth embodiment of the present invention includes the suspicious failure gate setting means 120 and the circuit tracing means 130 in the fourth embodiment.
It has been replaced with. Circuit trace means 13
0 refers to the inspection result 3 and follows the circuit from the observation point where an error is detected as a result of the test toward the input side of the circuit (hereinafter, this operation is referred to as trace). When tracing is performed until the input terminal of the circuit under test 101 is reached, the gate in the traced range is set as the initial value of the suspected failure gate 17. The subsequent procedure is the same as in the fourth embodiment.

【0075】この第5の実施例では、実際の故障が存在
する箇所は必ずエラーが検出された観測点の入力側にあ
るはずであり、回路のトレースによりあらかじめ被疑故
障ゲートの範囲を限定することができる。特に、設計者
による機能的な被疑範囲の指定が困難な場合、被試験回
路内の全部のゲートを被疑故障ゲートの初期値として故
障診断を行うのに比べて診断に必要な処理時間を大きく
削減できるという効果がある。
In the fifth embodiment, the location where the actual failure exists must be on the input side of the observation point where the error is detected, and the range of the suspected failure gate should be limited beforehand by the trace of the circuit. You can In particular, when it is difficult for the designer to specify the functional suspect range, the processing time required for diagnosis is greatly reduced compared to performing fault diagnosis using all gates in the circuit under test as initial values of the suspected fault gate. The effect is that you can do it.

【0076】[0076]

【発明の効果】以上の説明で明らかなように、本発明に
よると、ゲートの入出力の縮退故障だけでなく、ゲート
内部の故障についても故障診断が可能になる。そして、
これにより、故障箇所の絞り込みに成功する率が高くな
る。実際の故障はゲートの入出力やゲート間の配線でな
くゲート内部に存在する率が高いからである。
As is apparent from the above description, according to the present invention, not only the stuck-at fault of the input / output of the gate but also the fault inside the gate can be diagnosed. And
As a result, the rate of succeeding in narrowing down the failure location is increased. This is because the actual failure rate is high inside the gate, not in the gate input / output or the wiring between the gates.

【0077】また、本発明によると、故障診断のための
故障シミュレーションで被疑故障ゲートの出力故障だけ
をシミュレーションすることにより、シミュレーション
する故障の数を大幅に減らして、故障診断に要する処理
時間を少なくすることができる。そして、これにより大
規模な回路についても故障診断が容易になる。
Further, according to the present invention, by simulating only the output failure of the suspected failure gate in the failure simulation for failure diagnosis, the number of failures to be simulated can be significantly reduced and the processing time required for failure diagnosis can be reduced. can do. Then, this facilitates failure diagnosis even for a large-scale circuit.

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

【図1】本発明の故障診断システムの第1の実施例を示
すブロック図である。
FIG. 1 is a block diagram showing a first embodiment of a failure diagnosis system of the present invention.

【図2】内部に故障のある排他的論理和回路(故障ゲー
ト)の一例を示す図である。
FIG. 2 is a diagram showing an example of an exclusive OR circuit (fault gate) having a fault inside.

【図3】故障ゲートを含む論理回路の一例を示す図であ
る。
FIG. 3 is a diagram showing an example of a logic circuit including a failure gate.

【図4】論理回路にテストパターンを与えて試験を行っ
た場合の結果の一例を示す図である。
FIG. 4 is a diagram showing an example of a result when a test is performed by applying a test pattern to a logic circuit.

【図5】本発明の故障診断システムの第2の実施例を示
すブロック図である。
FIG. 5 is a block diagram showing a second embodiment of the failure diagnosis system of the present invention.

【図6】本発明の故障診断システムの第3の実施例を示
すブロック図である。
FIG. 6 is a block diagram showing a third embodiment of the failure diagnosis system of the present invention.

【図7】故障ゲートを含む論理回路の他の例を示す図で
ある。
FIG. 7 is a diagram showing another example of a logic circuit including a failure gate.

【図8】論理回路にテストパターンを与えて試験を行っ
た場合の結果の他の例を示す図である。
FIG. 8 is a diagram showing another example of a result when a test is performed by giving a test pattern to a logic circuit.

【図9】論理回路の故障診断を行った結果得られる故障
ゲートの真理値表の一例である。
FIG. 9 is an example of a truth table of a failure gate obtained as a result of failure diagnosis of a logic circuit.

【図10】本発明の故障診断システムの第4の実施例を
示すブロック図である。
FIG. 10 is a block diagram showing a fourth embodiment of the failure diagnosis system of the present invention.

【図11】本発明の故障診断システムの第5の実施例を
示すブロック図である。
FIG. 11 is a block diagram showing a fifth embodiment of the failure diagnosis system of the present invention.

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

1 論理接続データ 2 テストパターン 3 検査結果 11 縮退故障定義手段 12 縮退故障シミュレーション手段 13 被疑故障ゲート判定手段 14 診断終了判定 15 診断結果表示手段 16 診断結果 17 被疑故障ゲート 20 XOR回路 21〜25 PMOSトランジスタ 26〜30 NMOSトランジスタ 31 故障箇所 40 論理回路 41 XORゲート 42 故障ゲート 43 ANDゲート 44 ORゲート 51 パターン番号 52 入力値 53 期待値 54 出力値 55 エラー 56 エラー観測点 61 不定故障定義手段 62 不定故障シミュレーション手段 63 被疑故障ゲート判定手段 64 診断終了判定 65 診断結果表示手段 66 診断結果 67 被疑故障ゲート 71 縮退故障定義手段 72 縮退故障シミュレーション手段 73 ゲート出力値推定手段 74 真理値表作成手段 75 診断終了判定 76 診断結果表示手段 77 診断結果 78 被疑故障ゲート 79 被疑故障ゲート真理値表 80 論理回路 81 故障ゲート 82 ANDゲート 91 パターン番号 92 入力値 93 期待値 94 出力値 95 エラー 100 テスタ 101 被試験回路 111 真理値表の入力値 112 真理値表の出力値 120 被疑故障ゲート設定手段 130 回路トレース手段 1 logical connection data 2 test pattern 3 inspection result 11 stuck-at fault definition means 12 stuck-at fault simulation means 13 suspected failure gate determination means 14 diagnostic end determination 15 diagnostic result display means 16 diagnostic result 17 suspected failure gate 20 XOR circuits 21-25 PMOS transistors 26-30 NMOS transistor 31 Failure point 40 Logic circuit 41 XOR gate 42 Failure gate 43 AND gate 44 OR gate 51 Pattern number 52 Input value 53 Expected value 54 Output value 55 Error 56 Error observation point 61 Uncertain fault definition means 62 Uncertain fault simulation Means 63 Suspicious failure gate determination means 64 Diagnosis end determination 65 Diagnosis result display means 66 Diagnosis result 67 Suspected failure gate 71 Stuck-at failure definition means 72 Stuck-at failure simulation means 73 Game Output value estimation means 74 Truth table creation means 75 Diagnosis end judgment 76 Diagnosis result display means 77 Diagnosis result 78 Suspected failure gate 79 Suspected failure gate truth table 80 Logic circuit 81 Failure gate 82 AND gate 91 Pattern number 92 Input value 93 Expected Value 94 Output value 95 Error 100 Tester 101 Circuit under test 111 Input value of truth table 112 Output value of truth table 120 Suspected failure gate setting means 130 Circuit tracing means

Claims (7)

【特許請求の範囲】[Claims] 【請求項1】 論理回路の機能レベルの試験の結果に基
づいて論理回路の故障を診断する論理回路の故障診断シ
ステムにおいて、 被疑故障ゲートの出力に0縮退故障および1縮退故障を
定義する縮退故障定義手段と、 前記試験で使用したテストパターンを用いて故障シミュ
レーションを行い、前記縮退故障定義手段により定義さ
れた縮退故障がどの観測点において検出されるかを求め
る縮退故障シミュレーション手段と、 前記試験によりエラーを発生した観測点に関して前記縮
退故障シミュレーション手段により故障が検出された場
合にはエラー原因の可能性がある旨を判定し、前記試験
によりエラーを発生したパターンにおいてエラーを発生
しない観測点に関して前記縮退故障シミュレーション手
段により故障が検出された場合にはエラー原因の可能性
がない旨を判定する被疑故障ゲート判定手段とを有する
ことを特徴とする論理回路の故障診断システム。
1. A stuck-at fault for defining 0 stuck-at faults and 1 stuck-at faults at an output of a suspected failure gate in a fault diagnosis system for a logic circuit that diagnoses a fault of the logic circuit based on a result of a test of a function level of the logic circuit. Defining means, a stuck-at fault simulation means for performing a fault simulation using the test pattern used in the test, and determining at which observation point the stuck-at fault defined by the stuck-at fault defining means is detected; When a fault is detected by the stuck-at fault simulation means with respect to an observation point where an error has occurred, it is determined that there is a possibility of an error cause, and the observation point that does not cause an error in the pattern in which the error occurs by the test is described above. An error occurs when a failure is detected by the stuck-at failure simulation means. A fault diagnosis system for a logic circuit, comprising: a suspicious fault gate determination means for determining that there is no possibility of a cause.
【請求項2】 論理回路の機能レベルの試験の結果に基
づいて論理回路の故障を診断する論理回路の故障診断シ
ステムにおいて、 被疑故障ゲートの出力に故障時の値が不定となる故障を
定義する不定故障定義手段と、 前記試験で使用したテストパターンを用いて故障シミュ
レーションを行い、前記不定故障定義手段により定義さ
れた不定故障によってどの観測点に不定値が出力される
かを求める不定故障シミュレーション手段と、 前記試験によりエラーを発生したパターンに関して前記
不定故障シミュレーション手段により全てのエラーを発
生した観測点について不定値が検出された場合にはエラ
ー原因の可能性がある旨を判定し、前記試験によりエラ
ーを発生したパターンに関して前記不定故障シミュレー
ション手段により少なくとも一つのエラーを発生した観
測点について不定値でないものが検出された場合にはエ
ラー原因の可能性がない旨を判定する被疑故障ゲート判
定手段とを有することを特徴とする論理回路の故障診断
システム。
2. In a logic circuit failure diagnosis system for diagnosing a failure of a logic circuit based on a result of a test of a function level of the logic circuit, a failure whose value at the time of failure is undefined is defined in an output of a suspected failure gate. An indefinite fault definition means and an indefinite fault simulation means for performing a fault simulation using the test pattern used in the test, and determining to which observation point an indefinite value is output by the indefinite fault defined by the indefinite fault definition means. And, if an indeterminate value is detected for all observation points that have generated errors by the indefinite fault simulation means with respect to the pattern in which an error has occurred by the test, it is determined that there is a possibility of an error cause, and by the test, At least one of the indefinite fault simulation means for the pattern in which an error has occurred 2. A fault diagnosis system for a logic circuit, comprising: a suspicious fault gate determination unit that determines that there is no possibility of an error cause when an observation point that has caused an error is detected that is not an indefinite value.
【請求項3】 論理回路の機能レベルの試験の結果に基
づいて論理回路の故障を診断する論理回路の故障診断シ
ステムにおいて、 被疑故障ゲートの出力に0縮退故障と1縮退故障を定義
する縮退故障定義手段と、 前記試験で使用したテストパターンを用いて正常な場合
のゲートの入力値および出力値ならびに前記縮退故障定
義手段により定義された故障がある場合のゲートの入力
値および出力値を求めて、前記被疑故障ゲートの出力に
定義された縮退故障がどの観測点において検出されるか
を判定する縮退故障シミュレーション手段と、 前記試験によりエラーを発生しない観測点に関して前記
縮退故障シミュレーション手段により故障が検出された
場合には前記被疑故障ゲートの出力値は前記縮退故障シ
ミュレーション手段により求められた正常な場合のゲー
トの出力値と同じである旨を推定し、前記試験によりエ
ラーを発生した観測点に関して前記縮退故障シミュレー
ション手段により故障が検出された場合には前記被疑故
障ゲートの出力値は前記縮退故障シミュレーション手段
により求められた正常な場合のゲートの出力値の反対の
値である旨を推定するゲート出力値推定手段と、 前記縮退故障シミュレーション手段により求められた前
記故障がある場合のゲートの入力値と前記ゲート出力値
推定手段により推定されたゲートの出力値との組合せか
ら前記被疑故障ゲートの真理値表を作成し、この真理値
表に矛盾のあるゲートを被疑故障ゲートから除去する真
理値表作成手段とを有することを特徴とする論理回路の
故障診断システム。
3. A stuck-at fault in which a 0 stuck-at fault and a 1 stuck-at fault are defined at the output of a suspected fault gate in a fault diagnosis system for a logic circuit that diagnoses a fault in the logic circuit based on a result of a test of a function level of the logic circuit. Using the defining means and the test pattern used in the test, determine the input value and output value of the gate in the normal case and the input value and the output value of the gate in the case of the fault defined by the stuck-at fault defining means. A stuck-at fault simulation means for determining at which observation point a stuck-at fault defined in the output of the suspected failure gate is detected, and a failure detected by the stuck-at fault simulation means for an observation point at which no error occurs by the test. The output value of the suspected failure gate is obtained by the stuck-at failure simulation means. It is estimated that the output value of the gate in the normal case is the same, and when a failure is detected by the stuck-at failure simulation means at the observation point where an error occurs in the test, the output value of the suspected failure gate is A gate output value estimating means for estimating that the output value of the gate in the normal case obtained by the stuck-at fault simulation means is the opposite value, and a gate when there is the failure obtained by the stuck-at fault simulation means. A truth table for creating a truth table of the suspected failure gate from a combination of an input value and an output value of the gate estimated by the gate output value estimating means, and a truth for removing a gate having a contradiction in the truth table from the suspected failure gate. A fault diagnosis system for a logic circuit, comprising: a value table creating means.
【請求項4】 論理回路の機能レベルの試験の結果に基
づいて論理回路の故障を診断する論理集積回路の故障診
断システムにおいて、 前記論理回路内の被疑故障ゲートの初期値を人手指定に
より設定する被疑故障ゲート設定手段と、 被疑故障ゲートの出力に0縮退故障および1縮退故障を
定義する縮退故障定義手段と、 前記試験で使用したテストパターンを用いて故障シミュ
レーションを行い、前記縮退故障定義手段により定義さ
れた縮退故障がどの観測点において検出されるかを求め
る縮退故障シミュレーション手段と、 前記試験によりエラーを発生した観測点に関して前記縮
退故障シミュレーション手段により故障が検出された場
合にはエラー原因の可能性がある旨を判定し、前記試験
によりエラーを発生したパターンにおいてエラーを発生
しない観測点に関して前記縮退故障シミュレーション手
段により故障が検出された場合にはエラー原因の可能性
がない旨を判定する被疑故障ゲート判定手段と、 被疑故障ゲートの出力に0縮退故障と1縮退故障を定義
する縮退故障定義手段と、 前記試験で使用したテストパターンを用いて正常な場合
のゲートの入力値および出力値ならびに前記縮退故障定
義手段により定義された故障がある場合のゲートの入力
値および出力値を求めて、前記被疑故障ゲートの出力に
定義された該縮退故障がどの観測点において検出される
かを判定する縮退故障シミュレーション手段と、 前記試験によりエラーを発生しない観測点に関して前記
縮退故障シミュレーション手段により故障が検出された
場合には前記被疑故障ゲートの出力値は前記縮退故障シ
ミュレーション手段により求められた正常な場合のゲー
トの出力値と同じである旨を推定し、前記試験によりエ
ラーを発生した観測点に関して前記縮退故障シミュレー
ション手段により故障が検出された場合には前記被疑故
障ゲートの出力値は前記縮退故障シミュレーション手段
により求められた正常な場合のゲートの出力値の反対の
値である旨を推定するゲート出力値推定手段と、 前記縮退故障シミュレーション手段により求められた前
記故障がある場合のゲートの入力値と前記ゲート出力値
推定手段により推定されたゲートの出力値との組合せか
ら前記被疑故障ゲートの真理値表を作成し、この真理値
表に矛盾のあるゲートを被疑故障ゲートから除去する真
理値表作成手段とを有することを特徴とする論理回路の
故障診断システム。
4. A failure diagnosis system for a logic integrated circuit, which diagnoses a failure of a logic circuit based on a result of a test of a function level of the logic circuit, wherein an initial value of a suspicious failure gate in the logic circuit is manually set. Suspicious failure gate setting means, stuck-at fault defining means for defining 0 stuck-at faults and 1 stuck-at faults at the output of the suspected-failure gate, and fault simulation using the test pattern used in the test. A stuck-at fault simulation means for determining at which observation point a defined stuck-at fault is detected, and if a failure is detected by the stuck-at fault simulation means for an observation point at which an error has occurred by the test, an error cause is possible. There is an error in the pattern in which the When a fault is detected by the stuck-at fault simulation means for an observation point that does not occur, a suspected-fault gate determination means for determining that there is no possibility of an error cause, and a stuck-at-0 fault and a stuck-at-1 fault at the output of the suspected-fault gate. A stuck-at fault defining means that defines the input value and output value of the gate in the normal case using the test pattern used in the test, and an input value of the gate when there is a fault defined by the stuck-at fault defining means, and A stuck-at fault simulation means for determining an output value and determining at which observation point the stuck-at fault defined in the output of the suspected-fault gate is detected, and the stuck-at fault for an observation point that does not generate an error by the test. When a failure is detected by the simulation means, the output value of the suspected failure gate is the stuck-at failure. It is presumed that the output value of the gate in the normal case obtained by the simulation means is the same, and if a fault is detected by the stuck-at fault simulation means at the observation point at which an error has occurred in the test, the suspected fault is detected. Gate output value estimating means for estimating that the output value of the gate is the opposite value of the output value of the gate in the normal case obtained by the stuck-at fault simulation means, and the failure obtained by the stuck-at fault simulation means. If there is a gate input value and the output value of the gate estimated by the gate output value estimating means, a truth table of the suspected failure gate is created, and a gate having a contradiction in the truth table is suspected. A logic circuit fault diagnosis system comprising: a truth table creating means for removing from a fault gate.
【請求項5】 論理回路の機能レベルの試験の結果に基
づいて論理回路の故障を診断する論理集積回路の故障診
断システムにおいて、 前記論理回路内の被疑故障ゲートの初期値を人手指定に
より設定する被疑故障ゲート設定手段と、 被疑故障ゲートの出力に故障時の値が不定となる故障を
定義する不定故障定義手段と、 前記試験で使用したテストパターンを用いて故障シミュ
レーションを行い、前記不定故障定義手段により定義さ
れた不定故障によってどの観測点に不定値が出力される
かを求める不定故障シミュレーション手段と、 前記試験によりエラーを発生したパターンに関して前記
不定故障シミュレーション手段により全てのエラーを発
生した観測点について不定値が検出された場合にはエラ
ー原因の可能性がある旨を判定し、前記試験によりエラ
ーを発生したパターンに関して前記不定故障シミュレー
ション手段により少なくとも一つのエラーを発生した観
測点について不定値でないものが検出された場合にはエ
ラー原因の可能性がない旨を判定する被疑故障ゲート判
定手段と、 被疑故障ゲートの出力に0縮退故障と1縮退故障を定義
する縮退故障定義手段と、 前記試験で使用したテストパターンを用いて正常な場合
のゲートの入力値および出力値ならびに前記縮退故障定
義手段により定義された故障がある場合のゲートの入力
値および出力値を求めて、前記被疑故障ゲートの出力に
定義された該縮退故障がどの観測点において検出される
かを判定する縮退故障シミュレーション手段と、 前記試験によりエラーを発生しない観測点に関して前記
縮退故障シミュレーション手段により故障が検出された
場合には前記被疑故障ゲートの出力値は前記縮退故障シ
ミュレーション手段により求められた正常な場合のゲー
トの出力値と同じである旨を推定し、前記試験によりエ
ラーを発生した観測点に関して前記縮退故障シミュレー
ション手段により故障が検出された場合には前記被疑故
障ゲートの出力値は前記縮退故障シミュレーション手段
により求められた正常な場合のゲートの出力値の反対の
値である旨を推定するゲート出力値推定手段と、 前記縮退故障シミュレーション手段により求められた前
記故障がある場合のゲートの入力値と前記ゲート出力値
推定手段により推定されたゲートの出力値との組合せか
ら前記被疑故障ゲートの真理値表を作成し、この真理値
表に矛盾のあるゲートを被疑故障ゲートから除去する真
理値表作成手段とを有することを特徴とする論理回路の
故障診断システム。
5. In a failure diagnosis system for a logic integrated circuit, which diagnoses a failure of a logic circuit based on a result of a test of a function level of the logic circuit, an initial value of a suspected failure gate in the logic circuit is manually set. Suspicious failure gate setting means, undefined failure definition means for defining a failure in which the value at the time of failure is undefined in the output of the suspected failure gate, and failure simulation by using the test pattern used in the test, and the undefined failure definition An indefinite fault simulation means for determining to which observation point an indefinite value is output by an indefinite fault defined by means, and an observation point at which all the errors have been generated by the indefinite fault simulation means with respect to the pattern in which an error has occurred by the test. If an indefinite value is detected for, it is determined that there is a possibility of error and If a non-indeterminate value is detected for at least one observing point at which an error has occurred by the test with respect to the pattern in which an error has occurred in the test, it is determined that there is no possibility of an error cause. Means, a stuck-at fault defining means for defining 0 stuck-at faults and 1 stuck-at faults at the output of the suspected fault gate, input values and output values of the gate in the normal case using the test pattern used in the test, and the stuck-at fault A stuck-at fault simulation for determining an input value and an output value of a gate when there is a fault defined by the defining means and determining at which observation point the stuck-at fault defined at the output of the suspected fault gate is detected. Means and the stuck-at fault simulation for an observation point that does not generate an error by the test When a failure is detected by the means, it is estimated that the output value of the suspected failure gate is the same as the output value of the gate in the normal case obtained by the stuck-at failure simulation means, and an error is generated by the test. When a failure is detected by the stuck-at fault simulation means with respect to the observed point, the output value of the suspected failure gate is a value opposite to the output value of the gate at the normal time obtained by the stuck-at fault simulation means. And a gate output value estimating means for estimating the suspected combination based on a combination of the gate input value when the fault is obtained by the stuck-at fault simulation means and the gate output value estimated by the gate output value estimating means. Create a truth table for fault gates and remove gates with conflicting truth tables from suspected fault gates A fault diagnosis system for a logic circuit, comprising:
【請求項6】 論理回路の機能レベル試験の結果に基づ
いて論理回路の故障を診断する論理回路の故障診断シス
テムにおいて、 前記試験結果においてエラーが検出された観測点から回
路の入力側に向かって回路をトレースし、前記論理回路
の入力端に達するまでにトレースした範囲のゲートを被
疑故障ゲートの初期値とする回路トレース手段と、 被疑故障ゲートの出力に0縮退故障および1縮退故障を
定義する縮退故障定義手段と、 前記試験で使用したテストパターンを用いて故障シミュ
レーションを行い、前記縮退故障定義手段により定義さ
れた縮退故障がどの観測点において検出されるかを求め
る縮退故障シミュレーション手段と、 前記試験によりエラーを発生した観測点に関して前記縮
退故障シミュレーション手段により故障が検出された場
合にはエラー原因の可能性がある旨を判定し、前記試験
によりエラーを発生したパターンにおいてエラーを発生
しない観測点に関して前記縮退故障シミュレーション手
段により故障が検出された場合にはエラー原因の可能性
がない旨を判定する被疑故障ゲート判定手段と、 被疑故障ゲートの出力に0縮退故障と1縮退故障を定義
する縮退故障定義手段と、 前記試験で使用したテストパターンを用いて正常な場合
のゲートの入力値および出力値ならびに前記縮退故障定
義手段により定義された故障がある場合のゲートの入力
値および出力値を求めて、前記被疑故障ゲートの出力に
定義された該縮退故障がどの観測点において検出される
かを判定する縮退故障シミュレーション手段と、 前記試験によりエラーを発生しない観測点に関して前記
縮退故障シミュレーション手段により故障が検出された
場合には前記被疑故障ゲートの出力値は前記縮退故障シ
ミュレーション手段により求められた正常な場合のゲー
トの出力値と同じである旨を推定し、前記試験によりエ
ラーを発生した観測点に関して前記縮退故障シミュレー
ション手段により故障が検出された場合には前記被疑故
障ゲートの出力値は前記縮退故障シミュレーション手段
により求められた正常な場合のゲートの出力値の反対の
値である旨を推定するゲート出力値推定手段と、 前記縮退故障シミュレーション手段により求められた前
記故障がある場合のゲートの入力値と前記ゲート出力値
推定手段により推定されたゲートの出力値との組合せか
ら前記被疑故障ゲートの真理値表を作成し、この真理値
表に矛盾のあるゲートを被疑故障ゲートから除去する真
理値表作成手段とを有することを特徴とする論理回路の
故障診断システム。
6. A failure diagnosis system for a logic circuit for diagnosing a failure of the logic circuit based on a result of a function level test of the logic circuit, wherein from an observation point where an error is detected in the test result toward an input side of the circuit. Circuit trace means for tracing a circuit and defining a gate within a range traced until reaching an input terminal of the logic circuit as an initial value of a suspicious failure gate, and defining a stuck-at-0 fault and a stuck-at-1 fault at the output of the suspicious failure gate A stuck-at fault definition means, a stuck-at fault simulation means for performing a fault simulation using the test pattern used in the test, and obtaining at which observation point the stuck-at fault defined by the stuck-at fault definition means is detected, A fault is detected by the stuck-at fault simulation means at an observation point where an error has occurred in the test. If a failure is detected by the stuck-at fault simulation means with respect to an observation point that does not generate an error in the pattern in which an error has occurred by the test, the cause of the error is determined. Suspicious failure gate determination means for determining that there is no possibility, stuck-at fault definition means for defining 0 stuck-at faults and 1 stuck-at faults at the output of the suspected-failed gate, and a normal case using the test pattern used in the above test Input value and output value of the gate and the input value and output value of the gate when there is a fault defined by the stuck-at fault defining means, and which stuck-at fault defined at the output of the suspected fault gate is observed. Regarding stuck-at fault simulation means for determining whether or not it is detected at a point, and an observation point that does not generate an error by the test When a failure is detected by the stuck-at fault simulation means, it is estimated that the output value of the suspected-fault gate is the same as the output value of the gate at the normal time obtained by the stuck-at fault simulation means, and the test is performed. When a fault is detected by the stuck-at fault simulation means with respect to the observation point at which an error has occurred, the output value of the suspected-fault gate is the opposite of the output value of the gate in the normal case obtained by the stuck-at fault simulation means. A gate output value estimating means for estimating that the value is a value, an input value of the gate when there is the failure obtained by the stuck-at fault simulation means, and an output value of the gate estimated by the gate output value estimating means A truth table of the suspected failure gate is created from the combination, and a game with inconsistency in the truth table is created. And a truth table creating means for removing a fault from a suspected failure gate.
【請求項7】 論理回路の機能レベル試験の結果に基づ
いて論理回路の故障を診断する論理回路の故障診断シス
テムにおいて、 前記試験結果においてエラーが検出された観測点から回
路の入力側に向かって回路をトレースし、前記論理回路
の入力端に達するまでにトレースした範囲のゲートを被
疑故障ゲートの初期値とする回路トレース手段と、 被疑故障ゲートの出力に故障時の値が不定となる故障を
定義する不定故障定義手段と、 前記試験で使用したテストパターンを用いて故障シミュ
レーションを行い、前記不定故障定義手段により定義さ
れた不定故障によってどの観測点に不定値が出力される
かを求める不定故障シミュレーション手段と、 前記試験によりエラーを発生したパターンに関して前記
不定故障シミュレーション手段により全てのエラーを発
生した観測点について不定値が検出された場合にはエラ
ー原因の可能性がある旨を判定し、前記試験によりエラ
ーを発生したパターンに関して前記不定故障シミュレー
ション手段により少なくとも一つのエラーを発生した観
測点について不定値でないものが検出された場合にはエ
ラー原因の可能性がない旨を判定する被疑故障ゲート判
定手段と、 被疑故障ゲートの出力に0縮退故障と1縮退故障を定義
する縮退故障定義手段と、 前記試験で使用したテストパターンを用いて正常な場合
のゲートの入力値および出力値ならびに前記縮退故障定
義手段により定義された故障がある場合のゲートの入力
値および出力値を求めて、前記被疑故障ゲートの出力に
定義された該縮退故障がどの観測点において検出される
かを判定する縮退故障シミュレーション手段と、 前記試験によりエラーを発生しない観測点に関して前記
縮退故障シミュレーション手段により故障が検出された
場合には前記被疑故障ゲートの出力値は前記縮退故障シ
ミュレーション手段により求められた正常な場合のゲー
トの出力値と同じである旨を推定し、前記試験によりエ
ラーを発生した観測点に関して前記縮退故障シミュレー
ション手段により故障が検出された場合には前記被疑故
障ゲートの出力値は前記縮退故障シミュレーション手段
により求められた正常な場合のゲートの出力値の反対の
値である旨を推定するゲート出力値推定手段と、 前記縮退故障シミュレーション手段により求められた前
記故障がある場合のゲートの入力値と前記ゲート出力値
推定手段により推定されたゲートの出力値との組合せか
ら前記被疑故障ゲートの真理値表を作成し、この真理値
表に矛盾のあるゲートを被疑故障ゲートから除去する真
理値表作成手段とを有することを特徴とする論理回路の
故障診断システム。
7. A failure diagnosis system for a logic circuit for diagnosing a failure of the logic circuit based on a result of a function level test of the logic circuit, wherein from an observation point where an error is detected in the test result toward an input side of the circuit. Circuit trace means for tracing the circuit and setting the gate in the range traced until reaching the input terminal of the logic circuit as the initial value of the suspicious failure gate, and a failure in which the value at the time of the failure is indefinite in the output of the suspicious failure gate An indefinite fault defining means and a test pattern used in the test are used to perform a failure simulation, and an indefinite fault is obtained to determine to which observation point an indefinite value is output by the indefinite fault defined by the indefinite fault defining means. The simulation means and the indefinite fault simulation means for the pattern in which the error is generated by the test If an indefinite value is detected for the observation point where the error occurs, it is determined that there is a possibility of an error cause, and at least one error is detected by the indefinite fault simulation means with respect to the pattern in which the error is generated by the test. Defines a suspected failure gate determination means that determines that there is no possibility of an error cause when a non-indeterminate value is detected for the generated observation points, and 0 stuck-at fault and 1 stuck-at fault at the output of the suspected failure gate. A stuck-at fault definition means, and an input value and an output value of the gate in the normal case using the test pattern used in the test, and an input value and an output value of the gate when there is a fault defined by the stuck-at fault definition means. Degradation for determining at which observation point the stuck-at fault defined in the output of the suspected failure gate is detected Failure simulation means, when the fault is detected by the stuck-at fault simulation means with respect to the observation point that does not generate an error by the test, the output value of the suspected failure gate is in the normal case obtained by the stuck-at fault simulation means. The output value of the gate is estimated to be the same as the output value of the gate, and when a failure is detected by the stuck-at fault simulation means at the observation point where an error occurs in the test, the output value of the suspected-fault gate is set at the stuck-at fault simulation means. And a gate output value estimating means for estimating that the output value of the gate in the normal case is the opposite value, and an input value of the gate when there is the failure obtained by the stuck-at fault simulation means and the A combination with the gate output value estimated by the gate output value estimation means And a truth table creating means for creating a truth table of the suspected failure gate from the combination and removing a gate having a contradiction in the truth table from the suspected failure gate.
JP7113322A 1995-05-11 1995-05-11 Failure diagnosis system Expired - Lifetime JP2861861B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7113322A JP2861861B2 (en) 1995-05-11 1995-05-11 Failure diagnosis system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7113322A JP2861861B2 (en) 1995-05-11 1995-05-11 Failure diagnosis system

Publications (2)

Publication Number Publication Date
JPH08304513A true JPH08304513A (en) 1996-11-22
JP2861861B2 JP2861861B2 (en) 1999-02-24

Family

ID=14609302

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7113322A Expired - Lifetime JP2861861B2 (en) 1995-05-11 1995-05-11 Failure diagnosis system

Country Status (1)

Country Link
JP (1) JP2861861B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7983858B2 (en) 2007-08-22 2011-07-19 Semiconductor Technology Academic Research Center Fault test apparatus and method for testing semiconductor device under test using fault excitation function

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7983858B2 (en) 2007-08-22 2011-07-19 Semiconductor Technology Academic Research Center Fault test apparatus and method for testing semiconductor device under test using fault excitation function

Also Published As

Publication number Publication date
JP2861861B2 (en) 1999-02-24

Similar Documents

Publication Publication Date Title
JP2982741B2 (en) Fault diagnosis device for integrated circuit and recording medium therefor
Yang et al. Quick scan chain diagnosis using signal profiling
KR980010844A (en) Methods and systems for identifying failure points
JP3063706B2 (en) Failure diagnosing device and machine-readable recording medium recording program
JP2947204B2 (en) LSI failure location identification method
US6836856B2 (en) Methods for characterizing, generating test sequences for, and/or simulating integrated circuit faults using fault tuples and related systems and computer program products
JP2680259B2 (en) Automatic opening detection method
Fan et al. Diagnosis of cell internal defects with multi-cycle test patterns
JP2715956B2 (en) Method for narrowing down a failure portion of CMOS logic circuit using Iddq
JP2655105B2 (en) Fault location estimation method for sequential circuits
JPH11214465A (en) Method and system for diagnosing fabrication system of semiconductor device and recording medium
Shigeta et al. An improved fault diagnosis algorithm based on path tracing with dynamic circuit extraction
JP2861861B2 (en) Failure diagnosis system
JP3099732B2 (en) Fault diagnosis apparatus and diagnosis method for CMOS integrated circuit
JP2800755B2 (en) Fault diagnosis device and diagnosis method for CMOS integrated circuit
JP2008527322A (en) Circuit arrangement and inspection and / or diagnosis method thereof
JP2005043274A (en) Failure mode specifying method and failure diagnostic device
JP3139543B2 (en) Method of specifying faulty block in CMOS LSI having multiple faults
Nandakumar et al. Improved Chain Diagnosis Methodology for Clock and Control Signal Defect Identification
JP2642265B2 (en) Inspection method of test pattern of logic circuit
JP3127856B2 (en) LSI combination circuit fault inference device
JPH1152023A (en) Method for estimating faulty location of lsi and storage medium storing program for estimating faulty location of lsi
JP3161345B2 (en) Fault block identification method having Iddq abnormality
Shimino An efficient logical fault diagnosis for combinational circuits using stuck-at fault simulation
Yamazaki et al. An approach of diagnosing single bridging faults in CMOS combinational circuits

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