JPH07191102A - Automatic inspection line producer - Google Patents

Automatic inspection line producer

Info

Publication number
JPH07191102A
JPH07191102A JP5331820A JP33182093A JPH07191102A JP H07191102 A JPH07191102 A JP H07191102A JP 5331820 A JP5331820 A JP 5331820A JP 33182093 A JP33182093 A JP 33182093A JP H07191102 A JPH07191102 A JP H07191102A
Authority
JP
Japan
Prior art keywords
pattern
fault
buffer
detected
test sequence
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.)
Withdrawn
Application number
JP5331820A
Other languages
Japanese (ja)
Inventor
Kenji Morimoto
健次 森本
Mitsuho Ota
光保 太田
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial Co 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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP5331820A priority Critical patent/JPH07191102A/en
Publication of JPH07191102A publication Critical patent/JPH07191102A/en
Withdrawn legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To produce a short inspection line at a high speed in automatic inspection line production for a combined circuit. CONSTITUTION:An automatic inspection line production part 101 produces the first patten for constituting an inspection line and a fault simulator 102 performs fault simulation by using the first pattern so that a set of the first pattern and a fault detectable by the first pattern is input to an inspection line compressor 103. In the inspection line compressor 103, the inspection line can be compressed by deletion of the first pattern. When the first pattern is output as the second pattern for constituting the compressed inspection line, to an output part 106, any fault detectable by the second pattern is deleted out of target faults in the automatic inspection line production part 101 and the fault simulator 102 so as to shorten an inspection line production time and a fault simulation time.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、組合せ回路に対する検
査系列を自動的に生成する検査系列自動生成装置に関す
るものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a test sequence automatic generation device for automatically generating a test sequence for a combinational circuit.

【0002】[0002]

【従来の技術】従来の検査系列自動生成方法としては、
組合せ回路中の対象とする故障をランダムに選び、その
故障を検出するための検査系列を生成し、検査系列中の
パターンを用いて組合せ回路中の対象とする故障を検出
できるか否かを故障シミュレーンを行なうことにより調
べ、その後、検査系列の系列長を短縮する即ち検査系列
の圧縮を行なうものが知られている。
2. Description of the Related Art As a conventional automatic inspection sequence generation method,
A target fault in a combinational circuit is randomly selected, a test sequence for detecting the fault is generated, and it is determined whether the target fault in the combinational circuit can be detected using the pattern in the test sequence. A method is known in which a simulation is performed to investigate, and then the sequence length of the test sequence is shortened, that is, the test sequence is compressed.

【0003】[0003]

【発明が解決しようとする課題】しかしながら、前記従
来の検査系列自動生成方法では、検査系列の圧縮を後処
理として行なうので、検査系列の故障シミュレーション
は組合せ回路中の全ての故障を対象として処理を行なう
ことになり、故障シミュレーション時間が膨大になると
いう問題点がある。
However, in the above-described conventional test sequence automatic generation method, since the test sequence is compressed as a post-process, the fault simulation of the test sequence targets all the faults in the combinational circuit. Therefore, there is a problem that the failure simulation time becomes huge.

【0004】ところで、検査系列自動生成における検査
系列の圧縮処理の一例としては以下のようなものが考慮
される。
By the way, the following is considered as an example of the test sequence compression processing in the automatic test sequence generation.

【0005】図2は、検査系列の圧縮処理を行なう検査
系列圧縮部203を備えた検査系列自動生成装置の構成
を示すブロック図である。図2において、201は、組
合せ回路中の対象とする故障をランダムに選び、その故
障を検出するための検査系列を生成する検査系列自動生
成部であり、202は、検査系列中のパターンを入力と
し、そのパターンを用いて組合せ回路中の対象とする故
障を検出できるか否かを調べる故障シミュレータであ
り、203は、検査系列圧縮部であり、204は、パタ
ーンとこのパターンを用いて検出される検出故障との組
を1組以上格納できるバッファであり、205は、圧縮
処理後の検査系列を格納する出力部である。検査系列圧
縮部203は、検査系列を入力とし、バッファ204に
格納し、検査系列中のパターン毎の検出故障の被覆関係
を調べ、検出故障が全て被覆されるパターンをバッファ
204から削除することで検査系列の圧縮を行ない、バ
ッファ204が一杯になったら検出故障が最も多いパタ
ーンをバッファ204から出力部205に出力し、出力
されたパターンの検出故障をバッファ204内の検出故
障と以後バッファ204に入力される検査系列の検出故
障とから削除する。
FIG. 2 is a block diagram showing the configuration of a test sequence automatic generation apparatus having a test sequence compression unit 203 for compressing a test sequence. In FIG. 2, reference numeral 201 denotes a test sequence automatic generation unit that randomly selects a target fault in a combinational circuit and generates a test sequence for detecting the fault, and 202 inputs a pattern in the test sequence. And 203 is a fault simulator for checking whether or not a target fault in the combinational circuit can be detected using the pattern, 203 is a check sequence compression unit, and 204 is a pattern and a pattern detected using this pattern. Is a buffer capable of storing one or more sets of detected faults, and 205 is an output unit for storing the test sequence after compression processing. The test sequence compressing unit 203 receives the test sequence as input, stores it in the buffer 204, checks the coverage of the detection fault for each pattern in the test sequence, and deletes the pattern in which all the detection faults are covered from the buffer 204. The test sequence is compressed, and when the buffer 204 is full, the pattern with the most detected faults is output from the buffer 204 to the output unit 205, and the detected faults of the output pattern are sent to the detected faults in the buffer 204 and thereafter to the buffer 204. It is deleted from the detection failure of the input inspection sequence.

【0006】以上のように構成された検査系列自動生成
装置の動作について説明する。ここでは、バッファ20
4の大きさを3とし、図3に示す組合せ回路の中の単一
縮退故障を対象として検査系列を生成するものとする。
図3において、10〜13は外部入力信号線、20,2
1は外部出力信号線、30〜38は単一縮退故障を仮定
する信号線である。
The operation of the test sequence automatic generation device configured as described above will be described. Here, the buffer 20
It is assumed that the size of 4 is 3 and a test sequence is generated for a single stuck-at fault in the combinational circuit shown in FIG.
In FIG. 3, 10 to 13 are external input signal lines, and 20 and 2.
Reference numeral 1 is an external output signal line, and 30 to 38 are signal lines assuming a single stuck-at fault.

【0007】まず、組合せ回路中の対象とする全ての故
障が検出されるまで検査系列自動生成部201でパター
ンを生成し、故障シミュレータ202で18個の故障に
ついて処理を行なうと(表1)に示す検査系列を生成す
るものとする。
First, the test sequence automatic generation unit 201 generates a pattern until all target faults in the combinational circuit are detected, and the fault simulator 202 processes 18 faults (Table 1). The test sequence shown shall be generated.

【0008】[0008]

【表1】 [Table 1]

【0009】(表1)中の検出故障欄における記述で
“/”の左側の数字は信号線、右側の数字はその信号線
の故障を示し、“1”ならば1縮退故障を、“0”なら
ば0縮退故障を示す。
In the description of the detected failure column in (Table 1), the number on the left side of "/" indicates the signal line, and the number on the right side indicates the failure of the signal line. If it is ", it indicates a stuck-at-0 fault.

【0010】次に、時刻1のパターンとこのパターンに
より検出可能な7個の検出故障との組を検査系列圧縮部
203に入力し、バッファ204に格納する。
Next, the set of the pattern at time 1 and the seven detected faults that can be detected by this pattern are input to the test sequence compression unit 203 and stored in the buffer 204.

【0011】次に、時刻2のパターンとこのパターンに
より検出可能な4個の検出故障との組を検査系列圧縮部
203に入力し、バッファ204に格納し、バッファ2
04内で故障の被覆関係を調べる。しかし、全ての検出
故障が被覆されるパターンは存在しないので次のパター
ンを入力する。
Next, the set of the pattern at time 2 and the four detected faults that can be detected by this pattern are input to the test sequence compression unit 203, stored in the buffer 204, and the buffer 2 is stored.
Check the fault coverage within 04. However, since there is no pattern that covers all the detected faults, the next pattern is input.

