JPH11345142A - Method for compressing static test sequence using two-stage restoration and segment processing - Google Patents

Method for compressing static test sequence using two-stage restoration and segment processing

Info

Publication number
JPH11345142A
JPH11345142A JP11119180A JP11918099A JPH11345142A JP H11345142 A JPH11345142 A JP H11345142A JP 11119180 A JP11119180 A JP 11119180A JP 11918099 A JP11918099 A JP 11918099A JP H11345142 A JPH11345142 A JP H11345142A
Authority
JP
Japan
Prior art keywords
segment
vector
failure
compression
segments
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP11119180A
Other languages
Japanese (ja)
Inventor
Surendra K Bommu
ケイ ボムー スレンドラ
Srimat Chakradhar
チャクラッダー スリマット
Kiran Doreswamy
ドレスワミ― キラン
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
Priority claimed from US09/135,561 external-priority patent/US5987636A/en
Application filed by NEC Corp filed Critical NEC Corp
Publication of JPH11345142A publication Critical patent/JPH11345142A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R31/00Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
    • G01R31/28Testing of electronic circuits, e.g. by signal tracer
    • G01R31/317Testing of digital circuits
    • G01R31/3181Functional testing
    • G01R31/3183Generation of test inputs, e.g. test vectors, patterns or sequences
    • G01R31/318335Test pattern compression or decompression
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R31/00Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
    • G01R31/28Testing of electronic circuits, e.g. by signal tracer
    • G01R31/317Testing of digital circuits
    • G01R31/3181Functional testing
    • G01R31/3183Generation of test inputs, e.g. test vectors, patterns or sequences
    • G01R31/318371Methodologies therefor, e.g. algorithms, procedures

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Test And Diagnosis Of Digital Computers (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Tests Of Electronic Circuits (AREA)

Abstract

PROBLEM TO BE SOLVED: To obtain sufficient compressing performance, even when this system is used for the detection of the failure of large-scaled industrial design and to realize the shortening of the executing time by recognizing the segments of a vector in a restoring stage, detecting each segment as object failure, and including the rearrangement, removal, and merger of the segments. SOLUTION: The set of text vectors and the list of failures to be detected are inputted together with each detecting time (2.01). Then, the object failure set is selected (2.02), and whether or not any object is present is checked (2.03), and then a restoring procedure constituted of an inspection step (2.05) and an improvement step (2.06) is executed. Then, whether or not the restored vector sequence includes the segments is confirmed (2.07). When the segments are present, the removal and rearrangement of the found segments is operated (2.08). As long as such an object failure is present, the new set of the object failures is selected (2.02), and this operation is continued.

Description

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

【発明の属する技術分野】本発明は、大規模工業設計に
おける故障を検出するのに使われるテストベクトルのシ
ーケンスを静的に圧縮するための方法に関する。特に、
本発明は、復元段階とセグメント処理段階から成る静的
圧縮のための方法である。本発明は、大規模設計のため
の故障診断の性能と効率を向上するために実用的である
と思われる静的テストシーケンスの圧縮方法において具
体化される。
The present invention relates to a method for statically compressing a sequence of test vectors used to detect faults in a large industrial design. Especially,
The present invention is a method for static compression comprising a decompression stage and a segment processing stage. The present invention is embodied in a method for compressing a static test sequence that appears to be practical for improving the performance and efficiency of fault diagnosis for large-scale designs.

【従来の技術】「静的圧縮についての考察」1つのベク
トルはシステムへの入力セットである。テストセットと
はシステムの故障を認識するベクトルのセットである。
故障対象は、所定のセットによって認識される故障のこ
とである。検査費用はテストセットのテストベクトルの
数に直接比例しているので、短いテストシーケンスが望
ましい。テストセットサイズは、静的または動的テスト
セット圧縮アルゴリズムを使って縮小することができ
る。動的技術で、テスト生成段階と同時に圧縮を行な
う。以下を参照のこと。*I. Pomeranz,
S. M. Reddyによる“Dynamic Te
st Compaction for Synchro
nous Sequential Circuits
using Static Compaction T
echniques”(静的圧縮技術を使用した同期式
順序回路のための動的テスト圧縮) フォールトトレラ
ント計算機シンポジウム発表, pp.53−61,
1996年6月、 *S.T. Chakradha
r, A. Raghunathanによる“Bott
leneck removalalgorithm f
or dynamic compaction ins
equential circuits” (順序回路
における動的圧縮のための隘路移動アルゴリズム) コ
ンピュータ支援設計に関するIEEE会報 (出版)1
997年、*E. M. Rudnick, Jana
k H. Patelによる“Simulation−
based techniques for dyna
mic test sequence compact
ion”(動的テストシーケンス圧縮のためのシミュレ
ーションに基づく技術) コンピュータ支援設計国際会
議発表、pp. 67−73、1996年11月、 *
T. J. Lambert, K. K. Salu
jaによる“Methods for Dynamic
Test Vector Compaction i
n Sequential Test Generat
ion” (順次テスト生成における動的テストベクト
ル圧縮のための方法)VLSI設計国際会議発表, p
p. 166−169、1996年1月。動的技術には
しばしばテストジェネレータの修正が必要になる。一
方、静的圧縮技術は、テスト生成段階の後に使われる。
このため、この技術はテスト生成アルゴリズムとは無関
係であり、かつテストジェネレータになんら修正を必要
としない。加えて静的圧縮技術は、動的圧縮後に得られ
たテストセットのサイズをさらに小さくすることができ
る。順序回路のためのいくつかの静的圧縮方法が以下の
参考文献に提案されている。*T. M. Nierm
ann, R. K. Roy, I. H. Pat
el, J. A. Abrahamによる “Tes
t compaction for sequenti
al circuits” (順序回路のためのテスト
圧縮)、IEEE会報、コンピュータ支援設計 Vo
l. 11、No. 2、pp. 260−267、1
992年2月、*B. Soによる“Time−eff
icient automatic test pat
tern generation system”
(時間効率の良い自動テストパターン生成装置)、電子
工学部、物理学博士論文, マディソン、ウィスコンシ
ン大学、1994年、*I. Pomeranz,
S. M. Reddyによる“On static
compaction of test sequen
ces for synchronous seque
ntial circuits” (同期式順序回路の
ためのテストシーケンス静的圧縮に関して)、自動設計
会議発表、pp. 215−220, 1996年6
月、*M. S.Hsiao, E. M. Rudn
ick, J. H. Patelによる“Fast
algorithms for static com
paction of sequential cir
cuit test vectors” (順序回路用
テストベクトルの静的圧縮のための高速アルゴリズ
ム)、IEEE VLSIテストシンポジウム発表、p
p. 188−195, 1995年4月 しかし、これらの方法のいくつかは、任意のテスト生成
プログラムあるいはシミュレーションに基づくテスト生
成プログラムによって生成されたテストセットを縮小す
ることはできない。以下を参照のこと。*T. M.
Niermann, R. K. Roy, I.
H. Patel, J. A. Abrahamによ
る“Test compaction for seq
uential circuits” (順序回路のた
めのテスト圧縮)、IEEE会報コンピュータ支援設計
vol. 11, no. 2, pp. 260−2
67、1992年2月、*B. Soによる“Time
−efficient automatic test
pattern generation syste
m” (時間効率の良い自動テストパターン生成装
置)、電子工学部 物理学博士論文、マディソン、ウィ
スコンシン大学、1994年。ベクトル挿入、省略、選
択に基づく静的圧縮技術については、I. Pomer
anzおよびS.M. Reddyによる“On st
atic compaction oftest se
quences for synchronous s
equential circuits” (同期式順
序回路のためのテストシーケンス静的圧縮に関して)、
(自動設計会議発表, pp. 215−220, 1
996年6月)に紹介されている。こうした技術にはた
くさんの故障シミュレーションパスを必要とする。1つ
のベクトルを省力または交換する場合、故障シミュレー
タを呼び出し、故障網羅度が影響されていないことを確
認する。こうした技術はうまく圧縮はできるが、あまり
にも計算集約的すぎて実用的でない。ベクトル復元技術
は、もっと難しい故障から始まってすべての故障を検出
するのに必要なベクトルを復元することを目的としてい
る。これについては、R.Guo, I. Pomer
anz, S. M. Reddyによる”Proce
dures for static compacti
on of test sequences for
synchronous sequential ci
rcuits based on vector re
storation” (ベクトル復元に基づく同期式
順序回路のためのテストシーケンス静的圧縮の手順)
(アイオワ大学、電気およびコンピュータ工学部、技術
レポート8−3−1997, 1997年)を参照のこ
と。同じ状態で始まり同じ状態で終わるような再帰的シ
ーケンスを取り除くことにもとづく、高速静的テストセ
ットの圧縮に関しても、M. S. Hsiao,
E. M. Rudnick, J. H. Pate
lによる”Fast algorithms fors
tatic compaction of seque
ntial circuit test vector
s” (順序回路用テストベクトルの静的圧縮のための
高速アルゴリズム)(IEEE VLSIテストシンポ
ジウム発表、pp. 188−195, 1995年4
月)において最近報告されている。しかしながら、こう
したテストセットは、多数の故障シミュレーションパス
を使用するアルゴリズムによって達成されたものほどコ
ンパクトではない。最近では、ベクトルの再整理に基づ
く圧縮も提案されている。これに関しては、S. T.
Chakradhar, M. S. Hsiaoに
よる“Partitioning and Reord
ering Techniquesfor Stati
c Test Sequence Compactio
nof Sequential Circuits”
(順序回路の静的テストシーケンス圧縮のための分割お
よび再整理の技術)(NEC USA Inc.、コン
ピュータおよびコミュニケーション研究所、1997年
度技術レポート)を参照のこと。周知の静的圧縮方法の
中では、ベクトル復元に基づく圧縮技術が最も大きな圧
縮を行なうことができた。これに関しては、I. Po
meranz, S.M. Reddyによる“Vec
tor Restoration BasedStat
ic Compaction of Test Seq
uencesfor Synchronous Seq
uential Circuits” (同期式順序回
路用テストシーケンスの静的圧縮に基づくベクトル復
元)(アイオワ大学、コンピュータ設計に関する国際会
議録、pp. 360−365、1997年8月)と、
R. Guo, I. Pomeranz, S.
M. Reddyによる”Procedures fo
r static compaction of te
st sequences for synchron
ous sequential circuits b
ased on vector restoratio
n” (ベクトル復元に基づく同期式順序回路用テスト
シーケンスの静的圧縮の手順)(アイオワ大学、電気お
よびコンピュータ工学部、技術レポート8−3−199
7, 1997年)を参照のこと。 「ベクトル復元に基づく圧縮についての考察」テストセ
ットVは、ベクトルV、…、Vの順番のシーケンス
のことで、このテストセットにより故障セットFを形成
する故障f、…、fを検出する。圧縮アルゴリズム
の目標は、Fにおける故障をすべて検出した上でテスト
セットを縮小することである。テストセットのベクトル
で故障を検出した場合、その故障の検出時間D
(f)はiである。この情報は、テストセットTの故障
シミュレーション(故障ドロッピング(dropping)を有す
る)を含む前処理段階により簡単に得ることができる。
例えば、図1におけるテストセットには20のベクト
ル、つまり、V、…、V20が備わっている。このテ
ストセットは5つの故障、f、…、fを検出する。
故障fは、ベクトルV20で検出される。このため、
D(f)=20である。その他の故障の検出時間につ
いては、図で示されているとおりである。ベクトル復元
に基づく静的圧縮方法は以下の枠組みに基づいている。
テストセット、故障セットおよび各故障の検出時間が与
えられるとすると、静的圧縮方法ではもっと短いテスト
セットを生成し、少なくとも元のテストセットと同じ数
の故障を検出することができる。故障セットは最初は故
障対象として選択される。こうした故障には同じかまた
は違った検出時間を持たせることができる。対象リスト
のいずれの故障でも、その最近の検出時間をtとする
と、復元段階で(1)故障対象リストのすべての故障を
検出するサブシーケンスV、…、V(1≦i≦t)
を見つけ、(2)そのサブシーケンスがもっと初期の故
障対象のために復元されたサブシーケンスから派生する
場合、すべての初期対象故障も検出される。次の故障対
象セットが、復元されたベクトルセットによって未検出
のまま残された故障の中から選ばれる。この段階は故障
対象がなくなるまで続けられる。上述したステップ2を
満足させるために故障シミュレーションに依存するよう
な技術では、大規模工業設計になると、計算が大規模に
なり非実用的になる。周知のベクトルに基づく圧縮方法
の中で、復元省力同期化接頭辞(restoration omitting
synchronizing prefix;RSP)は、ステップ2を満足
させるためのシミュレーションを必要としない唯一の方
法である。これに関しては、I. Pomeranz,
S. M. Reddyによる”Vector Re
storation Based Static Co
mpaction of TestSequences
for Synchronous Sequenti
al circuits” (同期式順序回路用テスト
シーケンスのベクトル復元に基づく静的圧縮)(アイオ
ワ大学、コンピュータ設計に関する国際会議録、pp.
360−365、1997年8月)を参照のこと。R
SPのやり方では、十分なベクトルが復元されるので、
すべての未知の初期状態から始まって故障対象が検出さ
れる。その結果、復元されたベクトルセットへの追加と
は無関係に、復元のため一度選択された故障は圧縮段階
の残りの間中、検出されたままである。線分ベクトル復
元方法(linear vector restoration method)は、最初
にベクトルVだけを考慮することによってサブシーケ
ンスを決定する。故障対象のすべてが検出されるとは限
らない場合、サブシーケンスVt−1、が提案され
る。このシーケンスもすべての故障対象を検出しない場
合には、追加のベクトルVt−2、が(この順
番で)すべての故障対象が検出されるまで検討される。
この技術の詳細については、以下で説明する。周知のベ
クトル復元に基づく圧縮方法の中で、RSP方式は、C
PU処理時間をほとんど必要としない。しかし、このR
SP方式でさえも、遅すぎて大規模工業設計上実用的で
ない(図7の表2を参照のこと)。RSP技術を含む従
来の静的圧縮技術は、その実用的な使用を制限するよう
な重大な問題を少なくとも含んでいる。こうした技術
は、大規模工業設計をテストするのに使われた場合、非
常に膨大な実行時間が必要となる。
2. Description of the Related Art Static Compression Considerations One vector is a set of inputs to the system. The test set is a set of vectors for recognizing a system failure.
The failure target is a failure recognized by a predetermined set. Since test costs are directly proportional to the number of test vectors in the test set, short test sequences are desirable. The test set size can be reduced using static or dynamic test set compression algorithms. A dynamic technique that performs compression at the same time as the test generation stage. See below. * I. Pomeranz,
S. M. "Dynamic Te by Reddy
st Compaction for Syncro
nousual Circuits
using Static Compaction T
echniques "(Dynamic Test Compression for Synchronous Sequential Circuits Using Static Compression Techniques) Fault Tolerant Computer Symposium Presentation, pp. 53-61,
June 1996, * S. T. Chakradha
r, A. "Bot by Raghunathan
leanck removalalgorithm f
or dynamic compaction ins
"Equivalent Circuits" (Bottle Movement Algorithm for Dynamic Compression in Sequential Circuits) IEEE Bulletin on Computer-Aided Design (Published) 1
997, * E. M. Rudnick, Jana
kH. "Simulation- by Patel
based techniques for dyna
mic test sequence compact
ion "(a simulation-based technique for dynamic test sequence compression), presented at the International Conference on Computer Aided Design, pp. 67-73, November 1996, *
T. J. Lambert, K .; K. Salu
“Methods for Dynamic by Ja
Test Vector Compaction i
n Sequential Test Generator
ion "(Method for Dynamic Test Vector Compression in Sequential Test Generation) VLSI Design International Conference Presentation, p.
p. 166-169, January 1996. Dynamic techniques often require modification of the test generator. On the other hand, static compression techniques are used after the test generation stage.
Thus, this technique is independent of the test generation algorithm and does not require any modifications to the test generator. In addition, static compression techniques can further reduce the size of test sets obtained after dynamic compression. Several static compression methods for sequential circuits are proposed in the following references. * T. M. Nierm
anna, R .; K. Roy, I .; H. Pat
el, J.M. A. “Tes by Abraham
t compaction for sequenti
al circuits "(test compression for sequential circuits), IEEE Bulletin, Computer Aided Design Vo
l. 11, No. 2, pp. 260-267, 1
February 992, * B. "Time-eff by So
client automatic test pat
turn generation system ”
(Time-efficient automatic test pattern generator), Faculty of Electronics, Doctoral Dissertation, Madison, University of Wisconsin, 1994, * I. Pomeranz,
S. M. "On static" by Reddy
compaction of test sequence
ces for synchronous sequence
neutral circuits "(for test sequence static compression for synchronous sequential circuits), Automatic Design Conference, pp. 215-220, June 1996.
Month, * M. S. Hsiao, E. et al. M. Rudn
ick, J.C. H. "Fast" by Patel
algorithms for static com
action of sequential cir
"quit test vectors" (a fast algorithm for static compression of test vectors for sequential circuits), IEEE VLSI Test Symposium, p.
p. 188-195, April 1995 However, some of these methods do not reduce the test set generated by any test generator or simulation based test generator. See below. * T. M.
Niermann, R .; K. Roy, I .;
H. Patel, J.M. A. "Test compaction for seq" by Abraham
Universal Circuits "(Test Compression for Sequential Circuits), IEEE Bulletin Computer Aided Design, vol. 11, no. 2, pp. 260-2.
67, February 1992, * B. "Time by So
-Efficient automatic test
pattern generation system
m "(Time-Efficient Automatic Test Pattern Generator), Ph.D. in Physics, School of Electronics, University of Wisconsin, Madison, 1994. For static compression techniques based on vector insertion, omission, and selection, see I. Pommer.
anz and S.M. M. "On st" by Reddy
attic compaction oftest se
quences for synchronous s
elementary circuits "(for test sequence static compression for synchronous sequential circuits),
(Automatic Design Conference announcement, pp. 215-220, 1
June 996). Such techniques require many failure simulation passes. When saving or replacing one vector, call the fault simulator and make sure that the fault coverage is not affected. While these techniques can compress well, they are too computationally intensive and impractical. Vector restoration techniques aim at restoring the vectors needed to detect all faults starting from the more difficult faults. In this regard, R.A. Guo, I .; Pomer
anz, S.M. M. "Proce by Reddy
durations for static compacti
on of test sequences for
synchronous sequential ci
rcuits based on vector re
station ”(Procedure for static compression of test sequence for synchronous sequential circuit based on vector restoration)
(University of Iowa, Faculty of Electrical and Computer Engineering, Technical Report 8-3-1997, 1997). For the compression of fast static test sets based on removing recursive sequences that start and end in the same state, see also S. Hsiao,
E. FIG. M. Rudnick, J .; H. Pate
"Fast algorithms fors
static compaction of sequence
neutral circuit test vector
s "(High-speed algorithm for static compression of test vectors for sequential circuits) (IEEE VLSI Test Symposium, pp. 188-195, April 1995)
Mon) recently reported. However, such test sets are not as compact as those achieved by algorithms using multiple fault simulation passes. Recently, compression based on vector rearrangement has also been proposed. In this regard, S.M. T.
Chakradhar, M .; S. "Partitioning and Reorder by Hsiao
ering Techniquesfor Stati
c Test Sequence Compaction
nof Sequential Circuits "
See (Division and Rearrangement Techniques for Static Test Sequence Compression of Sequential Circuits) (NEC USA Inc., Computer and Communications Laboratories, 1997 Technical Report). Among known static compression methods, the compression technique based on vector restoration was able to perform the largest compression. In this regard, I.I. Po
meranz, S.M. M. "Vec by Reddy
tor Restoration BasedStat
ic Compaction of Test Seq
uencesfor Synchronous Seq
universal Circuits "(Vector Restoration Based on Static Compression of Test Sequences for Synchronous Sequential Circuits) (University of Iowa, International Conference on Computer Design, pp. 360-365, August 1997);
R. Guo, I .; Pomeranz, S.M.
M. "Procedures fo by Reddy
r static compaction of te
st sequences for syncron
ous sequential circuits b
used on vector restoratio
n "(Procedure for Static Compression of Test Sequence for Synchronous Sequential Circuit Based on Vector Restoration) (Technical Report 8-3-199, University of Iowa, Faculty of Electrical and Computer Engineering)
7, 1997). "Study of compression based on vector recovery" test set V is a vector V i, ..., that the sequence of the order of V n, fault f 1 forming the fault set F This test set, ..., a f z To detect. The goal of the compression algorithm is to reduce the test set upon detecting all faults at F. If a vector V i of the test set to detect the failure, detection time D of the fault
(F) is i. This information can be easily obtained by a preprocessing step including a fault simulation of the test set T (with fault dropping).
For example, the test set in FIG. 1 has 20 vectors, ie, V 1 ,..., V 20 . This test set detects five faults, f 1 ,..., F 5 .
Fault f 5 is detected by the vector V 20. For this reason,
D (f 5 ) = 20. The other failure detection times are as shown in the figure. The static compression method based on vector restoration is based on the following framework.
Given a test set, a fault set, and a detection time for each fault, the static compression method can generate a shorter test set and detect at least as many faults as the original test set. The fault set is initially selected as a fault target. Such faults can have the same or different detection times. Assuming that the latest detection time of any fault in the target list is t, (1) a subsequence V i ,..., V t (1 ≦ i ≦ t) that detects all faults in the fault target list in the restoration stage.
And (2) if the subsequence is derived from a subsequence recovered for the earlier failure target, then all the initial target failures are also detected. The next set of faults is selected from faults left undetected by the restored vector set. This step is continued until there are no more failure targets. In a technique that relies on a failure simulation to satisfy Step 2 described above, the calculation becomes large-scale and impractical in a large-scale industrial design. Among the well-known vector-based compression methods, there is a restoration labor saving synchronization prefix (restoration omitting).
Synchronizing prefix (RSP) is the only method that does not require simulation to satisfy step 2. In this regard, I.I. Pomeranz,
S. M. "Vector Re by Reddy
station Based Static Co
impact of TestSequences
for Synchronous Sequenti
al circuits "(Static compression based on vector restoration of test sequences for synchronous sequential circuits) (University of Iowa, International Conference on Computer Design, pp. 147-64)
360-365, August 1997). R
In the SP way, enough vectors are restored,
Fault targets are detected starting from all unknown initial states. As a result, independently of the addition to the reconstructed vector set, the faults once selected for reconstruction remain detected for the remainder of the compression phase. Line segment vector reconstruction method (linear vector restoration method) determines a sub-sequence by first considering only the vector V t. If all of the failure target is not necessarily be detected, subsequence V t-1, V t is proposed. If this sequence also does not detect all failure subjects, additional vector V t-2, ..., V 1 (in that order) all faults subject is considered to be detected.
Details of this technique will be described below. Among known compression methods based on vector restoration, the RSP method uses C
Little PU processing time is required. However, this R
Even the SP method is too slow to be practical for large-scale industrial design (see Table 2 in FIG. 7). Conventional static compression techniques, including RSP techniques, have at least significant problems that limit their practical use. These techniques, when used to test large industrial designs, require a significant amount of execution time.

