JPH11237450A - Circuit division atg partial circuit processing system, circuit division atg partial circuit processing method, and storage medium where circuit division atg partial circuit processing method is written - Google Patents

Circuit division atg partial circuit processing system, circuit division atg partial circuit processing method, and storage medium where circuit division atg partial circuit processing method is written

Info

Publication number
JPH11237450A
JPH11237450A JP10037223A JP3722398A JPH11237450A JP H11237450 A JPH11237450 A JP H11237450A JP 10037223 A JP10037223 A JP 10037223A JP 3722398 A JP3722398 A JP 3722398A JP H11237450 A JPH11237450 A JP H11237450A
Authority
JP
Japan
Prior art keywords
circuit
atg
partial circuit
partial
fault
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
JP10037223A
Other languages
Japanese (ja)
Other versions
JP3050306B2 (en
Inventor
Tamaki Toumiya
玉紀 東宮
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 JP10037223A priority Critical patent/JP3050306B2/en
Priority to US09/236,903 priority patent/US6334199B1/en
Publication of JPH11237450A publication Critical patent/JPH11237450A/en
Application granted granted Critical
Publication of JP3050306B2 publication Critical patent/JP3050306B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To reduce time required for test pattern generation processing. SOLUTION: A failure detection difficulty circuit judging means 7 for delaying failure information in a partial circuit and outputting it as a list when the number of failures within the partial circuit is larger than a specific value based on the partial circuit and failure information created by a partial circuit creation means 5 is provided. Further, a test pattern is created based on failure information other than that in the partial circuit that is outputted as a delay list from the failure detection difficulty circuit judging means 7 in an ATG means 10, then a test pattern is created based on the failure information in the partial circuit being outputted as the delay list, and failure detection processing is completed when the failure detection reaches a predetermined target failure detection rate.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、回路を部分回路に
分割し、分割された部分回路内の故障パタンに基づい
て、故障を検出するためのテストパタンを自動生成する
回路分割ATG部分回路処理方式に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a circuit division ATG sub-circuit for dividing a circuit into partial circuits and automatically generating a test pattern for detecting a failure based on the failure pattern in the divided partial circuit. About the method.

【0002】[0002]

【従来の技術】ATG(Automatic Test Generation:
自動テスト生成)とは、回路内にて発生する可能性があ
る故障を定義し、定義された故障を検出するためのテス
トパタンを、プログラムを用いて自動生成する手法であ
る。
2. Description of the Related Art ATG (Automatic Test Generation:
“Automatic test generation” is a method of defining a fault that may occur in a circuit and automatically generating a test pattern for detecting the defined fault using a program.

【0003】まず、回路内にて定義された故障を検出す
るためのランダムパタンを生成し、生成されたランダム
パタンを用いて、回路内にて定義された全ての故障に対
して故障シミュレーションを行う。
[0003] First, a random pattern for detecting a fault defined in a circuit is generated, and a fault simulation is performed for all faults defined in the circuit using the generated random pattern. .

【0004】次に、故障シミュレーションによって検出
された故障のパタンをテストパタンとして採用し、検出
された故障はそれ以降は故障検出の対象としないように
するランダムテストパタン生成を行う。
[0004] Next, a random test pattern is generated so that a failure pattern detected by the failure simulation is adopted as a test pattern, and the detected failure is not subject to failure detection thereafter.

【0005】ランダムテストパタン生成にて検出される
故障の数が少なくなった後、回路構成を参照しながらテ
ストパタンを自動的に生成するATG処理によってテス
トパタンを生成する。ここでも、検出された故障はそれ
以降は故障検出の対象としないようにする。
After the number of faults detected by random test pattern generation decreases, a test pattern is generated by ATG processing for automatically generating a test pattern while referring to the circuit configuration. Here, the detected fault is not set as a fault detection target thereafter.

【0006】ここで、上述したようなテストパタンの生
成においては、目標とする故障検出率(後述)を予め設
定し、故障検出率が設定した値に達した場合に処理を終
了する方法と、目標とする故障検出率を設定しない方法
とがある。
Here, in generating the test pattern as described above, a target failure detection rate (to be described later) is set in advance, and the processing is terminated when the failure detection rate reaches the set value. There is a method in which a target failure detection rate is not set.

【0007】上述した故障検出率の算出方法において
は、例えば以下に示すような方法がある。
The above-described method of calculating the failure detection rate includes, for example, the following method.

【0008】(1)(故障検出率)=(検出された故障
の数)/(故障数全体) (2)(故障検出率)=(検出された故障の数)/
{(全故障数)−(検出不可能と判定された故障の
数)} (3)(故障検出率)={(検出された故障の数)+
(検出不可能と判定された故障の数)}/(全故障数) ここで、上述したATG処理においては、その処理に莫
大な時間がかかる。そこで、処理時間を短縮させるため
の方法の一つとして分散処理がある。
(1) (Fault detection rate) = (Number of detected faults) / (Total number of faults) (2) (Fault detection rate) = (Number of detected faults) /
{(Total number of faults) − (number of faults determined to be undetectable)} (3) (failure detection rate) = {(number of detected faults) +
(Number of failures determined to be undetectable)} / (total number of failures) Here, in the above-described ATG processing, it takes an enormous amount of time. Thus, there is a distributed processing as one of the methods for reducing the processing time.

【0009】回路分割分散処理ATGは、ATG処理を
分散して行う方法の一つであり、回路をいくつかの部分
回路に分割し、分割された部分回路毎にATGを行うも
のである。
The circuit division / dispersion processing ATG is one of the methods of performing the ATG processing in a distributed manner, and divides a circuit into several partial circuits and performs ATG for each of the divided partial circuits.

【0010】部分回路の分割方法は、それぞれの部分回
路を独立に処理することが可能となる(処理する順序を
任意に入れ替えられる)ような方法であればどのような
分割方法でも良い。
The division method of the partial circuits may be any division method as long as it allows each partial circuit to be processed independently (the order of processing can be changed arbitrarily).

【0011】例えば、全ての出力端子をいくつかのグル
ープに分け、1つのグループの出力端子に関係する素子
の全てを一つの部分回路とするという方法がある。しか
しながらこの方法では、複数の出力端子に影響を与える
素子は複数の部分回路に重複して含まれる可能性があ
る。この場合、複数の部分回路に重複して含まれる素子
の入力または出力に定義された故障は、複数の部分回路
に重複して含まれることとなってしまう。
For example, there is a method in which all output terminals are divided into several groups, and all elements related to one group of output terminals are formed as one partial circuit. However, in this method, elements that affect a plurality of output terminals may be included in a plurality of partial circuits redundantly. In this case, a fault defined in an input or output of an element that is included in a plurality of partial circuits redundantly will be included in a plurality of partial circuits redundantly.

【0012】他の回路分割の方法でも同様に、複数の部
分回路に同じ故障が重複して含まれることがある。部分
回路の数は、用いるCPUの数よりも多くなるように分
ける。複数のCPUに部分回路のATG処理を割り当
て、ATG処理が終了したCPUに次の部分回路のAT
G処理を割り当てていく。
Similarly, in other circuit division methods, a plurality of partial circuits may include the same fault redundantly. The number of partial circuits is divided so as to be larger than the number of CPUs used. The ATG processing of the partial circuit is assigned to a plurality of CPUs, and the ATG processing of the next partial circuit is assigned to the CPU that has completed the ATG processing.
G processing is assigned.

【0013】図6は、従来の回路分割ATG部分回路処
理方式の一構成例を示すブロック図である。
FIG. 6 is a block diagram showing one configuration example of a conventional circuit division ATG partial circuit processing system.

【0014】本従来例は図6に示すように、乱数を用い
てランダムパタンを発生させ、発生したランダムパタン
とATG処理を行う回路に含まれる全ての素子及びそれ
らの素子間の接続に関する情報である入力回路情報1と
ATG処理を行う回路において定義することが可能な故
障に関する情報である入力故障情報2とに基づいて、回
路内の故障を検出するための故障シミュレーションを行
い、該故障シミュレーションによって検出された故障に
基づいて、回路内の故障を検出するためのテストパタン
を生成し、生成されたテストパタンをパタン12として
出力するとともに、故障シミュレーションにおいて検出
されなかった故障に関する情報を未検出故障情報4とし
て出力するランダムテストパタン生成手段3と、入力回
路情報1に基づいて、ATG処理を行う回路を分割し、
部分回路を生成するとともに、生成された部分回路とラ
ンダムテストパタン生成手段3から出力された未検出故
障情報4とに基づいて、部分回路にて検出可能な故障情
報を生成し、部分回路情報及び故障情報6として出力す
る部分回路作成手段5と、部分回路作成手段5から出力
された部分回路情報及び故障情報6に基づいて、回路内
の故障を検出するためのテストパタンを自動生成し、生
成したテストパタンをパタン12として出力するととも
に、テストパタンの生成に用いられなかった故障情報を
未検出故障情報4または出力未検出故障情報15として
出力するATG手段10と、ランダムテストパタン生成
手段3及びATG手段10にて生成されたテストパタン
12をマージし、出力パタン14として出力するパタン
マージ手段13とから構成されている。なお、ATG手
段10においては、故障検出率が指定した値に達してい
ない場合にてテストパタンの生成に用いられていない故
障に関する情報が未検出故障情報4として出力され、故
障検出率が指定した値に達した場合にてテストパタンの
生成に用いられていない故障に関する情報が出力未検出
故障情報15として出力される。
In this conventional example, as shown in FIG. 6, a random pattern is generated using random numbers, and the generated random pattern and all elements included in a circuit for performing ATG processing and information on connections between these elements are used. A failure simulation for detecting a failure in a circuit is performed based on certain input circuit information 1 and input failure information 2 which is information on a failure that can be defined in a circuit performing ATG processing. Based on the detected fault, a test pattern for detecting a fault in the circuit is generated, the generated test pattern is output as a pattern 12, and information on a fault not detected in the fault simulation is output as an undetected fault. Random test pattern generating means 3 for outputting as information 4 and input circuit information 1 Divides the circuit for performing ATG process,
In addition to generating a partial circuit, based on the generated partial circuit and the undetected fault information 4 output from the random test pattern generation means 3, fault information that can be detected by the partial circuit is generated. Automatically generating and generating a test pattern for detecting a fault in a circuit based on the partial circuit generating means 5 for outputting as the fault information 6 and the partial circuit information and the fault information 6 output from the partial circuit generating means 5 ATG means 10 for outputting the test pattern thus obtained as pattern 12 and outputting failure information not used for generating the test pattern as undetected failure information 4 or output undetected failure information 15; random test pattern generation means 3; A pattern merging unit 13 for merging the test pattern 12 generated by the ATG unit 10 and outputting it as an output pattern 14 Are al configuration. In addition, in the ATG means 10, when the failure detection rate does not reach the specified value, information on a failure not used for generating a test pattern is output as undetected failure information 4, and the failure detection rate is specified. When the value reaches the value, information on a fault not used for generating a test pattern is output as output undetected fault information 15.

【0015】以下に、上記のように構成された回路分割
ATG部分回路処理方式におけるテストパタン生成処理
について説明する。
The test pattern generation processing in the circuit division ATG partial circuit processing system configured as described above will be described below.

【0016】図7は、図6に示した回路分割ATG部分
回路処理方式におけるテストパタン生成処理を説明する
ためのフローチャートである。
FIG. 7 is a flowchart for explaining a test pattern generation process in the circuit division ATG partial circuit processing system shown in FIG.

【0017】まず、ランダムテストパタン生成手段2に
おいて、乱数を用いてランダムパタンが生成され、生成
されたランダムパタンと入力故障情報2として格納され
ている故障のうちまだ検出されていない全ての故障の情
報とを用いて故障を検出するための故障シミュレーショ
ンが行われ、故障シミュレーションによって検出された
故障のパタンがテストパタンとして採用される(ステッ
プS101)。なお、検出された故障はそれ以降のパタ
ン生成の対象から除外される。
First, in the random test pattern generation means 2, a random pattern is generated using random numbers, and the generated random pattern and all faults which have not yet been detected among the faults stored as the input fault information 2 are generated. A failure simulation for detecting a failure using the information is performed, and a failure pattern detected by the failure simulation is adopted as a test pattern (step S101). Note that the detected fault is excluded from targets for subsequent pattern generation.

【0018】なお、ステップS101における処理にお
いては、部分回路作成前に回路全体に対して行っても良
いし、部分回路作成後にそれぞれの部分回路に対して行
っても良い。本従来例においては、部分回路作成前に回
路全体に対して行っている。また、ランダムテストパタ
ン生成処理においては、検出しやすい故障が検出される
傾向があるため、この方法でどれだけの故障を検出でき
るかがその回路の回路構成が故障を検出しやすいかどう
かの指標となる。
The processing in step S101 may be performed on the entire circuit before the partial circuit is created, or may be performed on each partial circuit after the partial circuit is created. In this conventional example, the process is performed on the entire circuit before the partial circuit is created. Also, in the random test pattern generation process, faults that are easy to detect tend to be detected, so how many faults can be detected by this method is an index of whether the circuit configuration of the circuit is easy to detect faults. Becomes

【0019】ステップS101において生成されたテス
トパタンはパタン12として出力され、また、ステップ
S101における故障シミュレーションにて検出されな
かった故障は引き続きテストパタンの生成に用いられる
ために未検出故障情報4として出力される。
The test pattern generated in step S101 is output as a pattern 12, and the faults not detected in the fault simulation in step S101 are output as undetected fault information 4 to be used for generating the test pattern. Is done.

【0020】次に、部分回路作成手段5において、入力
回路情報1に基づいて、ATG処理を行う回路が、CP
Uの数以上に分割され、それにより部分回路が生成され
るとともに、生成された部分回路と未検出故障情報4と
に基づいて、部分回路にて検出可能な故障情報が生成さ
れ、部分回路情報及び故障情報6として出力される(ス
テップS102)。
Next, in the partial circuit creating means 5, a circuit for performing ATG processing based on the input circuit information 1
U is divided into more than the number of U, thereby generating a partial circuit. On the basis of the generated partial circuit and the undetected fault information 4, fault information detectable by the partial circuit is generated. And failure information 6 (step S102).

【0021】ステップS102にて部分回路作成手段5
から出力された部分回路情報及び故障情報6は、回路内
のCPUのうち空いているCPUのATG手段10に渡
され、ATG手段10において、部分回路情報及び故障
情報6に基づいて、回路内の故障を検出するためのテス
トパタンが自動生成される(ステップS103)。
In step S102, the partial circuit creating means 5
Is output to the ATG means 10 of the vacant CPU among the CPUs in the circuit, and the ATG means 10 outputs the partial circuit information and the failure information in the circuit based on the partial circuit information and the failure information 6. A test pattern for detecting a failure is automatically generated (Step S103).

【0022】ステップS103において生成されたテス
トパタンはパタン12として出力され、また、ステップ
S103においてテストパタン生成に用いられなかった
故障、すなわち、検出されなかった故障は引き続きテス
トパタンの生成に用いられるために未検出故障情報4と
して出力される。
The test pattern generated in step S103 is output as the pattern 12, and the faults not used for test pattern generation in step S103, that is, the faults not detected, are continuously used for test pattern generation. Is output as undetected failure information 4.

【0023】その後、上述した一連の処理において検出
された故障が、予め設定された目標故障検出率を満たす
ような値となっているかどうかが判断され(ステップS
104)、目標故障検出率を満たすような値であると判
断された場合、パタンマージ手段13において、ランダ
ムテストパタン生成手段3及びATG手段10にて生成
されたテストパタン12がマージされ、出力パタン14
として出力されるとともに、ATG手段10から、テス
トパタンの生成に用いられていない故障に関する情報が
出力未検出故障情報15として出力される(ステップS
105)。
Thereafter, it is determined whether or not the fault detected in the above-described series of processes has a value that satisfies a preset target fault detection rate (step S).
104), if it is determined that the value satisfies the target failure detection rate, the pattern merge unit 13 merges the test patterns 12 generated by the random test pattern generation unit 3 and the ATG unit 10 and outputs the output pattern 14
At the same time, and information on a fault not used for generating a test pattern is output from the ATG means 10 as output undetected fault information 15 (step S).
105).