【0012】次に、時刻3のパターンとこのパターンに
より検出可能な5個の検出故障との組を検査系列圧縮部
203に入力し、バッファ204に格納し、バッファ2
04内で故障の被覆関係を調べる。しかし、全ての検出
故障が被覆されるパターンは存在しない。バッファ20
4が一杯になったので検出故障が最も多い時刻1のパタ
ーンを出力部205に出力し、時刻1のパターンの検査
故障をバッファ204内のパターンの検出故障と時刻4
以降のパターンの検出故障とから削除する。
Next, the set of the pattern at time 3 and the five detected faults that can be detected by this pattern are input to the test sequence compression unit 203, stored in the buffer 204, and stored in the buffer 2.
Check the fault coverage within 04. However, no pattern covers all detected faults. Buffer 20
4 is full, the pattern at time 1 with the largest number of detection failures is output to the output unit 205, and the inspection failure of the pattern at time 1 is detected as the pattern detection failure in the buffer 204 and the time 4
It is deleted from the detection failures of the following patterns.

【0013】次に、時刻4のパターンとこのパターンに
より検出可能な3個の検出故障との組を検査系列圧縮部
203に入力し、バッファ204に格納し、バッファ2
04内で故障の被覆関係を調べる。しかし、全ての検出
故障が被覆されるパターンは存在しない。バッファ20
4が一杯になったので検出故障が最も多い時刻3のパタ
ーンを出力部205に出力し、時刻3のパターンの検出
故障をバッファ204内のパターンの検出故障と時刻5
以降のパターンの検出故障とから削除する。
Next, the set of the pattern at time 4 and the three detected faults that can be detected by this pattern are input to the test sequence compression unit 203, stored in the buffer 204, and stored in the buffer 2.
Check the fault coverage within 04. However, no pattern covers all detected faults. Buffer 20
4 is full, the pattern at time 3 with the largest number of detection failures is output to the output unit 205, and the detection failure of the pattern at time 3 is detected with the pattern detection failure in the buffer 204 and the time 5
It is deleted from the detection failures of the following patterns.

【0014】次に、時刻5のパターンとこのパターンに
より検出可能な1個の検出故障との組を検査系列圧縮部
203に入力し、バッファ204に格納し、バッファ2
04内で故障の被覆関係を調べる。時刻5のパターンの
検出故障が時刻4のパターンの検出故障に被覆されるの
で時刻5のパターンとその検出故障とをバッファ204
から削除する。
Next, the set of the pattern at time 5 and one detected fault that can be detected by this pattern is input to the test sequence compression unit 203, stored in the buffer 204, and the buffer 2 is stored.
Check the fault coverage within 04. Since the detection failure of the pattern at time 5 is covered by the detection failure of the pattern at time 4, the buffer 204 stores the pattern at time 5 and the detection failure.
Remove from.

【0015】次に、時刻6のパターンとこのパターンに
より検出可能な2個の検出故障との組を検査系列圧縮部
203に入力し、バッファ204に格納し、バッファ2
04内で故障の被覆関係を調べる。しかし、全ての検出
故障が被覆されるパターンは存在しない。バッファ20
4が一杯になったので検出故障が最も多い時刻2のパタ
ーンを出力部205に出力し、時刻2のパターンの検出
故障をバッファ204内のパターンの検出故障と時刻7
以降のパターンの検出故障とから削除する。
Next, the set of the pattern at time 6 and the two detected faults that can be detected by this pattern are input to the test sequence compression unit 203, stored in the buffer 204, and stored in the buffer 2.
Check the fault coverage within 04. However, no pattern covers all detected faults. Buffer 20
4 is full, the pattern at time 2 with the largest number of detected failures is output to the output unit 205, and the detected failure of the pattern at time 2 is detected with the detected failure of the pattern in the buffer 204 and the time 7
It is deleted from the detection failures of the following patterns.

【0016】次に、時刻7のパターンとこのパターンに
より検出可能な1個の検出故障との組を検査系列圧縮部
203に入力し、バッファ204に格納し、バッファ2
04内で故障の被覆関係を調べる。時刻7のパターンの
検出故障が時刻6のパターンの検出故障に被覆されるの
で時刻7のパターンとその検出故障とをバッファ204
から削除する。
Next, the set of the pattern at time 7 and one detected fault that can be detected by this pattern is input to the test sequence compression unit 203, stored in the buffer 204, and the buffer 2 is stored.
Check the fault coverage within 04. Since the detection failure of the pattern at time 7 is covered by the detection failure of the pattern at time 6, the buffer 204 stores the pattern at time 7 and the detection failure.
Remove from.

【0017】次に、時刻8のパターンとこのパターンに
より検出可能な1個の検出故障との組を検査系列圧縮部
203に入力し、バッファ204に格納し、バッファ2
04内で故障の被覆関係を調べる。時刻8のパターンの
検出故障が時刻4のパターンの検出故障に被覆されるの
で時刻8のパターンとその検出故障とをバッファ204
から削除する。
Next, the set of the pattern at time 8 and one detected fault that can be detected by this pattern is input to the test sequence compression unit 203, stored in the buffer 204, and the buffer 2 is stored.
Check the fault coverage within 04. Since the detection failure of the pattern at time 8 is covered by the detection failure of the pattern at time 4, the buffer 204 stores the pattern at time 8 and the detection failure.
Remove from.

【0018】次に、時刻9のパターンの検出故障は全て
削除されているので次のパターンを入力する。
Next, since all the detection failures of the pattern at time 9 have been deleted, the next pattern is input.

【0019】次に、時刻10のパターンとこのパターン
により検出可能な2個の検出故障との組を検査系列圧縮
部203に入力し、バッファ204に格納し、バッファ
204内で故障の被覆関係を調べる。時刻4のパターン
の検出故障が時刻10のパターンの検出故障に被覆され
るので時刻4のパターンとその検出故障とをバッファ2
04から削除する。
Next, a set of the pattern at time 10 and two detected faults that can be detected by this pattern is input to the test sequence compression unit 203, stored in the buffer 204, and the coverage relation of the faults is stored in the buffer 204. Find out. Since the detection failure of the pattern at time 4 is covered by the detection failure of the pattern at time 10, the buffer 2 stores the pattern at time 4 and the detection failure.
Delete from 04.

【0020】以上のように出力部205に出力されたパ
ターンとバッファ204に残されたパターンとを合わせ
て、(表2)に示す圧縮された検査系列を生成する。
As described above, the pattern output to the output unit 205 and the pattern remaining in the buffer 204 are combined to generate the compressed test sequence shown in (Table 2).

【0021】[0021]

【表2】 [Table 2]

【0022】しかしながら、以上のような検査系列自動
生成装置では、圧縮処理を行なうとき、検出故障が多い
パターン間の故障の被覆関係を調べることになるので検
査系列の圧縮に膨大な時間がかかってしまうという問題
点がある。
However, in the test sequence automatic generation apparatus as described above, when performing the compression process, it is necessary to examine the fault coverage relationship between the patterns with many detected faults, so that it takes an enormous amount of time to compress the test sequence. There is a problem that it ends up.

【0023】本発明は、前記に鑑みなされたものであっ
て、系列長の短い検査系列を高速に生成できる検査系列
自動生成装置を提供することを目的とする。
The present invention has been made in view of the above, and an object of the present invention is to provide an automatic test sequence generation device capable of generating a test sequence having a short sequence length at high speed.

【0024】[0024]

【課題を解決するための手段】前記の目的を達成するた
め、本発明は、検査系列の生成と圧縮とを同時に行なう
ことによって、系列長の短い検査系列を高速に生成する
ものである。
To achieve the above object, the present invention is to generate a test sequence having a short sequence length at a high speed by simultaneously generating and compressing a test sequence.

【0025】具体的に請求項1の発明が講じた解決手段
は、検査系列自動生成装置を対象とし、組合せ回路中の
対象とする故障の存否を調べるための検査系列を構成す
る、前記組合せ回路の外部入力として同時に設定される
値の組である第1パターンを生成するパターン生成手段
と、前記第1パターンを用いて前記組合せ回路中の対象
とする故障を検出できるか否かを調べる故障シミュレー
ションを実行する故障シミュレーション実行手段と、前
記第1パターンと該第1パターンにより検出可能な故障
との組を入力し、前記第1パターンを前記検査系列から
削除するか又は前記第1パターンを圧縮された検査系列
を構成する第2パターンとして出力する検査系列圧縮処
理を実行し、前記第1パターンを前記第2パターンとし
て出力する場合に、当該第2パターンにより検出可能な
故障を、前記故障シミュレーション実行手段により実行
される故障シミュレーションにおいて対象とされる故障
から削除する故障削除処理を実行する検査系列圧縮手段
とを備えている構成とするものである。
Specifically, the solution means taken by the invention of claim 1 is a combinational circuit for a test series automatic generation device, which constitutes a test series for checking the presence or absence of a target fault in the combinational circuit. Pattern generation means for generating a first pattern, which is a set of values simultaneously set as external inputs of the, and a fault simulation for checking whether or not the target fault in the combinational circuit can be detected using the first pattern. And a pair of the first pattern and a fault detectable by the first pattern are inputted, and the first pattern is deleted from the inspection sequence or the first pattern is compressed. When a test sequence compression process of outputting as a second pattern forming a check sequence is performed and the first pattern is output as the second pattern, And a test sequence compression unit that executes a fault deletion process that deletes a fault that can be detected by the second pattern from a fault that is targeted in the fault simulation that is performed by the fault simulation execution unit. Is.