【発明が解決しようとする課題】上述したように、従来
のテストベクトルシーケンスの静的圧縮方法は、大規模
工業設計の故障検出に利用した場合に、圧縮性能が十分
ではなく、かつ圧縮処理に膨大な実行時間を要するとい
う欠点があった。本発明は、上記従来の欠点を解決し、
大規模工業設計の故障検出に利用した場合にも十分な圧
縮性能を得られ、かつ実行時間の短縮を実現したテスト
ベクトルシーケンスの静的圧縮方法を提供することを目
的とする。また、本発明の他の目的は、上記目的に加え
て、テストベクトルのシーケンスによって検出可能な故
障セットを有するシステムをテストするために、テスト
ベクトルのシーケンスを圧縮する方法を提供することに
ある。
As described above, the conventional static compression method of a test vector sequence has insufficient compression performance when used for fault detection in a large-scale industrial design, and is not suitable for compression processing. There was a disadvantage that it required a huge amount of execution time. The present invention solves the above-mentioned conventional disadvantages,
It is an object of the present invention to provide a method for statically compressing a test vector sequence that can obtain sufficient compression performance even when used for fault detection in a large-scale industrial design and realizes a reduced execution time. It is another object of the present invention to provide a method of compressing a test vector sequence in order to test a system having a fault set detectable by the test vector sequence.

