JPH07174825A - Equivalent trouble extracting method and apparatus - Google Patents

Equivalent trouble extracting method and apparatus

Info

Publication number
JPH07174825A
JPH07174825A JP5343212A JP34321293A JPH07174825A JP H07174825 A JPH07174825 A JP H07174825A JP 5343212 A JP5343212 A JP 5343212A JP 34321293 A JP34321293 A JP 34321293A JP H07174825 A JPH07174825 A JP H07174825A
Authority
JP
Japan
Prior art keywords
fault
trouble
equivalent
test pattern
dictionary
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP5343212A
Other languages
Japanese (ja)
Other versions
JP2658857B2 (en
Inventor
Eiji Harada
英司 原田
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 JP5343212A priority Critical patent/JP2658857B2/en
Publication of JPH07174825A publication Critical patent/JPH07174825A/en
Application granted granted Critical
Publication of JP2658857B2 publication Critical patent/JP2658857B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Tests Of Electronic Circuits (AREA)

Abstract

PURPOSE:To lessen the number of processes and time necessary for a logic composing means by defining a trouble, producing the whole number test patterns, carrying out trouble simulations to produce a trouble dictionary, and extracting an equivalent trouble from the trouble dictionary. CONSTITUTION:A circuit description of a functional gate 100 is put in. The whole number test patterns 220 are produced by the whole number test pattern producing means 210. Troubles 160 are produced by a trouble defining means 150. A trouble dictionary 260 is produced by utilizing a trouble simulation means 250. The dictionary 260 is composed as a corresponding table of the input test patterns, the troubles detectable by the test patterns, and external terminals in which the troubles are detected. An equivalent trouble 140 is extracted by putting the dictionary 260 in and utilizing an equivalent trouble extracting means 270. As a result, a trouble extracting method by which a test pattern can be produced at high speed and high precision without utilizing a logic composing means is obtained even in the case a theoretical circuit is not expressed as a basic logic gate network.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、論理回路の故障シミュ
レーション方式に関し、特に、論理回路の等価故障抽出
方法及び装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a logic circuit fault simulation method, and more particularly to a logic circuit equivalent fault extraction method and apparatus.

【0002】[0002]

【従来の技術】論理回路のテスト設計は、回路の大規模
化に伴い益々重要な位置を占めてきている。テスト設計
は、優れた製造不良検出能力を具備したテストパターン
を設計し、該テストパターンを用いて回路をテストする
ことによって不良品の出荷を回避することを目的として
いる。そして、このテスト設計を実現するためには次に
示す3つの概念が重要となっている。
2. Description of the Related Art Test designing of logic circuits has become more and more important as the scale of circuits increases. The test design aims to avoid the shipment of defective products by designing a test pattern having excellent manufacturing defect detection capability and testing a circuit using the test pattern. In order to realize this test design, the following three concepts are important.

【0003】(1)論理故障: 回路の製造不良の原因
として、これまで様々な物理的欠陥の例が報告されてい
るが、これをそのままテスト設計で扱うのは非常に困難
である。そこで、一般に、回路の論理的な振舞にのみ着
目した論理故障を用いて、故障を単純化する。そして論
理故障の中でも、縮退故障がその扱い易さとカバーでき
る物理的欠陥の広さのために、一般に広く用いられてい
る。
(1) Logic failure: Various physical defects have been reported as the causes of circuit manufacturing defects, but it is very difficult to handle them as they are in test design. Therefore, in general, a fault is simplified by using a logic fault focusing only on the logical behavior of the circuit. Among the logical faults, the stuck-at fault is generally widely used because of its ease of handling and the wide range of physical defects that can be covered.

【0004】縮退故障(Stuck-At-Fault)とは、論理回
路の入出力端子のステート(状態)が“1”又は“0”
に固定された(変化しない)ものと想定する故障モデル
であり、それぞれ1縮退故障、0縮退故障という。
Stuck-At-Fault means that the state of the input / output terminals of the logic circuit is "1" or "0".
It is a failure model that is assumed to be fixed (changes) to, and is referred to as a stuck-at-1 failure and a stuck-at-0 failure, respectively.

【0005】(2)テストパターン生成: マイクロプ
ロセッサに代表される論理の深い回路に対しては、機能
検証テストパターンやランダムテストパターンでは十分
な製造不良検出能力が得られない場合が多い。そこで、
これら既存テストパターンで検出できない残りの故障に
対して、検出可能なテストパターンを生成してその製造
不良検出能力を補うという手法が一般に行われている。
これを自動で行うための手段として自動テスト生成が用
いられるが、大規模な順序回路に対する有効な手法は報
告されていない。
(2) Test pattern generation: For circuits with deep logic represented by a microprocessor, a function verification test pattern or a random test pattern cannot often provide sufficient manufacturing defect detection capability. Therefore,
With respect to the remaining failures that cannot be detected by these existing test patterns, a method of generating a detectable test pattern to supplement the manufacturing defect detection capability is generally performed.
Although automatic test generation is used as a means to do this automatically, an effective method for large-scale sequential circuits has not been reported.

【0006】(3)テストパターン検証: 一般にある
故障に対して生成されたテストパターンは他の故障に対
するテストパターンとしても機能する。この関係を利用
したテストパターン数の削減が一般に行われている。
(3) Test pattern verification: Generally, a test pattern generated for a certain fault also functions as a test pattern for another fault. Reduction of the number of test patterns using this relationship is generally performed.

【0007】削減を可能にするためには、与えられたテ
ストパターンが、論理回路内のどの故障を検出するのか
を判定しなくてはならない。このための手段として、故
障シミュレーションが用いられる。
In order to be able to reduce, it has to be determined which fault in the logic circuit the given test pattern detects. Failure simulation is used as a means for this.

【0008】故障シミュレーションは、故障が存在する
回路に関して、その論理動作をシミュレーションする点
を除けば、論理シミュレーションと原理的に同一処理と
考えられるが、計算時間オーダの点で大きな差がある。
論理シミュレーションの計算量がO(n2)(nはゲー
ト数)であるのに対し、故障シミュレーションはO(n
3)とされ、回路規模が増すほど計算時間の差が増大す
る性質を有する。
The fault simulation is considered to be the same process as the logic simulation in principle, except that the logic operation of a circuit in which a fault exists is simulated, but there is a big difference in terms of calculation time.
The calculation amount of the logic simulation is O (n 2 ) (n is the number of gates), whereas the fault simulation is O (n 2 ).
3 ), which has the property that the difference in calculation time increases as the circuit scale increases.

