JPH06266792A - Fault simulation processing method - Google Patents

Fault simulation processing method

Info

Publication number
JPH06266792A
JPH06266792A JP5056593A JP5659393A JPH06266792A JP H06266792 A JPH06266792 A JP H06266792A JP 5056593 A JP5056593 A JP 5056593A JP 5659393 A JP5659393 A JP 5659393A JP H06266792 A JPH06266792 A JP H06266792A
Authority
JP
Japan
Prior art keywords
fault
fixed value
unobservable
input
simulation
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.)
Pending
Application number
JP5056593A
Other languages
Japanese (ja)
Inventor
Keisuke Kadowaki
圭介 門脇
Takaharu Nagumo
宇晴 南雲
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.)
Hitachi Ltd
Original Assignee
Hitachi Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP5056593A priority Critical patent/JPH06266792A/en
Publication of JPH06266792A publication Critical patent/JPH06266792A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To reduce the processing amount for a fault simulation processing by stopping to perform the subsequent simulation processing when the propagation destination of the influence of a fault reaches the element within an observation impossible area. CONSTITUTION:Element Nos.205 and 206 are NOT gates, Nos.217 to 219 are OR gates and others are AND gates. Nos.001 to 049 show temporary fault points which are possible to occur within this logical circuit or the temporary fault points to be processed in a fault simulation. When a fault simulation is performed for the fault on an observation possible route registered as a fault simulation object and the propagation destination of influence of the fault reaches the element within a observation impossible area, the subsequent simulation processing is not performed. Thus, even when all the combination which can be logically set are not always used, the range of the patterns where the observation impossible area can be extracted is expanded and the processing amount for the fault simulation processing can be reduced.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、論理回路の故障シミュ
レーション処理方法に係り、詳しくは故障シミュレーシ
ョン時の処理量の削減方法に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a failure simulation processing method for a logic circuit, and more particularly to a method for reducing the processing amount during failure simulation.

【0002】[0002]

【従来の技術】近年、論理回路の大規模化に伴い、仮定
故障数及び入力テストパタン数ともに、膨大な数に達す
ると予想され、回路内に起こり得る全ての故障について
実施する故障シミュレーション処理に要する時間も大幅
に増大すると考えられる。
2. Description of the Related Art In recent years, with the increase in the scale of logic circuits, it is expected that the number of hypothetical faults and the number of input test patterns will reach enormous numbers, and fault simulation processing for all possible faults in the circuit will be performed. It is considered that the time required will also increase significantly.

【0003】そこで、故障シミュレーション時の処理量
を僅かでも削減するために、従来においては、いかなる
テストパタンに対しても検出され得ない原理的未検出故
障や、複数の故障の論理表現が一致する等価故障がある
場合、前者は削除、後者はその中の一つのみを代表故障
としてシミュレーション処理を行う方法を実施してき
た。
Therefore, in order to reduce even a small amount of processing at the time of failure simulation, in the prior art, theoretical undetected failures that cannot be detected by any test pattern and logical expressions of a plurality of failures are the same. If there is an equivalent fault, the former has been deleted, and the latter has carried out a method of performing simulation processing with only one of them as the representative fault.

【0004】これらは、故障シミュレーション処理の前
に、論理回路の結線関係のみを利用して認識できるもの
である。
These can be recognized by utilizing only the connection relation of the logic circuit before the failure simulation processing.

【0005】しかし、論理回路の大規模化に対しての削
減量は不十分であるという問題があった。
However, there has been a problem that the amount of reduction with respect to increasing the scale of the logic circuit is insufficient.

【0006】そこで、さらに処理量を削減すべく、特開
平04−245338号公報に開示されているように、
外部入力端子に印加するテストパタンにおいて、論理値
が“0”または“1”のいずれかに固定される外部入力
端子が1つ以上存在する場合、その外部入力端子には
“0”または“1”の固定値を印加し、その他の外部入
力端子には非固定値“X”を印加した状態で、故障シミ
ュレーションに先だって論理演算を実施し、全ての信号
線上の論理値を求め、それを用いて観測可能な経路と不
可能な経路を判別し、観測可能な経路は故障シミュレー
ションの処理対象として登録し、観測不可能な経路は処
理対象としては登録しないことで、故障シミュレーショ
ンの処理対象故障数を削減する方法が提案されている。
Therefore, in order to further reduce the processing amount, as disclosed in Japanese Patent Laid-Open No. 04-245338,
In the test pattern applied to the external input terminal, when there is at least one external input terminal whose logic value is fixed to either "0" or "1", the external input terminal has "0" or "1". With the fixed value of "" applied and the non-fixed value "X" applied to the other external input terminals, the logical operation is performed prior to the failure simulation, and the logical values on all the signal lines are calculated and used. The number of faults to be processed in the failure simulation is determined by distinguishing between observable routes and unobservable routes, registering the observable routes as fault simulation processing targets, and not registering the unobservable routes as processing targets. Have been proposed.

【0007】[0007]

【発明が解決しようとする課題】ところで、論理回路に
は、例えば複数ビットのアドレス信号を受け、これをデ
コードして特定の素子を選択的に動作させるといったア
ドレスデコーダを備えたものがある。
Some logic circuits include, for example, an address decoder which receives an address signal of a plurality of bits and decodes the address signal to selectively operate a specific element.

【0008】このような場合、各ビットのアドレス信号
は“0”または“1”のいずれの値もとり得るが、ビッ
ト全体では論理的に設定し得る全ての組合せを常に使用
しているとは限らない。すなわち、2ビットのアドレス
信号を考えた場合、論理的に設定し得る全ての組合せは
“00”,“10”,“01”,“11”の4種類とな
るが、このうち“00”,“10”,“01”のみを使
用する場合がある。
In such a case, the address signal of each bit can take a value of "0" or "1", but all the combinations that can be logically set are not always used for the entire bit. Absent. That is, when considering a 2-bit address signal, there are four kinds of combinations that can be logically set, "00", "10", "01", and "11". Of these, "00", Only "10" and "01" may be used.

【0009】しかし、上記従来技術は“0”または
“1”のいずれかに固定される外部入力端子が1つ以上
存在する場合に、その外部入力端子には“0”または
“1”の固定値を印加し、その他の外部入力端子には非
固定値“X”を印加して処理対象故障数を削減するもの
であるため、いずれのビットも“0”または“1”の固
定値にならない上記のアドレス信号の例については適用
することができず、処理量を削減することができないと
いう問題点があった。
However, in the above-mentioned prior art, when there is at least one external input terminal fixed to either "0" or "1", the external input terminal is fixed to "0" or "1". The value is applied and the non-fixed value "X" is applied to the other external input terminals to reduce the number of faults to be processed. Therefore, none of the bits have a fixed value of "0" or "1". The above example of the address signal cannot be applied, and there is a problem that the processing amount cannot be reduced.

【0010】本発明の目的は、ある外部入力端子が
“0”または“1”の固定値の時だけではなく、論理的
に設定し得る全ての組合せを常に使用していない場合で
も故障シミュレーション処理に係る処理量を削減するこ
とが可能な故障シミュレーション処理方法を提供するこ
とにある。
The object of the present invention is not only when a certain external input terminal has a fixed value of "0" or "1", but also when all combinations that can be logically set are not always used. An object of the present invention is to provide a failure simulation processing method capable of reducing the processing amount related to.

【0011】[0011]