【課題を解決するための手段】本発明の目的を達成する
ために、システムをテストするためのテストベクトルの
シーケンスを圧縮する方法を提供しており、そのシステ
ムはそのテストベクトルのシーケンスによって検出可能
な故障セットを有しており、その故障セットのサブセッ
トは故障対象として選択され、その方法は復元段階とセ
グメント処理段階からなる。その方法において、復元段
階はベクトルのセグメントを認識し、セグメントの各々
は故障対象として検出し、セグメント処理段階はさらに
セグメントの再整理、除去、合併を含んでいる。さらに
改良した点として、テストベクトルのシーケンスを圧縮
する方法がある。その方法において、復元段階は検証の
段階と改善の段階とからなり、検証段階は故障対象を検
出するテストベクトルの第1サブシーケンスと故障対象
を検出しない第2サブシーケンスを認識し、改善段階は
故障対象を検出する第1サブシーケンスおよび第2サブ
シーケンスの間で最も短いサブシーケンスを認識する。
本発明の別の様態としては、システムをテストするため
にテストベクトルのシーケンスを圧縮する方法があり、
そのシステムは、コンパクトなベクトルセットを形成す
るために、テストベクトルのシーケンスによって検出可
能な故障セットを有している。その方法において、圧縮
されたベクトルセットはベクトルセグメントのマージに
よって復元される。さらに改良した点としては、テスト
ベクトルのシーケンスを圧縮する方法で、セグメントは
除去されて、冗長な同期化シーケンスを削除する点であ
る。さらに本発明の別の様態としては、セグメントが見
つかった場合にはコンパクトセットにマージされるとい
うテストベクトルのシーケンス圧縮方法がある。その圧
縮方法においては、テストベクトルと、該テストベクト
ルを使って検出できる故障からなる故障リストと、故障
の検出時間とを認識し、故障対象が存在する場合には故
障対象を選択し、2段階ベクトル復元を実行し、該復元
段階において選択された故障対象を見出した場合には、
部分セグメントセットを増大させ、部分セグメントセッ
トが完全なセグメントである場合には、獲得したセグメ
ントの除去をし、部分セグメントセットが完全なセグメ
ントである場合には、獲得したセグメントをマージし、
故障対象が存在するかぎりこの段階を繰り返す。さらに
改良した点としては、テストベクトルのシーケンスを圧
縮する方法で、マージ段階が、現在圧縮されたベクトル
セットにおいてベクトルをシミュレートした後で得られ
た既知の初期状態から新たなセグメントをシミュレート
し、圧縮されたベクトルセットの終端に新たなセグメン
トを加えることから成り立っている点である。さらに改
良した点としては、テストベクトルのシーケンスを圧縮
する方法で、2段階ベクトル復元が、2つの故障が重複
する復元されたシーケンスを持っている場合、その2つ
の故障が1つの故障対象としてマージされるように重複
した検証を行ない、故障対象を検出するセグメントが存
在する場合には重複した改善を実行することから成り立
っている点である。本発明のまた別の様態としては、テ
ストベクトルのシーケンスを圧縮する方法で、除去段階
でj=iを割り当て、入力セグメントのj番目の要素を
第1要素として持ち、かつ入力セグメントの最後の要素
を最後の要素として持つシーケンスリストを生成し、コ
ンパクトセットにおいてベクトルのシミュレーション後
得られた既知の初期状態から、入力セグメントによって
検出された故障をシミュレートするためにシミュレーシ
ョンを実行し、j=j+1を割り当てかつ入力故障のサ
ブセットがこれ以上検出されなくなるまで繰り返し、入
力セグメントのj−1要素から始まって、入力セグメン
トの最後の要素で終わるセグメントを出力することから
なる。本発明のさらに別の様態としては、セグメントの
使用を含む圧縮方法がある。改良点としては、除去セグ
メントの利用と再整理セグメントを利用した点である。
To achieve the object of the present invention, a method is provided for compressing a sequence of test vectors for testing a system, the system being detectable by the sequence of test vectors. And a subset of the failure set is selected as a failure target, and the method includes a restoration stage and a segment processing stage. In that method, the reconstructing step recognizes the segments of the vector, detecting each of the segments as faulty, and the segment processing step further includes reordering, removing, and merging the segments. A further improvement is a method for compressing a sequence of test vectors. In the method, the restoration step comprises a verification step and an improvement step, the verification step recognizing a first sub-sequence of test vectors for detecting a failure target and a second sub-sequence not detecting a failure target, and the improvement step comprises: The shortest subsequence between the first subsequence and the second subsequence for detecting a failure target is recognized.
Another aspect of the invention is a method of compressing a sequence of test vectors to test a system,
The system has a fault set that can be detected by a sequence of test vectors to form a compact vector set. In that way, the compressed vector set is decompressed by merging vector segments. A further improvement is that in a way of compressing the sequence of test vectors, the segments are removed and redundant synchronization sequences are eliminated. Yet another aspect of the invention is a method for compressing test vector sequences in which segments are merged into a compact set if found. In the compression method, a test vector, a fault list including faults that can be detected using the test vector, and a fault detection time are recognized. If a fault target exists, the fault target is selected. When the vector restoration is performed and the failure target selected in the restoration stage is found,
Increasing the partial segment set, removing the acquired segment if the partial segment set is a complete segment, merging the acquired segment if the partial segment set is a complete segment,
This step is repeated as long as there is a failure target. In a further refinement, in a method of compressing a sequence of test vectors, the merge stage simulates a new segment from a known initial state obtained after simulating the vectors in the currently compressed vector set. , Adding a new segment to the end of the compressed vector set. A further improvement is that in the method of compressing the sequence of test vectors, the two-stage vector restoration merges the two faults as one fault target if the two faults have a restored sequence that overlaps. In this case, redundant verification is performed as described above, and if there is a segment for detecting a failure target, redundant improvement is performed. According to yet another aspect of the invention, a method for compressing a sequence of test vectors includes assigning j = i in a removal step, having a j-th element of an input segment as a first element, and a last element of the input segment. From the known initial state obtained after the simulation of the vector in the compact set, and run a simulation to simulate the fault detected by the input segment, and j = j + 1 Iterates until no more subsets of the assignments and input faults are detected, outputting the segments starting at the j-1 element of the input segment and ending with the last element of the input segment. Yet another aspect of the present invention is a compression method that includes the use of segments. The improvement is the use of the removal segment and the use of the rearrangement segment.

