JP3168988B2 - Fault location estimation method for sequential circuit, candidate extraction in failure location estimation and weighting method thereof, and apparatus therefor - Google Patents

Fault location estimation method for sequential circuit, candidate extraction in failure location estimation and weighting method thereof, and apparatus therefor

Info

Publication number
JP3168988B2
JP3168988B2 JP21335998A JP21335998A JP3168988B2 JP 3168988 B2 JP3168988 B2 JP 3168988B2 JP 21335998 A JP21335998 A JP 21335998A JP 21335998 A JP21335998 A JP 21335998A JP 3168988 B2 JP3168988 B2 JP 3168988B2
Authority
JP
Japan
Prior art keywords
fault
estimated
procedure
failure
state
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP21335998A
Other languages
Japanese (ja)
Other versions
JPH11160400A (en
Inventor
敏夫 石山
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Corp
Original Assignee
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 JP21335998A priority Critical patent/JP3168988B2/en
Publication of JPH11160400A publication Critical patent/JPH11160400A/en
Priority to US09/362,856 priority patent/US6397362B1/en
Application granted granted Critical
Publication of JP3168988B2 publication Critical patent/JP3168988B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は順序回路の故障箇所
推定方法及び故障箇所推定における候補抽出並びにその
重み付け方法更にはその装置に関し、特にLSIの故障
診断をなすための順序回路の故障箇所推定方法及び故障
箇所推定における候補抽出並びにその重み付け方法更に
はその装置に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method for estimating a fault location of a sequential circuit, a method for extracting candidates in the fault location estimation and a method for weighting the candidates, and a device therefor. The present invention also relates to a method for extracting a candidate for estimating a fault location and a method for weighting the candidate, and a device therefor.

【0002】[0002]

【従来の技術】従来順序回路の故障診断手法としては、
故障辞書を予め作成して実際のフェイル結果と照合して
故障箇所を絞り込む方法やスキャンパスによりフリップ
フロップの状態設定/読み出しを行って故障個所を推定
する方法がある。
2. Description of the Related Art Conventional sequential circuit failure diagnosis methods include:
There are a method of creating a failure dictionary in advance and collating it with an actual fail result to narrow down a failure location, and a method of estimating a failure location by setting / reading out the state of a flip-flop by a scan path.

【0003】故障辞書を用いる方法では、特開平3−1
20485号公報等に示される様に、実際のテストベク
タを用いてLSI内部に故障を挿入したシミュレーショ
ンを行い、仮定した故障位置とその時にフェイルする出
力ピンの情報を対応させた故障辞書なるデータファイル
を予め作成し、実際にフェイルした出力ピンの故障状態
から逆に故障辞書を索引し故障箇所の候補点を求め、か
つ複数得られた候補点に対しては全ベクタのフェイル出
力から得られた故障推定箇所用い最も可能性が高いと思
われるものから順に優先順位を付けて故障箇所を推定す
るものである。
A method using a failure dictionary is disclosed in
As disclosed in Japanese Patent No. 20485, etc., a simulation is performed in which a fault is inserted into an LSI using an actual test vector, and a data file as a fault dictionary in which an assumed fault location is associated with information on an output pin that fails at that time. Was created in advance, and from the failure state of the output pin that actually failed, the failure dictionary was indexed and the candidate points of the failure location were obtained, and the candidate points obtained from a plurality of candidates were obtained from the fail output of all vectors. The failure location is estimated by assigning priorities in order from the one that is most likely to use the failure estimation location.

【0004】スキャンパスを用いる方法では、特開平6
−194416号公報等に示される様に、予め回路内に
状態の読み出し/書き込みを行うことができるチェック
用回路を準備しておく必要があり、このチェック用の試
験用回路を用いフリップフロップの状態設定を行い、そ
の状態の基での回路動作後同様に試験用回路を用いてフ
リップフロップ等の状態を読み出す。その読み出された
状態と期待値とを比較し前からの伝搬か否かを判定し順
次故障個所の絞り込みを行っていく手法である。
A method using a scan path is disclosed in
As shown in JP-A-194416 and the like, it is necessary to prepare in advance a check circuit capable of reading / writing the state in the circuit, and use the test circuit for this check to check the state of the flip-flop. After the setting is performed, the state of the flip-flop and the like is read out using the test circuit similarly after the circuit operation based on the state. This is a method of comparing the read state with an expected value to determine whether or not propagation has occurred from before, and narrowing down a failure portion sequentially.

【0005】また、本願発明出願人により提案された特
開平8−146093号公報や特開平8−94714号
公報の順序回路の故障箇所推定手法では、本発明と同様
に故障の伝搬していると想定される組合せ回路を順次抽
出し、組合せ回路内の故障伝搬を想定し出力状態を満た
す入力状態値を求めることにより、組合せ回路入力端子
状態推定のみ行っていく手法である。
[0005] Further, the fault location estimating method of the sequential circuit proposed by the applicant of the present invention in JP-A-8-146093 or JP-A-8-94714 assumes that the propagation of a fault is similar to the present invention. This is a technique of sequentially extracting assumed combinational circuits, assuming a fault propagation in the combinational circuit, and obtaining an input state value that satisfies the output state, thereby performing only the combinational circuit input terminal state estimation.

【0006】[0006]

【発明が解決しようとする課題】上述した従来の故障辞
書を用いる故障診断手法は実際の故障出力に合致する事
象を故障辞書から検索し故障個所を絞り込む方法である
が、この方法の第1の問題点は故障シミュレーションに
より故障出力に対する故障辞書を用意する必要があり、
故障辞書を作成するための演算時間が大きくなることで
ある。その理由は予想される全てのノードに対して故障
仮定をするため、故障シミュレーションが増大し、また
故障仮定箇所と故障出力端子との検索辞書作成にも時間
がかかるためである。この辞書作成に要する演算時間の
増大は、LSIの大規模化に伴い顕著になる。
The above-described conventional fault diagnosis method using a fault dictionary is a method of searching an event matching an actual fault output from the fault dictionary and narrowing down a fault location. The problem is that it is necessary to prepare a fault dictionary for the fault output by fault simulation,
This means that the operation time for creating the failure dictionary increases. The reason is that a failure assumption is made for all expected nodes, so that the number of failure simulations increases, and it takes time to create a search dictionary of the failure assumption part and the failure output terminal. The increase in the calculation time required for creating the dictionary becomes remarkable as the size of the LSI increases.

【0007】第2の問題点は、故障シミュレーションで
扱う故障モデルは単一縮退故障が一般的であるため、シ
ョート故障等の多重故障では実際の故障と一致しない場
合があることである。その理由は故障シミュレーション
を多重故障に拡張すると、複数の組合せで故障仮定を行
う必要があり、2重故障を仮定してもその組合せ数が爆
発的に増大し、故障シミュレーションの処理時間の点で
現実的ではないからである。
A second problem is that a single stuck-at fault is generally used as a fault model handled in a fault simulation, and thus a multiple fault such as a short fault may not coincide with an actual fault. The reason is that if the fault simulation is extended to multiple faults, it is necessary to make fault assumptions in multiple combinations. Even if a double fault is assumed, the number of combinations increases explosively, and the processing time of the fault simulation increases. Because it is not realistic.

【0008】スキャンパスを用いる方法についてみれ
ば、この方法の第1の問題点は内部状態の設定/読み出
しを可能にする検査回路を持つフリップフロップ即ちス
キャンパスを回路設計時に組み込む必要があり、スキャ
ンパスを用いていないLSIについては適用できないこ
とである。
As for the method using a scan path, the first problem with this method is that it is necessary to incorporate a flip-flop having a check circuit for enabling setting / reading of an internal state, that is, a scan path at the time of circuit design. This is not applicable to an LSI that does not use a campus.

【0009】また第2の問題点はパーシャルスキャンの
場合には組合せ回路としての故障推定手法ではなく、順
序回路としての故障推定手法が必要となることである。
その理由はパーシャルスキャンの場合、スキャン用フリ
ップフロップ間の回路が必ずしも組合せ回路にならない
ためである。またその時に用いる故障推定手法が故障辞
書法であると前述の問題がある。
A second problem is that, in the case of partial scan, a fault estimating method as a sequential circuit is required instead of a fault estimating method as a combinational circuit.
The reason is that in the case of the partial scan, the circuit between the scan flip-flops is not always a combination circuit. Further, if the failure estimation method used at that time is the failure dictionary method, there is the aforementioned problem.

【0010】また、特開平8−146093号公報や特
開平8−94714号公報等の順序回路の故障箇所推定
手法での問題点は、単一縮退故障を想定して出現頻度で
重み付けを行っているため、推定精度を下げてしまうこ
とがあった。その理由はopen(解放)故障、short (短
絡)故障時状態が時刻により変化する場合や、固定故障
の場合でも、出力端子近くのノードの重みが高くなるか
らである。
The problem with the method of estimating the fault location of a sequential circuit disclosed in Japanese Patent Application Laid-Open Nos. 8-146093 and 8-94714 is that weighting is performed on the frequency of occurrence assuming a single stuck-at fault. Therefore, the estimation accuracy may be reduced. The reason is that the weight of the node near the output terminal increases even when the state at the time of an open (release) fault or a short (short) fault changes with time or in the case of a fixed fault.

【0011】更に、組合わせ回路入力端子の故障伝搬状
態推定値でも推定で得られた全てのベクタを推定値テー
ブルに登録して順次組合わせ回路を溯るため、その抽出
される組合わせ回路が非常に多くなり、推定するLSI
規模が大きくなると計算時間が非常に大きくなるという
欠点がある。
Further, since all the vectors obtained by the estimation are registered in the estimated value table for the fault propagation state estimated value of the combination circuit input terminal and the combination circuit is sequentially traced, the extracted combination circuit is extremely difficult. LSI to estimate
There is a disadvantage that the calculation time becomes very large as the scale becomes large.

【0012】本発明の目的は、LSI内部の故障を実際
のテスタパス/フェイル情報と回路接続情報及びLSI
内部の全フリップフロップの全テストベクタに対する期
待値情報とを用いて、推定処理可能とした順序回路の故
障推定方法を提供することである。
[0012] It is an object of the present invention to provide a method for determining a failure in an LSI by using actual tester pass / failure information, circuit connection information, and LSI
An object of the present invention is to provide a fault estimating method for a sequential circuit which can perform an estimation process using expected value information for all test vectors of all internal flip-flops.

【0013】本発明の他の目的は、LSIの故障箇所推
定において、単一縮退故障の故障推定候補の精度向上を
図る方法およびその装置を提供することである。
Another object of the present invention is to provide a method and an apparatus for improving the accuracy of a fault estimation candidate for a single stuck-at fault in LSI fault location estimation.

【0014】本発明の更に他の目的は、LSIの故障箇
所推定において、open故障の故障推定候補の精度向上を
図る方法およびその装置を提供することである。
Still another object of the present invention is to provide a method and an apparatus for improving the accuracy of an open fault fault estimation candidate in LSI fault location estimation.

【0015】本発明の別の目的は、LSIの故障箇所推
定において、short 故障等2重故障の故障推定候補の精
度向上を図る方法およびその装置を提供することであ
る。
It is another object of the present invention to provide a method and an apparatus for improving the accuracy of a fault estimation candidate for a double fault such as a short fault in estimating a fault location of an LSI.

【0016】[0016]

【課題を解決するための手段】本発明の順序回路の故障
診断手法は、予め用意したLSI内の全フリップフロッ
プの全ベクタに対する全期待値情報と実際のテスタでの
パス/フェイル出力情報,全回路の接続情報を用いて、
フリップフロップと組合せ回路に分割して故障推定する
ことを基本とし、フェイルベクタ毎に組合せ回路の入力
境界での故障伝搬推定値を求めるシーケンスとして、実
際のフェイル出力ピンもしくはフェイルと推定されるフ
リップフロップ入力線を含んだ組合せ回路を抽出する手
順と、前記組合せ回路入力端子での故障伝搬値推定では
組合せ回路内に故障が存在することを想定し、故障が存
在すると仮定できる場合にはその推定故障箇所並びに組
合せ回路入力端子の推定状態値もしくは推定故障伝搬経
路を求め、故障が存在しないと仮定できる場合には組合
せ回路入力端子の推定状態値もしくは推定故障伝搬経路
のみを求め、更に組合せ回路内に故障が存在しなければ
ならない場合にはその推定故障箇所のみを求める手順
と、また得られた推定故障箇所のうち、故障の種類毎に
想定できる故障箇所数を決めその故障箇所数をもとに得
られた推定状態を削減する手順と、前記削減し得られた
組合せ回路入力端子の推定状態値から故障伝搬端子を抽
出し、ブール代数の簡略化や故障伝搬経路を有効にまと
めるいくつかの経路選択手順と、上記手順を繰り返し行
い、全てのベクタでの推定を行った後、前記得られた全
ての推定故障箇所並びに推定故障伝搬経路を用い、時刻
毎に分類し全ての時刻で場所的な一致を判定する手順も
しくは推定故障箇所,推定故障伝搬経路として得られた
ノードの頻度をとり、優先順位付けを行う手順と、前記
得られた優先順位を付けられた故障推定箇所に対し、個
々の推定結果を調べ、故障の種類毎に分類する手順と、
更に推定精度を上げるために前記得られた推定故障箇所
とその種類,状態値をもとに再度全ベクタに対し故障シ
ミュレーションを行い、一致判定を行う手順とを備える
ことを特徴とする。
According to the present invention, there is provided a method for diagnosing faults in a sequential circuit, comprising: all expected value information for all vectors of all flip-flops in an LSI prepared in advance; pass / fail output information for an actual tester; Using the connection information of the circuit,
Based on the fact that a fault is estimated by dividing the circuit into a flip-flop and a combinational circuit, an actual fail output pin or a flip-flop estimated as a failure is determined as a sequence for obtaining a failure propagation estimation value at an input boundary of the combinational circuit for each fail vector. The procedure for extracting the combinational circuit including the input line and the estimation of the fault propagation value at the input terminal of the combinational circuit assume that a fault exists in the combinational circuit. The estimated state value or estimated fault propagation path of the location and the combinational circuit input terminal is determined.If it is assumed that no fault exists, only the estimated state value or the estimated failure propagation path of the combinational circuit input terminal is determined. If a fault must be present, the procedure to find only the estimated fault location and the estimated A procedure for determining the number of failure points that can be assumed for each type of failure among the failure points, and reducing the estimated state obtained based on the number of failure points, and the estimated state value of the combined circuit input terminal obtained by the reduction After extracting the fault propagation terminal from the above, several path selection procedures for simplifying the Boolean algebra and effectively summarizing the fault propagation paths, and repeating the above procedure, estimating with all the vectors, the above obtained Using all estimated fault locations and estimated fault propagation paths, classifying each time and determining locational coincidence at all times, or taking the frequency of nodes obtained as estimated fault locations and estimated fault propagation paths, and taking priority A procedure for performing the ranking, and for each of the obtained fault-predicted places with priorities, examining an individual estimation result and classifying each failure type,
In order to further improve the estimation accuracy, the method further comprises a step of performing a failure simulation again on all the vectors based on the obtained estimated fault location, its type, and the state value, and performing a coincidence determination.

【0017】また、実際のLSIでの故障推定適用時
に、上記手順に加えフリップフロップのクロックライン
について各ベクタ毎に期待値を調べ、その時刻にクロッ
クが入りデータ更新されたか否かを判定し、更新された
場合には上記手順により順次前段の出力端子へと推定状
態値を伝搬させ、データ更新が行われない場合にはデー
タ更新がそれ以前で最後に更新された時刻まで保持する
手順と、クロックライン,スキャンパスラインに故障が
含まれているか否かを判定し、含まれない場合にはフリ
ップフロップの通常のデータラインのみ組合せ回路とし
て抽出し推定を行い、含まれる場合にはクロックライ
ン,スキャンパスラインについても推定し、データライ
ンの推定と併せて全体の故障箇所推定を行う手順と、組
合せ回路入力端子としてLSIの入力端子,フリップフ
ロップ出力だけでなくROM,RAMの出力端子も想定
し、ROM,RAMの場合は書込みビット故障伝搬,供
給アドレス故障伝搬を想定し判定を行い、夫々ROM,
RAMの入力端子から前段へと溯る手順とを備え、最終
的な故障推定リストを作成することを特徴とする。
In addition, when applying the fault estimation in an actual LSI, in addition to the above procedure, the expected value of the clock line of the flip-flop is checked for each vector, and it is determined whether or not the clock has entered at that time and the data has been updated. If updated, the estimated state value is sequentially propagated to the output terminal of the preceding stage according to the above procedure, and if data is not updated, the data update is held until the last updated time before that, It is determined whether or not the clock line and the scan path line include a fault. If the fault is not included, only the normal data line of the flip-flop is extracted and estimated as a combinational circuit. A procedure for estimating the scan path line and estimating the entire failure location together with the estimation of the data line, LSI input terminal, ROM not only the flip-flop output, also assumes the output terminal of RAM, ROM, in the case of RAM write bit fault propagation, make assumptions to determine the supply address fault propagation, respectively ROM,
A procedure of going back to the previous stage from the input terminal of the RAM, and creating a final failure estimation list.

【0018】本発明による順序回路の故障箇所推定にお
ける候補抽出並びにその重み付け方法は、予め用意した
LSI内の全フリップフロップの全ベクタに対する全期
待値情報と、実際のテスタでのパス/フェイル出力情報
と、全回路の接続情報とを用いてテスト結果で得られた
各ベクタの各故障出力端子から順次組合せ回路を動的に
抽出する手順と、この抽出された組合せ回路の出力状態
値もしくは推定値から組合せ回路入力状態値を推定する
ことによりLSI内の各フリップフロップの状態値を推
定し、期待値との差より故障伝搬していると推定される
端子、素子およびその状態値を抽出する手順と、こうし
て得られた故障伝搬推定端子からテストベクタを溯り、
入力方向に組合せ回路を抽出するといったように順次上
記操作を繰り返し行う手順と、すべてのテストベクタに
対して同様の操作を行い抽出組合せ回路毎に故障伝搬推
定素子およびその状態値を求める手順とを含む故障箇所
推定における候補抽出及びその重み付け方法であって、
前記各組合せ回路内の故障伝搬推定素子および状態値を
用いて、回路接続情報を検索し出力端子までの故障伝搬
経路として接続関係を再構成する手順と、故障伝搬推定
経路上の各推定故障伝搬点の状態値を調べて、 (1)常に同一の状態値を持つノードを推定故障候補点
として選択する; (2)時刻により推定状態値が変化するノードを推定故
障候補点として選択する; (3)同時に2箇所の故障推定箇所を必須とするノード
を推定故障候補点として選択する;手順を備え、前記選
択された各推定故障候補点毎に到達するLSIの故障出
力端子数を頻度として計数する手順と、前記計数した頻
度数の大きい順に故障候補点の出現順位を並べ替え、重
み付けを行う手順とを備えたことを特徴とする。
The method for extracting candidates and estimating the weight in the method for estimating the failure location of a sequential circuit according to the present invention is described below. A procedure for dynamically extracting a combinational circuit sequentially from each fault output terminal of each vector obtained as a test result using the connection information of all the circuits, and an output state value or estimated value of the extracted combinational circuit. Estimating the state value of each flip-flop in the LSI by estimating the input state value of the combinational circuit from, and extracting the terminal, element and its state value that are estimated to have propagated a fault from the difference from the expected value And a test vector from the fault propagation estimation terminal obtained in this way,
The procedure of repeating the above operation sequentially, such as extracting a combinational circuit in the input direction, and the procedure of performing the same operation on all test vectors to obtain a fault propagation estimation element and its state value for each extracted combinational circuit Candidate extraction and its weighting method in fault location estimation including:
A procedure for retrieving circuit connection information and reconstructing a connection relation as a fault propagation path to an output terminal using the fault propagation estimation elements and state values in each of the combinational circuits; Check the state value of the point, and (1) always select a node having the same state value as an estimated failure candidate point; (2) select a node whose estimated state value changes with time as an estimated failure candidate point; ( 3) Simultaneously select nodes that require two estimated fault locations as estimated fault candidate points; include a procedure and count the number of fault output terminals of the LSI that arrive at each of the selected estimated fault candidate points as a frequency And a procedure of rearranging the order of appearance of the failure candidate points in descending order of the counted frequency number and performing weighting.

【0019】また、本発明による順序回路の故障箇所推
定における候補抽出並びにその重み付け装置は、推定の
対象となるLSIのネットリストを記憶し、また部分回
路に分割されたネットリストも併せて登録を可能とし、
検索、削除要求に対して処理を行い、ネットリストの一
元管理を行うネットリスト管理部と、入出力端子および
フリップフロップの期待値を管理する入出力端子/フリ
ップフロップ期待値管理部と、推定値、実測値を記憶し
ている推定値/実測値管理部と、各故障箇所推定機能か
ら得られた故障候補点、推定故障状態値ならびに故障モ
ード等推定結果を記憶する故障候補管理部と、故障出力
端子もしくは故障推定出力端子から組合せ回路をダイナ
ミックに抽出する組合せ回路抽出部と組合せ回路内部の
状態値を推定する組合せ回路状態推定部と、前記組合せ
回路内部の状態推定結果から推定故障伝搬経路を抽出す
る故障伝搬経路抽出部と、この得られた組合せ回路入力
端子の故障伝搬端子および状態値を用いて故障伝搬経路
選択する経路選択部と、この得られた故障伝搬経路の再
構成を行って故障箇所から故障出力端子までの関連付け
を行う故障伝搬経路再構成部とこの得られた故障候補毎
の推定状態を全ベクタに対して調査して状態値が一定で
あるか変化しているかを判定する推定状態値判定部と、
前記状態値判定で得られた結果をもとに故障箇所数を加
味し故障モード分類を行う故障モード分類部と、個々の
故障候補点に対する故障出力端子数もしくは故障伝搬経
路数頻度を計数して各故障モード毎に重み付けを行う頻
度重み付け部と、前記各故障推定機能の処理順位の制御
や各故障推定機能間の待ち合わせ制御等の全体の推定シ
ーケンスを制御するシーケンス制御部とを含むことを特
徴とする。
Further, the candidate extraction and weighting apparatus for estimating a fault location in a sequential circuit according to the present invention stores a netlist of an LSI to be estimated and registers the netlist divided into partial circuits. Possible,
A netlist management unit that processes search and deletion requests and performs unified management of a netlist; an input / output terminal / flip-flop expected value management unit that manages expected values of input / output terminals and flip-flops; An estimated value / actual value management unit storing actual measured values, a failure candidate management unit storing estimated results such as a failure candidate point, an estimated failure state value, and a failure mode obtained from each failure location estimation function; A combination circuit extraction unit for dynamically extracting a combinational circuit from an output terminal or a failure estimation output terminal, a combinational circuit state estimation unit for estimating a state value inside the combinational circuit, and an estimated failure propagation path from a state estimation result inside the combinational circuit. A fault propagation path extracting unit to be extracted, and a path selection for selecting a fault propagation path using the obtained fault propagation terminal and state value of the combinational circuit input terminal And a fault propagation path reconfiguration unit for reconstructing the obtained fault propagation path and associating a fault location with a fault output terminal, and examining the obtained estimated state of each fault candidate for all vectors. Estimated state value determination unit to determine whether the state value is constant or changing,
A failure mode classification unit that performs failure mode classification in consideration of the number of failure points based on the results obtained in the state value determination, and counts the number of failure output terminals or the number of failure propagation paths for each failure candidate point. A frequency weighting unit that weights each failure mode, and a sequence control unit that controls an overall estimation sequence such as control of the processing order of the failure estimation functions and queuing control between the failure estimation functions. And

【0020】本発明の作用を述べる。上記故障推定手順
は検出された各フェイルベクタに対して分割した組合せ
回路毎に内部を想定して故障推定箇所並びに故障伝搬値
推定を行い、その故障伝搬推定値を更に前段の組合せ回
路の出力と見なし入力部の故障伝搬推定を行う。この様
に順次LSIの出力側から組合せ回路を抽出し、その組
合せ回路毎に独立に推定を行い、全てのフェイルに対し
て組合せ回路の入力境界での故障伝搬値を推定していく
ため、故障状態が複数の組合せ回路を伝搬し、伝搬故障
箇所の存在する組合せ回路にフィードバックされても推
定誤りを起こすことなく、状態推定を行うことができ
る。
The operation of the present invention will be described. The above fault estimation procedure estimates a fault estimation location and a fault propagation value by assuming the inside for each combinational circuit divided for each detected fail vector, and further estimates the failure propagation estimate with the output of the preceding combinational circuit. The fault propagation of the assumed input part is estimated. In this way, the combinational circuits are sequentially extracted from the output side of the LSI, the estimation is performed independently for each combinational circuit, and the fault propagation value at the input boundary of the combinational circuit is estimated for all the failures. Even if a state propagates through a plurality of combinational circuits and is fed back to a combinational circuit having a propagation failure point, state estimation can be performed without causing an estimation error.

【0021】また組合せ回路入力端子状態推定後、効率
的に故障伝搬経路を選択できるため、従来の様に全ての
故障伝搬推定状態毎に推定を繰り返すことがなくなり、
故障推定の演算量が大幅に減少でき、時間も大幅に短縮
できるという効果がある。それと同時に大規模回路に対
しても実時間の処理が可能となる。また、ショート故障
等の多重故障やタイミング故障に対してもその故障の種
類毎に想定を行い、推定するため推定誤りを起こしにく
い。
Further, since the fault propagation path can be efficiently selected after estimating the input state of the combinational circuit input terminal, the estimation is not repeated for every fault propagation estimation state as in the prior art.
There is an effect that the amount of calculation for failure estimation can be greatly reduced, and the time can be significantly reduced. At the same time, real-time processing can be performed on a large-scale circuit. Further, multiple faults such as short faults and timing faults are assumed for each type of fault, and estimation is performed.

【0022】上記手順をフリップフロップのクロックラ
イン,スキャンパスライン,メモリブロックの推定手法
を加えることにより、実際の大規模なLSIに対する故
障推定が可能となり、かつ効率良く行うことができる。
By adding the above procedure to a method for estimating a clock line, a scan path line, and a memory block of a flip-flop, a fault can be estimated for an actual large-scale LSI and can be performed efficiently.

【0023】単一故障,open故障、short 故障どの場合
でも各組合せ回路内の故障伝搬推定素子から出力端子ま
での故障伝搬経路としての接続関係を再構成する手順を
持っているため、効率的に故障候補点を選択することが
できる。なぜなら、LSIの故障出力端子から組合せ回
路毎に故障伝搬経路を順次推定し入力方向へと溯ってい
るため、実際の故障は必ず推定された伝搬経路上にある
からである。
In any case, a single fault, an open fault, and a short fault have a procedure for reconstructing a connection relation as a fault propagation path from a fault propagation estimating element in each combinational circuit to an output terminal. A failure candidate point can be selected. This is because an actual fault is always on the estimated propagation path since the fault propagation path is sequentially estimated from the failure output terminal of the LSI for each combinational circuit and goes back toward the input direction.

【0024】逆に故障伝搬経路として抽出されない素子
には故障が存在しえないからである。これは単一故障、
open故障に限らず、short 故障も同様であり、実際にsh
ort故障している部分からLSI故障出力端子までの経
路は、同時に複数の経路を故障伝搬していることを想定
しているため、推定された故障伝搬経路の中には真の故
障伝搬経路が含まれるからである。
Conversely, a failure cannot be present in an element that is not extracted as a failure propagation path. This is a single failure,
Not only for open failures, but also for short failures
Since the path from the ort faulted portion to the LSI fault output terminal is assumed to be fault-transmitted through multiple paths at the same time, a true fault propagation path is included in the estimated fault propagation paths. Because it is included.

【0025】ここでの推定伝搬経路とは、組合せ回路出
力端子から組合せ回路入力端子に到達しているものと到
達せずに組合せ回路内で止まった伝搬経路の2種類があ
り、その両方を指す。この伝搬経路上のノードを故障候
補とする方法の故障候補数は、LSI自体の論理深度す
なわちLSI出力端子から入力端子までの伝搬素子数に
依存し、故障候補数が直接LSI全体の規模に依存する
わけではないため、大規模化に対しても演算が爆発的に
増えることを抑制できる長所がある。
There are two types of estimated propagation paths, one that reaches from the output terminal of the combinational circuit to the input terminal of the combinational circuit and the other that does not reach and stops in the combinational circuit. . The number of fault candidates in the method of using nodes on the propagation path as fault candidates depends on the logical depth of the LSI itself, that is, the number of propagation elements from the LSI output terminal to the input terminal, and the number of fault candidates directly depends on the scale of the entire LSI. However, there is an advantage that the explosion of operations can be suppressed even when the scale is increased.

【0026】また、故障の単一故障、open故障、short
故障を問わず各推定故障候補点とLSIの故障出力端子
との間に存在する経路数もしくは到達するLSIの故障
出力端子数を頻度として計数し、その頻度により重み付
けを行う手順を持っているため、故障候補点の重み付け
精度が従来に比較し向上する。なぜなら、経路数もしく
は到達するLSIの故障出力端子を計数するため、LS
I出力端子からの論理深度が深くても、より多くの故障
伝搬経路もしくは故障出力端子を満たすノードが頻度の
大きいノードとして抽出され、LSI出力端子に近い伝
搬経路上のノードよりも高くなる可能性が大きいからで
ある。
In addition, single failure, open failure, short failure
Since the number of paths existing between each estimated fault candidate point and the failure output terminal of the LSI or the number of failure output terminals of the arriving LSI is counted as a frequency regardless of the failure, there is a procedure for weighting according to the frequency. In addition, the accuracy of weighting the failure candidate points is improved as compared with the related art. Because the number of paths or the failure output terminal of the arriving LSI is counted, LS
Even if the logical depth from the I output terminal is deep, a node that satisfies more failure propagation paths or failure output terminals is extracted as a node with high frequency, and may be higher than a node on a propagation path close to the LSI output terminal. Is large.

【0027】[0027]

【発明の実施の形態】次に、本発明の実施例について図
面を参照して詳細に説明する。図1は本発明の一実施例
を示すフローチャートである。本発明の順序回路の故障
診断手法は、予め用意したLSI内の全フリップフロッ
プの全ベクタに対する全期待値情報と実際のテスタでの
パス/フェイル出力情報,全回路の接続情報を用い、か
つフリップフロップと組合せ回路とに分割して故障推定
することを基本としている。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Next, embodiments of the present invention will be described in detail with reference to the drawings. FIG. 1 is a flowchart showing one embodiment of the present invention. The fault diagnosis method for a sequential circuit according to the present invention uses all expected value information for all vectors of all flip-flops in an LSI prepared in advance, pass / fail output information of an actual tester, connection information of all circuits, and It is based on the assumption that a fault is estimated by dividing the fault into a loop and a combinational circuit.

【0028】ここで、LSI全体の回路構成を考える
と、フリップフロップやメモリ等の一時的にデータを蓄
えるラッチ機能を有する回路を含む順序回路であるが、
フリップフロップやメモリ等のデータを記憶する素子を
含まない回路部分を組合せ回路と、通常定義している。
順序回路はフリップフロップ等を含むものであり、与え
る入力状態は同じでも、クロックの与え方で出力状態は
異なる。組合せ回路はフリップフロップ等を含まないの
で、与える入力状態が決まれば一意に出力状態が決まる
ものである。
Here, considering the circuit configuration of the entire LSI, it is a sequential circuit including a circuit having a latch function of temporarily storing data, such as a flip-flop or a memory.
A circuit portion that does not include an element for storing data, such as a flip-flop or a memory, is usually defined as a combinational circuit.
The sequential circuit includes a flip-flop and the like, and the input state given is the same, but the output state differs depending on how the clock is given. Since the combinational circuit does not include a flip-flop or the like, the output state is uniquely determined when the input state to be given is determined.

【0029】先ず組合せ回路抽出の手順1では、LSI
の故障出力もしくは既に故障であると推定された出力端
子から入力方向へと回路トレース(もしくは回路抽出)
を行い、LSIの入力端子もしくはフリップフロップの
出力端子に到達したら、回路トレース(もしくは回路抽
出)を終了する。次のその時得られたLSIの入力端子
もしくはフリップフロップの出力端子を用いて出力方向
へ回路トレース(もしくは回路抽出)を行い、LSIの
出力端子もしくはフリップフロップの入力端子を得る。
更にこの得られた出力端子もしくはフリップフロップの
入力端子から入力方向にLSIの入力端子もしくはフリ
ップフロップの出力端子に到達するまで回路抽出を行
い、組合せ回路を得る。
First, in procedure 1 for extracting a combinational circuit, an LSI
A circuit trace (or circuit extraction) from the fault output of or from the output terminal that has been presumed to be faulty to the input direction
When the signal reaches the input terminal of the LSI or the output terminal of the flip-flop, the circuit trace (or circuit extraction) ends. Next, a circuit trace (or circuit extraction) is performed in the output direction using the input terminal of the LSI or the output terminal of the flip-flop obtained at that time, and the output terminal of the LSI or the input terminal of the flip-flop is obtained.
Further, circuit extraction is performed in the input direction from the obtained output terminal or the input terminal of the flip-flop until reaching the input terminal of the LSI or the output terminal of the flip-flop to obtain a combinational circuit.

【0030】ここで回路トレースとは回路を抽出せず
に、接続関係を追跡することのみを表しており、回路抽
出とは回路トレースを行いながら追跡された部分を抜き
出して、部分回路とすることを表している。従って上記
の回路トレース及び回路抽出はLSIの入出力端子もし
くはフリップフロップの入出力端子に到達するまで、ト
レース(もしくは抽出)を行う。
Here, the circuit trace refers only to tracing the connection relationship without extracting a circuit, and the circuit extraction refers to extracting a traced portion while performing a circuit trace to form a partial circuit. Is represented. Therefore, the circuit trace and the circuit extraction are traced (or extracted) until reaching the input / output terminal of the LSI or the input / output terminal of the flip-flop.

【0031】これにより得られた組合せ回路の状態推定
は組合せ回路入力端子状態推定#1〜#3(手順2〜
4)があり、夫々求める条件が異なる。組合せ回路入力
端子状態推定#1(手順2)は図2(a)に示す様に組
合せ回路100内に故障が存在せず、故障信号が前段の
組合せ回路から伝搬していると仮定した時の入力端子推
定手順である。尚、101は入力ラッチ、102は出力
ラッチである。
The state estimation of the combinational circuit obtained in this way is based on the combinational circuit input terminal state estimations # 1 to # 3 (procedures 2 to 3).
4), and the required conditions are different. Combinational circuit input terminal state estimation # 1 (procedure 2) is based on the assumption that no failure exists in combinational circuit 100 and a failure signal is propagated from the preceding combinational circuit as shown in FIG. This is an input terminal estimation procedure. Note that 101 is an input latch, and 102 is an output latch.