【0024】一方、ステップS104において、目標故
障検出率を満たすような値ではないと判断された場合、
全ての部分回路についての処理が終了したかどうかが判
断され(ステップS106)、全ての部分回路について
の処理が終了したと判断された場合、ステップS105
における処理に移り、また、全ての部分回路についての
処理が終了していないと判断された場合、ステップS1
02における処理に戻る。
On the other hand, if it is determined in step S104 that the value does not satisfy the target failure detection rate,
It is determined whether the processing for all the partial circuits has been completed (step S106). If it is determined that the processing for all the partial circuits has been completed, step S105 is performed.
If it is determined that the processing has not been completed for all the partial circuits, the process proceeds to step S1.
The process returns to 02.

【0025】[0025]

【発明が解決しようとする課題】検出困難な故障を検出
することは、多大な時間を費やすことになる。例えば、
1Mゲートを有する回路において、全体の故障検出に1
0数時間費やされるのに対して、その中の1つの検出困
難な故障を検出するのに数時間もの時間が費やされてし
まう場合がある。
Detecting a fault that is difficult to detect requires a great deal of time. For example,
In circuits with 1M gates, 1
While several hours are spent, several hours may be spent detecting one of the hard-to-detect faults.

【0026】そのため、上述したような従来の回路分割
ATG部分回路処理方式においては、回路内において、
検出することが困難な故障が局所的に存在する場合、該
故障を有する部分回路が早い順番にて処理されると、後
に処理される部分回路内に容易に検出できる故障が存在
した場合に、容易に検出できる故障を検出するまでの時
間が必要以上に費やされてしまうという問題点がある。
Therefore, in the conventional circuit division ATG partial circuit processing method as described above, in the circuit,
When a fault that is difficult to detect exists locally, if a partial circuit having the fault is processed in the early order, if there is a fault that can be easily detected in a partial circuit that is processed later, There is a problem that the time required to detect an easily detectable failure is unnecessarily spent.

【0027】また、検出することが困難な故障を検出し
なくても目標故障検出率に到達できるような場合におい
ても、それらの故障を検出するための処理が行われるた
め、目標故障検出率に到達するために必要以上の時間を
費やしてしまうという問題点がある。
Even in the case where the target failure detection rate can be reached without detecting a failure that is difficult to detect, the processing for detecting those failures is performed. There is a problem that it takes more time than necessary to reach it.

【0028】本発明は、上述したような従来の技術が有
する問題点に鑑みてなされたものであって、テストパタ
ン生成処理に費やす時間を短縮することができる回路分
割ATG部分回路処理方式を提供することを目的とす
る。
The present invention has been made in view of the above-mentioned problems of the prior art, and provides a circuit division ATG partial circuit processing method capable of reducing the time spent for test pattern generation processing. The purpose is to do.

【0029】[0029]

【課題を解決しようとする手段】上記目的を達成するた
めに本発明は、乱数を用いてランダムパタンを発生させ
るとともに、発生したランダムパタンを用いて回路内の
故障を検出し、検出された故障に基づいて、回路内の故
障を検出するためのテストパタンを生成するランダムテ
ストパタン生成手段と、回路を分割することにより部分
回路を作成するとともに、作成された部分回路にて検出
可能な故障情報を生成する部分回路作成手段と、該部分
回路作成手段にて作成された部分回路及び故障情報に基
づいて、回路内の故障を検出するためのテストパタンを
自動生成するATG手段と、前記ランダムテストパタン
生成手段及び前記ATG手段にて生成されたテストパタ
ンをマージし、出力パタンとして出力するパタンマージ
手段とを有してなる回路分割ATG部分回路処理方式に
おいて、前記部分回路作成手段にて作成された部分回路
及び故障情報に基づいて、部分回路内の故障の数が所定
の値よりも大きな場合、該部分回路における故障情報を
後回しリストとして出力する故障検出困難回路判定手段
を有し、前記ATG手段は、前記故障検出困難回路判定
手段から後回しリストとして出力された部分回路におけ
る故障情報以外の故障情報に基づいて前記テストパタン
を生成した後、前記後回しリストとして出力された部分
回路における故障情報に基づいて前記テストパタンを生
成することを特徴とする。
In order to achieve the above object, the present invention provides a method for generating a random pattern using random numbers, detecting a fault in a circuit using the generated random pattern, and detecting the detected fault. A random test pattern generating means for generating a test pattern for detecting a fault in the circuit based on the above, and a partial circuit created by dividing the circuit, and fault information detectable by the created partial circuit. Means for automatically generating a test pattern for detecting a fault in a circuit based on the partial circuit and fault information created by the partial circuit creating means; Pattern generating means and pattern merge means for merging the test patterns generated by the ATG means and outputting them as output patterns. In the circuit division ATG partial circuit processing method, when the number of faults in the partial circuit is larger than a predetermined value based on the partial circuit and the fault information created by the partial circuit creating means, the fault information in the partial circuit is determined. Is output as a postponed list, and the ATG means outputs the test pattern based on the fault information other than the fault information in the partial circuit output as the postponed list from the fault detection difficult circuit judging means. After generating the test pattern, the test pattern is generated based on the failure information in the partial circuit output as the postponed list.

【0030】また、前記所定の値は、前記ランダムテス
トパタン生成手段によって検出された故障の数の、回路
全体にて定義される故障の数に対する割合に基づいて設
定されることを特徴とする。
Further, the predetermined value is set based on a ratio of the number of faults detected by the random test pattern generation means to the number of faults defined in the entire circuit.

【0031】また、前記故障検出困難回路判定手段から
後回しリストとして出力された部分回路における故障情
報を格納する後回しリスト格納手段を有することを特徴
とする。
Further, there is provided a postponed list storing means for storing the fault information in the partial circuit outputted as the postponed list from the fault detection difficult circuit judging means.