【0026】さらに、請求項2の発明は、具体的には、
請求項1の発明の構成に、前記検査系列圧縮手段は、前
記第1パターンを前記第2パターンとして出力する場合
に、当該第2パターンにより検出可能な故障を、前記故
障シミュレーション実行手段により実行される故障シミ
ュレーションにおいて対象とされる故障から削除すると
共に、当該第2パターンにより検出可能な故障を、前記
パターン生成手段により実行される第1パターンの生成
において対象とされる故障から削除することによって前
記故障削除処理を実行する構成を付加するものである。
Further, the invention of claim 2 is, specifically,
In the configuration of the invention of claim 1, when the test sequence compression means outputs the first pattern as the second pattern, the failure simulation execution means executes a failure detectable by the second pattern. By deleting from the target fault in the fault simulation, the fault detectable by the second pattern from the target fault in the generation of the first pattern executed by the pattern generating means. This is to add a configuration for executing the failure deletion processing.

【0027】また、請求項3の発明は、具体的には、請
求項1の発明の構成に、前記検査系列圧縮手段は、前記
第1パターンと該第1パターンにより検出可能な故障と
の組を格納できるバッファと、所定条件が満たされる場
合に前記第1パターンを前記第2パターンとして出力す
る一方、前記所定条件が満たされない場合に前記第1パ
ターンと該第1パターンにより検出可能な故障との組を
前記バッファに格納する第1のステップと、前記バッフ
ァに前記第1パターンと該第1パターンにより検出可能
な故障との組が2組以上格納された場合に、前記バッフ
ァ内の一の第1パターンにより検出可能な故障が前記バ
ッファ内の他の第1パターンにより検出可能な故障に含
まれるという故障の被覆関係が存在するか否かを調べ、
前記バッファ内に、検出可能な故障の全てが被覆される
第1パターンが存在する際に、当該第1パターンと該第
1パターンにより検出可能な故障との組を前記バッファ
から削除する第2のステップと、前記バッファが一杯に
なった場合に、前記バッファ内の第1パターンの中から
一の第1パターンを選択し、該一の第1パターンを前記
第2パターンとして出力する第3のステップとを実行す
ることによって前記検査系列圧縮処理を実行する検査系
列圧縮処理実行手段とを有している構成を付加するもの
である。
Further, the invention of claim 3 is, specifically, in the structure of the invention of claim 1, wherein the check sequence compression means is a combination of the first pattern and a fault detectable by the first pattern. And a buffer capable of storing the first pattern and outputting the first pattern as the second pattern when a predetermined condition is satisfied, and a failure detectable by the first pattern and the first pattern when the predetermined condition is not satisfied. In the buffer, and when two or more sets of the first pattern and a fault detectable by the first pattern are stored in the buffer, one of the buffers in the buffer is stored. It is checked whether or not there is a fault coverage relationship in which the fault detectable by the first pattern is included in the faults detectable by the other first patterns in the buffer,
A second pattern that deletes a set of the first pattern and a fault detectable by the first pattern from the buffer when a first pattern that covers all the detectable faults exists in the buffer. And a third step of selecting one first pattern from the first patterns in the buffer and outputting the one first pattern as the second pattern when the buffer is full And a test sequence compression process executing means for executing the test sequence compression process by executing the above.

【0028】さらに、請求項4の発明は、具体的には、
請求項3の発明の構成に、前記検査系列圧縮処理実行手
段は、前記第1パターンにより検出可能な故障の個数が
n個以上の場合に(ただし、nは前記組合せ回路中の対
象とする全ての故障の個数以下の自然数である)前記第
1パターンを前記第2パターンとして出力する一方、前
記第1パターンにより検出可能な故障の個数がn個より
も少ない場合に前記第1パターンと該第1パターンによ
り検出可能な故障との組を前記バッファに格納すること
によって前記第1のステップを実行する構成を付加する
ものである。
Further, the invention of claim 4 is, specifically,
In the configuration of the invention of claim 3, the check sequence compression processing execution means is provided when the number of faults that can be detected by the first pattern is n or more (where n is all targets in the combinational circuit). The first pattern is output as the second pattern, while the first pattern and the first pattern are output when the number of faults detectable by the first pattern is less than n. A configuration for executing the first step is added by storing a set of faults that can be detected by one pattern in the buffer.

【0029】請求項5の発明は、具体的には、請求項4
の発明の構成に、前記検査系列圧縮処理実行手段は、前
記バッファが一杯になった場合に、前記バッファ内の第
1パターンの中から、検出可能な故障のうちの被覆され
ない故障の個数が最も多い第1パターンを選択し、該第
1パターンを前記第2パターンとして出力することによ
って前記第3のステップを実行する構成を付加するもの
である。
The invention of claim 5 is, specifically, claim 4
In the configuration of the present invention, the check sequence compression processing execution means has the largest number of uncovered faults among the detectable faults from the first pattern in the buffer when the buffer is full. A configuration for executing the third step by selecting a large number of first patterns and outputting the first patterns as the second patterns is added.

【0030】[0030]

【作用】請求項1の発明の構成により、パターン生成手
段は、検査系列を構成する第1パターンを生成し、第1
パターンを用いて故障シミュレーションが故障シミュレ
ーション実行手段により実行される。その結果、第1パ
ターンにより検出可能な故障が判明する。ここで、第1
パターンを検査系列圧縮手段により検査系列から削除す
ることによって検査系列を圧縮することができる。ま
た、検査系列圧縮手段に入力された第1パターンが、圧
縮された検査系列を構成する第2パターンとして検査系
列圧縮手段から出力されると、検査系列圧縮手段は、第
2パターンにより検出可能な故障を、故障シミュレーシ
ョンにおいて対象とされる故障から削除する。
According to the configuration of the invention of claim 1, the pattern generating means generates the first pattern forming the inspection sequence, and the first pattern
The failure simulation is executed by the failure simulation executing means using the pattern. As a result, the first pattern reveals a detectable fault. Where the first
The test sequence can be compressed by deleting the pattern from the test sequence by the test sequence compression means. Further, when the first pattern input to the test sequence compression means is output from the test sequence compression means as the second pattern forming the compressed test sequence, the test sequence compression means can detect the second pattern. The fault is deleted from the faults targeted in the fault simulation.

【0031】このように、検査系列の生成と圧縮とを同
時に行なうことによって、圧縮された検査系列を構成す
る第2パターンを検査系列の生成中に確定できる。した
がって、第2パターンにより検出可能な故障を故障シミ
ュレーションの対象から削除することによって、シミュ
レーション処理の処理量を低減することができる。この
ため、故障シミュレーション時間を短縮することが可能
である。
By simultaneously generating and compressing the test sequence in this way, the second pattern forming the compressed test sequence can be determined during the generation of the test sequence. Therefore, by deleting the fault that can be detected by the second pattern from the fault simulation target, it is possible to reduce the amount of simulation processing. Therefore, the failure simulation time can be shortened.

【0032】さらに、請求項2の発明の構成により、第
2パターンにより検出可能な故障を、検査系列を構成す
る第1パターンの生成における対象から削除することに
よって、検査系列の生成処理の処理量を低減することが
できるため、検査系列の生成処理時間を短縮することが
可能である。
Further, according to the configuration of the second aspect of the present invention, by eliminating the fault that can be detected by the second pattern from the target in the generation of the first pattern forming the inspection series, the processing amount of the inspection series generation processing is increased. Can be reduced, so that it is possible to shorten the inspection sequence generation processing time.

【0033】また、請求項3の発明の構成により、検査
系列圧縮手段において、バッファを用い、バッファに格
納された複数個の第1パターン間の故障の被覆関係を調
べることによって、検査系列の圧縮処理を実現すること
ができる。
According to the third aspect of the invention, the test sequence compressing means compresses the test sequence by using the buffer and checking the fault coverage between the plurality of first patterns stored in the buffer. Processing can be realized.