【0009】そこで故障シミュレーションに要する計算
時間(シミュレーション時間)を削減する手段の1つと
して、故障の等価圧縮が一般に行われている。
Therefore, as one of the means for reducing the calculation time (simulation time) required for the fault simulation, the equivalent compression of the fault is generally performed.

【0010】2個の故障、f1とf2があるものとし
て、故障f1を検出するテストパターン集合と故障f2
を検出するテストパターン集合とが等しいとき、故障f
1とf2は互いに等価関係にあるといい、故障f1(f
2)は故障f2(f1)の等価故障であるという。
Assuming that there are two faults, f1 and f2, a test pattern set for detecting the fault f1 and a fault f2.
When the test pattern set for detecting
1 and f2 are said to have an equivalent relationship with each other, and the failure f1 (f
2) is said to be an equivalent fault of the fault f2 (f1).

【0011】故障の中に、互いに等価関係にある等価故
障があるときには、その中の1つを代表故障としてシミ
ュレーションしさえすればよく、残りの等価故障の検出
判定は、代表故障の検出判定に等しい。このように全故
障の代わりに、代表故障から成る故障を対象とする(こ
れを「等価圧縮」という)ことによりシミュレーション
時間を容易に削減することができる。
When there is an equivalent fault among the faults, it is only necessary to simulate one of them as a representative fault, and the remaining equivalent faults are detected by the representative faults. equal. In this way, the simulation time can be easily reduced by targeting a failure consisting of a representative failure instead of all failures (this is called "equivalent compression").

【0012】以上説明してきたように、故障の等価圧縮
を用いれば、故障シミュレーション時間を容易に削減す
ることが可能となる。従来の等価故障抽出方法は、図3
(A),(B)に示すように、基本論理ゲート、又は基
本論理ゲートを組合せた基本論理ゲートネットワークを
対象とするものであった。
As described above, if the equivalent compression of faults is used, the fault simulation time can be easily reduced. The conventional equivalent fault extraction method is shown in FIG.
As shown in (A) and (B), it was intended for a basic logic gate or a basic logic gate network in which basic logic gates are combined.

【0013】図3(A)は、基本論理ゲートの一例を示
し、各々の基本ゲート(50,51,52,53,5
4,55)は、四角“□”又は三角“△”の記号で分類
した等価故障を持つ。図中の四角及び三角は各ノード
(又はネット)に定義された故障を表わしている。例え
ば、インバータゲート50について、出力0故障と入力
1故障を検出するテストパターンが同一であること、す
なわち、これらの故障が互いに等価であることを示して
いる。
FIG. 3A shows an example of the basic logic gates. Each basic gate (50, 51, 52, 53, 5).
4, 55) have equivalent faults classified by a square “□” or a triangle “Δ”. Squares and triangles in the figure represent faults defined in each node (or net). For example, for the inverter gate 50, it is shown that the test patterns for detecting the output 0 fault and the input 1 fault are the same, that is, these faults are equivalent to each other.