【発明の実施の形態】以下、本発明の実施の形態につい
て、図面を参照して説明する。本発明による静的圧縮用
アルゴリズムは、ファンクショナルまたは任意のベクト
ルセット、あるいは自動テスト発生装置から得られたベ
クトルセットを圧縮するために使われる。本発明は一部
ベクトル復元の概念に基づく。本発明が従来技術と違う
主な特徴としては、(1)新しい2段階ベクトル復元技
術と、(2)新しいセグメントの概念である。2段階ベ
クトル復元は他のベクトル復元方法よりも計算の上で非
常に有利である。セグメントの概念である本発明のセグ
メント除去およびセグメント再整理は、さらに圧縮を行
なうために既存の圧縮方法にも適用できる。2段階ベク
トル復元方法はBommuらによる米国特許出願 N
o.09/112,945に詳細に記載され具体化され
ている。セグメント除去、セグメントマージ、セグメン
ト再整理の手順については、以下に詳細に説明されてい
る。 「新しい静的圧縮アルゴリズム」本発明による圧縮アル
ゴリズム実施例のフローチャートを図2に示す。この圧
縮アルゴリズムにおいては、テストベクトルのセットと
検出対象となる故障のリストとを、ステップ2.01に
おいてそれぞれの検出時間とともに入力する。ステップ
2.02において故障対象セットを選択し、ステップ
2.03において、そのような対象が存在するかどうか
をチェックした後で、検証ステップ2.05と改善ステ
ップ2.06からなる2段階ベクトル復元手順を実行す
る。ステップ2.07では、復元されたベクトルシーケ
ンスがセグメントを含むかどうかを確認する。含む場合
には、セグメント操作ステップ2.08において見つか
ったセグメントの除去と再整理を行なう。そのような対
象となる故障が存在する限り、ステップ2.02におい
て故障対象の新しいセットを選択しこれらの操作を続け
る。このアルゴリズムは、RSPのようにベクトル復元
に基づいている。しかしながら、以下の2つの際立った
点でRSP方式とは異なっている。 1.線分ベクトル復元段階が、大規模回路だと計算上非
常に有利な2段階復元段階に取り替えられる。 2.RSPと違って、2段階復元段階は、故障セットで
すべての故障を検出するような1つのモノリシックなサ
ブシーケンスというよりはむしろ複数のセグメントを認
識する。セグメントは、さらに圧縮を行なうために除去
され再整理されることのできるサブシーケンスである。 本発明の圧縮アルゴリズムの主な特徴としては、セグメ
ント操作と2段階ベクトル復元がある。セグメント操作
と2段階ベクトル復元技術については以下で説明する。 「セグメント再整理」従来の技術の項目で説明したRS
P方式では、これまでに復元された圧縮ベクトルセット
は、今後すべての対象に対する復元段階の間、故障シミ
ュレーションの対象として検討される。以前の対象のた
めに復元されたベクトルセットを、現在および今後の復
元段階の間中、繰り返しシミュレーションすれば、RS
P方式の実行時間が膨大なものになることは実験で容易
にわかる。本発明によると、ベクトルシーケンスはセグ
メントにおいて復元される。セグメントはサブシーケン
スV、…、V(1≦i≦j≦n)であるので、今後
のどんな故障対象fに対しても検出時間はD(f)<i
である。図1の例では、故障fに対する復元段階はサ
ブシーケンスV17、…、V20になる。この時点で、
故障f, f, fは復元されたシーケンスによ
って検出されない。すべてのこうした故障の検出時間は
17よりも速い。このため、サブシーケンスV17
…、V20はセグメントである。fはfよりも検出
時間が遅いし、fは復元されたシーケンスによって検
出されるので、fは今後の故障対象にはなり得ない。
セグメントは、複数の故障対象の復元段階から生ずる。
すべての故障対象はそれぞれ独自のセグメントに対応す
る。一度セグメントが認識されると、セグメント中のベ
クトルは今後のいかなる故障対象の復元中でも、対象と
して検討されない。故障対象fの復元段階の間、fのセ
グメントに存在することになるベクトルだけが故障シミ
ュレーションの対象とみなされる。図1の例では、故障
対象fに対する復元されたシーケンスV17、…、V
がセグメントである。fのような今後の故障対象
だけが複数の新しいセグメントとなり得る。従って、f
に対する復元段階はセグメントV17、…、V
故障シミュレーションの対象とみなさない。圧縮段階が
続くと、故障fに対する復元されたベクトルシーケン
スはV、…、V12となる。このシーケンスはセグメ
ントではない。これは故障fが検出されず、D
(f)≧5となるからである。故障fが次の対象で
ある。fに対する復元段階では、サブシーケンス
、…、V12を故障シミュレーションの対象として
検討する。fに対するベクトル復元はシーケンス
、…、V12になる。ここでも、このシーケンスは
セグメントではない。これは故障fが検出されず、D
(f)≧2となるからである。故障fが次の対象で
ある。fに対する復元段階はシーケンスV、…、V
12になる。未検出の故障がないので、このシーケンス
はセグメントである。簡単に言うと、2つのセグメント
がある。(1)故障fとfを検出するサブシーケン
スV17、…、V20と、(2)故障f、f、f
を検出するサブシーケンスV、…、V12である。本
発明の圧縮アルゴリズムの実施例については図3に示さ
れた擬似コードによって説明される。6行目(セグメン
ト除去)と7行目(セグメントマージ)はセグメント操
作に対応する。セグメント除去とセグメントマージにつ
いては以下で説明する。圧縮アルゴリズムによれば、故
障シミュレーションは初期故障リストFと元のベクトル
セットVに対してFにおける故障の検出時間Dを決める
ために行なわれる。圧縮の間、セグメントは見つけた時
のままCompactSetと呼ばれるベクトルセット
にマージされる。初期故障リストにおけるすべての故障
をシーケンスCompactSetが検出した時、圧縮
が完了する。CompactSetにはこれまでに認識
されたすべてのセグメントにおけるベクトルが含まれて
いる。現在の部分セグメントを構成しているベクトルセ
ットはParSegに記憶される。CompactSe
tもParSegもどちらのセットも最初は空である。
始めに、Fにおけるすべての故障がセットFに加えら
れる。圧縮の間、セットFには、CompactSe
tまたはParSegにおいてベクトルによって検出さ
れない故障が含まれる。手順Choose_Next_
Target()はベクトル復元段階の故障対象を選択
する。本発明によると、ベクトル復元される故障は検出
時間が減っていく順番に検討される。例えば、図1の故
障fはV20で検出され、故障fはV16で検出さ
れる。故障fを検出するサブシーケンスでfも検出
することはできない。これはfがもっと検出時間が遅
いからである。けれども、fを検出するサブシーケン
スならf(つまり、fよりも検出時間が遅いいかな
る故障でも)を検出することができる。このため、検出
時間のより遅い故障は最初にベクトル復元の故障対象と
して検討される。2つ以上の故障が同じ検出時間をもっ
ているので、1個の故障とは対照的に、Fにおける故
障セットを復元段階の対象として選ぶことができる。対
象を選んだ後、以下に説明する2段階復元手順がPar
Segを増殖させてその対象を検出する。手順New_
Segment()によってサブシーケンスParSe
gがセグメントであるかどうかをチェックする(図3の
アルゴリズムの5行目)。新しいセグメントが見つかる
場合には、そのセグメントはCompactSetに含
まれている。今後の対象として復元されたベクトルが新
しいセグメントを形成するので、ParSegがリセッ
トされる。セグメントマージ段階はいくつかのステップ
から成り立つ。本発明によると、故障シミュレータは、
CompactSetにおけるベクトルのシミュレーシ
ョン後に未検出の故障のために回路の良い状態と不完全
な状態を記憶する。マージ段階の第1ステップとして、
新しいセグメントが故障シミュレーションの対象として
検証される。故障シミュレータの初期状態は、Comp
actSetにおいてベクトルをシミュレーションした
後に得られる状態と同じである。このため、シミュレー
ションされた故障によってベクトルが見えるだけでな
く、CompactSetと新しいセグメントの境界を
超えて形成される新しいシーケンスを見ることもできる
(図4参照)。本発明のマージ段階は、図1の例でCo
mpactSet=V17、…、V 、とParSe
g=V、…、V12 のマージを検討することによっ
て説明することができる。CompactSegのシミ
ュレーション後の故障f、f 、fの不完全な状態
は既知のものであるとする。故障シミュレーション中、
故障f、f、fによってParSegのサブシー
ケンスを見ることができるだけでなく、Compact
SetとParSegを超えてサブシーケンスも見てい
ることになる。例えば、シーケンスV20、V、V
がfを検出するものであるとするならば、既知の初期
状態から故障シミュレーションを行なうことによって、
故障f がV12に替ってVになる。これは本発明の
方法の圧縮特性がRSP方式でのように反対にはならな
いからである。セグメントによる方法は、圧縮特性の観
点からみると、RSP方式よりももっとうまくできる。
RSP方式は、費用をかけて繰り返しシミュレーション
を行なうことによって、シーケンスParSegとCo
mpactSetの境界を超えたサブシーケンスを検討
することになる。これに対して、セグメントによる方法
は単一の故障シミュレーションにおけるCompact
SetとParSegシーケンスの境界を越えたすべて
のサブシーケンスを検討する。この結果、全体の圧縮手
順がかなりスピードアップした。図4はセグメント処理
におけるRSPと上述の方法との差を図式的に説明する
ものである。セグメント故障シミュレーション後に、新
しいセグメントがCompactSetシーケンスの終
端に追加される。これによって、マージ段階は完了す
る。次に対象となる故障が決まり、圧縮段階が繰り返さ
れる。圧縮は、対象となる故障が無くなった時に完了す
る。最後に圧縮されたベクトルセットはCompact
Setで利用可能である。 「2段階ベクトル復元」2段階ベクトル復元アルゴリズ
ムについては、同時係属中の米国特許出願 No.09
/112,945に詳細に記載されている。本発明の復
元工程は検証と改善の2つのフェーズからなる。検証フ
ェーズで、ベクトルの十分な部分列が素早く識別され
る。すべての故障対象を検出するような部分列が、ベク
トルのもっと短い部分列をも含むように保証されてい
る。この部分列は必要以上に大きく、検証されたセグメ
ントと呼ばれる。改善フェーズは検証されたセグメント
の枝刈りをして、すべての故障対象を検出する最も短い
部分列を見つける。本発明による復元工程によると、故
障は、重複しない部分列によって検出できることがわか
る。図1の例では、故障f3およびf5を復元することがそ
のような場合を表わしている。テストセット全体を、故
障f3およびf5を検出するために必要な部分列として提案
することができる。しかし、故障f3およびf5を検出する
部分列はベクトルを共有しない。上記に示されたよう
に、部分列V17、…、V20がf5を検出し、部分列V1、…、
V12がf3を検出する。こうした部分列はベクトルを共通
に持たない。本発明の復元技術は1つの部分列に替って
2つの部分列を生成する。こうした部分列は明らかに故
障f3およびf5を検出するどんな方法ででも指定すること
ができる。そのような独立した部分列をセグメントと言
う。本発明の復元技術によって、すべての故障対象を検
出するのに任意に指定可能な非重複セグメントを回復さ
せる。2段階復元工程の基本的な概念は、本発明の2段階
復元方式の具体例を示した図2を使って説明される。現
在の故障対象はfである。その検出時間は、D[f]として
表わされる。ラベルlow, opt, high, base, lastは1と
nの間の値を取る(元のテストセットはベクトルV1
…、Vnから成る)。シーケンスResSeq(Vbase、…、V
last)はもっと初期の対象に対して復元され、現在の故
障対象fを検出しない。fに対する復元工程はベクトルV
baseで始まる。検証フェーズは故障対象を検出する部分
列Vlow、…、Vlastを識別する。復元フェーズも部分列V
high、…、Vlas tが故障対象を検出しないことを立証す
る。重要なのは、故障対象を検出する1番短い部分列が
VlowとVhighの間のいずれかのベクトルで始まることで
ある。改善フェーズは、復元された部分列ResSeqに加え
られる1番短い部分列として、部分列Vopt、…、Vbase
を認識する。ここでは、low≦opt<highである。2段階
復元アルゴリズムの具体例を図3に紹介された擬似コー
ドによって説明する。復元アルゴリズムは、復元された
シーケンスResSeqによって入力故障リストFuのすべての
故障が検出されるまで、検証と改善を繰り返す。各反復
の間、現在復元されているシーケンスResSeqによって検
出されない故障だけが検討される。未検出故障の中で、
最も検出時間が多い故障が故障対象として選択される。
こうした故障は故障対象リストFTに入れられる。次の2
つの章では検証フェーズと改善フェーズについて説明す
る。 「検証」故障対象リストFTとすると、検証フェーズは、
検証されたセグメントの範囲を定める変数lowおよびhig
hの値を決定する。このフェーズは、前の復元フェーズ
から復元されたシーケンスResSeqを受け継ぐか、あるい
は新しいシーケンスを始めることができる。変数baseは
FTの故障の最小検出時間およびすでに復元されたシーケ
ンスResSeqの第1ベクトルの指数に初期化される。復元
アルゴリズムはResSeqを拡張してFTにおける故障を検出
する。whileループ(図3の6行目)で故障シミュレー
タ(図3の8行目)を数回呼出しする。もしResSeqがベ
クトルをもつならば、故障シミュレータは、FTがResSeq
によってすでに検出されたかどうか検証する。FTの故障
が全く検出されない場合、追加ベクトルがResSeqに追加
される(図3の10および11行目)。十分なベクトルが
FTを検出するのに追加されるまで、この工程は続く。k
ベクトルがFTを検出するためにResSeqに追加された時に
は、検証フェーズでは故障シミュレータへの呼出しが0
(log k)であることがわかる。最悪の場合には、検証フ
ェーズではたった2[log2k]+1ベクトルしかシミュレー
ションしない。これではResSeqにおけるベクトルシミュ
レーションの対象とならない。図1の例における故障f5
に対するシーケンスがどのように復元されるかを考慮す
ることによって、検証フェーズの動作を説明することが
できる。f5は復元される最初のベクトルなので、ResSeq
はベクトルを持たない。このため、baseおよびlowには
D[f5]=20が割り当てられる。whileループ(図3の6
行目)の最初の反復の間、故障シミュレータは、ベクト
ルV20の1つから成るシーケンスによってf5が検出され
ないことを確証する。f5が検出されないので、変数low
は20−20=19に更新される。次の反復では、故障シミュ
レータはf5がシーケンスV19、V20によって検出されない
ことを確証する。このため変数highは19に更新される。
変数lowも20−21=18に更新される。この工程が続けば、
low=20−22=16の時にはf5が検出される。これはシーケ
ンスV16、…、V20が未知の初期状態から故障を検出する
ためである。ベクトルV16を追加しても故障の検出能力
は変えることはできない。この時点で、high=18であ
る。このことは検証フェーズの終わりを示す。whileル
ープの反復を4回必要とした。検証されたセグメントは
ベクトルV16、…、V20から成り立つ。このセグメントは
f5を検出するために必要以上のベクトルを含んでいる。 「改善フェーズ」検証フェーズの後、故障対象セットFT
におけるすべての故障が未検出のまま記される(図3の
13行目)。改善フェーズでは、FTを検出する検証された
セグメントの中で1番短い部分列を認識する。改善フェ
ーズのwhileループ(図3の14行目)も故障シミュレータ
(図3の17行目)に何度も呼出しを行なう。単純な2分
探索を使って、FTのすべての故障を検出する1番短い部
分列をクローズアップする。改善フェーズは故障シミュ
レータへの呼出しが0(log(high−low))である。kが復
元されたシーケンスの長さだとすると、最悪の場合、故
障シミュレータへの呼出しは0(log k)となる。また、
最悪の場合、改善フェーズは2k*log kベクトルのシミュ
レーションを要求することもある。これもResSeqにおけ
るベクトルシミュレーションの対象とならない。f5(図
1)に対する改善フェーズでは、f5を検出する1番短い
部分列を求めるためのlow=16とhigh=18の間の2分探索を
行なう。検討される最初のシーケンスはベクトルV17
始まる。これは、(low+high)/2=17だからである。シー
ケンスV17、…、V20がf5を検出する。このため、lowは1
7に更新される。low=high+1なので、14行目のwhileルー
プは終了して、改善フェーズも終了する。見つかった1
番短い部分列は、V17、…、V20である。 「加速された2段階ベクトル復元」加速された2段階ベ
クトル復元アルゴリズムについては、同時係属中の米国
特許出願 No.09/112,945に詳細に記載さ
れている。 「セグメント除去」上述した本発明の技術は主に圧縮手
順のスピードアップを目的とする。また、本発明の別の
様態として、同期化シーケンスの冗長的な使用を除去に
よって避けることにより、圧縮特性の向上を目的として
いる。セグメント復元中、故障が未知の初期状態を想定
してシミュレーションされる。このため、2つのセグメ
ントは共通の初期化シーケンスを持つことになる。従っ
て、第1セグメントの同期化シーケンスを保持し、それ
からすべての他のセグメントの同期化シーケンスを除去
することによって、さらに圧縮が行なわれる。セグメン
ト除去アルゴリズムの実施例については図5の擬似コー
ドによって説明される。手順は、ベクトルV、…、V
からなるセグメントSegから始まる。セットF
segには復元段階でセグメントSegを生成した故障
が含まれる。Fsegも未知の初期状態から始まるSe
gによって検出された故障のセットとしてみなされる。
上述したように、CompactSetには前のセグメ
ントが含まれる。本発明によると、CompactSe
tの故障シミュレーション後の良い状態および不完全な
状態は記憶されている。シーケンスVi+1、…、V
がFse (未知の初期状態から始まりCompact
Setのシミュレーション後に利用可能)においてすべ
ての故障を検出しない場合、セグメントの除去がなくて
も可能である。そうでない場合、シーケンスVi+2
…、Vが検討されて、故障シミュレーションはそのシ
ーケンスを使って行なわれる。この段階は、これ以上除
去できないようなシーケンスV、…、V (i≦k
≦j)が見つかるまで続けられる。図1の例では、初め
て見つかったセグメントはV17、…、V20である。
これが第1セグメントなので、除去はしない。次に見つ
かったセグメントはV、…、V12である。第1セグ
メントのシミュレーション後の故障f, f,f
の良い状態と不完全な状態が利用可能とされる。第2セ
グメントの除去は以下のように進む。まず、シーケンス
、…、V12と故障f, f,fが故障シミ
ュレーションのために検討される。fが検出されない
ので、セグメントの除去がなくても可能である。 「実験結果」本発明による静的圧縮技術はSECOと呼
ばれるCプログラムで具体化される。実施例には上述し
た本発明のすべての技術が含まれる。違いを明らかにす
るために、RSP方式の改良版も実行する。これについ
ては、I. Pomeranz, S. M. Red
dyによる”Vector RestorationB
ased Static Compaction of
Test Sequences for Synch
ronous Sequential circuit
s” (同期式順序回路用テストシーケンスの静的圧縮
に基づくベクトル復元)(アイオワ大学、コンピュータ
設計に関する国際会議録、pp. 360−365、1
997年8月)を参照のこと。RSP方式は、同上の参
考文献に述べられているように、ベクトル復元段階で単
一の故障に関してシミュレーションを行なう。RSP方
式はベクトル復元中多数の故障を検討するように増強さ
れている。RSPアルゴリズムの今回の実行では、同じ
検出時間をもつ故障は復元のために同時に検討される。
このように、手順には、実行に使われる並行故障シミュ
レータを利用している。RSPのこうした実行の仕方を
改良型RSPと称する。ISCASベンチマーク回路と
いくつかの工業設計の実験結果が報告されている。F.
Brglez, D. Bryan, K. Koz
minskiによる”Combinational p
rofiles of sequential ben
chmark circuits” (順序ベンチマー
ク回路の組合せプロファイル)(回路およびシステムに
関する国際シンポジウム、pp.1929−1934,
1989年5月)を参照のこと。SECOを改良型R
SPと比較する。図6の表1がISCAS回路の結果を
示している。図7の表2はいくつかの工業設計の結果を
示している。どの表も元のベクトルセットと圧縮ベクト
ルセットにおけるベクトルの数を示している。圧縮特性
は、元のベクトルセットの減少をパーセンテージで報告
している。CPU秒はSun UltraSPARCワ
ークステーションのために報告された。報告されたCP
U秒はプラットホーム指定のものである。このため、ア
ルゴリズムの複雑さについての情報を提供するために、
元のベクトルセットを使ったすべての故障の故障シミュ
レーションにかかる時間も報告されている。こうした時
間は「初期シミュレーション時間」の欄の下に書かれて
いる。「改良型RSP」の欄には、I. Pomera
nz, S. M. Reddyによる”Vector
Restoration Based Static
Compaction of Test Seque
nces for Synchronous Sequ
ential circuits” (同期式順序回路
用テストシーケンスの静的圧縮に基づくベクトル復元)
(アイオワ大学、コンピュータ設計に関する国際会議
録、pp. 360−365、1997年8月)に記載
された高速アルゴリズムのスピードアップ版が紹介され
ている。本発明の上述した実施例の結果は、「SEC
O」の欄に書かれている。実験に使われた工業設計にお
けるゲートの数とフリップフロップの数は図6の表2に
示されている。ベクトル復元に基づく方法の性質上、元
のベクトルセットの故障網羅度は常に圧縮されたベクト
ルセットによって保護される。このため、故障網羅度の
数値は報告されていない。表2は上記の加速技術を使っ
て得られた結果をも示している。上記同時係属中の米国
特許出願 NO. 09/112,945に記載された
ような、2段階復元および加速された2段階復元方法を
使って得られた結果は、それぞれに2−φ、2−φ
に報告されている。ISCAS回路に使われた初期ベク
トルセットはテストセットジェネレータHITECを使
って得られた。T. M. Niermann, I.
H. Patelによる”HITEC: A tes
t generation package for
sequential circuits” (デザイ
ンオートメーション・ヨーロッパ会議発表(EDA
C), pp. 214−218、1991年3月)を
参照のこと。ISCAS回路の圧縮結果については、表
1に示されている。SECOとRSP技術の双方とも平
均40%の圧縮率を示すが、SECOの方がかなり速
い。小さいISCAS回路(s344, s444)だ
と、RSP方式の方が圧縮がよい。その他のISCAS
設計については、2つの方法の圧縮特性の差はほとんど
ない。CPU秒の観点からしても、明らかにSECOの
方が改良型RSPよりも良い。s1494, s148
8のような回路においては、本発明の技術の方が30倍
も速く、圧縮効率の差もほとんどない。ISCAS設計
では、平均してSECOは、元のベクトルセットを使っ
たすべての故障の故障シミュレーションにかかる時間の
約2倍で圧縮する。工業設計は、3状態バッファ、双方
向性バッファやバスのようないくつかの非ブール関数を
持つ。さらに、セット・リセット・フリップフロップ回
路と多重クロックを持つ。こうした回路の元のテストセ
ットは、商用テスト発生装置を使って得られた。圧縮結
果が表2に示される。一般的に、SECOでかかる時間
は初期故障シミュレーション時間の約2から10倍であ
る。表に示したように、SECOの実行速度はRSPよ
りも20から50倍も速く、しかも圧縮が良い。例え
ば、工業設計p7Bに関して、SECOは179秒で2
7%の圧縮を行なうが、改良型RSPでは、25%の圧
縮に10200秒も必要となる。SECOは約200、
000ゲートで5000フリップフロップの大規模設計
を仕上げることができるが、RSPならCPU日で2日
かかっても完成しない。重複する検証技術と改善技術も
実行された。こうした技術の結果を2−φ付きSEC
Oの欄に示した。2−φ版はセグメントがたくさんあ
る回路に特に効果的である。例えば、p306の工業設
計では、2666ベクトルのセグメントがあり、2−φ
使用結果はCPU秒で2倍以上向上している。図8の
表3はセグメント除去をしたSECOの結果を示してい
る。本発明のセグメント除去技術は、同期化接頭辞の冗
長的使用を避けることによって圧縮特性を改良してい
る。表3にセグメント除去したSECOの結果を示す。
セグメント除去によって圧縮特性が著しく改善した回路
がある。例えば、ISCAS回路s526については、
セグメント除去がなかったらたった32%の圧縮しかで
きなかった。しかしながら、セグメント除去で圧縮特性
が63%に倍増した。このことから、セグメント除去に
よって著しく向上することがわかる。実験結果によっ
て、セグメント除去技術は工業設計のテストに使われた
場合にも著しい改善に役立つことがわかる。実験結果
は、性能および圧縮効率の点からして、本発明の静的圧
縮アルゴリズムが優れていることを示している。本発明
の実施例SECOは既知の静的圧縮技術よりもさらに改
良されている。この発明の他の変更および修正は、以上
述べてきた説明から当業者には明らかであろう。ここで
はこの発明のいくつかの実施例だけを詳細に説明した
が、発明の本旨および範囲から離れない限り、数多くの
変更を加えうることは明らかである。
BEST MODE FOR CARRYING OUT THE INVENTION Hereinafter, embodiments of the present invention will be described.
This will be described with reference to the drawings. For static compression according to the invention
The algorithm can be functional or any vector
Tools or automatic test generators
Used to compress the turtle set. The invention is partly
Based on the concept of vector restoration. The present invention is different from the prior art
The main features are: (1) New two-stage vector restoration technique
And (2) the concept of a new segment. Two steps
Vector restoration is more computationally inefficient than other vector restoration methods.
Always advantageous. The segment of the present invention, which is the concept of a segment
Segment removal and segment reordering provide further compression.
For this purpose, it can be applied to existing compression methods. Two-step vector
The method for restoring torque is described in US patent application N.
o. 09 / 112,945, which is described and embodied in detail.
ing. Segment removal, segment merge, segment
The reorganization procedure is described in detail below.
You. "New static compression algorithm"
FIG. 2 shows a flowchart of the algorithm embodiment. This pressure
In the reduction algorithm, a set of test vectors and
The list of faults to be detected is added to step 2.01.
Input along with each detection time. Steps
Select a target set in 2.02
2.03 whether such an object exists
After checking, the verification step 2.05 and the improvement step
A two-step vector restoration procedure consisting of
You. In step 2.07, the restored vector sequence
Check if the sense includes a segment. If included
Is found in segment operation step 2.08
Remove and rearrange segments that have been lost. Such a pair
Step 2.02 as long as there is an elephant failure
To select a new set of failure targets and continue these operations.
You. This algorithm uses vector restoration like RSP
Based on However, the following two prominent
This is different from the RSP method in the point. 1. If the line vector restoration stage is a large-scale circuit,
It is always replaced by an advantageous two-stage restoration stage. 2. Unlike RSP, the two-step restoration phase is based on the failure set
One monolithic service that detects all faults
Multiple segments rather than subsequences.
Understand. Segments removed for further compression
Subsequences that can be rearranged and rearranged. The main feature of the compression algorithm of the present invention is that
And two-step vector restoration. Segment operation
The two-stage vector restoration technique will be described below. "Segment rearrangement" RS explained in the section of the conventional technology
In the P method, the compressed vector set restored so far
During the recovery phase for all future objects
It will be considered as a target for the simulation. Previous target
Vector set restored for current and future
If you simulate repeatedly during the original stage, RS
It is easy to experiment that the execution time of the P method becomes enormous
I understand. According to the invention, the vector sequence is seg
Is restored in the comment. Segment is a subsequence
SUVi, ..., Vj(1 ≦ i ≦ j ≦ n), so
The detection time is D (f) <i
It is. In the example of FIG.5The restoration phase for
Bus sequence V17, ..., V20become. at this point,
Failure f1, F2, F3Depends on the restored sequence
Is not detected. The detection time for all such faults is
Faster than 17. Therefore, the sub-sequence V17,
…, V20Is a segment. f4Is f3Detect more than
Time is slow and f4Is detected by the restored sequence.
Is issued, f4Cannot be targeted for future failure.
Segments result from the restoration phase of multiple fault targets.
Every failure target corresponds to its own segment.
You. Once a segment is recognized,
During the restoration of any future failure targets,
Not be considered. During the restoration phase of the failure target f, the security of f
Only the vectors that would be present in the
Will be considered for compilation. In the example of FIG.
Object f5Restored sequence V for17, ..., V
2 0Is a segment. f3Future failure target like
Only can be multiple new segments. Therefore, f
3The restoration phase for segment V17, ..., V2 0To
Not considered for failure simulation. The compression stage
If it continues, failure f3Restored vector sequence for
Is V5, ..., V12Becomes This sequence is
It is not an event. This is the fault f2Is not detected and D
(F2) ≧ 5. Failure f2Is
is there. f2In the restoration phase for the subsequence
V5, ..., V12Target for failure simulation
consider. f2The vector restoration for
V2, ..., V12become. Again, this sequence
Not a segment. This is the fault f1Is not detected and D
(F1) ≧ 2. Failure f1Is
is there. f1The restoration stage for sequence V1, ..., V
12become. Because there are no undetected faults, this sequence
Is a segment. In short, two segments
There is. (1) Failure f4And f5Subsequence to detect
SUV17, ..., V20And (2) fault f1, F2, F3
Subsequence V for detecting1, ..., V12It is. Book
An embodiment of the compression algorithm of the invention is shown in FIG.
This is explained by the pseudo-code given. Line 6 (segment
Line removal) and the seventh line (segment merge)
Corresponds to the work. About segment removal and segment merging
Will be described below. According to the compression algorithm,
The failure simulation is based on the initial failure list F and the original vector.
Determine failure detection time D at F for set V
Done for During compression, when a segment is found
Vector set called CompactSet as it is
Will be merged. All failures in the early failure list
When the sequence CompactSet detects
Is completed. Recognized by CompactSet so far
Contains vectors in all segments
I have. The vector segments that make up the current subsegment
The set is stored in ParSeg. CompactSe
Both sets, t and ParSeg, are initially empty.
First, all faults in F are set FuIn addition to
It is. Set F during compressionuHas a CompactSe
Detected by vector at t or ParSeg
Not included failures. Procedure Choose_Next_
Target () selects failure target in vector restoration stage
I do. According to the present invention, the vector-recovered fault is detected
Considered in order of decreasing time. For example, in FIG.
Obstacle f5Is V20And the fault f4Is V16Detected by
It is. Failure f4In a subsequence for detecting5Also detected
I can't. This is f5But more detection time
Because it is. But f5Subsequence to detect
If f4(That is, f5Is the detection time slower than
) Can be detected. Because of this, detection
Faults that are slower in time are initially targeted for vector restoration.
Will be considered. Two or more faults have the same detection time
So that, in contrast to one fault, FuLate in
Failure sets can be selected for the restoration phase. versus
After selecting the elephant, the two-step restoration procedure described below
Segs are expanded to detect the subject. Procedure New_
Subsequence ParSe by Segment ()
Check if g is a segment (FIG. 3)
(Fifth line of the algorithm). New segment found
If so, the segment is included in the CompactSet.
It is rare. The restored vector is a new
ParSeg is reset because a new segment is formed.
Is The segment merging phase has several steps
Consists of According to the present invention, the fault simulator comprises:
Simulating vectors in CompactSet
Circuit is in good condition and incomplete due to undetected fault after installation
Memorize the state. As the first step of the merge phase,
New segment is subject to failure simulation
Will be verified. The initial state of the failure simulator is Comp
simulated vector in actSet
It is the same as the state obtained later. Therefore, the simulation
Not only see the vector due to the fault
The boundary between CompactSet and the new segment
You can also see new sequences formed beyond
(See FIG. 4). The merging step of the present invention uses Co in the example of FIG.
mpactSet = V17, ..., V2 0, And ParSe
g = V1, ..., V12By considering merging
Can be explained. CompactSeg stains
Failure f after simulation1, F 2, F3Imperfect state of
Is known. During failure simulation,
Failure f1, F2, F3By ParSeg subsea
Not only can you see Kens, but also Compact
Watching subsequences beyond Set and ParSeg
Will be. For example, the sequence V20, V1, V2
Is f3If you want to detect
By performing a failure simulation from the state,
Failure f 3Is V12V instead of2become. This is the
The compression characteristics of the method should not be reversed as in the RSP method.
Because it is. The segment method is based on the observation of compression characteristics.
From a point of view, it can do better than the RSP method.
RSP method is expensive and iterative simulation
By performing the sequence ParSeg and Co
Consider subsequences beyond the boundaries of mpactSet
Will do. In contrast, the segment method
Is Compact in a single failure simulation
Everything beyond the boundaries of Set and ParSeg sequences
Consider a subsequence of. As a result, the entire compression hand
The order speeded up considerably. Figure 4 shows segment processing
Schematically illustrates the difference between RSP and the above method in
Things. After segment failure simulation,
The new segment ends the CompactSet sequence.
Added to the end. This completes the merge phase.
You. The target fault is determined next, and the compression phase is repeated.
It is. Compression is complete when the fault of interest is gone
You. The last compressed vector set is Compact
Available in Set. "Two-step vector restoration" Two-step vector restoration algorithm
No. 6,078,045, filed in Co-pending U.S. Pat. 09
/ 112,945. Reversion of the present invention
The original process consists of two phases, verification and improvement. Verification
Phase quickly identifies enough subsequences of the vector.
You. A subsequence that detects all failure targets is
Guaranteed to include even shorter substrings of
You. This subsequence is unnecessarily large and
Called. Remediation phase is a validated segment
Shortest to find all failure targets by pruning
Find substring. According to the restoration process according to the present invention,
Observe that failures can be detected by non-overlapping subsequences
You. In the example of FIG.ThreeAnd fFiveCan be restored
It represents the case as follows. The entire test set
Obstacle fThreeAnd fFiveProposed as a subsequence necessary to detect
can do. But failure fThreeAnd fFiveDetect
Subsequences do not share vectors. As shown above
And the subsequence V17,…, V20Is fFiveAnd the subsequence V1,…,
V12Is fThreeIs detected. These subsequences have a common vector
Do not have. The restoration technique of the present invention replaces one subsequence
Generate two subsequences. These subsequences are obviously late
Obstacle fThreeAnd fFiveTo be specified in any way that detects
Can be. Such an independent subsequence is called a segment.
U. With the restoration technology of the present invention, all failure targets can be detected.
Recover non-overlapping segments that can be arbitrarily specified to be
Let The basic concept of the two-step restoration process is the two-step
This will be described with reference to FIG. 2 showing a specific example of the restoration method. Present
The current failure target is f. The detection time is D [f]
Is represented. Labels low, opt, high, base, last are 1
n (the original test set is the vector V1,
…, VnConsists of) Sequence ResSeq (Vbase,…, V
last) Was restored to an earlier object and the current
Failure target f is not detected. The restoration process for f is the vector V
baseStarts with The verification phase is the part that detects the failure target
Row Vlow,…, VlastIdentify. Subsequence V is also in restoration phase
high,…, Vlas tProves that no failure target is detected
You. The important thing is that the shortest subsequence
VlowAnd VhighStarting with any vector between
is there. The improvement phase consists of the restored subsequence ResSeq
The sub-sequence V is the shortest sub-sequenceopt,…, Vbase
Recognize. Here, low ≦ opt <high. Two stages
An example of the restoration algorithm is shown in FIG.
Will be explained by The restoration algorithm was restored
Input fault list F by sequence ResSequAll of
Verification and improvement are repeated until a failure is detected. Each iteration
During this time, it is detected by the currently restored sequence ResSeq.
Only faults that are not issued are considered. Among the undetected faults,
The fault with the longest detection time is selected as the fault target.
These failures are listed in the failure target list FTCan be put in. Next 2
Two chapters describe the verification and improvement phases.
You. "Verification" Failure target list FTThen the validation phase
Variables low and hig to delimit the validated segment
Determine the value of h. This phase is the previous restore phase
Inherits or restores the sequence ResSeq from
Can start a new sequence. The variable base is
FTMinimum failure detection time and already restored sequences
Is initialized to the exponent of the first vector of the sequence ResSeq. Restoration
The algorithm extends ResSeq to FTDetect failure in
I do. Failure simulation with a while loop (6th line in Fig. 3)
(8th line in FIG. 3) several times. If ResSeq is
If you have a vector, the failure simulator is FTIs ResSeq
Verify that it has already been detected by. FTFailure
If no is detected, additional vector is added to ResSeq
(Lines 10 and 11 in FIG. 3). Enough vectors
FTThis step continues until it is added to detect. k
Vector is FTWhen added to ResSeq to detect
Indicates that there is no call to the failure simulator in the verification phase.
(log k). In the worst case, the verification
Only 2[log2k] +1Simulate only vector
Does not work. This is the vector simulation in ResSeq.
Not subject to rationale. Fault f in the example of FIG.Five
Consider how the sequence for is restored
Can explain the behavior of the verification phase.
it can. fFiveIs the first vector to be restored, so ResSeq
Has no vector. For this reason, base and low
D [fFive] = 20 is assigned. while loop (6 in Figure 3)
During the first iteration (line 2), the fault simulator
Le V20By a sequence consisting of one ofFiveIs detected
Confirm that there is not. fFiveIs not detected, so the variable low
Is 20−20Is updated to = 19. In the next iteration, the failure simulation
Lator is fFiveIs sequence V19, V20Not detected by
Confirm that Therefore, the variable high is updated to 19.
Variable low is also 20-21= 18 is updated. If this process continues,
low = 20−2TwoF = 16FiveIs detected. This is a sequence
V16,…, V20Detects failure from unknown initial state
That's why. Vector v16Fault detection capability
Cannot be changed. At this point, high = 18
You. This marks the end of the verification phase. while le
Four iterations of the loop were required. Validated segments are
Vector v16,…, V20Consists of This segment
fFiveContains more vectors than necessary to detect. After the “Improvement phase” verification phase, the failure target set FT
All the faults in are marked as undetected (see FIG. 3).
Line 13). In the improvement phase, FTVerified to detect
Recognize the shortest subsequence in a segment. Improvement Fe
Failure while loop (line 14 in Figure 3) is also a fault simulator
(Line 17 in FIG. 3). Simple 2 minutes
Using search, FTShortest part that detects all failures
Close up the sequence. The improvement phase is a failure simulation
The call to the lator is 0 (log (high-low)). k is restored
In the worst case, if the length of the original sequence
The call to the fault simulator is 0 (log k). Also,
In the worst case, the improvement phase is a simulation of the 2k * log k vector.
Request. This is also in ResSeq
Not subject to vector simulation. fFive(Figure
In the improvement phase for 1), fFiveShortest to detect
Perform a binary search between low = 16 and high = 18 to find a subsequence
Do. The first sequence considered is the vector V17so
Begin. This is because (low + high) / 2 = 17. C
Kens V17,…, V20Is fFiveIs detected. For this reason, low is 1
Updated to 7. Because low = high + 1, the while loop on line 14
And the improvement phase ends. Found 1
The shortest substring is V17,…, V20It is. "Accelerated two-step vector restoration"
Co-pending U.S.
Patent application No. 09 / 112,945
Have been. "Segment removal" The technology of the present invention described above is mainly
The aim is to speed up the order. In addition, another of the present invention
As an aspect, eliminating redundant use of synchronization sequences
Therefore, by avoiding it, with the aim of improving the compression characteristics
I have. Assume initial state with unknown failure during segment restoration
Is simulated. For this reason, two segment
Will have a common initialization sequence. Follow
To keep the synchronization sequence of the first segment,
The synchronization sequence of all other segments from the
By doing so, further compression is performed. Segment
FIG. 5 shows a pseudo-code
Explained by The procedure is vector V1, ..., V
kStarts with a segment Seg consisting of Set F
segFailed to generate the segment Seg in the restoration stage
Is included. FsegAlso starts from an unknown initial state
Considered as the set of faults detected by g.
As described above, CompactSet contains the previous segment
Event is included. According to the present invention, CompactSe
good and incomplete after fault simulation of t
The state is stored. Sequence Vi + 1, ..., Vj
Is Fse g(Starting from an unknown initial state, Compact
(Available after simulation of Set)
If all faults are not detected, there is no segment removal
Is also possible. Otherwise, sequence Vi + 2,
…, VjHave been considered and failure simulation
This is done using a sequence. At this stage, no further
Sequence V that cannot be leftk, ..., Vj (I ≦ k
≦ j) until it is found. In the example of FIG.
Segment found is V17, ..., V20It is.
Since this is the first segment, it is not removed. Find next
The segment was V1, ..., V12It is. 1st seg
Failure f after simulation of the1, F2, F3
Good and imperfect states are available. 2nd
The removal of the fragment proceeds as follows. First, the sequence
V2, ..., V12And failure f1, F2, F3Is a failure stain
Will be considered for simulation. f1Is not detected
This is possible even without segment removal. "Experimental results" Static compression technology according to the present invention is called SECO.
It is embodied in a C program. Examples are described above.
All the techniques of the present invention are included. Reveal the difference
For this purpose, an improved version of the RSP system is also implemented. About this
I. Pomeranz, S.M. M. Red
"Vector Restoration B" by dy
ased Static Compaction of
 Test Sequences for Synch
ronous Sequential circuit
s "(Static compression of test sequence for synchronous sequential circuit
-Based vector restoration) (University of Iowa, Computer
International Conference on Design, pp. 360-365, 1
Aug. 997). The RSP method is the same
As stated in the literature, the vector
A simulation is performed for one failure. RSP
Equation is enhanced to account for a large number of faults during vector reconstruction
Have been. In this run of the RSP algorithm, the same
Faults with detection time are considered simultaneously for recovery.
Thus, the procedure includes the concurrent fault simulation used for execution.
Using a lator. How to do this in RSP
It is called an improved RSP. ISCAS benchmark circuit and
Experimental results of several industrial designs have been reported. F.
 Brglez, D.A. Bryan, K .; Koz