【課題を解決するための手段】上記目的を解決するため
に、本発明は、入力テストパターンの種類が論理的に設
定し得る信号値の組合せ数より1つ以上少なくなる数で
あれば、該入力テストパターンを、論理0または論理1
の固定値となる第1のグループと、論理0と論理1との
組合せで固定値となる第2のグループとに分割し、その
分割した各グループにおいて固定値を該当する外部入力
端子に印加し、その他の外部入力端子には非固定値を印
加し、当該論理回路内の全ての信号線上の論理値を求
め、これらの論理値により外部出力端子から入力側の素
子へ順に辿り、各素子の出力端子において入力端子の信
号変化を観測可能であるか否かを計算し、観測可能な経
路として辿れなかった領域を観測不能領域として認識し
たうえ、各グループの共通の観測不能領域に含まれる故
障を入力テストパタンに対して故障シミュレーションを
実施するときの処理対象として登録せず、観測可能な経
路上の故障のみを入力テストパタンに対して故障シミュ
レーションを実施するときの処理対象として登録し、さ
らに前記故障シミュレーションの対象として登録した観
測可能な経路上の故障に対して故障シミュレーションを
実施する際に、該故障の影響の伝搬先が観測不能領域内
の素子に到達した場合には、それ以降のシミュレーショ
ン処理を実行しないようにしたものである。
In order to solve the above-mentioned problems, the present invention provides a method in which the type of an input test pattern is one or more less than the number of combinations of signal values that can be logically set. Input test pattern is logical 0 or logical 1
Is divided into a first group having a fixed value and a second group having a fixed value by a combination of logic 0 and logic 1, and a fixed value is applied to the corresponding external input terminal in each divided group. , Non-fixed values are applied to the other external input terminals, the logical values on all the signal lines in the relevant logic circuit are obtained, and these logical values are followed in order from the external output terminal to the element on the input side. A failure included in the common unobservable area of each group is calculated by calculating whether or not the signal change of the input terminal can be observed at the output terminal, recognizing the area that cannot be traced as an observable path as the unobservable area. Is not registered as a processing target when performing a failure simulation on the input test pattern, and only the failure on the observable path is subjected to the failure simulation on the input test pattern. When performing a fault simulation for a fault on an observable path registered as a target for processing at the time and further registered as a target for the fault simulation, the propagation destination of the influence of the fault is an element in the unobservable region. When it arrives, the subsequent simulation processing is not executed.

【0012】[0012]

【作用】上記手段によれば、以下の順で故障シミュレー
ションを実施する。
According to the above means, the failure simulation is carried out in the following order.

【0013】(1)入力テストパターンの種類が論理的
に設定し得る信号値の組合せ数より1つ以上少なくなる
数の外部入力端子があるかどうかを見出し、該当するも
のがあれば、その外部入力端子に印加する入力テストパ
ターンを、論理0または論理1の固定値となる第1のグ
ループと、論理0と論理1との組合せで固定値となる第
2のグループとに分割する。
(1) Find out whether there is a number of external input terminals whose type of input test pattern is one or more less than the number of combinations of signal values that can be logically set, and if there is a corresponding external input terminal, The input test pattern applied to the input terminal is divided into a first group having a fixed value of logic 0 or logic 1 and a second group having a fixed value of a combination of logic 0 and logic 1.

【0014】(2)分割した各グループにおいて固定値
を該当する外部入力端子に印加し、その他の外部入力端
子には非固定値を印加し、当該論理回路内の全ての信号
線上の論理値を求める。
(2) In each divided group, a fixed value is applied to the corresponding external input terminal, a non-fixed value is applied to the other external input terminals, and logical values on all signal lines in the logic circuit are applied. Ask.

【0015】(3)求めた論理値により外部出力端子か
ら入力側の素子へ順に辿り、各素子の出力端子において
入力端子の信号変化を観測可能であるか否かを計算し、
観測可能な経路として辿れなかった領域を観測不能領域
として認識する。
(3) According to the obtained logical value, the external output terminal is sequentially traced to the input side element, and it is calculated whether or not the signal change of the input terminal can be observed at the output terminal of each element,
A region that cannot be traced as an observable route is recognized as an unobservable region.

【0016】(4)各グループの共通の観測不能領域に
含まれる故障を入力テストパタンに対して故障シミュレ
ーションを実施するときの処理対象として登録せず、観
測可能な経路上の故障のみを入力テストパタンに対して
故障シミュレーションを実施するときの処理対象として
登録する。
(4) The fault included in the common unobservable region of each group is not registered as the processing target when the fault simulation is performed on the input test pattern, and only the fault on the observable path is input-tested. It is registered as a processing target when the failure simulation is performed on the pattern.

【0017】(5)故障シミュレーションの対象として
登録した観測可能な経路上の故障に対して故障シミュレ
ーションを実施する。その際に、故障の影響の伝搬先が
観測不能領域内の素子に到達した場合には、それ以降の
シミュレーション処理を実行しない。
(5) The fault simulation is carried out for the fault on the observable route registered as the target of the fault simulation. At that time, if the propagation destination of the influence of the failure reaches the element in the unobservable region, the subsequent simulation processing is not executed.

【0018】[0018]

【実施例】以下、本発明の実施例を図面を用いて説明す
る。
Embodiments of the present invention will be described below with reference to the drawings.

【0019】図1は、本発明の故障シミュレーション処
理方法の一実施例を示す処理フロー図である。
FIG. 1 is a processing flow chart showing an embodiment of the failure simulation processing method of the present invention.

【0020】まず、入力情報に関するファイルとして、
入力テストパターン情報ファイル1100と検査対象論
理回路の結線関係情報ファイル1110とを用いる。
First, as a file relating to input information,
The input test pattern information file 1100 and the connection relation information file 1110 of the logic circuit to be inspected are used.

【0021】入力テストパターン情報ファイル1100
とは、各入力端子に与える信号値の時系列を示す入力テ
ストパターンと、前記テストパターンのグループ分割に
必要な各グループに属するテストパターンを示すテスト
パタングループ情報と、パタン分割情報(パターンピン
ごとのグループ分割の情報)、入力テストパターンの種
類が論理的に設定し得る信号値の組合せ数より1つ以上
少なくなる数の外部入力端子(以下、特定入力端子と言
う)に割り当てる固定値情報を格納している。
Input test pattern information file 1100
Is an input test pattern indicating a time series of signal values given to each input terminal, test pattern group information indicating a test pattern belonging to each group necessary for group division of the test pattern, and pattern division information (for each pattern pin). Group division information), fixed value information to be assigned to a number of external input terminals (hereinafter, referred to as specific input terminals) whose number of input test pattern types is one or more less than the number of combinations of signal values that can be logically set. Is stored.

【0022】図2は検査対象の論理回路の一例を示す回
路図であり、図3はこの論理回路に対する入力テストパ
ターン30の一例を示す図である。
FIG. 2 is a circuit diagram showing an example of a logic circuit to be inspected, and FIG. 3 is a diagram showing an example of an input test pattern 30 for this logic circuit.

【0023】図2の論理回路において、101〜106
は外部入力端子、107は出力端子である。また、10
1〜219は回路内の各素子に付けられた素子番号であ
り、素子番号205,206はNOTゲート、217,
218,219はORゲート、その他はANDゲートで
ある。また、001から049はこの論理回路内に起こ
り得る仮定故障点、すなわち故障シミュレーションで処
理すべき仮定故障点を示している。
In the logic circuit of FIG. 2, 101 to 106
Is an external input terminal, and 107 is an output terminal. Also, 10
1 to 219 are element numbers assigned to the respective elements in the circuit, and element numbers 205 and 206 are NOT gates, 217,
218 and 219 are OR gates, and the others are AND gates. Further, reference numerals 001 to 049 indicate possible failure points that may occur in this logic circuit, that is, assumed failure points to be processed in the failure simulation.

