JPH01217277A - Test pattern preparation - Google Patents
Test pattern preparationInfo
- Publication number
- JPH01217277A JPH01217277A JP63043542A JP4354288A JPH01217277A JP H01217277 A JPH01217277 A JP H01217277A JP 63043542 A JP63043542 A JP 63043542A JP 4354288 A JP4354288 A JP 4354288A JP H01217277 A JPH01217277 A JP H01217277A
- Authority
- JP
- Japan
- Prior art keywords
- test pattern
- fault
- trouble
- input
- pattern input
- 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
Links
- 238000012360 testing method Methods 0.000 title claims abstract description 96
- 238000004088 simulation Methods 0.000 claims abstract description 29
- 238000000034 method Methods 0.000 claims abstract description 24
- 230000004913 activation Effects 0.000 claims description 14
- 238000012217 deletion Methods 0.000 claims description 13
- 230000037430 deletion Effects 0.000 claims description 13
- 238000001514 detection method Methods 0.000 claims description 12
- 238000012545 processing Methods 0.000 claims description 3
- 230000008030 elimination Effects 0.000 abstract 1
- 238000003379 elimination reaction Methods 0.000 abstract 1
- 238000010586 diagram Methods 0.000 description 4
- 235000013619 trace mineral Nutrition 0.000 description 4
- 239000011573 trace mineral Substances 0.000 description 4
- 230000000694 effects Effects 0.000 description 3
- 235000002597 Solanum melongena Nutrition 0.000 description 1
- 244000061458 Solanum melongena Species 0.000 description 1
- 238000011156 evaluation Methods 0.000 description 1
- 239000000284 extract Substances 0.000 description 1
- 230000000644 propagated effect Effects 0.000 description 1
Landscapes
- Tests Of Electronic Circuits (AREA)
- Test And Diagnosis Of Digital Computers (AREA)
Abstract
Description
【発明の詳細な説明】
〔産業上の利用分野〕
本発明はテストパタン作成方式に関し、特に論理回路の
テストパタン作成方式において故障検出可否の判定をテ
ストパタン入力発生時にも行うテストパタン作成方式に
関する。[Detailed Description of the Invention] [Field of Industrial Application] The present invention relates to a test pattern creation method, and more particularly to a test pattern creation method for determining whether or not a fault can be detected even when a test pattern is input in a test pattern creation method for logic circuits. .
従来、この種のテストパタン作成方式では、故障定義手
段によって1つ以上の故障が定義された対象故障から1
つの故障を選択して選択した故障を検出することが可能
なテストパタン入力を発生した後に、選択した故障を含
む対象故障に対して故障シミュレーションを行い、生成
したテストパタン入力でどれだ6ノの故障を検出するこ
とができるかを評価していた。Conventionally, in this type of test pattern creation method, one or more faults are defined by the fault definition means.
After selecting one fault and generating a test pattern input that can detect the selected fault, fault simulation is performed for the target faults including the selected fault, and the generated test pattern input is used to determine which of the six faults. We were evaluating whether failures could be detected.
また、故障シミュレーションによる評価の結果、未検出
の故障があればその未検出の故障からさらに1つの故障
を選択して選択した未検出の故障を検出するためのテス
トパタン入力を発生して故障シミュレーションを行って
評価するという処理を満足のいくまで繰り返して実行す
る方法がとられていた(例えば、オーム社“LSIハン
トブック゛第3編第2章、1984年参照)。In addition, if there is an undetected fault as a result of the evaluation by fault simulation, one more fault is selected from the undetected faults and a test pattern input is generated to detect the selected undetected fault, and the fault simulation is performed. A method was adopted in which the process of conducting and evaluating the results was repeated until satisfaction was achieved (for example, see Ohm Publishing's "LSI Hunt Book", Volume 3, Chapter 2, 1984).
上述した従来のテストパタン作成方式では、発生したテ
ストパタン入力が選択された故障を検出できることが明
白な場合でも不要な故障シミュレーションを行っており
、さらにテストパタン入力発生時に容易に同一のテスト
パタン入力で検出可能とわかる故障についても不要な故
障シミュレーションを行っているので、メモリやマシン
タイムを無駄に使用してしまうという欠点がある。In the conventional test pattern creation method described above, unnecessary fault simulation is performed even when it is clear that the generated test pattern input can detect the selected fault. Since unnecessary fault simulations are performed even for faults that are known to be detectable, there is a drawback that memory and machine time are wasted.
本発明の目的は、」−述の点に鑑み、テストパタン入力
発生時にも故障検出を行いさらにテストパタン入力の極
小化を行うことにより、故障シミュレーションの対象と
する対象故障およびテストパタン人力を減らして故障シ
ミュレーション時の負荷を軽減し、メモリやマシンタイ
ムを無駄に使用することなしに効率よくテストパタンを
作成することができるテストパタン作成方式を提供する
ことムこある。In view of the above points, an object of the present invention is to detect faults even when test pattern input occurs, and further minimize test pattern input, thereby reducing target faults targeted for fault simulation and test pattern manpower. It is an object of the present invention to provide a test pattern generation method that can reduce the load during failure simulation and efficiently generate test patterns without wasting memory or machine time.
C課題を解決するための手段〕
本発明のテストパタン作成方式は、論理回路のテストパ
タン作成方式において、選択された故障に対してテスト
パタン入力を発生するテストパタン入力発生手段と、こ
のテストパタン入力発生手段における故障の検出点から
活性化されたパスのトレースを行ってパス上の検出可能
故障を求める活性化パストレース手段段と、この活性化
パストレース手段により求められたパス上の検出可能故
障を対象故障から削除する故障削除手段と、前記テスト
パタン入力発生手段、前記活性化パストレース手段およ
び前記故障削除手段による処理が繰り返された後に生成
された複数のテストパタン入力の併合化を行うテストパ
タン入力併合化手段と、このテストパタン入力併合化手
段により併合化が行われたテストパタン入力を用いて前
記故障削除手段により検出可能故障が削除された対象故
障に対して故障シミュレーションを行って検出率および
テストパタンを作成する故障シミュレーション手段とを
有する。Means for Solving Problem C] The test pattern generation method of the present invention is a test pattern generation method for a logic circuit, which includes a test pattern input generation means for generating a test pattern input for a selected fault, and a test pattern input generation means for generating a test pattern input for a selected fault; an activation path tracing means for tracing the activated path from a fault detection point in the input generation means to find a detectable fault on the path; and a detectable fault on the path found by the activation path tracing means. Fault deletion means for deleting a fault from target faults, and merging a plurality of test pattern inputs generated after the processes by the test pattern input generation means, the activation path tracing means, and the fault deletion means are repeated. Using a test pattern input merging means and the test pattern input merged by the test pattern input merging means, a fault simulation is performed for the target fault from which the detectable fault has been deleted by the fault deletion means. It has a detection rate and a fault simulation means for creating a test pattern.
本発明のテストパタン作成方式では、テストパタン入力
発生手段が選択された故障に対してテストパタン入力を
発生し、活性化パストレース手段がテストパタン入力発
生手段における故障の検出点から活性化されたパスのト
レースを行ってパス上の検出可能故障を求め、故障削除
手段が活性化パストレース手段により求められたパス上
の検出可能故障を対象故障から削除し、テストパタン入
力併合化手段がテストパタン入力発生手段、活性化パス
トレース手段および故障削除手段による処理が繰り返さ
れた後に生成された複数のテストパタン入力の併合化を
行い、故障シミュレーション手段がテスj・バタン入力
倒台化手段により併合化が行われたテストパタン入力を
用いて故障削除手段により検出可能故障が削除された対
象故障に対して故障シミュレーションを行って検出率お
よびテストパタンを作成する。In the test pattern generation method of the present invention, the test pattern input generation means generates a test pattern input for a selected fault, and the activation path trace means is activated from the fault detection point in the test pattern input generation means. The path is traced to find a detectable fault on the path, the fault deletion means deletes the detectable fault on the path found by the activated path tracing means from the target fault, and the test pattern input merging means extracts the test pattern. The plurality of test pattern inputs generated after the processing by the input generation means, the activation path tracing means, and the fault deletion means are repeated are merged, and the fault simulation means merges the test pattern inputs by the test j/bang input collapse means. Using the input test pattern, a fault simulation is performed for the target fault whose detectable fault has been removed by the fault deletion means to create a detection rate and a test pattern.
次に、本発明について図面を参照して詳細に説明する。 Next, the present invention will be explained in detail with reference to the drawings.
第1図は、本発明の一実施例のテストパタン作成方式の
構成を示すブロック図である。本実施例のテストパタン
作成方式は、論理回路1と、故障定義手段2と、テスト
パタン入力発生手段3と、活性化パストレース手段4と
、故障削除手段5と、故障シミュレーション手段6と、
ナス1−バタン入力併合化手段7と、対象故障8と、テ
ストパタン入力9と、パス上の検出可能故障10と、検
出率11と、テストパタン12とから構成されている。FIG. 1 is a block diagram showing the configuration of a test pattern creation method according to an embodiment of the present invention. The test pattern creation method of this embodiment includes a logic circuit 1, a fault definition means 2, a test pattern input generation means 3, an activation path tracing means 4, a fault deletion means 5, a fault simulation means 6,
It is composed of an eggplant 1-bang input merging means 7, a target fault 8, a test pattern input 9, a detectable fault 10 on the path, a detection rate 11, and a test pattern 12.
次に、このように構成された本実施例のテストパタン作
成方式の動作について説明する。Next, the operation of the test pattern creation method of this embodiment configured as described above will be explained.
故障定義手段2は、論理回路1に対して予め1つ以上の
故障を仮定して対象故障8を定義する。The fault definition means 2 defines a target fault 8 by assuming one or more faults in the logic circuit 1 in advance.
テストパタン入力発生手段3は、対象故障8のうちの1
つの故障を選択して、選択した故障を検出することがで
きるテストパタン入力9を発生ずる。The test pattern input generating means 3 generates one of the target faults 8.
One fault is selected to generate a test pattern input 9 that can detect the selected fault.
次に、活性化パストレース手段4は、選択した故障の検
出点からファンイントレースを開始し、ファンイン側素
子の出力値がDまたはDである場合には判定したファン
イン側素子へのライン上の故障は検出可能な故障である
ので、パス上の検出可能故障10とする。また、ファン
イン側素子の出力値がDまたばDでない場合でも、活性
化パストレース手段4は、次に、トレース元素子のタイ
プおよびファンイン側素子の出力値からトレース元素子
とファンイン側素子との間のラインが故障検出可能なラ
インであれば、パス上の検出可能故障10とする。Next, the activation path tracing means 4 starts fan-in tracing from the selected failure detection point, and if the output value of the fan-in side element is D or D, the activation path tracing means 4 starts the fan-in tracing from the selected failure detection point, and if the output value of the fan-in side element is D or D, the line to the determined fan-in side element is Since the above fault is a detectable fault, it is defined as detectable fault 10 on the path. Further, even if the output value of the fan-in side element is D or not D, the activation path tracing means 4 next determines the trace element and the fan-in side from the type of the trace element and the output value of the fan-in side element. If the line between the element and the element is a line in which a fault can be detected, it is determined as a detectable fault 10 on the path.
なお、Dはそれぞれ正常時に“’ 1 ” 、故障時に
°′0°゛を示す(0縮退故障を示す)信号の値、Dは
正常時に“0”、故障時に“1゛を示す(1縮退故障を
示す)信号の値である。ファンイン側素子の出力値がD
またはDとなっている場合には、故障が伝搬してきたパ
スであるので、ライン上の0縮退故障(Dのとき)およ
び1縮退故障(15のとき)は検出することが可能であ
る。したがって、ファンイン側の出力値がDおよびDの
場合には、パス上の検出可能故障10とされる。In addition, D is the value of the signal that indicates "'1" when normal and °'0°" when a failure occurs (indicating a stuck-at-0 fault), and D indicates "0" when normal and indicates "1" when a fault occurs (stuck-at-1). This is the value of the signal (indicating a failure).The output value of the fan-in side element is D
Or if it is D, this is the path through which the fault has propagated, so it is possible to detect the stuck-at-0 fault (when D) and the stuck-at-1 fault (when 15) on the line. Therefore, when the output values on the fan-in side are D and D, it is determined that there is a detectable fault 10 on the path.
マf、−1例えば、トレース元素子のタイプが2人力A
ND (アンド)ゲートの場合には、2人力ANDゲー
トの出力の0縮退故障に対してファンイン側素子の正常
時の出力値がともに“1゛とすると、ファンイン側素子
側の2つのライン上に故障が存在しないときには入力A
NDゲートの出力値がパ1″、故障が存在するときには
入力ANDゲートの出力値が“O″となることがら、フ
ァンイン側素子側の2つのライン上の0縮退故障は検出
可能である。このようにして、トレース元素子のタイプ
およびファンイン側素子の出力値により故障検出可能な
ライン上の故障がパス上の検出可能故障10とされる。Ma f, -1 For example, the type of trace element is 2 manual A
In the case of an ND (AND) gate, if the normal output values of the fan-in side elements are both "1" for the stuck-at-0 fault of the output of the two-man power AND gate, then the two lines on the fan-in side element side Input A when there is no fault on
Since the output value of the ND gate is "P1" and the output value of the input AND gate is "O" when a fault exists, a stuck-at-0 fault on the two lines on the fan-in side element side can be detected. In this way, a fault on a line that can be detected based on the type of trace element and the output value of the fan-in side element is defined as a detectable fault 10 on the path.
活性化パストレース手段4は、論理回路1のすべてのパ
スについてファンイントレースを行ってパス上の検出可
能故障10を抽出する。The activation path tracing means 4 performs fan-in tracing on all paths of the logic circuit 1 to extract detectable faults 10 on the paths.
次に、対象故障削除手段5は、対象故障8からパス上の
検出可能故障10を削除する。Next, the target fault deletion means 5 deletes the detectable fault 10 on the path from the target fault 8.
以上の処理が繰り返され、複数のテストパタン入力9が
生成される。The above process is repeated and a plurality of test pattern inputs 9 are generated.
複数の子ストパクン入力9が生成された後に、テスI・
バタン入力併合化手段6は、複数のテストパタン入ノj
9の極小化(マージ)を行う。After the multiple child stop inputs 9 are generated, the test I.
The button input merging means 6 inputs a plurality of test patterns.
Minimize (merge) 9.
ここで、テストパタン入力併合化手段6によるテストパ
タン入力9のマージ処理について説明する。Here, the merging process of the test pattern inputs 9 by the test pattern input merging means 6 will be explained.
例えば、第2図に示すように3つのテストパタン入力a
、bおよびCが生成されているとする。For example, as shown in Figure 2, three test pattern inputs a
, b and C are generated.
テストパタン入力aとテストパタン入力すとを重ねても
矛盾はないので、テストパタン入力併合化手段6は、テ
ストパタン入力aとテストパタン入力すとをマージして
jつのテストパタン入力dとする。したがって、故障シ
ミュレーション手段7において故障シミュレーションに
使用されるテストパタン入力9はテストパタン入力Cお
よびdとなる。なお、Xは、選択された故障に影響を与
えないパスの入力端子のテストパタン入力値である。Since there is no contradiction even if the test pattern input a and the test pattern input are overlapped, the test pattern input merging means 6 merges the test pattern input a and the test pattern input into j test pattern inputs d. . Therefore, the test pattern inputs 9 used for fault simulation in the fault simulation means 7 are test pattern inputs C and d. Note that X is a test pattern input value of an input terminal of a path that does not affect the selected fault.
この後、故障シミュレーション手段7は、故障削除手段
5によってパス上の検出可能故障10が削除された対象
故障8に対してテストパタン入力併合化手段6によって
マージ処理が行われた後の複数のテストパタン入力9に
より故障シミュレーションを行い、テストパタン12お
よび検出率11を求める。Thereafter, the fault simulation means 7 performs a plurality of tests after the test pattern input merging means 6 performs merging processing on the target fault 8 from which the detectable fault 10 on the path has been deleted by the fault deletion means 5. A failure simulation is performed using a pattern input 9, and a test pattern 12 and a detection rate 11 are determined.
このとき、第3図に示すように、例えば、第2図に示す
テストパタン入力a生成時、テストパタン入力す生成時
およびテストパタン入力C生成時のパス上の検出可能故
障IOをそれぞれA、BおよびCとすると、故障シミュ
レーション手段6による故障シミュレーションの対象と
なる対象故障8は、斜線部の故障りである。At this time, as shown in FIG. 3, for example, the detectable fault IO on the path when generating the test pattern input a, when generating the test pattern input A, and when generating the test pattern input C shown in FIG. Assuming B and C, the target fault 8 to be subjected to fault simulation by the fault simulation means 6 is the fault in the shaded area.
検出率11が十分でないときには、テストパタン入力発
生手段3に戻り、以上の処理を繰り返す。If the detection rate 11 is not sufficient, the process returns to the test pattern input generation means 3 and the above process is repeated.
以上説明したように本発明は、テストパタン入力発生時
にも故障検出を行って検出可能故障を対象故障から削減
しさらにテストパタン入力の極小化を行うことにより、
故障シミュレーションの対象故障およびテストパタン入
力を減らして故障シミュレーション時の負荷を軽減し、
不要な故障シミュレーションを行うことによるメモリお
よびマシンタイムの無駄な使用を省いて効率よくナス1
〜パタンを作成することができるという効果がある。As explained above, the present invention performs fault detection even when test pattern input occurs, reduces detectable faults from target faults, and further minimizes test pattern input.
Reduces the load during fault simulation by reducing the number of target faults and test pattern inputs for fault simulation.
Eliminate wasteful use of memory and machine time due to unnecessary failure simulations and efficiently
~It has the effect of being able to create patterns.
第1図は本発明の一実施例のテストパタン作成方式の構
成を示すブロック図、
第2図は第1図中のテストパタン入力併合化手段おける
マージ処理を説明するための図、第3図は第1図中の故
障シミュレーション手段が故障シミュレーションを行う
うえでの対象故障を例示する図である。
図において、
1・・・論理回路、
2・・・故障定義手段、
3・・・テストパタン入力発生手段、
4・・・活性化パストレース手段、
5・・・故障削除手段、
6・・・テストパタン入力併合化手段、7・・・故障シ
ミュレーション手段、
8・・・対象故障、
9・・・テストパタン入力、
10・・・パス上の検出可能故障、
11・・・検出率、
12・・・テストパタンである。FIG. 1 is a block diagram showing the configuration of a test pattern creation method according to an embodiment of the present invention, FIG. 2 is a diagram for explaining the merging process in the test pattern input merging means in FIG. 1, and FIG. FIG. 2 is a diagram illustrating target faults when the fault simulation means in FIG. 1 performs fault simulation. In the figure, 1... logic circuit, 2... fault definition means, 3... test pattern input generation means, 4... activation path tracing means, 5... fault deletion means, 6... Test pattern input merging means, 7... Fault simulation means, 8... Target fault, 9... Test pattern input, 10... Detectable fault on path, 11... Detection rate, 12. ...This is a test pattern.
Claims (1)
故障に対してテストパタン入力を発生するテストパタン
入力発生手段と、 このテストパタン入力発生手段における故障の検出点か
ら活性化されたパスのトレースを行ってパス上の検出可
能故障を求める活性化パストレース手段と、 この活性化パストレース手段により求められたパス上の
検出可能故障を対象故障から削除する故障削除手段と、 前記テストパタン入力発生手段、前記活性化パストレー
ス手段および前記故障削除手段による処理が繰り返され
た後に生成された複数のテストパタン入力の併合化を行
うテストパタン入力併合化手段と、 このテストパタン入力併合化手段により併合化が行われ
たテストパタン入力を用いて前記故障削除手段により検
出可能故障が削除された対象故障に対して故障シミュレ
ーションを行って検出率およびテストパタンを作成する
故障シミュレーション手段と、 を有することを特徴とするテストパタン作成方式。[Claims] In a test pattern generation method for a logic circuit, a test pattern input generating means generates a test pattern input for a selected fault; an activation path tracing means for tracing the detected path to find a detectable fault on the path; a fault deletion means for deleting the detectable fault on the path found by the activation path tracing means from target faults; a test pattern input merging means for merging a plurality of test pattern inputs generated after the processing by the test pattern input generation means, the activation path tracing means, and the fault deletion means is repeated; fault simulation means for creating a detection rate and a test pattern by performing a fault simulation on a target fault whose detectable fault has been deleted by the fault deletion means using the test pattern input merged by the merging means; A test pattern creation method characterized by having the following.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP63043542A JPH01217277A (en) | 1988-02-26 | 1988-02-26 | Test pattern preparation |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP63043542A JPH01217277A (en) | 1988-02-26 | 1988-02-26 | Test pattern preparation |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH01217277A true JPH01217277A (en) | 1989-08-30 |
Family
ID=12666631
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP63043542A Pending JPH01217277A (en) | 1988-02-26 | 1988-02-26 | Test pattern preparation |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH01217277A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5719881A (en) * | 1995-02-09 | 1998-02-17 | Nec Corporation | Test pattern generating apparatus and method |
JP2008232690A (en) * | 2007-03-19 | 2008-10-02 | Nec Corp | Semiconductor integrated circuit, test pattern generator of semiconductor integrated circuit |
-
1988
- 1988-02-26 JP JP63043542A patent/JPH01217277A/en active Pending
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5719881A (en) * | 1995-02-09 | 1998-02-17 | Nec Corporation | Test pattern generating apparatus and method |
JP2008232690A (en) * | 2007-03-19 | 2008-10-02 | Nec Corp | Semiconductor integrated circuit, test pattern generator of semiconductor integrated circuit |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Engelke et al. | Simulating resistive-bridging and stuck-at faults | |
US5896401A (en) | Fault simulator for digital circuitry | |
JPH11149491A (en) | Fault detection rate evaluation method | |
Seth et al. | On the probability of fault occurrence | |
JPH01217277A (en) | Test pattern preparation | |
JP2943161B2 (en) | Failure simulation method | |
CN112798944A (en) | FPGA hardware error attribution analysis method based on online real-time data | |
JPH01217276A (en) | Test pattern preparation | |
Moore et al. | Test pattern generation for multiple stuck-at faults not covered by test patterns for single faults | |
JPH06138183A (en) | Method for creating test pattern for diagnosing lsi failure | |
Spencer et al. | Layout influences testability | |
JPS63231279A (en) | Estimating method for fault point of logic circuit | |
JP2642265B2 (en) | Inspection method of test pattern of logic circuit | |
JP2861861B2 (en) | Failure diagnosis system | |
JPH01156680A (en) | Fault diagnosing method for logic circuit | |
JP2658857B2 (en) | Equivalent fault extraction method and device | |
Wen et al. | IDDQ test vector selection for transistor short fault testing | |
JP2672893B2 (en) | Failure simulation processor | |
JPH05128190A (en) | Failure simulation method | |
JPH04310185A (en) | Test pattern generating system for logic circuit | |
JPH0259967A (en) | Method for designing test facilitating circuit | |
JPH01217647A (en) | Trouble simulation system | |
JPH04260939A (en) | Failure simulation device | |
JPH0926981A (en) | Fault simulating method for circuit and device therefor | |
Engelke et al. | Simulating resistive bridging faults |