"Combinational p by minski
rofiles of sequential ben
chmark circuits "(sequential benchmer
Circuit combination profile) (for circuits and systems)
International Symposium on pp. 1929-1934,
 May 1989). Improved SECO R
Compare with SP. Table 1 in FIG. 6 shows the result of the ISCAS circuit.
Is shown. Table 2 in Figure 7 shows the results of some industrial designs.
Is shown. Each table has the original vector set and compression vector
It shows the number of vectors in the dataset. Compression characteristics
Reports percentage reduction of original vector set
doing. CPU is Sun UltraSPARC
Reported for the workstation. Reported CP
U seconds are specified by the platform. For this reason,
To provide information about the complexity of the algorithm,
Fault simulation of all faults using the original vector set
The time taken for the translation is also reported. At such time
The interval is written below the "Initial simulation time" column
I have. In the column of "improved RSP", I.P. Pomera
nz, S.M. M. "Vector by Reddy
 Restoration Based Static
 Compaction of Test Seque
nces for Synchronous Sequ
initial circuits "(synchronous sequential circuit
Restoration based on Static Compression of Test Sequence
(University of Iowa, International Conference on Computer Design
Record, pp. 360-365, August 1997).
Speed-up version of the fast algorithm was introduced
ing. The result of the above embodiment of the present invention is "SEC
O ”column. The industrial design used for the experiment
The number of gates and the number of flip-flops are shown in Table 2 in FIG.
It is shown. Due to the nature of the method based on vector restoration,
Fault coverage of the vector set is always a compressed vector
Protected by reset. For this reason, the fault coverage
No figures were reported. Table 2 uses the above acceleration technology
The results obtained are also shown. US co-pending above
Patent application no. 09 / 112,945
Such a two-stage restoration and an accelerated two-stage restoration method
The results obtained using 2-φ and 2-φ respectively*Column
Has been reported to. Initial vector used in ISCAS circuit
The torque set uses the test set generator HITEC.
Was obtained. T. M. Niermann, I .;
 H. "HITEC: A tes by Patel