【0034】さらに、請求項4の発明の構成により、検
査系列圧縮手段において、検出可能な故障の個数がn個
よりも少ない第1パターンについてのみ故障の被覆関係
を調べる。このため、検査系列の圧縮処理の処理時間を
短縮することができる。
Further, according to the structure of the fourth aspect of the present invention, in the inspection sequence compression means, the fault coverage relation is examined only for the first pattern in which the number of detectable faults is less than n. Therefore, it is possible to reduce the processing time of the compression processing of the inspection series.

【0035】請求項5の発明の構成により、検査系列圧
縮手段において、バッファが一杯になった場合に、被覆
されない故障の個数が最も多い第1パターンを、圧縮さ
れた検査系列を構成する第2パターンとして出力する。
被覆されない故障の個数が最も多い第1パターンの検出
故障は、後に、他の第1パターンの検出故障により被覆
される可能性が低いため、第2パターンとして出力する
ことによって検査系列の圧縮効率を向上させることがで
きる。
According to the configuration of the fifth aspect of the present invention, in the test sequence compressing means, when the buffer is full, the first pattern having the largest number of uncovered faults constitutes the compressed test sequence. Output as a pattern.
The detection failure of the first pattern, which has the largest number of uncovered failures, is less likely to be covered later by the detection failure of the other first pattern. Therefore, by outputting it as the second pattern, the compression efficiency of the test sequence is improved. Can be improved.

【0036】[0036]

【実施例】【Example】

(実施例1)以下、本発明の実施例1について説明す
る。
(Embodiment 1) Hereinafter, Embodiment 1 of the present invention will be described.

【0037】図1は、実施例1に係る検査系列自動生成
装置の構成を示すブロック図である。図1において、1
01は、組合せ回路中の対象とする故障をランダムに選
び、その故障を検出するための検査系列を構成するパタ
ーンを生成するパターン生成手段としての検査系列自動
生成部であり、102は、検査系列自動生成部101に
より生成されたパターンを入力とし、そのパターンを用
いて組合せ回路中の対象とする故障を検出できるか否か
を調べる故障シミュレーション実行手段としての故障シ
ミュレータであり、104は、検査系列圧縮処理実行手
段としての制御部であり、105は、パターンとこのパ
ターンを用いて検出される検出故障との組を1組以上格
納できるバッファであり、103は、制御部104とバ
ッファ105とを備える検査系列圧縮手段としての検査
系列圧縮部であり、106は、検査系列圧縮部103か
ら出力される、圧縮された検査系列を構成するパターン
を格納する出力部である。制御部104は、検査系列自
動生成部101により生成されたパターンを入力とし、
このパターンにより検出可能な検出故障がn個以上なら
ばそのパターンを出力部106に出力する一方、n個よ
りも少ないならばそのパターンとこのパターンの検出故
障とをバッファ105に格納し、バッファ105内でパ
ターン毎の検出故障の被覆関係を調べ、検出故障が全て
被覆されるパターンをバッファ105から削除すること
で検査系列の圧縮を行ない、バッファ105が一杯にな
ったときは検出故障が最も多いパターンをバッファ10
5から出力部106に出力し、出力部106に出力され
たパターンの検出故障をバッファ105内の検出故障と
検査系列自動生成部101が対象とする故障と故障シミ
ュレータ102が対象とする故障とから削除する。
FIG. 1 is a block diagram showing the arrangement of the test sequence automatic generation apparatus according to the first embodiment. In FIG. 1, 1
Reference numeral 01 is a test sequence automatic generation unit as pattern generation means for randomly selecting a target fault in a combinational circuit and generating a pattern constituting a test sequence for detecting the fault, and 102 is a test sequence. A failure simulator is a failure simulation executing means for checking whether or not a target failure in a combinational circuit can be detected by using the pattern generated by the automatic generation unit 101 as an input, and 104 is an inspection series. Reference numeral 105 denotes a control unit as a compression processing execution unit, 105 is a buffer capable of storing one or more sets of patterns and detection failures detected using the patterns, and 103 is a control unit 104 and a buffer 105. Reference numeral 106 denotes a test sequence compression unit as a test sequence compression unit that is provided, and 106 is a compression sequence output from the test sequence compression unit 103. An output unit for storing a pattern constituting a by test sequence. The control unit 104 receives the pattern generated by the test sequence automatic generation unit 101 as an input,
If the number of detected faults that can be detected by this pattern is n or more, the pattern is output to the output unit 106, while if it is less than n, the pattern and the detected fault of this pattern are stored in the buffer 105, and the buffer 105 is stored. The inspection sequence is compressed by checking the covering relation of the detected faults for each pattern in the buffer, and deleting the pattern in which all the detected faults are covered from the buffer 105. When the buffer 105 is full, the detected faults are the most frequent. Pattern buffer 10
5 to the output unit 106, and the detection fault of the pattern output to the output unit 106 is detected from the detection fault in the buffer 105, the fault targeted by the test sequence automatic generation unit 101, and the fault targeted by the fault simulator 102. delete.

【0038】以上のように構成された実施例1の検査系
列自動生成装置の動作について説明する。ここでは、バ
ッファ105の大きさを3、制御部104により実行さ
れる判定処理におけるnを4とし、図3に示す組合せ回
路の中の単一縮退故障を対象として検査系列を生成する
ものとする。
The operation of the test sequence automatic generation apparatus of the first embodiment configured as above will be described. Here, it is assumed that the size of the buffer 105 is 3, n in the determination process executed by the control unit 104 is 4, and a test sequence is generated for a single stuck-at fault in the combinational circuit shown in FIG. .

【0039】(表3)は、実施例1の検査系列自動生成
装置を図3に示す組合せ回路に適用した際に、組合せ回
路中の対象とする全ての故障が検出されるまで検査系列
自動生成部101により生成される検査系列のパターン
と各パターンにより検出可能な検出故障とを示す。
Table 3 shows that, when the test sequence automatic generation apparatus of the first embodiment is applied to the combinational circuit shown in FIG. 3, the test sequence automatic generation is performed until all target faults in the combinational circuit are detected. The patterns of the inspection series generated by the unit 101 and the detected faults detectable by each pattern are shown.

【0040】[0040]

【表3】 [Table 3]

【0041】まず、検査系列自動生成部101で時刻1
のパターン“1100”を生成し、故障シミュレータ1
02で18個の故障について故障シミュレーションを行
ない、故障を7個検出する。時刻1のパターンとこのパ
ターンにより検出可能な7個の検出故障との組を検査系
列圧縮部103に入力すると、検出故障が7個でありn
=4個以上なので制御部104は時刻1のパターンを出
力部106に出力し、時刻1のパターンの検出故障を検
査系列自動生成部101及び故障シミュレータ102が
対象とする18個の故障から削除する。
First, the test sequence automatic generation unit 101 performs time 1
Pattern "1100" is generated and failure simulator 1
In 02, a failure simulation is performed for 18 failures to detect 7 failures. When a pair of the pattern at time 1 and the seven detected faults that can be detected by this pattern is input to the test sequence compression unit 103, there are seven detected faults and n
= 4 or more, the control unit 104 outputs the pattern at time 1 to the output unit 106, and deletes the detected failure of the pattern at time 1 from the 18 failures targeted by the test sequence automatic generation unit 101 and the failure simulator 102. .

【0042】次に、検査系列自動生成部101で時刻2
のパターン“1000”を生成し、故障シミュレータ1
02で11個の故障について故障シミュレーションを行
ない、故障を3個検出する。時刻2のパターンとこのパ
ターンにより検出可能な3個の検出故障との組を検査系
列圧縮部103に入力すると、検出故障が3個でありn
=4個よりも少ないので制御部104は時刻2のパター
ンと検出故障とをバッファ105に格納する。
Next, the test sequence automatic generation unit 101 performs time 2
Failure simulator 1
In 02, a failure simulation is performed for 11 failures to detect 3 failures. When the set of the pattern at time 2 and the three detected faults that can be detected by this pattern is input to the test sequence compression unit 103, there are three detected faults and n
= 4, the control unit 104 stores the pattern at time 2 and the detected failure in the buffer 105.