【0014】また、図3(B)は、論理ゲートネットワ
ークの一例であり、点線で囲んだ等価故障を持つ。この
理由は次のとおりである。
Further, FIG. 3B shows an example of a logic gate network, which has an equivalent fault surrounded by a dotted line. The reason for this is as follows.

【0015】基本論理ゲート(56,58,59)の入
出力に定義された故障は、図3(A)からそれぞれ図示
のようになる。そして、基本論理ゲート(NOR)56
の出力0故障と、基本論理ゲート(AND)58の第1
入力0故障はネット57を介して等価関係にある。より
詳細に説明すると、基本論理ゲート56の出力0故障を
検出するテストパターンは、(a,b,c)=(0,
0,0)のみであり、また基本ゲート58の第1入力0
故障を検出するテストパターンもこのテストパターンと
全く同一となる。
The faults defined at the inputs and outputs of the basic logic gates (56, 58, 59) are as shown in FIG. 3 (A). Then, the basic logic gate (NOR) 56
Output 0 failure and the first of the basic logic gates (AND) 58
The 0-input fault is in an equivalent relationship via the net 57. More specifically, the test pattern for detecting the output 0 fault of the basic logic gate 56 is (a, b, c) = (0,
0,0) only, and the first input 0 of the basic gate 58
The test pattern for detecting a failure is also the same as this test pattern.

【0016】ネットの入出力故障の等価関係は、該ネッ
トがファンアウトフリーであるかどうかによって異な
る。ネットがファンアウトフリーの場合は、入出力故障
は互いに等価故障であり、ファンアウトフリーでない場
合には互いに等価故障でない。図3(B)のネット60
はファンアウトフリーでないため、基本論理ゲート(イ
ンバータ)59の出力故障は、y端子の故障と等価でな
い。
The equivalence relation of the input / output failure of the net differs depending on whether the net is fan-out free or not. If the net is fan-out free, the I / O faults are equivalent faults to each other, and if the net is not fan-out free, they are not equivalent faults to each other. Net 60 of FIG. 3 (B)
Is not fan-out free, the output failure of the basic logic gate (inverter) 59 is not equivalent to the failure of the y terminal.

【0017】このように与えられた論理回路が、基本論
理ゲートネットワークの場合には、従来技術で十分であ
るが、そうでない場合には、図5に示すような処理を行
って、等価圧縮前に、論理回路を基本論理ゲートネット
ワークに変換してやらなければならない。
If the logic circuit provided in this way is a basic logic gate network, the conventional technique is sufficient, but if it is not, the processing shown in FIG. First, the logic circuit must be converted into a basic logic gate network.

【0018】図5を参照して、これを詳細に説明する。
与えられた論理回路が、例えば図4に示すようなブール
式90あるいは真理値表80を持つ機能ゲート70であ
るものとする。
This will be described in detail with reference to FIG.
It is assumed that the given logic circuit is a functional gate 70 having a Boolean expression 90 or a truth table 80 as shown in FIG. 4, for example.

【0019】従来技術の場合、図4に示す機能ゲートは
そのままでは処理できず、図5に示すように、入力され
た機能ゲート100に対して論理合成手段110を用い
てこれと等価な基本論理ゲートネットワーク120に変
換しておかなければならない。図3(B)の基本論理ゲ
ートネットワークは、図4の機能ゲート70を論理合成
手段110によって変換した例を示している。
In the case of the prior art, the functional gate shown in FIG. 4 cannot be processed as it is, and as shown in FIG. 5, a logic synthesizing means 110 is used for the input functional gate 100 to obtain an equivalent basic logic. It must be converted into the gate network 120. The basic logic gate network of FIG. 3B shows an example in which the functional gate 70 of FIG. 4 is converted by the logic synthesizing means 110.