【0024】図3の入力テストパターン30は、外部入
力端子101〜106に対し時系列に順次印加する論理
0と論理1の信号の組合せで構成され、ここではパター
ン♯1〜♯25の信号が示されている。この図3におい
て、入力端子103と104に注目すると、これらの端
子103,104には両方とも論理0が入力される時
と、両方とも論理1が入力される時と、一方が論理0の
場合は他方に論理1が入力されるという3つのパターン
があり、両方とも論理1になる組合せがないパターンと
なっている。
The input test pattern 30 of FIG. 3 is composed of a combination of logic 0 and logic 1 signals which are sequentially applied to the external input terminals 101 to 106 in time series. Here, the signals of patterns # 1 to # 25 are arranged. It is shown. In FIG. 3, focusing on the input terminals 103 and 104, when a logical 0 is input to both of these terminals 103 and 104, when a logical 1 is input to both of them, and when one is a logical 0 Has three patterns in which the logic 1 is input to the other, and both are patterns in which there is no combination of the logic 1.

【0025】本発明は、このようなパターンが入力され
る入力端子103,104を見出し、図3(a)の入力
テストパターン30を図3(b)に示すようなテストパ
ターン31,32,33に分割する。すなわち、論理0
または論理1の固定値となる第1のグループのテストパ
ターン32,33と、論理0と論理1との組合せで固定
値となる第2のグループのテストパターン31とに分割
する。
According to the present invention, the input terminals 103 and 104 to which such a pattern is input are found, and the input test pattern 30 of FIG. 3A is changed to the test patterns 31, 32 and 33 as shown in FIG. 3B. Split into. That is, logical 0
Alternatively, it is divided into a first group of test patterns 32 and 33 having a fixed value of logic 1 and a second group of test patterns 31 having a fixed value of a combination of logic 0 and logic 1.

【0026】そして、その分割した各グループにおいて
固定値以外の外部入力端子には非固定値Xを割り当てた
図3(c)に示すような固定値パターン34,35,3
6を生成し、これを検査対象の論理回路に印加するもの
である。
Then, fixed value patterns 34, 35, 3 as shown in FIG. 3C in which a non-fixed value X is assigned to the external input terminals other than the fixed value in each of the divided groups.
6 is generated and applied to the logic circuit to be inspected.

【0027】この場合、図4(a)に示すように、論理
0の固定値となる第1のグループのテストパターンと、
論理0と論理1との組合せで固定値となる第2のグルー
プのテストパターンとが既に明確に区分されているよう
なテストパターン40については、分割処理を経ずに図
4(b)に示すような固定値パターン41が生成され
る。
In this case, as shown in FIG. 4A, the test pattern of the first group having a fixed value of logic 0,
A test pattern 40 in which the test pattern of the second group having a fixed value due to the combination of the logic 0 and the logic 1 is already clearly divided is shown in FIG. Such a fixed value pattern 41 is generated.

【0028】まず、図3(a)のようにパターングルー
プが分割されていない場合について説明する。
First, the case where the pattern group is not divided as shown in FIG. 3A will be described.

【0029】パタングループが分割されていない場合
は、パタン分割処理1020に対し、分割処理で注目す
る外部入力端子番号103,104を入力した後、入力
テストパタン情報ファイル1100に格納してある図3
(a)のようなテストパターン30を読出し、図3
(b)に示すようにグループ分割されたテストパターン
31,32,33を作成する。
When the pattern group is not divided, after inputting the external input terminal numbers 103 and 104 to be noticed in the dividing process to the pattern dividing process 1020, the pattern is stored in the input test pattern information file 1100.
The test pattern 30 as shown in FIG.
As shown in (b), test patterns 31, 32, and 33 divided into groups are created.

【0030】次に、固定値パタン生成処理1030にお
いて、分割したパターングル−プ毎に図3(c)のよう
な固定値パターン34,35,36を生成する。
Next, in the fixed value pattern generation processing 1030, fixed value patterns 34, 35 and 36 as shown in FIG. 3C are generated for each of the divided pattern groups.

【0031】次に、入力テストパタン情報ファイル11
00から各パタングループに属す固定値を読出し、さら
に結線関係情報ファイル1110から結線関係情報を読
出し、固定値シミュレーション1040を実行し、続く
観測不能領域追跡処理1050で論理回路内の観測不能
な領域を認識し、その観測不能な領域を観測情報格納テ
ーブル1120に格納する。
Next, the input test pattern information file 11
00 to read the fixed values belonging to each pattern group, further read the connection relation information from the connection relation information file 1110, execute the fixed value simulation 1040, and perform the unobservable region tracking process 1050 to determine the unobservable region in the logic circuit. It recognizes and stores the unobservable area in the observation information storage table 1120.

【0032】この固定値シミュレーション1040と観
測不能領域追跡処理1050は、ステップ1060の判
定処理により、図3(c)の固定値パターン34,3
5,36のそれぞれについて実施する。
The fixed value simulation 1040 and the unobservable region tracking process 1050 are the fixed value patterns 34, 3 of FIG.
It carries out about each of 5,36.

【0033】なお、観測不能領域追跡処理1050につ
いては後で詳細に説明する。
The unobservable region tracking process 1050 will be described in detail later.

【0034】次に、観測不能領域追跡処理1050によ
って検出した各固定値パターン毎の観測不能領域の情報
を元に、図3の仮定故障点001〜049にそれぞれ対
応した観測不能フラグを持つ処理対象故障テーブル11
30内の各観測不能フラグをセットする。すると、各グ
ループの固定値パターンを入力した際の共通の観測不能
領域が求まる。
Next, based on the information of the unobservable area for each fixed value pattern detected by the unobservable area tracking processing 1050, the processing target having the unobservable flags respectively corresponding to the assumed failure points 001 to 049 in FIG. Failure table 11
Each unobservable flag in 30 is set. Then, the common unobservable region when the fixed value pattern of each group is input is obtained.

【0035】従って、処理対象故障テーブル1130
は、論理回路内に起こり得る故障の全体から、観測不能
領域内の故障を取り除いたものとなる。
Therefore, the processing target failure table 1130
Is the total of possible failures in the logic circuit, with the failures in the unobservable region removed.

【0036】そこで、この処理対象故障テーブル113
0および論理回路の結線関係情報ファイル1110と、
入力テストパターン情報ファイル1100を入力として
故障シミュレーション1080を未実施のテストパター
ンがなくなるまで実施する。
Therefore, this processing target failure table 113
0 and the connection relation information file 1110 of the logic circuit,
The failure simulation 1080 is performed using the input test pattern information file 1100 as an input until there are no unexecuted test patterns.

【0037】その結果、故障検出率1140と、期待出
力値1150と、故障辞書1160が求まる。
As a result, the failure detection rate 1140, the expected output value 1150, and the failure dictionary 1160 are obtained.

【0038】次に、図4(a)のようにパターングルー
プが既に分割されてる場合について説明する。
Next, a case where the pattern group is already divided as shown in FIG. 4A will be described.