【0043】次に、検査系列自動生成部101で時刻3
のパターン“0011”を生成し、故障シミュレータ1
02で11個の故障について故障シミュレーションを行
ない、故障を5個検出する。時刻3のパターンとこのパ
ターンにより検出可能な5個の検出故障との組を検査系
列圧縮部103に入力すると、検出故障が5個でありn
=4個以上なので制御部104は時刻3のパターンを出
力部106に出力し、時刻3のパターンの検出故障を検
査系列自動生成部101及び故障シミュレータ102が
対象とする11個の故障から削除すると共にバッファ1
05内の時刻2のパターンの検出故障から削除する。
Next, the test sequence automatic generation unit 101 sets time 3
Failure simulator 1
In 02, a fault simulation is performed for 11 faults to detect 5 faults. When a set of the pattern at time 3 and the five detected faults that can be detected by this pattern is input to the test sequence compression unit 103, there are five detected faults and n
= 4 or more, the control unit 104 outputs the pattern at time 3 to the output unit 106, and deletes the detected failure of the pattern at time 3 from the 11 failures targeted by the test sequence automatic generation unit 101 and the failure simulator 102. With buffer 1
It is deleted from the detection failure of the pattern at time 2 in 05.

【0044】次に、検査系列自動生成部101で時刻4
のパターン“0001”を生成し、故障シミュレータ1
02で6個の故障について故障シミュレーションを行な
い、故障を2個検出する。時刻4のパターンとこのパタ
ーンにより検出可能な2個の検出故障との組を検査系列
圧縮部103に入力すると、検出故障が2個でありn=
4個よりも少ないので制御部104は時刻4のパターン
と検出故障とをバッファ105に格納する。バッファ1
05内で故障の被覆関係を調べるが、故障の被覆は存在
しないので次のパターンの生成に移行する。
Next, the inspection sequence automatic generation unit 101 sets time 4
Pattern "0001" is generated and the fault simulator 1
In 02, a fault simulation is performed for 6 faults to detect 2 faults. When a pair of the pattern at time 4 and two detected faults that can be detected by this pattern is input to the test sequence compression unit 103, there are two detected faults and n =
Since there are less than four, the control unit 104 stores the pattern at time 4 and the detected failure in the buffer 105. Buffer 1
The coverage relation of the fault is examined in 05, but since there is no fault coverage, the process moves to the generation of the next pattern.

【0045】次に、検査系列自動生成部101で時刻5
のパターン“1101”を生成し、故障シミュレータ1
02で6個の故障について故障シミュレーションを行な
い、故障を1個検出する。時刻5のパターンとこのパタ
ーンにより検出可能な1個の検出故障との組を検査系列
圧縮部103に入力すると、検出故障が1個でありn=
4個よりも少ないので制御部104は時刻5のパターン
と検出故障とをバッファ105に格納する。バッファ1
05内で故障の被覆関係を調べると、時刻5のパターン
の検出故障“36/1”が時刻4のパターンの検出故障
“34/0,36/1”に被覆されるので時刻5のパタ
ーンとその検出故障とをバッファ105から削除する。
Next, the test sequence automatic generation unit 101 performs time 5
Pattern 1101 is generated and the failure simulator 1
In 02, a fault simulation is performed for 6 faults to detect 1 fault. When a pair of the pattern at time 5 and one detected fault that can be detected by this pattern is input to the test sequence compression unit 103, there is one detected fault and n =
Since there are less than four, the control unit 104 stores the pattern at time 5 and the detected failure in the buffer 105. Buffer 1
When the fault coverage relation is examined in 05, the pattern detection fault "36/1" at time 5 is covered by the pattern detection fault "34/0, 36/1" at time 4, so The detected failure is deleted from the buffer 105.

【0046】次に、検査系列自動生成部101で時刻6
のパターン“1110”を生成し、故障シミュレータ1
02で6個の故障について故障シミュレーションを行な
い、故障を2個検出する。時刻6のパターンとこのパタ
ーンにより検出可能な2個の検出故障との組を検査系列
圧縮部103に入力すると、検出故障が2個でありn=
4個よりも少ないので制御部104は時刻6のパターン
と検出故障とをバッファ105に格納する。バッファ1
05内で故障の被覆関係を調べるが、故障の被覆は存在
しない。バッファ105が一杯になったので検出故障の
個数が最も多い時刻4のパターンを出力部106に出力
し、時刻4のパターンの検出故障を検査系列自動生成部
101及び故障シミュレータ102が対象とする6個の
故障から削除すると共にバッファ105内の時刻2のパ
ターンの検出故障及び時刻6のパターンの検出故障から
削除する。
Next, the test sequence automatic generation unit 101 performs time 6
Pattern 1111 is generated and the failure simulator 1
In 02, a fault simulation is performed for 6 faults to detect 2 faults. When a pair of the pattern at time 6 and two detected faults that can be detected by this pattern is input to the test sequence compression unit 103, there are two detected faults and n =
Since there are less than four, the control unit 104 stores the pattern at time 6 and the detected failure in the buffer 105. Buffer 1
The fault coverage is examined in 05, but there is no fault coverage. Since the buffer 105 is full, the pattern at time 4 with the largest number of detected failures is output to the output unit 106, and the detected failure of the pattern at time 4 is targeted by the test sequence automatic generation unit 101 and the failure simulator 102. The faults are deleted from the individual faults, and are deleted from the detection fault of the pattern at time 2 and the detection fault of the pattern at time 6 in the buffer 105.

【0047】次に、検査系列自動生成部101で時刻7
のパターン“0010”を生成し、故障シミュレータ1
02で4個の故障について故障シミュレーションを行な
い、故障を1個検出する。時刻7のパターンとこのパタ
ーンにより検出可能な1個の検出故障との組を検査系列
圧縮部103に入力すると、検出故障が1個でありn=
4個よりも少ないので制御部104は時刻7のパターン
と検出故障とをバッファ105に格納する。バッファ1
05内で故障の被覆関係を調べると、時刻7のパターン
の検出故障“33/1”が時刻6のパターンの検出故障
“33/1,35/0”に被覆されるので時刻7のパタ
ーンとその検出故障とをバッファ105から削除する。
Next, the test sequence automatic generation unit 101 sets time 7
Pattern "0010" is generated and the failure simulator 1
In 02, a fault simulation is performed for four faults to detect one fault. When a pair of the pattern at time 7 and one detected fault that can be detected by this pattern is input to the test sequence compression unit 103, there is one detected fault and n =
Since there are less than four, the control unit 104 stores the pattern at time 7 and the detected failure in the buffer 105. Buffer 1
When the fault coverage relation is examined in 05, the pattern detection fault “33/1” at time 7 is covered by the pattern detection fault “33/1, 35/0” at time 6, so The detected failure is deleted from the buffer 105.

【0048】次に、検査系列自動生成部101で時刻8
のパターン“1001”を生成し、故障シミュレータ1
02で4個の故障について故障シミュレーションを行な
い、故障を1個検出する。時刻8のパターンとこのパタ
ーンにより検出可能な1個の検出故障との組を検査系列
圧縮部103に入力すると、検出故障が1個でありn=
4個よりも少ないので制御部104は時刻8のパターン
と検出故障とをバッファ105に格納する。バッファ1
05内で故障の被覆関係を調べると、時刻2のパターン
の検出故障“31/1”が時刻8のパターンの検出故障
“31/1”に被覆されるので時刻2のパターンとその
検出故障とをバッファ105から削除する。
Next, the inspection sequence automatic generation unit 101 sets time 8
Pattern "1001" is generated and the failure simulator 1
In 02, a fault simulation is performed for four faults to detect one fault. When a pair of the pattern at time 8 and one detected fault that can be detected by this pattern is input to the test sequence compression unit 103, there is one detected fault and n =
Since there are less than four, the control unit 104 stores the pattern at time 8 and the detected failure in the buffer 105. Buffer 1
When the fault coverage relation is examined in 05, the detection fault “31/1” of the pattern at time 2 is covered by the detection fault “31/1” of the pattern at time 8, so that the pattern at time 2 and its detection fault are Is deleted from the buffer 105.