【0032】組合せ回路入力端子状態推定#2,#3
(手順3,4)は、組合せ回路内に故障が存在すると仮
定した場合で、更にその故障推定数により2つに別れ
る。1つは組合せ回路入力端子状態推定#2であり、図
2(b)に示す様に組合せ回路内に故障が1箇所存在す
ると仮定した場合の推定故障箇所並びに組合せ回路入力
状態推定値を求める手順である。もう1つは組合せ回路
入力端子状態推定#3(手順4)であり、図2(c)に
示す様に組合せ回路内に故障が2箇所存在すると仮定し
た時の推定故障箇所並びに組合せ回路入力端子状態推定
値を求める手順である。
Combination circuit input terminal state estimation # 2, # 3
(Procedures 3 and 4) are based on the assumption that a fault exists in the combinational circuit, and are further divided into two according to the estimated number of faults. One is a combinational circuit input terminal state estimation # 2, which is a procedure for obtaining an estimated failure location and a combined circuit input state estimated value when it is assumed that one failure exists in the combinational circuit as shown in FIG. It is. The other is the combination circuit input terminal state estimation # 3 (procedure 4), which assumes the presence of two failures in the combination circuit and the combination circuit input terminal as shown in FIG. 2C. This is a procedure for obtaining a state estimation value.

【0033】手順2,手順3,手順4は探索木やBDD
(Binary Dicision Diagram) ,Transitive Closure Alg
orithm等の組合せ回路出力状態を満たす入力状態値を求
める手順である。探索木を例にとれば、仮定と含意操作
を繰り返すことにより出力状態値から入力の状態値を求
める。すなわち、故障出力端子から開始しゲートの入出
力端子毎にその故障状態値を満たす様な状態を仮定し、
その仮定に基づいて関連するゲートやパスの状態値を決
定するという操作を繰り返し、全体として矛盾が起こら
ない様に状態値を順次入力方向へと決定していき、組合
せ回路入力状態を求める。
Steps 2, 3, and 4 are performed using search trees or BDDs.
(Binary Dicision Diagram), Transitive Closure Alg
This is a procedure for obtaining an input state value that satisfies the combination circuit output state such as orithm. Taking a search tree as an example, an input state value is obtained from an output state value by repeating assumption and implication operations. In other words, starting from the fault output terminal, assuming a state that satisfies the fault state value for each input / output terminal of the gate,
The operation of determining the state values of the related gates and paths based on the assumption is repeated, and the state values are sequentially determined in the input direction so as not to cause inconsistency as a whole, thereby obtaining the combination circuit input state.

【0034】手順2,3,4夫々で求める条件の違いは
図2(a)〜(c)に示している。手順2では、仮定と
含意操作を繰り返す段階で全ての経路が矛盾なく仮定が
おけて組合せ回路入力端子に到達できる場合のみを抽出
し組合せ回路内故障伝搬経路を求め、1つの経路でも矛
盾を生じて仮定がおけず入力端子まで到達できない状態
値は破棄する。
FIGS. 2A to 2C show the differences between the conditions obtained in steps 2, 3 and 4. In the procedure 2, in the stage where the assumption and the implication operation are repeated, only when all the paths can reach the combinational circuit input terminal without any inconsistency can be extracted and the fault propagation path in the combinational circuit is obtained, and even one path causes inconsistency. Therefore, the state value that cannot be reached to the input terminal because it cannot be assumed is discarded.

【0035】手順3では、仮定をおく段階で矛盾を生じ
て仮定がおけず入力端子まで到達できない経路が1つの
みの場合を抽出し、その組合せ回路内故障伝搬経路と仮
定がおけなくなった経路(図2(b)の×から他の経路
に合流するまで)を求める。他の場合は破棄する。手順
4では、仮定をおく段階で矛盾が生じて仮定がおけず入
力端子まで到達できない経路が2つのみの場合を抽出
し、その組合せ回路内故障伝搬経路と仮定がおけなくな
った2つの経路(図2(c)の×から他の経路に合流す
るまで)を求める。他の場合は破棄する。
In the procedure 3, the case where only one path that cannot reach the input terminal due to inconsistency at the stage of making the assumption and cannot reach the input terminal is extracted. (From x in FIG. 2 (b) to merge with another route). Discard otherwise. In procedure 4, the case where only two paths cannot reach the input terminal due to inconsistency due to inconsistency at the stage of making the assumption is extracted, and the fault propagation path in the combinational circuit and the two paths (the assumption is no longer possible) 2 (c) until it joins another route). Discard otherwise.

【0036】上記手順2,3,4夫々は、結果として経
路が1つも求まらなかった場合、手順7の全故障候補点
抽出判定に移行する。従ってより分かりやすく書くと図
3に示すようなフローになる。この場合手順2〜4で求
まった全ての経路に対して手順6の新規故障候補点登録
を行い、経路が求まらなかった場合は新規故障候補点登
録もできず、そのまま後述する手順7の全故障候補点抽
出判定に移行することになる。
In each of the above procedures 2, 3 and 4, when no route is obtained as a result, the processing shifts to the extraction of all the failure candidate points in the procedure 7. Therefore, if written in a more understandable manner, the flow becomes as shown in FIG. In this case, new fault candidate point registration in step 6 is performed for all routes obtained in steps 2 to 4. If no route is obtained, new fault candidate point registration cannot be performed. The process shifts to all failure candidate point extraction determination.

【0037】経路が求まれば組合せ回路の入力側から故
障が伝搬してきているため、全候補点抽出は完了してい
ないと判断でき、後述する手順8の組合せ回路入力推定
ベクタ簡略化の手順を行い、フリップフロップを介して
接続されている更に前段の組合せ回路抽出を行う(st
art)。また、経路が求まらなかった場合その経路の
追跡は終わるが、まだLSIの故障出力全てに対して推
定が完了していなければ、完了していないLSI故障出
力端子から新たに組合せ回路抽出を行う。
If the path is found, the fault has propagated from the input side of the combinational circuit, so that it can be determined that the extraction of all candidate points has not been completed. Then, the combination circuit extraction of the preceding stage connected through the flip-flop is performed (st
art). If the path is not found, the path is traced. If the estimation has not been completed for all the failure outputs of the LSI, the combination circuit extraction is newly performed from the uncompleted LSI failure output terminal. Do.

【0038】組合せ回路入力端子状態推定#1〜#3の
各手順2〜4において特殊な例としては、組合せ回路入
力端子状態推定値が得られず、1箇所ないしは2箇所の
故障推定箇所のみ得られる場合がある。この場合は組合
せ回路出力端子状態を満たす入力状態があり得ず、前段
の組合せ回路から故障が伝搬してきていないことを表し
ている。
As a special example in each of the procedures 2 to 4 of the combination circuit input terminal state estimation # 1 to # 3, an estimated value of the combination circuit input terminal state cannot be obtained, and only one or two failure estimation positions are obtained. May be In this case, there is no input state that satisfies the combination circuit output terminal state, indicating that no fault has propagated from the preceding combination circuit.

【0039】組合せ回路入力端子状態推定#1で得られ
た入力推定ベクタを用いて簡略化の手順5でブール代数
の簡略化を行い、推定ベクタ数を削減する。この簡略化
の手順は図4に示す様に、先ず組合せ回路出力を満たす
入力状態推定値を調べることにより、その端子の状態値
が0でも1でもどちらでもいい値、すなわち組合せ回路
出力での故障に直接関与しない端子及び状態値を抽出し
ている。
The Boolean algebra is simplified in the simplification procedure 5 using the input estimation vector obtained in the combinational circuit input terminal state estimation # 1 to reduce the number of estimated vectors. In this simplification procedure, as shown in FIG. 4, first, an input state estimation value that satisfies the combinational circuit output is checked to determine whether the terminal state value is 0 or 1, whichever value, that is, a fault at the combinational circuit output. And terminals and status values that are not directly related to are extracted.

【0040】図4中破線で囲まれた各ベクタは、破線で
囲まれた端子を除き状態値は一致している。この様に値
の異なる端子を抽出し、1端子であれば0/1,2端子
であれば、00/01/10/11の4つの全ての状態
値を含んでいる場合にはそれらの端子状態値を“X”に
置き換える。図3では破線で囲まれた部分が簡略化で
“X”になる部分であり、各々4つの入力推定ベクタが
1つの“X”を含んだベクタにまとめられていることを
表している。
In FIG. 4, each vector surrounded by a broken line has the same state value except for a terminal surrounded by a broken line. In this way, terminals having different values are extracted, and if all the four status values of 00/1, 01/11 and 00/01/11 are included for one terminal, those terminals are included. Replace the status value with "X". In FIG. 3, a portion surrounded by a broken line is a portion that becomes “X” by simplification, and indicates that four input estimation vectors are combined into one vector including one “X”.

【0041】更に詳述すると、図4中の右の4つのベク
タ(0100101001,0100100001,0100101101,0100100101)
は、破線で囲まれた端子を除き状態値は一致している。
この様に値の異なる端子を抽出し、1端子であれば0/
1,2端子であれば、00/01/10/11の4つの
全ての状態値を含んでいる場合にはそれらの端子状態値
を“X”に置き換える。従って、この4つのベクタの場
合簡略化を行うと、(010010XX01)となる。
More specifically, the right four vectors in FIG. 4 (0100101001, 0100100001, 0100101101, 0100100101)
Have the same state values except for the terminal surrounded by the broken line.
As described above, terminals having different values are extracted.
In the case of 1 and 2 terminals, if all four status values of 00/01/10/11 are included, those terminal status values are replaced with “X”. Therefore, in the case of the four vectors, simplification results in (010010XX01).

【0042】同様に左の4つのベクタ(0100100001,0100
100000,0100100010,0100100011) の場合も簡略化により
01001000XXとなる。図4では破線で囲まれた部分が簡略
化で“X”になる部分であり、各々4つの入力推定ベク
タが1つの“X”を含んだベクタにまとめられているこ
とを表している。
Similarly, the four left vectors (0100100001,0100
100000,0100100010,0100100011)
01001000XX. In FIG. 4, a portion surrounded by a broken line is a portion which becomes “X” by simplification, and indicates that four input estimation vectors are combined into a vector including one “X”.

【0043】簡略化の手順は図4に示す様に、先ず組合
せ回路出力を満たす入力状態推定値を調べることによ
り、その端子の状態値が0でも1でもどちらでもいい
値、すなわち組合せ回路出力での故障に直接関与しない
端子及び状態値を抽出している。“X”に置き換えたと
ころがその部分であり、他の共通なところは状態が0も
しくは1に決定されていることを示している。この簡略
化操作で入力推定ベクタ数は大幅に削減できる。また、
組合せ回路入力端子推定#2,#3で得られた故障推定
箇所を新規抽出故障候補点登録の手順6で登録する。手
順7では前記故障候補点抽出が全てのベクタに対して行
われたかどうかを判定し、かつ前記特殊な例としてあげ
た様にそれ以上前段からの推定故障伝搬入力端子が得ら
れず、かつ全てのテストベクタに対して手順1〜6,8
の推定が完了していれば手順9の故障候補点場所一致判
定に移行する。
As shown in FIG. 4, the simplification procedure is as follows. First, an input state estimated value that satisfies the combinational circuit output is examined to determine whether the terminal state value is either 0 or 1, that is, the combinational circuit output. The terminal and the state value which are not directly involved in the failure are extracted. The part replaced by "X" is that part, and the other common parts indicate that the state is determined to be 0 or 1. This simplification operation can greatly reduce the number of input estimation vectors. Also,
The estimated fault location obtained by the combinational circuit input terminal estimation # 2, # 3 is registered in the procedure 6 of the newly extracted fault candidate point registration. In step 7, it is determined whether or not the fault candidate point extraction has been performed for all the vectors, and as described in the special example, no more estimated fault propagation input terminals from the preceding stage can be obtained, and Steps 1 to 6, 8 for the test vector
If the estimation has been completed, the process proceeds to the failure candidate point location coincidence determination in step 9.

【0044】もし、前段からの推定故障伝搬入力端子が
得られないが、全てのテストベクタに対しての推定が完
了していなければ、推定の行われていないテストベクタ
に対して手順1からの操作を繰り返す。
If the estimated fault propagation input terminal from the preceding stage cannot be obtained, but the estimation has not been completed for all the test vectors, the procedure from step 1 is performed for the test vector for which the estimation has not been performed. Repeat the operation.

【0045】前段からの推定故障伝搬端子が得られた場
合には、手順8の組合せ回路入力推定入力ベクタ簡略化
の手順で当該推定入力ベクタを削減し、前段からの故障
伝搬端子を抽出して、更に手順1の組合せ回路抽出手順
で前段の組合せ回路へと溯る。手順7で故障候補点抽出
が完了した場合には、手順9の故障候補点場所一致判定
で手順6で得られた全ての推定故障候補の場所的な一致
判定を行う。この一致判定は、手順6で登録された故障
候補点リストの中に何回か出現しているかどうかを場所
毎(ゲート毎またはパス毎)に比較検出する操作を行
う。
If the estimated fault propagation terminal from the previous stage is obtained, the estimated input vector is reduced by the procedure of the combination circuit input estimated input vector simplification procedure of step 8, and the fault propagation terminal from the previous stage is extracted. Then, the procedure goes back to the preceding combination circuit in the combination circuit extraction procedure of procedure 1. When the extraction of the fault candidate points is completed in step 7, the location match determination of all the estimated fault candidates obtained in step 6 is performed in the failure candidate point location match determination in step 9. In this coincidence determination, an operation is performed to compare and detect, for each location (for each gate or each pass), whether or not it appears several times in the failure candidate point list registered in the procedure 6.

【0046】手順10の重み付けと抽出により、故障候
補点毎にその出現頻度を求めその重み付けを行い、その
重みの大きい順に抽出を行うことにより故障推定リスト
を作成する。この手順10では、手順9で比較検出され
た同一箇所の出現頻度をとり、出現頻度の大きいものか
ら順にソートする。すなわち、各組合せ回路毎の推定に
おいて抽出された推定故障伝搬経路並びに推定故障箇所
の中で、真の故障もしくは伝搬経路はその出現頻度が多
くなることを用いている。なぜなら、単一の縮退故障,
オープン故障,short 故障を想定した場合、どの故障出
力の推定結果の中にも真の故障はその中の1結果として
必ず含まれるだろうからである。
By the weighting and extraction in step 10, the frequency of appearance is determined for each candidate fault point, the weight is calculated, and the fault estimation list is created by extracting the weight in descending order of the weight. In step 10, the frequency of appearance of the same portion compared and detected in step 9 is obtained and sorted in descending order of appearance frequency. That is, among the estimated fault propagation paths and the estimated fault locations extracted in the estimation for each combinational circuit, the fact that the frequency of appearance of the true fault or the propagation path increases is used. Because a single stuck-at fault,
This is because, assuming an open fault and a short fault, a true fault will always be included as one of the results of estimation of any fault output.

【0047】組合せ回路入力端子状態推定ベクタ#1〜
#3の各手順2〜4で、組合せ回路入力端子状態推定を
行い、最終的に故障推定箇所抽出を行う手順の代わり
に、各組合せ回路内での故障推定箇所並びに故障伝搬経
路を推定する手段として、図5〜図7の各フローに従っ
て行うことも可能である。
Combinational circuit input terminal state estimation vectors # 1 to # 1
Means for estimating a fault estimated location and a fault propagation path in each combinational circuit in place of the procedure for estimating the state of the input terminal of the combinational circuit and finally extracting the location of the estimated failure in the procedures 2 to 4 of # 3 It is also possible to carry out according to each flow of FIGS.

【0048】図5は組合せ回路内に故障が存在しないと
仮定した場合の故障伝搬経路並びに組合せ回路入力端子
状態推定を行う手順を示したフローである。組合せ回路
全出力状態を用い(手順11)、ノード状態推定手順1
2によりゲート毎に状態推定を行う。手順11では、組
合せ回路の全出力端子に対して状態値を設定する。故障
出力もしくは故障が伝搬していると推定された端子に対
してはその故障状態値を設定し、正常端子もしくは正常
な状態が伝搬してきていると推定された端子には期待値
を設定する。また、故障状態が伝搬してきているか正常
な値が伝搬してきているか不明な端子(すなわちLSI
出力端子への故障伝搬に直接寄与していない“0”,
“1”どちらでもいい端子)に対しては不定の“X”を
設定する。この操作が初期設定11である。
FIG. 5 is a flowchart showing a procedure for estimating a fault propagation path and a state of an input terminal of a combination circuit when it is assumed that no failure exists in the combination circuit. Node state estimation procedure 1 using all output states of the combinational circuit (procedure 11)
2, the state is estimated for each gate. In step 11, state values are set for all output terminals of the combinational circuit. A failure state value is set for a fault output or a terminal estimated to have propagated a fault, and an expected value is set to a normal terminal or a terminal estimated to be propagated a normal state. In addition, it is unknown whether a fault state has propagated or a normal value has propagated.
"0" which does not directly contribute to fault propagation to the output terminal,
An undefined “X” is set for “1” terminal. This operation is the initial setting 11.

【0049】そして、手順13にて期待値との状態比較
を行い、期待値との差があるかどうかを判定し、期待値
と差がある場合には、手順14で推定伝搬経路としての
そのノードを登録する。推定状態が期待値と一致してい
る場合には、他のノードを期待値と比較し期待値と異な
っているノードを検索する。
Then, in step 13, the state is compared with the expected value, and it is determined whether there is a difference from the expected value. Register a node. If the estimated state matches the expected value, another node is compared with the expected value, and a node different from the expected value is searched.

【0050】更に期待値と異なっているノードを溯り、
組合せ回路入力端子からの伝搬経路並びに組合せ回路故
障伝搬端子を抽出する。図6はこの伝搬経路を推定する
操作を各ノード毎に期待値との比較で求めるのではな
く、先に組合せ回路入力端子状態値の推定(手順17)
を行う。当該得られた組合せ回路入力端子の状態推定値
を用いて論理シミュレーション(手順18)を行い、各
ノード状態値を求める。更に手順19で、ノード毎に期
待値との差を求め、期待値と異なっている場合は手順2
0にて推定伝搬経路として登録する。
Further, going back to the node different from the expected value,
The propagation path from the combination circuit input terminal and the combination circuit fault propagation terminal are extracted. FIG. 6 does not calculate the operation for estimating the propagation path by comparing with the expected value for each node, but first estimates the state value of the input terminal of the combinational circuit (step 17).
I do. A logic simulation (step 18) is performed using the obtained estimated state value of the input terminal of the combinational circuit to obtain a state value of each node. Further, in step 19, the difference from the expected value is calculated for each node.
At 0, it is registered as an estimated propagation path.

【0051】図7,8は組合せ回路内部に故障が存在す
ることを想定した場合の故障箇所並びに故障伝搬経路の
推定手順である。図7は、図5と同様に、組合せ回路内
の状態推定時に同時に故障箇所推定並びに故障伝搬経路
推定を行う手法である。図8は、図6と同様に、組合せ
回路入力状態推定を行った後、論理シミュレーションに
より求める手法である。
FIGS. 7 and 8 show a procedure for estimating a fault location and a fault propagation path on the assumption that a fault exists inside the combinational circuit. FIG. 7 shows a method of estimating a fault location and estimating a fault propagation path at the same time as estimating a state in a combinational circuit, similarly to FIG. FIG. 8 shows a method of estimating the input state of the combinational circuit and then obtaining the result by logic simulation, similarly to FIG.

【0052】図7において、先ず手順21で組合せ回路
の出力端子で状態が推定されている端子並びに確定され
ている端子を初期設定し、この手順21で設定された状
態値をもとに、手順22で図1の手順2〜4と同様に各
ノード状態値の推定を行う。尚、図7の手順21も上記
手順11,手順16と同様に組合せ回路の出力端子で状
態が推定されている端子並びに確定されている端子にそ
の状態値を初期設定する。すなわち正常状態/故障状態
のいかんに関わらず、状態が定まっているところにその
状態値を設定し、状態値が不定な端子は不定として扱
う。
In FIG. 7, first, in step 21, the terminal whose state is estimated and the terminal whose state is determined at the output terminal of the combinational circuit are initialized, and the procedure is performed based on the state value set in this step 21. At 22, the estimation of each node state value is performed in the same manner as in the procedures 2 to 4 of FIG. In step 21 of FIG. 7, as in steps 11 and 16, the state values are initialized for the terminals whose states are estimated and determined at the output terminals of the combinational circuit. That is, regardless of the normal state / failure state, the state value is set where the state is determined, and the terminal whose state value is undefined is treated as undefined.

【0053】手順23では、このノード状態推定手順2
2で推定値が得られたかを判定し、得られた場合には手
順25を、推定値が得られない場合には手順24を実行
する。推定値が得られない場合はそれ以上前のノードに
溯ることができないことを意味しており、入力状態の推
定をしようとしているゲートの入力端子が既に他のネッ
トからの推定で決定されており、出力を満たす状態が得
られない場合等がある。この様な時は故障伝搬経路の推
定は組合せ回路入力端子に到達できず、組合せ回路内部
の故障となる。この様子を示したのが図9(a)であ
る。
In step 23, this node state estimation procedure 2
In step 2, it is determined whether an estimated value has been obtained. If the estimated value has been obtained, step 25 is performed. If the estimated value has not been obtained, step 24 is executed. If the estimated value cannot be obtained, it means that it is not possible to go back to the previous node, and the input terminal of the gate whose input state is to be estimated has already been determined by estimation from another net. In some cases, a state satisfying the output cannot be obtained. In such a case, the failure propagation path cannot reach the combinational circuit input terminal, resulting in a failure inside the combinational circuit. FIG. 9A shows this state.

【0054】出力の故障端子からノード状態の推定を行
い、組合せ回路入力端子まで推定ができるものは推定故
障伝搬経路であり、入力端子に達し得ず、組合せ回路内
で推定が止まる場合が推定故障箇所となる。推定故障箇
所としては図9(a)中推定故障伝搬経路から分岐し、
推定が不可能となり止まった点までの経路を指す。手順
23でノード状態が推定できた場合は、手順25で期待
値との状態比較を行い、期待値と異なっていた場合は手
順26で一時的に故障で伝搬経路として経路蓄積をして
おく。これはこの時点では推定された経路が前段の組合
せ回路からの故障伝搬経路か組合せ回路内の故障箇所な
のかを判定できず、次のノード推定を行った時に推定状
態値があるかどうかでどちらか決定できるため、一時的
に貯えておく必要があるからである。
A node that can estimate a node state from an output failure terminal and can estimate the node state up to the input terminal of the combinational circuit is an estimated failure propagation path, which cannot reach the input terminal and stops estimation in the combinational circuit. Location. The estimated fault location branches off from the estimated fault propagation path in FIG.
It indicates the route to the point where estimation is impossible and it stops. If the node state can be estimated in step 23, the state is compared with the expected value in step 25, and if it is different from the expected value, the path is temporarily stored as a propagation path due to a failure in step 26. This is because at this time, it is not possible to determine whether the estimated path is a fault propagation path from the preceding combinational circuit or a failure point in the combinational circuit, and it depends on whether there is an estimated state value when the next node estimation is performed. Because it can be determined, it is necessary to temporarily store it.

【0055】また、手順23でノード状態が推定できな
い場合は組合せ回路内に故障箇所が存在する場合であ
り、手順24で組合せ回路内に既に推定された故障箇所
の数と手順23で新規に得られた推定故障箇所とを調べ
て故障想定数が1もしくは2であることを確認する。も
しここで、組合せ回路内の推定故障箇所数が2を超えて
いた場合には、前記の得られた推定が現実に合わないた
め手順26で蓄積した経路を削除し、同条件下で既に得
られている組合せ回路入力端子状態推定値も同理由で削
除する。手順24で故障想定数が2以下の場合には推定
が現実にあり得るため、手順26で蓄積された経路を推
定故障箇所として登録する(手順27)。組合せ回路内
各ノード状態推定が行われ、出力端子の故障状態が組合
せ回路入力端子に達するか、またその時の組合せ回路内
の故障想定数として2以下かどうかを判定し、条件を満
足していれば推定が正しいとして、手順26で蓄積した
経路を手順30で推定故障伝搬経路として登録を行う。
If the node state cannot be estimated in step 23, it means that there is a fault in the combinational circuit. The number of faults already estimated in step 24 in the combinational circuit and the number of faults newly obtained in step 23 are obtained. By checking the estimated failure location, it is confirmed that the assumed failure number is 1 or 2. If the estimated number of failure points in the combinational circuit exceeds two, the path obtained in step 26 is deleted because the above obtained estimation does not actually match, and the obtained path is already obtained under the same conditions. The combined circuit input terminal state estimated value is also deleted for the same reason. If the estimated number of faults is 2 or less in step 24, the estimation can actually be performed, so the path accumulated in step 26 is registered as an estimated fault location (step 27). The state of each node in the combinational circuit is estimated, and it is determined whether the failure state of the output terminal reaches the input terminal of the combinational circuit and whether the estimated number of failures in the combinational circuit at that time is 2 or less, and the condition is satisfied. If the estimation is correct, the route accumulated in step 26 is registered as an estimated fault propagation route in step 30.