【0039】パターングループが分割されている場合
は、図4(b)のような固定値パターンを直接生成し、
この固定値パターンと結線関係情報ファイル1110と
に基づき、固定値シミュレーション1040を実行す
る。固定値シミュレーション以下の処理はパタングルー
プを分割していない場合の処理と同様なので説明は省略
する。
When the pattern group is divided, a fixed value pattern as shown in FIG. 4B is directly generated,
A fixed value simulation 1040 is executed based on this fixed value pattern and the connection relation information file 1110. The process after the fixed value simulation is the same as the process when the pattern group is not divided, and thus the description thereof is omitted.

【0040】次に、パターン分割処理1020の例につ
いて説明する。
Next, an example of the pattern division processing 1020 will be described.

【0041】人手で指定した固定値入力対象の入力端子
(図2の例の入力端子103,104)について、入力
パターンを順に調査し、印加しているパターンの論理値
の組合せが1種類である限り、同一のパターングループ
に属すパターンであると判定する。
With respect to the input terminals (input terminals 103 and 104 in the example of FIG. 2) for which a fixed value is manually specified, the input patterns are sequentially examined, and the combination of the logical values of the applied patterns is one type. As long as it is determined that the patterns belong to the same pattern group.

【0042】もし、1種類のパターンを集めることによ
って十分多くのパターンからなるパターングループを構
成できないのであれば、次は2種類のパターンで表され
ている限り同一のパターングループに属していると判定
していく。この作業を考えられる論理値の組合せの数マ
イナス1種類まで繰り返す。
If a pattern group consisting of a sufficient number of patterns cannot be formed by collecting one type of pattern, it is determined that the patterns belong to the same pattern group as long as they are represented by two types of patterns. I will do it. This operation is repeated up to the number of possible combinations of logical values minus one.

【0043】ここで、図3(a)のテストパターン30
を例にとって説明すると、人手で指定した固定値入力対
象の2つの入力端子103,104の考えられる論理値
の組合せの数は4種類である。そこで、全組み合わせよ
り1つ少ない種類、つまり3種類以下のパターンで表す
ことの可能なグループで分割する必要がある。まず、1
種類で表すグループ分割が可能であるかを見てみると、
入力端子103,104において、パターン番号11〜
15までは一定値“0”を取り、パタン番号16〜25
までは、一定値“0”を取ることで可能であり、これら
をそれぞれグループとする。
Here, the test pattern 30 shown in FIG.
As an example, the number of possible combinations of logical values of the two input terminals 103 and 104 for manually inputting fixed values is four. Therefore, it is necessary to divide into groups that can be represented by patterns that are one less than all combinations, that is, three or less patterns. First, 1
Looking at whether it is possible to divide into groups by type,
In the input terminals 103 and 104, pattern numbers 11 to 11
It takes a constant value "0" up to 15, and pattern numbers 16-25
Up to the above, it is possible to take a constant value "0", and these are each made into a group.

【0044】次に、残りのパターン番号1〜10までは
互いに相反の組合せであり、2種類で表すグループ分割
が可能である。これを1つのグループとする。
Next, the remaining pattern numbers 1 to 10 are mutually contradictory combinations, and group division represented by two types is possible. Let this be one group.

【0045】したがって、図3(a)は図3(b)のよ
うに3つのグループに分割される。
Therefore, FIG. 3 (a) is divided into three groups as shown in FIG. 3 (b).

【0046】ここで、図3(a)の例は、指定された端
子に印加される論理値が可能な全てのパターンの組合せ
より少ない種類だけで印加している場合であり、指定さ
れた端子に印加される論理値が可能な全てのパターンの
組合せと同じ数だけ印加している場合は、パターングル
ープを得ることはできない。このような場合、シミュレ
ーション対象回路が組合せ回路であれば、パターンの入
力順を編成し直し、最も効率良く観測不能領域を抽出で
きるパターングループに分割する。最も効率が良いパタ
ーングループとは、そのグループにおいて、できるだけ
パターン種が少なく、かつ分割したパタングループ数が
少ないものをいう。
Here, the example of FIG. 3 (a) is a case where the logic values applied to the designated terminal are applied with only a smaller number of combinations than all possible pattern combinations, and the designated terminal is applied. When the same number of combinations of all possible patterns having the logical value applied to the same are applied, the pattern group cannot be obtained. In such a case, if the simulation target circuit is a combinational circuit, the input order of the patterns is rearranged and the patterns are divided into pattern groups that can extract the unobservable region most efficiently. The most efficient pattern group is a group in which the number of pattern types is as small as possible and the number of divided pattern groups is small.

【0047】固定値シミュレーションはパタングループ
数だけ実施するので、パターングループ数が少なければ
少ないほど固定値シミュレーションの数も少なくて済
み、処理時間が短縮できる。
Since the fixed value simulation is carried out for the number of pattern groups, the smaller the number of pattern groups, the smaller the number of fixed value simulations, and the shorter the processing time.

【0048】次に、観測不能領域追跡処理1050につ
いて説明する。この処理は固定値シミュレーションの演
算結果を用い、観測不能領域を追跡することによって回
路内に観測不能フラグをセットし、かつ観測不能領域内
の故障をこのパターングループ内の該固定値パターンに
対して故障シミュレーションの処理対象外とする。
Next, the unobservable region tracking process 1050 will be described. This process uses the calculation result of the fixed value simulation, sets the unobservable flag in the circuit by tracing the unobservable region, and detects the fault in the unobservable region with respect to the fixed value pattern in this pattern group. Not subject to failure simulation processing.

【0049】ここで、観測不能とは、故障の伝搬経路が
外部出力端子まで連続していない、すなわち、故障の信
号変化が外部出力端子に到達する前に消滅することであ
り、観測不能な故障は検出され得ない故障である。ま
た、観測不能フラグは、観測不能領域に含まれるか否か
を示すもので、論理回路内の各故障毎に付加される論理
回路の観測不能領域情報であり、観測不能フラグがオン
のとき、すなわち“1”のとき観測不能領域に含まれる
ことを示し、オフのとき、すなわち“1”のとき観測不
能領域に含まれないことを示す。
Here, the unobservable means that the failure propagation path is not continuous to the external output terminal, that is, the signal change of the failure disappears before reaching the external output terminal, and the unobservable failure occurs. Is a failure that cannot be detected. The unobservable flag indicates whether or not it is included in the unobservable region, and is unobservable region information of the logic circuit added for each failure in the logic circuit. When the unobservable flag is on, That is, when it is "1", it is included in the unobservable region, and when it is off, that is, "1", it is not included in the unobservable region.

【0050】具体的に説明すると、各入力端子に固定値
を割当て固定値シミュレーションを行う前に観測情報格
納テーブル1120の観測不能フラグを図5に示すよう
に全てオンにイニシャライズする。その後、以下の処理
を全ての外部出力端子について繰り返す。
More specifically, before assigning a fixed value to each input terminal and performing a fixed value simulation, all the unobservable flags in the observation information storage table 1120 are initialized to ON as shown in FIG. After that, the following processing is repeated for all external output terminals.

【0051】図6の素子番号215を例として説明する
と、論理演算を実施して信号線上の論理値を求め、これ
を用いて出力端子から入力端子へ順に入力端子の信号変
化が観測可能であるか否かを計算する。この場合、図2
の033番の入力端子に論理値“0”が入力され、03
4番の入力端子に“X”が入力されていることにより、
論理値“0”が出力側に伝わり、034番の“X”の入
力端子の“0”、“1”変化は出力端子に伝わらない。
When the element number 215 in FIG. 6 is taken as an example, a logical operation is performed to obtain a logical value on the signal line, and by using this, a signal change at the input terminal can be observed sequentially from the output terminal to the input terminal. Calculate whether or not. In this case,
The logical value "0" is input to the 033th input terminal of
Because "X" is input to the 4th input terminal,
The logical value "0" is transmitted to the output side, and the "0" and "1" changes of the 034th "X" input terminal are not transmitted to the output terminal.