【0020】論理合成手段110は、ここでは機能ゲー
トから基本論理ゲートネットワークを生成する手段に限
定されているが、一般に、上位設計レベル(システムレ
ベル、アークテクチャレベル、レジスタトランスファレ
ベル)の回路記述を入力し、論理ゲートレベル(ゲート
レベル、スイッチレベル)の回路記述を出力する手段で
あり、ここ数年広く一般に使われるようになってきてい
る。しかしながら、論理合成手段110に要する計算時
間(合成時間)は、回路規模の増大に対して爆発的に増
大する傾向を持つ。
Although the logic synthesizing means 110 is limited here to means for generating a basic logic gate network from functional gates, generally, a circuit description at a higher design level (system level, architecture level, register transfer level) is input. However, it is a means for outputting a circuit description at a logic gate level (gate level, switch level), and has been widely used in recent years. However, the calculation time (synthesis time) required for the logic synthesizing unit 110 tends to explosively increase as the circuit scale increases.

【0021】次に、機能ゲート100に対して、故障定
義手段150を用いて故障160を定義する。故障の定
義とは、具体的には、図4の機能ゲート70にその一例
を示すように、機能ゲート100の入力端子及び出力端
子に対して0縮退故障及び1縮退故障として割り付ける
ことをいう。図4の機能ゲート70において、例えばa
0,a1はそれぞれ入力aの0及び1縮退故障を表わ
し、また、x0,x1はそれぞれ出力xの0及び1縮退
故障を表わしている。
Next, the fault 160 is defined in the functional gate 100 by using the fault definition means 150. Specifically, the definition of a fault means to assign to the input terminal and the output terminal of the functional gate 100 as a stuck-at-0 fault and a stuck-at-1 fault, as an example is shown in the functional gate 70 of FIG. In the function gate 70 of FIG. 4, for example, a
0 and a1 respectively represent 0 and 1 stuck-at faults of the input a, and x0 and x1 respectively represent 0 and 1 stuck-at faults of the output x.

【0022】最後に、基本論理ゲートネットワーク12
0と故障160に対して、図3(A),(B)について
説明した等価故障を等価故障抽出手段130を用いて抽
出し、等価故障140として出力する。図4の機能ゲー
ト70に対する等価故障140の一例を図2(B)に示
す。この等価故障の例は後に説明する。
Finally, the basic logic gate network 12
For 0 and the fault 160, the equivalent fault described with reference to FIGS. 3A and 3B is extracted by the equivalent fault extraction means 130 and output as the equivalent fault 140. An example of the equivalent fault 140 for the functional gate 70 of FIG. 4 is shown in FIG. An example of this equivalent fault will be described later.

【0023】[0023]

【発明が解決しようとする課題】上述した従来の等価故
障抽出方法は、基本論理ゲートネットワークでない論理
回路については、論理合成手段を用いて該論理回路と等
価な基本論理ゲートネットワークを生成することが必要
とされ、このため、多くの工数と時間とを要するという
問題がある。
In the conventional equivalent fault extraction method described above, for a logic circuit which is not a basic logic gate network, a logic synthesizing means can be used to generate a basic logic gate network equivalent to the logic circuit. Therefore, there is a problem that it requires a lot of man-hours and time.

【0024】従って、本発明の目的は、前記問題点を解
消し、論理回路が基本論理ゲートネットワークとして表
わされない場合にも、論理合成手段を用いることなく、
高速且つ高精度にテストパターンの生成が可能な故障抽
出方法を提供することにある。
Therefore, an object of the present invention is to solve the above-mentioned problems, and even when the logic circuit is not represented as the basic logic gate network, without using the logic synthesizing means,
An object of the present invention is to provide a fault extraction method capable of generating a test pattern at high speed and with high accuracy.

【0025】[0025]

【課題を解決するための手段】前記目的を達成するた
め、本発明は、(a)論理回路の回路記述を入力する工程
と、(b)前記論理回路について全数テストパターンを生
成する工程と、(c)前記論理回路に対して故障を定義す
る工程と、(d)前記定義された故障と前記全数テストパ
ターンに基づき故障シミュレーションを行ない故障辞書
を生成する工程と、及び、(e)前記故障辞書から互いに
等価な関係の故障を抽出する工程と、から成る等価故障
抽出方法を提供する。
To achieve the above object, the present invention comprises: (a) inputting a circuit description of a logic circuit; and (b) generating a 100% test pattern for the logic circuit. (c) a step of defining a fault for the logic circuit, (d) a step of performing a fault simulation based on the defined faults and the total test pattern, and generating a fault dictionary, and (e) the fault A method of extracting faults having an equivalent relationship from a dictionary, and an equivalent fault extraction method comprising:

【0026】また、本発明は、論理回路の回路記述を入
力する手段と、前記論理回路に故障を定義する手段と、
前記論理回路の全数テストパターンを生成する手段と、
前記論理回路と全数テストパターン及び故障を入力し故
障シミュレーションにより故障辞書を生成する手段と、
前記故障辞書を参照し前記故障の等価関係を抽出する等
価故障抽出手段と、を具備して成る等価故障抽出装置を
提供する。
The present invention further comprises means for inputting a circuit description of a logic circuit, means for defining a fault in the logic circuit,
Means for generating a 100% test pattern of the logic circuit;
Means for inputting the logic circuit, a 100% test pattern, and faults to generate a fault dictionary by fault simulation;
And an equivalent fault extracting means for extracting the equivalence relation of the faults by referring to the fault dictionary.

【0027】[0027]

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

【0028】[0028]

【実施例1】図1は、本発明に係る等価故障抽出方法の
一実施例を示す機能ブロック図である。同図に示すよう
に、最初に機能ゲート100の回路記述を入力し、全数
テストパターン生成手段210を用いて全数テストパタ
ーン220を生成し、故障定義手段150を用いて故障
160を生成する。なお、全数テストパターン生成手段
210では、機能ゲートの入力端子数がn個のとき、2
n個の組み合わせのパターンが生成される。
[Embodiment 1] FIG. 1 is a functional block diagram showing an embodiment of an equivalent fault extraction method according to the present invention. As shown in the figure, first, the circuit description of the functional gate 100 is input, the 100% test pattern generating means 210 is used to generate the 100% test pattern 220, and the fault defining means 150 is used to generate the fault 160. In the total test pattern generation means 210, when the number of input terminals of the functional gate is n, 2
N combinations of patterns are generated.

【0029】次に、全数テストパターン220及び該故
障160を入力して故障シミュレーション手段250を
用いて故障辞書260を生成する。故障辞書260は、
入力テストパターンとそのテストパターンで検出可能な
故障、及び該故障が検出される外部端子の対応表として
構成される。
Next, the 100% test pattern 220 and the faults 160 are input, and the fault simulation means 250 is used to generate a fault dictionary 260. The failure dictionary 260 is
It is configured as a correspondence table of an input test pattern, a fault that can be detected by the test pattern, and an external terminal in which the fault is detected.

【0030】ここで、図2(A)を参照して、故障辞書
260の具体例について説明する。図2(A)は、図4
に示した機能ゲート70に関する故障辞書の例を示して
いる。同図に示すように、故障辞書300には、テスト
パターン毎に該テストパターンに対応する検出故障が配
置され、検出故障の(x|y)は出力端子xとyで検出
される故障を表わしている。例えば、テストパターン番
号8のテストパターン(a,b,c)=(1,1,1)
の場合、出力端子xで検出できる故障は{x1}、すな
わち出力xの1縮退故障であり、出力端子yで検出でき
る故障は{c0,y1}、すなわち、入力cの0縮退故
障と出力yの1縮退故障であることを表わしている。
Here, a specific example of the fault dictionary 260 will be described with reference to FIG. FIG. 2A is the same as FIG.
The example of the failure dictionary regarding the functional gate 70 shown in FIG. As shown in the figure, in the fault dictionary 300, detected faults corresponding to the test patterns are arranged for each test pattern, and (x | y) of the detected faults indicates the fault detected at the output terminals x and y. ing. For example, the test pattern of test pattern number 8 (a, b, c) = (1, 1, 1)
, The fault that can be detected at the output terminal x is {x1}, that is, the stuck-at-1 fault of the output x, and the fault that can be detected at the output terminal y is {c0, y1}, that is, the stuck-at-0 fault of the input c and the output y. 1 is a stuck-at fault.

【0031】図1の処理の最後のステップとして、故障
辞書260を入力し、等価故障抽出手段270を用いて
等価故障140を抽出する。図2(B)に、図4の3入
力2出力の機能ゲート70の等価故障の例を示す。同図
において、記号“{}”は集合を表わし、全体を囲
む{}は等価故障の集合を、各{}は等価故障の構成要
素を示している。例えば、等価故障{a1,b1,x
0}は、図3(B)の基本論理ゲートネットワークにお
いて一点鎖線で囲んだ基本論理ゲート56と58におけ
る入力端子と出力端子の等価故障に対応している。
As the last step of the process of FIG. 1, the fault dictionary 260 is input and the equivalent fault extraction means 270 is used to extract the equivalent fault 140. FIG. 2B shows an example of an equivalent failure of the 3-input 2-output functional gate 70 of FIG. In the figure, the symbol "{}" represents a set, {} enclosing the entire set represents a set of equivalent faults, and each {} represents a constituent element of the equivalent fault. For example, the equivalent fault {a1, b1, x
0} corresponds to the equivalent failure of the input terminal and the output terminal in the basic logic gates 56 and 58 surrounded by the dashed line in the basic logic gate network of FIG. 3 (B).