【0056】図8は論理シミュレーションを用いる手法
であり、図9(b)に示す様に故障となる出力端子の状
態を満たす入力状態値を求め、論理シミュレーションに
より故障伝搬経路を求めておき、故障とならない出力端
子に故障出力が伝搬する経路を削除することにより推定
故障箇所並びに推定故障伝搬経路を抽出するものであ
る。図9(b)中、斜線の部分が削除された経路であ
る。実際の処理としては、先ず手順31で、組合せ回路
の出力端子で状態が推定されている端子並びに確定され
ている端子のうち故障であると推定されている端子並び
にその状態値のみを初期設定する。
FIG. 8 shows a method using logic simulation. As shown in FIG. 9 (b), an input state value satisfying the state of the output terminal that becomes faulty is obtained, and a fault propagation path is obtained by logic simulation. An estimated fault location and an estimated fault propagation path are extracted by deleting a path through which a fault output propagates to an output terminal that does not become an error. In FIG. 9 (b), the hatched portion is the deleted path. As the actual processing, first, in step 31, only the terminal whose output terminal of the combinational circuit is in the estimated state and the terminal which is determined to be faulty among the determined terminals and the state value thereof are initially set. .

【0057】更に手順32で、この初期設定された状態
値を基に組合せ回路入力端子の状態値推定を行い、手順
33で、手順32にて得られた組合せ回路入力端子の状
態値を用い組合せ回路の論理シミュレーションを行う。
手順34では、この得られた組合せ回路内ノード状態値
と期待値とを比較し、手順35で、組合せ回路入力端子
から出力端子へ伝搬する故障伝搬経路を全て抽出する。
Further, in step 32, the state value of the combinational circuit input terminal is estimated based on the initially set state value, and in step 33, the combinational state is obtained using the state value of the combinational circuit input terminal obtained in step 32. Perform a logic simulation of the circuit.
In step 34, the obtained node state value in the combinational circuit is compared with the expected value, and in step 35, all the fault propagation paths propagating from the input terminal of the combinational circuit to the output terminal are extracted.

【0058】手順36では、得られた推定故障伝搬経路
のうち手順31で設定した故障出力端子以外に故障が伝
搬している不正出力端子を抽出する。手順37で、組合
せ回路入力端子から不正出力端子への伝搬経路だけでな
く、故障出力端子への伝搬経路と不正出力端子への伝搬
経路の交差するノードから入力方向への全ての伝搬経路
を抽出し、手順38で、この経路を削除する。これは交
差ノードを含めてそのノードに故障状態が現れると出力
の正常と推定されるノードも必ず故障が現れる、すなわ
ちそのノードから出力端子への活性化経路が存在してい
るためで、初期設定した出力端子を満足できなくなるか
らである。
In step 36, an illegal output terminal to which a fault has propagated other than the fault output terminal set in step 31 is extracted from the obtained estimated fault propagation paths. In step 37, not only the propagation path from the combinational circuit input terminal to the illegal output terminal but also all the propagation paths in the input direction from the node where the propagation path to the faulty output terminal and the propagation path to the illegal output terminal intersect are extracted. Then, in step 38, this route is deleted. This is because if a fault condition appears at that node, including the crossing node, the node whose output is assumed to be normal always fails, that is, there is an activation path from that node to the output terminal. This is because the output terminal cannot be satisfied.

【0059】手順39で、手順38にて得られた伝搬経
路を組合せ回路入力端子まで達している経路を推定故障
伝搬経路とし、また入力端子まで達し得ない経路を推定
故障箇所として登録を行う。この図5,7もしくは図
6,8の各処理により求められた故障推定箇所並びに故
障伝搬経路を用いて順序回路全体の故障推定を行う。
In step 39, the propagation path obtained in step 38 is registered as the estimated failure propagation path reaching the input terminal of the combinational circuit, and the path that cannot reach the input terminal is registered as the estimated failure point. The fault estimation of the entire sequential circuit is performed by using the fault estimation location and the fault propagation path obtained by the processing of FIG. 5, 7 or 6 or 8.

【0060】第2の実施例としては図10に示す故障推
定手法のフローチャートについて説明する。手順40〜
43は図1の手順1〜4と同様であり、故障出力端子か
ら組合せ回路抽出後、組合せ回路内に故障が存在する場
合と存在しない場合とで故障推定を行う手順である。組
合せ回路入力端子状態推定#1〜#3(手順41〜4
3)は図5〜図8で示した手法を用いて組合せ回路内故
障伝搬経路並びに故障箇所の推定を行うものとする。
As a second embodiment, a flowchart of the fault estimating method shown in FIG. 10 will be described. Step 40-
43 is a procedure similar to procedures 1 to 4 in FIG. 1, in which a fault is estimated based on whether or not a fault exists in the combination circuit after extracting the combination circuit from the fault output terminal. Combination circuit input terminal state estimation # 1 to # 3 (procedures 41 to 4)
In 3), the fault propagation path in the combinational circuit and the fault location are estimated using the method shown in FIGS.

【0061】手順44では、組合せ回路入力推定ベクタ
の簡略化を行い、更に手順45で、経路選択を行う。こ
の経路選択手順45は組合せ回路入力端子状態推定毎に
得られた状態値を大幅に削減することが可能な手段であ
る。
In step 44, the combinational circuit input estimation vector is simplified, and in step 45, path selection is performed. This route selection procedure 45 is means capable of greatly reducing the state value obtained for each combination circuit input terminal state estimation.

【0062】この手順45は手順44の簡略化の後、更
に推定追跡経路を削減するために行う。簡略化手順では
ブール代数の簡略化を行っているため、簡略化できない
推定ベクタはそのまま残ってしまい、結果として追跡す
る推定ベクタが多くなってしまう可能性がある。しかし
ながら、故障を単一の縮退故障,オープン故障,short
故障と想定した場合、どの故障伝搬経路を追跡しても真
の故障に到達するはずであるから、故障伝搬端子(及び
状態)の共通しているベクタをまとめて経路選択するこ
とにより、より追跡する推定ベクタ数を削減することが
可能となる(推定ベクタ毎に夫々追跡する必要があるた
め)。
This procedure 45 is performed after the simplification of the procedure 44 to further reduce the estimated tracking path. In the simplification procedure, since the Boolean algebra is simplified, the estimation vectors that cannot be simplified remain as they are, and as a result, the number of estimation vectors to be tracked may increase. However, failures can be broken down into single stuck-at faults, open faults, short
If a fault is assumed, a true fault should be reached no matter which fault propagation path is traced. Therefore, by tracing together a vector having a common fault propagation terminal (and state), the path is further tracked. It is possible to reduce the number of estimated vectors to be performed (because it is necessary to track each estimated vector).

【0063】また、本手順45は故障伝搬経路は真の故
障箇所に必ずつながっており、どの故障伝搬経路を追跡
しても真の故障箇所に辿り着くことを用いており、その
伝搬経路を溯る上での選択手法は、図11〜図14に示
す様に4つの方法がある。図11に示す経路推定手法で
は、組合せ回路入力端子での推定結果である入力状態推
定値から各ベクタ毎にfailの端子を抽出し、fai
lが含まれる端子毎に簡略化で得られた推定入力ベクタ
を分類し、分類された推定ベクタ毎に0/1/Y/Q/
Dの状態で表している。
Also, this procedure 45 uses the fact that the fault propagation path is always connected to the true fault location, and that even if any fault propagation path is traced, the true fault location is reached, and the propagation path is traced back. There are four selection methods as shown in FIGS. In the path estimation method shown in FIG. 11, a terminal of “fail” is extracted for each vector from an input state estimated value that is an estimation result at an input terminal of a combinational circuit.
The estimated input vector obtained by simplification is classified for each terminal including l, and 0/1 / Y / Q /
This is represented by the state of D.

【0064】“0”は期待値“0”、推定値“0”でか
つ分類された推定ベクタ全てで同一の値“0”である状
態を示し、同様に“1”は期待値“1”、推定値“1”
でかつ分類された推定ベクタ全てで同一の値“1”であ
る状態を示している。また“Y”は期待値“0”、推定
値“1”でかつ分類された推定ベクタ全てで同一の値
“1”であることを示し、“Q”は期待値“1”、推定
値“0”でかつ分類された推定ベクタ全てで同一の値
“0”であることを示している。“D”は期待値
“0“、“1”どちらもいいが、推定値も推定ベクタで
共通しておらず、ベクタにより“0”、“1”双方が存
在する状態を示している。
"0" indicates a state where the expected value is "0", the estimated value is "0", and the same value is "0" in all of the classified estimated vectors. Similarly, "1" indicates the expected value "1". , The estimated value “1”
And the same value “1” is shown in all the estimated vectors that have been classified. “Y” indicates the expected value “0”, the estimated value “1”, and the same value “1” in all of the classified estimation vectors, and “Q” indicates the expected value “1” and the estimated value “ 0 "and the same value" 0 "in all of the classified estimation vectors. “D” indicates that both the expected values “0” and “1” are good, but the estimated values are not common to the estimation vectors, and both “0” and “1” are present depending on the vectors.

【0065】図11中Fail1〜6は破線で囲まれた夫々
のfail端子毎に推定入力ベクタを分類し、その分類され
たベクタから前記手順で推定値をまとめたものである。
この図11の経路選択手法では、故障伝搬経路全てを網
羅するために故障の現れた端子全てについて経路の選
択、まとめる操作を行ったもので、同一ベクタがいくつ
かの経路選択後のベクタに含まれることになる。本経路
選択手法により、簡略化で得られた推定ベクタが最大で
も組合せ回路入力端子数のベクタ数に削減できる。
In FIG. 11, Fail1 to Fail6 classify the estimated input vector for each fail terminal surrounded by a broken line, and summarize the estimated values from the classified vector by the above procedure.
In the route selection method shown in FIG. 11, in order to cover all the fault propagation routes, a route selection and a collective operation are performed for all the failed terminals, and the same vector is included in some vectors after the route selection. Will be. According to this route selection method, the estimated vector obtained by the simplification can be reduced to the number of input terminals of the combinational circuit at the maximum.

【0066】図12は図11と同様に、組合せ回路入力
端子での推定結果である入力状態推定値から各ベクタ毎
にfailの端子を抽出し、failが含まれる端子毎に簡略化
で得られた推定入力ベクタを分類し、0/1/Y/Q/
Dの状態で推定ベクタをまとめ、経路選択する手法であ
る。この場合、全てのfail端子で分類するのではなく、
全ての簡略された推定ベクタを順次分類する上で全ての
ベクタを網羅するまで、分類を繰り返すものである。
FIG. 12 shows, similarly to FIG. 11, a terminal of fail for each vector extracted from the input state estimated value as an estimation result at the input terminal of the combinational circuit, and obtained for each terminal including fail in a simplified manner. The estimated input vector is classified into 0/1 / Y / Q /
This is a method of collecting the estimated vectors in the state of D and selecting a route. In this case, instead of classifying all fail terminals,
In order to sequentially classify all the simplified estimated vectors, the classification is repeated until all the vectors are covered.

【0067】図12では、先ずFail1の端子で分類を行
い、次にFail2の端子で分類している様子を示してい
る。Fail2の分類を行った時点で入力推定ベクタは全て
網羅され、選択された経路を追跡することにより故障箇
所に到達することが可能なため、これ以上の分類は行わ
ない。この時Fail1で分類されたベクタはFail3,Fail
4,Fail5,Fail6を含み、またFail2はFail3,Fail
6のベクタを含むことになる。まとめるFail端子の順は
特に規定せず、任意の順番とする。この手法では推定ベ
クタ数が必ず組合せ回路入力端子数以下になるため、推
定入力ベクタも大幅に削減できる。
FIG. 12 shows that classification is first performed at the terminal of Fail1, and then classification is performed at the terminal of Fail2. When the classification of Fail 2 is performed, the input estimation vectors are all covered, and the failure location can be reached by tracing the selected route, so that no further classification is performed. At this time, the vectors classified as Fail1 are Fail3, Fail
Includes Fail3, Fail5, Fail6 and Fail2
6 vectors. The order of the Fail terminals to be collected is not particularly defined, and is arbitrary. In this method, since the number of estimated vectors is always equal to or less than the number of input terminals of the combinational circuit, the number of estimated input vectors can be significantly reduced.

【0068】図13の経路選択手法も図14と同様であ
り、入力状態推定ベクタ毎にfailの端子を抽出し、fail
が含まれる端子毎に簡略化で得られた推定入力ベクタを
分類し、0/1/Y/Q/Dの状態で推定ベクタをまと
めて経路選択するが、図12ではFail端子をまとめ
る順番は任意であった。この経路選択手法では、各Fail
端子毎に全ての推定入力ベクタを通じて、Failの出現頻
度を求め、出現頻度の多いFail端子から順にベクタを分
類しまとめ、全ての推定入力ベクタが網羅されるまで分
類を行うものである。
The route selection method of FIG. 13 is the same as that of FIG. 14, and extracts the terminal of “fail” for each input state estimation vector.
Are classified and the estimated input vectors obtained by simplification are classified for each terminal, and the estimated vectors are collectively routed in the state of 0/1 / Y / Q / D. In FIG. Was optional. In this route selection method, each Fail
The frequency of occurrence of Fail is obtained through all the estimated input vectors for each terminal, the vectors are classified in order from the Fail terminal having the highest frequency of occurrence, and the classification is performed until all the estimated input vectors are covered.

【0069】図13では、Fail1〜6各々のFail端子の
出現頻度は8,3,3,2,2,5となっており、分類
する順番はFail1,Fail6,Fail2もしくはFail3,Fa
il4もしくはFail5となる。この図の例では、先ずFail
1の端子による分類を行い、次にFail6の端子で分類を
行った段階で全ての入力推定ベクタを網羅するため、こ
れ以上の分類は行っていない。この時Fail1で分類され
たベクタはFail2,Fail3,Fail4,Fail5を含み、ま
たFail6はFail2,Fail3,Fail5のベクタを含むこと
になる。この経路選択手法では、各Fail端子毎に出力頻
度を計算し出力頻度の多いFail端子から順に分類するた
めに、簡略化で得られた推定ベクタの状態値がまとまり
やすく、分類後の推定ベクタ数がより削減できる可能性
が大きい。
In FIG. 13, the appearance frequencies of the Fail terminals of Fail 1 to Fail 6 are 8, 3, 3, 2, 2, and 5, respectively, and the order of classification is Fail 1, Fail 6, Fail 2, or Fail 3, Fa.
It becomes il4 or Fail5. In the example of this figure, Fail
No further classification is performed to cover all the input estimation vectors at the stage where the classification is performed by the terminal of No. 1 and then the classification is performed by the terminal of Fail 6. At this time, the vectors classified by Fail1 include Fail2, Fail3, Fail4, and Fail5, and Fail6 includes the vectors of Fail2, Fail3, and Fail5. In this route selection method, the output frequency is calculated for each Fail terminal, and the classification is performed in order from the Fail terminal with the highest output frequency. Is more likely to be reduced.

【0070】この各Fail毎の出現頻度は始めに求めた出
現頻度を各分類毎に用いる場合と、各分類毎にまだ分類
されていないFail端子の出現頻度を再度求め直して用い
る場合とが挙げられる。前者は手順として簡単であり、
後者はより少ないベクタ数でまとめやすくなるというメ
リットがある。
The appearance frequency for each Fail is classified into a case where the appearance frequency obtained first is used for each classification, and a case where the appearance frequency of the Fail terminal which has not been classified for each classification is obtained again and used. Can be The former is a simple procedure,
The latter has the advantage that it is easier to combine with a smaller number of vectors.

【0071】図14は図11〜13の経路選択手法の様
にFail端子選択数を1に固定するのではなく、出現頻度
を計算した後、頻度の多いFail端子から順に複数端子ず
つ抽出しまとめていく手順である。図14では、2端子
ずつ抽出し全ての推定入力ベクタを網羅するまでまとめ
ている場合を示している。
FIG. 14 does not fix the number of Fail terminal selections to 1 as in the route selection method of FIGS. 11 to 13, but calculates the appearance frequency, and then extracts and summarizes a plurality of Fail terminals in descending order of frequency. It is a procedure to go. FIG. 14 shows a case where two input terminals are extracted and collected until all the estimated input vectors are covered.

【0072】この手法では複数端子で共通な推定入力ベ
クタをまとめているため、図にも示す様に、Fail1&
6,Fail1&4,Fail1&5,Fail2&6,Fail1&3
の5ベクタになり、結果的には推定ベクタ数は図12,
13の各手法より多くなるが、各Fail端子毎にまとめら
れた推定ベクタは故障を含む端子“D”が少なく、値が
確定する端子がより多くなる。
In this method, since common estimation input vectors are collected for a plurality of terminals, as shown in FIG.
6, Fail1 & 4, Fail1 & 5, Fail2 & 6, Fail1 & 3
, Resulting in the estimated number of vectors shown in FIG.
Although the number is larger than that of each of the thirteen methods, the estimated vector compiled for each Fail terminal has fewer terminals “D” including a fault, and has more terminals whose values are determined.

【0073】この図14の経路選択手法の他の手法とし
ては、出現頻度から予め決めた閾値を基にFail端子を抽
出し分類する手法,予め決めた閾値以上の出現頻度を持
つ複数のFail端子を抽出し分類し、この分類により閾値
以下になった場合には決められた端子数でFail端子を抽
出し分類することにより、組合せ回路入力端子の状態推
定ベクタをまとめて経路選択する手法等がある。
As another method of the route selection method shown in FIG. 14, a method of extracting and classifying Fail terminals based on a threshold determined in advance from the frequency of appearance, a method of extracting a plurality of Fail terminals having an appearance frequency equal to or higher than a predetermined threshold is used. Extracting and classifying the Fail terminals with the determined number of terminals when the classification is below the threshold by this classification, and classifying the state estimation vectors of the combinational circuit input terminals collectively, the route selection method etc. is there.

【0074】上記した図11〜図14の経路選択手法に
おいて、0/1/Y/Q/Dの状態値を用いて説明を行
ったが、請求項の中で述べた様に、故障を含む端子状態
を更に詳しく分類した状態値(例えばM/N)を用いて
表すことにより同等の機能を実現できる。
In the above-described route selection method shown in FIGS. 11 to 14, the description has been made using the state values of 0/1 / Y / Q / D. An equivalent function can be realized by expressing the terminal state using a state value (for example, M / N) that is classified in more detail.

【0075】この場合は“M”を期待値“0”、推定値
は推定ベクタで共通しておらず、ベクタにより“0”、
“1”双方が存在する状態とし、“N”は期待値
“1”、推定値は推定ベクタで共通しておらず、ベクタ
により“0”、“1”双方が存在する状態を示すものと
する。状態値“D”を用いる場合と比較し、M/Nを用
いる場合は期待値の0/1が判定できるメリットがあ
る。但し、期待値を調べることによりDでもfail状態は
判定できるため、同様の効果がある。
In this case, “M” is the expected value “0”, and the estimated value is not common to the estimation vectors.
It is assumed that both “1” are present, “N” is the expected value “1”, the estimated value is not common to the estimation vectors, and the vector indicates the state where both “0” and “1” are present. I do. Compared to the case where the state value “D” is used, the use of M / N has an advantage that the expected value 0/1 can be determined. However, by examining the expected value, the failure state can be determined even for D, so that the same effect is obtained.

【0076】また簡略化によりdon't care“X”が含ま
れる結果を用いて経路選択する場合も同様であるが、組
合せ回路入力端子状態値が“0”でも“1”でもいい
“X”状態と、他の0/1/Y/Q/D状態とが、同一
端子で存在する場合は、“D”に置き換える。これは
“X”が0/1どちらでもいい状態を表しているのに対
し、他の状態は0/1どちらかの状態を示しているの
で、結果としては“D”にする必要があるためである。
The same applies to the case where the route is selected using the result including don't care “X” for simplicity. However, the state value of the combinational circuit input terminal may be “0” or “1”. If the state and another 0/1 / Y / Q / D state are present at the same terminal, they are replaced with "D". This indicates a state in which “X” can be either 0/1, while the other states indicate either 0/1. Therefore, it is necessary to set “D” as a result. It is.

【0077】図11〜図14の経路選択手法を含む組合
せ回路入力端子状態推定#1〜#3で得られた組合せ回
路毎の推定故障箇所を手順46で調べ(図10参照)、
当該組合せ回路出力端子の推定状態を得たそれまでの条
件下での故障推定箇所数と新規得られた推定故障箇所と
の和が2を超えているかどうかを判定し、2を超えてい
る場合には手順47で当該組合せ回路の推定で得られた
新規故障候補点並びに同条件での推定故障伝搬経路を削
減する。
In step 46, the estimated fault location for each combinational circuit obtained in combinational circuit input terminal state estimation # 1 to # 3 including the route selection method shown in FIGS. 11 to 14 is checked (see FIG. 10).
Determine whether the sum of the estimated number of fault locations under the conditions up to that point when the estimated state of the output terminal of the combinational circuit is obtained and the newly obtained estimated fault location exceeds 2, and if the sum exceeds 2, In step 47, the new fault candidate points obtained by the estimation of the combinational circuit in step 47 and the estimated fault propagation path under the same conditions are reduced.

【0078】この操作は図15で示す様に、故障が1箇
所存在すると仮定した場合、その故障の種別は0/1縮
退,open,short が挙げられる。当該組合せ回路の直前
までの推定結果は、(1)伝搬経路のみが推定されてい
る場合、(2)伝搬経路+推定故障箇所1箇所が得られ
ている場合、(3)伝搬経路+推定故障箇所2箇所が得
られている場合の3種類ある。
In this operation, as shown in FIG. 15, when it is assumed that one fault exists, the fault types include 0/1 degeneration, open, and short. The estimation results up to immediately before the combinational circuit include (1) when only the propagation path is estimated, (2) when the propagation path + one estimated failure point is obtained, and (3) when the propagation path + estimated failure is obtained. There are three types when two locations are obtained.

【0079】更にその推定結果を基に当該組合せ回路の
推定を行った場合も、同様に、前記(1)〜(3)の伝
搬経路,推定故障箇所が得られる。しかしながら単一の
故障を想定した場合、物理的位置が0/1縮退故障,op
en故障の場合は1箇所、short 故障の場合は2箇所でし
かあり得ないため、推定故障箇所が2以下でなければな
らない。従って、直前までの推定結果が伝搬経路のみの
場合には当該組合せ回路の推定において(1)伝搬経路
のみ、(2)伝搬経路+推定故障箇所1箇所、(3)伝
搬経路+推定故障箇所2箇所のどれであっても問題な
く、夫々によって故障の種類が分類できる。
Further, when the estimation of the combinational circuit is performed based on the estimation result, similarly, the propagation paths and the estimated failure locations of the above (1) to (3) are obtained. However, assuming a single fault, the physical location is 0/1 stuck-at fault, op
Since there can be only one location for an en failure and two locations for a short failure, the number of estimated failure locations must be two or less. Therefore, when the estimation result up to immediately before is only the propagation path, in the estimation of the combinational circuit, (1) only the propagation path, (2) one propagation path + one estimated failure point, and (3) propagation path + one estimated failure point There is no problem in any of the locations, and the type of failure can be classified according to each.

【0080】故障推定箇所が1箇所2箇所共にshort の
場合があるが、これはshort により2箇所のノードのう
ち1箇所が同一時刻で誤りを起こし、結果としてその時
刻としては1箇所しか推定故障箇所が得られない場合で
ある。故障推定箇所が2箇所あるshort の場合は、shor
t により両方のノードが同一時刻で誤りを起こし、故障
箇所が2箇所見える場合がある。実際に競合した場合に
はどちらかのノードの状態値が強いため、単一箇所の故
障が多いが、ここではその特殊なshort 例も考慮してお
り、図15の図表中では“*”で表している。
There are cases where the estimated failure location is short at both of the two locations. However, this causes an error in one of the two nodes at the same time due to the short, and as a result, only one estimated failure at that time This is the case where the location cannot be obtained. For short with two estimated failure locations, short
Due to t, both nodes may make an error at the same time, and two failure locations may be seen. When there is an actual conflict, the state value of one of the nodes is strong, so there are many single-point failures. In this case, a special short example is also considered. Represents.

【0081】直前までの推定結果が伝搬経路+推定故障
箇所1箇所,伝搬経路+推定故障箇所2箇所のどちらの
場合も、判定基準は、前期直前の推定結果が伝搬経路の
みの場合と同様であるが、故障推定箇所が3箇所になっ
た時は、場所の一致判定を行う。推定故障箇所として得
られた箇所が3箇所以上であっても、物理的な推定故障
箇所が2箇所以下である場合には故障候補点として残
す。図15中()内に記述されている部分がその場合で
ある。その場合には手順48で新規抽出故障候補点とし
て登録する。この時既に推定故障箇所が2箇所以上得ら
れている場合は、図17に示す様に各々の組合せ回路で
求めた推定故障箇所のうち物理的位置が一致している箇
所のみを故障候補点として扱い、登録を行う。図17は
2箇所のうちの1つを示しており、かつ図中太線は各々
の組合せ回路での推定故障箇所であり、重ね合わせた時
に一致する太線部分が登録する推定故障箇所となる。
In both cases where the estimation result up to immediately before is the propagation route + estimated fault location and the propagation route + estimated failure location at two locations, the criterion is the same as in the case where the estimation result immediately before the previous period is only the propagation route. However, when the number of estimated failure locations becomes three, location coincidence determination is performed. Even if there are three or more estimated failure locations, if there are two or less physically estimated failure locations, they are left as failure candidate points. The portion described in parentheses in FIG. 15 is that case. In that case, in step 48, it is registered as a newly extracted fault candidate point. At this time, if two or more estimated fault locations have already been obtained, only the locations where the physical positions match among the estimated fault locations determined by the respective combination circuits as failure candidate points as shown in FIG. Treat and register. FIG. 17 shows one of the two locations, and the bold line in the figure is an estimated fault location in each combinational circuit, and the thick line portion that matches when superimposed is the estimated fault location to be registered.

【0082】次に、組合せ回路入力端子状態推定#1〜
#3で得られた組合せ回路入力端子の推定ベクタを用い
て手順49で簡略化を行い、更に簡略化した結果を基に
手順50で経路選択を行う。手順51は実施例1(図
1)の手順7と同様、まだ推定を行っていない経路選択
結果があるかどうかを調べることにより、故障推定が完
了したか否かを判定する手順で、完了していない場合は
更に前段の組合せ回路抽出推定を繰り返す。この前段の
組合せ回路に溯る時、故障が伝搬していると推定される
フリップフロップのクロック線の期待値からクロックが
フリップフロップに印加され状態が更新されたか否かを
調べる。もしクロック線が活性化されていれば1つ前の
時間に溯り、活性化されていないならば活性化された時
間に溯り、前段の回路抽出,推定を繰り返す。
Next, combination circuit input terminal state estimation # 1
Simplification is performed in step 49 using the estimated vector of the combinational circuit input terminal obtained in # 3, and the path is selected in step 50 based on the simplified result. Step 51 is a procedure for determining whether or not the failure estimation has been completed by checking whether or not there is a route selection result for which estimation has not been performed, similarly to the procedure 7 of the first embodiment (FIG. 1). If not, the preceding combination circuit extraction estimation is repeated. When going back to the preceding combinational circuit, it is checked whether or not a clock has been applied to the flip-flop and the state has been updated from the expected value of the clock line of the flip-flop which is presumed to have propagated the fault. If the clock line is activated, it goes back to the previous time, and if it is not activated, it goes back to the activated time and repeats the circuit extraction and estimation of the previous stage.

【0083】手順52は図18に模式的に示す様に、図
10の新規故障候補点登録手順48で得られた全ての時
間で得られた全ての推定故障候補点を用いて、各候補点
毎に出現頻度を計算する手順である。図18中棒の高さ
が出現頻度を表し、高さが高いほど故障の可能性が高い
ことを表す。
As shown schematically in FIG. 18, the procedure 52 uses all estimated fault candidate points obtained at all times obtained in the new fault candidate point registration procedure 48 in FIG. This is a procedure for calculating the appearance frequency for each. The height of the bar in FIG. 18 represents the appearance frequency, and the higher the height, the higher the possibility of failure.

【0084】この手順52は前述の様に新規故障候補点
登録手順48で得られた推定候補点のみを用いる手順
と、新規故障候補点登録手順48で得られた推定候補点
だけでなく、各組合せ回路の推定で得られた故障伝搬経
路を用いる手順とがある。後者の場合は組合せ回路での
推定で故障伝搬経路として得られた経路上に故障が存在
する場合の頻度計算で有利となる。
As described above, this procedure 52 uses not only the estimated candidate points obtained in the new fault candidate point registration procedure 48 but also the estimated candidate points obtained in the new fault candidate point registration procedure 48. There is a procedure using the fault propagation path obtained by the estimation of the combinational circuit. The latter case is advantageous in frequency calculation when a fault is present on a path obtained as a fault propagation path by estimation in a combinational circuit.