【0052】従って、“0”の入力端子033番に
“0”、“1”の変化が伝わると、それぞれ出力端子に
は“0”、“X”と変化して伝わる。よって、入力論理
値“0”の端子033番は観測可能であり、観測不能フ
ラグをオフにする。
Therefore, when a change of "0" or "1" is transmitted to the input terminal 033 of "0", it is changed to "0" or "X" and transmitted to the output terminal. Therefore, the terminal 033 having the input logical value “0” is observable, and the unobservable flag is turned off.

【0053】一方、活性化されない“X”の入力端子0
34番は観測不能領域であるので、観測不能フラグをオ
ンのままにしておく。この処理を外部出力端子から外部
入力端子まで、観測可能と判定された全入力ピンに対し
て実行する。その結果、各固定値パターンにおいての観
測不能領域を求めることができる。
On the other hand, the input terminal 0 of "X" which is not activated
Since the 34th is an unobservable region, the unobservable flag is left on. This process is executed for all input pins that are determined to be observable, from the external output terminal to the external input terminal. As a result, the unobservable region in each fixed value pattern can be obtained.

【0054】次に図2の回路例を用いて共通な観測不能
領域を抽出するまでを説明する。
Next, the process of extracting a common unobservable region will be described using the circuit example of FIG.

【0055】指定した固定値入力対象端子が入力端子1
03と104である場合、入力テストパターン30を参
照し、論理的に考えられる全パターン数より少ないかど
うか調査する。
The specified fixed value input target terminal is the input terminal 1.
In the case of 03 and 104, reference is made to the input test pattern 30 and it is investigated whether the number is smaller than the total number of logically conceivable patterns.

【0056】図4の入力テストパターン40の場合は、
入力端子103、104には入力パターン番号の1番目
から15番目までにそれぞれ“0”と“1”を各々相反
して印加しており、16番目から25番目には両方の端
子共に“0”を印加している。
In the case of the input test pattern 40 of FIG.
"0" and "1" are applied to the input terminals 103 and 104, respectively, from the 1st to the 15th of the input pattern numbers, and from the 16th to the 25th, both terminals are "0". Is being applied.

【0057】従来は、16番目から25番目のパターン
グループに対してだけ観測不能領域を定義できたが、本
発明では、1番目のパタンから15番目のパターングル
ープに対しても、さらに、1番目から25番目までの全
パターンを含むグループに対しても観測不能領域を定義
できる。
Conventionally, the unobservable region can be defined only for the 16th to 25th pattern groups, but in the present invention, the 1st pattern to the 15th pattern group can be further defined as the 1st pattern. The non-observable region can be defined even for the group including all patterns from 1 to 25.

【0058】本例では1番目から25番目の全パターン
を1つのグループとする場合について述べる。
In this example, the case where all the 1st to 25th patterns are grouped will be described.

【0059】当パターングループに属する固定値パタン
グループは図4(b)のように、入力端子103、10
4にそれぞれ“0”,“1”または“1”,“0”また
は“0”,“0”を入力し、その他の端子には“0”、
“1”両方を取りうる非固定値“X”を入力するような
3つのパターンからなる。
The fixed value pattern groups belonging to this pattern group are input terminals 103, 10 as shown in FIG. 4B.
Input “0”, “1” or “1”, “0” or “0”, “0” to 4 respectively, and input “0” to other terminals,
It consists of three patterns in which a non-fixed value "X" that can take both "1" is input.

【0060】そのとき、観測情報格納テーブル1120
には図5に示すように結線関係情報ファイル1110よ
り得た仮定故障点をセットしておき、全ての仮定故障点
の観測不能フラグは全てオン、すなわち“1”にイニシ
ャライズし、図4(b)の3つの固定値パターンについ
て各々固定値シミュレーションを実行し、ファンアウト
先の各素子に対して論理演算を行う。
At that time, the observation information storage table 1120
5, the hypothetical failure points obtained from the connection relation information file 1110 are set, and all the unobservable flags of all the hypothetical failure points are turned on, that is, initialized to "1", and ), A fixed value simulation is performed for each of the three fixed value patterns, and a logical operation is performed on each element at the fanout destination.

【0061】例えば、論理演算する際、固定値“0”、
“1”と非固定値“X”の3値の真理値表を用いる。図
7(a)にANDゲート、(b)にORゲート、(c)
にNOTゲートの真理値表を示した。
For example, when performing a logical operation, a fixed value "0",
A ternary truth table of "1" and non-fixed value "X" is used. FIG. 7A shows an AND gate, FIG. 7B shows an OR gate, and FIG.
Table 1 shows the truth table of NOT gate.

【0062】入力端子103が“0”、104番が
“1”、その他の入力端子が“X”となる1番目の固定
値パターンを入力した場合の論理回路上の信号値を図8
に示す。
The signal values on the logic circuit when the first fixed value pattern in which the input terminal 103 is "0", the 104th is "1" and the other input terminals are "X" are shown in FIG.
Shown in.

【0063】この1番目の固定値パターンで観測可能な
領域として辿れなかったのは、301,302,304
で示す領域である。これに含まれる観測不能な仮定故障
点は、005、011、029、006、012、03
1、010、016、036である。
The areas that cannot be traced as observable areas in this first fixed value pattern are 301, 302, 304.
This is the area indicated by. The unobservable assumed failure points included in this are 005, 011, 029, 006, 012, 03.
They are 1, 010, 016 and 036.

【0064】よって、これら観測不能な仮定故障点の観
測不能フラグは“1”のまま残る。しかし、他の仮定故
障点は観測可能であるので、その観測不能フラグは
“0”がセットされる。
Therefore, the unobservable flags of these unobservable assumed failure points remain "1". However, since other hypothetical failure points are observable, "0" is set to the unobservable flag.

【0065】次に入力端子103が“1”、104が
“0”、その他の入力端子が“X”となる2番目の固定
値パターンを入力した場合の論理回路上の信号値を図9
に示す。
Next, the signal values on the logic circuit when the second fixed value pattern in which the input terminal 103 is "1", 104 is "0" and the other input terminals are "X" are input are shown in FIG.
Shown in.

【0066】この2番目のパターンで観測可能な領域と
して辿れないのは、301、303、304で示す領域
である。これに含まれる観測不能な仮定故障点は、00
5、011、029、009、015、034、01
0、016、036である。
The regions which cannot be traced as the observable regions in this second pattern are the regions 301, 303 and 304. The unobservable hypothetical failure points included in this are 00
5, 011, 029, 009, 015, 034, 01
0, 016 and 036.

【0067】この観測不能な仮定故障点の中で009、
015、034については1番目の固定値パターンに対
する観測不能領域追跡では観測可能と判定されているた
め、観測情報格納テーブル1120の観測不能フラグは
“0”のままである。逆に、1番目の固定値パターンに
対する観測不能領域追跡で観測不能であった006、0
12、031は2回目の観測不能領域追跡で観測可能と
なるので、観測不能フラグには“0”がセットされる。
In this unobservable assumed failure point 009,
For 015 and 034, since it is determined that the first fixed value pattern is unobservable in the unobservable region tracking, the unobservable flag of the observation information storage table 1120 remains “0”. On the contrary, 006,0 which was unobservable in the unobservable region tracking for the first fixed value pattern
Since 12, 031 can be observed in the second unobservable region tracking, “0” is set in the unobservable flag.