【0049】次に、検査系列自動生成部101で時刻9
のパターン“0101”を生成し、故障シミュレータ1
02で4個の故障について故障シミュレーションを行な
い、故障を1個検出する。時刻9のパターンとこのパタ
ーンにより検出可能な1個の検出故障との組を検査系列
圧縮部103に入力すると、検出故障が1個でありn=
4個よりも少ないので制御部104は時刻9のパターン
と検出故障とをバッファ105に格納する。バッファ1
05内で故障の被覆関係を調べるが、故障の被覆は存在
しない。バッファ105が一杯になったので検出故障の
個数が最も多い時刻6のパターンを出力部106に出力
し、時刻6のパターンの検出故障を検査系列自動生成部
101及び故障シミュレータ102が対象とする4個の
故障から削除すると共にバッファ105内の時刻8のパ
ターンの検出故障及び時刻9のパターンの検出故障から
削除する。
Next, at the inspection sequence automatic generation unit 101, time 9
Pattern 0101 is generated and the fault simulator 1
In 02, a fault simulation is performed for four faults to detect one fault. When a pair of the pattern at time 9 and one detected fault that can be detected by this pattern is input to the test sequence compression unit 103, there is one detected fault and n =
Since there are less than four, the control unit 104 stores the pattern at time 9 and the detected failure in the buffer 105. Buffer 1
The fault coverage is examined in 05, but there is no fault coverage. Since the buffer 105 is full, the pattern at time 6 having the largest number of detected failures is output to the output unit 106, and the detected failure of the pattern at time 6 is targeted by the test sequence automatic generation unit 101 and the failure simulator 102. The faults are deleted from the individual faults, and are deleted from the detection fault of the pattern at time 8 and the detection fault of the pattern at time 9 in the buffer 105.

【0050】以上のように出力部106に出力されたパ
ターンとバッファ105に残されたパターンとを合わせ
ると、(表4)に示す圧縮された検査系列となり、(表
3)に示す検査系列よりも系列長の短い検査系列が得ら
れる。
As described above, when the pattern output to the output unit 106 and the pattern remaining in the buffer 105 are combined, the compressed test sequence shown in (Table 4) is obtained, and the test sequence shown in (Table 3) is obtained. A test sequence with a short sequence length can be obtained.

【0051】[0051]

【表4】 [Table 4]

【0052】また、検査系列自動生成部101が対象と
する故障を徐々に減少させることができるので、検査系
列自動生成部101でパターンを生成する回数を低減す
ることができる。また、故障シミュレータ102が対象
とする故障を徐々に減少させることができるので、故障
シミュレータ102での処理量を低減することができ
る。さらに、バッファ105内では最大3個の検出故障
を持つパターンの故障の被覆関係を調べるだけでよいた
め、故障の被覆関係を調べる時間を短縮することができ
る。
Further, since the target faults of the test sequence automatic generation unit 101 can be gradually reduced, the number of times the test sequence automatic generation unit 101 generates a pattern can be reduced. Further, since the failures targeted by the failure simulator 102 can be gradually reduced, the processing amount in the failure simulator 102 can be reduced. Further, in the buffer 105, since it is only necessary to check the fault coverage relation of the pattern having a maximum of three detected faults, it is possible to shorten the time for examining the fault coverage relation.

【0053】よって、本実施例1によれば、系列長の短
い検査系列を高速に生成することができる。
Therefore, according to the first embodiment, it is possible to quickly generate a test sequence having a short sequence length.

【0054】(実施例2)以下、本発明の実施例2につ
いて説明する。
(Second Embodiment) A second embodiment of the present invention will be described below.

【0055】実施例2に係る検査系列自動生成装置は、
検査系列圧縮部の制御部を除き、実施例1の検査系列自
動生成装置と同様の構成であり、実施例2における検査
系列圧縮部の制御部は、バッファ105が一杯になった
とき被覆されない検出故障の個数が最も多いパターンを
バッファ105から出力するものである。
The test sequence automatic generation apparatus according to the second embodiment is
Except for the control unit of the test sequence compression unit, it has the same configuration as the test sequence automatic generation device of the first embodiment, and the control unit of the test sequence compression unit in the second embodiment detects that the buffer 105 is not covered when it is full. The pattern having the largest number of failures is output from the buffer 105.

【0056】実施例2の検査系列自動生成装置の動作に
ついて説明する。ここでは、実施例1と同様に、バッフ
ァ105の大きさを3、制御部により実行される判定処
理におけるnを4とし、図3に示す組合せ回路の中の単
一縮退故障を対象として検査系列を生成するものとす
る。
The operation of the automatic test sequence generator of the second embodiment will be described. Here, as in the first embodiment, the size of the buffer 105 is set to 3, n in the determination process executed by the control unit is set to 4, and the test series is targeted for the single stuck-at fault in the combinational circuit shown in FIG. Shall be generated.

【0057】(表5)は、実施例2の検査系列自動生成
装置を図3に示す組合せ回路に適用した際に、組合せ回
路中の対象とする全ての故障が検出されるまで検査系列
自動生成部101により生成される検査系列のパターン
と各パターンにより検出可能な検出故障とを示す。
Table 5 shows that when the test sequence automatic generation apparatus of the second embodiment is applied to the combinational circuit shown in FIG. 3, the test sequence automatic generation is performed until all target faults in the combinational circuit are detected. The patterns of the inspection series generated by the unit 101 and the detected faults detectable by each pattern are shown.

【0058】[0058]

【表5】 [Table 5]

【0059】時刻1から時刻5までのパターンの処理は
実施例1と同様であるため説明を省略し、以下、時刻6
のパターンが生成されるところから説明する。
Since the processing of the pattern from time 1 to time 5 is the same as that of the first embodiment, the description thereof will be omitted.
The process will be described starting with the generation of the pattern.

【0060】検査系列自動生成部101で時刻6のパタ
ーン“1110”を生成し、故障シミュレータ102で
6個の故障について故障シミュレーションを行ない、故
障を2個検出する。時刻6のパターンとこのパターンに
より検出可能な2個の検出故障との組を検査系列圧縮部
103に入力すると、検出故障が2個でありn=4個よ
りも少ないので制御部は時刻6のパターンと検出故障と
をバッファ105に格納する。バッファ105内で故障
の被覆関係を調べるが、故障の被覆は存在しない。バッ
ファ105が一杯になったので被覆されない検出故障の
個数が最も多い時刻6のパターンを出力部106に出力
し、時刻6のパターンの検出故障を検査系列自動生成部
101及び故障シミュレータ102が対象とする6個の
故障から削除すると共にバッファ105内の時刻2のパ
ターンの検出故障及び時刻4のパターンの検出故障から
削除する。
The test sequence automatic generation unit 101 generates the pattern "1110" at time 6, and the fault simulator 102 performs a fault simulation on six faults to detect two faults. When a pair of the pattern at time 6 and two detected faults that can be detected by this pattern is input to the test sequence compression unit 103, the number of detected faults is 2, which is less than n = 4. The pattern and the detected failure are stored in the buffer 105. The fault coverage is examined in the buffer 105, but there is no fault coverage. Since the buffer 105 is full, the pattern at time 6 having the largest number of uncovered detection failures is output to the output unit 106, and the detection failure of the pattern at time 6 is targeted by the test sequence automatic generation unit 101 and the failure simulator 102. It is deleted from the six detected failures and the detected failure of the pattern at time 2 and the detected failure of the pattern at time 4 in the buffer 105.

【0061】次に、検査系列自動生成部101で時刻7
のパターン“1001”を生成し、故障シミュレータ1
02で4個の故障について故障シミュレーションを行な
い、故障を3個検出する。時刻7のパターンとこのパタ
ーンにより検出可能な3個の検出故障との組を検査系列
圧縮部103に入力すると、検出故障が3個でありn=
4個よりも少ないので制御部は時刻7のパターンと検出
故障とをバッファ105に格納する。バッファ105内
で故障の被覆関係を調べると、時刻2のパターンの検出
故障“31/1,34/0”及び時刻4のパターンの検
出故障“34/0,36/1”が時刻7のパターンの検
出故障“31/1,34/0,36/1”に被覆される
ので時刻2及び時刻4のパターンとそれらの検出故障と
をバッファ105から削除する。
Next, the test sequence automatic generation unit 101 sets time 7
Pattern "1001" is generated and the failure simulator 1
In 02, a fault simulation is performed for four faults, and three faults are detected. When a set of the pattern at time 7 and three detected faults that can be detected by this pattern is input to the test sequence compression unit 103, there are three detected faults, and n =
Since there are less than four, the control unit stores the pattern at time 7 and the detected failure in the buffer 105. When the fault coverage is examined in the buffer 105, the pattern detection failure “31/1, 34/0” at time 2 and the pattern detection failure “34/0, 36/1” at time 4 are the pattern at time 7. Since the detection failures of "31/1, 34/0, 36/1" are deleted from the buffer 105, the patterns of the time 2 and the time 4 and the detected failures thereof are deleted.