【0032】また、前記故障検出困難回路判定手段から
後回しリストとして出力された部分回路における故障情
報以外の故障情報に基づいたテストパタンの生成が前記
ATG手段にて行われた後、前記後回しリストとして出
力された部分回路における故障情報を前記後回しリスト
格納手段から抽出し、前記ATG手段に対して出力する
故障検出困難回路処理手段を有することを特徴とする。
After the test pattern is generated by the ATG means based on the failure information other than the failure information in the partial circuit output as the delay list from the failure detection difficult circuit determination means, the test pattern is generated as the delay list. It is characterized by having a failure detection difficult circuit processing means for extracting the output failure information of the partial circuit from the postponed list storage means and outputting it to the ATG means.

【0033】また、前記故障検出困難回路処理手段は、
前記後回しリスト格納手段に格納された部分回路のう
ち、故障数が少ない部分回路における故障情報から順に
前記ATG手段に対して出力することを特徴とする。
Further, the failure detection difficult circuit processing means comprises:
The fault information is output to the ATG means in order from the fault information of the partial circuit having a small number of faults among the partial circuits stored in the postponed list storage means.

【0034】また、前記ATG手段は、故障検出が予め
決められた目標故障検出率に達した場合に故障検出処理
を終了することを特徴とする。
The ATG means terminates the failure detection processing when the failure detection reaches a predetermined target failure detection rate.

【0035】また、前記部分回路作成手段は、前記回路
を回路内のCPUの数以上の部分回路に分割することを
特徴とする。
Further, the partial circuit creating means divides the circuit into partial circuits equal to or more than the number of CPUs in the circuit.

【0036】また、乱数を用いて発生したランダムパタ
ンを用いて回路内の故障を検出し、検出された故障に基
づいて、回路内の故障を検出するためのテストパタンを
生成する第1の処理と、回路を分割することにより部分
回路を作成するとともに、作成された部分回路にて検出
可能な故障情報を生成する第2の処理と、該第2の処理
にて作成された部分回路及び故障情報に基づいて、回路
内の故障を検出するためのテストパタンを自動生成する
第3の処理と、前記第1及び第3の処理にて生成された
テストパタンをマージし、出力パタンとして出力する第
4の処理とを有してなる回路分割ATG部分回路処理方
法において、前記第2の処理にて作成された部分回路及
び故障情報に基づいて、部分回路内の故障の数が所定の
値よりも大きな場合、該部分回路における故障情報を後
回しリストとして出力する第5の処理を有し、前記第3
の処理は、後回しリストとして出力された部分回路にお
ける故障情報以外の故障情報に基づいて前記テストパタ
ンを生成した後、前記後回しリストとして出力された部
分回路における故障情報に基づいて前記テストパタンを
生成することを特徴とする。
A first process for detecting a fault in a circuit using a random pattern generated using random numbers and generating a test pattern for detecting a fault in the circuit based on the detected fault. And a second process of creating a partial circuit by dividing the circuit and generating fault information detectable by the created partial circuit; and a partial process and a fault created by the second process. A third process for automatically generating a test pattern for detecting a fault in a circuit based on the information, and the test patterns generated in the first and third processes are merged and output as an output pattern. In the circuit division ATG partial circuit processing method having the fourth process, the number of faults in the partial circuit is set to a value smaller than a predetermined value based on the partial circuit and the fault information created in the second process. A big place , A fifth process of outputting the failure information in the partial circuit as a deferred list, the third
After the test pattern is generated based on the failure information other than the failure information in the partial circuit output as the postponed list, the test pattern is generated based on the failure information in the partial circuit output as the postponed list. It is characterized by doing.

【0037】また、前記所定の値は、前記ランダムテス
トパタン生成手段によって検出された故障の数の、回路
全体にて定義される故障の数に対する割合に基づいて設
定することを特徴とする。
Further, the predetermined value is set based on a ratio of the number of faults detected by the random test pattern generation means to the number of faults defined in the entire circuit.

【0038】また、前記第3の処理における前記後回し
リストとして出力された部分回路の故障情報に基づいた
前記テストパタンの生成は、前記部分回路内の故障数が
少ないものから行うことを特徴とする。
Further, the generation of the test pattern based on the failure information of the partial circuit output as the postponed list in the third processing is performed from a small number of failures in the partial circuit. .

【0039】また、前記第3の処理における故障検出が
予め決められた目標故障検出率に達した場合に故障検出
処理を終了することを特徴とする。
Further, when the failure detection in the third processing reaches a predetermined target failure detection rate, the failure detection processing is terminated.

【0040】また、前記第3の処理における前記後回し
リストとして出力された部分回路の故障情報に基づいた
前記テストパタンの生成は、前記部分回路における故障
を複数のブロックに分割して行うことを特徴とする。
Further, the generation of the test pattern based on the failure information of the partial circuit output as the post-processing list in the third processing is performed by dividing the failure in the partial circuit into a plurality of blocks. And

【0041】また、コンピュータの処理プログラムが書
き込まれた記憶媒体において、前記回路分割ATG部分
回路処理方法が書き込まれたことを特徴とする。
Further, in the storage medium in which the processing program of the computer is written, the method of processing the circuit-divided ATG partial circuit is written.

【0042】(作用)上記のように構成された本発明に
おいては、部分回路作成手段にて作成された部分回路及
び故障情報に基づいて、部分回路内の故障の数が所定の
値よりも大きな場合、該部分回路における故障情報が後
回しリストとして出力され、ATG手段において、後回
しリストとして出力された部分回路における故障情報以
外の故障情報に基づいてテストパタンが生成された後、
後回しリストとして出力された部分回路における故障情
報に基づいてテストパタンが生成される。
(Operation) In the present invention configured as described above, the number of faults in the partial circuit is larger than a predetermined value based on the partial circuit and the fault information created by the partial circuit creating means. In this case, after the failure information in the partial circuit is output as a delay list, the ATG means generates a test pattern based on failure information other than the failure information in the partial circuit output as the delay list,
A test pattern is generated based on the failure information in the partial circuit output as the postponed list.

【0043】このように、故障検出が困難な回路構成を
有する部分回路が後回しリストとされ、処理の順番が後
回しになる。それにより、故障検出が困難な回路構成を
有する部分回路で処理されるはずであった故障が、故障
検出が容易な回路構成を有する部分回路にも重複して含
まれていた場合、故障検出が容易な回路構成を有する部
分回路にて先に処理が行われ、故障が検出される。
As described above, a partial circuit having a circuit configuration that is difficult to detect a failure is a postponed list, and the order of processing is postponed. As a result, if a fault that should have been processed by a partial circuit having a circuit configuration that is difficult to detect is also included in a partial circuit that has a circuit configuration that is easy to detect the fault, the fault detection is not performed. Processing is first performed in a partial circuit having an easy circuit configuration, and a failure is detected.

【0044】故障検出が容易な回路構成を有する部分回
路にて該故障が先に検出されれば、一度検出された故障
はそれ以降はテストパタン生成の対象から除外されるた
め、後回しになった、故障検出が困難な回路構成を有す
る困難回路では処理されなくなり、回路分割分散ATG
全体として、その分の処理時間が短縮されることにな
る。
If the fault is detected first in a partial circuit having a circuit configuration that makes it easy to detect the fault, the fault once detected is excluded from the target of test pattern generation thereafter, so that it is postponed. In a difficult circuit having a circuit configuration in which failure detection is difficult, the processing is not performed, and the circuit division distributed ATG
As a whole, the processing time is shortened accordingly.

【0045】また、目標故障検出率が100%よりも小
さな場合においては、故障検出が困難な回路構成を有す
る部分回路における故障検出処理を全く行う前に目標故
障検出率が達成されれば、故障検出が困難な回路構成を
有する部分回路における故障検出処理を全く行う必要が
なくなることになり、その場合、故障検出が困難な回路
構成を有する部分回路における故障検出処理に要する処
理時間を削除することができる。例えば、目標故障検出
率を95%とした場合、残りの5%に検出困難な故障が
含まれていて、故障検出困難な回路構成を有する部分回
路における故障検出処理を行う前にその目標故障検出率
が達成されれば、故障検出が困難な回路構成を有する部
分回路における故障検出処理を全く行う必要がなくな
る。
In the case where the target failure detection rate is smaller than 100%, if the target failure detection rate is achieved before performing the failure detection processing in the partial circuit having the circuit configuration in which the failure detection is difficult, a failure is detected. This eliminates the need to perform any fault detection processing in a partial circuit having a circuit configuration that is difficult to detect, and in that case, eliminates the processing time required for the fault detection processing in a partial circuit that has a circuit configuration that is difficult to detect. Can be. For example, assuming that the target failure detection rate is 95%, the remaining 5% includes a hard-to-detect fault, and the target fault detection is performed before performing a fault detection process in a partial circuit having a circuit configuration that is difficult to detect. If the rate is achieved, there is no need to perform a failure detection process in a partial circuit having a circuit configuration in which failure detection is difficult.

【0046】通常、ランダムテストパタン生成において
大半の故障が検出される。一度検出された故障はそれ以
降はテストパタン生成の対象から除外されるので、ラン
ダムテストパタン生成終了後には、回路全体の故障のう
ちの大半がテストパタン生成の対象から除外されてい
る。また、ランダムテストパタン生成においては、生成
されるパタンがランダムパタンであるが故に、検出しや
すい故障が検出される傾向にある。このことを利用し、
ランダムテストパタン生成をある程度行った後で、まだ
検出されていない故障が多く残る部分回路は、故障を検
出しにくい回路構成になっていると判断し、故障検出困
難な部分回路とみなして後回しリストの対象にする。
Normally, most faults are detected in random test pattern generation. The fault once detected is thereafter excluded from the target of test pattern generation. Therefore, after the random test pattern generation ends, most of the faults of the entire circuit are excluded from the target of test pattern generation. Further, in the random test pattern generation, a failure that is easy to detect tends to be detected because the generated pattern is a random pattern. Taking advantage of this,
After a certain amount of random test pattern generation, partial circuits that have many undetected faults remain are judged to have a circuit configuration that makes it difficult to detect faults, and are regarded as difficult to detect faulty partial circuits, and are postponed. Target.

【0047】[0047]

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

【0048】(第1の実施の形態)図1は、本発明の回
路分割ATG部分回路処理方式の第1の実施の形態を示
すブロック図である。
(First Embodiment) FIG. 1 is a block diagram showing a first embodiment of a circuit division ATG partial circuit processing system according to the present invention.