t generation package for
sequential circuits ”(design
European Automation Conference (EDA)
C), pp. 214-218, March 1991)
See also. See the table below for the compression results of the ISCAS circuit.
It is shown in FIG. Both SECO and RSP technologies are flat
It shows an average compression ratio of 40%, but SECO is much faster
No. It is a small ISCAS circuit (s344, s444)
And the RSP method has better compression. Other ISCAS
For the design, the difference in compression characteristics between the two methods is almost
Absent. Clearly, from a CPU second perspective, SECO
Better than the improved RSP. s1494, s148
In a circuit like FIG. 8, the technology of the present invention is 30 times
Speed and little difference in compression efficiency. ISCAS design
So, on average, SECO uses the original vector set
Of the time it takes to simulate
Compress by about 2 times. Industrial design, three-state buffer, both
Some non-Boolean functions like directional buffers and buses
Have. In addition, set-reset flip-flops
With multiple clocks. The original test cell of such a circuit
The unit was obtained using a commercial test generator. Compression
The results are shown in Table 2. Generally, the time taken at SECO
Is about 2 to 10 times the initial failure simulation time
You. As shown in the table, the execution speed of SECO is
20 to 50 times faster and better compression. example
For industrial design p7B, SECO is 2 in 179 seconds.
7% compression, but with the improved RSP, 25% compression
It takes 10200 seconds to shrink. SECO is about 200,
Large scale design of 5000 flip-flops with 000 gates
Can be finished, but with RSP 2 days in CPU days
Even if it takes, it is not completed. Duplicate verification and improvement technologies
It has been executed. The result of these techniques is*With SEC
It is shown in the column of O. 2-φ*The edition has many segments
It is especially effective for circuits that use For example, p306
In total, there are 2666 vector segments and 2-φ
*The usage result is more than doubled in CPU seconds. In FIG.
Table 3 shows the results of SECO with segment removal.
You. The segment elimination technique of the present invention uses the synchronization prefix redundancy.
Improved compression characteristics by avoiding long-term use.
You. Table 3 shows the results of SECO after segment removal.
Circuit whose compression characteristics have been significantly improved by removing segments
There is. For example, for the ISCAS circuit s526,
Without segment removal, only 32% compression
I didn't come. However, the compression characteristics due to segment removal
Has doubled to 63%. For this reason, segment removal
Therefore, it can be seen that the improvement is remarkable. Depending on the experimental results
Segment removal technology was used to test industrial designs
It can be seen that in some cases, it can be a significant improvement. Experimental result
Is the static pressure of the present invention in terms of performance and compression efficiency.
This shows that the compression algorithm is superior. The present invention
SECO is a further modification of the known static compression technique.
Have been good. Other changes and modifications of the present invention
It will be apparent to those skilled in the art from the foregoing description. here
Has described in detail only some embodiments of the present invention.
Will not depart from the spirit and scope of the invention.
Obviously, changes can be made.