【0085】手順53はこの得られた故障候補点毎の出
現頻度を用いて頻度の多い順に優先順位付けを行い、か
つ図16に示す様な推定故障箇所の物理的位置並びに推
定故障状態値の判定により、故障の種別を求める。図1
6の判定基準は、(1)物理的位置及び推定故障状態値
が常に固定している場合は0/1縮退故障が起こってい
る可能性が高い、(2)推定故障箇所が1箇所でかつ物
理的位置が同一、更に推定状態がその時により異なる場
合はopen故障もしくはshort 故障である可能性が高い、
(3)推定故障箇所が2箇所でかつ物理的位置が同一、
更に推定状態がその時により異なる場合はshort 故障で
ある可能性が高い、である。
The procedure 53 assigns priorities in descending order of frequency using the obtained appearance frequencies of the respective failure candidate points, and calculates the physical position of the estimated failure location and the estimated failure state value as shown in FIG. The type of the failure is determined by the determination. FIG.
The judgment criteria of 6 are as follows: (1) When the physical position and the estimated fault state value are always fixed, there is a high possibility that a 0/1 stuck-at fault has occurred. (2) The estimated fault location is one and If the physical location is the same and the estimated state is different at that time, it is highly likely that an open failure or short failure has occurred.
(3) Two presumed failure locations and the same physical location,
Furthermore, if the estimated state differs at that time, there is a high possibility that a short failure has occurred.

【0086】また、手順53において得られた故障推定
箇所並びに故障種別に対し、図20で示す様なタイミン
グ故障判定を行う手順を更に加えることにより、故障種
別にタイミング不良も扱える。図20のタイミング不良
判定フローでは、先ず手順54で推定故障箇所にフリッ
プフロップが含まれるか否かを調べる。これは抽出され
た故障候補が、図19の太線で示す様に、フリップフロ
ップの端子を含んで故障候補が存在するか否かで判定す
る。図19の様な場合、太線の経路上に故障が存在する
か、若しくはハッチング部分のフリップフロップでタイ
ミング不良が生じ、フリップフロップの出力が誤ってい
ることも想定できるからである。そこで、手順55によ
り、故障箇所と推定されるフリップフロップに到達する
組合せ回路内の全ての経路を抽出する。
Further, by adding a procedure for performing a timing failure determination as shown in FIG. 20 to the estimated fault location and the failure type obtained in the procedure 53, a timing failure can be handled for the failure type. In the timing failure determination flow shown in FIG. 20, first, in step 54, it is checked whether or not the estimated failure location includes a flip-flop. This is determined based on whether or not the extracted fault candidate includes the flip-flop terminal as shown by the bold line in FIG. In the case of FIG. 19, it is possible to assume that a fault exists on the path of the thick line, or that a timing failure occurs in the flip-flop in the hatched portion and that the output of the flip-flop is erroneous. Therefore, in the procedure 55, all paths in the combinational circuit reaching the flip-flop which is presumed to be the fault location are extracted.

【0087】手順56では、手順55で得られた全ての
経路に対して経路遅延量を計算し、手順57ではこの得
られた経路毎の遅延量を基にしてクリティカルパスを求
める。更にそのクリティカルパスと組合せ回路入力端子
の期待値とを比較し、クリティカルパス上の各ノード状
態が変化していることを確認し、タイミング不良か否か
を判定する手順により行う。手順54にて推定故障箇所
にフリップフロップが含まれない場合には、タイミング
不良検出は行わない。
In step 56, the path delay is calculated for all the paths obtained in step 55, and in step 57, the critical path is obtained based on the obtained delay for each path. Further, the critical path is compared with the expected value of the combinational circuit input terminal, it is confirmed that the state of each node on the critical path has changed, and it is determined according to a procedure for determining whether or not the timing is defective. If the estimated failure location does not include a flip-flop in step 54, timing failure detection is not performed.

【0088】更に図21で示した様に回路中のスキャン
用のフリップフロップを含む場合には、通常組合せ回路
抽出時に図中太線で示したスキャン経路も含んで抽出
し、経路追跡,故障推定を行う。この時はスキャン用の
フリップフロップの故障か否かの判定を行う手段とし
て、予め全回路中にスキャン用のフリップフロップが含
まれるか否かを判定しておき、更に抽出された組合せ回
路の推定においては、図中太線のスキャン経路を含まな
い組合せ回路を抽出し、経路の追跡、並びに故障推定を
行う。
Further, when a scanning flip-flop in a circuit is included as shown in FIG. 21, a scan path indicated by a bold line in the drawing is also extracted when a combinational circuit is extracted, and path tracing and fault estimation are performed. Do. At this time, as a means for determining whether or not the scanning flip-flop is faulty, it is determined in advance whether or not the scanning flip-flop is included in all the circuits, and further the estimation of the extracted combinational circuit is performed. In, a combinational circuit not including the scan path indicated by the bold line in the figure is extracted, and the path is tracked and a fault is estimated.

【0089】このスキャン経路を含む場合の故障推定結
果とスキャン経路を含まない故障推定結果を比較し、ス
キャンフリップフロップを含むスキャン経路自体に故障
が存在するか否かを判定する。これにより、スキャン経
路故障を検出する。
The result of the failure estimation including the scan path is compared with the result of the failure estimation not including the scan path to determine whether or not a failure exists in the scan path itself including the scan flip-flop. As a result, a scan path failure is detected.

【0090】組合せ回路抽出時にメモリセルの端子に到
達した場合には、図22に示す様に条件によりメモリセ
ルのデータライン,アドレスライン,制御ラインと経路
追跡,推定する手順を変える。先ず、メモリセルの端子
に到達した場合、メモリセルのアドレスライン,データ
ライン,制御ラインかを認識し、アドレスライン,デー
タラインの場合はアドレスライン,データラインの全て
を抽出する様に組合せ回路を抽出し、デーラライン若し
くはアドレスラインの推定を行う。
When the terminal of the memory cell is reached at the time of extracting the combinational circuit, the procedure for tracing and estimating the path of the data line, address line, and control line of the memory cell is changed according to the conditions as shown in FIG. First, when the terminal reaches the terminal of the memory cell, it is recognized whether it is an address line, a data line, or a control line of the memory cell. Extract and estimate the deraline or address line.

【0091】アドレスラインの場合は内部の格納データ
を用いデータラインの追跡を行い、データラインの場合
はデータラインの推定結果を基に、図23に示す様に、
手順59でメモリセル内部のデータ照合を行う。メモリ
セル内データ照合の結果他のアドレスに同一データが含
まれるか否かを手順60にて判定した後、含まれる場合
には同一データを保持するアドレスを読出した可能性が
大きいため、手順61でこのアドレスデータをもとにア
ドレスライン若しくは制御ラインを溯る。
In the case of the address line, the data line is tracked by using the internal storage data. In the case of the data line, based on the estimation result of the data line, as shown in FIG.
In step 59, data collation inside the memory cell is performed. After determining in step 60 whether or not another address contains the same data as a result of data collation in the memory cell, if the address is included, it is highly likely that the address holding the same data has been read. Traverses an address line or a control line based on the address data.

【0092】また、メモリセル内に同一データが存在し
ない場合には、書込み時のデータが間違っていることが
考えられるため、手順62でデータ書込み時までベクタ
を溯り、かつ推定結果をもとにデータラインを溯る。以
上の手順で故障箇所の推定を行うことにより通常のLS
Iの故障診断が可能となる。尚、図10のフローチャー
トにおいても、図1のフローを図3に書換えた様に、図
24の様に書換えることができる。
If the same data does not exist in the memory cell, it is possible that the data at the time of writing is wrong. Go back the data line. The normal LS can be obtained by estimating the fault location according to the above procedure.
The fault diagnosis of I becomes possible. Note that the flowchart of FIG. 10 can also be rewritten as shown in FIG. 24, just as the flow of FIG. 1 is rewritten as FIG.

【0093】次に、本発明の別の実施の形態について図
面を参照して詳細に説明する。図25はこの実施例の概
略フローチャートである。本実施例の手順は組合せ回路
抽出71、組合せ回路入力端子状態推定72、推定故障
伝搬経路登録73、回路溯り判定制御74、経路分岐、
結合認識75、故障モード分類76、故障候補頻度重み
総合判定77の各手順を持っている。
Next, another embodiment of the present invention will be described in detail with reference to the drawings. FIG. 25 is a schematic flowchart of this embodiment. The procedure of the present embodiment includes a combinational circuit extraction 71, a combinational circuit input terminal state estimation 72, an estimated fault propagation path registration 73, a circuit backward determination control 74, a path branch,
It has the procedures of joint recognition 75, failure mode classification 76, and failure candidate frequency weight comprehensive judgment 77.

【0094】図25の手順71は組合せ回路抽出であ
り、手順72は手順71で得られた組合せ回路毎に出力
端子状態から入力端子状態を求める手順である。また、
手順73は組合せ回路の入力端子状態を求める際、推定
故障伝搬経路を登録し、手順71から73を推定状態が
得られなくなるまで溯るため、回路溯り完了判定手順7
4で組合せ回路毎の推定続行か否かを制御する。
Step 71 in FIG. 25 is a combination circuit extraction, and step 72 is a procedure for obtaining an input terminal state from an output terminal state for each combination circuit obtained in the step 71. Also,
Step 73 registers the estimated fault propagation path when obtaining the input terminal state of the combinational circuit, and goes back to steps 71 to 73 until the estimated state cannot be obtained.
In step 4, it is controlled whether or not to continue the estimation for each combinational circuit.

【0095】全ベクタで組合せ回路毎の故障推定が完了
した場合、手順75では、手順73で得られた組合せ回
路毎の推定故障伝搬経路をもとに経路の分岐、結合認識
を行い、故障推定箇所から故障出力端子までの故障伝搬
経路を再構成する。この操作により故障伝搬経路上の故
障候補点に対して単一故障点か多重故障点、もしくは故
障候補ではなく故障伝搬経路であるのか分類が可能とな
る。
When the fault estimation for each combinational circuit is completed for all the vectors, in step 75, based on the estimated fault propagation path for each combinational circuit obtained in step 73, path branching and joint recognition are performed, and the fault estimation is performed. The fault propagation path from the location to the fault output terminal is reconfigured. By this operation, it is possible to classify a single fault point, a multiple fault point, or a fault propagation path instead of a fault candidate with respect to the fault candidate points on the fault propagation path.

【0096】手順76では手順75で得られた結果を用
い、さらにその時点での推定状態値並びに全ベクタの状
態値を用いて故障モードの分類を行う。手順77では故
障候補を故障出力端子数や故障伝搬経路等の頻度を用
い、より故障状態を満たす故障候補箇所ならびに状態
値、故障モードを総合的に判定し順位付けし、故障候補
の確度として重み付けを行う。
In step 76, the failure mode is classified using the result obtained in step 75 and further using the estimated state value at that time and the state values of all vectors. In step 77, the failure candidates are comprehensively determined and ranked using the frequency of the number of failure output terminals, the number of failure propagation paths, etc., and the failure candidate locations, state values, and failure modes that further satisfy the failure state, and weighted as the failure candidate accuracy I do.

【0097】特に、手順75から手順77に示す推定故
障伝搬経路から故障モードを分類し、かつ故障候補毎の
頻度およびその状態値を調べて、総合的に故障の確から
しさを求めることにより故障候補の重み付けを行うこと
を特徴としている。
In particular, the failure modes are classified based on the estimated failure propagation paths shown in steps 75 to 77, and the frequency and state value of each failure candidate are checked to determine the total likelihood of the failure. Is weighted.

【0098】図26,27は本実施例の詳細を示すフロ
ーチャートである。図26は組合せ回路毎の経路推定並
びに故障推定箇所の重み付けの全体を表したものであ
り、図27は組合せ回路毎に推定された経路重み付け方
法を示したものである。
FIGS. 26 and 27 are flow charts showing details of the present embodiment. FIG. 26 shows the entirety of the path estimation and the weighting of the failure estimation part for each combinational circuit, and FIG. 27 shows the path weighting method estimated for each combinational circuit.

【0099】本発明の順序回路の故障診断手法は、予め
用意したLSI内の全フリップフロップの全ベクタに対
する全期待値情報と実際のテスタでのパス/フェイル出
力情報、全回路の接続情報を用い、かつフリップフロッ
プと組合せ回路に分割して故障推定を行い組合せ回路毎
に故障伝搬推定経路および故障候補点を求めることを基
本としており、得られた故障伝搬推定経路間の接続関係
を求め、故障出力端子数もしくは故障伝搬端子との間に
存在する故障伝搬経路数から故障候補の重み付けを行う
ものである。
The sequential circuit fault diagnosis method of the present invention uses all expected value information for all vectors of all flip-flops in an LSI prepared in advance, pass / fail output information of an actual tester, and connection information of all circuits. In addition, the fault estimation is performed by dividing the circuit into flip-flops and combinational circuits, and a fault propagation estimation path and a fault candidate point are obtained for each combinational circuit. The fault candidates are weighted based on the number of output terminals or the number of fault propagation paths existing between the output terminals and the fault propagation terminals.

【0100】まず組合せ回路抽出40の手順では、LS
Iの故障出力もしくは既に故障であると推定された出力
端子から入力方向へとトレースを行い、得られた入力端
子もしくはフリップフロップ出力端子から出力方向へト
レースを行い、出力端子もしくはフリップフロップ入力
端子を得る。さらに、この得られた出力端子もしくはフ
リップフロップ入力端子から入力方向に回路抽出を行い
組合せ回路を得る。
First, in the procedure of the combinational circuit extraction 40, LS
Trace the input from the fault output of I or the output terminal that is already estimated to be faulty, and trace the output from the obtained input terminal or flip-flop output terminal to the output terminal or flip-flop input terminal. obtain. Further, a circuit is extracted in the input direction from the obtained output terminal or flip-flop input terminal to obtain a combinational circuit.

【0101】当該得られた組合せ回路の状態推定は、組
合せ回路入力端子状態推定41〜43があり、それぞれ
求める条件が異なる。組合せ回路入力端子状態推定41
は図28(a)に示すように組合せ回路内に故障が存在
せず、故障信号が前段の組合せ回路から伝搬していると
仮定したときの入力端子推定手順である。
The obtained state estimation of the combinational circuit includes combinational circuit input terminal state estimations 41 to 43, and conditions to be obtained are different from each other. Combinational circuit input terminal state estimation 41
FIG. 28A shows an input terminal estimation procedure when it is assumed that no fault exists in the combinational circuit as shown in FIG. 28A and a fault signal is propagated from the preceding combinational circuit.

【0102】組合せ回路入力端子状態推定42,43
は、組合せ回路内に故障が存在すると仮定した場合で、
さらにその故障想定数により2つに別れる。1つは組合
せ回路入力端子状態推定42であり、図28(b)に示
すように組合せ回路内に故障が1箇所存在すると仮定し
た場合の推定故障箇所並びに組合せ回路入力状態推定値
を求める手順である。もう1つは組合せ回路入力端子状
態推定43であり、図28(c)に示すように組合せ回
路内に故障が2箇所存在すると仮定した時の推定故障箇
所並びに組合せ回路入力端子状態推定値を求める手順で
ある。
Combinational circuit input terminal state estimation 42, 43
Is based on the assumption that a fault exists in the combinational circuit.
Furthermore, the number of failures is divided into two. One is a combination circuit input terminal state estimation 42, which is a procedure for obtaining an estimated failure location and a combined circuit input state estimated value when it is assumed that one failure exists in the combination circuit as shown in FIG. is there. The other is a combinational circuit input terminal state estimation 43, which finds an estimated failure location and a combined circuit input terminal state estimation value when it is assumed that two failures exist in the combinational circuit as shown in FIG. Procedure.

【0103】組合せ回路入力端子状態推定41〜43の
各手順において、特殊な例としては、組合せ回路入力端
子状態推定値が得られず、1箇所ないしは2箇所の故障
推定箇所のみ得られる場合である。この場合は組合せ回
路出力端子状態を満たす入力状態がありえず、前段の組
合せ回路から故障が伝搬してきていないことを表わして
いる。
In each procedure of the combinational circuit input terminal state estimation 41 to 43, a special example is a case where an estimated value of the combinational circuit input terminal state is not obtained and only one or two failure estimation parts are obtained. . In this case, there is no input state that satisfies the combination circuit output terminal state, indicating that no fault has propagated from the preceding combination circuit.

【0104】組合せ回路入力端子推定41で得られた入
力推定ベクタを用い簡略化、経路選択44(45)の手
順でブール代数の簡略化や状態値が同じ端子のみをまと
める操作を行い、推定ベクタ数を削減する。簡略化とし
ては、まず組合せ回路出力を満たす入力状態推定値を調
べることにより、その端子の状態値が0でも1でもどち
らでもいい値、すなわち組合せ回路出力での故障に直接
関与しない端子および状態値を抽出し、故障状態か否か
に関係なく状態値が同じ端子をまとめている。
Simplification is performed using the input estimation vector obtained by the combinational circuit input terminal estimation 41, simplification of the Boolean algebra is performed in the procedure of the route selection 44 (45), and only the terminals having the same state value are collected. Reduce the number. As a simplification, an input state estimation value that satisfies the output of the combinational circuit is first examined to determine whether the state value of the terminal is 0 or 1, that is, a terminal and a state value that are not directly involved in a failure at the output of the combinational circuit. Are extracted, and terminals having the same state value are collected regardless of whether the terminal is in a failure state or not.

【0105】すなわち値の異なる端子を抽出し、1端子
であれば0/1、2端子であれば、00/01/10/
11の4つの全ての状態値を含んでいる場合にそれらの
端子状態値を“X”に置き換えるのが簡略化である。ま
た、経路選択手順も図29に示すように、各々得られた
組合せ回路推定入力ベクタの故障伝搬端子および状態値
が同一であるベクタをまとめることにより、推定ベクタ
数の削減を行う。手順72で組合せ回路入力部の状態推
定を行った後は、さらに前段の組合せ回路へ溯る必要か
ら、前記組合せ回路抽出71の手順に戻る。
That is, terminals having different values are extracted, and if it is one terminal, it is 0/1, and if it is two terminals, it is 00/01/10 /
In the case where all four state values of 11 are included, replacing the terminal state values with "X" is a simplification. Further, as shown in FIG. 29, the route selection procedure also reduces the number of estimated vectors by grouping vectors having the same fault propagation terminal and state value of the obtained combined circuit estimation input vectors. After estimating the state of the combinational circuit input section in step 72, the procedure returns to the combinational circuit extraction 71 because it is necessary to go back to the preceding combinational circuit.

【0106】組合せ回路入力端子状態推定42,43で
得られた新規の推定故障候補点故障候補点については、
判定手順46にてそれまでに同一条件の下で得られた故
障候補点と新規で得られた故障候補点の総数が2以下で
あるか否かを判定し、2よりも多い場合には新規故障候
補点、伝搬経路削除47の手順で削除する。2以下の場
合には新規抽出故障候補点登録48の手順で新規登録す
る。組合せ回路入力推定ベクタ簡略化、経路選択49
(50)では手順44(45)と同様に得られた推定ベ
クタ数の削減を行う。
The new estimated fault candidate points obtained by the combinational circuit input terminal state estimations 42 and 43 are as follows.
In the judgment procedure 46, it is judged whether or not the total number of the fault candidate points obtained under the same condition and the newly obtained fault candidate points is 2 or less. It is deleted in the procedure of the fault candidate point and propagation path deletion 47. If the number is 2 or less, a new registration is performed according to the procedure of new extraction failure candidate point registration 48. Combinational circuit input estimation vector simplification, route selection 49
In (50), the number of estimated vectors obtained is reduced in the same manner as in step 44 (45).

【0107】手順51では故障候補点抽出が全てのベク
タに対して行われたかどうかを判定し、かつ前記特殊な
例としてあげたようにそれ以上前段からの推定故障伝搬
入力端子が得られないか否かを判定し、推定を完了をす
るか否かを決定する。推定が完了していない場合には、
組合せ回路入力推定ベクタから故障伝搬端子を抽出し、
さらに組合せ回路抽出40の手順に戻り前段の組合せ回
路へと溯る。手順51で全ての推定が完了し故障候補点
抽出し尽くされた場合には、故障候補点頻度計算52に
て各候補点毎の出現頻度を求め、重み付け63で場所的
な一致重み付けを行う。
In step 51, it is determined whether or not the fault candidate point has been extracted for all the vectors, and whether or not the estimated fault propagation input terminal from the preceding stage can be obtained any more as described in the special example above. It is determined whether or not to complete the estimation. If the estimation has not been completed,
Extract the fault propagation terminal from the combinational circuit input estimation vector,
Further, the procedure returns to the procedure of the combinational circuit extraction 40 and goes back to the preceding combinational circuit. When all the estimations have been completed in step 51 and the failure candidate points have been completely extracted, the occurrence frequency of each candidate point is obtained by a failure candidate point frequency calculation 52, and a location match weighting is performed by a weight 63.

【0108】さらに状態値判定&シミュレーション64
により故障モードの推定並びにその精度向上を図り、故
障推定リストを作成する。本操作はシミュレーションを
行うことにより故障箇所とその状態値が正常端子出力と
の整合を保証し、また個々の故障推定候補箇所の状態値
を調べることにより、0/1縮退、オープン、ブリッジ
故障等の故障モードを判定することを可能とする。
Further, state value determination & simulation 64
To estimate the failure mode and improve its accuracy, and create a failure estimation list. In this operation, simulation is performed to ensure that the fault location matches its state value with the normal terminal output, and by examining the state value of each fault estimation candidate location, 0/1 degeneration, open, bridge fault, etc. Can be determined.

【0109】上記手順52,63の詳細手順は図27に
示す。手順78の組合せ回路毎の経路推定は手順40〜
51を意味しており、出力端子までの経路再構成手順7
9では手順48の新規抽出故障候補点、故障伝搬経路登
録で得られた経路を用い、図30に示すように、各組合
せ回路毎の推定伝搬経路間の接続関係を検索し、故障出
力端子までの経路として再構成する。
FIG. 27 shows a detailed procedure of the above procedures 52 and 63. Path estimation for each combinational circuit in step 78 is performed in steps
51, a route reconfiguration procedure up to the output terminal 7
In step 9, the connection relation between the estimated propagation paths for each combinational circuit is searched for as shown in FIG. Is reconfigured as a route.

【0110】さらに、候補点毎の故障出力端子数頻度計
算80の手順で、図30の丸数字に示すように頻度を求
める。図30の故障出力頻度とは、手順79で再構成さ
れた故障伝搬推定経路を故障出力端子から順にトレース
し、経路の分岐、結合毎に経路細分化を行い、細分化さ
れた経路毎にどの故障出力端子から開始されたかを順次
記憶しておく。
Further, in the procedure of the frequency calculation 80 for the number of failure output terminals for each candidate point, the frequency is obtained as shown by the circled numbers in FIG. The fault output frequency in FIG. 30 means that the fault propagation estimated path reconstructed in the step 79 is traced in order from the fault output terminal, and the path is subdivided for each branch and connection of the path. Whether the operation is started from the failure output terminal is sequentially stored.

【0111】図中の丸数字が開始された故障出力端子番
号であり、、となっているのは、故障出力頻
度数としてはそれぞれ2、3を表わす。すなわちと
なっている経路上の候補では故障出力端子を満たすこ
とはできず、となっている故障伝搬経路上の故障
候補が故障出力〜すべてを同時に満たすことを表わ
している。本操作により各時点での各故障出力端子と故
障伝搬経路、故障推定箇所との関連付けが可能となる。
In the figure, the circled numbers indicate the starting failure output terminal numbers, and indicate that the failure output frequency numbers are 2 and 3, respectively. In other words, the failure output terminal cannot be satisfied by the candidate on the path indicated by, and the failure candidate on the failure propagation path indicated by satisfies the failure output to all of them at the same time. This operation makes it possible to associate each fault output terminal with a fault propagation path and a fault estimated location at each time point.

【0112】手順81では手順80を全ベクタで繰り返
し、全ての故障出力から故障伝搬経路毎の故障候補箇所
の故障出力端子頻度を求め、手順80のどの故障出力端
子から開始されたかを記憶した結果をもとにベクタ全体
の故障出力端子数頻度を求める。手順82では全てのベ
クタでの故障出力端子頻度を求めたかを判定する。手順
83では手順81で求めた故障出力端子数頻度の大きい
順に並べ替えを行い、故障候補箇所の重み付けを行う。
すなわち全ての故障候補の中でより多くの実故障出力を
満足する故障候補箇所が真である可能性が高く、本操作
によりその故障箇所が選択的に抽出される。
In the procedure 81, the procedure 80 is repeated for all the vectors, the frequency of the fault output terminal of the fault candidate location for each fault propagation path is obtained from all the fault outputs, and the result of storing the fault output terminal in the procedure 80 which is started is stored. The frequency of the number of fault output terminals of the entire vector is obtained based on In step 82, it is determined whether or not the failure output terminal frequencies for all the vectors have been obtained. In step 83, rearrangement is performed in descending order of the frequency of the number of failure output terminals obtained in step 81, and weighting of failure candidate portions is performed.
In other words, it is highly probable that a failure candidate location that satisfies more actual failure outputs among all failure candidates is true, and this operation selectively extracts the failure location.

【0113】更に別の実施例としては、図31に示す重
み付けの方法があげられる。図31に示す手順は図26
の手順52,63を実現する別の方法である。手順78
の組合せ回路毎の経路推定は図26の手順40〜51を
意味しており、出力端子までの経路再構成手順79では
手順48の新規抽出故障候補点、故障伝搬経路登録で得
られた経路を用い、図30に示すように各組合せ回路毎
の推定伝搬経路間の接続関係を検索し、故障出力端子ま
での経路として再構成する。
As still another embodiment, there is a weighting method shown in FIG. The procedure shown in FIG.
Is another method for realizing the procedures 52 and 63 of FIG. Step 78
26 means the steps 40 to 51 in FIG. 26. In the path reconfiguration procedure 79 up to the output terminal, the newly extracted fault candidate point in step 48 and the path obtained by the fault propagation path registration are used. As shown in FIG. 30, the connection relation between the estimated propagation paths for each combinational circuit is searched and reconfigured as a path to a fault output terminal.

【0114】さらに候補点毎の故障伝搬経路数頻度計算
84の手順で、図32の丸数字に示すように頻度を求め
る。図32の故障出力頻度とは、手順79で再構成され
た故障伝搬推定経路を故障出力端子から順にトレース
し、経路の分岐、結合毎に経路細分化を行い、細分化さ
れた経路毎にどの故障出力端子から開始されたかを順次
記憶しておく。図中の丸数字が開始された故障出力端子
番号であり、、となっているのは故障出力頻
度数としてはそれぞれ2,3を表わす。この時、出力端
子側からトレースした時に分岐している場合´を付け、
出力側の伝搬経路成立たせるための必要条件を表わして
いる。
Further, in the procedure of the frequency calculation 84 of the number of fault propagation paths for each candidate point, the frequency is obtained as shown by the circled numbers in FIG. The fault output frequency in FIG. 32 means that the fault propagation estimated route reconstructed in the step 79 is traced in order from the fault output terminal, and the route is subdivided for each branch and connection of the route. Whether the operation is started from the failure output terminal is sequentially stored. The circled numbers in the figure are the starting fault output terminal numbers, and the numbers indicate the fault output frequency numbers 2 and 3, respectively. At this time, if a branch occurs when tracing from the output terminal side, add a '
It shows the necessary conditions for establishing the propagation path on the output side.

【0115】すなわち、図32のの故障伝搬は´と
”同時に故障が伝搬してきているときにのみ成り立す
る場合を示している。同様に、出力端子側からトレース
した場合に経路が結合する場合には、異なる故障出力端
子であればそのまま加えるが、同じ故障出力端子の場合
にはその´の状態も併せて記憶する。従って、故障発生
箇所付近を例にとると、´”と(”+´”)
の経路結合から´”+””=´であるため、´
+”=となり、結果としてとなっている。図
32の場合図からも明らかなようにの故障伝搬経路は
”、´”、””のすべてが同時に成立つ必要があ
ることから、の条件がこの故障出力を満足し、´
のついた経路は故障候補とはなり得ないことになる。
That is, FIG. 32 shows a case where the fault propagation is realized only when the fault is propagated simultaneously with “′”. Similarly, when the paths are coupled when tracing from the output terminal side In the case of the same failure output terminal, the state of 'is added together, so that if the failure output terminal is the same, the state of' is also stored. ´ ”)
Since "" + "" = "from the path connection of"
+ "=, Which is the result. In the case of FIG. 32, since the fault propagation path as shown in FIG. Satisfying this failure output,
The path marked with cannot be a failure candidate.

【0116】本操作により、各時点での故障推定箇所毎
の故障伝搬経路と故障出力の必要条件を詳細に関連付け
ることが可能となり、故障箇所の絞り込みを精度良く行
うことが可能である。
According to this operation, it is possible to relate in detail the fault propagation path and the necessary condition of the fault output for each fault estimated location at each time point, and it is possible to narrow down the fault location with high accuracy.

【0117】手順85では手順84を全ベクタで繰り返
し、全ての故障出力から故障伝搬経路毎の故障候補箇所
の故障伝搬経路数を求め、手順84のどの出力端子から
開始され、どの経路を経由したかを記憶した結果をもと
にベクタ全体の故障伝搬経路数頻度を求める。手順86
では全てのベクタでの故障伝搬経路数頻度を求めたかを
判定する。手順87では手順85で求めた故障伝搬経路
数頻度の大きい順に並べ替えを行い、故障候補箇所の重
み付けを行う。本操作により故障出力を満足する故障候
補箇所が選択的に抽出される。
In the procedure 85, the procedure 84 is repeated for all the vectors, the number of fault propagation paths at the fault candidate locations for each fault propagation path is obtained from all the fault outputs, and the output terminal of the procedure 84 is started from which output terminal and passed through which path. Based on the stored result, the frequency of the number of fault propagation paths of the entire vector is obtained. Step 86
Then, it is determined whether the frequency of the number of fault propagation paths in all the vectors has been obtained. In step 87, rearrangement is performed in descending order of the frequency of the number of fault propagation paths obtained in step 85, and weighting is performed on the fault candidate portions. By this operation, a candidate fault location satisfying the fault output is selectively extracted.