【0062】次に、検査系列自動生成部101で時刻8
のパターン“0101”を生成し、故障シミュレータ1
02で4個の故障について故障シミュレーションを行な
い、故障を3個検出する。時刻8のパターンとこのパタ
ーンにより検出可能な3個の検出故障との組を検査系列
圧縮部103に入力すると、検出故障が3個でありn=
4個よりも少ないので制御部は時刻8のパターンと検出
故障とをバッファ105に格納する。バッファ105内
で故障の被覆関係を調べるが、故障の被覆は存在しな
い。
Next, the inspection sequence automatic generation unit 101 sets time 8
Pattern 0101 is generated and the fault simulator 1
In 02, a fault simulation is performed for four faults, and three faults are detected. When the set of the pattern at time 8 and the three detected faults that can be detected by this pattern is input to the test sequence compression unit 103, there are three detected faults and n =
Since there are less than four, the control unit stores the pattern at time 8 and the detected failure in the buffer 105. The fault coverage is examined in the buffer 105, but there is no fault coverage.

【0063】以上のように出力部106に出力されたパ
ターンとバッファ105に残されたパターンとを合わせ
ると、(表6)に示す圧縮された検査系列となり、(表
4)に示す検査系列よりも短い系列長の検査系列が得ら
れる。
When the pattern output to the output unit 106 and the pattern remaining in the buffer 105 are combined as described above, the compressed test sequence shown in (Table 6) is obtained, and the test sequence shown in (Table 4) is obtained. A test sequence with a short sequence length can be obtained.

【0064】[0064]

【表6】 [Table 6]

【0065】よって、本実施例2によれば、検査系列圧
縮部のバッファが一杯になったとき、被覆されない検出
故障が最も多いパターンから先に出力することによっ
て、検査系列の圧縮効率を向上させることができる。
Therefore, according to the second embodiment, when the buffer of the test sequence compressor is full, the pattern with the most uncovered detection faults is output first, thereby improving the compression efficiency of the test sequence. be able to.

【0066】なお、実施例1、2では出力部106に出
力されたパターンの検出故障を検査系列自動生成部10
1が対象とする故障から削除する場合について説明した
が、故障シミュレータ102で検出される故障を検査系
列自動生成部101が対象とする故障から削除する場合
についてもパターンを生成する回数を減少させることが
できる点を除いて同様の効果が得られる。
In the first and second embodiments, the inspection sequence automatic generation unit 10 detects the detection failure of the pattern output to the output unit 106.
1 has been described as a case of deleting from the target fault, the number of times the pattern is generated is also reduced when the test sequence automatic generation unit 101 deletes the fault detected by the fault simulator 102 from the target fault. Similar effects can be obtained except that

【0067】[0067]

【発明の効果】以上説明したように、請求項1の発明に
係る検査系列自動生成装置によると、検査系列の生成と
圧縮とを同時に行なうことによって、圧縮された検査系
列を構成する第2パターンを検査系列の生成中に確定で
きる。したがって、第2パターンにより検出可能な故障
を故障シミュレーションの対象から削除することによっ
て、シミュレーション処理の処理量を低減することがで
きるため、故障シミュレーション時間を短縮することが
可能である。
As described above, according to the test sequence automatic generation apparatus of the first aspect of the present invention, the second pattern forming the compressed test sequence is performed by simultaneously generating and compressing the test sequence. Can be determined during the generation of the test series. Therefore, by deleting the fault that can be detected by the second pattern from the fault simulation target, the processing amount of the simulation process can be reduced, and the fault simulation time can be shortened.

【0068】さらに、請求項2の発明に係る検査系列自
動生成装置によると、第2パターンにより検出可能な故
障を、検査系列を構成する第1パターンの生成における
対象から削除することによって、検査系列の生成処理の
処理量を低減することができるため、検査系列の生成処
理時間を短縮することが可能である。
Further, according to the test sequence automatic generation apparatus of the second aspect of the present invention, the fault that can be detected by the second pattern is deleted from the target in the generation of the first pattern that constitutes the test sequence. Since it is possible to reduce the processing amount of the generation processing of {circle around (3)}, it is possible to shorten the inspection series generation processing time.

【0069】また、請求項3の発明に係る検査系列自動
生成装置によると、バッファを用い、バッファに格納さ
れた複数個の第1パターン間の故障の被覆関係を調べる
ことによって、検査系列の圧縮処理を実現することがで
きる。
According to the test sequence automatic generation apparatus of the third aspect of the present invention, the test sequence compression is performed by using the buffer and checking the fault coverage between the plurality of first patterns stored in the buffer. Processing can be realized.

【0070】さらに、請求項4の発明に係る検査系列自
動生成装置によると、検出可能な故障の個数がn個より
も少ない第1パターンについてのみ故障の被覆関係を調
べるため、検査系列の圧縮処理の処理時間を短縮するこ
とができる。
Further, according to the automatic test sequence generation device of the fourth aspect of the present invention, since the fault coverage is examined only for the first pattern in which the number of detectable faults is less than n, the test sequence compression processing is performed. The processing time can be shortened.

【0071】請求項5の発明に係る検査系列自動生成装
置によると、バッファが一杯になった場合に、被覆され
ない故障の個数が最も多い第1パターンを第2パターン
として出力することによって、検査系列の圧縮効率を向
上させることができる。
According to the automatic test sequence generation device of the fifth aspect of the present invention, when the buffer is full, the first pattern having the largest number of uncovered faults is output as the second pattern. The compression efficiency of can be improved.

【0072】以上のように、本発明によると、系列長の
短い検査系列を高速に生成できる検査系列自動生成装置
を提供することが可能である。
As described above, according to the present invention, it is possible to provide a test sequence automatic generation device capable of generating a test sequence having a short sequence length at high speed.

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

【図1】本発明の実施例1に係る検査系列自動生成装置
の構成を示すブロック図である。
FIG. 1 is a block diagram showing a configuration of a test sequence automatic generation device according to a first embodiment of the present invention.

【図2】検査系列圧縮部を備えた検査系列自動生成装置
の構成を示すブロック図である。
FIG. 2 is a block diagram showing a configuration of a test sequence automatic generation device including a test sequence compression unit.

【図3】検査系列の生成の対象となる組合せ回路を示す
論理回路図である。
FIG. 3 is a logic circuit diagram showing a combinational circuit that is an object of generation of a test sequence.

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