【0049】本形態は図1に示すように、乱数を用いて
ランダムパタンを発生させ、発生したランダムパタンと
ATG処理を行う回路に含まれる全ての素子及びそれら
の素子間の接続に関する情報である入力回路情報1とA
TG処理を行う回路において定義することが可能な故障
に関する情報である入力故障情報2とに基づいて、回路
内の故障を検出するための故障シミュレーションを行
い、該故障シミュレーションによって検出された故障に
基づいて、回路内の故障を検出するためのテストパタン
を生成し、生成されたテストパタンをパタン12として
出力するとともに、故障シミュレーションにおいて検出
されなかった故障に関する情報を未検出故障情報4とし
て出力するランダムテストパタン生成手段3と、入力回
路情報1に基づいて、ATG処理を行う回路を分割し、
部分回路を生成するとともに、生成された部分回路とラ
ンダムテストパタン生成手段3から出力された未検出故
障情報4とに基づいて、部分回路にて検出可能な故障情
報を生成し、部分回路情報及び故障情報6として出力す
る部分回路作成手段5と、部分回路作成手段5から出力
された部分回路情報及び故障情報6に基づいて、部分回
路内の故障の数が所定の値よりも大きな場合あるいは部
分回路情報及び故障情報6に依存する値である場合に、
その部分回路における故障情報を後回しリストとして出
力するとともに、部分回路内の故障の数が所定の値以下
である場合あるいは部分回路情報及び故障情報6に依存
する値ではない場合に、その部分回路における故障情報
をそのまま出力する故障検出困難回路判定手段7と、故
障検出困難回路判定手段7から出力された後回しリスト
を格納する後回しリスト格納手段8と、部分回路作成手
段5から出力された部分回路情報及び故障情報6に基づ
いて、回路内の故障を検出するためのテストパタンを自
動生成し、生成したテストパタンをパタン12として出
力するとともに、テストパタンの生成に用いられなかっ
た故障情報を未検出故障情報4または出力未検出故障情
報15として出力するATG手段10と、後回しリスト
格納手段8に格納された後回しリストをATG手段10
に出力する故障検出困難回路処理手段9と、ランダムテ
ストパタン生成手段3及びATG手段10にて生成され
たテストパタン12をマージし、出力パタン14として
出力するパタンマージ手段13とから構成されている。
なお、ATG手段10においては、故障検出率が指定し
た値に達していない場合にてテストパタンの生成に用い
られていない故障に関する情報が未検出故障情報4とし
て出力され、故障検出率が指定した値に達した場合にて
テストパタンの生成に用いられていない故障に関する情
報が出力未検出故障情報15として出力される。また、
故障検出困難回路処理手段9は、ATG手段10におい
て、故障検出困難回路判定手段7にて後回しリストとし
て出力されなかった部分回路情報及び故障情報6に基づ
いてテストパタンが自動生成された後、故障検出率が予
め決められた故障検出率に達していない場合、後回しリ
スト格納手段8に格納された後回しリストをATG手段
10に対して出力する。
In this embodiment, as shown in FIG. 1, a random pattern is generated by using a random number, and all the elements included in a circuit for performing the ATG processing with the generated random pattern and information on connections between those elements. Input circuit information 1 and A
A failure simulation for detecting a failure in the circuit is performed based on the input failure information 2 which is information on a failure that can be defined in the circuit performing the TG process, and based on the failure detected by the failure simulation. A test pattern for detecting a fault in the circuit, outputting the generated test pattern as a pattern 12, and outputting information on a fault not detected in the fault simulation as undetected fault information 4. The circuit for performing the ATG process is divided based on the test pattern generation means 3 and the input circuit information 1,
In addition to generating a partial circuit, based on the generated partial circuit and the undetected fault information 4 output from the random test pattern generation means 3, fault information that can be detected by the partial circuit is generated. Based on the partial circuit information output from the partial circuit generating means 5 and the fault information 6 when the number of faults in the partial circuit is larger than a predetermined value or When the value depends on the circuit information and the failure information 6,
The failure information in the partial circuit is output as a postponed list, and when the number of failures in the partial circuit is equal to or less than a predetermined value or when the value does not depend on the partial circuit information and the failure information 6, Failure detection circuit determination means 7 for outputting the failure information as it is, delay list storage means 8 for storing the delay list output from failure detection circuit determination means 7, and partial circuit information output from partial circuit creation means 5 And automatically generates a test pattern for detecting a fault in the circuit based on the fault information 6, outputs the generated test pattern as a pattern 12, and detects no fault information not used for generating the test pattern. ATG means 10 for outputting as failure information 4 or output undetected failure information 15 and later stored in list storage means 8 It is ATG means 10 the postponed list
And a pattern merger 13 that merges the test pattern 12 generated by the random test pattern generator 3 and the ATG 10 and outputs the output as an output pattern 14.
In addition, in the ATG means 10, when the failure detection rate does not reach the specified value, information on a failure not used for generating a test pattern is output as undetected failure information 4, and the failure detection rate is specified. When the value reaches the value, information on a fault not used for generating a test pattern is output as output undetected fault information 15. Also,
After the test pattern is automatically generated by the ATG means 10 based on the partial circuit information and the failure information 6 which are not output as the postponed list by the failure detection circuit determination means 7, the failure detection circuit processing means 9 If the detection rate has not reached the predetermined failure detection rate, the postponed list stored in the postponed list storage means 8 is output to the ATG means 10.

【0050】以下に、上記のように構成された回路分割
ATG部分回路処理方式におけるテストパタン生成処理
について説明する。
The test pattern generation processing in the circuit division ATG partial circuit processing system configured as described above will be described below.

【0051】図2は、図1に示した回路分割ATG部分
回路処理方式におけるテストパタン生成処理を説明する
ためのフローチャートである。
FIG. 2 is a flowchart for explaining the test pattern generation processing in the circuit division ATG partial circuit processing system shown in FIG.

【0052】まず、ランダムテストパタン生成手段2に
おいて、乱数を用いてランダムパタンが生成され、生成
されたランダムパタンと入力故障情報2として格納され
ている故障のうちまだ検出されていない全ての故障の情
報とを用いて故障を検出するための故障シミュレーショ
ンが行われ、故障シミュレーションによって検出された
故障のパタンがテストパタンとして採用される(ステッ
プS1)。なお、検出された故障はそれ以降のパタン生
成の対象から除外される。
First, in the random test pattern generation means 2, a random pattern is generated using random numbers, and the generated random pattern and all faults which have not yet been detected among the faults stored as the input fault information 2 are generated. A failure simulation for detecting a failure is performed using the information and the failure pattern detected by the failure simulation is adopted as a test pattern (step S1). Note that the detected fault is excluded from targets for subsequent pattern generation.

【0053】なお、ステップS1における処理において
は、部分回路作成前に回路全体に対して行っても良い
し、部分回路作成後にそれぞれの部分回路に対して行っ
ても良い。本形態においては、部分回路作成前に回路全
体に対して行っている。また、ランダムテストパタン生
成処理においては、検出しやすい故障が検出される傾向
があるため、この方法でどれだけの故障を検出できるか
がその回路の回路構成が故障を検出しやすいかどうかの
指標となる。
The processing in step S1 may be performed on the entire circuit before the partial circuit is created, or may be performed on each partial circuit after the partial circuit is created. In the present embodiment, the process is performed on the entire circuit before the partial circuit is created. Also, in the random test pattern generation process, faults that are easy to detect tend to be detected, so how many faults can be detected by this method is an index of whether the circuit configuration of the circuit is easy to detect faults. Becomes

【0054】ステップS1において生成されたテストパ
タンはパタン12として出力され、また、ステップS1
における故障シミュレーションにて検出されなかった故
障は引き続きテストパタンの生成に用いられるために未
検出故障情報4として出力される。
The test pattern generated in step S1 is output as a pattern 12, and the test pattern is output in step S1.
Are output as undetected fault information 4 because they are subsequently used for generating a test pattern.

【0055】次に、部分回路作成手段5において、入力
回路情報1に基づいて、ATG処理を行う回路が、CP
Uの数以上に分割され、それにより部分回路が生成され
るとともに、生成された部分回路と未検出故障情報4と
に基づいて、部分回路にて検出可能な故障情報が生成さ
れ、部分回路情報及び故障情報6として出力される(ス
テップS2)。
Next, in the partial circuit creating means 5, a circuit for performing ATG processing based on the input circuit information 1
U is divided into more than the number of U, thereby generating a partial circuit. On the basis of the generated partial circuit and the undetected fault information 4, fault information detectable by the partial circuit is generated. And output as the failure information 6 (step S2).

【0056】次に、故障検出困難回路判定手段7におい
て、部分回路作成手段5から出力された部分回路情報及
び故障情報6に基づいて、部分回路内の故障の数が所定
の値よりも大きいかどうかが判断される(ステップS
3)。
Next, based on the partial circuit information and the fault information 6 output from the partial circuit creation means 5, the fault detection difficult circuit determination means 7 determines whether the number of faults in the partial circuit is greater than a predetermined value. Is determined (step S
3).

【0057】ここで、部分回路内の故障の数が所定の値
よりも大きいかどうかを判断することによって、その部
分回路が故障検出困難な回路であるかどうかが判断され
るが、一般的に、故障検出困難な回路としては、入力さ
れたデータが複数のゲートに分岐され、出力において再
び1つのゲートに集められるようなものが挙げられ、分
岐された先でもさらに分岐されるというもの等は、故障
検出がさらに困難な回路として挙げられる。なお、故障
検出困難な回路であるかどうかを判断するための値にお
いては、予め決められていてもよいが、ランダムテスト
パタン生成手段3において検出された故障の数の、回路
全体にて定義される故障の数に対する割合に基づいて設
定される。
Here, by determining whether or not the number of faults in the partial circuit is larger than a predetermined value, it is determined whether or not the partial circuit is a circuit for which fault detection is difficult. As a circuit that is difficult to detect a failure, there is a circuit in which input data is branched to a plurality of gates, and the data is collected again in one gate at an output. And a circuit which is more difficult to detect a failure. The value for judging whether or not the circuit is difficult to detect a fault may be determined in advance, but the value of the number of faults detected by the random test pattern generation means 3 is defined in the entire circuit. It is set based on the ratio to the number of failures.

【0058】ステップS3において部分回路内の故障の
数が所定の値よりも大きいと判断された場合は、故障検
出困難回路判定手段7において、その部分回路における
故障情報が後回しリストとして出力され、後回しリスト
格納手段8に格納される(ステップS4)。
If it is determined in step S3 that the number of faults in the partial circuit is larger than a predetermined value, the failure detection circuit determining means 7 outputs the fault information in the partial circuit as a postponed list, and postpones it. It is stored in the list storage means 8 (step S4).

【0059】一方、ステップS3において部分回路内の
故障の数が所定の値以下であると判断された場合は、そ
の部分回路における故障情報が、回路内のCPUのうち
空いているCPUのATG手段10に渡され、ATG手
段10において、部分回路情報及び故障情報6に基づい
て、回路内の故障を検出するためのテストパタンが自動
生成される(ステップS5)。
On the other hand, if it is determined in step S3 that the number of faults in the partial circuit is equal to or less than the predetermined value, the fault information in the partial circuit is stored in the ATG means of the vacant CPU among the CPUs in the circuit. The ATG means 10 automatically generates a test pattern for detecting a failure in the circuit based on the partial circuit information and the failure information 6 (step S5).