【0068】よって2番目の固定値パターンに対する処
理が終了した段階で観測不能な仮定故障点は、005、
011、029、010、016、036である。
Therefore, when the processing for the second fixed value pattern is completed, the unobservable hypothetical failure point is 005,
011, 029, 010, 016 and 036.

【0069】最後に、入力端子103が“0”、104
が“0”、その他の端子が“X”となる3番目の固定値
パターンを入力した場合をの論理回路上の信号値を図6
に示す。
Finally, the input terminal 103 is "0", 104
6 shows the signal value on the logic circuit when the third fixed value pattern in which the other terminal is “0” and the other terminals are “X” is input.
Shown in.

【0070】この3番目の固定値パターンで観測可能な
領域として辿れないのは、301、302、303で示
す領域である。これに含まれる観測不能な仮定故障点
は、005、011、029、006、012、03
1、009、015、034である。
The areas which cannot be traced as the observable areas in the third fixed value pattern are the areas 301, 302 and 303. The unobservable assumed failure points included in this are 005, 011, 029, 006, 012, 03.
1, 009, 015, 034.

【0071】この観測不能な仮定故障点の中で009、
015、034については1番目の固定値パターンに対
する観測不能領域追跡で観測可能であり、006、01
2、031についても2番目の固定値パターンに対する
観測不能領域追跡で観測可能であるので、観測不能フラ
グは“0”のままである。また、1、2番目の固定値パ
ターンに対する観測不能領域追跡で観測不能であった0
10、016、036は3番目の固定値パターンに対す
る観測不能領域追跡で観測可能であるので、観測不能フ
ラグには“0”をセットする。
In this unobservable hypothetical failure point 009,
015 and 034 are observable by the unobservable region tracking for the first fixed value pattern, and 006 and 01
With respect to 2,031 as well, the unobservable flag remains "0" because it can be observed by the unobservable region tracking for the second fixed value pattern. In addition, 0 was not observable by tracing the unobservable region for the first and second fixed value patterns.
Nos. 10, 016, and 036 are observable in the unobservable region tracking for the third fixed value pattern, and therefore "0" is set in the unobservable flag.

【0072】よって、最終的に観測不能な仮定故障点
は、005、011、029である。よって、005、
011、029の観測不能フラグは“1”のままであ
り、3つの固定値パータンに対する処理が終了した時点
での観測情報格納テーブル1120の中の観測不能フラ
グは図10に示すようなものとなる。
Therefore, finally unobservable hypothetical failure points are 005, 011 and 029. Therefore, 005,
The unobservable flags of 011 and 029 remain "1", and the unobservable flag in the observation information storage table 1120 at the time when the processing for the three fixed value patterns is completed is as shown in FIG. .

【0073】続いて、このような固定値シミュレーショ
ンで得た観測不能情報を元に故障シミュレーションに入
力する処理対象故障テーブル1130を作成する。
Subsequently, the processing target failure table 1130 to be input to the failure simulation is created based on the unobservable information obtained by such a fixed value simulation.

【0074】処理対象故障テーブル1130を図11に
示す。この処理対象故障テーブル1130には、仮定故
障点と観測不能フラグの項目が格納されており、仮定故
障点のフラグは全てオン、すなわち“1”にイニシャラ
イズされている。
FIG. 11 shows the processing target failure table 1130. This processing target failure table 1130 stores items of a hypothetical failure point and an unobservable flag, and all the flags of the hypothetical failure point are turned on, that is, initialized to "1".

【0075】そこで、固定値シミュレーションで得られ
た観測情報格納テーブル1120の観測不能情報をもと
に、処理対象故障テーブル1130内の観測可能な仮定
故障点は図12に示すようにフラグをオフにセットす
る。
Therefore, based on the unobservable information of the observation information storage table 1120 obtained by the fixed value simulation, the observable hypothetical fault point in the processing target fault table 1130 has the flag turned off as shown in FIG. set.

【0076】従って、全ての仮定故障点を参照した結
果、観測不能な仮定故障点のみフラグがオンのままセッ
トされていることになる。この情報により故障シミュレ
ーションを実行する。
Therefore, as a result of referring to all the hypothetical fault points, only the unobservable hypothetical fault points have their flags set to be on. A failure simulation is executed based on this information.

【0077】本来ならば001から049で示す全ての
仮定故障点の故障に対して故障シミュレーションを実施
する必要がある。しかし、この観測不能領域認識処理に
より、観測可能な仮定故障点のみを登録した処理対象故
障テーブル1130が作成され、それに対しての観測不
能情報が得られるので処理が削減できる。
Originally, it is necessary to carry out the failure simulation for the failures at all the hypothetical failure points indicated by 001 to 049. However, this unobservable region recognition processing creates a processing target failure table 1130 in which only observable assumed failure points are registered, and unobservable information for the processing target failure table 1130 is obtained, so the processing can be reduced.

【0078】この例の場合は、005、011、029
の3個の仮定故障点についてシミュレーションしなくて
もよいことになる。
In the case of this example, 005, 011 and 029
It is not necessary to perform simulation for the three assumed failure points of

【0079】次に図3の入力テストパターンを入力した
場合を考えてみる。
Next, consider the case where the input test pattern of FIG. 3 is input.

【0080】この場合は4種類のパターンを入力してい
るので、このまま固定値として入力しても効果が無い。
よって、同じパターンを入力しているグループに分割す
る。
In this case, since four types of patterns are input, inputting a fixed value as it is has no effect.
Therefore, it is divided into groups in which the same pattern is input.

【0081】まず、図3(a)に示すテストパターン3
0を参照すると、1番目から10番目のパターンまでが
各々“0”と“1”を相反して割当てており、11番目
から15番目までのパターンが両方の入力端子共に
“0”を割当てており、16番目から25番目までのパ
ターンが両方の入力端子共に“1”を割当てている。
First, the test pattern 3 shown in FIG.
Referring to 0, the 1st to 10th patterns assign "0" and "1" contradictory to each other, and the 11th to 15th patterns assign "0" to both input terminals. In the 16th to 25th patterns, "1" is assigned to both input terminals.

【0082】そこで、入力パターングループを図3
(b)のテストパターン31,32,33に示すよう
に、3種類のパターングループに分割して各々のパタン
グループについて観測情報格納テーブル1120に仮定
故障点を登録し、かつ1種の固定値シミュレーションを
実行する毎に観測不能フラグをオンにイニシャライズす
る。
Therefore, the input pattern group is shown in FIG.
As shown in the test patterns 31, 32, and 33 of (b), it is divided into three types of pattern groups, the assumed failure points are registered in the observation information storage table 1120 for each pattern group, and one type of fixed value simulation is performed. The unobservable flag is initialized to ON each time is executed.

【0083】そして、図3(c)の固定値パターン3
4,35,36を入力として固定値シミュレーションを
実行し、観測可能であれば観測不能フラグをオフにし
て、それぞれのパターングループについての観測不能領
域を求める。そして、1種のパターングループの固定値
シミュレーションが終了するごとに、故障シミュレーシ
ョンを実行し、先の固定値シミュレーションで得た情報
を元に故障の伝搬範囲を縮小する。これによって、処理
を削減することができる。
Then, the fixed value pattern 3 in FIG.
A fixed value simulation is executed using 4, 35, and 36 as inputs, and if observable, the unobservable flag is turned off, and the unobservable region for each pattern group is obtained. Then, each time the fixed value simulation of one type of pattern group is completed, the failure simulation is executed and the propagation range of the failure is reduced based on the information obtained by the previous fixed value simulation. This can reduce processing.