【発明の効果】以上説明したように、本発明による静的
圧縮方法は、ベクトル復元の概念に基づくが、セグメン
トと2段階復元の利用により、圧縮性能を向上し、かつ
圧縮処理に要する時間を短縮できるという効果がある。
また、本発明による上記の2段階復元とセグメント処理
技術は、CPU時間と圧縮特性をさらに改良するために
既存の静的圧縮方法に利用することもできる。
As described above, the static compression method according to the present invention is based on the concept of vector restoration. However, by using segments and two-stage restoration, the compression performance is improved and the time required for the compression processing is reduced. There is an effect that it can be shortened.
Also, the above-described two-stage restoration and segment processing technique according to the present invention can be used in existing static compression methods to further improve CPU time and compression characteristics.

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

【図1】 テストベクトルセットとそれぞれの検出時間
を記載した故障セットの1例を示す図である。
FIG. 1 is a diagram showing an example of a failure set in which test vector sets and respective detection times are described.

【図2】 2段階復元アルゴリズムを使用した圧縮を示
したブロック図である。
FIG. 2 is a block diagram illustrating compression using a two-stage decompression algorithm.

【図3】 2段階復元アルゴリズムの実施例である、S
ECOに擬似コードを実行した場合を示す図である。
FIG. 3 shows an embodiment of a two-stage restoration algorithm, S
It is a figure showing the case where pseudo code is executed to ECO.

【図4】 圧縮特性に関係するため、セグメント処理に
おけるRSP方式と本発明の方法の違いを示した線図で
ある。
FIG. 4 is a diagram showing the difference between the RSP method in segment processing and the method of the present invention because it relates to compression characteristics.

【図5】 セグメント除去アルゴリズムのための擬似コ
ードを示す図である。
FIG. 5 shows pseudo code for a segment removal algorithm.

【図6】 シミュレーション測定結果を示す図である。FIG. 6 is a diagram showing simulation measurement results.