【0060】ステップS5において生成されたテストパ
タンはパタン12として出力され、また、ステップS5
においてテストパタン生成に用いられなかった故障、す
なわち、検出されなかった故障は引き続きテストパタン
の生成に用いられるために未検出故障情報4として出力
される。
The test pattern generated in step S5 is output as pattern 12, and
The faults not used in the test pattern generation, that is, the faults that are not detected, are output as the undetected fault information 4 because they are continuously used for the test pattern generation.

【0061】その後、上述した一連の処理において検出
された故障の数が、予め設定された目標故障検出率を満
たすような値となっているかどうかが判断され(ステッ
プS6)、目標故障検出率を満たすような値であると判
断された場合、パタンマージ手段13において、ランダ
ムテストパタン生成手段3及びATG手段10にて生成
されたテストパタン12がマージされ、出力パタン14
として出力されるとともに、ATG手段10から、テス
トパタンの生成に用いられていない故障に関する情報が
出力未検出故障情報15として出力される(ステップS
7)。
Thereafter, it is determined whether or not the number of faults detected in the above-described series of processes is a value that satisfies a preset target failure detection rate (step S6). If it is determined that the value satisfies the condition, the pattern merge unit 13 merges the test patterns 12 generated by the random test pattern generation unit 3 and the ATG unit 10, and outputs an output pattern 14.
At the same time, and information on a fault not used for generating a test pattern is output from the ATG means 10 as output undetected fault information 15 (step S).
7).

【0062】一方、ステップS6において、目標故障検
出率を満たすような値ではないと判断された場合、全て
の部分回路についての処理が終了したかどうかが判断さ
れ(ステップS8)、全ての部分回路についての処理が
終了していないと判断された場合、ステップS2におけ
る処理に戻る。
On the other hand, if it is determined in step S6 that the value does not satisfy the target failure detection rate, it is determined whether or not the processing has been completed for all the partial circuits (step S8). If it is determined that the process for has not been completed, the process returns to step S2.

【0063】一方、ステップS8において、全ての部分
回路についての処理が終了したと判断された場合、後回
しリスト格納手段8内に後回しリストが格納されている
かどうかが検出され(ステップS9)、後回しリストが
1つも格納されていない場合、ステップS7における処
理に移る。
On the other hand, if it is determined in step S8 that the processing for all the partial circuits has been completed, it is detected whether or not the postponed list is stored in the postponed list storage means 8 (step S9). If no is stored, the process proceeds to step S7.

【0064】一方、ステップS9において、後回しリス
ト格納手段8内に後回しリストが格納されていることが
検出された場合、故障検出困難回路処理手段9によっ
て、後回しリスト格納手段8に格納された後回しリスト
(部分回路)が、故障数の少ないものから順にソートさ
れる(ステップS10)。これは、ランダムテストパタ
ン生成後に残った故障数が部分回路の回路構成の故障検
出しやすさの指標になるためであり、このようにソート
することで、後回しになった部分回路が複数ある場合
に、その中で故障検出を最も行いやすい回路構成を有す
る回路から順に処理することができる。
On the other hand, if it is detected in step S9 that the postponed list is stored in the postponed list storage unit 8, the failure detection difficult circuit processing unit 9 stores the postponed list stored in the postponed list storage unit 8. The (partial circuits) are sorted in ascending order of the number of failures (step S10). This is because the number of faults remaining after the generation of the random test pattern is an index of the ease of detecting a fault in the circuit configuration of the partial circuit.By sorting in this way, when there are a plurality of postponed partial circuits In addition, it is possible to perform processing in order from a circuit having a circuit configuration in which failure detection is most easily performed.

【0065】次に、故障検出困難回路処理手段9におい
て、未検出故障情報4内の回路全体の未検出故障リスト
から部分回路に対応する故障が選び出され、この故障の
数と、回路全体の故障検出率が目標故障検出率に達する
ために検出される必要のある故障数とが比較され、それ
により、部分回路の目標故障検出率(以下、部分回路目
標故障検出率と称する)が算出される(ステップS1
1)。
Next, the fault detection difficult circuit processing means 9 selects a fault corresponding to the partial circuit from the undetected fault list of the entire circuit in the undetected fault information 4, and determines the number of faults and the fault of the entire circuit. The number of faults that need to be detected in order for the fault coverage to reach the target fault coverage is compared, thereby calculating the target fault coverage of the partial circuit (hereinafter referred to as the partial circuit target fault coverage). (Step S1
1).

【0066】次に、ATG手段10において、ステップ
S11にて算出された部分回路目標故障検出率と、部分
回路作成手段5から出力された部分回路情報及び故障情
報6とに基づいて、回路内の故障を検出するためのテス
トパタンが自動生成される(ステップS12)。
Next, in the ATG means 10, on the basis of the partial circuit target fault coverage calculated in step S 11 and the partial circuit information and the fault information 6 output from the partial circuit creation means 5, A test pattern for detecting a failure is automatically generated (Step S12).

【0067】ステップS12において生成されたテスト
パタンはパタン12として出力され、また、ステップS
5においてテストパタン生成に用いられなかった故障、
すなわち、検出されなかった故障は、未検出故障情報4
として出力される。
The test pattern generated in step S12 is output as pattern 12, and
Faults not used for test pattern generation in 5,
That is, a failure that has not been detected is indicated by the undetected failure information 4
Is output as

【0068】その後、部分回路の故障検出率が、部分回
路目標故障検出率を満たしているかどうかが判断され
(ステップS13)、部分回路目標故障検出率を満たし
ているを判断された場合、ステップS7における処理に
移る。
Thereafter, it is determined whether or not the failure detection rate of the partial circuit satisfies the partial circuit target failure detection rate (step S13). If it is determined that the partial circuit target failure detection rate is satisfied, the process proceeds to step S7. Move on to the processing in.

【0069】一方、ステップS13において、部分回路
目標故障検出率を満たしていないと判断された場合、後
回しリスト格納手段8に後回しリストが1つも格納され
ていないかどうかが判断され(ステップS14)、後回
しリストが1つも格納されていないと判断された場合は
ステップS7における処理に移り、後回しリストが格納
されていると判断された場合はステップS11における
処理に戻る。
On the other hand, if it is determined in step S13 that the partial circuit target failure detection rate is not satisfied, it is determined whether or not any of the postponed lists is stored in the postponed list storage means 8 (step S14). When it is determined that no postponed list is stored, the process proceeds to step S7, and when it is determined that the postponed list is stored, the process returns to step S11.

【0070】このように、ステップS11〜S14まで
の処理が、回路内におけるいずれかのCPUのATG手
段10にてテストパタンの自動生成が終了する度に行わ
れ、いずれかの部分回路の故障検出率が部分回路目標故
障検出率に達するか、または、後回しリスト9に格納さ
れた後回しリスト(部分回路)がなくなるまで行われ
る。
As described above, the processing of steps S11 to S14 is performed every time the automatic generation of the test pattern is completed by the ATG means 10 of any of the CPUs in the circuit, and the failure detection of any of the partial circuits is performed. The process is performed until the rate reaches the partial circuit target fault detection rate or until the postponed list (subcircuit) stored in the postponed list 9 disappears.

【0071】(第2の実施の形態)図3は、本発明の回
路分割ATG部分回路処理方式の第2の実施の形態を示
すブロック図である。
(Second Embodiment) FIG. 3 is a block diagram showing a second embodiment of the circuit division ATG partial circuit processing system of the present invention.

【0072】本形態は図3に示すように、第1の実施の
形態において示したものと比べて、部分回路作成手段5
にて部分回路を作成した後、ランダムテストパタン生成
手段3にてランダムテストパタンを生成する点のみが異
なり、その他の構成については、第1の実施の形態にお
いて示したものと同様である。
In this embodiment, as shown in FIG. 3, compared with the first embodiment,
After the partial circuit is created, the only difference is that a random test pattern is generated by the random test pattern generation means 3, and the other configuration is the same as that shown in the first embodiment.

【0073】本形態に示すようにランダムテストパタン
生成を部分回路作成後に行う場合においても、ランダム
テストパタン生成後に、ランダムテストパタン生成に用
いられなかった故障の数を故障検出困難な部分回路であ
るかどうかの指標にするという点において、ランダムテ
ストパタン生成を部分回路作成前に行う第1の実施の形
態に示したものと同じ効果が得られる。
As shown in the present embodiment, even when the random test pattern is generated after the partial circuit is created, it is difficult to detect the number of faults not used for random test pattern generation after the random test pattern is generated. The same effect as that of the first embodiment in which the random test pattern is generated before the creation of the partial circuit can be obtained in that it is used as an index.

【0074】(第3の実施の形態)以下に、後回しリス
トの処理を故障分割で行う実施の形態について説明す
る。
(Third Embodiment) An embodiment in which the postponement list processing is performed by failure division will be described below.

【0075】図4は、本発明の回路分割ATG部分回路
処理方法において後回しリストの処理を故障分割で行う
実施の形態を説明するためのフローチャートである。な
お、故障分割とは、一つの回路で処理する故障を同時に
全部与えず、故障をいくつかのグループに分けて一グル
ープずつ与える方法である。故障分割で分散処理を行う
場合は、複数のCPUに同じ回路を与え、いくつかのグ
ループに分けた故障の1グループずつを違うCPUに与
える。
FIG. 4 is a flowchart for explaining an embodiment in which the processing of the postponed list is performed by the fault division in the circuit division ATG partial circuit processing method of the present invention. Note that the fault division is a method in which faults to be processed by one circuit are not given all at the same time, but the faults are divided into several groups and given one by one. In the case of performing distributed processing by fault division, the same circuit is provided to a plurality of CPUs, and one group of faults divided into several groups is provided to different CPUs.

【0076】まず、ATG処理を行う回路が、CPUの
数以上に分割され、それにより部分回路が生成されると
ともに、部分回路にて検出可能な故障情報が生成される
(ステップS201)。
First, a circuit for performing the ATG process is divided into a number of CPUs or more, thereby generating a partial circuit and generating fault information detectable by the partial circuit (step S201).

【0077】次に、乱数を用いてランダムパタンが生成
され、生成されたランダムパタンと入力故障情報として
記述されている故障のうちまだ検出されていない全ての
故障の情報とを用いて故障を検出するための故障シミュ
レーションが行われ、故障シミュレーションによって検
出された故障のパタンがテストパタンとして採用される
(ステップS202)。なお、検出された故障はそれ以
降のパタン生成の対象から除外される。
Next, a random pattern is generated using random numbers, and a fault is detected using the generated random pattern and information on all faults not yet detected among faults described as input fault information. A failure simulation is performed, and a failure pattern detected by the failure simulation is adopted as a test pattern (step S202). Note that the detected fault is excluded from targets for subsequent pattern generation.

【0078】次に、部分回路内の故障の数が所定の値よ
りも大きいかどうかが判断される(ステップS20
3)。
Next, it is determined whether the number of faults in the partial circuit is larger than a predetermined value (step S20).
3).