【0118】候補点毎の故障伝搬経路数頻度計算手順の
更に他の実施例として、図33で示す方法もあげられ
る。図33で示す方法の組合せ回路毎の経路推定手順7
8は図26の手順40〜49を意味しており、手順79
では故障伝搬経路を出力端子側から入力端子側へ再構成
し、さらに経路の分岐、結合点を認識して細分化する。
図34は図33の手順をブロックイメージで表わしたも
のであり、図34中A〜Eは細分化された経路である。
As still another embodiment of the procedure for calculating the frequency of the number of fault propagation paths for each candidate point, there is also a method shown in FIG. Route estimation procedure 7 for each combinational circuit in the method shown in FIG.
8 means steps 40 to 49 in FIG.
Then, the fault propagation path is reconfigured from the output terminal side to the input terminal side, and further, the path branching and connection points are recognized and subdivided.
FIG. 34 is a block diagram showing the procedure of FIG. 33. In FIG. 34, AE are subdivided routes.

【0119】図34では経路の結合点はDとEの合流
点、AとCの合流点の2点があり、各結合点での経路間
条件に対する故障モードと故障候補の対応を示す。図3
4中の表の意味を(AorC)、(DorE)を例にとって
説明する。本手法の故障推定は図26に示すように組合
せ回路を故障出力から順次入力方向に溯るが、組合せ回
路内の故障伝搬推定においても故障伝搬経路毎に出力側
の論理を満たすように経路の溯りを行う。故障伝搬経路
毎の成立条件計算手順88はこの後段の経路上の故障伝
搬を満たす条件を求める手順であり、成立条件DorE、
AorCはの故障伝搬を満たす条件DorEを、また、故
障伝搬Eを満たす条件AorCを求めるものである。
In FIG. 34, there are two connection points of the route, that is, the junction of D and E, and the junction of A and C, and shows the correspondence between the failure mode and the failure candidate with respect to the inter-path condition at each connection point. FIG.
The meaning of the table in FIG. 4 will be described using (AorC) and (DorE) as examples. In the fault estimation of this method, as shown in FIG. 26, the combinational circuit goes back sequentially from the fault output to the input direction. I do. The satisfaction condition calculation procedure 88 for each fault propagation path is a procedure for finding a condition that satisfies the fault propagation on the subsequent path, and the satisfaction condition DorE,
AorC is a condition for finding the condition DorE that satisfies the fault propagation, and a condition AorC that satisfies the fault propagation E.