【0032】次に、図5及び図6を参照して、全数テス
トパターン生成手段210及び等価故障抽出手段270
について説明する。
Next, with reference to FIGS. 5 and 6, a total test pattern generation means 210 and an equivalent fault extraction means 270.
Will be described.

【0033】図5は全数テストパターン生成手段210
の詳細な処理フローを示している。図5の処理フローを
具体例として、図4の3入力2出力機能ゲート70を用
いて説明する。
FIG. 5 shows a total test pattern generation means 210.
The detailed processing flow of is shown. The process flow of FIG. 5 will be described as a specific example using the 3-input 2-output function gate 70 of FIG.

【0034】機能ゲート70の入力をa,b,cとし、
Sを空集合、変数kを0に初期化する(ステップ40
0)。
The inputs to the function gate 70 are a, b, and c,
Initialize S to the empty set and variable k to 0 (step 40
0).

【0035】機能ゲートのテストパターンを(a,b,
c)で表記するものとして、変数kの大きさの判定(ス
テップ410)にて、 k(=0)<23 であるため、最初のループに入り、 S=(0,0,0)US(=空集合) の演算処理が行なわれる(ステップ420)。
The test pattern of the functional gate is (a, b,
As described in c), in the determination of the size of the variable k (step 410), since k (= 0) <2 3 , the first loop is entered, and S = (0,0,0) U A calculation process of S (= empty set) is performed (step 420).

【0036】このあと、変数kをインクリメント(ステ
ップ430)して、分岐判定410の条件を満たさなく
なる(k≧23)まで、ループ内の処理を繰り返すと、 S={(0,0,0),(0,0,1), …,(1,1,1)} となり、図2(A)の故障辞書の例に示すテストパター
ンが得られる。
After that, the variable k is incremented (step 430) and the processing in the loop is repeated until the condition of the branch decision 410 is not satisfied (k ≧ 2 3 ), S = {(0,0,0 ), (0,0,1), ..., (1,1,1)}, and the test pattern shown in the example of the fault dictionary in FIG. 2A is obtained.

【0037】図6は、等価故障抽出手段270の詳細な
処理フローを示している。図を参照して、処理を具体的
に説明する。
FIG. 6 shows a detailed processing flow of the equivalent fault extraction means 270. The processing will be specifically described with reference to the drawings.

【0038】図2(A)の故障辞書の例において、故障
に関してその検出テストパターン集合を求める(ステッ
プ500)と、Sは次式(1)で与えられる。
In the example of the fault dictionary of FIG. 2A, when the detection test pattern set for the fault is obtained (step 500), S is given by the following equation (1).

【0039】[0039]

【数1】 [Equation 1]

【0040】ここで、例えばa0:(5x)は故障a0
が5パターン目に外部端子xで検出可能であることを示
している。
Here, for example, a0: (5x) is the failure a0.
Indicates that the fifth pattern can be detected by the external terminal x.

【0041】P=空集合とし、次に分岐判定510でS
は空集合でないため、処理520に進み、Sの最初の要
素a0について、SからPに移す(ステップ520)
と、SとPは次式(2)のようになる。
P = empty set, and then branch decision 510 S
Is not an empty set, the process proceeds to step 520, and the first element a0 of S is moved from S to P (step 520).
Then, S and P are expressed by the following equation (2).

【0042】[0042]

【数2】 [Equation 2]

【0043】次に、Sの要素で検出テストパターン集合
が、a0のそれと一致する故障を探す(ステップ53
0)。この場合、そのような故障は存在しないのでSと
Pは変わらない。すなわち、分岐判定510に戻り、S
は空集合でないため処理520が実行される。
Next, the element of S is searched for a fault whose detected test pattern set matches that of a0 (step 53).
0). In this case, S and P do not change because there is no such fault. That is, the process returns to the branch determination 510 and S
Is not an empty set, processing 520 is executed.

【0044】Sの次の要素a1についてSからPに移す
(ステップ520)。
The element a1 next to S is moved from S to P (step 520).

【0045】Sの要素で検出テストパターン集合がa1
のそれと一致する故障を探す(ステップ530)。
In the element S, the detected test pattern set is a1
Search for a failure that matches that of (step 530).

【0046】この場合b1,x0が見つかり、これらは
Sから{a1}に移される(ステップ540)。この結
果S,Pは次式(3)のようになる。
In this case, b1 and x0 are found and they are moved from S to {a1} (step 540). As a result, S and P are expressed by the following equation (3).

【0047】[0047]

【数3】 [Equation 3]

