JP2000241514A - Parallel generation method for test pattern and generation apparatus for test pattern - Google Patents

Parallel generation method for test pattern and generation apparatus for test pattern

Info

Publication number
JP2000241514A
JP2000241514A JP11044255A JP4425599A JP2000241514A JP 2000241514 A JP2000241514 A JP 2000241514A JP 11044255 A JP11044255 A JP 11044255A JP 4425599 A JP4425599 A JP 4425599A JP 2000241514 A JP2000241514 A JP 2000241514A
Authority
JP
Japan
Prior art keywords
hypothetical
fault
test pattern
test
failure
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
JP11044255A
Other languages
Japanese (ja)
Inventor
Seiji Kobayashi
誠治 小林
Norinobu Nakao
教伸 中尾
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 JP11044255A priority Critical patent/JP2000241514A/en
Publication of JP2000241514A publication Critical patent/JP2000241514A/en
Pending legal-status Critical Current

Links

Landscapes

  • Tests Of Electronic Circuits (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a generation apparatus for a parallel test pattern which is not different in every trial and which can always obtain the same result as a sequential processing operation. SOLUTION: A plurality of hypothetical failures 113 which are selected by a hypothetical-failure-list control part 102 in the list order of a hypothetical failure list 112 are distributed respectively to a plurality of test-pattern generation parts 103. A generated test patter is received by a failure-simulation-order decision part 104 as hypothetical-failure ad test-pattern information 114. The order decision part 104 selects test-pattern information 115 in the order of the failure list from the received information 114 so as to be output to a failure simulation part. All failures which can be detected by a test-pattern are found by a simulation. The test pattern which detects a new failure is output to a test-pattern series 117. In addition, detected failure information 116 is deleted, and the hypothetical failure list 112 is updated. In addition, also other hypothetical-failure and test-pattern information 114 which corresponds to the detected failure information 116 is detected.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、論理回路の製造不
良を検出するテストパターン生成に係わり、特にテスト
パターンの並列生成方法及び装置に関する。
[0001] 1. Field of the Invention [0002] The present invention relates to test pattern generation for detecting a manufacturing defect of a logic circuit, and more particularly to a method and apparatus for generating test patterns in parallel.

【0002】[0002]

【従来の技術】LSI等の製造不良を検出するテストパ
ターンの生成処理では、論理回路の情報と回路中の信号
線に対する仮定故障リストが与えられると、リストから
選択した1つの故障を検出するテストパターンを生成す
る。次に、故障シミュレーションを行い、生成テストパ
ターンで検出可能なすべての仮定故障を求める。これら
の検出された仮定故障を仮定故障リストから除外し、残
った仮定故障に対して上記処理を繰り返す。
2. Description of the Related Art In a process of generating a test pattern for detecting a manufacturing defect of an LSI or the like, a test for detecting one fault selected from the list is provided when information on a logic circuit and a list of assumed faults for signal lines in the circuit are given. Generate a pattern. Next, a fault simulation is performed to find all hypothetical faults that can be detected by the generated test pattern. These detected hypothetical faults are removed from the hypothetical fault list, and the above processing is repeated for the remaining hypothetical faults.

【0003】テストパターンの生成処理を高速化するた
め、複数のプロセッサで並列にテストパターンを生成す
る方法として、J.Wolf等による論文「An Analysis ofFa
ultPartitioned Parallel Test Generation」が「IEEE
TRANSACTIONS ONCOMPUTER‐AIDED DESIGN OF INTEGRATE
D CIRCUITS AND SYSTEMS,VOL.15,NO.5,MAY 1996,p5
17〜p534」に掲載されている(以下、この従来技術を引
用例と呼ぶ)。
As a method of generating test patterns in parallel by a plurality of processors in order to speed up the test pattern generation process, a paper by J. Wolf et al.
ultPartitioned Parallel Test Generation ''
TRANSACTIONS ONCOMPUTER-AIDED DESIGN OF INTEGRATE
D CIRCUITS AND SYSTEMS, VOL.15, NO.5, MAY 1996, p5
17-p534 "(this prior art is hereinafter referred to as a cited example).

【0004】引用例では、仮定故障リストの管理プログ
ラムが仮定故障を各プロセッサに分配し、各プロセッサ
は、割り当てられた仮定故障を検出するテストパターン
を生成し、このテストパターンが検出できる仮定故障を
故障シミュレーションですべて求める。仮定故障リスト
の管理プログラムは、各プロセッサから送られてくるテ
ストパターンと検出故障を順次受け付け、仮定故障リス
ト中で新規の仮定故障を検出するテストパターンだけを
残し、テストパターンが検出する仮定故障を仮定故障リ
ストから除外し、残った仮定故障を各プロセッサに分配
して上記を繰り返す。
In the cited example, a hypothetical fault list management program distributes a hypothetical fault to each processor, and each processor generates a test pattern for detecting the allocated hypothetical fault, and generates a hypothetical fault that can be detected by the test pattern. Find all by failure simulation. The hypothetical fault list management program sequentially receives the test pattern and the detected fault sent from each processor, leaves only the test pattern that detects a new hypothetical fault in the hypothetical fault list, and stores the hypothetical fault that the test pattern detects. The above is removed from the hypothetical fault list, the remaining hypothetical faults are distributed to each processor, and the above is repeated.

【0005】[0005]

【発明が解決しようとする課題】上記した引用例の並列
テストパターン生成処理の結果は、常に同一結果を出力
する逐次処理の結果と異なることが多い。つまり、同一
の生成アルゴリズムと回路データに対しても、並列出力
されるテストパターンが試行毎に異なる。この理由は、
各プロセッサのパターン処理時間が試行毎に異なるの
で、複数のテストパターンの故障シミュレーション順序
が変化し、仮定故障リスト管理プログラムのリスト更新
により残される仮定故障が相違するためである。
The result of the parallel test pattern generation processing of the cited example described above often differs from the result of the sequential processing that always outputs the same result. In other words, even for the same generation algorithm and circuit data, test patterns output in parallel differ for each trial. The reason for this is
This is because, since the pattern processing time of each processor is different for each trial, the fault simulation order of a plurality of test patterns changes, and the hypothetical faults left by updating the hypothetical fault list management program list differ.

【0006】試行毎にテストパターンが異なると、性能
評価が困難になるという問題がある。ある試行でテスト
パターンが多い、またはテスト生成時間が長い、といっ
た悪い評価が得られたとしても、たまたまその試行で悪
い結果が得られたという可能性もある。このため、同一
入力データで何回も試行をしなければ正しい性能評価が
できない。
If the test pattern is different for each trial, there is a problem that performance evaluation becomes difficult. Even if a bad evaluation such as a large number of test patterns or a long test generation time is obtained in a certain trial, it is possible that a bad result is accidentally obtained in the trial. For this reason, correct performance evaluation cannot be performed unless the same input data is repeated many times.

【0007】より本質的には、並列テスト生成プログラ
ムの開発が困難になる。一般に、並列処理プログラムは
逐次処理プログラムを並列化して作られることが多い。
並列処理プログラムが元の逐次処理プログラムと必ず同
一結果が得られるならば、結果を比較することでプログ
ラムの正しさを検証できる。しかし、試行毎に結果が異
なると、結果だけを見てプログラムの正しさを検証する
ことができなくなる。
[0007] More essentially, it becomes difficult to develop a parallel test generation program. Generally, a parallel processing program is often created by parallelizing a sequential processing program.
If the parallel processing program always obtains the same result as the original sequential processing program, the correctness of the program can be verified by comparing the results. However, if the results differ for each trial, it is not possible to verify the correctness of the program only by looking at the results.

【0008】さらに、引用例の並列処理では、後述のよ
うに逐次処理よりもテストパターン数が増加するという
問題がある。テストパターン数が増加すれば、それを記
憶するメモリやテスト時間が増大する。
Furthermore, the parallel processing of the cited example has a problem that the number of test patterns increases as compared with the sequential processing as described later. As the number of test patterns increases, the memory for storing them and the test time increase.

【0009】本発明の目的は、上記した従来技術の問題
点に鑑み、試行毎に常に同一の結果が得られ、並列処理
の高速性を維持しながら信頼性の高いテストパターンの
並列生成方法と装置を提供することにある。
SUMMARY OF THE INVENTION In view of the above-mentioned problems of the prior art, it is an object of the present invention to provide a method for generating a test pattern with high reliability while maintaining the high speed of parallel processing, always obtaining the same result every trial. It is to provide a device.

【0010】[0010]

【課題を解決するための手段】上記目的を達成する本発
明は、テスト対象となる論理回路の複数の仮定故障を複
数のプロセッサに割り当て、各プロセッサがそれぞれの
仮定故障を検出するテストパターンを生成するテストパ
ターンの並列生成方法において、前記論理回路のすべて
の仮定故障を含む仮定故障リストから複数の仮定故障を
選択して複数のプロセッサに分配し、各プロセッサが分
配された仮定故障に対応して生成した複数のテストパタ
ーンを所定の逐次処理順にしたがって並べ替え、その順
序で各テストパターンの故障シミュレーションを行い、
前記シミュレーション毎に検出故障が新規となるテスト
パターンを保存するとともに、前記故障リストから前記
検出故障を削除して更新することを特徴とする。なお、
前記所定の逐次処理順は、たとえば前記故障リストの昇
順、降順などである。
In order to achieve the above object, the present invention assigns a plurality of hypothetical faults of a logic circuit to be tested to a plurality of processors, and each processor generates a test pattern for detecting each hypothetical fault. In a parallel test pattern generation method, a plurality of hypothetical faults are selected from a hypothetical fault list including all the hypothetical faults of the logic circuit and distributed to a plurality of processors, and each processor corresponds to the distributed hypothetical fault. The generated plurality of test patterns are rearranged according to a predetermined sequential processing order, and a failure simulation of each test pattern is performed in that order.
A test pattern in which a detected fault becomes new for each simulation is saved, and the detected fault is deleted and updated from the fault list. In addition,
The predetermined sequential processing order is, for example, an ascending order or a descending order of the failure list.

【0011】また、故障シミュレーションも並列処理す
る場合は、前記論理回路のすべての仮定故障を含む仮定
故障リストから複数の仮定故障を選択して複数のプロセ
ッサに分配し、各プロセッサが並列生成した複数のテス
トパターンをその仮定故障とともに複数の他のプロセッ
サに渡して並列に故障シミュレーションし、シミュレー
ション結果の検出故障を対応する仮定故障及びテストパ
ターンとともに所定の逐次処理順に並べて、前記検出故
障が新規となるテストパターンのみを保存し、且つ、前
記仮定故障リストから前記検出故障を削除して更新する
ことを特徴とする。
When a fault simulation is also performed in parallel, a plurality of hypothetical faults are selected from a hypothetical fault list including all the hypothetical faults of the logic circuit and distributed to a plurality of processors. Is passed to a plurality of other processors together with the hypothetical fault and the fault is simulated in parallel, and the detected faults of the simulation result are arranged in a predetermined sequential processing order along with the corresponding hypothetical fault and the test pattern, and the detected fault becomes new. The method is characterized in that only the test pattern is stored, and the detected fault is deleted from the hypothetical fault list and updated.

【0012】本発明の方法を実行するテストパターン生
成装置は、テスト対象となる論理回路の複数の仮定故障
を検出するテストパターンを並列生成するための複数の
プロセッサを備えるものであって、前記論理回路のすべ
ての仮定故障を含む仮定故障リストから複数の仮定故障
を選択して複数の前記プロセッサに分配するとともに、
生成したテストパターンによる検出故障を削除して前記
仮定故障リストを更新する仮定故障リスト管理手段と、
複数の前記プロセッサで生成したテストパターンを受け
付け、複数のテストパターンを所定の逐次処理順に従っ
て並べ替えたのち、順次に出力する故障シミュレーショ
ン順序決定手段と、前記順序決定手段から入力されるテ
ストパターン毎に検出可能な全ての前記検出故障を求め
る故障シミュレーション手段を設けたことを特徴とす
る。
A test pattern generating apparatus for executing the method of the present invention includes a plurality of processors for generating test patterns for detecting a plurality of hypothetical faults of a logic circuit to be tested in parallel. Selecting a plurality of hypothetical faults from a hypothetical fault list including all hypothetical faults of the circuit and distributing them to the plurality of processors;
Assumed fault list management means for deleting the detected fault by the generated test pattern and updating the assumed fault list,
Fault simulation order determining means for receiving test patterns generated by the plurality of processors, rearranging the plurality of test patterns in accordance with a predetermined sequential processing order, and sequentially outputting the test patterns; And a failure simulation means for finding all the detected failures that can be detected.

【0013】また、前記故障シミュレーション順序決定
手段は、前記故障シミュレーションにより求められた検
出故障に含まれる仮定故障に対応し、且つ未出力のテス
トパターンを廃棄することを特徴とする。
Further, the fault simulation order determining means corresponds to a hypothetical fault included in the detected fault obtained by the fault simulation and discards an unoutputted test pattern.

【0014】このように、本発明の並列テストパターン
生成装置は、試行毎の結果を同一にするための処理部、
具体的には、テストパターン生成部のみを並列化した場
合は、故障シミュレーション順序決定部を付加する。こ
の故障シミュレーション順序決定部は、並列に生成され
たテストパターンを記憶しておき、予め決められた逐次
処理順序でテストパターンを選択し、故障シミュレーシ
ョン部に出力する。
As described above, the parallel test pattern generation device of the present invention provides a processing unit for making the result of each trial the same,
Specifically, when only the test pattern generation unit is parallelized, a failure simulation order determination unit is added. The failure simulation order determination unit stores the test patterns generated in parallel, selects a test pattern in a predetermined sequential processing order, and outputs the selected test pattern to the failure simulation unit.

【0015】これにより、故障シミュレーション部から
後の処理が常に同一となり、試行毎の結果が同一にな
る。なお、生成したテストパターンは不要となるまで記
憶しておけば、並列にテストパターンを生成した処理を
無駄にせず、並列による高速化の効果を損なわない。
As a result, the subsequent processing from the failure simulation unit is always the same, and the result for each trial is the same. If the generated test patterns are stored until they are no longer needed, the processing of generating the test patterns in parallel is not wasted, and the effect of speeding up by parallel processing is not impaired.

【0016】また、テストパターン生成部と故障シミュ
レーション部の両方を並列化したときは、故障シミュレ
ーション部の出力を所定の逐次処理順に記憶する手段を
設け、保存するテストパターンの新規検出故障の判定
や、故障リストの更新を前記所定の逐次処理順に決定す
ることで、同様の作用、効果が得られる。
When both the test pattern generation unit and the failure simulation unit are parallelized, means for storing the output of the failure simulation unit in a predetermined sequential processing order is provided to determine a newly detected failure of the test pattern to be stored. The same operation and effect can be obtained by determining the update of the failure list in the predetermined sequential processing order.

【0017】[0017]

【発明の実施の形態】以下、本発明によるテストパター
ン生成装置の実施例について、図面を参照しながら詳細
に説明する。初めに、実施例の対象となる論理回路と仮
定故障を説明する。図6は、論理回路の一例を示し、A
NDゲートG6,G9、ORゲートG7,G8、入力端
子G1〜G5、出力端子G10,G11を用いた回路
で、表記は慣例に従っている。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of a test pattern generation device according to the present invention will be described below in detail with reference to the drawings. First, a description will be given of a logic circuit and a hypothetical fault which are objects of the embodiment. FIG. 6 shows an example of a logic circuit,
This circuit uses ND gates G6 and G9, OR gates G7 and G8, input terminals G1 to G5, and output terminals G10 and G11.

【0018】図7は、図6の論理回路の回路情報のデー
タ形式を示す。T11は素子番号、T12は素子型、T
13は素子の出力側に接続される素子番号、T14は素
子の出力側に接続される信号線名、T15は素子の入力
側に接続される素子番号、T16は素子の入力側に接続
される信号線名である。図示の回路情報は素子を基準と
しているが、素子間の接続を表すことが出来れば信号線
を基準とするなど、他の形式でもよい。
FIG. 7 shows a data format of circuit information of the logic circuit of FIG. T11 is an element number, T12 is an element type, T
13 is an element number connected to the output side of the element, T14 is a signal line name connected to the output side of the element, T15 is an element number connected to the input side of the element, and T16 is connected to the input side of the element. This is the signal line name. Although the illustrated circuit information is based on elements, other forms may be used, such as based on signal lines as long as connections between elements can be represented.

【0019】図8は、図6の論理回路の仮定故障リスト
である。仮定故障T21は全信号線に対し、信号値0に
縮退する故障(0縮退故障)と信号値1に縮退する故障
(1縮退故障)とする。例えば、a/0は信号線aに対する
0縮退故障、a/1は信号線aに対する1縮退故障を表
す。
FIG. 8 is a hypothetical fault list of the logic circuit of FIG. The hypothetical fault T21 is a fault that degenerates to a signal value of 0 (0 stuck-at fault) and a fault that degenerates to a signal value of 1 (1 stuck-at fault) for all signal lines. For example, a / 0 indicates a stuck-at-0 fault for the signal line a, and a / 1 indicates a stuck-at-1 fault for the signal line a.

【0020】論理回路のテストパターンは、これらの仮
定故障が各信号線に有るか無いかを判定するために、入
力端子G1〜G5に与える論理値のパターンである。以
下では、故障が有るか無いかを判定出来ることを、(故
障を)検出できるという。また、仮定故障を単に、故障
ということもある。
The test pattern of the logic circuit is a pattern of a logical value given to the input terminals G1 to G5 in order to determine whether or not these hypothetical faults exist in each signal line. Hereinafter, the ability to determine whether or not there is a failure is referred to as being able to detect (failure). Also, a hypothetical failure may be simply referred to as a failure.

【0021】本実施例の並列処理の前提として、図6の
論理回路に適用した逐次処理を説明する。図11はテス
トパターン生成の逐次処理の概要フローである。S15
1で、仮定故障リストT21の先頭にあるa/0を選び、
故障値を信号線に与える。a/0は、信号線aが論理値0
に固定されてしまう故障なので、信号線aの論理値を0
とする。故障を検出するには、故障の有る無しで、出力
端子の論理値が異なるような入力端子群のパターンを求
めればよい。
As a premise of the parallel processing of this embodiment, a sequential processing applied to the logic circuit of FIG. 6 will be described. FIG. 11 is an outline flow of the sequential processing of test pattern generation. S15
At 1, a / 0 at the head of the hypothetical fault list T21 is selected,
The fault value is given to the signal line. a / 0 indicates that the signal line a has the logical value 0
The logic value of the signal line a is 0
And In order to detect a failure, a pattern of an input terminal group having a different logic value of an output terminal may be obtained without a failure.

【0022】S152では、信号線aの故障値0と異な
る値1を正常値として入力端子G1の値を1とし、以下
の故障値伝播処理を行う。このとき、信号線aの正常値
は1、故障値は0となる。以下、信号線の正常値と故障
値を正常値/故障値と表すことにする。この例で、信号
線aの正常値/故障値は、1/0と表される。
In S152, a value 1 different from the fault value 0 of the signal line a is set as a normal value, the value of the input terminal G1 is set to 1, and the following fault value propagation processing is performed. At this time, the normal value of the signal line a is 1 and the fault value is 0. Hereinafter, the normal value and the fault value of the signal line will be expressed as a normal value / fault value. In this example, the normal value / failure value of the signal line a is represented as 1/0.

【0023】信号線aの正常値/故障値が出力端子G1
0で異なる(1/0と表される)ように、回路内の他の信
号線の値が決められるまで、S153では、終了否と判
定し、S152にの故障値伝播処理を繰り返す。まず、
信号線bの値を1とする。なぜなら、信号線bの値が0
の時は、信号線aの値が1,0のどちらでも、ANDの
演算規則により信号線fの値が0となり、正常値/故障
値が0/0となるので区別ができない。しかし、信号線b
の値が1ならば、信号線fは1/0となり、正常値/故障
値の区別ができる。信号線bを1とするためには、入力
端子G2を1とする。
The normal value / fault value of the signal line a is output to the output terminal G1.
Until the value of another signal line in the circuit is determined so as to be different from 0 (represented as 1/0), in S153, it is determined that the process is to be terminated, and the fault value propagation process in S152 is repeated. First,
Assume that the value of the signal line b is 1. Because the value of the signal line b is 0
In the case of, even if the value of the signal line a is either 1 or 0, the value of the signal line f becomes 0 and the normal value / fault value becomes 0/0 due to the AND operation rule, so that it cannot be distinguished. However, the signal line b
Is 1, the signal line f is 1/0, and the normal value / failure value can be distinguished. To set the signal line b to 1, the input terminal G2 is set to 1.

【0024】同様に、ORの演算規則により信号線gの
値が0に決まり、信号線jは1/0となる。信号線gを0
とするには、信号線c、入力端子G3も0でなければな
らない。信号線jの値1/0は、そのまま出力端子G10
で観測することが出来るので、出力端子で正常値/故障
値が異なる。ここで、S153の判定は終了可となる。
Similarly, the value of the signal line g is determined to be 0 according to the OR operation rule, and the signal line j is 1/0. Set signal line g to 0
, The signal line c and the input terminal G3 must also be 0. The value 1/0 of the signal line j is output to the output terminal G10 as it is.
The normal value / failure value differs at the output terminal. Here, the determination in S153 can be ended.

【0025】S154では、値が決まっていない入力端
子に、予め決められた条件で値をつける。G4、G5が
どのような値でも、G1、G2、G3がそれぞれ1,
1,0ならばa/0を検出できる。ここでは、G4,G5
をそれぞれ0,0とする。このように、故障情報a/0に
対するテストパターン、つまり入力端子群G1、G2、
G3、G4、G5の論理値T32が〔1,1,0,0,
0〕と求められる。
In S154, a value is assigned to an input terminal whose value has not been determined under predetermined conditions. G1, G2, and G3 are each 1, regardless of G4 and G5.
If it is 1, 0, a / 0 can be detected. Here, G4, G5
Are respectively 0,0. Thus, the test pattern for the failure information a / 0, that is, the input terminal groups G1, G2,
The logical value T32 of G3, G4, G5 is [1,1,0,0,
0].

【0026】次に、このテストパターンで検出されるす
べての仮定故障を故障シミュレーションで求める。図1
2に、故障シミュレーションの概略の処理フローを示
す。まず、S161で、テストパターンT32に対す
る、仮定故障が全く無いときの出力端子の値を計算す
る。a/0のテストパターンT32では、ANDとORの
演算規則により、G10が1、G11が0となる。
Next, all hypothetical faults detected by this test pattern are obtained by fault simulation. FIG.
FIG. 2 shows a schematic processing flow of the failure simulation. First, in S161, the value of the output terminal for the test pattern T32 when there is no hypothetical fault is calculated. In the test pattern T32 of a / 0, G10 becomes 1 and G11 becomes 0 due to the AND and OR operation rules.

【0027】次に、S162で仮定故障リストT21の
先頭から仮定故障を1つ選び、まず、a/0が選ばれる。
S163では、信号線aを0に固定し、他の信号線に通
常の演算を行って出力端子群の値を計算する。この場
合、G10が0、G11が0となり、正常の場合と値が
異なるのでa/0が検出できる。よって、S165でa/0を
仮定故障リストから削除する。
Next, in S162, one hypothetical fault is selected from the top of the hypothetical fault list T21, and a / 0 is selected first.
In S163, the signal line a is fixed to 0, and a normal operation is performed on the other signal lines to calculate the value of the output terminal group. In this case, G10 becomes 0 and G11 becomes 0, which is different from the normal case, so that a / 0 can be detected. Therefore, a / 0 is deleted from the assumed failure list in S165.

【0028】次に、S162に戻り、仮定故障リストか
らa/1を選択する。a/1の時は信号線aの値を1に固定
し、他の信号線は通常の演算を行う。この結果、G10
が1、G11が0で正常の時と同じ値になり、仮定故障
a/1が検出できない。よって、仮定故障リストに残してお
く。この一連の処理S162〜S165を仮定故障リス
トT21のすべの仮定故障に対して行う。
Next, returning to S162, a / 1 is selected from the assumed failure list. At the time of a / 1, the value of the signal line a is fixed to 1, and the other signal lines perform a normal operation. As a result, G10
Is 1 and G11 is 0, the same value as when normal, and a hypothetical failure
a / 1 cannot be detected. Therefore, it is left in the assumed failure list. This series of processing S162 to S165 is performed for all the hypothetical faults in the hypothetical fault list T21.

【0029】故障シミュレーション処理が終わったら、
再びテストパターン生成処理を行う。テストパターン生
成処理と故障シミュレーション処理は、仮定故障をすべ
て検出するテストパターンを生成するまで繰り返す。こ
の結果、図8の仮定故障リストにある全ての故障を検出
する複数のテストパターンT32と各パターン検出でき
る仮定故障T33が求まる。
When the failure simulation processing is completed,
The test pattern generation processing is performed again. The test pattern generation process and the fault simulation process are repeated until a test pattern for detecting all the assumed faults is generated. As a result, a plurality of test patterns T32 for detecting all the faults in the hypothetical fault list in FIG. 8 and a hypothetical fault T33 for which each pattern can be detected are obtained.

【0030】図9に、逐次処理によるテストパターン生
成の結果情報を示す。仮定故障T31とテストパターン
T32(入力素子群の論理値)の組みが仮定故障・テス
トパターン情報、検出する仮定故障T33が検出故障情
報である。
FIG. 9 shows test pattern generation result information by sequential processing. The combination of the hypothetical fault T31 and the test pattern T32 (logical value of the input element group) is the hypothetical fault / test pattern information, and the hypothetical fault T33 to be detected is the detected fault information.

【0031】このテストパターン生成の逐次処理で、1
つのテストパターンを生成する時間は仮定故障によらず
全て一定とし、この時間を1時刻とすると、逐次処理は
7時刻で7つのテストパターンを生成できることにな
る。
In the sequential processing of test pattern generation, 1
Assuming that the time for generating one test pattern is constant irrespective of a hypothetical fault and that this time is one time, the sequential processing can generate seven test patterns at seven times.

【0032】以下、本発明の並列処理によるテストパタ
ーン生成装置の実施例を説明する。図1は、一実施例に
よる並列処理のテストパターン生成装置の構成図を示
す。並列テストパターン生成機能101は、論理回路の
素子や信号線に関する回路情報記憶部111と、この回
路に対する仮定故障リスト112から情報を入力し、仮
定故障リスト112にある仮定故障を検出する複数のテ
ストパターンを並列に生成し、結果をテストパターン系
列格納部117に出力する。なお、テストパターン系列
とは、仮定故障リスト112のすべての仮定故障を検出
するために、論理回路の入力端子群に入力するテストパ
ターンの集合である。
Hereinafter, an embodiment of a test pattern generation apparatus by parallel processing according to the present invention will be described. FIG. 1 is a configuration diagram of a parallel processing test pattern generation apparatus according to an embodiment. The parallel test pattern generation function 101 receives information from a circuit information storage unit 111 relating to elements and signal lines of a logic circuit and a hypothetical fault list 112 for the circuit, and performs a plurality of tests for detecting a hypothetical fault in the hypothetical fault list 112. The pattern is generated in parallel, and the result is output to the test pattern sequence storage unit 117. Note that the test pattern sequence is a set of test patterns input to the input terminal group of the logic circuit in order to detect all the hypothetical faults in the hypothetical fault list 112.

【0033】ここで、回路情報は、論理回路における各
素子の種別と素子間を接続する信号線の情報を含む。仮
定故障リスト112は、回路情報の各信号線に仮定した
故障をリストアップしている。以下の説明で、本実施例
を適用する論理回路は図6、回路情報は図7、仮定故障
リストは図8に示したものと、それぞれ同じである。
Here, the circuit information includes information on the type of each element in the logic circuit and the signal line connecting between the elements. The hypothetical fault list 112 lists faults assumed for each signal line of the circuit information. In the following description, the logic circuit to which this embodiment is applied is the same as that shown in FIG. 6, the circuit information is the same as that shown in FIG. 7, and the assumed failure list is the same as that shown in FIG.

【0034】並列テストパターン生成機能101は、仮
定故障リスト管理部102と、テストパターン生成部1
03と、故障シミュレーション順序決定部104と、故
障シミュレーション部105から構成される。仮定故障
リスト管理部102、故障シミュレーション順序決定部
104、故障シミュレーション部105は各1つで、各
々が同一のプロセッサ上で動作しても、複数のプロセッ
サ上で別々に動作してもよい。仮定故障リスト管理部1
02と故障シミュレーション順序決定部104が同一プ
ロセッサ上で動作するときは、仮定故障リスト112は
共通のデータを使用できる。
The parallel test pattern generation function 101 includes a hypothetical fault list management unit 102 and a test pattern generation unit 1
03, a failure simulation order determination unit 104, and a failure simulation unit 105. Each of the hypothetical fault list management unit 102, the fault simulation order determination unit 104, and the fault simulation unit 105 may operate on the same processor or may operate separately on a plurality of processors. Assumed failure list management unit 1
02 and the fault simulation order determination unit 104 operate on the same processor, the hypothetical fault list 112 can use common data.

【0035】テストパターン生成部103は、並列動作
する複数のプロセッサからなり、生成結果の仮定故障・
テストパターン情報114が故障シミュレーション順序
決定部104に出力される。
The test pattern generation unit 103 is composed of a plurality of processors operating in parallel,
The test pattern information 114 is output to the failure simulation order determination unit 104.

【0036】図2は、本テストパターン生成装置の概略
動作を示すフロー図である。説明を簡単にするために、
仮定故障リスト管理部102、故障シミュレーション順
序決定部104及び故障シミュレーション部105の動
作を、同一プロセッサによる1つの処理で示している。
この場合、図1のテストパターン情報115、検出故障
情報116はファイル等による記憶を必要としないの
で、単に情報の流れを示している。
FIG. 2 is a flowchart showing a schematic operation of the test pattern generation apparatus. To simplify the explanation,
The operations of the assumed failure list management unit 102, the failure simulation order determination unit 104, and the failure simulation unit 105 are shown by one process by the same processor.
In this case, the test pattern information 115 and the detected failure information 116 in FIG. 1 do not need to be stored in a file or the like, and thus merely show the flow of information.

【0037】ステップS101〜S109は、仮定故障
リスト管理部102、故障シミュレーション順序決定部
104、故障シミュレーション部105の動作を示し、
ステップS301〜305は、複数のテストパターン生
成部103の1つのプロセッサの動作を示している。
Steps S101 to S109 show the operations of the assumed failure list management unit 102, the failure simulation order determination unit 104, and the failure simulation unit 105.
Steps S301 to S305 show the operation of one processor of the plurality of test pattern generation units 103.

【0038】まず、S101、S301で、回路情報記
憶部111から回路情報をそれぞれ入力し、S102で
仮定故障リスト112から全ての仮定故障を入力し、内
部故障リスト112’として記憶する。S103では、
新規の仮定故障を検出する生成テストパターンとその検
出可能な故障のリストを図10のように編集する。この
とき、生成テストパターンで検出可能な仮定故障を内部
故障リスト112’から削除する。なお、S103のス
テップを最初に通過するときは、何もせずにS104に
進む。
First, in steps S101 and S301, circuit information is input from the circuit information storage unit 111, and in step S102, all assumed faults are input from the assumed fault list 112 and stored as an internal fault list 112 '. In S103,
The generated test pattern for detecting a new hypothetical fault and the list of detectable faults are edited as shown in FIG. At this time, a hypothetical fault that can be detected by the generated test pattern is deleted from the internal fault list 112 '. When the process first passes the step of S103, the process proceeds to S104 without doing anything.

【0039】S104では、故障シミュレーションを行
うテストパターンの順序が決定したか判定し、必要なテ
ストパターンが揃い順序が決定されていればS107に
進み、順序が未決定ならS105に進む。S104のス
テップも最初に通過するときは直ちにS105に進む。
S105では、内部故障リスト112’から所定順また
は任意順に仮定故障113を選択し、テスト生成部10
3に送る。複数のテスト生成部103への送信順序も任
意である。
In step S104, it is determined whether the order of the test patterns for performing the failure simulation has been determined. If the order in which the necessary test patterns are arranged is determined, the process proceeds to step S107. If the order is not determined, the process proceeds to step S105. When the step of S104 is also passed for the first time, the process immediately proceeds to S105.
In S105, the hypothetical faults 113 are selected from the internal fault list 112 'in a predetermined order or an arbitrary order, and the test generation unit 10
Send to 3. The order of transmission to the plurality of test generators 103 is also arbitrary.

【0040】テスト生成部103のS302では、仮定
故障情報113が送られて来るまで待機し、仮定故障を
受信するとS303に移行する。S303では、受信し
た仮定故障113を検出するテストパターンを回路情報
111を元に生成し、ステップS304で仮定故障・テ
ストパターン情報114を出力する。なお、1つのプロ
セッサによるテストパターン生成処理は、逐次処理と同
様になる。
In S302 of the test generation unit 103, the process stands by until the hypothetical fault information 113 is sent, and when the hypothetical fault is received, the process proceeds to S303. In S303, a test pattern for detecting the received hypothetical fault 113 is generated based on the circuit information 111, and in step S304, the hypothetical fault / test pattern information 114 is output. The test pattern generation processing by one processor is the same as the sequential processing.

【0041】ステップS305では、仮定故障リスト管
理部102から終了通知118があれば処理を終了し、
そうでなければS302に戻る。なお、各プロセッサ上
で動作するテストパターン生成部はすべて、同一のテス
トパターン生成アルゴリズムにより動作している。
In step S305, if there is an end notification 118 from the hypothetical failure list management unit 102, the process ends.
Otherwise, the process returns to S302. Note that all test pattern generation units operating on each processor operate according to the same test pattern generation algorithm.

【0042】また、上記では、S302で入力される仮
定故障情報113はプロセッサ毎に1個としたが、複数
でもよい。複数個の仮定故障が同時に入力された場合、
テストパターン生成部103はS303、S304の処
理を仮定故障の数だけ繰り返す。これにより、パターン
生成処理をより速くできる。
In the above description, the number of the assumed fault information 113 input in S302 is one for each processor, but a plurality may be provided. If multiple hypothetical faults are input at the same time,
The test pattern generation unit 103 repeats the processing of S303 and S304 by the number of hypothetical failures. Thereby, the pattern generation processing can be performed faster.

【0043】S106では、テストパターン生成部10
3から送られてきた仮定故障・テストパターン情報11
4を入力し、S103に戻る。なお、テストパターン生
成処理時間は仮定故障によって異なり、実際には10倍
以上の差となることもある。テストパターン生成部10
3はテストパターンを生成すると直ちに出力する。よっ
て、故障シミュレーション順序決定部104は、仮定故
障リスト管理部101がS105で送信した順に、仮定
故障・テストパターン情報114を受信するとは限らな
い。
In S106, the test pattern generator 10
Assumed fault / test pattern information 11 sent from 3
4 is input, and it returns to S103. It should be noted that the test pattern generation processing time differs depending on the assumed failure, and may actually be 10 times or more. Test pattern generator 10
3 generates a test pattern and outputs it immediately. Therefore, the fault simulation order determining unit 104 does not always receive the assumed fault / test pattern information 114 in the order in which the assumed fault list management unit 101 transmitted in S105.

【0044】故障シミュレーション順序決定部104
は、S104で、故障シミュレーションを行うテストパ
ターンの順序を決定し、S107で、決定された順序で
選択されたテストパターンに対する故障シミュレーショ
ンを行う。本実施例では、後述のように逐次処理と同一
の順序となるようにシミュレーションの順序を決定し
て、逐次処理と同一の結果を得る。この逐次処理順はあ
らかじめ設定ないしプログラミングされている。
Failure simulation order determination unit 104
Determines the order of the test patterns for performing the failure simulation in S104, and performs the failure simulation on the selected test patterns in the determined order in S107. In this embodiment, the order of the simulation is determined so that the order is the same as that of the sequential processing as described later, and the same result as that of the sequential processing is obtained. This sequential processing order
Pre-configured or programmed.

【0045】S108では、全ての仮定故障に対するテ
ストパターンの生成が終了したとき、テストパターン生
成部103に終了通知118を出力してS109に進
み、未終了のときはS103に戻る。S109ではS1
03で編集されたテストパター系列を出力し、処理を終
了する。
In S108, when the generation of the test patterns for all the hypothetical faults is completed, an end notification 118 is output to the test pattern generation unit 103, and the process proceeds to S109. If not completed, the process returns to S103. In S109, S1
The test pattern sequence edited in step 03 is output, and the process is terminated.

【0046】次に、各部の詳細な処理を図7の論理回路
に適用して説明する。テストパターン生成部103は3
つとし、予め定められる故障シミュレーションの順序
は、仮定故障リスト112のリスト順に従うものとす
る。
Next, the detailed processing of each section will be described by applying it to the logic circuit of FIG. The test pattern generation unit 103
It is assumed that the predetermined order of the failure simulations follows the list order of the assumed failure list 112.

【0047】図3は仮定故障リスト管理部の処理S20
1〜S205、図4は故障シミュレーション順序決定部
の処理S401〜S407、図5は故障シミュレーショ
ン部の処理S501〜S507を、それぞれ示すフロー
チャートである。なお、テストパターン生成部の処理S
301〜S305は図2と同じである。
FIG. 3 shows a process S20 of the assumed failure list management unit.
1 to S205, FIG. 4 is a flowchart showing processes S401 to S407 of the failure simulation order determination unit, and FIG. 5 is a flowchart showing processes S501 to S507 of the failure simulation unit, respectively. Note that the processing S of the test pattern generation unit
Steps 301 to S305 are the same as those in FIG.

【0048】まず、並列テストパターン生成機能101
の各部で初期入力の処理が行われる。すなわち、S20
1とS401では図8の仮定故障リスト、S301では
図7の回路情報、S501では回路情報と仮定故障リス
トを初期入力する。ここでは、仮定故障リスト112か
ら取り込む内部故障リストは1つでよい。
First, the parallel test pattern generation function 101
The processing of the initial input is performed in each of the components. That is, S20
In steps 1 and S401, the hypothetical fault list of FIG. 8 is input, in S301 the circuit information of FIG. 7 is input, and in S501, the circuit information and the hypothetical fault list are initially input. Here, only one internal fault list may be fetched from the hypothetical fault list 112.

【0049】次に、S202では、内部故障リスト11
2’の先頭からa/0,a/1,b/0を選んで仮定故障情報1
13とし、3つのテストパターン生成部103に配分す
る。このとき、テストパターン生成部103、故障シミ
ュレーション順序決定部104及び故障シミュレーショ
ン部105は、それぞれ前段からの入力情報があるまで
待機している。
Next, in S202, the internal failure list 11
Select a / 0, a / 1, b / 0 from the beginning of 2 'and assume hypothetical fault information 1
13, and distributed to the three test pattern generation units 103. At this time, the test pattern generation unit 103, the failure simulation order determination unit 104, and the failure simulation unit 105 are each on standby until there is input information from the previous stage.

【0050】テストパターン生成部103の各々は、S
302で仮定故障情報113としてa/0,a/1,b/0がそ
れぞれ入力されると、S303で入力の仮定故障を検出
するためのテストパターンを生成する。テストパターン
の生成処理は、逐次処理と同様に、故障値伝播処理(S
153)や、入力端子の論理値設定(S154)により
行う。
Each of the test pattern generators 103
When a / 0, a / 1, and b / 0 are input as the hypothetical fault information 113 in 302, a test pattern for detecting the input hypothetical fault is generated in S303. The test pattern generation processing is the same as the sequential processing, and the fault value propagation processing (S
153) or the logical value setting of the input terminal (S154).

【0051】故障a/0のテストパターンT42は、入力
素子番号G1〜G5に対し〔1,1,0,0,0〕とな
り、図9の逐次処理と同じパターンが生成される。ま
た、他の生成部103による、a/1,b/0のそれぞれテス
トパターンも、〔0,1,0,1,1〕、〔1,1,
0,0,0〕と生成される。次に、S304で仮定故障
・テストパターン情報114として、図10のT41、
T42の組を出力し、S302に戻る。
The test pattern T42 of the fault a / 0 is [1, 1, 0, 0, 0] for the input element numbers G1 to G5, and the same pattern as the sequential processing of FIG. 9 is generated. The test patterns a / 1 and b / 0 by the other generators 103 are also [0, 1, 0, 1, 1], [1, 1,
[0,0,0]. Next, in S304, as the assumed failure / test pattern information 114, T41 in FIG.
The set of T42 is output, and the process returns to S302.

【0052】図10に、本実施例の並列処理の結果情報
であるテストパターン・故障リストを示す。T41は仮
定故障、T42はテストパターン、T43は検出する仮
定故障を示している。
FIG. 10 shows a test pattern / fault list which is the result information of the parallel processing of this embodiment. T41 indicates a hypothetical fault, T42 indicates a test pattern, and T43 indicates a hypothetical fault to be detected.

【0053】故障シミュレーション順序決定部104
は、S402で仮定故障・テストパターン情報114
(T41、T42)を受信すると、S403で内部故障
リスト112’の故障順に従って、並べ替えて記憶して
おく。次に、S404では、先頭に記憶されている仮定
故障(ここでは、a/0)の仮定故障・テストパターン情
報114を選択し、S405で、a/0に対するT42を
テストパターン情報115として出力する。
Failure simulation order determination unit 104
Is the assumed fault / test pattern information 114 in S402.
When (T41, T42) is received, it is rearranged and stored in S403 according to the failure order of the internal failure list 112 'in S403. Next, in S404, the assumed fault / test pattern information 114 of the assumed fault (a / 0 in this case) stored at the top is selected, and in S405, T42 for a / 0 is output as the test pattern information 115. .

【0054】故障シミュレーション部105は、S50
2で仮定故障a/0のテストパターン〔1,1,0,0,
0〕が入力されると、S503でこのパターンにより検
出できる故障T43の全て、a/0,b/0,f/0,j/0,k/0
を求める。なお、仮定故障情報a/0に対するT43は、
逐次処理の場合と同じになる。
The failure simulation unit 105 determines in S50
2, the test pattern of the hypothetical fault a / 0 [1,1,0,0,
0] is input, all of the faults T43 that can be detected by this pattern in S503 are a / 0, b / 0, f / 0, j / 0, k / 0.
Ask for. Note that T43 for the assumed failure information a / 0 is
This is the same as in the case of sequential processing.

【0055】次に、S504で、T41(a/0)に対す
るT43を検出故障情報116として、仮定故障リスト
管理部102や故障シミュレーション順序決定部104
に出力し、また、a/0に対するT42のパターンを結果
情報として一時保存する。
Next, in S504, the assumed failure list management unit 102 and the failure simulation order determination unit 104 use T43 for T41 (a / 0) as the detected failure information 116.
And temporarily store the pattern of T42 for a / 0 as result information.

【0056】次に、S505で、検出された仮定故障T
43を内部故障リスト112’から削除する。また、削
除した仮定故障の1つを情報114として生成されたテ
ストパターン情報115も廃棄する。S506の終了判
定は、ここでは他のプロセッサで生成された仮定故障a/
1に対応するテストパターン〔0,1,0,1,1〕の
処理が残っているのでS502に戻る。なお、b/0に対
応するテストパターン〔1,1,0,0,0〕は廃棄さ
れている。
Next, in S505, the detected hypothetical fault T
43 is deleted from the internal failure list 112 '. Also, the test pattern information 115 generated by using one of the deleted hypothetical faults as the information 114 is discarded. Here, the end determination in S506 is based on the hypothetical fault a / generated by another processor.
Since the processing of the test pattern [0, 1, 0, 1, 1] corresponding to 1 remains, the process returns to S502. Note that the test pattern [1, 1, 0, 0, 0] corresponding to b / 0 has been discarded.

【0057】仮定故障リスト管理部102、故障シミュ
レーション順序決定部104はそれぞれ、S204、S
406で検出故障情報116を入力し、共通の内部故障
リスト112’の更新が行われる。S407では、故障
リスト112の全てを処理し、終了通知が発行されると
終了し、そうでなけれればS403に戻る。
The hypothetical fault list management unit 102 and the fault simulation order determination unit 104 respectively execute S204 and S204.
At 406, the detected fault information 116 is input, and the common internal fault list 112 'is updated. In S407, the entirety of the failure list 112 is processed, and when the end notification is issued, the process ends, and otherwise, the process returns to S403.

【0058】S403では、テストパターン生成部10
3から受け付け順の仮定故障・テストパターン情報11
4を、内部故障リスト112’を元に並び替える。最初
は、仮定故障・テストパターン情報114を初期の故障
リスト順、a/0,a/1,b/0の順に並べる。故障シミュレ
ーションが実行されると、最初のa/0のテストパターン
で仮定故障b/0も検出するので、b/0に対する仮定故障・
テストパターン情報(T41、T42)は不要となり、
削除する。一方、a/1は検出されていないので、その仮
定故障・テストパターン情報114は保持する。
In S403, the test pattern generator 10
Assumed fault / test pattern information 11 in order of acceptance from 3
4 is rearranged based on the internal failure list 112 '. At first, the assumed fault / test pattern information 114 is arranged in the order of the initial fault list, in the order of a / 0, a / 1, b / 0. When the fault simulation is executed, the hypothetical fault b / 0 is also detected in the first test pattern of a / 0.
Test pattern information (T41, T42) becomes unnecessary,
delete. On the other hand, since a / 1 has not been detected, the assumed fault / test pattern information 114 is retained.

【0059】S404では、仮定故障・テストパターン
情報114の編集が完了し、故障シミュレーションの順
序が決定できるか判定し、否の場合はS402に戻る。
すなわち、毎回の並列処理毎にテストパターン生成部1
03からの全入力(最初は、a/0,a/1,b/0)に対する
編集が完了したか判定する。順序判定が可の場合、S4
05で仮定故障・テストパターン情報114の先頭から
順にテストパターンT42を選択し、出力する。
In S404, the editing of the assumed fault / test pattern information 114 is completed, and it is determined whether the order of the fault simulation can be determined. If NO, the flow returns to S402.
That is, the test pattern generation unit 1 is provided for each parallel processing.
It is determined whether editing has been completed for all inputs from 03 (at first, a / 0, a / 1, b / 0). If the order can be determined, S4
In step 05, the test pattern T42 is selected and output in order from the top of the assumed fault / test pattern information 114.

【0060】なお、上記では、仮定故障リスト管理部1
02が一度に送信した仮定故障のテストパターンを全て
受け取るまで、故障シミュレーション順序決定部104
は、テストパターンを出力するS405に進まない。し
かし、故障リスト順に従い、次にシミュレーションする
テストパターンを受信した場合、例えばa/0のテストパ
ターンを受信していれば、他のa/1,b/0のテストパター
ンが未受信でも、S405に進み、故障シミュレーショ
ンを行うことも可能である。
In the above description, the assumed failure list management unit 1
02 until all of the test patterns of the hypothetical faults transmitted at a time have been received.
Does not proceed to S405 for outputting a test pattern. However, when a test pattern to be simulated next is received according to the order of the failure list, for example, if a test pattern of a / 0 is received, even if other test patterns of a / 1 and b / 0 are not received, S405 is performed. To perform a failure simulation.

【0061】このように、本実施例では、故障シミュレ
ーション順序決定部104が、逐次処理と同一の順序で
テストパターンを選択して、故障シミュレーション部1
15に渡すため、故障シミュレーションの結果が逐次処
理の場合と同一になる。
As described above, in the present embodiment, the fault simulation order determining unit 104 selects the test patterns in the same order as in the sequential processing, and
15, the result of the failure simulation is the same as that of the sequential processing.

【0062】仮定故障a/0,a/1,b/0に対するテストパ
ターンの並列処理が終了すると、次に仮定故障b/1,c/
0,d/0に対する並列処理が繰り返される。仮定故障リス
トの順序に従い、故障b/1のテストパターンT42によ
る故障シミュレーションが行われると、検出される仮定
故障T43は図10のT43のように求められる。この
結果、故障d/0のテストパターンは削除されるので、次
にc/0のテストパターンの故障シミュレーションを行
う。
When the parallel processing of the test patterns for the hypothetical faults a / 0, a / 1, and b / 0 ends, the hypothetical faults b / 1, c /
The parallel processing for 0, d / 0 is repeated. When a fault simulation is performed on the fault b / 1 using the test pattern T42 according to the order of the hypothetical fault list, the detected hypothetical fault T43 is obtained as T43 in FIG. As a result, the test pattern of the fault d / 0 is deleted, so that a fault simulation of the test pattern of c / 0 is performed next.

【0063】同様にして、仮定故障d/1,e/1,i/1のテ
ストパターンのT42が生成されると、d/1のテストパ
ターンが検出する仮定故障T43が求まり、e/1,i/1の
テストパターンが削除される。最後に、e/0,g/0のテス
トパターンT42を生成し、検出する仮定故障T43を
求める。仮定故障リスト管理部102では、すべての仮
定故障が検出されると、S205の終了条件を満足する
ので、テストパターン生成部103、故障シミュレーシ
ョン順序決定部104、故障シミュレーション部105
に終了通知118を発行する。
Similarly, when the test pattern T42 of the hypothetical faults d / 1, e / 1, and i / 1 is generated, the hypothetical fault T43 detected by the test pattern of d / 1 is obtained. The i / 1 test pattern is deleted. Finally, a test pattern T42 of e / 0, g / 0 is generated, and a hypothetical fault T43 to be detected is obtained. When all of the hypothetical faults are detected, the hypothetical fault list management unit 102 satisfies the termination condition of S205, so the test pattern generation unit 103, the fault simulation order determination unit 104, and the fault simulation unit 105
Issue an end notice 118 to the user.

【0064】以上により、図6の論理回路に対して生成
された最終的なテストパターン系列は、図10のT42
のうち、a/0,a/1,b/1,c/0,d/1,e/0,g/0に対するテ
ストパターンとなり、図9の逐次処理の結果と同一とな
る。このように、本実施例の並列テストパターン生成装
置は、同一の回路データのもとでは、結果として出力さ
れるテストパターン系列が常に同じで、逐次処理と同じ
テストパターン系列を求めることができる。つまり、従
来の並列処理のように試行毎に異なることがないので、
1回の試行結果によってテストパターン生成処理プログ
ラムの性能評価が可能になり、プログラムの開発を容易
にする。
As described above, the final test pattern sequence generated for the logic circuit of FIG.
Among them, the test patterns for a / 0, a / 1, b / 1, c / 0, d / 1, e / 0, and g / 0 are the same as the results of the sequential processing in FIG. As described above, the parallel test pattern generation device according to the present embodiment can always obtain the same test pattern sequence as the result of the successive processing under the same circuit data because the test pattern sequence output as a result is always the same. In other words, unlike conventional parallel processing, there is no difference between trials,
The performance of the test pattern generation processing program can be evaluated by the result of one trial, thereby facilitating program development.

【0065】また、逐次処理に比べて生成処理を高速化
できる。ちなみに、3つのテストパターン生成部103
のテストパターン生成時間がすべて一定で1時刻とす
る。このとき、本実施例の並列テストパターン生成機能
101は、a/0,a/1,b/0に対するパターン生成を1時
刻、b/1,c/0,d/0に対するパターン生成を1時刻、d/
1,e/1,i/1に対するパターン生成を1時刻、e/0,g/0
に対するパターン生成を1時刻で行う。つまり、4時刻
で7つのテストパターンを生成でき、逐次処理の場合の
7時刻に比べ、並列処理の効果が顕著となる。
Further, the generation processing can be sped up as compared with the sequential processing. Incidentally, the three test pattern generators 103
Are all constant and one time. At this time, the parallel test pattern generation function 101 of the present embodiment generates a pattern for a / 0, a / 1, and b / 0 for one time, and generates a pattern for b / 1, c / 0, and d / 0 for one time. , D /
Pattern generation for 1, e / 1, i / 1 is performed at one time, e / 0, g / 0
Is generated at one time. That is, seven test patterns can be generated at four times, and the effect of the parallel processing is more remarkable than at seven times in the case of sequential processing.

【0066】なお、本発明は、仮定故障を選択する順序
を仮定故障リストの順序としたが、これに限定されな
い。この順序は予め定めた任意の順序でよく、その順序
に従えば試行毎に異なる結果となることはなく、逐次処
理と同じ結果を得ることができる。
In the present invention, the order in which the hypothetical faults are selected is the order of the hypothetical fault list, but the present invention is not limited to this. This order may be an arbitrary order determined in advance, and if the order is followed, no different result is obtained for each trial, and the same result as in the sequential processing can be obtained.

【0067】ここで、本実施例との比較のために、従来
の並列テストパターン生成処理である引用例の方法を、
図6の論理回路に適用した結果を説明する。引用例で
は、テストパターン生成部と故障シミュレーション部が
同数あり、それぞれ3とする。テストパターン生成処理
と故障シミュレーション処理は、逐次処理の場合と同様
であるが、上述のように仮定故障リストの管理プログラ
ムを有している。
Here, for comparison with the present embodiment, the method of the cited example which is a conventional parallel test pattern generation process is described as follows.
A result applied to the logic circuit of FIG. 6 will be described. In the cited example, the number of test pattern generation units and the number of failure simulation units are the same, and each is three. The test pattern generation processing and the failure simulation processing are the same as those in the sequential processing, but have a hypothetical failure list management program as described above.

【0068】はじめに、図8の仮定故障リストT21か
ら3つの仮定故障a/0,a/1,b/1を選び、これらを検出
するテストパターンT42と、テストパターンが検出す
る仮定故障T43をそれぞれ図10のように求める。
First, three hypothetical faults a / 0, a / 1, and b / 1 are selected from the hypothetical fault list T21 in FIG. 8, and a test pattern T42 for detecting these and a hypothetical fault T43 for the test pattern to be detected. It is obtained as shown in FIG.

【0069】この検出故障の情報T43が、仮定故障リ
ストの管理プログラムで、a/0,a/1,b/0の順に受信さ
れたとする。引用例の並列テストパターン生成処理で
は、検出故障を受信した順に仮定故障リストを更新して
いく。このとき、a/0,a/1は仮定故障リストのなかで、
仮定故障を新規に検出するので最終結果としてのテスト
パターンとなる。しかし、b/0のテストパターンはa/0の
テストパターンと同一なので捨てられる。
It is assumed that the detected failure information T43 is received in the order of a / 0, a / 1, b / 0 by the management program of the assumed failure list. In the parallel test pattern generation processing of the cited example, the hypothetical fault list is updated in the order in which the detected faults are received. At this time, a / 0 and a / 1 are in the hypothetical fault list,
Since a hypothetical fault is newly detected, the test pattern is a final result. However, since the test pattern of b / 0 is the same as the test pattern of a / 0, it is discarded.

【0070】次に、b/1,c/0,d/0のテストパターンT
42と、テストパターンが検出する仮定故障T43を、
それぞれ図10のように得たとする。この検出故障の情
報T43が、仮定故障リストを管理するプログラムで、
b/1,c/0,d/0の順に受信されると、b/1,c/0のテスト
パターンは最終結果としてのテストパターンとなる。同
様に、d/0のテストパターンも、j/0,g/0の仮定故障を
新規に検出するので最終結果としてのテストパターンと
なる。しかし、d/0のテストパターンは、逐次処理の結
果である図9のテストパターン系列には存在していな
い。
Next, test patterns T of b / 1, c / 0, d / 0
42 and a hypothetical fault T43 detected by the test pattern,
It is assumed that each is obtained as shown in FIG. The detected fault information T43 is a program for managing a hypothetical fault list,
When received in the order of b / 1, c / 0, d / 0, the test pattern of b / 1, c / 0 becomes the test pattern as the final result. Similarly, the test pattern of d / 0 is a test pattern as a final result because a hypothetical fault of j / 0 and g / 0 is newly detected. However, the test pattern of d / 0 does not exist in the test pattern sequence of FIG. 9 which is the result of the sequential processing.

【0071】この後、d/1,e/1,i/1のテストパターン
T42を生成し、最終結果として残るのがd/1のテスト
パターンとなる。さらに、e/0,g/0のテストパターンを
生成し、これらも最終結果としてのテストパターンにな
る。
Thereafter, test patterns T42 of d / 1, e / 1, i / 1 are generated, and the final result is the test pattern of d / 1. Further, test patterns e / 0 and g / 0 are generated, and these are also test patterns as final results.

【0072】以上より、最終結果として残るテストパタ
ーンは、a/0,a/1,b/1,c/0,d/0,d/1,e/0,g/0に対
する8つのテストパターンであり、逐次処理の結果より
も1つ増えている。このように、引用例の方法では、逐
次処理の結果と必ずしも一致しない。
As described above, the test patterns remaining as final results are eight test patterns for a / 0, a / 1, b / 1, c / 0, d / 0, d / 1, e / 0, and g / 0. And one more than the result of the sequential processing. Thus, the method of the cited example does not always match the result of the sequential processing.

【0073】次に、引用例による別の試行を説明する。
ここでは、b/1,c/0,d/0のテストパターンを生成した
とき、これらのテストパターンが検出する仮定故障の情
報が、仮定故障リストを管理するプログラムにb/1,d/
0,c/0の順で受信されたとする。b/1、d/0のテストパタ
ーンは新規に仮定故障を検出するので最終結果としての
テストパターンとなる。しかし、c/0のテストパターン
で検出する仮定故障はすべてd/0のテストパターンで検
出されているので、c/0のテストパターンは最終結果と
してのテストパターンにならない。
Next, another trial based on the cited example will be described.
Here, when the test patterns b / 1, c / 0, and d / 0 are generated, information on the hypothetical faults detected by these test patterns is stored in a program that manages the hypothetical fault list in b / 1, d / 0.
It is assumed that the data is received in the order of 0 and c / 0. The test patterns b / 1 and d / 0 newly detect a hypothetical fault, and thus become test patterns as final results. However, since all the hypothetical faults detected by the test pattern of c / 0 are detected by the test pattern of d / 0, the test pattern of c / 0 does not become the test pattern as the final result.

【0074】このように、引用例のJ.Wolf等の方法で
は、試行毎にテストパターンの故障シミュレーション順
序が異なると、最終結果のテストパターンが相違する。
一般に、複数のプロセッサ上でテストパターン生成をす
る場合、テストパターン生成の時間は試行毎に変化する
ため、仮定故障リストを管理するプログラムに結果を返
す順番も異なる。よって、従来の並列処理では、試行毎
に結果のテストパターン系列が異なるという問題が存在
する。
As described above, in the method of J. Wolf et al. In the cited example, if the failure simulation order of the test patterns differs for each trial, the test patterns of the final result differ.
In general, when a test pattern is generated on a plurality of processors, the time for generating the test pattern changes for each trial, and therefore the order in which results are returned to a program that manages a hypothetical fault list also differs. Therefore, in the conventional parallel processing, there is a problem that a test pattern sequence as a result differs for each trial.

【0075】これに対し、本実施例の並列テストパター
ン生成処理では、試行毎に異なる結果となることがな
い。また、逐次処理と同一の結果が得られるので、処理
効率を向上できる。
On the other hand, in the parallel test pattern generation processing of the present embodiment, a different result does not occur for each trial. Further, since the same result as in the sequential processing is obtained, the processing efficiency can be improved.

【0076】上記実施例では、故障シミュレーション処
理を1つのプロセッサ上で処理したが、複数のプロセッ
サによって並列処理することも可能である。すなわち、
故障リストから選択した仮定故障を複数のプロセッサに
分配して並列にテストパターンを生成し、各プロセッサ
で生成したテストパターンを並列に故障シミュレーショ
ンしてそれぞれのパターンが検出する故障を求め、仮定
故障・検出故障・テストパターン情報として保持する。
そして、故障リスト順に新規な故障を検出するテストパ
ターンのみを結果情報とし、また、これらテストパター
ンにより検出可能な故障を仮定故障リストから削除す
る。
In the above embodiment, the failure simulation processing is performed on one processor. However, the failure simulation processing can be performed in parallel by a plurality of processors. That is,
The hypothetical fault selected from the fault list is distributed to a plurality of processors to generate test patterns in parallel, and the test patterns generated by each processor are subjected to fault simulation in parallel to obtain faults detected by each pattern. It is stored as detected failure / test pattern information.
Then, only test patterns for detecting a new fault in the order of the fault list are set as result information, and faults detectable by these test patterns are deleted from the assumed fault list.

【0077】[0077]

【発明の効果】本発明によるテストパターン生成の並列
処理によれば、並列生成されたテストパターンを予め定
めた所定順、例えば故障リスト順に、故障シミュレーシ
ョンするので、試行によって結果情報が異なることがな
く、逐次処理と同じ結果情報を得ることができる。この
ため、テストパターンの性能評価が1回の試行結果から
可能になり、処理の高速化と共に信頼性を向上できる効
果がある。
According to the parallel processing of test pattern generation according to the present invention, fault simulation is performed on test patterns generated in parallel in a predetermined order, for example, in the order of a fault list. , The same result information as in the sequential processing can be obtained. For this reason, the performance evaluation of the test pattern can be performed from one trial result, and there is an effect that the processing can be speeded up and the reliability can be improved.

【0078】また、逐次処理との比較で並列処理プログ
ラムを検証できるので、テストパターン生成装置の開発
が容易になる。
Further, since the parallel processing program can be verified by comparison with the sequential processing, the development of the test pattern generation device is facilitated.

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

【図1】本発明の一実施例によ並列テストパターン生成
装置の構成図。
FIG. 1 is a configuration diagram of a parallel test pattern generation device according to an embodiment of the present invention.

【図2】本発明の一実施例によるテストパターン並列生
成の処理手順を示すフロー図。
FIG. 2 is a flowchart showing a processing procedure of test pattern parallel generation according to an embodiment of the present invention.

【図3】一実施例による仮定故障リスト管理部の処理手
順を示すフロー図。
FIG. 3 is a flowchart showing a processing procedure of a hypothetical failure list management unit according to one embodiment.

【図4】一実施例による故障シミュレーション順序決定
部の処理手順を示すフロー図。
FIG. 4 is a flowchart showing a processing procedure of a fault simulation order determination unit according to one embodiment.

【図5】一実施例による故障シミュレーション部の処理
手順を示すフロー図。
FIG. 5 is a flowchart showing a processing procedure of a failure simulation unit according to one embodiment.

【図6】本発明を適用する論理回路の一例を示す説明
図。
FIG. 6 is an explanatory diagram illustrating an example of a logic circuit to which the present invention is applied.

【図7】図6の論理回路の回路情報を示す説明図。FIG. 7 is an explanatory diagram showing circuit information of the logic circuit in FIG. 6;

【図8】図6の論理回路の仮定故障リストを示す説明
図。
FIG. 8 is an explanatory diagram showing a hypothetical fault list of the logic circuit shown in FIG. 6;

【図9】逐次処理によるテストパターン生成の結果情報
を示す説明図。
FIG. 9 is an explanatory diagram showing test pattern generation result information by sequential processing.

【図10】本発明の並列処理によるテストパターン生成
の結果情報を示す説明図。
FIG. 10 is an explanatory diagram showing test pattern generation result information by parallel processing of the present invention.

【図11】逐次処理によるテストパターン生成の処理手
順を示すフロー図。
FIG. 11 is a flowchart showing a processing procedure of test pattern generation by sequential processing.

【図12】故障シミュレーションの処理手順を示すフロ
ー図。
FIG. 12 is a flowchart showing a processing procedure of a failure simulation.

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

101…並列テストパターン生成機能、102…仮定故
障リスト管理部、103…テストパターン生成部、10
4…故障シミュレーション順序決定部、105…故障シ
ミュレーション部、111…回路情報、112…仮定故
障リスト、113…仮定故障情報、114…仮定故障情
報・テストパターン情報、115…テストパターン情
報、116…検出故障情報、117…テストパターン系
列。
101: Parallel test pattern generation function, 102: Assumed fault list management unit, 103: Test pattern generation unit, 10
4 ... Fault simulation order determination unit, 105 ... Fault simulation unit, 111 ... Circuit information, 112 ... Assumed fault list, 113 ... Assumed fault information, 114 ... Assumed fault information / test pattern information, 115 ... Test pattern information, 116 ... Detection Failure information 117: Test pattern sequence.

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】 テスト対象となる論理回路の複数の仮定
故障を複数のプロセッサに割り当て、各プロセッサがそ
れぞれの仮定故障を検出するテストパターンを生成する
テストパターンの並列生成方法において、 前記論理回路のすべての仮定故障を含む仮定故障リスト
から複数の仮定故障を選択して複数のプロセッサに分配
し、各プロセッサが分配された仮定故障に対応して生成
した複数のテストパターンを所定の逐次処理順にしたが
って並べ替え、その順序で各テストパターンの故障シミ
ュレーションを行い、前記シミュレーション毎に検出故
障が新規となるテストパターンを保存するとともに、前
記故障リストから前記検出故障を削除して更新すること
を特徴とするテストパターンの並列生成方法。
1. A parallel test pattern generation method in which a plurality of hypothetical faults of a logic circuit to be tested are assigned to a plurality of processors, and each processor generates a test pattern for detecting each hypothetical fault. A plurality of hypothetical faults are selected from a hypothetical fault list including all hypothetical faults and distributed to a plurality of processors, and a plurality of test patterns generated by each processor corresponding to the distributed hypothetical faults are determined according to a predetermined sequential processing order. Rearranging, performing a fault simulation of each test pattern in that order, storing a test pattern in which a detected fault becomes new for each simulation, and deleting and updating the detected fault from the fault list. How to generate test patterns in parallel.
【請求項2】 テスト対象となる論理回路の複数の仮定
故障を複数のプロセッサに割り当て、各プロセッサがそ
れぞれの仮定故障を検出するテストパターンを生成する
テストパターンの並列生成方法において、 前記論理回路のすべての仮定故障を含む仮定故障リスト
から複数の仮定故障を選択して複数のプロセッサに分配
し、各プロセッサが並列生成した複数のテストパターン
をその仮定故障とともに複数の他のプロセッサに渡して
並列に故障シミュレーションし、シミュレーション結果
の検出故障を対応する仮定故障及びテストパターンとと
もに所定の逐次処理順に並べて、前記検出故障が新規と
なるテストパターンのみを保存し、且つ、前記仮定故障
リストから前記検出故障を削除して更新することを特徴
とするテストパターンの並列生成方法。
2. A parallel test pattern generation method in which a plurality of hypothetical faults of a logic circuit to be tested are allocated to a plurality of processors, and each processor generates a test pattern for detecting each hypothetical fault, A plurality of hypothetical faults are selected from a hypothetical fault list including all hypothetical faults and distributed to a plurality of processors, and a plurality of test patterns generated in parallel by each processor are passed to a plurality of other processors along with the hypothetical faults in parallel. The fault simulation is performed, and the detected faults of the simulation result are arranged in a predetermined sequential processing order along with the corresponding hypothetical faults and test patterns, and only the test patterns in which the detected faults are new are stored. Parallel production of test patterns characterized by deletion and update Method.
【請求項3】 請求項1または2において、 前記逐次処理順は、前記仮定故障リストの昇順または降
順であるテストパターンの並列生成方法。
3. The parallel test pattern generation method according to claim 1, wherein the sequential processing order is an ascending order or a descending order of the hypothetical fault list.
【請求項4】 テスト対象となる論理回路の複数の仮定
故障を検出するテストパターンを並列生成するための複
数のプロセッサを備えるテストパターン生成装置におい
て、 前記論理回路のすべての仮定故障を含む仮定故障リスト
から複数の仮定故障を選択して複数の前記プロセッサに
分配するとともに、生成したテストパターンによる検出
故障を削除して前記仮定故障リストを更新する仮定故障
リスト管理手段と、複数の前記プロセッサで生成したテ
ストパターンを受け付け、複数のテストパターンを所定
の逐次処理順に従って並べ替えたのち、順次に出力する
故障シミュレーション順序決定手段と、前記順序決定手
段から入力されるテストパターン毎に検出可能な全ての
前記検出故障を求める故障シミュレーション手段を設け
たことを特徴とするテストパターン生成装置。
4. A test pattern generation apparatus comprising: a plurality of processors for generating test patterns for detecting a plurality of hypothetical faults of a logic circuit to be tested in parallel, the hypothetical fault including all the hypothetical faults of the logic circuit A plurality of hypothetical faults selected from the list and distributed to the plurality of processors, a hypothetical fault list management unit for updating the hypothetical fault list by deleting detected faults based on the generated test pattern, and a plurality of hypothetical faults generated by the plurality of processors; The received test patterns are received, a plurality of test patterns are rearranged in accordance with a predetermined sequential processing order, and thereafter, a failure simulation order determining unit that sequentially outputs the test patterns, and all the test patterns that can be detected for each test pattern input from the order determining unit. A failure simulation means for determining the detected failure is provided; Test pattern generation apparatus for.
【請求項5】 請求項4において、 前記故障シミュレーション順序決定手段は、前記故障シ
ミュレーションにより求められた検出故障に含まれる仮
定故障に対応し、且つ未出力のテストパターンを廃棄す
ることを特徴とするテストパターン生成装置。
5. The fault simulation order determination unit according to claim 4, wherein the fault simulation order determination unit corresponds to a hypothetical fault included in the detected fault obtained by the fault simulation and discards a test pattern that has not been output. Test pattern generation device.
JP11044255A 1999-02-23 1999-02-23 Parallel generation method for test pattern and generation apparatus for test pattern Pending JP2000241514A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP11044255A JP2000241514A (en) 1999-02-23 1999-02-23 Parallel generation method for test pattern and generation apparatus for test pattern

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP11044255A JP2000241514A (en) 1999-02-23 1999-02-23 Parallel generation method for test pattern and generation apparatus for test pattern

Publications (1)

Publication Number Publication Date
JP2000241514A true JP2000241514A (en) 2000-09-08

Family

ID=12686428

Family Applications (1)

Application Number Title Priority Date Filing Date
JP11044255A Pending JP2000241514A (en) 1999-02-23 1999-02-23 Parallel generation method for test pattern and generation apparatus for test pattern

Country Status (1)

Country Link
JP (1) JP2000241514A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7350113B2 (en) 2004-05-11 2008-03-25 International Business Machines Corporation Control method, system, and program product employing an embedded mechanism for testing a system's fault-handling capability
JP2009092437A (en) * 2007-10-04 2009-04-30 Sharp Corp Test pattern evaluation method and device

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7350113B2 (en) 2004-05-11 2008-03-25 International Business Machines Corporation Control method, system, and program product employing an embedded mechanism for testing a system's fault-handling capability
US7546490B2 (en) 2004-05-11 2009-06-09 International Business Machines Corporation Control system, and program product employing an embedded mechanism for testing a system's fault-handling capability
JP2009092437A (en) * 2007-10-04 2009-04-30 Sharp Corp Test pattern evaluation method and device
JP4500338B2 (en) * 2007-10-04 2010-07-14 シャープ株式会社 Test pattern evaluation method and test pattern evaluation apparatus

Similar Documents

Publication Publication Date Title
US4922445A (en) Logic circuit simulation method
KR20010111043A (en) Method and apparatus for generating test patterns used in testing semiconductor integrated circuit
JP3262281B2 (en) Test method and test equipment for electronic circuits
US5491639A (en) Procedure for verifying data-processing systems
JP2001099901A (en) Method of compressing test pattern, device and system for compressing test pattern, and storage medium
JP2953975B2 (en) Test pattern generation device and test pattern generation method
US7003743B2 (en) Method and system of data processor design by sensitizing logical difference
JPH1062494A (en) Estimation of trouble place of sequence circuit
EP1327890B1 (en) Method of optimizing a plurality of tests used in digital integrated circuits
JP2000241514A (en) Parallel generation method for test pattern and generation apparatus for test pattern
JP2002055717A (en) Failure diagnostic system
JPH07121576A (en) Failure simulation device
JP2996293B2 (en) Failure simulation method
JP3312605B2 (en) Reverse logic development system, reverse logic development method, and machine-readable recording medium recording program
JPH063420A (en) Test pattern generation method for combinational logic circuit
JPH0926986A (en) Test pattern generating method and delay verifying method
JP2569881B2 (en) Concurrent failure simulation method
JPH11265980A (en) Failure verification method of integrated circuit
Wang et al. Test generation based on dynamic search space reductions
JP3012546B2 (en) Simulation apparatus and method
JPH11352200A (en) Damage analysing method of semiconductor integrated circuit
JPH1183945A (en) Failure diagnostic system for logic circuit
JPH06243190A (en) Logic simulator
JPH09153072A (en) Circuit data verifying method
JPH0658991A (en) Failure simulation system