【0120】すなわち、故障伝搬経路の各分岐点での故
障伝搬の成立条件を括弧で括って表わし、かつそれ
を“,”で区切って併記したものである。従って、(A
orC),(DorE)の(AorC)の持つ意味は経路Eに
故障が伝搬している場合、経路Eの故障を満たす条件は
経路Aもしくは経路Cに故障伝搬していることを示して
いる。もし、経路E上に故障が存在しているならば、経
路Aもしくは経路C上に故障が存在する必要はない。こ
の条件を満たす故障候補としては、図34に示すよう
に、A,B,C,D,E,A&B,A&C,A&D,A
&E,B&C,B&D,B&E,C&D,C&E,D&
Eがあげられる。
That is, the conditions for establishing the fault propagation at each branch point of the fault propagation path are shown in parentheses, and the conditions are also separated by ",". Therefore, (A
The meaning of (AorC) of (orC) and (DorE) indicates that when a fault propagates to the path E, the condition for satisfying the fault of the path E is that the fault propagates to the path A or the path C. If a fault exists on the route E, there is no need for a fault on the route A or the route C. As the failure candidates satisfying this condition, A, B, C, D, E, A & B, A & C, A & D, A
& E, B & C, B & D, B & E, C & D, C & E, D &
E is given.

【0121】同様にして、手順88で経路間条件(Aor
C),(D&E)の成立条件を求めると、 =D&E =D&(AorC) =(A&D)or(C&D) ここで、経路Bに故障が存在するならば経路C,Dにも
故障伝搬するので、D&E=B&E、C&D=C&B=
B&Dとなり、さらに =(A&B)or(C&B) =(A&B)orB =B となる。
Similarly, in step 88, the inter-path condition (Aor
C) and (D & E) are obtained as follows. , D & E = B & E, C & D = C & B =
B & D, and then = (A & B) or (C & B) = (A & B) orB = B.

【0122】よって、前式より経路B、経路A&経路
B、経路A&経路D、経路B&経路C、経路B&経路
D、経路B&経路E、経路C&経路D、経路D&経路E
が故障候補となり、図34の表中で1となっている。反
対に表中の0は故障候補として成立たないことを示して
いる。
Therefore, the route B, the route A & the route B, the route A & the route D, the route B & the route C, the route B & the route D, the route B & the route E, the route C & the route D, the route D & the route E are obtained from the above equations.
Are failure candidates and are 1 in the table of FIG. On the other hand, 0 in the table indicates that it is not established as a failure candidate.

【0123】故障モードによる故障候補分類手順89で
は、得られた故障候補に対して単一故障、2重故障の分
類を行う。図34の例で言えば、経路A〜経路Eに1が
表示されている場合が単一故障候補であり、経路A&経
路B〜経路D&経路Eが2重故障候補となる。(Aor
C)、(DorE)について見れば、経路A〜Eのどこに
故障が存在しても故障伝搬を満たすことになるので、
経路A〜Eは本手順で単一故障候補に分類される。ま
た、経路A&経路B〜経路D&経路E全てが1になって
おり、経路A〜経路Eのどの経路との組合せでも2重故
障が起こる可能性があることを示している。
In the failure candidate classification procedure 89 according to the failure mode, the obtained failure candidates are classified into a single failure and a double failure. In the example of FIG. 34, the case where 1 is displayed in the route A to the route E is a single fault candidate, and the route A & route B to the route D & route E are double fault candidates. (Aor
Looking at (C) and (DorE), no matter where a fault exists in the paths A to E, the fault propagation is satisfied.
The routes A to E are classified as single failure candidates in this procedure. Further, all of the route A & route B to route D & route E are 1, which indicates that a double failure may occur in any combination of the route A to route E.

【0124】手順90では、全ベクタの全候補点の頻度
計算を終了したか否かを判定し、終了していないようで
あれば手順79に戻り、頻度計算を行っていない別の組
合せ回路に対して前記と同様の処理を行う。終了してい
れば手順91へと進む。手順91では手順89で得られ
た故障モード毎の故障候補をもとにして、全ベクタでの
故障モードを計算する。手順89では故障を単一故障と
2重故障に分類したが、単一故障には単一縮退故障とオ
ープン故障があるため全ベクタからの故障候補点とその
状態値をもとに単一縮退故障とオープン故障を分類す
る。
In step 90, it is determined whether or not the frequency calculation has been completed for all the candidate points of all the vectors. If the frequency calculation has not been completed, the process returns to step 79, and the process returns to another combination circuit that has not performed the frequency calculation. The same processing as described above is performed. If it has been completed, the procedure proceeds to step 91. In step 91, the failure modes in all the vectors are calculated based on the failure candidates for each failure mode obtained in step 89. In step 89, the faults are classified into single faults and double faults. However, since single faults include single stuck-at faults and open faults, single stuck-at faults based on fault candidate points from all vectors and their state values are used. Classify faults and open faults.

【0125】分類方法は全ベクタの故障状態値と正常状
態値を併せて常に一定の状態値になるか否かで判断す
る。常に一定の状態値になれば0/1縮退故障とし、状
態値が時刻により0/1両方の値をとるようであればオ
ープン故障とする。2重故障についてはブリッジ故障と
して分類する。手順91で求めた各故障モード毎の故障
候補点をもとに、手順92で全ベクタの各故障候補点毎
の経路頻度を計算し、頻度の大きい順に重み付けを行
う。
In the classification method, the determination is made based on whether or not the fault state values and the normal state values of all the vectors always become a constant state value. If the state value always becomes constant, it is regarded as a 0/1 stuck-at fault, and if the state value takes both values of 0/1 depending on the time, it is regarded as an open failure. A double fault is classified as a bridge fault. Based on the failure candidate points for each failure mode obtained in step 91, the route frequency for each failure candidate point in all vectors is calculated in step 92, and weighting is performed in descending order of frequency.

【0126】さらに他の実施例を図35に示す。図35
の手順78〜90は図33の手順78〜90と同等であ
り、手順79では故障伝搬経路を出力端子側から入力端
子側へ再構成し、さらに経路の分岐、結合点を認識して
細分化する。手順88はこの分岐点、結合点での経路上
の故障伝搬を満たす条件を求める手順である。
FIG. 35 shows still another embodiment. FIG.
33 are the same as steps 78 to 90 in FIG. 33. In step 79, the fault propagation path is reconfigured from the output terminal side to the input terminal side. I do. Procedure 88 is a procedure for obtaining a condition that satisfies the fault propagation on the path at the branch point and the connection point.

【0127】さらに、故障箇所数による故障候補分類手
順89では、得られた故障候補に対して単一故障、2重
故障の分類を行う。手順90では全ベクタの全候補点の
頻度計算を終了したか否かを判定し、終了していないよ
うであれば手順79に戻り、頻度計算を行っていない別
の組合せ回路に対して前記と同様の処理を行う。終了し
ていれば手順93へと進む。
In the fault candidate classification procedure 89 based on the number of fault locations, the obtained fault candidates are classified into single faults and double faults. In step 90, it is determined whether or not the frequency calculation for all the candidate points of all the vectors has been completed. If it has not been completed, the process returns to the step 79, and the above is performed for another combinational circuit that has not performed the frequency calculation. The same processing is performed. If it has been completed, the procedure proceeds to step 93.

【0128】手順93では、手順89で得られた全ベク
タの故障箇所数毎の故障候補分類を用いて故障候補毎の
頻度を計算し、頻度の大きいものから順に並べ替えを行
う。さらに手順94では、全ベクタで故障モードの検査
を行い、故障モード毎に各故障候補の頻度計算を行う。
この手順93,94の操作は故障モードをより精細に求
めるための手順である.手順89で得られた故障箇所数
毎の分類で単一故障として得られたものの中にはオープ
ン故障のみならず、2重故障が含まれる場合もあるた
め、さらに精度に分類する必要がある場合には本操作を
行う。
In step 93, the frequency for each fault candidate is calculated using the fault candidate classification for each number of fault locations of all the vectors obtained in step 89, and rearrangement is performed in descending order of frequency. Further, in step 94, the failure mode is checked for all vectors, and the frequency of each failure candidate is calculated for each failure mode.
The operations of the procedures 93 and 94 are procedures for obtaining the failure mode more precisely. In the case where a single fault is obtained in the classification for each number of faults obtained in step 89, not only an open fault but also a double fault may be included, so it is necessary to further classify the fault. Perform this operation.

【0129】手順93で述べたように、単一故障であっ
ても故障推定状態値および正常推定状態値が常に一定で
なければオープン故障の可能性が高い。しかしながら、
図36に示すように全ベクタを通して推定状態値一定で
ない状態は単一故障の等価故障箇所として得られた故障
候補点間のブリッジ故障であることもある。図36中×
のついているところが同一時刻同一状態を持つと推定さ
れる故障箇所を示している。
As described in the procedure 93, even if the fault is a single fault, the possibility of an open fault is high unless the fault estimated state value and the normal estimated state value are always constant. However,
As shown in FIG. 36, the state where the estimated state value is not constant throughout all the vectors may be a bridge fault between candidate fault points obtained as a single fault equivalent fault location. × in FIG. 36
The portions marked with "" indicate a failure location that is presumed to have the same state at the same time.

【0130】従って、単一故障箇所からブリッジ故障を
抽出する手段として全ベクタを通して状態値が一定でな
い故障箇所を抽出し、さらにその故障箇所毎に頻度計算
を行い、頻度の大きいものから順に故障箇所同士の推定
状態値を比較して同一時刻同一状態の故障箇所を抽出す
る。そして、抽出された故障箇所の中からある閾値以上
の頻度を持つ任意の2箇所を選択して、同時に故障が存
在した場合の頻度を求める。本操作によりオープン故障
と想定されるものの中からさらに出力の故障状態をより
多く満たすブリッジ故障の抽出、選別が可能となる。
Therefore, as a means for extracting a bridge fault from a single fault location, a fault location whose state value is not constant is extracted through all vectors, and a frequency calculation is performed for each fault location. The estimated state values are compared with each other to extract a fault location in the same state at the same time. Then, any two locations having a frequency equal to or higher than a certain threshold are selected from the extracted failure locations, and the frequency in the case where a failure exists at the same time is obtained. By this operation, it is possible to extract and select a bridge fault that satisfies the output fault state more frequently from those assumed to be open faults.

【0131】手順92では図33の手順92と同様に、
単一0/1縮退故障、オープン故障、ブリッジ故障のモ
ード毎に分類された故障候補点に対し頻度数の並べ替え
を行い、推定故障箇所の重み付けを行う。この時ブリッ
ジ故障については、手順89で2重故障と分類された推
定ブリッジ故障箇所と手順94で得られた推定ブリッジ
故障箇所両方同じ扱いとし、頻度による重み付けを行
う。
In step 92, similarly to step 92 in FIG.
The frequency of the fault candidate points classified for each of the single 0/1 stuck-at fault, open fault, and bridge fault modes are rearranged, and the estimated fault location is weighted. At this time, regarding the bridging fault, both the estimated bridging fault location classified as a double fault in the procedure 89 and the estimated bridging fault location obtained in the procedure 94 are treated the same, and weighting is performed based on frequency.

【0132】別の実施例を図37に示す。本実施例は図
25の重み付けシーケンスに対して故障推定完了判定手
順95を加えたものであり、本機能により頻度による重
み付け精度が得られた段階で故障推定を停止できるた
め、演算処理時間の短縮化を最適に図ることが可能とな
る。
FIG. 37 shows another embodiment. In the present embodiment, the failure estimation completion determination procedure 95 is added to the weighting sequence of FIG. 25. Since the failure estimation can be stopped when the weighting accuracy by frequency is obtained by this function, the calculation processing time can be reduced. Optimization can be achieved.

【0133】まず、テスタの故障出力結果から故障出力
端子を抽出し、その端子を起点として組合せ回路抽出手
順71でダイナミックに組合せ回路抽出を行う。手順7
2は手順71で得られた組合せ回路毎に出力端子状態か
ら入力端子状態を求める手順であり、手順73は組合せ
回路の入力端子状態を求める際に得られる組合せ回路内
部の推定故障伝搬経路を登録する。手順71〜73を推
定状態が得られなくなるまで回路を溯るため、回路溯り
完了判定手順74で組合せ回路毎の推定続行か否かを制
御する。この時、同一テストベクタで他の未推定故障出
力端子が存在する場合には、同様に前記手順を繰り返
す。
First, a failure output terminal is extracted from the failure output result of the tester, and a combination circuit is dynamically extracted in a combination circuit extraction procedure 71 using the terminal as a starting point. Step 7
2 is a procedure for obtaining an input terminal state from an output terminal state for each combinational circuit obtained in step 71, and step 73 registers an estimated fault propagation path inside the combinational circuit obtained when obtaining the input terminal state of the combinational circuit. I do. In order to go back through the circuits until the estimated state cannot be obtained in steps 71 to 73, it is controlled whether or not to continue the estimation for each combinational circuit in the circuit backward completion determination step 74. At this time, if another unestimated fault output terminal exists in the same test vector, the above procedure is repeated in the same manner.

【0134】手順73でベクタ毎の故障推定が完了した
場合、手順72で得られた組合せ回路毎の推定故障伝搬
経路をもとに経路の分岐、結合認識を行い、故障推定箇
所から故障出力端子までの故障伝搬経路を再構成する。
この操作により故障伝搬経路上の故障候補点に対して単
一故障点、多重故障点、もしくは故障候補ではなく故障
伝搬経路であるのか分類が可能となる。手順76では手
順75で得られた結果を用い、さらにその時点での推定
状態値並びにそれまでに推定で用いた全ベクタの状態値
を用いて故障モードの分類を行う。手順77では故障候
補を故障出力端子数や故障伝搬経路等の頻度を用い、よ
り故障状態を満たす故障候補箇所ならびに状態値、故障
モードを総合的に判定し順位付けし、故障候補の確度と
して重み付けを行う。
When the fault estimation for each vector is completed in step 73, branching and connection recognition of the path are performed based on the estimated fault propagation path for each combinational circuit obtained in step 72, and the fault output terminal The fault propagation path up to is reconfigured.
By this operation, it is possible to classify a fault candidate point on the fault propagation path as a single fault point, a multiple fault point, or a fault propagation path instead of a fault candidate. In step 76, the failure mode is classified using the result obtained in step 75, and further using the estimated state value at that time and the state values of all vectors used in the estimation up to that time. In step 77, the failure candidates are comprehensively determined and ranked using the frequency of the number of failure output terminals, the number of failure propagation paths, etc., and the failure candidate locations, state values, and failure modes that further satisfy the failure state, and weighted as the failure candidate accuracy I do.

【0135】さらに、手順95では手順77で重み付け
として用いた故障出力端子数や故障伝搬経路数の頻度分
布を調べ、ある設定された閾値と比較して、 (1)閾値に満たない場合には、テスト結果の新たなベ
クタを用いて手順71に戻り、組合せ回路毎の回路溯り
を行う; (2)閾値以上の場合は故障候補の推定精度が得られた
として、故障推定を完了する; という頻度判定による故障推定終了判定を備える。
Further, in step 95, the frequency distribution of the number of fault output terminals and the number of fault propagation paths used as weights in step 77 is checked, and compared with a set threshold value. Then, the procedure returns to the procedure 71 using the new vector of the test result, and performs circuit traversal for each combinational circuit. (2) If the error is equal to or larger than the threshold value, it is determined that the fault candidate estimation accuracy is obtained, and the fault estimation is completed. A failure estimation termination determination by frequency determination is provided.

【0136】図38〜40は先の各実施例に対して故障
推定終了判定手順95を夫々挿入したものである。具体
的には、図38は図31頻度計算手順に手順95の故障
推定終了判定手順を、また図39は図33の経路間条件
を用いた重み付けシーケンスに手順95の故障推定終了
判定手順を、図40は図35のブリッジ故障詳細判定シ
ーケンスに手順95の故障推定終了判定手順を加え、演
算処理時間の短縮化を最適に図ることが可能としてい
る。図41は図25の機能を持つ装置のブロック図であ
る。
FIGS. 38 to 40 are obtained by inserting a failure estimation end determination procedure 95 into each of the above embodiments. Specifically, FIG. 38 shows the failure estimation termination determination procedure of step 95 in the frequency calculation procedure of FIG. 31, FIG. 39 shows the failure estimation termination determination procedure of procedure 95 in the weighting sequence using the inter-path condition of FIG. In FIG. 40, the failure estimation termination determination procedure of procedure 95 is added to the bridge failure detail determination sequence of FIG. 35, so that the calculation processing time can be shortened optimally. FIG. 41 is a block diagram of an apparatus having the function of FIG.

【0137】本装置では、最初に故障推定の対象となる
ネットリストをネットリスト管理部206に入力し記憶
させ、同時に故障推定を行うテストベクタを用いて求め
たLSIの入出力端子ならびにフリップフロップの期待
値を予め入出力端子、フリップフロップ期待値管理部2
07に入力し記憶させておく。また推定値、実測値管理
部209にはテスト結果の出力端子状態値を記録してお
く。
In this apparatus, first, a netlist to be subjected to fault estimation is input to the netlist management unit 206 and stored therein, and at the same time, the input / output terminals of the LSI and the flip-flops obtained by using the test vector for fault estimation are obtained. Input / output terminal for expected value, flip-flop expected value management unit 2
07 and stored. The estimated value / measured value management unit 209 records the output terminal state value of the test result.

【0138】シーケンス制御部205は201〜20
4,210〜213の各推定動作機能の動作制御を行
い、特にブロック相互間の待ち合わせ制御や動作順序制
御を行う。また、206〜209の各管理部は前記各推
定動作機能部からの情報検索や情報登録、削除を行いデ
ータの一元管理を行う。
The sequence control unit 205 includes
4, 210 to 213 are controlled, and particularly, queuing control between blocks and operation sequence control are performed. Each of the management units 206 to 209 performs information search, information registration, and deletion from each of the estimation operation function units, and performs unified management of data.

【0139】ネットリスト管理部206は先に述べたよ
うに対象となるLSI全回路のネット接続情報や、全回
路から部分回路に分割された回路の接続情報を記憶し管
理する。そして素子や経路の接続情報検索、部分回路登
録/削除を各ブロックの要求に応じて行う。
As described above, the net list management unit 206 stores and manages the net connection information of all the target LSI circuits and the connection information of the circuits divided from all the circuits into partial circuits. Then, connection information retrieval of elements and paths and registration / deletion of partial circuits are performed according to the request of each block.

【0140】同様に入出力端子、フリップフロップ期待
値管理部207も前記述べたように、対象となるLSI
の入出力端子および内部フリップフロップの期待値を記
憶し管理する。本ブロックは各ブロックからの経路や素
子の端子の期待値検索要求に対して期待値を検索して出
力し、状態値の登録/削除/修正、またフリップフロッ
プ以外の内部素子の期待値追加登録/削除の機能を持っ
ている。
Similarly, as described above, the input / output terminal and the flip-flop expected value management unit 207 also operate as a target LSI.
The expected values of the input / output terminals and internal flip-flops are stored and managed. This block searches and outputs the expected value in response to the expected value search request of the path and the terminal of the element from each block, and registers / deletes / corrects the state value and additionally registers the expected value of the internal element other than the flip-flop. / Delete function.

【0141】故障候補管理部208は故障箇所推定で得
られた候補点の素子名、経路名とその推定状態値ならび
にその時刻を記憶し管理する。本ブロックは各ブロック
からの経路や素子の端子の登録要求に対してそれらの情
報を登録し、また検索/削除/修正要求に対してそれぞ
れ検索結果出力、データ削除、データ修正等の動作を行
う機能を持っている。
The failure candidate management unit 208 stores and manages the element names and path names of the candidate points obtained by the failure location estimation, their estimated state values, and their times. This block registers such information in response to a request for registration of a path or a terminal of an element from each block, and performs operations such as output of search results, data deletion, and data correction in response to a search / deletion / correction request. Have a function.

【0142】故障候補管理部208では故障候補を管理
するが、推定値管理部209では推定時刻とその状態値
を管理する。したがって故障状態に関しては故障候補管
理部と推定値管理部とが連携してその情報を管理し、故
障状態以外の推定状態管理は本ブロックで行う。このブ
ロックでは故障/正常の状態に関わらず、推定時刻、状
態値の結果を管理し、各推定ブロックからの時刻、状態
値の登録/検索/削除/修正要求に対し、既登録結果を
もとに情報の管理、出力を行う。
The failure candidate management unit 208 manages the failure candidates, while the estimated value management unit 209 manages the estimated time and its state value. Therefore, regarding the failure state, the failure candidate management unit and the estimated value management unit manage the information in cooperation with each other, and the estimated state management other than the failure state is performed by this block. This block manages the estimated time and status value results regardless of the failure / normal status, and based on the registered results for the time / status value registration / search / deletion / correction requests from each estimated block. Manage and output information.

【0143】次に各故障推定機能ブロックであるが、組
合せ回路抽出部201はネットリスト管理部206に対
し接続情報検索を行いながら、かつ故障候補管理部20
8ならびに推定値管理部209に状態値検索行って、故
障伝搬経路を含むと考えられる組合せ回路を抽出し、ネ
ットリスト管理部にその部分回路を登録する。
Next, as for each of the failure estimation function blocks, the combinational circuit extraction unit 201 searches the net list management unit 206 for connection information while the failure candidate management unit 20
8 and a state value search by the estimated value management unit 209 to extract a combinational circuit considered to include the fault propagation path, and register the partial circuit in the netlist management unit.

【0144】組合せ回路状態推定部202は前記得られ
た部分回路である組合せ回路に対して、推定値、実測値
管理部209から当該組合せ回路の既に求まっている入
出力状態値を得、かつネットリスト管理部に対し回路接
続情報検索を行いながら、内部状態推定を行い、順次入
力方向へと状態推定を溯り、組合せ回路入力端子の状態
値を推定する。そして推定値、実測値管理部209に対
して組合せ回路入力状態の推定値を登録する。
The combinational circuit state estimating unit 202 obtains the estimated value and the input / output state value of the combinational circuit from the actually measured value managing unit 209 for the obtained combinational circuit, and The internal state is estimated while performing the circuit connection information search for the list management unit, and the state estimation is sequentially performed in the input direction to estimate the state value of the combination circuit input terminal. Then, the estimated value of the input state of the combinational circuit is registered in the estimated value / measured value management unit 209.

【0145】同時に故障伝搬経路抽出部203では前記
組合せ回路内部状態推定部で得られた結果をもとに、ネ
ットリスト管理部に対し回路接続情報を検索して組合せ
回路内部の伝搬経路を抽出する。この時入出力端子、フ
リップフロップ期待値管理部207より組合せ回路入出
力端子の期待値を得、内部回路の期待値を求めることに
より、推定故障伝搬経路を求める。この推定故障伝搬経
路は故障候補でもありえるため故障候補管理部208と
推定時刻、推定状態値を推定値、実測値管理部209に
対して登録する。
At the same time, the fault propagation path extracting section 203 retrieves circuit connection information from the netlist managing section based on the result obtained by the combinational circuit internal state estimating section and extracts a propagation path inside the combinational circuit. . At this time, the expected value of the combinational circuit input / output terminal is obtained from the input / output terminal / flip-flop expected value management unit 207, and the expected value of the internal circuit is obtained, thereby obtaining the estimated fault propagation path. Since this estimated fault propagation path can be a fault candidate, the fault candidate management unit 208 and the estimated time and estimated state value are registered in the estimated value and measured value management unit 209.

【0146】経路選択部204は前記組合せ回路状態推
定部202で得られた複数の組合せ回路入力状態推定値
を用いて端子、状態値共に共通な故障伝搬端子をまと
め、故障伝搬経路選択を行う。この経路選択部204で
まとめられた共通な端子および状態値は、共通グループ
として状態値の故障/正常に関わらず、推定値、実測値
管理部209に登録する。
The path selector 204 uses the plurality of combined circuit input state estimated values obtained by the combined circuit state estimator 202 to collect fault propagation terminals common to both terminals and state values, and selects a fault propagation path. The common terminals and state values compiled by the path selection unit 204 are registered as a common group in the estimated value / measured value management unit 209 regardless of whether the state value is faulty or normal.

【0147】故障伝搬経路再構成部210は組合せ回路
毎に故障候補管理部208に登録された故障候補点なら
びに推定状態値をもとに、ネットリスト管理部206に
対し回路接続情報検索を行いながら、各故障候補点とL
SIの故障出力端子までの故障伝搬経路を再構成し、各
故障候補間の経路や故障出力端子との関係を故障候補管
理部208に登録する。
The fault propagation path reconfiguring unit 210 searches the netlist managing unit 206 for circuit connection information based on the fault candidate points registered in the fault candidate managing unit 208 and the estimated state value for each combinational circuit. , Each fault candidate point and L
The fault propagation path to the fault output terminal of the SI is reconfigured, and the path between each fault candidate and the relationship with the fault output terminal are registered in the fault candidate management unit 208.

【0148】推定状態値判定部211は前記得られた故
障候補点ならびに時刻、推定故障状態値を故障候補管理
部208から得、さらに入出力端子、フリップフロップ
期待値管理部207、推定値、実測値管理部209から
全ベクタの故障候補点の状態値を検索して推定状態値が
常に一定か否かを判定する。
The estimated state value judging section 211 obtains the obtained fault candidate point, time, and estimated fault state value from the fault candidate managing section 208, and furthermore, an input / output terminal, a flip-flop expected value managing section 207, an estimated value, and an actual measurement value. The value management unit 209 searches the state values of the failure candidate points of all the vectors and determines whether the estimated state value is always constant.

【0149】故障モード分類部212は前記推定状態判
定部で得られた状態判定をもとに単一0/1縮退故障、
オープン故障、ブリッジ故障の分類を行う。この時前記
故障伝搬経路再構成部210で故障管理部208に登録
した各故障候補間の経路や故障出力端子との関係を検索
し、オープン故障、故障伝搬経路上の2点間のブリッジ
故障の可能性があるか否かを判定し詳細な分類を行う。
この分類した故障候補点ごとの故障モードは故障候補管
理部208に再度検索した状態値とともに登録を行う。
The failure mode classifying section 212 determines a single 0/1 stuck-at fault based on the state judgment obtained by the estimated state judging section.
Classify open faults and bridge faults. At this time, the fault propagation path reconfiguring section 210 searches for a path between each fault candidate registered in the fault management section 208 and a relation with a fault output terminal, and finds an open fault and a bridge fault between two points on the fault propagation path. It is determined whether there is a possibility, and detailed classification is performed.
The classified failure mode for each failure candidate point is registered in the failure candidate management unit 208 together with the state value searched again.

【0150】頻度重み付け部213は故障管理部208
に登録された各故障候補毎の状態値、故障モード分類、
各故障候補間の経路や故障出力端子との関係を検索し、
故障出力端子数もしくは推定故障伝搬経路数の頻度をも
とに総合的に各故障候補点の推定の確からしさを求め、
各故障モードごとに順位付けを行う。
The frequency weighting section 213 is provided for the failure management section 208.
State value, failure mode classification,
Search the route between each fault candidate and the relationship with the fault output terminal,
Based on the frequency of the number of fault output terminals or the number of estimated fault propagation paths, comprehensively determine the likelihood of estimation of each fault candidate point,
Ranking is performed for each failure mode.

【0151】図42は別の装置のブロック図であり、図
41と同等部分は同等符号にて示す。基本的に図41の
例と機能は同等であるが、先の実施例でのネットリスト
を記憶させておくネットリスト管理部、入出力端子なら
びにフリップフロップの期待値を予め貯えておく入出力
端子、フリップフロップ期待値管理部、またテスト結果
の出力端子状態値を記録しておく推定値、実測値管理
部、さらに推定結果の故障候補を記憶しておく故障管理
部をそれぞれサーバとしてネットワーク上に備えてい
る。
FIG. 42 is a block diagram of another apparatus, and the same parts as those in FIG. 41 are denoted by the same reference numerals. Basically, the function is the same as that of the example of FIG. 41, but the netlist management unit for storing the netlist in the previous embodiment, the input / output terminal, and the input / output terminal for storing the expected value of the flip-flop in advance A flip-flop expected value management unit, an estimated value for recording the output terminal state value of the test result, an actually measured value management unit, and a failure management unit for further storing a failure candidate of the estimation result as a server on the network. Have.

【0152】310〜313の各管理サーバは201〜
20,210〜213の各推定動作機能部のクライアン
トからの情報検索や情報登録、削除要求をネットワーク
を介して受付け、要求に基づいて処理を行い、処理完了
通知を各要求元のクライアントに対して返し、データの
一元管理を行う。
Each of the management servers 310 to 313 has a management server 201 to 201.
The information search, information registration, and deletion requests from the clients of the estimation operation function units 20, 210 to 213 are received via the network, the processing is performed based on the requests, and a processing completion notification is sent to each requesting client. Returns and performs unified management of data.

【0153】シーケンス制御部205は201〜20
4、210〜213の各推定動作機能の動作制御を行
い、特にブロック相互間の待ち合わせ制御や動作順序制
御を行う。各状態推定機能部である組合せ回路抽出部2
01、組合せ回路状態推定部202、故障伝搬経路抽出
部203、経路選択部204、故障伝搬経路再構成部2
10、推定状態値判定部211、故障モード分類部21
2、頻度重み付け部213は先の各状態推定機能部と同
等である。
The sequence control unit 205 includes
4, and performs operation control of each estimation operation function of 210 to 213, and particularly controls queuing between blocks and operation sequence control. Combinational circuit extractor 2, which is each state estimator
01, combinational circuit state estimator 202, fault propagation path extractor 203, path selector 204, fault propagation path reconstructor 2
10, estimated state value determination unit 211, failure mode classification unit 21
2. The frequency weighting unit 213 is equivalent to each of the state estimation function units described above.

【0154】[0154]

【発明の効果】本発明によれば、LSIの出力側から組
合せ回路を抽出し、全てのフェイルに対して抽出された
組合せ回路入力境界での故障伝搬値を順次推定して溯っ
ていく様にしたので、全回路全信号線に対して故障を仮
定し、全ベクタを用いて故障シミュレーションを行う場
合に比べ、必要な回路のみの推定演算で済み、演算量が
大幅に削減できるという効果がある。
According to the present invention, a combinational circuit is extracted from the output side of an LSI, and a fault propagation value at an input boundary of the combinational circuit extracted for all failures is sequentially estimated and traced back. Therefore, compared to the case where a fault is assumed for all the signal lines of all circuits and a fault simulation is performed using all the vectors, the estimation operation of only the necessary circuits is sufficient, and there is an effect that the operation amount can be greatly reduced. .

【0155】かつ個々の組合せ回路内故障伝搬経路推定
は抽出された組合せ回路に限定されるので、回路全体の
シミュレーションに比較し回路規模が大幅に小さくなり
計算量が大幅に減少できる。組合せ回路内の故障伝搬経
路抽出に関しても故障推定のための組合せ回路入力部故
障シミュレーション結果と正常な場合のシミュレーショ
ン結果の比較のみで行えるので、計算量も少なく抑えら
れ、かつ組合せ回路内の再収れん回路に対しても故障伝
搬経路が抽出できる。
Further, since the fault propagation path estimation in each combinational circuit is limited to the extracted combinational circuit, the circuit scale is greatly reduced as compared with the simulation of the entire circuit, and the amount of calculation can be greatly reduced. Since the fault propagation path extraction in the combinational circuit can be performed only by comparing the failure simulation result of the combinational circuit input part for failure estimation with the simulation result in a normal case, the amount of calculation can be reduced and the reconvergence in the combinational circuit can be reduced. The fault propagation path can be extracted for the circuit.

【0156】本手法の組合せ回路内の伝搬経路推定で
は、内部に故障が存在する場合、1若しくは2個の故障
が存在する場合と夫々仮定して推定するため、伝搬経路
の推定誤りを起こしにくい。
In the propagation path estimation in the combinational circuit according to the present method, estimation is performed by assuming that there is a fault inside the circuit and that there is one or two faults. .

【0157】また、全てのフェイルベクタに対して組合
せ回路の入力境界の故障伝搬値推定を行い、その故障伝
搬推定経路を追って更に前段の組合せ回路へと絞り込ん
でいく様にしたので、ブリッジ故障等の多重故障の場合
でも独立な故障伝搬と相互に影響し合った伝搬と両方を
想定できることになり、推定誤りを起こしにくい。タイ
ミング故障についてみても、結果として状態故障として
得られる情報からクリティカルパスを抽出し、タイミン
グ故障か否かを推定するので、推定誤りを起こしにく
い。
In addition, the fault propagation value at the input boundary of the combinational circuit is estimated for all the fail vectors, and the failure propagation estimation path is further narrowed down to the preceding combinational circuit. In the case of multiple faults, it is possible to assume both independent fault propagation and propagation that influence each other, and it is unlikely that an estimation error occurs. Regarding timing faults, a critical path is extracted from the information obtained as a state fault as a result, and whether or not a timing fault occurs is estimated.

【0158】更に個々の組合せ回路の入力状態推定につ
いても簡略化と故障伝搬経路選択を行いまとめることに
より、溯る経路並びに抽出する組合せ回路を大幅に削減
でき、演算量を削減できる。
Furthermore, by simplifying and estimating the input state of each of the combinational circuits and by selecting the fault propagation path, the number of paths going back and the combinational circuits to be extracted can be greatly reduced, and the amount of calculation can be reduced.

【0159】また、本手法によりスキャンパスが組込ま
れているものやROM,RAMが組込まれているものに
ついても最適なシーケンスで推定を行うことができるの
で、故障にかかる時間が大幅に短縮できるという効果が
ある。
In addition, it is possible to perform estimation with an optimum sequence even for a device incorporating a scan path or a device incorporating a ROM and a RAM according to the present method, so that the time required for failure can be greatly reduced. effective.

【0160】また実際の故障出力端子からダイナミック
に故障伝搬経路を含むと推定される組合せ回路を順次抽
出し、状態推定を行いかつ経路選択を行ってLSIの故
障箇所を推定していくため、故障推定に要する時間が他
の故障辞書を用いる方法と比較し大幅に短縮することが
できることである。これはLSIの大規模化が進むにつ
れ顕著になることが十分予想される。
Further, a combinational circuit which is dynamically estimated to include a fault propagation path is sequentially extracted from an actual fault output terminal, a state is estimated, and a path is selected to estimate an LSI fault location. The time required for the estimation can be greatly reduced as compared with the method using other failure dictionaries. It is fully expected that this will become more significant as the scale of LSIs increases.

【0161】その理由は、故障辞書を用いる従来方法の
場合予想される全てのノードに対して故障仮定をし故障
シミュレーションを行って故障辞書を作成するため、L
SIが大規模化するとその演算時間が大幅に増大するの
に対し、本方法は故障伝搬していると推定される経路を
含む組合せ回路に対して推定演算を行うため、シミュレ
ーションの演算対象がSI全体でなく部分的な組合せ回
路になり、LSIの大規模化に対しても故障辞書法のよ
うに大幅に演算時間増大することはないと考えられる。
The reason is that, in the case of the conventional method using the fault dictionary, a fault dictionary is created by making a fault simulation for all the expected nodes and performing a fault simulation.
When the SI becomes large in scale, the operation time is greatly increased. On the other hand, in the present method, since the estimation operation is performed on the combinational circuit including the path estimated to have propagated the fault, the operation target of the simulation is the SI operation. It is considered that the circuit is not a whole but a partial combinational circuit, and the operation time does not increase significantly as in the failure dictionary method even when the scale of the LSI is increased.

【0162】さらに、回路構成と故障箇所の出力端子か
らの論理深度に依存するため比較的論理深度の浅い場所
の故障は推定時間が大幅に短縮できることである。第1
の効果で推定シーケンスによる演算時間短縮を述べた
が、さらに大幅短縮が可能となる。加えて故障精度をあ
げたければ推定に用いるテストベクタを増やすことで対
応でき演算時間との推定精度とのトレードオフを制御で
きるという利点も挙げられる。
Further, since it depends on the circuit configuration and the logic depth from the output terminal of the fault location, a fault at a location with a relatively shallow logic depth can greatly reduce the estimation time. First
Although the effect of (1) described that the calculation time was shortened by the estimation sequence, further reduction can be achieved. In addition, if it is desired to increase the fault accuracy, the number of test vectors used for the estimation can be increased and the trade-off between the calculation time and the estimation accuracy can be controlled.

【0163】その理由は、故障辞書の場合全ての故障仮
定点とその出力との関係を検索辞書として用意しないと
故障箇所の絞り込みができないが、本手法は故障出力端
子からダイナミックに回路抽出を行い入力方向へと溯る
ため、故障箇所の場所が出力端子から浅いと溯りの到達
が早いため、LSIの規模に関係なく比較的短時間で故
障箇所の絞り込みが可能となる。
The reason is that, in the case of a fault dictionary, the location of a fault cannot be narrowed down unless a relationship between all fault assumption points and its outputs is prepared as a search dictionary. However, in this method, a circuit is dynamically extracted from a fault output terminal. Since it goes back in the input direction, if the location of the fault location is shallow from the output terminal, the location of the fault location is quick, so that the fault location can be narrowed down in a relatively short time regardless of the scale of the LSI.

【0164】さらにはまた、故障精度をあげたければ推
定に用いるテストベクタを増やすことで対応できるた
め、演算時間との推定精度とのトレードオフを制御でき
るという利点も挙げられる。
Furthermore, if it is desired to increase the fault accuracy, it is possible to increase the number of test vectors used for the estimation, so that a trade-off between the calculation time and the estimation accuracy can be controlled.

【0165】その理由は故障推定をテスト結果逐次読み
込んでいくことで行い、かつ得られた故障推定結果のみ
を用いて頻度数の順位付けを行い重み付けをするため、
推定精度をよりあげたければ要求するレベルに達するま
でテスト結果を読み込み、満足する結果に達した時点で
推定を打ち切ることが容易に可能であるからである。
The reason is that failure estimation is performed by sequentially reading test results, and frequency numbers are ranked and weighted using only the obtained failure estimation results.
This is because, if it is desired to improve the estimation accuracy, it is possible to easily read the test result until the required level is reached and stop the estimation when the result is satisfied.

【0166】また,故障辞書法と異なりブリッジ故障で
ある2重故障まで故障を想定しているため、単一縮退故
障、オープン故障、ブリッジ故障が比較的精度良く推定
できることである。
Further, unlike the fault dictionary method, faults are assumed up to double faults, which are bridge faults, so that a single stuck-at fault, open fault, and bridge fault can be estimated with relatively high accuracy.

【0167】その理由は、2重故障を想定して推定故障
伝搬経路を求め、得られた経路上で2重故障を仮定する
ため、より絞られた範囲で故障仮定でき、精度も良くな
るからである。また、組合せ回路毎に得られた推定故障
伝搬経路を再構成し、故障候補点から故障出力端子まで
細分化しながら関連付けるため、出力端子近くのノード
の重みが高くなることを回避でき各故障モードの精度が
あげられるためである。それに対し故障辞書の場合に
は、故障シミュレーションを2重故障に拡張すると、ネ
ット数の2乗に近い数の組合せで故障仮定を行う必要が
あり、その組合せ数が爆発的に増大し、故障シミュレー
ションの処理時間の点で現実的ではない。
The reason is that an estimated fault propagation path is determined assuming a double fault, and a double fault is assumed on the obtained path, so that faults can be assumed within a narrower range and accuracy is improved. It is. In addition, since the estimated fault propagation path obtained for each combinational circuit is reconstructed and subdivided and associated from the fault candidate point to the fault output terminal, the weight of the node near the output terminal can be prevented from becoming high, and each fault mode can be avoided. This is because accuracy is improved. On the other hand, in the case of a fault dictionary, if the fault simulation is extended to a double fault, it is necessary to make a fault assumption with a combination of numbers close to the square of the number of nets, and the number of combinations increases explosively. Is not realistic in terms of processing time.

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

【図1】本発明の第1の実施例を示すフローチャートで
ある。
FIG. 1 is a flowchart showing a first embodiment of the present invention.

【図2】組合せ回路内部の故障伝搬経路を推定した図で
あり、(a)は組合せ回路内部に故障が存在しない場
合、(b)は組合せ回路内部に1箇所故障が存在する場
合、(c)は組合せ回路内部に2箇所故障が存在する場
合の図である。
2A and 2B are diagrams in which a fault propagation path inside a combinational circuit is estimated, wherein FIG. 2A shows a case where no fault exists inside the combinational circuit, FIG. 2B shows a case where a fault exists inside the combinational circuit, and FIG. () Is a diagram when two failures exist inside the combinational circuit.

【図3】図1のフローチャートの変形例である。FIG. 3 is a modification of the flowchart of FIG. 1;

【図4】組合せ回路入力端子状態推定時の簡略化操作を
示した図である。
FIG. 4 is a diagram showing a simplified operation at the time of estimating a combination circuit input terminal state.

【図5】組合せ回路内に故障箇所がないと想定した場合
の故障伝搬経路出力シーケンス(各ノード状態推定毎の
比較)を示すフローチャートである。
FIG. 5 is a flowchart showing a fault propagation path output sequence (comparison for each node state estimation) when it is assumed that there is no fault location in the combinational circuit.

【図6】組合せ回路内に故障箇所がないと想定した場合
の故障伝搬経路出力シーケンス(組合せ回路入力端子状
態推定後の比較)を示すフローチャートである。
FIG. 6 is a flowchart showing a fault propagation path output sequence (comparison after estimating the state of the input terminal of the combinational circuit) when it is assumed that there is no failure point in the combinational circuit.

【図7】組合せ回路内に故障箇所が存在すると仮定した
場合の故障伝搬経路出力シーケンス(各ノード状態推定
毎の比較)を示すフローチャートである。
FIG. 7 is a flowchart showing a fault propagation path output sequence (comparison for each node state estimation) when it is assumed that a fault location exists in the combinational circuit.

【図8】組合せ回路内に故障箇所が存在すると仮定した
場合の故障伝搬経路出力シーケンス(組合せ回路入力端
子状態推定後シミュレーション結果との比較)を示すフ
ローチャートである。
FIG. 8 is a flowchart showing a fault propagation path output sequence (comparison with a simulation result after estimating the state of the input terminals of the combinational circuit) when it is assumed that a failure point exists in the combinational circuit.

【図9】組合せ回路内故障伝搬経路抽出を示す図であ
り、(a)組合せ回路内に故障箇所が存在すると仮定し
た場合の故障伝搬経路を求める図(各ノード状態推定毎
の比較)、(b)は組合せ回路内に故障箇所が存在する
と仮定した場合の故障伝搬経路を求める図(組合せ回路
入力端子状態推定後シミュレーション結果との比較)で
ある。
FIGS. 9A and 9B are diagrams showing extraction of a fault propagation path in a combinational circuit, and FIG. 9A is a diagram for finding a fault propagation path when a fault location is assumed to exist in the combinational circuit (comparison for each node state estimation); FIG. 6B is a diagram for obtaining a fault propagation path when a fault location is assumed to exist in the combinational circuit (comparison with a simulation result after estimating the input terminal state of the combinational circuit).

【図10】本発明の第2の実施例を示すフローチャート
である。
FIG. 10 is a flowchart showing a second embodiment of the present invention.

【図11】組合せ回路入力端子状態推定での経路選択手
法を示すもので、フェイル端子毎に全てのベクタをまと
める場合の図である。
FIG. 11 is a diagram showing a route selection method for estimating the input state of a combinational circuit, in which all vectors are combined for each fail terminal.

【図12】同じくフェイル端子毎に全てのベクタをまと
め、フェイルの出現順に選択する場合の図である。
FIG. 12 is a diagram showing a case where all vectors are similarly grouped for each fail terminal and the order of appearance of the fail is selected.

【図13】同じくフェイル端子毎に全てのベクタをまと
め、フェイルとなっているベクタが多いものから順に選
択する場合の図である。
FIG. 13 is a diagram showing a case in which all vectors are similarly grouped for each fail terminal, and the vectors having failed are selected in descending order.

【図14】同じくフェイル端子毎に全てのベクタをまと
め、フェイルとなっているベクタが多いものから順に複
数端子を選択する場合の図である。
FIG. 14 is a diagram showing a case in which all vectors are combined for each fail terminal and a plurality of terminals are selected in descending order of the number of failed vectors.

【図15】各組合せ回路毎の推定結果における組合せ回
路内推定故障箇所数と故障種別との関係を示す図表であ
る。
FIG. 15 is a table showing the relationship between the estimated number of fault locations in the combination circuit and the failure type in the estimation result for each combination circuit.

【図16】故障モードと故障箇所並びに状態の関係を示
す図表である。
FIG. 16 is a table showing a relationship between a failure mode, a failure location, and a state.

【図17】重ね合わせにより故障候補点を抽出する図で
ある。
FIG. 17 is a diagram for extracting candidate fault points by superposition.

【図18】故障候補点出現頻度計算を示す図である。FIG. 18 is a diagram illustrating calculation of a failure candidate point appearance frequency.

【図19】推定故障候補箇所にラッチが含まれる場合の
説明図である。
FIG. 19 is an explanatory diagram of a case where a latch is included in an estimated failure candidate location.

【図20】タイミング不良の判定フローチャートであ
る。
FIG. 20 is a flowchart for determining a timing failure.

【図21】回路中にスキャンFFを含む場合の説明図で
ある。
FIG. 21 is an explanatory diagram of a case where a scan FF is included in a circuit.

【図22】メモリセルに到達した場合の溯り方向を示す
図である。
FIG. 22 is a diagram showing a backward direction when a memory cell is reached.

【図23】メモリセルの溯りのフローチャートである。FIG. 23 is a flowchart of memory cell retrace.

【図24】図10のフローチャートの変形例である。FIG. 24 is a modification of the flowchart of FIG. 10;

【図25】本発明の別の実施例の重み付け概略フローチ
ャートである。
FIG. 25 is a schematic flowchart of weighting according to another embodiment of the present invention;

【図26】本発明の実施例における故障箇所推定手法の
詳細フローチャートである。
FIG. 26 is a detailed flowchart of a fault location estimating method according to the embodiment of the present invention.

【図27】図25の故障出力端子数頻度の重み付けシー
ケンス詳細フローチャート
FIG. 27 is a detailed flowchart of the weighting sequence of the frequency of the number of failure output terminals in FIG. 25;

【図28】(a)は組合せ回路内に故障がない場合の故
障伝搬の様子、(b)は組合せ回路内に単一故障がある
場合の故障伝搬の様子、(c)は組合せ回路内にブリッ
ジ故障がある場合の故障伝搬様子を夫々示す図である。
28A shows a state of fault propagation when there is no fault in the combinational circuit, FIG. 28B shows a state of fault propagation when there is a single fault in the combinational circuit, and FIG. It is a figure which shows each failure propagation situation when there is a bridge failure.

【図29】経路選択を説明図する図である。FIG. 29 is a diagram illustrating route selection.

【図30】故障出力端子数頻度の重み付け説明図であ
る。
FIG. 30 is an explanatory diagram for weighting the frequency of failure output terminals.

【図31】故障伝搬経路数頻度の重み付けシーケンス詳
細フローチャートである。
FIG. 31 is a detailed flowchart of a weighting sequence for the frequency of the number of fault propagation paths.

【図32】故障伝搬経路数頻度の重み付け説明図であ
る。
FIG. 32 is an explanatory diagram of weighting the frequency of the number of fault propagation paths.

【図33】経路間条件を用いた重み付けシーケンス詳細
フローチャートである。
FIG. 33 is a detailed flowchart of a weighting sequence using an inter-path condition.

【図34】経路間条件を用いた重み付け説明図である。FIG. 34 is an explanatory diagram of weighting using an inter-path condition.

【図35】ブリッジ故障の詳細判定重み付けシーケンス
の詳細フローチャートである。
FIG. 35 is a detailed flowchart of a detailed judgment weighting sequence of a bridging fault.

【図36】ブリッジ故障の詳細判定重み付けの故障候補
説明図である。
FIG. 36 is an explanatory diagram of a failure candidate of a detailed determination weighting of a bridge failure.

【図37】頻度判定による故障推定完了判定の重み付け
フローチャートである。
FIG. 37 is a weighting flowchart for failure estimation completion determination by frequency determination.

【図38】頻度判定による重み付けシーケンス詳細フロ
ーチャートである。
FIG. 38 is a detailed flowchart of a weighting sequence based on frequency determination.

【図39】頻度判定による経路間条件を用いた重み付け
シーケンス詳細フローチャートである。
FIG. 39 is a detailed flowchart of a weighting sequence using an inter-path condition based on frequency determination.

【図40】頻度判定によるブリッジ故障の詳細判定重み
付けシーケンスの詳細フローチャートである。
FIG. 40 is a detailed flowchart of a bridge failure detailed determination weighting sequence based on frequency determination.

【図41】本重み付け手法を用いた故障箇所推定装置の
実施例を示す機能ブロック図である。
FIG. 41 is a functional block diagram showing an embodiment of a failure point estimation device using the present weighting method.

【図42】本重み付け手法を用いたクライアント/サー
バ型の故障箇所推定装置実施例を示す機能ブロック図で
ある。
FIG. 42 is a functional block diagram showing a client / server type fault location estimating apparatus embodiment using the weighting method.

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

100 組合せ回路 101 入力ラッチ 102 出力ラッチ 201 組合せ回路抽出部 202 組合せ回路状態推定部 203 故障伝搬経路抽出部 204 経路選択部 205 シーケンス制御部 206 ネットリスト管理部 207 入出力端子、フリップフロップ期待値管理部 208 故障候補管理部 209 推定値、実測値管理部 210 故障伝搬経路再構成部 211 推定状態値判定部 212 故障モード分類部 213 頻度重み付け部 310 ネットリスト管理サーバ 311 入出力端子,フリップフロップ期待値管理サー
バ 312 故障候補管理サーバ 313 推定値、実測値管理サーバ
REFERENCE SIGNS LIST 100 combinational circuit 101 input latch 102 output latch 201 combinational circuit extraction unit 202 combinational circuit state estimation unit 203 fault propagation path extraction unit 204 path selection unit 205 sequence control unit 206 netlist management unit 207 input / output terminal, flip-flop expected value management unit 208 Fault candidate management unit 209 Estimated value, measured value management unit 210 Fault propagation path reconstruction unit 211 Estimated state value judgment unit 212 Failure mode classification unit 213 Frequency weighting unit 310 Netlist management server 311 Input / output terminal, expected flip-flop value management Server 312 Failure candidate management server 313 Estimated value, measured value management server

Claims (29)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 予め用意したLSI内の全フリップフロ
ップの全テストべクタに対する全期待値情報と、実際の
テスタでのパス/フェイル出力情報と、全回路の接続情
報とを用い、前記LSI内の回路を前記フリップフロッ
プと組合せ回路とに分割して故障推定するようにした順
序回路の故障箇所推定方法であって、 フェイルベクタ毎に組合せ回路の入力境界での故障伝搬
推定値を求めるシーケンスとして、 実際のフェイル出力ピンもしくはフェイルと推定される
フリップフロップ入力線からLSIの入力ピン若しくは
フリップフロップ出力に到達するまで入力方向に組合せ
回路を抽出し、さらに抽出された組合せ回路の入力から
出力方向にLSIの出力ピン若しくはフリップフロップ
入力まで回路を抽出して、再度得られた出力ピン若しく
はフリップフロップの入力端子から入力方向に前記組合
せ回路を抽出する手順と、 当該組合せ回路の出力部での推定故障出力並びに推定正
常出力の状態値とを用いて、 (1)組合せ回路内に故障が存在しないと仮定する場
合、 (2)組合せ回路内に故障が存在すると仮定する場合、 の推定を行い、組合せ回路内に故障が存在しないと推定
される場合については組合せ回路入力端子に前段から伝
搬している信号の状態値を推定し、また、組合せ回路内
部に故障が存在すると推定される場合については、組合
せ回路内推定故障箇所並びに同状態で前記抽出された組
合せ回路入力端子に前段から伝搬していると推定できる
場合には組合せ回路入力端子信号の状態値もあわせて推
定する手順と、 出力状態を満たす故障推定箇所及び推定入力ベクタを求
める手順と、 前記得られた組合せ回路入力端子での複数の推定入力ベ
クタ全てを用いブール代数の簡略化を行う手順と、 さらにこの簡略化後の推定入力ベクタを期待値との比較
により故障伝搬端子、正常端子、出力状態決定に関与し
ない端子の各状態値に分類し、かつその時の状態を端子
毎に求める手順と、 前記得られた推定結果に故障伝搬推定端子が存在する場
合には、最初の組合せ回路抽出手順から再度実行させる
手順と、 前記組合せ回路毎の推定で得られた全ての組合せ回路内
推定故障箇所の一致判定を行い全ての状態を満たす同一
箇所を抽出する手順とを含み、 最終的な故障推定リストを作成するようにしたことを特
徴とする順序回路の故障箇所推定方法。
1. An LSI which uses all expected value information for all test vectors of all flip-flops in a previously prepared LSI, pass / fail output information of an actual tester, and connection information of all circuits. A fault location estimation method for a sequential circuit in which the circuit is divided into the flip-flop and the combinational circuit to estimate a failure, wherein a failure propagation estimation value at an input boundary of the combinational circuit is determined for each fail vector. The combinational circuit is extracted in the input direction from the actual fail output pin or the flip-flop input line which is presumed to have failed to the input pin or the flip-flop output of the LSI, and further from the input of the extracted combinational circuit to the output direction. The circuit is extracted up to the output pin or flip-flop input of the LSI, and the output pin or the Using the procedure for extracting the combinational circuit from the input terminal of the flip-flop in the input direction and the estimated failure output at the output unit of the combinational circuit and the state value of the estimated normal output, (1) a failure in the combinational circuit When it is assumed that there is no fault, (2) When it is assumed that a fault exists in the combinational circuit, the estimation is performed. When it is estimated that no fault exists in the combinational circuit, the signal propagates from the preceding stage to the input terminal of the combinational circuit. The state value of the signal is estimated, and when it is estimated that a fault exists inside the combinational circuit, the signal is propagated from the preceding stage to the estimated fault location in the combinational circuit and the extracted combinational circuit input terminal in the same state. If it can be estimated that the fault has occurred, the procedure for estimating the state value of the combinational circuit input terminal signal is also used. A procedure for obtaining, a procedure for simplifying the Boolean algebra using all of the plurality of estimated input vectors at the obtained combination circuit input terminal, and a fault propagation by comparing the simplified estimated input vector with an expected value. A procedure for classifying each terminal into status values of terminals, normal terminals, and terminals that are not involved in output state determination, and obtaining a state at that time for each terminal, and when a fault propagation estimation terminal is present in the obtained estimation result, A procedure for re-executing from the first combinational circuit extraction procedure, and a procedure for determining the coincidence of all the estimated fault locations in the combinational circuit obtained by the estimation for each combinational circuit and extracting the same location satisfying all the states. A fault location estimation method for a sequential circuit, wherein a final failure estimation list is created.
【請求項2】 前記組合わせ回路入力端子の故障推定箇
所及び推定入力べクタを求める手順に代えて、 組合せ回路内に故障が存在しないと仮定する場合には、
前記組合せ回路の出力部での推定故障出力並びに推定正
常出力の状態値を用いて、請求項1と同様の手順を行
い、組合せ回路内に故障が存在すると仮定する場合に
は、組合せ回路出力部での推定故障端子の状態値のみを
用いて組合せ回路入力端子の状態推定を行う手順と、 この得られた各々の推定べクタを用いて推定べクタ毎に
論理シミュレーシヨンを行うことにより各ノード毎の状
態値を求める手順と、 前記組合せ回路入力端子に期待値を与え論理シミュレー
シヨンを行い、この得られた各ベクタ毎の各ノード状態
値とを比較することにより各推定べクタ毎に故障伝搬経
路を抽出する手順と、 この得られた故障伝搬経路のうち最初に用いた組合せ回
路出力部の推定故障出力端子以外に故障が伝搬している
経路並びに当該経路と推定故障出力端子と交差している
場合にはその交差点から前記組合せ回路入力端子に到達
するまでの全ての故障伝搬経路を抽出して、この得られ
た故障伝搬経路から削除して故障箇所並びに推定入力ベ
クタが存在する場合にはその推定入力ベクタを求める手
順とを含むことを特徴とする請求項1記載の順序回路の
故障箇所推定方法。
2. A method according to claim 1, wherein in place of the procedure for obtaining the estimated fault location and the estimated input vector of the combination circuit input terminal, it is assumed that no fault exists in the combination circuit.
The same procedure as in claim 1 is performed using the state values of the estimated fault output and the estimated normal output at the output section of the combinational circuit, and when it is assumed that a fault exists in the combinational circuit, the combinational circuit output section The procedure for estimating the state of the input terminal of the combinational circuit using only the state value of the estimated failure terminal in step (a), and performing the logic simulation for each estimation vector using each obtained estimation vector A procedure for obtaining a state value for each estimating vector, performing a logic simulation by giving an expected value to the input terminal of the combinational circuit, and comparing the obtained node state value for each vector with a fault for each estimated vector. A procedure for extracting a propagation path, a path in which a fault has propagated to the obtained fault propagation path other than the estimated failure output terminal of the combinational circuit output unit used first, and the path and the estimated failure output If the terminal intersects with the terminal, all fault propagation paths from the intersection to the combinational circuit input terminal are extracted and deleted from the obtained fault propagation path to determine the fault location and the estimated input vector. 2. A method according to claim 1, further comprising the step of obtaining an estimated input vector of the sequential circuit, if any.
【請求項3】 前記推定入力ベクタを求める手順におい
て、前記(1),(2)による組合せ回路内部の故障箇
所を推定する操作の後に、当該組合せ回路出力状態を得
るべく同様な組合せ回路内部の故障推定操作により既に
得られている故障推定箇所の数と新たに当該組合せ回路
内の故障箇所推定で得られた数を合算する手順と、 この合算して得られた故障推定箇所数から縮退故障、オ
ープン故障、ショート故障、タイミング故障等想定する
故障種別毎に分類し、かつ故障種別毎に規定された故障
推定箇所数と照合することにより規定された故障推定数
を超える新たな故障推定箇所に対しては削除し、同時に
同状態で得られた組合せ回路入力端子の入力推定べクタ
も削除する手順とを含み、 各組合せ回路の入力端子状態推定毎に得られる組合せ回
路入力推定ベクタ数を削減するようにしたことを特徴と
する請求項1記載の順序回路の故障箇所推定方法。
3. A procedure for determining the estimated input vector, wherein (1), by following the operation of estimating the combinational circuit inside the failure point, similar combinations within the circuit to obtain the combination circuit output state (2) A procedure for summing the number of fault locations already obtained by the fault estimation operation and the number newly obtained by fault location estimation in the combinational circuit; and a stuck-at fault based on the sum of the estimated fault locations obtained by the summation. Open faults, short-circuit faults, timing faults, etc. are classified by assumed fault type, and by comparing with the estimated number of fault locations specified for each fault type, a new estimated fault location exceeding the estimated fault number specified And simultaneously deleting the input estimation vector of the combinational circuit input terminal obtained in the same state. Fault location estimation method of the sequential circuit according to claim 1, characterized in that so as to reduce the number of circuit input estimation vector.
【請求項4】 前記簡略化後の推定入力ベクタを期待値
との比較により故障伝搬端子、正常端子、出力状態決定
に関与しない端子の各状態値に分類し、かつその時の状
態を端子毎に求める手順に代えて、 前記組合せ回路入力端子での複数の推定入力ベクタ全て
を用いて各推定べクタ毎に組合せ回路入力端子の期待値
と比較し故障伝搬入力端子を抽出する手順と、 前記推定された組合せ回路入力端子の全ベクタを前記抽
出された故障伝搬端子毎に分類する手順と、 前記故障伝搬端子毎に分類された組合せ回路入力端子の
全推定べクタを調べ分類された全ての推定べクタでー致
している端子の状態を、 (1)期待値とー致している状態を表わしかつその状態
値、 (2)期待値と異なっている状態を表わしかつその状態
値、 で夫々表わし、また分類された推定べクタの中に状態が
期待値と一致しているべクタと−致していないべクタが
ある場合には、 (3)故障が伝搬してきている可能性を表わしかつその
状態値で表わし組合せ回路入力端子の推定ベクタ数を削
減し、組合せ回路入力端子を故障伝搬端子、正常端子、
出力状態決定に関与しない端子に分類する手順とを含む
ことを特徴とする請求項1記載の順序回路の故障箇所推
定方法。
4. The method according to claim 1, wherein said simplified input vector is an expected value.
Fault propagation terminal, normal terminal, output state determined by comparison with
Are classified into each state value of the terminal that is not related to
Instead of the procedure for determining the state for each terminal, a fault propagation input terminal is extracted by comparing the estimated value of each combination vector with the expected value of the combination circuit input terminal using all of the plurality of estimated input vectors at the combination circuit input terminal. A step of classifying all the vectors of the estimated combinational circuit input terminals for each of the extracted fault propagation terminals, and examining and classifying all the estimation vectors of the combinational circuit input terminals classified for each of the failure propagation terminals. The states of the terminals that correspond to all the estimated vectors obtained are as follows: (1) the state that is in agreement with the expected value and its state value; and (2) the state that is different from the expected value and its state. If there is a vector whose state matches the expected value and a vector that does not match the expected value in the classified estimated vectors, (3) the fault may have propagated Expresses sex and its state Reduce the estimated number of vectors of the combinational circuit input terminal by expressing the combinational circuit input terminal as a fault propagation terminal, a normal terminal,
2. A method according to claim 1, further comprising the step of classifying the terminal into a terminal not involved in determining the output state.
【請求項5】 前記簡略化後の推定入力ベクタを期待値
との比較により故障伝搬端子、正常端子、出力状態決定
に関与しない端子の各状態値に分類し、かつその時の状
態を端子毎に求める手順において、 前記組合せ回路入力端子での複数の推定入力ベクタ全て
を用いて各推定べクタ毎に組合せ回路入力端子の期待値
と比較し故障伝搬入力端子を抽出する手順の後に、請求
項1で得られた推定入力ベクタ全てを用い、前記故障伝
搬入力端子毎に故障の出現頻度を計数する計数手順と、 出現頻度の多い端子から順にその端子が故障であるべク
タのみを抽出し、その抽出された全ての推定べクタから
一致している端子の状態を、 (1)期待値と−致している状態を表わしかつその状態
値、 (2)期待値と異なっている状態を表わしかつその状態
値、 で夫々表わし、また分類された推定べクタの中に状態が
期待値と−致しているベクタと一致していないベクタが
ある場合には、 (3)故障が伝搬してきている可能性を表わしかつその
状態値で表し、組合せ回路入力端子の推定ベクタ数を削
減し、組合せ回路入力端子を故障伝搬端子と正常端子、
出力状態決定に関与しない端子に分類する分類手順と、前記計数手順及び前記分類手順を前記 推定入力ベクタ全
てを網羅するまで繰り返す手順とを含み、 各組合せ回路の入力端子状態推定毎に得られる組合せ回
路入力推定べクタ数を削減するようにしたことを特徴と
する請求項4記載の順序回路の故障箇所推定方法。
5. The method according to claim 1, wherein said simplified input vector is an expected value.
Fault propagation terminal, normal terminal, output state determined by comparison with
Are classified into each state value of the terminal that is not related to
In the procedure for determining the state for each terminal, the procedure for extracting the fault propagation input terminal by comparing the expected value of the combinational circuit input terminal for each estimation vector using all of the plurality of estimated input vectors at the combinational circuit input terminal later, using all the estimated input vector obtained in claim 1, wherein the fault propagation and counting procedure for counting a frequency of occurrence of a failure for each input terminal, only base Kuta order that terminal from more frequency of occurrence pin is a failure Is extracted, and the state of the terminal that matches from all of the extracted estimation vectors is represented by (1) a state that is in agreement with the expected value and its state value, and (2) different from the expected value. If there is a vector that represents a state and its state value, and each of the classified estimating vectors does not match a vector whose state matches the expected value, (3) the fault propagates Possible The expressed and represented in the state value, reducing the estimated number vector combination circuit input terminal, fault propagation terminal and a normal terminal of the combination circuit input terminal,
A classification procedure for classifying the input state into terminals that are not involved in the output state determination; and a procedure for repeating the counting procedure and the classification procedure until all the estimated input vectors are covered. 5. The method according to claim 4, wherein the number of circuit input estimation vectors is reduced.
【請求項6】 前記組合せ回路入力端子を故障伝搬端
子、正常端子、出力状態決定に関与しない端子に分類す
る手順において、前記推定入力ベクタ全てを用いて得ら
れた故障伝搬入力端子毎に故障の出現頻度を計数する手
順の後に、この得られた出現頻度からある決まった閾値
をもとに故障伝搬端子を抽出し、その抽出された複数の
故障伝搬推定端子が全て故障であると推定されたべクタ
を抽出する抽出手順と、 前記抽出されたべクタからー致している端子の状態を、 (1)期待値と−致している状態を表わしかつその状態
値、 (2)期待値と異なっている状態を表わしかつその状態
値、 で表わし、また分類された推定べクタの中に状態が期待
値と−致しているべクタと−致していないべクタがある
場合には、 (3)故障が伝搬してきている可能性を表わしかつその
状態値で表わし組合せ回路入力端子の推定ベクタ数を削
減し、組合せ回路入力端子を故障伝搬端子、正常端子、
出力状態決定に関与しない端子に分類する分類手順と、前記抽出順及び前記分類手順前記推定入力ベクタ全て
を網羅するまで繰り返す手順とを含み、 各組合せ回路の入力端子状態推定毎に得られる組合せ回
路入力推定べクタ数を削減するようにしたことを特徴と
する請求項5記載の順序回路の故障箇所推定方法。
Wherein said combining circuit input terminal fault propagation terminals, normally the terminal, in the procedure for classifying the terminal that is not involved in the output state determination, the failure for each of the estimated input vector failure propagation input terminals obtained with all after step for counting the occurrence frequency, extracts the fault propagation terminal based on certain predetermined threshold value from the obtained frequency, the extracted plurality of fault propagation estimation terminal is estimated to be all faults an extraction procedure for extracting the Kuta, the state of the pins that match over from the extracted base Kuta, (1) the expected value and - represents a match with that state and its state value is different from the (2) the expected value (3) If there is a vector whose state matches the expected value and a vector that does not match the expected value in the classified estimated vectors, Propagating Possibility represents and reduce the estimated number vector combination circuit input terminal expressed in that state values, fault propagation terminal combination circuit input terminal, a normal terminal,
A classification procedure to classify the terminal that is not involved in the output state determination, and a procedure is repeated until the extracting order and the classification procedure to cover all the estimated input vector, combined obtained for each input terminal state estimation for each combination circuit 6. The method according to claim 5, wherein the number of circuit input estimation vectors is reduced.
【請求項7】 前記組合せ回路入力端子を故障伝搬端子
と正常端子、出力状態決定に関与しない端子に分類する
手順において、前記推定入力ベクタ全てを用い、得られ
た故障伝搬入力端子毎に故障の出現頻度を計数する手順
の後に、ある決まった端子数を閾値として前記得られた
出現頻度を多い順に故障伝搬端子を抽出し、その抽出さ
れた複数の故障伝搬推定端子が全て故障であると推定さ
れたべクタを抽出する抽出手順と、 前記抽出されたべクタからー致している端子の状態を、 (1)期待値とー致している状態を表わしかつその状態
値、 (2)期待値と異なっている状態を表わしかつその状態
値、 で表わし、また分類された推定ベクタの中に状態が期待
値とー致しているべクタとー致していないベクタがある
場合には、 (3)故障が伝搬してきている可能性を表わしかつその
状態値で表わし組合せ回路入力端子の推定べクタ数を削
減し、組合せ回路入力端子を故障伝搬端子、正常端子、
出力状態決定に関与しない端子に分類する分類手順と、前記抽出手順及び前記分類手順前記推定入力ベクタ全
てを網羅するまで繰り返す手順とを含み、 各組合せ回路の入力端子状態推定毎に得られる組合せ回
路入力推定ベクタ数を削減するようにしたことを特徴と
する請求項5記載の順序回路の故障箇所推定方法。
Wherein said combining circuit input terminal fault propagation terminal and normal terminal, in the procedure for classifying the terminal that is not involved in the output state determination, the use of all estimated input vector, resulting failure propagation input terminals every failure After the procedure of counting the appearance frequency, the fault propagation terminals are extracted in descending order of the obtained appearance frequency using a certain number of terminals as a threshold, and it is estimated that all of the extracted fault propagation estimation terminals are faulty. An extraction procedure for extracting the extracted vector, and a state of the terminal corresponding to the extracted vector, (1) representing a state corresponding to the expected value and its state value, and (2) different from the expected value. (3) If there is a vector whose state matches the expected value and a vector that does not match the expected value in the classified estimated vector, Biography And represents a possibility has been and reducing the estimated base number Kuta combination circuit input terminal represented by its state value, the combinational circuit failure propagation pin an input terminal, a normal terminal,
A classification procedure to classify the terminal that is not involved in the output state determination, and a procedure is repeated until the extraction procedure and the classification procedure to cover all the estimated input vector, combined obtained for each input terminal state estimation for each combination circuit 6. The method according to claim 5, wherein the number of estimated circuit input vectors is reduced.
【請求項8】 請求項6の前記出現頻度からある決まっ
た閾値をもとに故障伝搬端子を抽出し、その抽出された
複数の故障伝搬推定端子が全て故障であると推定された
べクタを抽出する第1の抽出手順と、ある決まった端子
数を閾値として前記出現頻度を多い順に故障伝搬端子を
抽出し、その抽出された複数の故障伝搬推定端子が全て
故障であると推定されたべクタを抽出する第2の抽出手
とを組合せ、 故障伝搬推定端子毎の出現頻度がある決められた閾値以
上の端子については請求項6の手順と同様の手順で推定
べクタ抽出、推定べクタ削減を繰り返し、前記推定べク
タの抽出により故障伝搬推定端子毎の出現頻度が前記閾
値より小さくなった場合には、前記ある決まった端子数
を閾値として前記出現頻度を多い順に故障伝搬端子を抽
出し、その抽出された複数の故障伝搬推定端子が全て故
障であると推定されたべクタを抽出、削減し、全ての推
定ベクタを網羅するまで繰り返す手順を含むことを特徴
とする請求項請求項6記載の順序回路の故障箇所推定方
法。
8. A fault propagation terminal is extracted based on a certain threshold value based on the occurrence frequency according to claim 6, and a vector in which all of the extracted fault propagation estimation terminals are estimated to be faulty is extracted. a first extraction procedure to the certain fixed number of terminals to extract the fault propagation terminal of the frequency of occurrence in decreasing order as a threshold, base Kuta plurality of failure propagation estimation terminal that is the extracted was estimated to be all faults Second extraction hand to extract
The extraction of the estimated vector and the reduction of the estimated vector are repeated by the same procedure as the procedure of claim 6 for the terminal whose occurrence frequency for each fault propagation estimation terminal is equal to or more than a predetermined threshold value. If the frequency of occurrence of each failure propagation estimation terminal by extraction becomes smaller than the threshold value, the number of fixed terminal, wherein there is extracted the fault propagation terminal of the frequency of occurrence in decreasing order as a threshold, a plurality of which are the extracted 7. The method according to claim 6, further comprising the step of extracting and reducing vectors whose fault propagation estimation terminals are all assumed to be faulty, and repeating the process until all fault vectors are covered. Method.
【請求項9】 請求項1の故障伝搬端子と正常端子、出
力状態決定に関与しない端子に分類し、かつその時の状
態を端子毎に求める手順において、請求項1で得られた
組合せ回路入力端子での複数の推定入力ベクタ全てを用
いブール代数の簡略化を行う手順の後に、さらに請求項
5の前記計数手順、前記分類手順及び前記繰り返す手順
を、または請求項6の前記抽出手順、前記分類手順及び
前記繰り返す手順を、または請求項7の前記抽出手順、
前記分類手順及び前記繰り返す手順を、または請求項8
の前記第1の抽出手順、前記第2の抽出手順及び前記繰
り返す手順を含むことを特徴とする請求項5〜8いずれ
か記載の順序回路の故障箇所推定方法。
9. The combination circuit input terminal obtained in claim 1, wherein the fault propagation terminal and the normal terminal are classified into the terminals not involved in determining the output state, and the state at that time is determined for each terminal. all of the plurality of estimated input vector after the procedure for simplification of Boolean algebra using in further claims
5, the counting procedure, the classification procedure, and the repeating procedure
Or the extraction procedure, the classification procedure and
The repeating procedure, or the extracting procedure of claim 7,
9. The method of claim 8, wherein the classifying step and the repeating step are performed.
The first extraction procedure, the second extraction procedure and the
9. The method according to claim 5 , further comprising the step of returning a fault.
【請求項10】 前記組合せ回路の出力状態を満たす故
障推定箇所および推定入力ベクタを求める手順において
組合せ回路が抽出される毎に、得られた組合せ回路入力
端子に対して期待値を用い、予め組合せ回路内部の論理
シミュレーシヨンを行い、組合せ回路内の各ノードの期
待値を求める手順と、 組合せ回路の出力部での推定故障出力並びに推定正常出
力の状態値を用いて、 (1)組合せ回路内に故障が存在しないと仮定する場
合、 (2)組合せ回路内に故障が存在すると仮定する場合、 各々において出力端子から入力方向へと順次ノード毎に
推定を行い、組合せ回路内の故障並びに入力端子状態を
推定する際、推定値が得られる毎に前記得られた組合せ
回路内部の各ノードの期待値との照合を行うことによ
り、(1)の場合は推定故障出力端子から得られた入力
推定状態値までの故障伝搬経路を抽出し、(2)の場合
は推定故障出力端子から得られた推定故障推定箇所並び
に入力推定状態値までの推定故障伝搬経路を抽出する
出手順と、 論理和として得られる推定故障推定箇所並びに推定故障
伝搬経路と、論理積として得られる推定故障推定箇所並
びに推定故障伝搬経路とを管理する手順と、 請求項1と同様簡略化を行う手順を繰り返し行った後、
前記組合せ回路毎の推定で得られた全ての組合せ回路内
推定故障箇所並びに全ての推定故障伝搬経路を同一時間
単位に分類する手順と、 前記得られた同一時間単位の推定故障箇所並びに推定故
障伝搬経路を用いての場所的な一致を判定し全ての状態
を満たす同一箇所を抽出する手順とを含むことを特徴と
する請求1項記載の順序回路の故障箇所推定方法。
10. Every time a combinational circuit is extracted in a procedure for finding a fault estimation location and an estimated input vector satisfying the output state of the combinational circuit, an expected value is used for an obtained combinational circuit input terminal, (1) In the combinational circuit, using the procedure for performing the logic simulation inside the circuit to obtain the expected value of each node in the combinational circuit and the state value of the estimated fault output and the estimated normal output at the output section of the combinational circuit, (2) When it is assumed that a fault exists in the combinational circuit, estimation is performed for each node sequentially from the output terminal to the input direction in each case, and the fault in the combinational circuit and the input terminal When estimating the state, every time the estimated value is obtained, the estimated value is checked against the expected value of each node in the combinational circuit. The fault propagation path from the output terminal to the input estimated state value obtained is extracted, and in the case of (2), the estimated fault estimated location obtained from the estimated fault output terminal and the estimated fault propagation path to the input estimated state value are extracted. Lottery
And a procedure for managing the estimated fault estimated location and the estimated fault propagation path obtained as a logical sum and the estimated fault estimated location and the estimated fault propagation path obtained as a logical product. After repeating the steps,
A step of classifying all the estimated fault locations in the combination circuit and all the estimated fault propagation paths obtained by the estimation for each combination circuit in the same time unit, and a step of classifying the obtained estimated fault location and the estimated fault propagation in the same time unit 2. A method according to claim 1, further comprising the step of: determining a locational match using a route and extracting the same location satisfying all states.
【請求項11】 前記組合せ回路の出力状態を満たす故
障推定箇所および推定入力ベクタを求める手順において
組合せ回路が抽出される毎に、得られた組合せ回路入力
端子に対して期待値を用い、予め組合せ回路内部の論理
シミュレーシヨンを行い、組合せ回路内の各ノードの期
待値を求める手順と、 組合せ回路の出力部での推定故障出力並びに推定正常出
力の状態値を用いて、 (1)組合せ回路内に故障が存在しないと仮定する場
合、 (2)組合せ回路内に故障が存在すると仮定する場合、 各々において出力端子から入力方向へと順次ノード毎に
推定を行い、組合せ回路内の故障並びに入力端子状態を
推定する際、0,1に固定される固定値と、1,0のど
ちらの状態でも良い状態Xとを用いて状態推定を行い簡
略化も同時に行う手順と、 前記得られた組合せ回路内部の各ノードの期待値との照
合を行う時に固定値0,1は期待値との照合判定を、ま
たは推定故障伝搬経路としては扱わず、入力端子状態X
のみ故障伝搬許容端子として扱うことにより、 (1)の場合は推定故障出力端子から得られた入力推定
状態値までの推定故障伝搬経路を抽出し、 (2)の場合は推定故障出力端子から得られた故障推定
箇所並びに入力推定状態値までの推定故障伝搬経路を抽
出する抽出手順と、 論理和として得られる故障推定箇所並びに推定故障伝搬
経路と論理積として得られる故障推定箇所並びに推定故
障伝搬経路とを管理する管理手順と前記組合せ回路内の各ノードの期待値を求める手順、前
記抽出手順、前記簡略化も同時に行う手順と、前記管理
手順と を繰り返し行った後、上記組合せ回路毎の推定で
得られた全ての組合せ回路内推定故障箇所並びに全ての
故障伝搬経路を同一時間単位に分類する手順と、前記組
合せ回路毎の推定で得られた全ての組合せ回路内推定故
障箇所並びに全ての推定故障伝搬経路を用いての場所的
な一致を判定し全ての状態を満たす同一箇所抽出手順と
を含むことを特徴とする請求項1記載の順序回路の故障
箇所推定方法。
Each combination circuit is extracted 11. A procedure for determining the estimated failure site and estimated input vector meet the output state of the combinational circuit, using the expected value for the obtained combination circuit input terminal, previously combined (1) In the combinational circuit, using the procedure for performing the logic simulation inside the circuit to obtain the expected value of each node in the combinational circuit and the state value of the estimated fault output and the estimated normal output at the output section of the combinational circuit, (2) When it is assumed that a fault exists in the combinational circuit, estimation is performed for each node sequentially from the output terminal to the input direction in each case, and the fault in the combinational circuit and the input terminal When estimating the state, a procedure of estimating the state by using a fixed value fixed to 0 and 1 and the state X which may be any of the states of 1 and 0 and simultaneously performing simplification, When performing matching with the expected value of each node in the obtained combinational circuit, the fixed values 0 and 1 are not treated as the matching judgment with the expected value or as the estimated fault propagation path.
Only in the case of (1), the estimated fault propagation path up to the input estimated state value obtained from the estimated fault output terminal is extracted, and in the case of (2), the fault propagation path is obtained from the estimated fault output terminal. Extraction procedure for extracting the estimated fault location and the estimated fault propagation path up to the input estimated state value, the fault estimated location obtained as a logical sum, the fault estimated location obtained as a logical product of the estimated fault propagation path, and the estimated fault propagation path And a procedure for calculating an expected value of each node in the combinational circuit.
The extraction procedure, the simplification procedure, and the management
After repeated the procedure, a procedure for classifying all combinations circuit estimating fault location and all fault propagation path obtained by the estimation of each said combination circuit in the same time unit, resulting in estimated for each of the combinational circuit 2. The same location extracting procedure according to claim 1, further comprising: determining a locational match using all the estimated fault locations in the combinational circuit and all the estimated fault propagation paths and satisfying all states. A method for estimating the failure location of a sequential circuit.
【請求項12】 前記ブール代数の簡略化を行う手順
後で、 得られた故障推定箇所の状態値と削減された入力推定べ
クタを用いて前記組合せ回路の論理シミュレーションを
行い、組合せ回路内の各ノード状態を求める手順と、 組合せ回路入力端子の正常な状態を用いかつ組合せ回路
内に故障が存在しないと仮定した時の論理シミュレーシ
ョンにより組合せ回路内各ノードの期待値を求める手順
と、 前記得られた推定された状態を元にした各ノード状態
と、前記得られた期待値との照合により期待値と異なっ
たノードを抽出し推定故障伝搬経路を抽出する抽出手順
とを含み、 論理和として得られる故障推定箇所並びに推定故障伝搬
経路と論理積として得られる故障推定箇所並びに推定故
障伝搬経路を管理する管理手順と、前記各ノード状態を求める手順、前記各ノードの期待値
を求める手順と、前記抽出手順と、前記管理手順 を繰り
返し行った後、上記組合せ回路毎の推定で得られた全て
の組合せ回路内推定故障箇所並びに全ての故障伝搬経路
を同一時間単位に分類する手順と、 前記同一時間毎に分類された推定故障箇所と推定故障伝
搬経路とのー致照合を行い全ての状態を満たす同一箇所
を抽出する手順とを含むことを特徴とする請求項1記載
の順序回路の故障箇所推定方法。
12. After the procedure for simplifying the Boolean algebra, a logic simulation of the combinational circuit is performed by using the obtained state value of the estimated fault location and the reduced input estimation vector. A procedure for obtaining the expected value of each node in the combinational circuit by performing a logic simulation using the normal state of the input terminal of the combinational circuit and assuming that no fault exists in the combinational circuit; An extraction procedure for extracting a node different from the expected value by comparing each node state based on the obtained estimated state with the obtained expected value and extracting an estimated fault propagation path. wherein, a management procedure for managing the estimated failure site and estimating fault propagation path is obtained as the estimated failure site and estimating fault propagation path and the logical product is obtained as a logical sum, each node-like Procedure for obtaining the said expected value of each node
, The extraction procedure, and the management procedure are repeatedly performed, and then all the estimated fault locations in the combination circuit and all the fault propagation paths obtained by the estimation for each combination circuit are classified into the same time unit. 2. The method according to claim 1, further comprising: comparing the estimated fault location classified at each same time with the estimated fault propagation path and extracting the same location satisfying all states. A method for estimating the failure location of a sequential circuit.
【請求項13】 請求項10若しくは請求項11、請求
項12における前記抽出手順の後で、上記組合せ回路毎
の推定で得られた全ての組合せ回路内推定故障箇所並び
に全ての故障伝搬経路を論理和として得られる故障推定
箇所並びに推定故障伝搬経路を同一グループとして分類
し、論理積として得られる故障推定箇所並びに推定故障
伝搬経路を管理して、上記組合せ回路毎の推定で得られ
た全ての組合せ回路内推定故障箇所並びに全ての故障伝
搬経路を重ねあわせることにより各回路のノード毎に推
定結果の出現頻度をとり、頻度の大きいものから順に故
障推定箇所の重み付けを行う手順を含むことを特徴とす
る請求項10,11,12いずれか記載の順序回路の故
障箇所推定方法。
13. The method of claim 10 or claim 11, after the extraction procedure definitive to claim 12, all combinations circuit estimating fault location and all fault propagation path obtained by the estimation of each said combinational circuit The estimated fault location and the estimated fault propagation path obtained as a logical sum are classified as the same group, and the estimated fault location and the estimated fault propagation path obtained as a logical product are managed. Includes a procedure of obtaining the frequency of occurrence of the estimation result for each node of each circuit by superimposing the estimated fault location in the combinational circuit and all fault propagation paths, and weighting the fault estimated locations in descending order of frequency. The fault location estimation method for a sequential circuit according to any one of claims 10, 11, and 12.
【請求項14】 前記組合わせ回路毎に、組合わせ回路
内の推定故障並びに組合わせ回路入力端子での推定故障
伝搬経路を求めた後に、組合せ回路毎に縮退故障、オー
プン故障、ショート故障等に分類され、得られた推定故
障箇所と組合せ回路入力推定ベクタから請求項10若し
くは請求項11の各手順にて故障伝搬経路を求める手順
と、 前記組合せ回路毎の推定を繰り返して全ての組合せ回路
内推定故障箇所並びに全ての故障伝搬経路を求めた後、
論理和として得られる故障推定箇所並びに推定故障伝搬
経路を同一グループとして分類し、論理積として得られ
る故障推定箇所並びに推定故障伝搬経路を管理して、上
記組合せ回路毎の推定で得られた全ての組合せ回路内推
定故障箇所並びに全ての故障伝搬経路を重ねあわせるこ
とにより各回路のノード毎に推定結果の出現頻度をと
り、頻度の大きいものから順に故障推定箇所の重み付け
を行う手順とを含むことを特徴とする請求項10または
11記載の順序回路の故障箇所推定方法。
14. A combination circuit for each combination circuit.
Estimated fault in the circuit and the estimated fault at the input terminal of the combinational circuit
After obtaining the propagation path, stuck-at faults for each combination circuit, open faults are classified as short-circuit failure or the like, the failure at each step from the obtained estimated fault location and combining circuit input estimate vector according to claim 10 or claim 11 A procedure for obtaining a propagation path, and repeating the estimation for each of the combinational circuits to obtain an estimated failure location in all the combinational circuits and all the failure propagation paths,
The estimated fault location and the estimated fault propagation path obtained as a logical sum are classified as the same group , and the estimated fault location and the estimated fault propagation path obtained as a logical product are managed. Estimating the occurrence frequency of the estimation result for each node of each circuit by superimposing the estimated fault location in the combinational circuit and all the fault propagation paths, and weighting the fault estimated locations in descending order of frequency. The method for estimating a fault location in a sequential circuit according to claim 10 or 11, wherein:
【請求項15】 請求項14における前記組合せ回路毎
の推定を繰り返して全ての組合せ回路内推定故障箇所並
びに全ての故障伝搬経路を求めた後に、縮退故障、オー
プン故障、ショート故障、タイミング故障等の各々の想
定に対する故障数で故障の分類を行う手順と、 それぞれの想定故障毎に、分類され得られた推定故障箇
所と前記得られた推定故障伝搬経路を用い、ノード毎に
前記推定結果の出現頻度をとる手順、前記得られた出
現頻度から重み付けを行い故障の確からしさの優先順位
をつける手順と、 前記得られた優先順位のついた各ノードの故障推定状態
値から (1)全て同一の故障状態値ならば縮退故障、 (2)単一の故障箇所でかつそれぞれの故障推定状態値
が異なる場合はオープン故障若しくは常に正常状態のノ
ードとのショート故障、 (3)推定故障箇所が2箇所存在し、状態推定値の−方
が正常で他方が故障状態であり、両方の状態値が一致し
ている場合はショート故障、 (4)推定故障箇所がフリップフロップ若しくは等価故
障箇所にフリップフロップを含む場合で、その推定状態
値が正常な状態を持つ場合と故障状態を持つ場合はタイ
ミング故障 詳細分類を行う詳細分類手順とを含むことを特徴とす
る請求項14記載の順序回路の故障箇所推定方法。
15. The combination circuit according to claim 14,
Is repeated for all the estimated fault locations in the combinational circuit.
After obtaining all the fault propagation paths , the fault is classified by the number of faults for each assumed fault such as stuck-at fault, open fault, short fault, timing fault, etc. Using the estimated fault location obtained and the obtained estimated fault propagation path, a procedure for obtaining the frequency of occurrence of the estimation result for each node, and a procedure for weighting the obtained frequency of occurrence and prioritizing the likelihood of failure And (1) a stuck-at fault if all are the same fault state values, and (2) a single fault location and each fault estimated state value If they are different, an open fault or a short fault with a node that is always in a normal state. (3) There are two estimated fault locations, and the state estimated value is normal and the other is faulty. Short-circuit failure if the state value is consistent, (4) if the estimated fault location comprises a flip-flop to flip-flop or equivalent fault location, if it has a case and a fault condition in which the estimated state value has a normal state Is Thailand
15. The method for estimating a fault location of a sequential circuit according to claim 14, further comprising a detailed classification procedure for performing a detailed classification of a mining fault .
【請求項16】 詳細分類手順において、前記 (4)のタイミング故障判定基準に加えて、故障
と推定される状態を用いてフリップフロップ入力に接続
されるネットから推定故障伝搬経路を求めることにより
タイミング不良となるクリティカルパスを求める手順
と、 前記タイミング不良として抽出されるクリティカルパス
が同一経路であるかどうかの一致判定する手順とを含む
ことを特徴とする請求項15記載の順序回路の故障箇所
推定方法。
16. A detailed classification procedure, in addition to said criteria timing failure (4), by obtaining the estimated fault propagation path from net connected to the flip-flop input with a condition that is estimated failure and 16. The fault location of a sequential circuit according to claim 15, comprising: a procedure for obtaining a critical path that causes a timing failure; and a procedure for determining whether the critical paths extracted as the timing failure are the same path. Estimation method.
【請求項17】 請求項15の優先順位のついた各ノー
ドの故障推定状態値から詳細分類を行う手順において、 (4)のタイミング故障判定基準に加えて、故障と推定
される状態での推定故障伝搬経路を求めることによりタ
イミング不良となるクリティカルパスを求める手順と、 前記タイミング不良として抽出されるクリティカルパス
に対して論理シミュレーションを行い、クリティカルパ
スの伝搬遅延時間を計算する手順と、 前記得られたクリティカルパスの伝搬遅延時間にデバイ
ス特性の振れ幅を持たせた遅延時間を計算する手順と、 前記得られたタイミング故障前記得られた伝搬遅延時間
以上の全てのクリティカルパスの伝搬が故障になってい
るかどうかを判定する手順とを含むことを特徴とする請
求項15記載の順序回路の故障箇所推定方法。
17. The procedure for performing detailed classification from the fault estimated state value of each of the prioritized nodes according to claim 15, further comprising: A procedure for obtaining a critical path that becomes a timing failure by obtaining a fault propagation path; a logic simulation for the critical path extracted as the timing failure, and a procedure for calculating a propagation delay time of the critical path; Calculating the delay time in which the propagation delay time of the critical path has the swing of the device characteristic, and the obtained timing failure causes the propagation of all the critical paths longer than the obtained propagation delay time to fail. And determining whether or not the fault has occurred in the sequential circuit. Estimation method.
【請求項18】 請求項1〜17のいずれかの全ての手
順の後に、得られた推定故障箇所に対し、推定された故
障状態を元に与えられたテストベクタ全てを用いて故障
シミュレーシヨンを行い、推定した故障箇所並びに故障
原因が全て適合するか判定する手順を含むことを特徴と
する請求項1〜17いずれか記載の順序回路の故障箇所
推定方法。
18. After all the steps of any one of claims 1 to 17, a fault simulation is performed on the obtained estimated fault location by using all test vectors given based on the estimated fault state. The method according to any one of claims 1 to 17, further comprising a step of determining whether all of the estimated failure locations and failure causes match.
【請求項19】 前記組合せ回路抽出、組合せ回路内推
定の手順の後で、その時刻でのフリップフロップのクロ
ック入力の期待値を調べ、その時刻でフリップフロツプ
の出力状態が更新されたか否かを判定する手順と、 前記フリップフロップの更新判定結果をもとに、 (1)更新されている場合は時間(テストベクタ)を溯
り、推定された組合せ回路入力端子状態値を用いてさら
に前段の組合せ回路抽出へと制御する手順と、 (2)更新されていない場合はその時刻以前に最後に更
新された時刻を求めてその最後の更新時刻まで得られた
推定結果を保ちかつ同推定結果とAND状態にある推定
結果が同推定結果と矛盾するときはその推定の時刻が後
の推定結果を削除する手順(ここで推定時刻とはフリッ
プフロップの場合最後に更新された時刻をいう)と、 を含むことを特徴とする請求項1〜18いずれか記載の
順序回路の故障箇所推定方法。
19. The combination circuit extraction, after the steps of the combination circuit estimating, examining the expected value of the flip-flop clock input at that time, determines whether or not the output state of the Furippufurotsupu is updated at that time Based on the result of the update decision of the flip-flop, (1) If the time has been updated (test vector), use the estimated combinational circuit input terminal state value to further advance the combinational circuit (2) if not updated, find the last updated time before that time, keep the estimated result obtained up to the last updated time, and maintain the estimated result and AND state When the estimation result in the above is inconsistent with the estimation result, the procedure for deleting the estimation time after the estimation time (where the estimation time is the last updated time in the case of a flip-flop Fault location estimation method of the sequential circuit in accordance with claim 18, characterized in that it comprises a a means), a.
【請求項20】 予めスキャンパスが全回路の中に含ま
れるか否かを回路接続情報若しくはテストベクタから検
索する手順と前記スキャンパス存在判定結果を元にスキ
ャン経路自体の故障か否かを判定する手順として、 (1)組合せ回路抽出時にクロックライン、スキャンパ
スラインを除いて組合せ回路抽出を行い、抽出された組
合せ回路内経路追跡、故障推定を行う手順と、 (2)組合せ回路抽出時にクロックライン、スキャンパ
スラインも含めて組合せ回路の抽出を行い、クロックラ
イン、スキャンパスラインに対しても追跡、故障推定す
る手順と、 (3)前記(1),(2)の両方の推定結果を比較して
スキャンパス自体に故障が存在するか否かを判定する手
順とを含み、不必要にクロックラインやスキャンパスラ
イン追跡を行うことを回避するようにしたことを特徴と
する請求項1〜19いずれか記載の順序回路の故障箇所
推定方法。
20. A procedure for previously searching a circuit connection information or a test vector to determine whether or not a scan path is included in all circuits, and determining whether or not a scan path itself has failed based on the scan path existence determination result. (1) a procedure for extracting a combinational circuit except for a clock line and a scan path line at the time of extracting a combinational circuit, tracking the path in the extracted combinational circuit, and estimating a fault; A procedure for extracting a combinational circuit including a line and a scan path line, tracking and also estimating a fault on the clock line and the scan path line, and (3) obtaining the estimation results of both the above (1) and (2). Performing unnecessary tracking of clock lines and scan path lines, including a step of comparing the scan path itself to determine whether or not there is a failure. 20. The method for estimating a fault location of a sequential circuit according to claim 1, wherein
【請求項21】 請求項1〜20いずれかの組合せ回路
を抽出する手順において、組合せ回路入力端子としてR
OM,RAM等のメモリブロックの出力端子が抽出され
た場合には、 (1)抽出されたメモリの出力端子がデータラインであ
るときには同一メモリブロックの全てのデータラインを
網羅するように組合せ回路を1つ若しくは複数に分割し
て抽出する手順と、 (2)抽出されたメモリの出力端子がデータラインでな
いときには、請求項1〜20いずれかの通常の組合せ回
路抽出を行う手順と、 前記(1)でメモリブロックのデータラインを抽出した
組合せ回路で入力端子状態推定を行いデータラインの推
定を行う手順と、 前記得られたメモリプロックのデー多出力ラインの推定
結果から同一時刻で当該メモリヘ供給されるアドレスラ
インの状態値が間違っているか否かを判定する手順と、 前記判定結果から、 ()アドレスラインが正しいと推定できる場合には、
そのアドレス書き込み時のビット不良と判定する手順
と、 ()アドレスラインが間違っていると推定できる場合
には、そのデータラインの推定結果から供給アドレスを
推定する手順と、 ()前記(),()の不良が共に存在し得ると判
定されればこれ等()の手順と()の手順両方を行
う手順とを含むことを特徴とする請求項1〜20いずれ
か記載の順序回路の故障箇所推定方法。
21. A procedure for extracting a combinational circuit according to any one of claims 1 to 20, wherein R is a combinational circuit input terminal.
When the output terminals of the memory blocks such as the OM and the RAM are extracted, (1) When the output terminals of the extracted memory are the data lines, the combination circuit is formed so as to cover all the data lines of the same memory block. 21. A procedure for extracting by dividing into one or a plurality of pieces, and (2) a procedure for performing a normal combinational circuit extraction according to any one of claims 1 to 20 when the extracted output terminal of the memory is not a data line; A) a process of estimating a data line by estimating an input terminal state by a combinational circuit extracting a data line of a memory block in the step (b); and supplying the data to the memory at the same time from the obtained estimation result of the data multiple output line of the memory block. a procedure for determining whether the status value of the address lines is wrong that, from the determination result, correct (3) address lines If it can be estimated that,
A procedure for determining the bit failure in the address during writing, the procedure of estimating the (4) when it can be estimated that the address lines is incorrect, the supply address from the estimated results of the data line, (5) the (3 21. The method according to any one of claims 1 to 20, further comprising a procedure for performing both the procedure ( 3 ) and the procedure ( 4 ) if it is determined that both of the defects ( 4 ) and ( 4 ) can exist. Method for estimating the fault location of a sequential circuit.
【請求項22】 予め用意したLSI内の全フリップフ
ロップの全ベクタに対する全期待値情報と、実際のテス
タでのパス/フェイル出力情報と、全回路の接続情報と
を用いてテスト結果で得られた各ベクタの各故障出力端
子から順次組合せ回路を動的に抽出する手順と、この抽
出された組合せ回路の出力状態値もしくは推定値から組
合せ回路入力状態値を推定することによりLSI内の各
フリップフロップの状態値を推定し、期待値との差より
故障伝搬していると推定される端子、素子およびその状
態値を抽出する手順と、こうして得られた故障伝搬推定
端子からテストベクタを溯り、入力方向に組合せ回路を
抽出するといったように順次上記操作を繰り返し行う手
順と、すべてのテストベクタに対して同様の操作を行い
抽出組合せ回路毎に故障伝搬推定素子およびその状態値
を求める手順とを含む故障箇所推定における候補抽出及
びその重み付け方法であって、 前記各組合せ回路内の故障伝搬推定素子および状態値を
用いて、回路接続情報を検索し出力端子までの故障伝搬
経路として接続関係を再構成する手順と、 故障伝搬推定経路上の各推定故障伝搬点の状態値を調べ
て、 (1)常に同一の状態値を持つノードを推定故障候補点
として選択する; (2)時刻により推定状態値が変化するノードを推定故
障候補点として選択する; (3)同時に2箇所の故障推定箇所を必須とするノード
を推定故障候補点として選択する; 手順を備え、前記選択された各推定故障候補点毎に到達
するLSIの故障出力端子数を頻度として計数する手順
と、 前記計数した頻度数の大きい順に故障候補点の出現順位
を並べ替え、重み付けを行う手順とを備えたことを特徴
とする故障モード毎に故障推定箇所の重み付けを行う方
法。
22. A test result obtained by using all expected value information for all vectors of all flip-flops in an LSI prepared in advance, pass / fail output information of an actual tester, and connection information of all circuits. And dynamically extracting a combinational circuit sequentially from each fault output terminal of each vector, and estimating a combinational circuit input state value from the output state value or the estimated value of the extracted combinational circuit to thereby obtain each flip-flop in the LSI. The procedure for estimating the state value of the loop, extracting the terminal, element and its state value that are estimated to have propagated the fault from the difference from the expected value, and going back to the test vector from the fault propagation estimation terminal obtained in this way, A procedure in which the above operations are sequentially repeated, such as extracting a combinational circuit in the input direction, and a similar operation is performed on all test vectors, and A fault propagation estimating element and a procedure for obtaining a state value of the fault propagation estimating element, and a method for weighting the candidate, the circuit connection information being searched using the fault propagation estimating element and the state value in each of the combinational circuits. The procedure for reconstructing the connection relation as the fault propagation path to the output terminal and the state value of each estimated fault propagation point on the estimated fault propagation path are checked. (2) Select a node whose estimated state value changes with time as an estimated fault candidate point; (3) Select a node that requires two estimated fault locations at the same time as an estimated fault candidate point A procedure for counting the number of fault output terminals of the LSI reaching each selected estimated fault candidate point as a frequency, and faults in descending order of the counted frequency. A method of rearranging the order of appearance of the candidate points and weighting the candidate points.
【請求項23】 前記選択された各推定故障候補点毎に
到達するLSIの故障出力端子数を頻度として計数する
手順の代わりに、選択された各推定故障候補点とLSI
の故障出力端子との間に存在する経路数を頻度として計
数する手順を含み、この計数した頻度数の大きい順に故
障候補点の出現順位を並べ替え、重み付けを行う手順を
備えた請求項22記載の故障推定箇所の重み付けを行う
方法。
23. Instead of the step of counting the number of fault output terminals of the LSI reaching each of the selected estimated fault candidate points as a frequency, each of the selected estimated fault candidate points and the LSI
23. The method according to claim 22, further comprising a step of counting the number of paths existing between the failure candidate terminal and the failure output terminal as a frequency, rearranging the appearance order of the failure candidate points in descending order of the counted frequency number, and performing weighting. Of weighting the estimated failure location.
【請求項24】 前記得られた各組合せ回路内の故障伝
搬推定素子および状態値を用いて、回路接続情報を検索
し出力端子までの故障伝搬経路として接続関係を再構成
する手順の後、経路の分岐点−結合点間を1経路として
経路細分化し、細分化された経路同士の関係を調べ、短
絡故障の仮定をおくか否かを、 (1)同一時刻での期待値が異なりかつ異なる細分化経
路上の2点間に短絡故障候補として選択する; (2)2経路に分岐しまた1経路に結合するような経路
上の各故障候補点に対して異なる細分化経路上の任意の
2点間に短絡故障候補として選択する; (3)3以上複数の経路に同時に分岐し、1つの経路に
結合するような各故障伝搬推定経路上の候補点には短絡
故障として選択しない; という故障伝搬経路毎に故障伝搬が成立する条件を求め
る計算手順を有し、前記推定された故障箇所数毎に故障
モードを大きく分類する手順と、 前記仮定した2点間の短絡故障箇所に対して全ベクタの
推定状態値および故障状態推定値が常に一致しているか
を調べ、故障モードを詳細に再計算する手順と、 前記計数した故障出力端子頻度数の大きい順に故障候補
点の出現順位を並べ替え、重み付けを行う手順とを備え
た請求項22記載の故障推定箇所の重み付けを行う方
法。
24. After the procedure for retrieving circuit connection information and reconstructing a connection relation as a fault propagation path to an output terminal using the obtained fault propagation estimation elements and state values in each of the combinational circuits, (1) Expectation values at the same time are different and different at the same time, by examining the relation between the subdivided paths and examining whether or not to assume a short-circuit fault. Select as a short-circuit fault candidate between two points on the subdivision path; (2) For each fault candidate point on the path that branches into two paths and connects to one path, an arbitrary one on a different subdivision path (3) A candidate point on each of the estimated fault propagation paths that branches into three or more paths at the same time and is connected to one path is not selected as a short-circuit fault; Fault propagation established for each fault propagation path A procedure for largely classifying a failure mode for each of the estimated number of fault locations, and an estimated state value and a fault state of all vectors with respect to the assumed short-circuit fault location between two points. Determine estimates are always consistent, the procedure for recalculating the failure modes in detail, reorder the appearance rank fault candidate point in descending order of the number of failed output frequency of the said counting, and a procedure of weighting 23. The method according to claim 22, wherein the weighting of the estimated fault location is performed.
【請求項25】 請求項24の全ての手順の後に、 更に、 前記重み付けを行った頻度分布を調べ、ある設定
した閾値と比較し、 (1)閾値に満たない場合には、新たなベクタの故障出
力端子からの組合せ回路抽出手順に戻る; (2)閾値以上の場合には、推定精度が得られたとし故
障推定を終了する; 頻度判定による故障推定終了判定手順を備えた請求項
4記載の故障推定箇所の重み付けを行う方法。
25. After all the procedures of claim 24 , the weighted frequency distribution is further checked and compared with a set threshold value. (1) If the frequency distribution is less than the threshold value, a new vector Back to the combinational circuit extraction procedure from the failure output terminal; (2) in the case of more than the threshold value, and terminates the estimated accuracy was obtained estimated failure; claim 2 having a failure estimating end determination procedure by frequency determination
4. A method for weighting a failure estimation portion described in 4 .
【請求項26】 前記推定された故障箇所数毎に故障モ
ードを大きく分類する手順の後、全ベクタで故障候補毎
に故障出力端子数頻度計算を行う手順と、 全ベクタで同一推定故障伝搬経路上での2点間に対して
も故障モードの検査、頻度再計算を行い、ブリッジ故障
を詳細に判定する手順と、 前記計数した故障出力端子数の大きい順に故障候補点の
出現順位を並べ替え、重み付けを行う手順とを備えた請
求項24記載の故障推定箇所の重み付けを行う方法。
26. After the procedure of classifying the failure mode into large numbers for each of the estimated number of failure points, a procedure of calculating the frequency of the number of failure output terminals for each of the failure candidates in all the vectors; Inspection of the failure mode and recalculation of the frequency for the two points above to determine the bridge failure in detail, and rearrange the order of appearance of the failure candidate points in descending order of the counted number of failure output terminals 25. The method for weighting a failure estimation portion according to claim 24, further comprising: performing weighting.
【請求項27】 請求項26の全ての手順の後に、 更に、 前記重み付けを行った頻度分布を調べてある設定
した閾値と比較し、 (1)閾値に満たない場合には、新たなベクタの故障出
力端子からの組合せ回路抽出手順に戻る; (2)閾値以上の場合には、推定精度が得られたとし故
障推定を終了する; 頻度判定による故障推定終了判定手順とを備えた請求項
26記載の故障推定箇所の重み付けを行う方法を備えた
故障モード毎に故障推定箇所の重み付けを行う方法。
27. After all the procedures of claim 26 , the weighted frequency distribution is further compared with a set threshold value which has been checked. (1) If the frequency distribution is less than the threshold value, a new vector Returning to the combinational circuit extraction procedure from the failure output terminal; (2) if the error is equal to or greater than the threshold value, it is determined that the estimation accuracy has been obtained; and the failure estimation is terminated;
26. A method of weighting a failure estimation point for each failure mode, comprising the method of weighting a failure estimation point described in 26 .
【請求項28】 推定の対象となるLSIのネットリス
トを記憶し、また部分回路に分割されたネットリストも
併せて登録を可能とし、検索、削除要求に対して処理を
行い、ネットリストの一元管理を行うネットリスト管理
部と、 入出力端子およびフリップフロップの期待値を管理する
入出力端子/フリップフロップ期待値管理部と、 推定値、実測値を記憶している推定値/実測値管理部
と、 各故障箇所推定機能から得られた故障候補点、推定故障
状態値ならびに故障モード等推定結果を記憶する故障候
補管理部と、 故障出力端子もしくは故障推定出力端子から組合せ回路
をダイナミックに抽出する組合せ回路抽出部と、 組合せ回路内部の状態値を推定する組合せ回路状態推定
部と、 前記組合せ回路内部の状態推定結果から推定故障伝搬経
路を抽出する故障伝搬経路抽出部と、 この得られた組合せ回路入力端子の故障伝搬端子および
状態値を用いて故障伝搬経路選択する経路選択部と、 この得られた故障伝搬経路の再構成を行って故障箇所か
ら故障出力端子までの関連付けを行う故障伝搬経路再構
成部とこの得られた故障候補毎の推定状態を全ベクタに
対して調査して状態値が一定であるか変化しているかを
判定する推定状態値判定部と、 前記状態値判定で得られた結果をもとに故障箇所数を加
味し故障モード分類を行う故障モード分類部と、 個々の故障候補点に対する故障出力端子数もしくは故障
伝搬経路数頻度を計数して各故障モード毎に重み付けを
行う頻度重み付け部と、 前記各故障推定機能の処理順位の制御や各故障推定機能
間の待ち合わせ制御等の全体の推定シーケンスを制御す
るシーケンス制御部とを含むことを特徴とする故障モー
ド毎に故障推定箇所の重み付けを行う装置。
28. A net list of an LSI to be estimated is stored, and a net list divided into partial circuits can be registered together, a search and a deletion request are processed, and a unit of the net list is processed. A netlist management unit for managing, an input / output terminal / flip-flop expected value management unit for managing expected values of input / output terminals and flip-flops, and an estimated / actual value management unit for storing estimated values and measured values A failure candidate management unit that stores the failure candidate points, estimated failure state values, and failure mode and other estimation results obtained from each failure location estimation function; and dynamically extracts a combinational circuit from a failure output terminal or a failure estimation output terminal. A combinational circuit extractor, a combinational circuit state estimator for estimating a state value inside the combinational circuit, and an estimated fault propagation path from the state estimation result inside the combinational circuit. A fault propagation path extracting unit for extracting a path, a path selecting unit for selecting a fault propagation path using the obtained fault propagation terminal and the state value of the combinational circuit input terminal, and a reconfiguration of the obtained fault propagation path. The fault propagation path reconfiguration unit that performs the association from the fault location to the fault output terminal and checks the obtained estimated state of each fault candidate for all the vectors to determine whether the state value is constant or changed. An estimated state value determination unit for determining the number of failure points based on the result obtained in the state value determination, and a failure mode classification unit for performing failure mode classification based on the number of failure locations; and a failure output terminal number for each failure candidate point. Alternatively, a frequency weighting unit that counts the frequency of the number of fault propagation paths and weights each fault mode, and an overall estimation sheet such as control of the processing order of the fault estimation functions and queuing control between the fault estimation functions. Device for weighting the estimated failure site for each failure mode, characterized in that it comprises a sequence controller for controlling the Nsu.
【請求項29】 前記ネットリスト管理部、入出力端
子、フリップフロップ期待値管理部、推定値/実測値管
理部、故障候補管理部をネットワーク上のサーバとして
備え、前記組合せ回路状態推定部、故障伝搬経路抽出
部、故障伝搬経路抽出部、経路選択部、故障伝搬経路再
構成部、推定状態値判定部、故障モード分類部、頻度重
み付け部、ならびに全推定シーケンスを制御するシーケ
ンス制御部のクライアントからの前記登録の要求及び前
記検索、削除等の要求に対し、処理を行い処理完了通知
をクライアントに返す構成からなる請求項28記載の故
障推定箇所の重み付けを行う装置。
29. A server comprising a netlist management unit, an input / output terminal, a flip-flop expected value management unit, an estimated / measured value management unit, and a failure candidate management unit as a server on a network. From the client of the propagation path extractor, fault propagation path extractor, path selector, fault propagation path reconstructor, estimated state value determiner, failure mode classifier, frequency weighter, and sequence controller that controls the entire estimated sequence The registration request and before
29. The apparatus according to claim 28, wherein the apparatus performs a process for a request for search, deletion, etc., and returns a process completion notification to the client.
JP21335998A 1997-09-24 1998-07-29 Fault location estimation method for sequential circuit, candidate extraction in failure location estimation and weighting method thereof, and apparatus therefor Expired - Fee Related JP3168988B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP21335998A JP3168988B2 (en) 1997-09-24 1998-07-29 Fault location estimation method for sequential circuit, candidate extraction in failure location estimation and weighting method thereof, and apparatus therefor
US09/362,856 US6397362B1 (en) 1997-09-24 1999-07-29 Fault diagnosis method and system for a sequential circuit

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP9-258010 1997-09-24
JP25801097 1997-09-24
JP21335998A JP3168988B2 (en) 1997-09-24 1998-07-29 Fault location estimation method for sequential circuit, candidate extraction in failure location estimation and weighting method thereof, and apparatus therefor

Publications (2)

Publication Number Publication Date
JPH11160400A JPH11160400A (en) 1999-06-18
JP3168988B2 true JP3168988B2 (en) 2001-05-21

Family

ID=26519763

Family Applications (1)

Application Number Title Priority Date Filing Date
JP21335998A Expired - Fee Related JP3168988B2 (en) 1997-09-24 1998-07-29 Fault location estimation method for sequential circuit, candidate extraction in failure location estimation and weighting method thereof, and apparatus therefor

Country Status (1)

Country Link
JP (1) JP3168988B2 (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001337143A (en) * 2000-05-30 2001-12-07 Nec Corp Locating fault estimating system, locating fault- estimating method, and storage medium in logic circuit
JP4907788B2 (en) 2001-07-12 2012-04-04 ルネサスエレクトロニクス株式会社 Fault propagation path estimation system
JP3833984B2 (en) 2002-10-28 2006-10-18 株式会社東芝 Test vector generation device, test vector generation method, semiconductor integrated circuit failure analysis device, and program for generating test vector
JP4496006B2 (en) * 2004-05-12 2010-07-07 株式会社東芝 Failure candidate identification system and failure candidate identification method
JP4636989B2 (en) * 2005-10-11 2011-02-23 富士通セミコンダクター株式会社 Delay analysis apparatus, delay analysis method, delay analysis program, and recording medium
JP5270458B2 (en) * 2009-06-12 2013-08-21 ルネサスエレクトロニクス株式会社 Fault location estimation device
JP7269896B2 (en) * 2020-02-17 2023-05-09 ルネサスエレクトロニクス株式会社 Failure diagnosis device and failure diagnosis method
CN115293296B (en) * 2022-09-28 2022-12-20 中国人民解放军海军工程大学 Mechanical equipment fault positioning optimization method and system

Also Published As

Publication number Publication date
JPH11160400A (en) 1999-06-18

Similar Documents

Publication Publication Date Title
US5640403A (en) Fault diagnosis method for a sequential circuit
Pomeranz et al. Generation of functional broadside tests for transition faults
JP4557337B2 (en) Method and system for diagnosing multiple errors and faults based on X list
JP3833982B2 (en) Test pattern selection device, test pattern selection method, and test pattern selection program
JPH0760445B2 (en) A method for optimizing the construction of a logic network.
US6694454B1 (en) Stuck and transient fault diagnostic system
US8332715B2 (en) Test pattern generating method, device, and program
JP2010286383A (en) Device and method for estimation of fault location, and program
US6397362B1 (en) Fault diagnosis method and system for a sequential circuit
JP3168988B2 (en) Fault location estimation method for sequential circuit, candidate extraction in failure location estimation and weighting method thereof, and apparatus therefor
JP2921502B2 (en) Fault location estimation method for sequential circuits
US8402421B2 (en) Method and system for subnet defect diagnostics through fault compositing
EP1327890B1 (en) Method of optimizing a plurality of tests used in digital integrated circuits
US5548715A (en) Analysis of untestable faults using discrete node sets
US20110167395A1 (en) Timing Point Selection For A Static Timing Analysis In The Presence Of Interconnect Electrical Elements
JP2655105B2 (en) Fault location estimation method for sequential circuits
Li et al. Methods for testing path delay and static faults in RSFQ circuits
JP2701753B2 (en) LSI failure location estimation method
Erb et al. Mixed 01X-RSL-Encoding for fast and accurate ATPG with unknowns
Padmanaban et al. Using BDDs and ZBDDs for efficient identification of testable path delay faults
JP3157047B2 (en) Failure module identification method for electronic equipment
Oh et al. Efficient logic-level timing analysis using constraint-guided critical path search
US7120829B2 (en) Failure propagation path estimate system
US20160154056A1 (en) Circuit division method for test pattern generation and circuit division device for test pattern generation
Pomeranz et al. On diagnosis and diagnostic test generation for pattern-dependent transition faults

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080316

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090316

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100316

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100316

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110316

Year of fee payment: 10

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110316

Year of fee payment: 10

S533 Written request for registration of change of name

Free format text: JAPANESE INTERMEDIATE CODE: R313533

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110316

Year of fee payment: 10

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110316

Year of fee payment: 10

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120316

Year of fee payment: 11

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130316

Year of fee payment: 12

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130316

Year of fee payment: 12

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20140316

Year of fee payment: 13

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

LAPS Cancellation because of no payment of annual fees