【0079】ここで、部分回路内の故障の数が所定の値
よりも大きいかどうかを判断することによって、その部
分回路が故障検出困難な回路であるかどうかが判断され
るが、一般的に、故障検出困難な回路としては、入力さ
れたデータが複数のゲートに分岐され、出力において再
び1つのゲートに集められるようなものが挙げられ、分
岐された先でもさらに分岐されるというもの等は、故障
検出がさらに困難な回路として挙げられる。なお、故障
検出困難な回路であるかどうかを判断するための値にお
いては、予め決められていてもよいが、ランダムテスト
パタン生成手段において検出された故障の数の、回路全
体にて定義される故障の数に対する割合に基づいて設定
される。
Here, by determining whether or not the number of faults in the partial circuit is larger than a predetermined value, it is determined whether or not the partial circuit is a circuit in which fault detection is difficult. As a circuit that is difficult to detect a failure, there is a circuit in which input data is branched to a plurality of gates, and the data is collected again in one gate at an output. And a circuit which is more difficult to detect a failure. The value for determining whether the circuit is difficult to detect a failure may be predetermined, but is defined in the entire circuit as the number of failures detected by the random test pattern generation means. It is set based on the ratio to the number of failures.

【0080】ステップS203において部分回路内の故
障の数が所定の値よりも大きいと判断された場合は、そ
の部分回路における故障情報が後回しリストとして出力
され、後回しリスト格納手段に格納される(ステップS
204)。
If it is determined in step S203 that the number of faults in the partial circuit is larger than a predetermined value, fault information in the partial circuit is output as a postponed list and stored in the postponed list storage means (step S203). S
204).

【0081】一方、ステップS203において部分回路
内の故障の数が所定の値以下であると判断された場合
は、故障に対するパタンの回路構成に基づいて、回路内
の故障を検出するためのテストパタンが自動生成される
(ステップS205)。
On the other hand, if it is determined in step S203 that the number of faults in the partial circuit is equal to or smaller than the predetermined value, a test pattern for detecting a fault in the circuit is determined based on the circuit configuration of the fault pattern. Is automatically generated (step S205).

【0082】その後、上述した一連の処理において検出
された故障の数が、予め設定された目標故障検出率を満
たすような値となっているかどうかが判断され(ステッ
プS206)、目標故障検出率を満たすような値である
と判断された場合、ステップS202及びステップS2
05にて生成されたテストパターンがマージされる(ス
テップS207)。
Thereafter, it is determined whether or not the number of faults detected in the above-described series of processes is a value that satisfies a preset target failure detection rate (step S206). If it is determined that the value satisfies the condition, step S202 and step S2
The test patterns generated in step 05 are merged (step S207).

【0083】一方、ステップS206において、目標故
障検出率を満たすような値ではないと判断された場合、
全ての部分回路についての処理が終了したかどうかが判
断され(ステップS208)、全ての部分回路について
の処理が終了していないと判断された場合、ステップS
201における処理に戻る。
On the other hand, if it is determined in step S206 that the value does not satisfy the target failure detection rate,
It is determined whether the processing for all the partial circuits has been completed (step S208), and if it is determined that the processing for all the partial circuits has not been completed, the process proceeds to step S208.
The process returns to 201.

【0084】一方、ステップS208において、全ての
部分回路についての処理が終了したと判断された場合、
後回しリスト格納手段内に後回しリストが格納されてい
るかどうかが検出され(ステップS209)、後回しリ
ストが1つも格納されていない場合、ステップS207
における処理に移る。
On the other hand, if it is determined in step S208 that the processing for all the partial circuits has been completed,
It is detected whether or not a postponed list is stored in the postponed list storage means (step S209). If no postponed list is stored, step S207 is performed.
Move on to the processing in.

【0085】一方、ステップS209において、後回し
リスト格納手段内に後回しリストが格納されていること
が検出された場合、後回しリスト格納手段に格納された
後回しリスト(部分回路)が、故障数の少ないものから
順にソートされる(ステップS210)。
On the other hand, if it is detected in step S209 that the postponed list is stored in the postponed list storage unit, the postponed list (partial circuit) stored in the postponed list storage unit has a small number of faults. (Step S210).

【0086】次に、1つの部分回路内の故障がいくつか
のグループにランダムに分割され(ステップSS21
1)、回路内の空いているCPUに、分割された故障が
グループ毎に渡され、CPUそれぞれにおいてテストパ
タンの生成が行われる(ステップS212)。
Next, faults in one partial circuit are randomly divided into several groups (step SS21).
1) The divided faults are passed to the vacant CPU in the circuit for each group, and a test pattern is generated in each CPU (step S212).

【0087】その後、上述した一連の処理において検出
された故障が、予め設定された目標故障検出率を満たす
ような値となっているかどうかが判断され(ステップS
213)、目標故障検出率を満たすような値であると判
断された場合、ステップS207における処理に移る。
Thereafter, it is determined whether or not the fault detected in the above-described series of processes has a value that satisfies a preset target fault detection rate (Step S).
213) If it is determined that the value satisfies the target failure detection rate, the process proceeds to step S207.

【0088】一方、ステップS213において、目標故
障検出率を満たすような値ではないと判断された場合、
分割された故障のうち、まだテストパタンの生成に用い
られていない故障があるかどうかが検出され(ステップ
S214)、テストパタンの生成に用いられていない故
障があることが検出された場合、ステップS212にお
ける処理に戻る。
On the other hand, if it is determined in step S213 that the value does not satisfy the target failure detection rate,
It is detected whether any of the divided faults has not been used for generating a test pattern yet (step S214). If it is detected that there is a fault not used for generating a test pattern, the process proceeds to step S214. It returns to the process in S212.

【0089】一方、ステップS214において、テスト
パタンの生成に用いられていない故障がないことが検出
された場合、後回しリスト格納手段内に後回しリストが
格納されているかどうかが検出され(ステップS21
5)、後回しリストが1つも格納されていない場合、ス
テップS207における処理に移り、後回しリストが格
納されている場合、ステップS212における処理に戻
る。
On the other hand, if it is detected in step S214 that there is no failure not used for generating the test pattern, it is detected whether or not the postponed list is stored in the postponed list storage means (step S21).
5) If no postponed list is stored, the process proceeds to step S207. If a postponed list is stored, the process returns to step S212.

【0090】本形態に示したような、後回しリストの処
理を故障分割で行うものにおいては、以下に記載するよ
うな効果がある。
In the case where the processing of the postponed list is performed by the fault division as shown in the present embodiment, the following effects are obtained.

【0091】回路分割による分散処理においては、同じ
故障を複数のCPUで同時に扱うことが起り得るが、検
出困難な二つの回路で同時に同じ故障を処理すること
は、処理時間の無駄になる。
In distributed processing by circuit division, the same fault may be handled by a plurality of CPUs at the same time. However, processing the same fault by two circuits that are difficult to detect at the same time wastes processing time.

【0092】後回しリストの処理においては、一つの故
障を検出するのにかかる時間が後回しにならない部分回
路で一つの故障を検出する時間に比べて大きいと考えら
れるため、このオーバーヘッドが非常に大きい。
In the processing of the postponed list, the overhead required to detect one fault is considered to be longer than the time required to detect one fault in a partial circuit that is not postponed, so that this overhead is very large.

【0093】後回しリストを故障分割で処理することに
よって、全てのCPUで同じ回路を処理し、異なるCP
Uで同じ故障を扱うことがなくなる。つまり、異なるC
PUで同じ故障を処理してしまうことによるオーバーヘ
ッドが避けられる。
By processing the postponed list by fault division, the same circuit is processed by all CPUs and different CPs are processed.
U does not handle the same fault. That is, different C
The overhead of handling the same fault in the PU is avoided.

【0094】また、後回しリストの処理を故障分割で行
うものにおいては、検出困難回路が最後の回路である場
合に1つのCPUだけでこれを処理させるよりも効率が
よいという効果もある。
Further, in the case where the processing of the postponed list is performed by the fault division, there is an effect that the efficiency is higher than the case where the circuit which is difficult to detect is the last circuit, which is processed by only one CPU.

【0095】(第4の実施の形態)以下に、上述した実
施の形態において示した部分回路の作成方法について具
体例を挙げて詳細に説明する。
(Fourth Embodiment) Hereinafter, a method of forming the partial circuit shown in the above-described embodiment will be described in detail with a specific example.

【0096】図5は、本発明の回路分割ATG部分回路
処理方法における部分回路の作成方法の実施の一形態を
説明するためのフローチャートである。
FIG. 5 is a flow chart for explaining an embodiment of a method of forming a partial circuit in the circuit division ATG partial circuit processing method of the present invention.

【0097】まず、ATG処理を行う回路の情報及び該
回路の故障情報が読み込まれる(ステップS301)。
First, the information of the circuit for performing the ATG process and the failure information of the circuit are read (step S301).

【0098】次に、PO(Primary Output)側から順次
入力側のゲートをたどっていき、各POのそれぞれのコ
ーンに含まれるコーンの数がカウントされる(ステップ
S302)。ここで、コーンとは、PO側から順次入力
側のゲートをたどっていきPO(Primary Input)まで
に得られるゲートの集合のことをいう。
Next, the input side gate is sequentially traced from the PO (Primary Output) side, and the number of cones included in each cone of each PO is counted (step S302). Here, the cone means a set of gates obtained by sequentially tracing the gates on the input side from the PO side to the PO (Primary Input).

【0099】次に、各POのそれぞれのコーンに含まれ
るゲートの数に基づいて、ゲートの数が少ないものから
POが順次ソートされ、POリストが作成される(ステ
ップS303)。
Next, based on the number of gates included in each cone of each PO, POs are sequentially sorted in ascending order of the number of gates, and a PO list is created (step S303).

【0100】次に、最後にソートされたPOのコーンに
含まれるゲートの数が、後に作成される部分回路のゲー
ト数のしきい値として設定される(ステップS30
4)。
Next, the number of gates included in the cone of PO sorted last is set as a threshold value of the number of gates of a partial circuit to be created later (step S30).
4).

【0101】その後、ランダムテストパタンが生成され
る(ステップS305)。
Thereafter, a random test pattern is generated (step S305).

【0102】次に、ソートされた順にPOリストからP
Oが1つずつ取り出され(ステップS306)、そのP
Oのコーンに含まれるゲートのリストが作成される(ス
テップS307)。
Next, from the PO list, P
O are taken out one by one (step S306), and the P
A list of gates included in the cone of O is created (step S307).

【0103】次に、ステップS307にて作成されたリ
ストに基づいて、ステップS306にて取り出されたP
Oのコーンに含まれるゲートの数が部分回路の合計ゲー
ト数に加えられる(ステップS308)。
Next, based on the list created in step S307, the P
The number of gates included in the cone of O is added to the total number of gates of the partial circuit (step S308).