【0084】[0084]

【発明の効果】以上説明したように本発明は、検査対象
の論理回路の外部入力端子群に、当該論理回路内で発生
し得る故障を検出すべく作成された信号値の組合せから
成る入力テストパターンを印加し、外部出力端子に到る
当該論理回路内の信号値の変化に基づいて回路内の故障
をシミュレーションする故障シミュレーション処理方法
において、入力テストパターンの種類が論理的に設定し
得る信号値の組合せ数より1つ以上少なくなる数であれ
ば、該入力テストパターンを、論理0または論理1の固
定値となる第1のグループと、論理0と論理1との組合
せで固定値となる第2のグループとに分割し、その分割
した各グループにおいて固定値を該当する外部入力端子
に印加し、その他の外部入力端子には非固定値を印加
し、当該論理回路内の全ての信号線上の論理値を求め、
これらの論理値により外部出力端子から入力側の素子へ
順に辿り、各素子の出力端子において入力端子の信号変
化を観測可能であるか否かを計算し、観測可能な経路と
して辿れなかった領域を観測不能領域として認識したう
え、各グループの共通の観測不能領域に含まれる故障を
入力テストパタンに対して故障シミュレーションを実施
するときの処理対象として登録せず、観測可能な経路上
の故障のみを入力テストパタンに対して故障シミュレー
ションを実施するときの処理対象として登録し、さらに
前記故障シミュレーションの対象として登録した観測可
能な経路上の故障に対して故障シミュレーションを実施
する際に、該故障の影響の伝搬先が観測不能領域内の素
子に到達した場合には、それ以降のシミュレーション処
理を実行しないようにしたものである。
As described above, according to the present invention, an input test including a combination of signal values created to detect a failure that may occur in a logic circuit to be inspected in the external input terminal group of the logic circuit to be inspected. In the fault simulation processing method of applying a pattern and simulating a fault in the circuit based on the change in the signal value in the logic circuit reaching the external output terminal, the signal value in which the type of the input test pattern can be logically set If the number is one or more less than the number of combinations, the input test pattern is a first group having a fixed value of logic 0 or logic 1 and a first group having a combination of logic 0 and logic 1 has a fixed value. In each group, the fixed value is applied to the corresponding external input terminal and the non-fixed value is applied to the other external input terminals. Obtains the logical values of all the signal lines,
These logical values are used to sequentially trace from the external output terminal to the element on the input side, calculate whether or not the signal change of the input terminal can be observed at the output terminal of each element, and determine the area that cannot be traced as an observable path. After recognizing as an unobservable region, the faults included in the common unobservable region of each group are not registered as the processing target when performing the fault simulation on the input test pattern, and only the faults on the observable route are registered. The effect of the fault when the fault simulation is performed on the observable path registered as the processing target when the fault simulation is performed on the input test pattern, and is further registered as the target of the fault simulation. When the propagation destination of reaches the element in the unobservable area, the subsequent simulation processing is not executed. It is obtained by the.

【0085】このため、ある外部入力端子が“0”また
は“1”の固定値の時だけではなく、論理的に設定し得
る全ての組合せを常に使用していない場合でも観測不能
領域を抽出することができるパタンの範囲が広がり、故
障シミュレーション処理に係る処理量を削減することが
できる。
Therefore, the unobservable region is extracted not only when a certain external input terminal has a fixed value of "0" or "1" but also when not all logically settable combinations are always used. The range of possible patterns is expanded, and the processing amount related to the failure simulation processing can be reduced.

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

【図1】 本発明の故障シミュレーション処理方法の一
実施例を示す処理フローである。
FIG. 1 is a processing flow showing an embodiment of a failure simulation processing method of the present invention.

【図2】 実施例の故障シミュレーションの処理対象と
なる論理回路例を示す回路図である。
FIG. 2 is a circuit diagram illustrating an example of a logic circuit that is a processing target of a failure simulation according to an embodiment.

【図3】 パターン分割処理が必要な入力テストパター
ンの例を示すパターン図である。
FIG. 3 is a pattern diagram showing an example of an input test pattern that requires pattern division processing.

【図4】 パターン分割処理が必要でない入力テストパ
ターンの例を示すパターン図である。
FIG. 4 is a pattern diagram showing an example of an input test pattern that does not require pattern division processing.

【図5】 実施例における論理回路の結線関係、故障仮
定点、観測不能フラグを格納した観測情報格納テーブル
の構成図である。
FIG. 5 is a configuration diagram of an observation information storage table in which connection relations of logic circuits, failure assumption points, and unobservable flags are stored in the embodiment.

【図6】 処理対象の論理回路に第3の固定値パターン
を入力したときの故障伝搬及び、観測不能領域を論理回
路上に表現した説明図である。
FIG. 6 is an explanatory diagram in which a fault propagation and an unobservable area when a third fixed value pattern is input to a logic circuit to be processed are expressed on the logic circuit.

【図7】 論理演算時に用いる真理値表の例を示す説明
図である。
FIG. 7 is an explanatory diagram showing an example of a truth table used in a logical operation.

【図8】 処理対象の論理回路に第1の固定値パターン
を入力したときの故障伝搬及び、観測不能領域を論理回
路上に表現した説明図である。
FIG. 8 is an explanatory diagram in which a fault propagation and an unobservable region when a first fixed value pattern is input to a logic circuit to be processed are expressed on the logic circuit.

【図9】 処理対象の論理回路に第2の固定値パターン
を入力したときの故障伝搬及び、観測不能領域を論理回
路上に表現した説明図である。
FIG. 9 is an explanatory diagram in which a fault propagation and an unobservable region when a second fixed value pattern is input to a logic circuit to be processed are expressed on the logic circuit.

【図10】 共通観測不能領域認識処理後の観測情報格
納テーブルの内容を示す説明図である。
FIG. 10 is an explanatory diagram showing the contents of an observation information storage table after a common unobservable region recognition process.

【図11】 処理対象故障点を格納した処理対象故障テ
ーブルの構成図である。
FIG. 11 is a configuration diagram of a processing target failure table that stores processing target failure points.

【図12】 共通観測不能領域認識処理後の観測不能故
障を除いた処理対象故障テーブルの内容を示す説明図で
ある。
FIG. 12 is an explanatory diagram showing the contents of a processing target failure table excluding unobservable failures after the common unobservable area recognition processing.

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