【0048】以上の処理を繰り返し、Sが空集合になっ
た段階でループは終了し、この時、S,Pは式(4)で
与えられる。
The above process is repeated, and the loop ends when S becomes an empty set. At this time, S and P are given by equation (4).

【0049】[0049]

【数4】 [Equation 4]

【0050】上式(4)の集合Pには、図2(B)の等
価故障310が得られる。
The equivalent fault 310 of FIG. 2B is obtained for the set P of the above equation (4).

【0051】なお、本実施例では、機能ゲートに定義さ
れる故障として縮退故障を用いて説明したが、本発明
は、縮退故障以外の故障モデル、例えば短絡故障等にも
同様にして適用できることは勿論である。さらに、本発
明は、上記実施態様にのみ限定されるものでなく、本発
明の原理に準ずる各種実施態様を含むものである。
In the present embodiment, the stuck-at fault is used as the fault defined in the functional gate. However, the present invention can be similarly applied to a fault model other than the stuck-at fault, such as a short-circuit fault. Of course. Furthermore, the present invention is not limited to the above-mentioned embodiments, but includes various embodiments according to the principle of the present invention.

【0052】[0052]

【発明の効果】以上説明したように、本発明の等価故障
抽出方法は、基本論理ゲートネットワークでない論理回
路に対して、これを基本論理ゲートの組み合わせに変換
する論理合成手段を用いることなく、入力された論理回
路に故障を定義し、且つ全数テストパターンを生成し、
故障とテストパターンに基づき故障シミュレーションを
実行して故障辞書を生成し、故障辞書から等価故障を抽
出することにより、論理合成手段に要する工数と時間を
大幅に削減することができる。
As described above, the equivalent fault extraction method of the present invention inputs a logic circuit which is not a basic logic gate network without using a logic synthesizing means for converting it into a combination of basic logic gates. A fault in the specified logic circuit, and generate a 100% test pattern,
By executing the fault simulation based on the fault and the test pattern to generate the fault dictionary and extracting the equivalent fault from the fault dictionary, the man-hour and time required for the logic synthesizing means can be significantly reduced.

【0053】また、本発明の等価故障抽出装置によれ
ば、論理回路から論理合成手段を用いることなく直接に
等価故障を出力し、一定の故障検出率を保持した等価圧
縮テストパターンを高効率に自動生成することができ
る。
Further, according to the equivalent fault extracting apparatus of the present invention, the equivalent fault is directly output from the logic circuit without using the logic synthesizing means, and the equivalent compression test pattern holding a constant fault coverage is made highly efficient. It can be automatically generated.

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

【図1】本発明の一実施例の構成を示す機能ブロック図
である。
FIG. 1 is a functional block diagram showing the configuration of an embodiment of the present invention.

【図2】本発明の一実施例を説明する図である。 (A) 故障辞書の一例である。 (B) 等価故障の一例である。FIG. 2 is a diagram illustrating an embodiment of the present invention. (A) It is an example of a failure dictionary. (B) This is an example of an equivalent fault.

【図3】従来の技術を説明する図である。 (A) 基本論理ゲートの等価故障の例である。 (B) 基本論理ゲートネットワークとその等価故障
の一例である。
FIG. 3 is a diagram illustrating a conventional technique. (A) An example of an equivalent fault of the basic logic gate. (B) An example of a basic logic gate network and its equivalent fault.

【図4】機能ゲートの一例を説明するブール式と真理値
表を示す図である。
FIG. 4 is a diagram illustrating a Boolean expression and a truth table for explaining an example of a functional gate.

【図5】従来の技術の構成を示す機能ブロック図であ
る。
FIG. 5 is a functional block diagram showing a configuration of a conventional technique.

【図6】本発明に係る全数テストパターン生成手段の詳
細な処理手順を示す流れ図である。
FIG. 6 is a flowchart showing a detailed processing procedure of the total test pattern generation means according to the present invention.

【図7】本発明に係る等価故障抽出手段の詳細な処理手
順を示す流れ図である。
FIG. 7 is a flow chart showing a detailed processing procedure of an equivalent fault extraction means according to the present invention.

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