【0104】次に、ステップS308における、ゲート
数の合計が、ステップS304にて設定されたしきい値
を越えているかどうかが判断され(ステップS30
9)、しきい値を越えていると判断された場合、その部
分回路内の故障リストが作成され(ステップS31
0)、また、しきい値を越えていないと判断された場合
は、ステップS306における処理に戻る。
Next, it is determined whether or not the total number of gates in step S308 exceeds the threshold value set in step S304 (step S30).
9) If it is determined that the threshold value is exceeded, a fault list in the partial circuit is created.
0) If it is determined that the threshold value has not been exceeded, the process returns to step S306.

【0105】次に、ステップS307にて作成されたゲ
ートのリストと、ステップS310にて作成された故障
リストがリモートCPUに送られる(ステップS31
1)。
Next, the gate list created in step S307 and the failure list created in step S310 are sent to the remote CPU (step S31).
1).

【0106】その後、リモートCPUにおいて、ステッ
プS311にて送られてきたゲートのリストと故障リス
トとに基づいてATG処理が行われる(ステップS31
2)。
Thereafter, the remote CPU performs ATG processing based on the gate list and the failure list sent in step S311 (step S31).
2).

【0107】その後の処理においては、上述した実施の
形態において説明したものと同様であるため、ここでの
説明は省略する。
[0107] The subsequent processing is the same as that described in the above-described embodiment, and a description thereof will be omitted.

【0108】なお、リモートCPUにおいてATG処理
が終了すると、その旨の信号が部分回路作成手段に送ら
れ、ステップS306における処理に戻る。
When the ATG process is completed in the remote CPU, a signal to that effect is sent to the partial circuit creating means, and the process returns to step S306.

【0109】なお、上述した回路分割ATG部分回路処
理方法においては、ROM等の、コンピュータの処理プ
ログラムが書き込まれる記憶媒体に書き込まれ、実施す
る際に該記憶媒体から読み出される。
In the above-described circuit-divided ATG partial circuit processing method, the data is written into a storage medium such as a ROM in which a computer processing program is written, and is read from the storage medium at the time of execution.

【0110】[0110]

【発明の効果】以上説明したように本発明においては、
分回路作成手段にて作成された部分回路及び故障情報に
基づいて、部分回路内の故障の数が所定の値よりも大き
な場合、該部分回路における故障情報が後回しリストと
して出力され、ATG手段において、後回しリストとし
て出力された部分回路における故障情報以外の故障情報
に基づいてテストパタンが生成された後、後回しリスト
として出力された部分回路における故障情報に基づいて
テストパタンが生成される構成とし、故障検出が予め決
められた目標故障検出率に達した場合に故障検出処理を
終了するため、故障検出が困難な回路構成を有する部分
回路を処理する前に目標故障検出率に達した場合、故障
検出が困難な回路構成を有する部分回路の処理を行う必
要がなくなり、回路分割によるATGに要する処理時間
を大幅に削減することができる。
As described above, in the present invention,
If the number of faults in the partial circuit is larger than a predetermined value based on the partial circuit and fault information created by the branch circuit creating means, the fault information in the partial circuit is output as a postponed list, and the ATG means After the test pattern is generated based on the failure information other than the failure information in the partial circuit output as the postponed list, the test pattern is generated based on the failure information in the partial circuit output as the postponed list, If the failure detection reaches a predetermined target failure detection rate, the failure detection process is terminated.If the target failure detection rate is reached before processing a partial circuit having a circuit configuration in which failure detection is difficult, a failure occurs. There is no need to perform processing of a partial circuit having a circuit configuration that is difficult to detect, and the processing time required for ATG by circuit division is greatly reduced. Door can be.

【0111】また、故障検出が困難な回路構成を有する
部分回路で処理されるはずであった故障が、故障検出が
容易な回路構成を有する部分回路にも重複して含まれて
いた場合、故障検出が容易な回路構成を有する部分回路
にて先に処理が行われ、故障が検出され、検出された故
障はそれ以降はテストパタン生成の対象から除外される
ため、後回しになった故障検出が困難な回路構成を有す
る困難回路では処理されなくなり、回路分割分散ATG
全体として、その分の処理時間を短縮することができ
る。
Further, if a fault that should have been processed by a partial circuit having a circuit configuration that is difficult to detect is also included in a partial circuit that has a circuit configuration that is easy to detect the fault, the fault is detected. Processing is performed first in a partial circuit having a circuit configuration that is easy to detect, a fault is detected, and the detected fault is subsequently excluded from the target of test pattern generation. It is no longer processed in a difficult circuit having a difficult circuit configuration, and the circuit division distributed ATG
As a whole, the processing time can be reduced accordingly.

【0112】また、後回しリストとされる部分回路にて
検出する必要のある故障数が、対応する未検出故障リス
トの全てであるとは限らないため、この部分回路で必要
な故障検出率を計算して指定することで、処理する故障
数を減らすことができる。
Further, since the number of faults that need to be detected in the partial circuit which is regarded as the postponed list is not necessarily all of the corresponding undetected fault list, the fault detection rate required in this partial circuit is calculated. The number of failures to be processed can be reduced.

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

【図1】本発明の回路分割ATG部分回路処理方式の第
1の実施の形態を示すブロック図である。
FIG. 1 is a block diagram showing a first embodiment of a circuit division ATG partial circuit processing method according to the present invention.

【図2】図1に示した回路分割ATG部分回路処理方式
におけるテストパタン生成処理を説明するためのフロー
チャートである。
FIG. 2 is a flowchart for explaining test pattern generation processing in the circuit division ATG partial circuit processing method shown in FIG.

【図3】本発明の回路分割ATG部分回路処理方式の第
2の実施の形態を示すブロック図である。
FIG. 3 is a block diagram showing a second embodiment of the circuit division ATG partial circuit processing system of the present invention.

【図4】本発明の回路分割ATG部分回路処理方法にお
いて後回しリストの処理を故障分割で行う実施の形態を
説明するためのフローチャートである。
FIG. 4 is a flowchart for explaining an embodiment in which a postponed list is processed by failure division in the circuit division ATG partial circuit processing method of the present invention.

【図5】本発明の回路分割ATG部分回路処理方法にお
ける部分回路の作成方法の実施の一形態を説明するため
のフローチャートである。
FIG. 5 is a flowchart for explaining one embodiment of a method of creating a partial circuit in the circuit division ATG partial circuit processing method of the present invention.

【図6】従来の回路分割ATG部分回路処理方式の一構
成例を示すブロック図である。
FIG. 6 is a block diagram showing a configuration example of a conventional circuit division ATG partial circuit processing method.

【図7】図6に示した回路分割ATG部分回路処理方式
におけるテストパタン生成処理を説明するためのフロー
チャートである。
FIG. 7 is a flowchart for explaining a test pattern generation process in the circuit division ATG partial circuit processing method shown in FIG. 6;

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

1 入力回路情報 2 入力故障情報 3 ランダムテストパタン生成手段 4 未検出故障情報 5 部分回路作成手段 6 部分回路情報及び故障情報 7 故障検出困難回路判定手段 8 後回しリスト格納手段 9 故障検出困難回路処理手段 10 ATG手段 12 パタン 13 パタンマージ手段 14 出力パタン 15 出力未検出故障情報 DESCRIPTION OF SYMBOLS 1 Input circuit information 2 Input fault information 3 Random test pattern generation means 4 Undetected fault information 5 Partial circuit creation means 6 Partial circuit information and fault information 7 Fault detection difficult circuit determination means 8 Delay list storage means 9 Fault detection difficult circuit processing means DESCRIPTION OF SYMBOLS 10 ATG means 12 Pattern 13 Pattern merge means 14 Output pattern 15 Output undetected failure information

Claims (13)