101 検査系列自動生成部(パターン生成手段) 102 故障シミュレータ(故障シミュレーション実行
手段) 103 検査系列圧縮部(検査系列圧縮手段) 104 制御部(検査系列圧縮処理実行手段) 105 バッファ 106 出力部
101 Automatic Test Sequence Generation Unit (Pattern Generation Means) 102 Fault Simulator (Fault Simulation Execution Means) 103 Inspection Sequence Compression Unit (Test Sequence Compression Means) 104 Control Unit (Inspection Sequence Compression Processing Execution Means) 105 Buffer 106 Output Unit

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】 組合せ回路中の対象とする故障の存否を
調べるための検査系列を構成する、前記組合せ回路の外
部入力として同時に設定される値の組である第1パター
ンを生成するパターン生成手段と、 前記第1パターンを用いて前記組合せ回路中の対象とす
る故障を検出できるか否かを調べる故障シミュレーショ
ンを実行する故障シミュレーション実行手段と、 前記第1パターンと該第1パターンにより検出可能な故
障との組を入力し、前記第1パターンを前記検査系列か
ら削除するか又は前記第1パターンを圧縮された検査系
列を構成する第2パターンとして出力する検査系列圧縮
処理を実行し、前記第1パターンを前記第2パターンと
して出力する場合に、当該第2パターンにより検出可能
な故障を、前記故障シミュレーション実行手段により実
行される故障シミュレーションにおいて対象とされる故
障から削除する故障削除処理を実行する検査系列圧縮手
段とを備えていることを特徴とする検査系列自動生成装
置。
1. A pattern generating means for generating a first pattern, which is a set of values simultaneously set as an external input of the combinational circuit, which constitutes a test sequence for checking the presence or absence of a target fault in the combinational circuit. A fault simulation executing means for executing a fault simulation for checking whether or not a target fault in the combinational circuit can be detected using the first pattern; and the first pattern and the first pattern that can be detected. A pair of faults is input, and a test sequence compression process of deleting the first pattern from the test sequence or outputting the first pattern as a second pattern constituting a compressed test sequence is executed. When one pattern is output as the second pattern, the failure that can be detected by the second pattern is detected by the failure simulation execution procedure. Test pattern automatically generated apparatus characterized by and a test sequence compressing means for performing a fault deletion process of deleting from the fault to be a target in the fault simulation performed by.
【請求項2】 前記検査系列圧縮手段は、前記第1パタ
ーンを前記第2パターンとして出力する場合に、当該第
2パターンにより検出可能な故障を、前記故障シミュレ
ーション実行手段により実行される故障シミュレーショ
ンにおいて対象とされる故障から削除すると共に、当該
第2パターンにより検出可能な故障を、前記パターン生
成手段により実行される第1パターンの生成において対
象とされる故障から削除することによって前記故障削除
処理を実行することを特徴とする請求項1に記載の検査
系列自動生成装置。
2. The test sequence compression means, when outputting the first pattern as the second pattern, detects a failure that can be detected by the second pattern in a failure simulation executed by the failure simulation execution means. The fault deletion process is performed by deleting from the target fault and also deleting the fault detectable by the second pattern from the target fault in the generation of the first pattern executed by the pattern generation means. The test sequence automatic generation device according to claim 1, which is executed.
【請求項3】 前記検査系列圧縮手段は、前記第1パタ
ーンと該第1パターンにより検出可能な故障との組を格
納できるバッファと、 所定条件が満たされる場合に前記第1パターンを前記第
2パターンとして出力する一方、前記所定条件が満たさ
れない場合に前記第1パターンと該第1パターンにより
検出可能な故障との組を前記バッファに格納する第1の
ステップと、前記バッファに前記第1パターンと該第1
パターンにより検出可能な故障との組が2組以上格納さ
れた場合に、前記バッファ内の一の第1パターンにより
検出可能な故障が前記バッファ内の他の第1パターンに
より検出可能な故障に含まれるという故障の被覆関係が
存在するか否かを調べ、前記バッファ内に、検出可能な
故障の全てが被覆される第1パターンが存在する際に当
該第1パターンと該第1パターンにより検出可能な故障
との組を前記バッファから削除する第2のステップと、
前記バッファが一杯になった場合に、前記バッファ内の
第1パターンの中から一の第1パターンを選択し、該一
の第1パターンを前記第2パターンとして出力する第3
のステップとを実行することによって前記検査系列圧縮
処理を実行する検査系列圧縮処理実行手段とを有してい
ることを特徴とする請求項1に記載の検査系列自動生成
装置。
3. The check sequence compressing means stores a set of the first pattern and a fault detectable by the first pattern, and a buffer which can store the first pattern in the second pattern when a predetermined condition is satisfied. A first step of storing a set of the first pattern and a fault detectable by the first pattern in the buffer when the predetermined condition is not satisfied, while outputting the pattern as a pattern; and the first pattern in the buffer. And the first
When two or more sets of faults that can be detected by the pattern are stored, the fault that can be detected by the first pattern in the buffer is included in the faults that can be detected by the other first pattern in the buffer. It is checked whether or not there is a fault coverage relationship that is detected, and when there is a first pattern that covers all detectable faults in the buffer, it can be detected by the first pattern and the first pattern. A second step of deleting a pair with a specific fault from the buffer,
A third pattern which, when the buffer is full, selects a first pattern from the first patterns in the buffer and outputs the first pattern as the second pattern.
The test sequence automatic generation device according to claim 1, further comprising: a test sequence compression process executing unit that executes the test sequence compression process by performing the step of.
【請求項4】 前記検査系列圧縮処理実行手段は、前記
第1パターンにより検出可能な故障の個数がn個以上の
場合に(ただし、nは前記組合せ回路中の対象とする全
ての故障の個数以下の自然数である)前記第1パターン
を前記第2パターンとして出力する一方、前記第1パタ
ーンにより検出可能な故障の個数がn個よりも少ない場
合に前記第1パターンと該第1パターンにより検出可能
な故障との組を前記バッファに格納することによって前
記第1のステップを実行することを特徴とする請求項3
に記載の検査系列自動生成装置。
4. The check sequence compression processing execution means, when the number of faults detectable by the first pattern is n or more (where n is the number of all target faults in the combinational circuit). While outputting the first pattern as the second pattern (which is a natural number below), the first pattern and the first pattern detect if the number of faults detectable by the first pattern is less than n. 4. The first step is performed by storing a set of possible faults in the buffer.
Inspection sequence automatic generation device described in.
【請求項5】 前記検査系列圧縮処理実行手段は、前記
バッファが一杯になった場合に、前記バッファ内の第1
パターンの中から、検出可能な故障のうちの被覆されな
い故障の個数が最も多い第1パターンを選択し、該第1
パターンを前記第2パターンとして出力することによっ
て前記第3のステップを実行することを特徴とする請求
項4に記載の検査系列自動生成装置。
5. The check sequence compression processing execution means is configured to execute a first check in the buffer when the buffer is full.
From the patterns, the first pattern having the largest number of uncovered faults among the detectable faults is selected, and the first pattern is selected.
The test sequence automatic generation device according to claim 4, wherein the third step is executed by outputting a pattern as the second pattern.
JP5331820A 1993-12-27 1993-12-27 Automatic inspection line producer Withdrawn JPH07191102A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5331820A JPH07191102A (en) 1993-12-27 1993-12-27 Automatic inspection line producer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5331820A JPH07191102A (en) 1993-12-27 1993-12-27 Automatic inspection line producer

Publications (1)

Publication Number Publication Date
JPH07191102A true JPH07191102A (en) 1995-07-28

Family

ID=18248013

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5331820A Withdrawn JPH07191102A (en) 1993-12-27 1993-12-27 Automatic inspection line producer

Country Status (1)

Country Link
JP (1) JPH07191102A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5996101A (en) * 1995-11-17 1999-11-30 Nec Corporation Test pattern generating method and test pattern generating system
US6651206B2 (en) 1997-04-25 2003-11-18 Matsushita Electric Industrial Co., Ltd. Method of design for testability, test sequence generation method and semiconductor integrated circuit
US6836867B2 (en) 2000-09-13 2004-12-28 Nec Electronics Corporation Method of generating a pattern for testing a logic circuit and apparatus for doing the same

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5996101A (en) * 1995-11-17 1999-11-30 Nec Corporation Test pattern generating method and test pattern generating system
US6651206B2 (en) 1997-04-25 2003-11-18 Matsushita Electric Industrial Co., Ltd. Method of design for testability, test sequence generation method and semiconductor integrated circuit
US6836867B2 (en) 2000-09-13 2004-12-28 Nec Electronics Corporation Method of generating a pattern for testing a logic circuit and apparatus for doing the same

Similar Documents

Publication Publication Date Title
JP2001099901A (en) Method of compressing test pattern, device and system for compressing test pattern, and storage medium
JPH09145800A (en) Test pattern generation system
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
US7395478B2 (en) Method of generating test patterns to efficiently screen inline resistance delay defects in complex asics
JPH07191102A (en) Automatic inspection line producer
JP2616165B2 (en) Test input generation method and test facilitation design method
Pomeranz On test compaction of broadside and skewed-load test cubes
Raghunathan et al. Dynamic test sequence compaction for sequential circuits
Seshadri et al. Accelerating diagnostic fault simulation using z-diagnosis and concurrent equivalence identification
JP2773148B2 (en) Circuit design method for testability
CN112649723B (en) Test simplification method and device under conversion delay fault test compression environment
Kajihara et al. On compact test sets for multiple stuck-at faults for large circuits
JP2658857B2 (en) Equivalent fault extraction method and device
JPH0455774A (en) Overdelay testing system between synchronous ff's
JPH11174126A (en) Self-inspection pattern generation device for incorporation in logic circuit and pattern selection method
JP3547559B2 (en) Test pattern compression method
JPH01156680A (en) Fault diagnosing method for logic circuit
JPH1183945A (en) Failure diagnostic system for logic circuit
JPS5848129A (en) Data processor
JPH0815388A (en) Method and apparatus for generating inspection series
Pomeranz et al. Fault detection by output response comparison of identical circuits using half-frequency compatible sequences
JPH02196971A (en) Test sequence generating method
JPH05341011A (en) Test generating method
JPH04161872A (en) Testing method for logic integrated circuit
JPH0247574A (en) Semiconductor integrated circuit device and operation testing method

Legal Events

Date Code Title Description
A300 Application deemed to be withdrawn because no request for examination was validly filed

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20010306