56 NORゲート 57 ネット 58 ANDゲート 59 インバータ 70 機能ゲートの一例 100 機能ゲート 110 論理合成手段 120 基本論理ゲートネットワーク 130 等価抽出手段 140 等価故障 150 故障定義手段 160 故障 210 全数テストパターン生成手段 220 全数テストパターン 250 故障シミュレーション手段 260 故障辞書 270 等価抽出手段 300 故障辞書の一例 310 等価故障の一例 56 NOR gate 57 Net 58 AND gate 59 Inverter 70 Example of functional gate 100 Functional gate 110 Logic synthesizing means 120 Basic logic gate network 130 Equivalent extracting means 140 Equivalent fault 150 Fault defining means 160 Fault 210 100% test pattern generating means 220 100% test pattern 250 Failure Simulation Means 260 Failure Dictionary 270 Equivalent Extraction Means 300 Example of Failure Dictionary 310 Example of Equivalent Failure

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】(a) 論理回路の回路記述を入力する工程
と、 (b) 前記論理回路について全数テストパターンを生成
する工程と、 (c) 前記論理回路に対して故障を定義する工程と、 (d) 前記定義された故障と前記全数テストパターンに
基づき故障シミュレーションを行ない故障辞書を生成す
る工程と、及び、 (e) 前記故障辞書から互いに等価な関係の故障を抽出
する工程と、から成る等価故障抽出方法。
1. A step of inputting a circuit description of a logic circuit, a step of generating a 100% test pattern for the logic circuit, and a step of defining a fault in the logic circuit. From (d) a step of performing a fault simulation based on the defined faults and the exhaustive test pattern to generate a fault dictionary, and (e) a step of extracting faults having an equivalent relationship from the fault dictionary. Equivalent fault extraction method comprising.
【請求項2】論理回路の回路記述を入力する手段と、前
記論理回路に故障を定義する手段と、前記論理回路の全
数テストパターンを生成する手段と、前記論理回路と全
数テストパターン及び故障を入力し故障シミュレーショ
ンにより故障辞書を生成する手段と、前記故障辞書を参
照し前記故障の等価関係を抽出する等価故障抽出手段
と、を具備して成る等価故障抽出装置。
2. A means for inputting a circuit description of a logic circuit, a means for defining a fault in the logic circuit, a means for generating a 100% test pattern of the logic circuit, a logic circuit, a 100% test pattern and a fault. An equivalent fault extracting device comprising: means for generating a fault dictionary by inputting a fault simulation; and equivalent fault extracting means for referring to the fault dictionary and extracting an equivalence relation of the faults.
JP5343212A 1993-12-17 1993-12-17 Equivalent fault extraction method and device Expired - Lifetime JP2658857B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5343212A JP2658857B2 (en) 1993-12-17 1993-12-17 Equivalent fault extraction method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5343212A JP2658857B2 (en) 1993-12-17 1993-12-17 Equivalent fault extraction method and device

Publications (2)

Publication Number Publication Date
JPH07174825A true JPH07174825A (en) 1995-07-14
JP2658857B2 JP2658857B2 (en) 1997-09-30

Family

ID=18359783

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5343212A Expired - Lifetime JP2658857B2 (en) 1993-12-17 1993-12-17 Equivalent fault extraction method and device

Country Status (1)

Country Link
JP (1) JP2658857B2 (en)

Also Published As

Publication number Publication date
JP2658857B2 (en) 1997-09-30

Similar Documents

Publication Publication Date Title
US5491639A (en) Procedure for verifying data-processing systems
KR100966010B1 (en) An n-squared algorithm for optimizing correlated events
Pomeranz et al. On error correction in macro-based circuits
JP2658857B2 (en) Equivalent fault extraction method and device
Pomeranz et al. Location of stuck-at faults and bridging faults based on circuit partitioning
JPH03290761A (en) Method for designing logic circuit
Chakradhar et al. Redundancy removal and test generation for circuits with non-Boolean primitives
JPH03120485A (en) Fault location estimating system for semiconductor integrated circuit
JPH01156680A (en) Fault diagnosing method for logic circuit
CN111782695B (en) MPW multi-product joint measurement data processing method, storage medium and computer equipment
JPS63140969A (en) Test facilitation system
CN116541194A (en) FPGA resource fault positioning method and system
Aarna et al. Parallel fault simulation of digital circuits
JPH05172904A (en) Method for automatically preparing test pattern and method for estimating failure rate
JPH0634712A (en) Failure diagnostics
JPH06266792A (en) Fault simulation processing method
JPH0259967A (en) Method for designing test facilitating circuit
Reis et al. Testability properties of vertex precedent BDDs
JPH04178575A (en) Guiding method for scan address
JPH1183945A (en) Failure diagnostic system for logic circuit
JPH06324117A (en) Method and device for calculating failure detecting rate
JPH09251061A (en) Test pattern generator
Sang et al. On a logical fault model H1SGLF for enhancing defect coverage
JPH02294843A (en) Logical verification device
JPH06160475A (en) Device for diagnosing integrated circuit

Legal Events

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 19970506