001,002,003,004,005,006,0
07,008,009,010,011,012,01
3,014,015,016,017,018,01
9,020,021,022,023,024,02
5,026,027,028,029,030,03
1,032,033,034,035,036,03
7,038,039,040,041,042,04
3,044,045,046,047,048,049
…仮定故障点、101,102,103,104,10
5,106…外部入力端子、107…外部出力端子、2
01,202,203,204,207,208,20
9,210,211,212,213,214,21
5,216…ANDゲート、217,218,219…
ORゲート、205,206…NOTゲート、301,
302,303,304…観測不能領域、1010…固
定値入力端子指定処理、1020…パタン分割処理、1
030…固定値パタン生成処理、1050…観測不能領
域追跡処理、1070…共通観測不能領域認識処理、1
100…入力テストパタン情報ファイル、1110…結
線関係情報ファイル、1120…観測情報格納テーブ
ル、1130…処理対象故障テーブル、1140…故障
検出率、1150…故障期待値、1160…故障辞書。
001,002,003,004,005,006,0
07,008,009,010,011,012,01
3,014,015,016,017,018,01
9,020,021,022,023,024,02
5,026,027,028,029,030,03
1,032,033,034,035,036,03
7,038,039,040,041,042,04
3,044,045,046,047,048,049
... Assumed failure point, 101, 102, 103, 104, 10
5, 106 ... External input terminal, 107 ... External output terminal, 2
01, 202, 203, 204, 207, 208, 20
9, 210, 211, 212, 213, 214, 21
5, 216 ... AND gates, 217, 218, 219 ...
OR gate, 205, 206 ... NOT gate, 301,
302, 303, 304 ... Unobservable area, 1010 ... Fixed value input terminal designation processing, 1020 ... Pattern division processing, 1
030 ... Fixed value pattern generation processing, 1050 ... Unobservable area tracking processing, 1070 ... Common unobservable area recognition processing, 1
100 ... Input test pattern information file, 1110 ... Connection relation information file, 1120 ... Observation information storage table, 1130 ... Process failure table, 1140 ... Failure detection rate, 1150 ... Failure expected value, 1160 ... Failure dictionary.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 検査対象の論理回路の外部入力端子群
に、当該論理回路内で発生し得る故障を検出すべく作成
された信号値の組合せから成る入力テストパターンを印
加し、外部出力端子に到る当該論理回路内の信号値の変
化に基づいて回路内の故障をシミュレーションする故障
シミュレーション処理方法において、 前記入力テストパターンの種類が論理的に設定し得る信
号値の組合せ数より1つ以上少なくなる数であれば、該
入力テストパターンを、論理0または論理1の固定値と
なる第1のグループと、論理0と論理1との組合せで固
定値となる第2のグループとに分割し、その分割した各
グループにおいて固定値を該当する外部入力端子に印加
し、その他の外部入力端子には非固定値を印加し、当該
論理回路内の全ての信号線上の論理値を求め、これらの
論理値により外部出力端子から入力側の素子へ順に辿
り、各素子の出力端子において入力端子の信号変化を観
測可能であるか否かを計算し、観測可能な経路として辿
れなかった領域を観測不能領域として認識したうえ、各
グループの共通の観測不能領域に含まれる故障を入力テ
ストパタンに対して故障シミュレーションを実施すると
きの処理対象として登録せず、観測可能な経路上の故障
のみを入力テストパタンに対して故障シミュレーション
を実施するときの処理対象として登録し、さらに前記故
障シミュレーションの対象として登録した観測可能な経
路上の故障に対して故障シミュレーションを実施する際
に、該故障の影響の伝搬先が観測不能領域内の素子に到
達した場合には、それ以降のシミュレーション処理を実
行しないことを特徴とする故障シミュレーション処理方
法。
1. An input test pattern composed of a combination of signal values created to detect a fault that may occur in the logic circuit is applied to an external input terminal group of the logic circuit to be inspected, and the external output terminal is applied to the external output terminal. In a fault simulation processing method for simulating a fault in a circuit based on an upcoming change in a signal value in the logic circuit, the type of the input test pattern is one or more less than the number of signal value combinations that can be logically set. , The input test pattern is divided into a first group having a fixed value of logic 0 or logic 1 and a second group having a fixed value of a combination of logic 0 and logic 1, Apply a fixed value to the corresponding external input terminal in each divided group, apply a non-fixed value to the other external input terminals, and set the logical values on all signal lines in the logic circuit. Obtained, traced in order from the external output terminal to the input side element by these logical values, calculated whether the signal change of the input terminal could be observed at the output terminal of each element, and could not be traced as an observable path Faults on observable paths are recognized without recognizing the region as an unobservable region and registering the faults included in the common unobservable region of each group as the processing target when performing the fault simulation on the input test pattern. Only the input test pattern is registered as a processing target when a fault simulation is performed, and when the fault simulation is performed for the fault on the observable path registered as the target of the fault simulation, the fault is detected. When the propagation destination of the influence of reaches the element in the unobservable area, the subsequent simulation processing is executed. A failure simulation processing method characterized by the absence thereof.
JP5056593A 1993-03-17 1993-03-17 Fault simulation processing method Pending JPH06266792A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5056593A JPH06266792A (en) 1993-03-17 1993-03-17 Fault simulation processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5056593A JPH06266792A (en) 1993-03-17 1993-03-17 Fault simulation processing method

Publications (1)

Publication Number Publication Date
JPH06266792A true JPH06266792A (en) 1994-09-22

Family

ID=13031503

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5056593A Pending JPH06266792A (en) 1993-03-17 1993-03-17 Fault simulation processing method

Country Status (1)

Country Link
JP (1) JPH06266792A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112698187A (en) * 2020-12-08 2021-04-23 重庆百瑞互联电子技术有限公司 Method and device for improving test coverage rate of integrated circuit
KR20230059328A (en) * 2021-10-26 2023-05-03 연세대학교 산학협력단 Circuit and method for capture power reduction in logic bist

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112698187A (en) * 2020-12-08 2021-04-23 重庆百瑞互联电子技术有限公司 Method and device for improving test coverage rate of integrated circuit
CN112698187B (en) * 2020-12-08 2023-08-04 重庆百瑞互联电子技术有限公司 Method and device for improving test coverage rate of integrated circuit
KR20230059328A (en) * 2021-10-26 2023-05-03 연세대학교 산학협력단 Circuit and method for capture power reduction in logic bist

Similar Documents

Publication Publication Date Title
Cheng et al. Delay testing for non-robust untestable circuits
JP2008089549A (en) Failure spot estimation system of multiple failure in logic circuit, failure spot estimation method, and failure spot estimation program
EP0222392A2 (en) Method for test generation
US6321173B1 (en) System and method for efficient verification of functional equivalence between design models
JPH06266792A (en) Fault simulation processing method
JPS6126112A (en) System for diagnosing abnormality of system
WO2008010648A1 (en) Matching method for multiple stuck-at faults diagnosis
JPH01156680A (en) Fault diagnosing method for logic circuit
Pomeranz et al. $ z $-Diagnosis: A Framework for Diagnostic Fault Simulation and Test Generation Utilizing Subsets of Outputs
JPS61262856A (en) Testing circuit
Yamada et al. A method of diagnosing single stuck‐at faults in combinational circuits
JPS63140969A (en) Test facilitation system
US3863059A (en) Fault recognition apparatus for arithmetic/logic devices
JP2658857B2 (en) Equivalent fault extraction method and device
JPH1152023A (en) Method for estimating faulty location of lsi and storage medium storing program for estimating faulty location of lsi
JPH0785129A (en) Test pattern generating method
JPH0391846A (en) Production of correlation diagram for fault detecting circuit
JP2525078B2 (en) Logic circuit test equipment
CN116185857A (en) Automatic verification method and device for simulation test cases, electronic equipment and medium
JPH0634712A (en) Failure diagnostics
JPH1183945A (en) Failure diagnostic system for logic circuit
JPS6310244A (en) Production of faulty dictionary
JPH01100642A (en) Test coverage system for computer system
JPH04245338A (en) Throughput reducing method for fault simulation
JPH06162131A (en) Fault simulation system for large-scale integrated circuit