【図7】 生産回路のための圧縮結果を示す図である。FIG. 7 illustrates a compression result for a production circuit.

【図8】 セグメントが除去されたSECOの圧縮結果
を示す図である。
FIG. 8 is a diagram showing a compression result of SECO from which a segment has been removed;

フロントページの続き (72)発明者 スリマット チャクラッダー アメリカ合衆国,ニュージャージー 08540,プリンストン,4 インディペン デンス ウェイ エヌ・イー・シー・ユ ー・エス・エー・リサーチ・ラボラトリー ズ内 (72)発明者 キラン ドレスワミ― アメリカ合衆国,ニュージャージー 08540,プリンストン,4 インディペン デンス ウェイ エヌ・イー・シー・ユ ー・エス・エー・リサーチ・ラボラトリー ズ内Continuing on the front page (72) Inventor Srimat Chakradad United States, New Jersey 08540, Princeton, 4 Independence Way NESA Research Laboratories (72) Inventor Kiran Dreswamy USA , New Jersey 08540, Princeton, 4 Independence Way NCE USA Research Laboratories

Claims (11)

【特許請求の範囲】[Claims] 【請求項1】 テストベクトルシーケンスによって検出
可能な故障セットを有し、かつ故障対象として前記故障
セットのサブセットが選択されるシステムを検査するた
めのテストベクトルシーケンスを圧縮する方法におい
て、 前記圧縮方法は復元段階と、セグメント処理段階からな
り、 前記復元段階において、ベクトルのセグメントを認識
し、前記セグメントの各々が故障対象の1つを検出し、 前記セグメント処理段階が、前記セグメントの再整理と
除去(pruning)とマージを含むことを特徴とするテスト
ベクトルシーケンスの圧縮方法。
1. A method for compressing a test vector sequence for testing a system having a failure set detectable by a test vector sequence and selecting a subset of the failure set as a failure target, the compression method comprising: A restoration step and a segment processing step. In the restoration step, the segments of the vector are recognized, and each of the segments detects one of the failure targets. A method for compressing test vector sequences, comprising pruning) and merging.
【請求項2】 前記復元段階が、検証段階と改善段階を
含み、 前記検証段階で、故障対象を検出するテストベクトルの
第1サブシーケンスと該故障対象を検出しない第2サブ
シーケンスとを認識し、 前記改善段階で、該第1サブシーケンスと該第2サブシ
ーケンスの間のサブシーケンスの中で、該故障対象を検
出する最も短いサブシーケンスを認識することを特徴と
する請求項1に記載のテストベクトルシーケンスの圧縮
方法。
2. The restoration step includes a verification step and an improvement step. In the verification step, a first subsequence of a test vector for detecting a failure target and a second subsequence not detecting the failure target are recognized. The method according to claim 1, wherein the improving step recognizes a shortest subsequence for detecting the failure target among subsequences between the first subsequence and the second subsequence. Test vector sequence compression method.
【請求項3】 システムを検査するためのテストベクト
ルシーケンスを圧縮する方法において、 前記システムが、該テストベクトルシーケンスによって
検出可能な故障セットを有してコンパクトなベクトルセ
ットを形成し、該コンパクトなベクトルセットがベクト
ルのセグメントをマージすることによって復元されるこ
とを特徴とするテストベクトルシーケンスの圧縮方法。
3. A method for compressing a test vector sequence for testing a system, the system comprising: forming a compact vector set having a set of faults detectable by the test vector sequence; A method for compressing a test vector sequence, wherein the set is restored by merging segments of the vector.
【請求項4】 前記セグメントが、冗長的な同期化シー
ケンスを削除するために除去されることを特徴とする請
求項3に記載のテストベクトルシーケンスの圧縮方法。
4. The method according to claim 3, wherein the segments are removed to eliminate redundant synchronization sequences.
【請求項5】 セグメントが見つかった場合コンパクト
セットにマージされる、テストベクトルシーケンスを圧
縮する方法において、 (a)テストベクトルと、該テストベクトルを使って検
出される故障を含む故障リストと、該故障の検出時間を
認識し、 (b)故障対象が存在する場合には該故障対象を選択
し、 (c)2段階ベクトル復元を行い、該復元により前記ス
テップ(b)で選択された故障対象を検出した場合、部
分的セグメントを補強し、 (d)前記部分的セグメントセットがセグメントの場
合、前記ステップ(c)で獲得したセグメントを除去
し、 (e)前記部分的セグメントセットがセグメントの場
合、前記ステップ(c)で獲得したセグメントをコンパ
クトセットにマージし、 (f)前記ステップ(b)で故障対象が存在するかぎ
り、前記ステップ(b)から前記ステップ(e)までの
段階を繰り返すことを特徴とするテストベクトルシーケ
ンスの圧縮方法。
5. A method for compressing a test vector sequence, wherein segments are merged into a compact set if found, comprising: (a) a test vector; a fault list including faults detected using the test vector; Recognizing the detection time of the fault, (b) selecting the fault target if it exists, (c) performing two-step vector restoration, and performing the restoration to select the fault target selected in step (b). (D) if the partial segment set is a segment, remove the segment obtained in step (c); (e) if the partial segment set is a segment Merging the segment obtained in the step (c) into a compact set, and (f) the failure target exists in the step (b). A method for compressing a test vector sequence, comprising repeating steps (b) to (e) as far as possible.
【請求項6】 前記ステップ(e)のセグメントのマー
ジ段階が、 該コンパクトセットにおいてベクトルをシミュレーショ
ンした後で獲得された既知の初期状態から新しいセグメ
ントをシミュレーションし、 該新しいセグメントを前記コンパクトセットの終端に加
えることを特徴とする請求項5に記載のテストベクトル
シーケンスの圧縮方法。
6. The step of merging segments of step (e) includes simulating a new segment from a known initial state obtained after simulating a vector in the compact set, and terminating the new segment with an end of the compact set. 6. The method according to claim 5, further comprising:
【請求項7】 前記ステップ(c)の段階が、 2つの故障が重複するシーケンスを復元した場合、該2
つの故障が1つの故障対象としてマージされるように重
複する検証を行ない、 故障対象を検出するセグメントが存在する場合重複する
改善を行なうことを特徴とする請求項5に記載のテスト
ベクトルシーケンスの圧縮方法。
7. The method according to claim 6, wherein the step (c) comprises:
6. The test vector sequence compression according to claim 5, wherein overlapping verification is performed so that one fault is merged as one fault target, and overlapping improvement is performed when there is a segment for detecting the fault target. Method.
【請求項8】 圧縮の速度を速めるためにセグメントの
除去をする方法において、 (a)j=1を割り当て、 (b)入力セグメントのj番目の要素を第1要素とし
て、かつ入力セグメントの最後の要素を最後の要素とし
て持つシーケンスリストを生成し、 (c)以前に存在したコンパクトセットにおいてベクト
ルをシミュレーションした後で獲得された既知の初期状
態から、入力セグメントによって検出される故障をシミ
ュレートするためにシミュレーションを実行し、 (d)j=j+1を割り当て、 (e)入力故障のサブセットがこれ以上検出されなくな
るまで、前記ステップ(b)のシーケンスリストを生成
する段階から、前記ステップ(b)j=j+1を割り当
てる段階までを繰り返し、 (f)入力セグメントのj−1要素で始まり、入力セグ
メントの最後の要素で終わるセグメントを出力すること
を特徴とするセグメントの除去方法。
8. A method for removing segments to increase the speed of compression, comprising: (a) assigning j = 1; (b) setting the j-th element of the input segment as the first element and ending the input segment. (C) simulate the faults detected by the input segment from the known initial state obtained after simulating the vector in a previously existing compact set (D) assign j = j + 1; (e) generate the sequence list of step (b) until no further subset of input faults are detected; (f) Starting with the j-1 element of the input segment Outputting a segment ending with the last element of the input segment.
【請求項9】 セグメントを利用することを特徴とする
圧縮方法。
9. A compression method using segments.
【請求項10】 さらにセグメントの除去を利用するこ
とを特徴とする請求項9に記載の圧縮方法。
10. The compression method according to claim 9, further comprising using segment elimination.
【請求項11】 さらにセグメントの再整理を利用する
ことを特徴とする請求項9に記載の圧縮方法。
11. The compression method according to claim 9, further comprising using segment rearrangement.
JP11119180A 1998-05-27 1999-04-27 Method for compressing static test sequence using two-stage restoration and segment processing Pending JPH11345142A (en)

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
US8675998P 1998-05-27 1998-05-27
US09135561 1998-08-18
US60086759 1998-08-18
US09/135,561 US5987636A (en) 1998-05-28 1998-08-18 Static test sequence compaction using two-phase restoration and segment manipulation

Publications (1)

Publication Number Publication Date
JPH11345142A true JPH11345142A (en) 1999-12-14

Family

ID=26775123

Family Applications (1)

Application Number Title Priority Date Filing Date
JP11119180A Pending JPH11345142A (en) 1998-05-27 1999-04-27 Method for compressing static test sequence using two-stage restoration and segment processing

Country Status (2)

Country Link
JP (1) JPH11345142A (en)
DE (1) DE19908521B4 (en)

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5444717A (en) * 1992-12-18 1995-08-22 Digital Equipment Corporation Method for providing minimal size test vector sets

Also Published As

Publication number Publication date
DE19908521B4 (en) 2007-01-11
DE19908521A1 (en) 1999-12-02

Similar Documents

Publication Publication Date Title
US5987636A (en) Static test sequence compaction using two-phase restoration and segment manipulation
Pomeranz et al. Generation of functional broadside tests for transition faults
JP3920640B2 (en) Test pattern compression method for integrated circuit test environment
JP3552093B2 (en) Vector set generation method, test system, and recording medium for storing test program
JP3324538B2 (en) Division and reorganization method, apparatus, and recording medium for statically compressing a test sequence of a sequential circuit
JP3430079B2 (en) Test pattern compression method, test pattern compression apparatus and system, and recording medium
Wu et al. Scan-based BIST fault diagnosis
JP3512728B2 (en) Method and apparatus for generating test pattern of logic circuit
Guo et al. Procedures for static compaction of test sequences for synchronous sequential circuits based on vector restoration
Bommu et al. Static test sequence compaction based on segment reordering and accelerated vector restoration
Guo et al. On speeding-up vector restoration based static compaction of test sequences for sequential circuits
Lin et al. On finding undetectable and redundant faults in synchronous sequential circuits
JP3275309B2 (en) Vector restoration method with accelerated verification and improvement
JPH11345142A (en) Method for compressing static test sequence using two-stage restoration and segment processing
JP3365325B2 (en) A test set compression method for sequential circuits
Kung et al. HyHOPE: fast fault simulator with efficient simulation of hypertrophic faults
Glaser et al. Logic optimization by an improved sequential redundancy addition and removal technique
US20060069972A1 (en) Methods and computer program products for debugging clock-related scan testing failures of integrated circuits
Pomeranz et al. An approach for improving the levels of compaction achieved by vector omission
Pomeranz et al. On fault simulation for synchronous sequential circuits
London Jr et al. Algorithms to solve qualitative problems in power system state estimation
Pomeranz Modeling a set of functional test sequences as a single sequence for test compaction
Pomeranz et al. Enumeration of test sequences in increasing chronological order to improve the levels of compaction achieved by vector omission
El-Maleh et al. A fast sequential learning technique for real circuits with application to enhancing ATPG performance
Seshadri et al. Accelerating diagnostic fault simulation using z-diagnosis and concurrent equivalence identification