【特許請求の範囲】[Claims] 【請求項1】 乱数を用いてランダムパタンを発生させ
るとともに、発生したランダムパタンを用いて回路内の
故障を検出し、検出された故障に基づいて、回路内の故
障を検出するためのテストパタンを生成するランダムテ
ストパタン生成手段と、回路を分割することにより部分
回路を作成するとともに、作成された部分回路にて検出
可能な故障情報を生成する部分回路作成手段と、該部分
回路作成手段にて作成された部分回路及び故障情報に基
づいて、回路内の故障を検出するためのテストパタンを
自動生成するATG手段と、前記ランダムテストパタン
生成手段及び前記ATG手段にて生成されたテストパタ
ンをマージし、出力パタンとして出力するパタンマージ
手段とを有してなる回路分割ATG部分回路処理方式に
おいて、 前記部分回路作成手段にて作成された部分回路及び故障
情報に基づいて、部分回路内の故障の数が所定の値より
も大きな場合、該部分回路における故障情報を後回しリ
ストとして出力する故障検出困難回路判定手段を有し、 前記ATG手段は、前記故障検出困難回路判定手段から
後回しリストとして出力された部分回路における故障情
報以外の故障情報に基づいて前記テストパタンを生成し
た後、前記後回しリストとして出力された部分回路にお
ける故障情報に基づいて前記テストパタンを生成するこ
とを特徴とする回路分割ATG部分回路処理方式。
A test pattern for generating a random pattern using random numbers, detecting a fault in a circuit using the generated random pattern, and detecting a fault in the circuit based on the detected fault. A random test pattern generating means for generating a partial circuit by dividing the circuit, and a partial circuit generating means for generating fault information detectable by the generated partial circuit; and ATG means for automatically generating a test pattern for detecting a fault in a circuit based on the partial circuit and the fault information created by the above, and a test pattern generated by the random test pattern generating means and the ATG means. A circuit division ATG partial circuit processing system having a pattern merging means for merging and outputting as an output pattern; If the number of faults in the partial circuit is greater than a predetermined value based on the partial circuit and the fault information created by the path creating means, a fault detection difficult circuit determination that outputs the fault information in the partial circuit as a postponed list The ATG means generates the test pattern based on the failure information other than the failure information in the partial circuit output as the delay list from the failure detection circuit determination means, and outputs the test pattern as the delay list. And generating the test pattern based on the failure information in the partial circuit.
【請求項2】 請求項1に記載の回路分割ATG部分回
路処理方法において、 前記所定の値は、前記ランダムテストパタン生成手段に
よって検出された故障の数の、回路全体にて定義される
故障の数に対する割合に基づいて設定されることを特徴
とする回路分割ATG部分回路処理方式。
2. The circuit division ATG partial circuit processing method according to claim 1, wherein the predetermined value is the number of faults detected by the random test pattern generation means, and the number of faults defined in the entire circuit. A circuit-divided ATG partial circuit processing method, which is set based on a ratio to a number.
【請求項3】 請求項1または請求項2に記載の回路分
割ATG部分回路処理方式において、 前記故障検出困難回路判定手段から後回しリストとして
出力された部分回路における故障情報を格納する後回し
リスト格納手段を有することを特徴とする回路分割AT
G部分回路処理方式。
3. A postponed list storing means for storing fault information in a subcircuit output as a postponed list from said faulty difficult circuit determination means in the circuit divided ATG partial circuit processing method according to claim 1 or 2. Circuit AT characterized by having
G partial circuit processing method.
【請求項4】 請求項3に記載の回路分割ATG部分回
路処理方式において、 前記故障検出困難回路判定手段から後回しリストとして
出力された部分回路における故障情報以外の故障情報に
基づいたテストパタンの生成が前記ATG手段にて行わ
れた後、前記後回しリストとして出力された部分回路に
おける故障情報を前記後回しリスト格納手段から抽出
し、前記ATG手段に対して出力する故障検出困難回路
処理手段を有することを特徴とする回路分割ATG部分
回路処理方式。
4. The circuit division ATG partial circuit processing method according to claim 3, wherein a test pattern is generated based on failure information other than the failure information in the partial circuit output from the failure detection difficult circuit determination means as a postponed list. After the ATG is performed by the ATG means, extracts failure information in the partial circuit output as the postponed list from the postponed list storage means, and outputs the failure detection difficult circuit processing means to the ATG means. Circuit division ATG partial circuit processing method.
【請求項5】 請求項4に記載の回路分割ATG部分回
路処理方式において、 前記故障検出困難回路処理手段は、前記後回しリスト格
納手段に格納された部分回路のうち、故障数が少ない部
分回路における故障情報から順に前記ATG手段に対し
て出力することを特徴とする回路分割ATG部分回路処
理方式。
5. The circuit-divided ATG partial circuit processing method according to claim 4, wherein said failure-detection-resistant circuit processing means is a partial circuit having a small number of failures among the partial circuits stored in said postponed list storage means. A circuit-divided ATG partial circuit processing method characterized by sequentially outputting failure information to the ATG means.
【請求項6】 請求項1乃至5のいずれか1項に記載の
回路分割ATG部分回路処理方法において、 前記ATG手段は、故障検出が予め決められた目標故障
検出率に達した場合に故障検出処理を終了することを特
徴とする回路分割ATG部分回路処理方式。
6. The circuit division ATG partial circuit processing method according to claim 1, wherein said ATG means detects a failure when the failure detection reaches a predetermined target failure detection rate. A circuit division ATG partial circuit processing method, which terminates processing.
【請求項7】 請求項1乃至6のいずれか1項に記載の
回路分割ATG部分回路処理方式において、 前記部分回路作成手段は、前記回路を回路内のCPUの
数以上の部分回路に分割することを特徴とする回路分割
ATG部分回路処理方式。
7. The circuit division ATG partial circuit processing method according to claim 1, wherein said partial circuit creation means divides said circuit into partial circuits equal to or more than the number of CPUs in the circuit. A circuit divided ATG partial circuit processing method.
【請求項8】 乱数を用いて発生したランダムパタンを
用いて回路内の故障を検出し、検出された故障に基づい
て、回路内の故障を検出するためのテストパタンを生成
する第1の処理と、回路を分割することにより部分回路
を作成するとともに、作成された部分回路にて検出可能
な故障情報を生成する第2の処理と、該第2の処理にて
作成された部分回路及び故障情報に基づいて、回路内の
故障を検出するためのテストパタンを自動生成する第3
の処理と、前記第1及び第3の処理にて生成されたテス
トパタンをマージし、出力パタンとして出力する第4の
処理とを有してなる回路分割ATG部分回路処理方法に
おいて、 前記第2の処理にて作成された部分回路及び故障情報に
基づいて、部分回路内の故障の数が所定の値よりも大き
な場合、該部分回路における故障情報を後回しリストと
して出力する第5の処理を有し、 前記第3の処理は、後回しリストとして出力された部分
回路における故障情報以外の故障情報に基づいて前記テ
ストパタンを生成した後、前記後回しリストとして出力
された部分回路における故障情報に基づいて前記テスト
パタンを生成することを特徴とする回路分割ATG部分
回路処理方法。
8. A first process for detecting a fault in a circuit using a random pattern generated using a random number and generating a test pattern for detecting a fault in the circuit based on the detected fault. And a second process of creating a partial circuit by dividing the circuit and generating fault information detectable by the created partial circuit; and a partial process and a fault created by the second process. A third method for automatically generating a test pattern for detecting a fault in a circuit based on information
And a fourth process of merging the test patterns generated in the first and third processes and outputting the merged test patterns as an output pattern. In the case where the number of faults in the partial circuit is larger than a predetermined value based on the partial circuit and the fault information created in the above process, a fifth process for outputting the fault information in the partial circuit as a postponed list is provided. The third process generates the test pattern based on the failure information other than the failure information in the partial circuit output as the delay list, and then generates the test pattern based on the failure information in the partial circuit output as the delay list. A method of processing a circuit-divided ATG partial circuit, wherein the test pattern is generated.
【請求項9】 請求項8に記載の回路分割ATG部分回
路処理方法において、 前記所定の値は、前記ランダムテストパタン生成手段に
よって検出された故障の数の、回路全体にて定義される
故障の数に対する割合に基づいて設定することを特徴と
する回路分割ATG部分回路処理方法。
9. The circuit division ATG partial circuit processing method according to claim 8, wherein the predetermined value is the number of faults detected by the random test pattern generation means, and the number of faults defined in the entire circuit. A circuit-divided ATG partial circuit processing method, wherein the setting is made based on a ratio to the number.
【請求項10】 請求項8または請求項9に記載の回路
分割ATG部分回路処理方法において、 前記第3の処理における前記後回しリストとして出力さ
れた部分回路の故障情報に基づいた前記テストパタンの
生成は、前記部分回路内の故障数が少ないものから行う
ことを特徴とする回路分割ATG部分回路処理方法。
10. The circuit division ATG partial circuit processing method according to claim 8, wherein the test pattern is generated based on the failure information of the partial circuit output as the post-processing list in the third processing. Is a method of processing a circuit-divided ATG partial circuit, wherein the method is performed from the one with the smallest number of faults in the partial circuit.
【請求項11】 請求項8乃至10のいずれか1項に記
載の回路分割ATG部分回路処理方法において、 前記第3の処理における故障検出が予め決められた目標
故障検出率に達した場合に故障検出処理を終了すること
を特徴とする回路分割ATG部分回路処理方法。
11. The circuit-divided ATG partial circuit processing method according to claim 8, wherein a failure is detected when the failure detection in the third processing reaches a predetermined target failure detection rate. A method of processing a circuit-divided ATG partial circuit, wherein the detection processing is terminated.
【請求項12】 請求項8乃至11のいずれか1項に記
載の回路分割ATG部分回路処理方法において、 前記第3の処理における前記後回しリストとして出力さ
れた部分回路の故障情報に基づいた前記テストパタンの
生成は、前記部分回路における故障を複数のブロックに
分割して行うことを特徴とする回路分割ATG部分回路
処理方法。
12. The circuit division ATG partial circuit processing method according to claim 8, wherein the test based on the failure information of the partial circuit output as the post-processing list in the third processing. A method of processing a circuit-divided ATG partial circuit, wherein a pattern is generated by dividing a failure in the partial circuit into a plurality of blocks.
【請求項13】 請求項8乃至12のいずれか1項に記
載の回路分割ATG部分回路処理方法が書き込まれたこ
とを特徴とする、コンピュータの処理プログラムが書き
込まれた記憶媒体。
13. A storage medium in which a computer processing program is written, wherein the circuit division ATG partial circuit processing method according to claim 8 is written.
JP10037223A 1998-01-28 1998-02-19 Circuit division ATG partial circuit processing method, circuit division ATG partial circuit processing method, and storage medium in which this is written Expired - Lifetime JP3050306B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP10037223A JP3050306B2 (en) 1998-02-19 1998-02-19 Circuit division ATG partial circuit processing method, circuit division ATG partial circuit processing method, and storage medium in which this is written
US09/236,903 US6334199B1 (en) 1998-01-28 1999-01-26 Method of generating test patterns for a logic circuit, a system performing the method, and a computer readable medium instructing the system to perform the method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10037223A JP3050306B2 (en) 1998-02-19 1998-02-19 Circuit division ATG partial circuit processing method, circuit division ATG partial circuit processing method, and storage medium in which this is written

Publications (2)

Publication Number Publication Date
JPH11237450A true JPH11237450A (en) 1999-08-31
JP3050306B2 JP3050306B2 (en) 2000-06-12

Family

ID=12491606

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10037223A Expired - Lifetime JP3050306B2 (en) 1998-01-28 1998-02-19 Circuit division ATG partial circuit processing method, circuit division ATG partial circuit processing method, and storage medium in which this is written

Country Status (1)

Country Link
JP (1) JP3050306B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6425104B1 (en) 1998-12-28 2002-07-23 Nec Corporation Method and system for test pattern generation and a computer readable medium instructing the system to perform the method
US7178078B2 (en) 2000-12-07 2007-02-13 Fujitsu Limited Testing apparatus and testing method for an integrated circuit, and integrated circuit

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6425104B1 (en) 1998-12-28 2002-07-23 Nec Corporation Method and system for test pattern generation and a computer readable medium instructing the system to perform the method
US7178078B2 (en) 2000-12-07 2007-02-13 Fujitsu Limited Testing apparatus and testing method for an integrated circuit, and integrated circuit
US7734973B2 (en) 2000-12-07 2010-06-08 Fujitsu Microelectronics Limited Testing apparatus and testing method for an integrated circuit, and integrated circuit

Also Published As

Publication number Publication date
JP3050306B2 (en) 2000-06-12

Similar Documents

Publication Publication Date Title
JP4237434B2 (en) Integrated circuit hold time error correction method and correction program therefor
US20090319829A1 (en) Pattern extraction method and apparatus
US6480987B1 (en) Method and system for estimating capacitive coupling in a hierarchical design
JP2003233639A (en) Failure verification device, failure verification method and failure analysis method
JPH08212799A (en) Apparatus and method for generation of test pattern
US6678739B1 (en) System, method, and computer program product for compressing test pattern set
US6334199B1 (en) Method of generating test patterns for a logic circuit, a system performing the method, and a computer readable medium instructing the system to perform the method
JP3050306B2 (en) Circuit division ATG partial circuit processing method, circuit division ATG partial circuit processing method, and storage medium in which this is written
CN113986618B (en) Cluster brain fracture automatic repair method, system, device and storage medium
JP3033675B2 (en) Sequential circuit optimization device
JP2008134808A (en) Function verification device for logic circuit, verification method for function coverage system, and program
US7278127B2 (en) Overlapping shape design rule error prevention
JP2996293B2 (en) Failure simulation method
JP3048003B2 (en) Semiconductor device failure simulation method and data creation device in failure simulation
JP2658857B2 (en) Equivalent fault extraction method and device
JP3077617B2 (en) Delay simulator
JPH11265980A (en) Failure verification method of integrated circuit
JPH11338904A (en) Method for verifying violation of design rule
JPH0572287A (en) Prparation method for delay test pattern
CN115561975A (en) Method, device and equipment for verifying defects through OPC
JPH063420A (en) Test pattern generation method for combinational logic circuit
JP2011164921A (en) Device for designing semiconductor integrated circuit, and method for designing the semiconductor integrated circuit
CN116702485A (en) Circuit line risk value determination method, device, computer equipment and medium
JP2019185216A (en) Vector rationalization device and vector rationalization program
JP2008311478A (en) Fault analyzing method