JPH1114712A - Test pattern generating device of logical circuit and generating method thereof - Google Patents

Test pattern generating device of logical circuit and generating method thereof

Info

Publication number
JPH1114712A
JPH1114712A JP9168219A JP16821997A JPH1114712A JP H1114712 A JPH1114712 A JP H1114712A JP 9168219 A JP9168219 A JP 9168219A JP 16821997 A JP16821997 A JP 16821997A JP H1114712 A JPH1114712 A JP H1114712A
Authority
JP
Japan
Prior art keywords
test pattern
comparison
pattern
generating
merging
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP9168219A
Other languages
Japanese (ja)
Other versions
JP3048965B2 (en
Inventor
Hirobumi Yonetoku
博文 米徳
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 IC Microcomputer Systems Co Ltd
Original Assignee
NEC IC Microcomputer Systems 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 NEC IC Microcomputer Systems Co Ltd filed Critical NEC IC Microcomputer Systems Co Ltd
Priority to JP9168219A priority Critical patent/JP3048965B2/en
Publication of JPH1114712A publication Critical patent/JPH1114712A/en
Application granted granted Critical
Publication of JP3048965B2 publication Critical patent/JP3048965B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

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

Abstract

PROBLEM TO BE SOLVED: To reduce consumed memory at generating a test pattern for inputting to the test device of a logical circuit by a computer, and make the generating speed high. SOLUTION: Necessary information is input by means of 101 inputting connection information of a logical circuit and trouble definition information, an initial test pattern is generated by an initial test pattern generating means due to ATG (automatic test pattern generation), the initial test pattern is converted to a compressed code by a compressed code test pattern conversion means 103, and hence consumed memory is reduced. Data construction for executing test pattern mergence process at high speed is generated by a comparison data construction generating means 104, a test pattern is compressed by a test pattern compression means 105, and the compressed test pattern is output by an after compression test pattern outputting means 106.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、テストパタンの生
成装置および方法に関し、特に論理回路用テストパタン
生成装置におけるパタン圧縮に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an apparatus and a method for generating a test pattern, and more particularly, to pattern compression in a test pattern generation apparatus for a logic circuit.

【0002】[0002]

【従来の技術】近年、LSIの論理回路に対して定義さ
れた故障群を検出するためのテストパタン系列は、その
ままLSI試験機には入力されず、そのテストパタン系
列における故障検出率を低下させることなくテストパタ
ン総数を減少させるパタン圧縮という工程を経て、LS
I試験機に入力する形態が一般的になっている。これ
は、近年のLSIの大規模化に伴い、テストパタンの規
模も大規模化しているために、パタン圧縮の工程を経な
いと大規模なLSIに対するテストパタン系列がLSI
試験機に入力できなくなっているからである。
2. Description of the Related Art In recent years, a test pattern sequence for detecting a group of faults defined for a logic circuit of an LSI has not been input to an LSI tester as it is, thereby reducing the fault detection rate in the test pattern sequence. LS through the process of pattern compression to reduce the total number of test patterns without
The form of input to an I tester is common. This is because the scale of the test pattern has been increased with the recent increase in the scale of the LSI.
This is because the data cannot be input to the testing machine.

【0003】このテストパタン圧縮を計算機上で行う
際、論理回路が大規模になるとテストパタンも大規模と
なり、テストパタンを記憶するために必要なメモリ使用
量も大規模なものとなる。このテストパタン圧縮を計算
機上で行う際に、テストパタン全体は、磁気ディスク装
置等に記録しておき、必要な時にメモリ上に展開し、圧
縮処理等を行う方法もあるが、この方法では、メモリア
クセス時間(μs単位)に比べてはるかに時間のかかる
ディスクアクセス(ms以上)等が頻繁に発生し、圧縮
処理に要する時間が長くなる傾向がある。従って、圧縮
処理時間を短縮化するためには、テストパタン全体をメ
モリ中に保持しておくことが鍵となる。
When performing this test pattern compression on a computer, if the logic circuit becomes large-scale, the test pattern also becomes large-scale, and the amount of memory required for storing the test pattern also becomes large-scale. When performing this test pattern compression on a computer, there is a method in which the entire test pattern is recorded on a magnetic disk device or the like, expanded on a memory when necessary, and compression processing is performed. Disk access (ms or more), which takes much longer time than memory access time (μs), frequently occurs, and the time required for compression processing tends to be longer. Therefore, the key to shortening the compression processing time is to hold the entire test pattern in the memory.

【0004】従来、論理回路の入出力端子の論理値集合
であるテストパタンをメモリ上に記憶するには、入出力
端子1つの論理値を1バイトに対応付けて保持する方法
が一般的である。しかし、LSIの大規模化により、扱
うテストパタンの量も膨大なものになってきている。例
えば、フルスキャン回路等では、回路構成上、入出力端
子が数万端子、テストパタン数も数万パタンというもの
も存在しており、それらを従来の方法でメモリ中に記憶
させるには、数Gバイトものメモリ容量が必要になって
きている。しかし、計算機の構成上、内蔵できるメモリ
容量には限界があり、更に、メモリそのものも高価であ
るために、計算機上に十分なメモリを装備できないこと
も多い。
Conventionally, in order to store a test pattern, which is a set of logic values of input / output terminals of a logic circuit, in a memory, it is common to hold a logic value of one input / output terminal in association with one byte. . However, with the increase in the scale of LSIs, the amount of test patterns to be handled has become enormous. For example, in a full scan circuit or the like, there are tens of thousands of input / output terminals and tens of thousands of test patterns due to the circuit configuration. A gigabyte memory capacity is required. However, there is a limit to the memory capacity that can be built in due to the configuration of the computer, and furthermore, since the memory itself is expensive, it is often impossible to provide a sufficient memory on the computer.

【0005】また、従来のテストパタン圧縮のために行
う併合処理では、各テストパタン間が併合可能か否かを
判断するために、各テストパタンを総当たり性で比較
し、かつ、それらのテストパタンを構成している各入出
力端子の論理値同士を一つずつ全ての端子に対して比較
を行い、その結果が併合可能であるならば、それらのテ
ストパタンを一つに併合するという方法を採っていた。
この方法では、テストパタンのサイズが大規模になる
と、膨大な処理時間を要していた。
In the conventional merging process for compressing test patterns, in order to determine whether or not the test patterns can be merged, each test pattern is compared with brute force and the test patterns are compared. A method of comparing the logical values of the input / output terminals constituting the pattern one by one with respect to all the terminals, and merging the test patterns into one if the results can be merged. Was taken.
In this method, when the size of the test pattern becomes large, an enormous processing time is required.

【0006】従来、テストパタン圧縮を計算機上で行う
際、テストパタンをどのようにメモリ上に保持しつつ、
テストパタン圧縮が行われたか図面を用いて説明する。
Conventionally, when test pattern compression is performed on a computer, how the test pattern is stored in a memory,
Whether the test pattern compression has been performed will be described with reference to the drawings.

【0007】図8および図9は、従来のテストパタン生
成装置の構成およびテストパタン圧縮のための併合処理
フローを示した図である。ここで、図8は、従来のテス
トパタン生成装置の構成がどのようになっているかを示
したブロック図であり、図9は、テストパタン圧縮のた
めの併合処理フローを示したフローチャートである。図
10は、従来のテストパタン生成装置内において、テス
トパタン圧縮のためにテストパタンをメモリ中に保持す
るイメージ図である。図11は、テストパタンの併合を
説明するイメージ図である。図12は、従来のテストパ
タン生成装置内において、テストパタン圧縮のためのテ
ストパタン間の比較方法を示したイメージ図である。
FIGS. 8 and 9 are diagrams showing a configuration of a conventional test pattern generation device and a merging process flow for test pattern compression. Here, FIG. 8 is a block diagram showing a configuration of a conventional test pattern generation device, and FIG. 9 is a flowchart showing a merging process flow for test pattern compression. FIG. 10 is an image diagram for holding a test pattern in a memory for compressing a test pattern in a conventional test pattern generation device. FIG. 11 is an image diagram illustrating the merging of test patterns. FIG. 12 is an image diagram showing a comparison method between test patterns for compressing test patterns in a conventional test pattern generation device.

【0008】まず、図8について説明する。従来の一般
的なテストパタン生成装置は、論理回路の接続情報およ
び故障定義情報を入力する手段501と、論理回路の接
続情報と故障定義情報から定義された、故障を検出する
ための初期テストパタンをATG(自動テストパタン生
成)手法等によって生成する手段502と、初期テスト
パタンの故障検出能力を低下させることなくテストパタ
ン数を削減し圧縮後テストパタンを生成するテストパタ
ン圧縮手段503と、圧縮後テストパタンを出力する圧
縮後テストパタン出力手段504とを有している。
First, FIG. 8 will be described. A conventional general test pattern generation apparatus includes a unit 501 for inputting connection information of a logic circuit and failure definition information, and an initial test pattern for detecting a failure defined from the connection information of the logic circuit and the failure definition information. 502 using an ATG (automatic test pattern generation) method or the like; a test pattern compression means 503 for reducing the number of test patterns and generating a compressed test pattern without reducing the failure detection capability of the initial test pattern; And a post-compression test pattern output unit 504 for outputting a post-test pattern.

【0009】特に初期テストパタンを圧縮するテストパ
タン圧縮手段503の中で、テストパタンの併合処理の
動作は、図9に示すようになっている。以下、この併合
処理の動作を説明する。ステップ511で処理を開始
し、ステップ512で初期テストのパタンのリストを作
成する。ステップ513でテストパタンリスト中に比較
基準パタンとして選択されていないテストパタンが存在
するか否かを判定する。その結果、選択されていないテ
ストパタンが存在すれば、ステップ514で選択されて
いないテストパタンを比較基準パタンとして設定し、そ
のテストパタンをテストパタンリストから削除する。そ
して、ステップ515でテストパタンリスト中に比較対
象パタンとして選択されていないテストパタンが存在す
るか否かを判定する。その結果、選択されていないテス
トパタンが存在すれば、ステップ516で選択されてい
ないテストパタンを比較対象パタンとして設定する。そ
の後、ステップ517で比較基準パタンと比較対象パタ
ンを1端子分ずつ、全ての端子について比較する。ステ
ップ517の比較の結果に基づいて、ステップ518で
比較基準パタンと比較対象パタンが併合可能かどうか判
定する。ステップ518の判定の結果、併合可能な場合
には、ステップ519で比較対象パタンを比較基準パタ
ンに併合し、比較対象パタンをテストパタンリストから
削除する。ステップ515の判定の結果、テストパタン
リスト中にステップ514で設定された比較基準パタン
に対する比較対象パタンが存在しない時には、ステップ
520で当該比較基準パタンを圧縮後テストパタンとし
て抽出する。そして、ステップ513の判定の結果、テ
ストパタンリストに比較基準パタンとして設定できるテ
ストパタンが存在しなくなると、ステップ521にて処
理を終了する。
In particular, the operation of the test pattern merging process in the test pattern compression means 503 for compressing the initial test pattern is as shown in FIG. Hereinafter, the operation of the merging process will be described. In step 511, the process is started, and in step 512, a list of patterns of the initial test is created. In step 513, it is determined whether there is a test pattern not selected as a comparison reference pattern in the test pattern list. As a result, if there is an unselected test pattern, the unselected test pattern is set as a comparison reference pattern in step 514, and the test pattern is deleted from the test pattern list. Then, in step 515, it is determined whether or not there is a test pattern not selected as a comparison target pattern in the test pattern list. As a result, if there is a test pattern that is not selected, a test pattern that is not selected is set as a comparison target pattern in step 516. Thereafter, in step 517, the comparison reference pattern and the comparison target pattern are compared for all terminals by one terminal. Based on the result of the comparison in step 517, it is determined in step 518 whether the comparison reference pattern and the comparison target pattern can be merged. If the result of determination in step 518 indicates that merging is possible, in step 519 the comparison target pattern is merged with the comparison reference pattern, and the comparison target pattern is deleted from the test pattern list. As a result of the determination in step 515, when there is no comparison target pattern for the comparison reference pattern set in step 514 in the test pattern list, the comparison reference pattern is extracted as a compressed test pattern in step 520. Then, as a result of the determination in step 513, when there is no test pattern that can be set as the comparison reference pattern in the test pattern list, the process ends in step 521.

【0010】ここで、従来技術がどのようにテストパタ
ンを計算機上のメモリに保持していたか、図10を用い
て説明する。図10は、論理回路609と、この論理回
路609の入力端子部608と、この入力端子部608
を構成する入力端子610,611,612,613,
614,615と、これら入力端子610,611,6
12,613,614,615の論理値が保持されるメ
モリ601と、このメモリ6014を構成する1バイト
の容量を持つメモリエレメント616,617,61
8,619,620,621と、入力端子610,61
1,612,613,614,615が、どのメモリエ
レメントに対応するかを示す関連線602,603,6
04,605,606,607とを示している。図10
に示すように、従来の各入力端子の論理値は、1対1で
対応した1バイトの容量をもつメモリエレメントに各々
保持される。このことにより、1万端子の入力端子をも
つ論理回路のテストパタンが1万パタン存在する時に使
用するメモリ容量は、100Mバイトとなる。
Here, how the prior art holds a test pattern in a memory on a computer will be described with reference to FIG. FIG. 10 illustrates a logic circuit 609, an input terminal portion 608 of the logic circuit 609, and the input terminal portion 608.
Input terminals 610, 611, 612, 613,
614, 615 and these input terminals 610, 611, 6
A memory 601 holding the logical values of 12, 613, 614, 615 and memory elements 616, 617, 61 having a 1-byte capacity constituting the memory 6014
8, 619, 620, 621 and input terminals 610, 61
1, 612, 613, 614, and 615 are associated lines 602, 603, and 6 indicating which memory element corresponds to
04, 605, 606, and 607. FIG.
As shown in (1), the logical value of each conventional input terminal is held in a memory element having a one-byte capacity corresponding to each other on a one-to-one basis. As a result, the memory capacity used when there are 10,000 test patterns of a logic circuit having 10,000 input terminals is 100 Mbytes.

【0011】次に、テストパタンの併合について説明す
る。一般にテストパタン間の併合は、テストパタンを構
成している各入出力端子間の論理値が同じであるか、ま
たは、片側のテストパタンの端子の論理値が不確定値X
(don’t care)であるという条件が全ての端
子間で成立する時に併合可能となる。ここで、不確定値
Xである端子の論理値は、併合する端子の論理値とな
る。図11によると、テストパタン701とテストパタ
ン702は、2つのパタン間の各端子の論理値706,
707,708,709を比較すると、全ての端子間の
論理値の関係が併合可能な関係にある。従って、テスト
パタン701とテストパタン702は、併合されテスト
パタン703になる。一方、テストパタン704とテス
トパタン705は、論理値関係712により、併合条件
を満たしていないため、併合不可能な関係にある。
Next, merging of test patterns will be described. In general, the merge between test patterns is performed when the logical value between the input / output terminals constituting the test pattern is the same, or when the logical value of the terminal of one of the test patterns is an indeterminate value X
When the condition of (don't care) holds between all terminals, merging becomes possible. Here, the logical value of the terminal having the uncertain value X is the logical value of the terminal to be merged. According to FIG. 11, a test pattern 701 and a test pattern 702 have a logical value 706 of each terminal between two patterns,
When 707, 708, and 709 are compared, the logical value relationships among all terminals are in a mergeable relationship. Therefore, the test pattern 701 and the test pattern 702 are merged into a test pattern 703. On the other hand, since the test pattern 704 and the test pattern 705 do not satisfy the merging condition due to the logical value relationship 712, they cannot be merged.

【0012】図11に示したような併合が行えるかどう
か判定する処理を、図12を用いて説明する。図12で
は、3つのテストパタン系列を比較基準側(比較基準パ
タン801,802,803)と、比較対象側(比較対
象パタン804,805,806)とに分け、それらの
テストパタン間を総当たり比較807で併合可能かどう
かの判断をテストパタンレベルで行う。図12に示す例
では、3つのテストパタン系列の場合の総当たり比較回
数は3回となる。因みに、10,000パタン系列の総
当たり比較回数は、49,995,000回となる。更
に、テストパタンレベルでの1回の比較処理では、テス
トパタン808とテストパタン809間の端子数分の端
子間レベル比較810が行われる。これは、10,00
0個の入出力端子をもつ回路のテストパタンが10,0
00パタン存在し、それらが全て併合不可能であるなら
ば、数百億回以上の端子間レベル比較が行われることに
ある可能性がある。
A process for determining whether or not merging as shown in FIG. 11 can be performed will be described with reference to FIG. In FIG. 12, the three test pattern sequences are divided into a comparison reference side (comparison reference patterns 801, 802, 803) and a comparison target side (comparison target patterns 804, 805, 806), and a round robin between these test patterns is performed. In the comparison 807, whether or not merging is possible is determined at the test pattern level. In the example shown in FIG. 12, the number of round robin comparisons for three test pattern sequences is three. Incidentally, the number of round robin comparisons of the 10,000 pattern series is 49,995,000. Further, in one comparison process at the test pattern level, an inter-terminal level comparison 810 for the number of terminals between the test pattern 808 and the test pattern 809 is performed. This is 10,000
The test pattern of a circuit having 0 input / output terminals is 10,0
If there are 00 patterns and they cannot all be merged, it may be that tens of billions of terminal-to-terminal level comparisons are performed.

【0013】次に、図9に示した併合処理の動作をこれ
まで説明した図11,図12を用いて説明する。この併
合処理は、ステップ513,514,515,520を
通る外側ループと、ステップ515,516,517,
518,519を通る内側ループの2重ループから構成
されている。内側ループでは、図11のような併合可否
判断を図12に示すような端子間レベル比較810で行
い、外側ループでは、図12のテストパタンレベル総当
たり比較807を行う。このような端子間レベル比較8
10およびテストパタンレベル総当たり比較807は、
テストパタン間の併合ができなくなるまで繰り返して行
われる。
Next, the operation of the merging process shown in FIG. 9 will be described with reference to FIGS. This merging process includes an outer loop passing through Steps 513, 514, 515, and 520, and Steps 515, 516, 517, and
It is constituted by a double loop of an inner loop passing through 518 and 519. In the inner loop, merging determination as shown in FIG. 11 is performed by an inter-terminal level comparison 810 as shown in FIG. 12, and in the outer loop, a test pattern level brute force comparison 807 in FIG. 12 is performed. Such level comparison between terminals 8
10 and test pattern level brute force comparison 807 are:
This process is repeated until the test patterns cannot be merged.

【0014】図9のステップ517で行われる端子間レ
ベル比較807の詳細を、図13の例を用いて説明す
る。図13では、比較基準パタン902と比較対象パタ
ン901が存在する。これらのパタン間の端子間レベル
比較は、比較903から比較910まで行われる。この
最後の比較910では、併合条件に違反しているため、
これらのテストパタン901と902の併合はできな
い。この結論を導き出すまでに、従来の方法では8回の
端子間レベル比較を行う必要がある。ここで、仮にテス
トパタン901の端子911の論理値912が論理値1
であるならばステップ518でテストパタン901と9
02は併合可と判定され、図9のステップ519で併合
されテストパタン913となる。
The details of the inter-terminal level comparison 807 performed in step 517 of FIG. 9 will be described with reference to the example of FIG. In FIG. 13, a comparison reference pattern 902 and a comparison target pattern 901 exist. The inter-terminal level comparison between these patterns is performed from comparison 903 to comparison 910. In this last comparison 910, because it violates the merge condition,
These test patterns 901 and 902 cannot be combined. In order to reach this conclusion, it is necessary to perform the terminal-to-terminal level comparison eight times in the conventional method. Here, if the logical value 912 of the terminal 911 of the test pattern 901 is the logical value 1
If so, the test patterns 901 and 9
02 is determined to be mergeable, and merged in step 519 in FIG. 9 to form a test pattern 913.

【0015】図9のステップ513,514,515,
520から構成される外側ループで行われるテストパタ
ンレベル総当たり比較の例を、図14を用いて説明す
る。ステップ512でテストパタン901,902,9
21から構成されるテストパタンリスト933が作成さ
れる。ステップ513,514,515を経て、テスト
パタンリスト933は、比較基準テストパタン923と
比較対象テストパタンリスト926に分けられる。そし
て、比較基準テストパタンであるテストパタン902
と、比較対象テストパタンであるテストパタン901,
921間でテストパタンレベル比較930,931が行
われる。
Steps 513, 514, 515, FIG.
An example of the test pattern level brute force comparison performed in the outer loop composed of 520 will be described with reference to FIG. In step 512, the test patterns 901, 902, 9
21 is created. After steps 513, 514, and 515, the test pattern list 933 is divided into a comparison reference test pattern 923 and a comparison target test pattern list 926. Then, a test pattern 902 which is a comparison reference test pattern
And a test pattern 901, which is a test pattern to be compared.
Test pattern level comparisons 930 and 931 are performed between 921.

【0016】このテストパタンレベル比較930,93
1の実際の処理は、図13に示す端子間レベル比較その
ものである。第1回目の外側ループでは、比較基準パタ
ン923は、どの比較対象パタンとも併合できない。そ
の結果、比較基準パタン923であるテストパタン90
2がそのまま圧縮後テストパタンリスト928を構成す
る最初のテストパタンとなる。続いて、第2回目の外側
ループ処理では、残された比較対象テストパタンリスト
926が、比較基準テストパタン924と比較対象テス
トパタンリスト927として設定される。ここで、比較
基準テストパタン924は、テストパタン901であ
り、比較対象パタンリスト927は、テストパタン92
1である。そして、ステップ517に相当する比較93
2が行われ、この場合併合可とステップ518で判定さ
れ、ステップ519のようにテストパタン921をテス
トパタン901に併合し、比較対象テストパタンリスト
から削除する。その結果、併合後比較基準テストパタン
922を得ることができる。他の比較対象テストパタン
が存在しなくなってから、併合後比較基準テストパタン
922は圧縮テストパタンリスト929の一つとなる。
次の外側ループ処理では、テストパタンリストそのもの
が全て存在しなくなるので処理を終了し、終了ステップ
521に移り、併合処理そのものが終了する。
This test pattern level comparison 930, 93
The actual process 1 is the level comparison between terminals shown in FIG. In the first outer loop, the comparison reference pattern 923 cannot be merged with any comparison target pattern. As a result, the test pattern 90 which is the comparison reference pattern 923
2 is the first test pattern constituting the test pattern list 928 after compression. Subsequently, in the second outer loop processing, the remaining comparison target test pattern list 926 is set as a comparison reference test pattern 924 and a comparison target test pattern list 927. Here, the comparison reference test pattern 924 is the test pattern 901, and the comparison target pattern list 927 is the test pattern 92.
It is one. Then, the comparison 93 corresponding to step 517 is performed.
2 is performed. In this case, it is determined in step 518 that merging is possible. As in step 519, the test pattern 921 is merged with the test pattern 901 and is deleted from the comparison target test pattern list. As a result, a post-merge comparison reference test pattern 922 can be obtained. After other test patterns to be compared no longer exist, the merged comparison reference test pattern 922 becomes one of the compressed test pattern lists 929.
In the next outer loop process, the test pattern list itself does not exist, so the process ends, and the process proceeds to the end step 521, where the merging process itself ends.

【0017】[0017]

【発明が解決しようとする課題】この従来の論理回路の
テストパタン生成装置では、扱う論理回路の規模が大規
模になると、テストパタン圧縮を行う際に全てのテスト
パタンをメモリ上に保持できなくなる。理由は、テスト
パタンを構成する入出力端子を1バイトで保持してお
り、数万端子からなる数万個のテストパタンを保持する
ために数Gバイトものメモリ容量が必要となるからであ
る。
In this conventional logic circuit test pattern generation apparatus, when the scale of a logic circuit to be handled is large, it is not possible to hold all test patterns in a memory when performing test pattern compression. . The reason is that the input / output terminals constituting the test pattern are held in one byte, and a memory capacity of several gigabytes is required to hold tens of thousands of test patterns consisting of tens of thousands of terminals.

【0018】また、従来のテストパタン併合方法では、
回路が大規模になるとテストパタン圧縮のための併合時
間が長くなる。理由は、全てのテストパタン間レベル比
較を行う際、全ての端子を1つずつ端子間レベル比較を
行うため、回路の規模に対して自乗オーダー的に比較回
数が増加し併合時間が長くなるからである。
Further, in the conventional test pattern merging method,
The larger the circuit, the longer the merge time for test pattern compression. The reason is that, when performing the level comparison between all test patterns, the level comparison between all the terminals is performed one by one, so that the number of comparisons increases in a square order with respect to the circuit size, and the merging time becomes longer. It is.

【0019】本発明の目的は、論理回路の試験装置に入
力するためのテストパタン計算機にて生成する時の消費
メモリを減少させ、生成速度を高速にすることにある。
An object of the present invention is to reduce the memory consumed when generating a test pattern computer for input to a test apparatus for a logic circuit and to increase the generation speed.

【0020】[0020]

【課題を解決するための手段】上述した問題点を解決す
るために、本発明による論理回路のテストパタン生成装
置は、論理回路の接続情報および故障定義情報の入力手
段と、前記接続情報および故障定義情報から、故障を検
出するテストパタンを生成する発生手段と、前記テスト
パタンを故障検出率を低下させることなく併合する併合
手段と、前記併合されたテストパタンの出力手段と、を
備える論理回路のテストパタン生成装置において、生成
されたテストパタンを論理値記述部と繰り返し数記述部
からなる圧縮コードで表現されるテストパタンに変換し
計算機上の主記憶上に保持する手段と、前記圧縮コード
を応用して、前記テストパタンを併合する際に利用する
比較用データ構造を生成する手段と、前記比較用データ
構造を使用して、テストパタンの併合処理を行う併合手
段と、を備えている。
In order to solve the above-mentioned problems, a logic circuit test pattern generating apparatus according to the present invention comprises a logic circuit connection information and failure definition information input means, and a logic circuit connection information and failure definition information input means. A logic circuit comprising: generating means for generating a test pattern for detecting a fault from the definition information; merging means for merging the test patterns without lowering the fault detection rate; and output means for the merged test pattern Means for converting the generated test pattern into a test pattern represented by a compressed code composed of a logical value description section and a repetition number description section, and holding the test pattern in a main memory on a computer; Applying the above, means for generating a comparison data structure used when merging the test patterns, and using the comparison data structure, And merging means for performing a merging process of Sutopatan, and a.

【0021】また本発明の論理回路のテストパタン生成
方法は、論理回路の接続情報および故障定義情報を入力
するステップと、前記接続情報および故障定義情報か
ら、故障を検出するテストパタンを生成するステップ
と、前記生成したテストパタンを論理値記述部と繰り返
し数記述部からなる圧縮コードによるテストパタンに変
換するステップと、前記圧縮コードから前記テストパタ
ンをマージする際に使用する比較用データ構造を生成す
るステップと、前記テストパタンを前記比較用データ構
造を用いて併合するステップと、を含むことを特徴とす
る。
The method for generating a test pattern for a logic circuit according to the present invention includes the steps of inputting connection information and fault definition information of the logic circuit, and generating a test pattern for detecting a fault from the connection information and fault definition information. Converting the generated test pattern into a test pattern using a compressed code including a logical value description section and a repetition number description section; and generating a comparison data structure used when merging the test pattern from the compressed code. And combining the test patterns using the comparison data structure.

【0022】[0022]

【発明の実施の形態】次に本発明について図面を参照し
て説明する。図1は、本発明のテストパタン生成装置の
機能構成を示したブロック図である。図2は、本発明を
最も特徴付ける圧縮コードおよび比較用データ構造を用
いたテストパタン圧縮のための併合処理のフローチャー
トである。図3は、本発明の鍵となる圧縮コードの説明
図である。図4は、本発明の圧縮コードを用いた場合の
テストパタンのメモリ上における格納例を示したイメー
ジ図である。図5は、従来の通常コードによるテストパ
タンと本発明の圧縮コードによるテストパタンの関係、
および、本発明のもう一つの鍵である比較用データ構造
を示したイメージ図である。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Next, the present invention will be described with reference to the drawings. FIG. 1 is a block diagram showing a functional configuration of a test pattern generation device according to the present invention. FIG. 2 is a flowchart of a merging process for test pattern compression using a compressed code and a comparison data structure which characterizes the present invention most. FIG. 3 is an explanatory diagram of a compressed code which is a key of the present invention. FIG. 4 is an image diagram showing an example of storing a test pattern on a memory when the compressed code of the present invention is used. FIG. 5 shows a relationship between a test pattern using a conventional normal code and a test pattern using a compressed code according to the present invention;
FIG. 10 is an image diagram showing a comparison data structure which is another key of the present invention.

【0023】図1を参照して、本発明のテストパタン生
成装置の第1の実施の形態の構成を説明する。図1に示
すように本発明のテストパタン生成装置は、論理回路の
接続情報および故障定義情報を入力する手段101と、
論理回路の接続情報と故障定義情報から定義された故障
を検出するための初期テストパタンをATG(自動テス
トパタン生成)手法等によって生成する手段102と、
初期テストパタンを圧縮コードテストパタンに変換する
手段103と、圧縮コードを利用して、テストパタン併
合処理で使用する比較用データ構造を生成する手段10
4と、圧縮コードテストパタンおよび比較用データ構造
を使用して初期テストパタンの故障検出能力を低下させ
ることなくテストパタン数を削減し圧縮後テストパタン
を生成するテストパタン圧縮手段105と、圧縮後テス
トパタンを出力する圧縮後テストパタン出力手段106
とから構成されている。
Referring to FIG. 1, the configuration of the first embodiment of the test pattern generation device of the present invention will be described. As shown in FIG. 1, the test pattern generation device of the present invention includes a means 101 for inputting connection information of a logic circuit and failure definition information,
Means 102 for generating an initial test pattern for detecting a fault defined from the connection information of the logic circuit and the fault definition information by an ATG (automatic test pattern generation) method or the like;
Means 103 for converting an initial test pattern into a compressed code test pattern, and means 10 for generating a data structure for comparison used in the test pattern merging process using the compressed code
Test pattern compression means 105 for reducing the number of test patterns and generating a compressed test pattern without reducing the failure detection capability of the initial test pattern using the compressed code test pattern and the data structure for comparison; Test pattern output means 106 for outputting a test pattern after compression
It is composed of

【0024】ここで、図3および図4を用いて、初期テ
ストパタンを圧縮コードテストパタンに変換する手段1
03で使用する圧縮コード、および圧縮コードを用いた
テストパタンの構造例を説明する。図3は、圧縮コード
の構造例を示している。この例では、圧縮コードは、8
ビットで構成される1バイトの領域201を、論理値記
述部と、その論理値が隣り合う端子間で何端子分繰り返
しているかを記す繰り返し数記述部とに分割し、それら
を1バイトにまとめて記述する構造となっている。
Here, referring to FIGS. 3 and 4, means 1 for converting an initial test pattern into a compressed code test pattern
An example of the structure of a compressed code used in step 03 and a test pattern using the compressed code will be described. FIG. 3 shows an example of the structure of the compressed code. In this example, the compression code is 8
The one-byte area 201 composed of bits is divided into a logical value description part and a repetition number description part that describes how many terminals the logical value is repeated between adjacent terminals, and combines them into one byte. The structure is described as follows.

【0025】論理値記述部202は、論理回路の論理値
を4値(1,0,X,Z)で表現する際の論理値記述部
であり2ビットの領域を必要とする。繰り返し数記述部
205は、論理値記述部202に対する繰り返し数記述
部であり、論理値記述部202で示した論理値をもつ連
続した端子を最大6ビット分記述できる。つまり、4値
表現で示される論理回路の論理値は、この圧縮コードを
使用すると、同じ論理値が連続する64端子分の論理値
を1バイトで表現可能になるということである。従来の
方法では、1バイトで1端子分の論理値しか記述できな
かったため、同じ論理値が連続する64端子分の論理値
を記述するには64バイトの容量が必要であった。この
ように、論理値記述(保持)に圧縮コードを用いること
によって、複数端子分の論理値を1バイトで表現できる
ようになる。一般に、故障を検出するためにATG(自
動テストパタン生成)手法等によって生成された初期テ
ストパタンを構成する入出力端子は、扱う回路規模が大
きくなればなるほど、故障を検出するのに関係のない入
出力端子が多くなるため、それらの端子の論理値を不確
定値Xとして設定できる。つまり、初期テストパタン中
には、不確定値Xが非常に多く連続して存在できること
になり、この圧縮コードを用いることによって、一つの
初期テストパタン長が、従来の方法に比べて大幅に短く
なる。
The logical value description unit 202 is a logical value description unit for expressing a logical value of a logical circuit in four values (1, 0, X, Z), and requires a 2-bit area. The repetition number description unit 205 is a repetition number description unit for the logical value description unit 202, and can describe continuous terminals having the logical value indicated by the logical value description unit 202 for up to 6 bits. In other words, the logical value of the logical circuit represented by the quaternary expression is such that, when this compression code is used, the logical value of 64 terminals where the same logical value continues can be expressed by 1 byte. In the conventional method, only the logical value of one terminal can be described by one byte. Therefore, the logical value of 64 terminals in which the same logical value is continuous requires a capacity of 64 bytes. As described above, by using the compression code for the logical value description (holding), the logical values for a plurality of terminals can be expressed by one byte. In general, input / output terminals constituting an initial test pattern generated by an ATG (automatic test pattern generation) method or the like for detecting a fault have no relation to the detection of a fault as the circuit scale handled increases. Since the number of input / output terminals increases, the logical values of those terminals can be set as the uncertain value X. That is, in the initial test pattern, the uncertain value X can exist in a very large number continuously. By using this compressed code, the length of one initial test pattern can be significantly reduced as compared with the conventional method. Become.

【0026】図3において、論理回路の論理値が8値表
現である場合は、論理値記述部203と繰り返し数記述
部206の組合せとなり、16値表現の場合は、論理値
記述部204と繰り返し数記述部207の組合せにな
る。
In FIG. 3, when the logic value of the logic circuit is an octal expression, a combination of the logic value description unit 203 and the repetition number description unit 206 is used. It becomes a combination of the number description unit 207.

【0027】その他にも、圧縮コードは、複数バイトに
よる構成や、“01”,“1Z”,“0Z”というよう
なハイブリッドは論理値記述部とし、繰り返し数記述部
を可変ビット領域を繰り返し記述部とするような構成も
考えられる。
In addition, the compression code is composed of a plurality of bytes, a hybrid such as "01", "1Z", or "0Z" is a logical value description section, and the repetition number description section is a repetition description of a variable bit area. It is also conceivable to adopt a configuration in which the unit is a unit.

【0028】図4は、圧縮コードを用いてテストパタン
をメモリ上で保持した例を示したものである。入力端子
群218は、端子220,221,222,223,2
24,225から構成される。これらの入力端子が示す
テストパタンは、“11XXX0”である。これを圧縮
コードで示すと、連続する端子220と221は同じ論
理値“1”であるため、これらは1バイトで表現できそ
れらを矢印212,213が示すようにメモリ211上
のメモリエレメント226に格納できる。同様に、連続
する端子222,223,224は、矢印214,21
5,216が示すようにメモリエレメント227に格納
でき、最後の端子225は、矢印217が示すようにメ
モリエレメント228に格納できる。このように、この
例では従来6バイト分の容量が必要であったテストパタ
ン長が3バイト分の容量で済み省メモリ化できる。一般
入力,回路規模が大きくなるほど、1つのテストパタン
中で不確定値Xが占める論理値の割合が非常に高く(9
0%以上に)なる傾向があるため、圧縮コードを用いる
ことによるメモリ使用量縮小化率は増加する。
FIG. 4 shows an example in which a test pattern is stored in a memory using a compressed code. The input terminal group 218 includes terminals 220, 221, 222, 223, and 2
24, 225. The test pattern indicated by these input terminals is “11XXX0”. When this is indicated by a compressed code, since the consecutive terminals 220 and 221 have the same logical value “1”, they can be represented by one byte and these are stored in the memory element 226 on the memory 211 as indicated by arrows 212 and 213. Can be stored. Similarly, the continuous terminals 222, 223, and 224 are indicated by arrows 214 and 21.
5, 216, can be stored in the memory element 227, and the last terminal 225 can be stored in the memory element 228, as indicated by the arrow 217. As described above, in this example, the test pattern length which conventionally required the capacity of 6 bytes is reduced to the capacity of 3 bytes, and the memory can be saved. As the general input and the circuit size increase, the ratio of the logical value occupied by the uncertain value X in one test pattern becomes very high (9
0% or more), the reduction rate of the memory usage by using the compression code increases.

【0029】次に、比較用データ構造を生成する手段1
04の中で示される比較用データ構造を説明する。ま
ず、2つのテストパタンが併合可能かどうかを示す併合
条件を整理すると以下のようになる。
Next, means 1 for generating a data structure for comparison
The data structure for comparison shown in FIG. First, the merging conditions indicating whether two test patterns can be merged are summarized as follows.

【0030】『2つのテストパタンをそれぞれTP
,TPb とし、テストパタンを構成する端子を示す
インデックスをiとした時に、テストパタンTPa
i番目の端子の論理値をLV(TPa (i))、テス
トパタンTPb のi番目の端子の論理値をLV(TP
b (i))で表現すると仮定する。この時、 1.LV(TPa (i))とLV(TPb (i))が
等しい。
[Two test patterns are respectively TP
a , TPb, and an index indicating a terminal constituting the test pattern is i, the test pattern TPa The logical value of the i-th terminal of the test pattern TPb is LV (TPa (i)), and the logical value of the i-th terminal of the test pattern TPb is LV (TPa (i)).
b (i)). At this time, 1. LV (TPa (i)) and LV (TPb (i)) are equal.

【0031】2.LV(TPa (i))が不確定値X
である。
2. LV (TPa (i)) is an uncertain value X
It is.

【0032】3.LV(TPb (i))が不確定値Xで
ある。 のいずれかの条件が全て端子間で成立すれば、テストパ
タンTPa とTPb は併合可能である。』これを言い
替えるならば、いずれかの端子において、上記条件の全
てが成立しない時には、併合不可能である。そこで、こ
の併合可能であるかという併合条件を併合不可能である
かという条件におきかえてみると、『いずれかの端子
で、 1.LV(TPa (i))とLV(TPb (i))が
不確定値Xでない。
3. LV (TP b (i)) is the uncertain value X. If any one of the conditions is satisfied between the terminals, the test patterns TPa and TPb can be merged. In other words, if all of the above conditions are not satisfied at any terminal, merging is impossible. Therefore, when the merging condition of whether or not merging is possible is changed to the condition of whether or not merging is possible, the following condition is obtained. LV (TPa (i)) and LV (TPb (i)) are not uncertain values X.

【0033】2.LV(TPa (i))とLV(TP
b (i))が等しくない。 の全ての条件が成立すれば、テストパタンTPa とT
Pb は併合不可能である。』となる。つまり、『併合
可能かどうかを判断するためには、テストパタンTPa
を構成する端子の中で、不確定値でない論理値をもつ
端子と、その端子に対応する他のテストパタンTPb
の端子との組合せのみを比較すればよい。』※1 ということになる。
2. LV (TPa (i)) and LV (TP
b (i)) are not equal. Are satisfied, the test patterns TPa and TPa
Pb cannot be merged. ]. In other words, "To determine whether merging is possible, the test pattern TPa
Of the terminals having a logical value that is not an uncertain value, and another test pattern TPb corresponding to the terminal.
Only the combination with the terminal described above need be compared. ] * 1

【0034】また、比較するテストパタンは、比較基準
パタンと、比較対象パタンに分けられる。比較基準パタ
ンは、テストパタンリスト中の他のテストパタンを比較
対象として、併合可能かどうか比較判定され、必要に応
じて比較対象パタンを併合していく。これは、併合処理
が多くなれば、比較基準パタン中の不確定値Xの数は減
少し確定値の数が増えるので、確定値をもつ端子をキー
として併合可能かどうかを判定するには時間がかかるよ
うになる。この問題を解決するため、本発明では、※1
の中におけるテストパタンTPaとして、比較対象パタ
ンを使用する。
The test patterns to be compared are divided into comparison reference patterns and comparison target patterns. The comparison reference pattern is compared with another test pattern in the test pattern list as a comparison target to determine whether or not merging is possible, and the comparison target patterns are merged as necessary. This is because if the number of merge processing increases, the number of uncertain values X in the comparison reference pattern decreases and the number of confirmed values increases, so it takes time to determine whether or not merging can be performed using a terminal having a confirmed value as a key. Will be applied. To solve this problem, in the present invention, * 1
Is used as a test pattern TPa in.

【0035】比較用データ構造とは、上記根拠に基づ
き、2つのテストパタンが併合不可能かどうかを早期に
判定するために使用されるものであり、全てのテストパ
タン毎に必要となる。比較用データ構造は、テストパタ
ンを構成している端子の中で、確定値をもつ端子のみを
圧縮コードで表現し、その圧縮コードが示す端子群の中
の最小のインデックス値を、その圧縮コードとの対(組
合せ)としてもつデータ構造である。この比較用データ
構造から、そのテストパタンの全ての確定値をもつ端子
がどれであるか識別することができるようになる。従っ
て、図5では比較用圧縮コードパタン304と入出力端
子インデックス配列305を合わせたものが、比較用デ
ータ構造となる。図5の圧縮コードテストパタン303
で論理値として示している。A,B,C,D,E,F
は、圧縮コードを便宜的に表現したものである。ここ
で、Aは、論理値Xが4端子分続いていることを示し、
Bは論理値1が2端子分、Cは論理値Xが1端子分、D
は論理値1が1端子分、Eは論理値0が2端子分、Fは
論理値Xが2端子分、続いていることを示している。比
較対象パタン306は、比較基準パタン307との間
で、6回の端子間レベル比較308を行えばよいことに
なる。これは、従来の手法では15回の比較を行ってい
た点に比べると、半数以下の比較回数で済み高速化でき
る。また、更に、比較用データ構造304,306は、
圧縮コードで表現されているために、必要以上のメモリ
は消費しない。
The data structure for comparison is used to determine at an early stage whether two test patterns cannot be merged based on the above grounds, and is required for every test pattern. In the data structure for comparison, only the terminal having a definite value among the terminals constituting the test pattern is represented by a compressed code, and the minimum index value in the terminal group indicated by the compressed code is represented by the compressed code. This is a data structure having a pair (combination) with. From this comparison data structure, it is possible to identify which terminal has all the definite values of the test pattern. Therefore, in FIG. 5, the combination of the compression code pattern for comparison 304 and the input / output terminal index array 305 is a comparison data structure. The compressed code test pattern 303 of FIG.
Is shown as a logical value. A, B, C, D, E, F
Is a convenient representation of the compressed code. Here, A indicates that the logical value X continues for four terminals,
B is a logical value 1 for two terminals, C is a logical value X for one terminal, D
Indicates that the logical value 1 corresponds to one terminal, E indicates that the logical value 0 corresponds to two terminals, and F indicates that the logical value X corresponds to two terminals. The comparison target pattern 306 only needs to perform the inter-terminal level comparison 308 six times with the comparison reference pattern 307. This can be performed at a speed that is less than half the number of comparisons as compared with the point where the conventional method has performed 15 comparisons, and can achieve high speed. Further, the comparison data structures 304 and 306
Because it is expressed in compressed code, it does not consume more memory than necessary.

【0036】次に、図1,図2,図5を参照して、本発
明の実施の形態の動作を説明する。論理回路接続情報お
よび故障定義情報を入力し、ATG(自動テストパタン
生成)手法等を用いて定義された故障を検出するための
初期テストパタンを生成し、初期テストパタンの併合処
理に入る。これより、本発明を最も特徴付ける初期テス
トパタンに対する併合処理の動作を説明する。
Next, the operation of the embodiment of the present invention will be described with reference to FIGS. The logic circuit connection information and the fault definition information are input, an initial test pattern for detecting a fault defined using an ATG (automatic test pattern generation) method or the like is generated, and the process for merging the initial test patterns is started. The operation of the merging process for the initial test pattern which characterizes the present invention most will now be described.

【0037】まず、ステップ111より併合処理を開始
し、初期テストパタンを圧縮コードより構成される圧縮
コードテストパタンに変換し、圧縮構成テストパタンリ
ストを作成する(ステップ112)。続いて、全てのテ
ストパタンに対して、端子間レベル比較のために圧縮コ
ードを利用した比較用データ構造を作成する(ステップ
113)。その後、ステップ112で作成された圧縮コ
ードテストパタンリストに、比較基準パタンとして選択
されていない圧縮コードテストパタンが存在するか否か
を判定する(ステップ114)。ステップ114にて、
比較基準パタンとして選択されていない圧縮コードテス
トパタンが存在する場合、その圧縮コードテストパタン
リストから削除し、比較基準パタンとして設定する(ス
テップ115)。ステップ115にて、比較基準パタン
として設定された圧縮コードテストパタンを、通常コー
ドテストパタンに戻す(ステップ116)。ここまでの
ステップで、比較基準パタンが設定されている。
First, the merging process is started from step 111, the initial test pattern is converted into a compressed code test pattern composed of compressed codes, and a compressed configuration test pattern list is created (step 112). Subsequently, a comparison data structure using a compression code is created for all the test patterns for comparing levels between terminals (step 113). Thereafter, it is determined whether or not a compressed code test pattern not selected as a comparison reference pattern exists in the compressed code test pattern list created in step 112 (step 114). At step 114,
If there is a compressed code test pattern that has not been selected as a comparison reference pattern, it is deleted from the compression code test pattern list and set as a comparison reference pattern (step 115). In step 115, the compressed code test pattern set as the comparison reference pattern is returned to the normal code test pattern (step 116). In the steps up to this point, the comparison reference pattern has been set.

【0038】次に、圧縮コードテストパタンリストから
比較対象パタンとして選択されていない圧縮コードテス
トパタンが存在するか否かを判定する(ステップ11
7)。ステップ117にて、比較対象パタンとして選択
されていない圧縮コードテストパタンが存在する場合、
その圧縮コードテストパタンに対する比較用データ構造
を比較対象パタンとして設定する(ステップ118)。
続いて、ステップ116で設定された比較基準パタンお
よびステップ119で設定された比較基準パタン間で、
図5に示す端子間レベル比較308のような端子間レベ
ル比較を行う(ステップ119)。ステップ119の端
子間レベル比較の結果、比較対象パタンを比較基準パタ
ンに併合可能か否かを判断する(ステップ120)。ス
テップ120により、比較対象パタンを比較基準パタン
に併合可能であるならば、比較対象パタンに対応する圧
縮コードテストパタンを圧縮コードテストパタンリスト
から削除し、比較対象パタンを比較基準パタンに併合す
る(ステップ121)。ステップ120により、比較対
象パタンを比較基準パタンに併合できなければ、ステッ
プ117に戻る。ステップ117により、ステップ11
6で設定された比較基準パタンと比較するための比較対
象パタンとして選択されていない圧縮コードテストパタ
ンが存在しなければ、その比較基準パタンを圧縮後テス
トパタンの一つとして抽出する(ステップ122)。ス
テップ114より、圧縮コードテストパタンリストに比
較基準パタンとして設定できる圧縮コードテストパタン
が存在しなければ併合処理を終了する(ステップ12
3)。
Next, it is determined whether or not there is a compressed code test pattern that is not selected as a pattern to be compared from the compressed code test pattern list (step 11).
7). In step 117, if there is a compressed code test pattern that is not selected as a comparison target pattern,
The comparison data structure for the compressed code test pattern is set as a comparison target pattern (step 118).
Subsequently, between the comparison reference pattern set in step 116 and the comparison reference pattern set in step 119,
An inter-terminal level comparison such as the inter-terminal level comparison 308 shown in FIG. 5 is performed (step 119). As a result of the inter-terminal level comparison in step 119, it is determined whether the comparison target pattern can be merged with the comparison reference pattern (step 120). According to step 120, if the comparison target pattern can be merged with the comparison reference pattern, the compressed code test pattern corresponding to the comparison target pattern is deleted from the compression code test pattern list, and the comparison target pattern is merged with the comparison reference pattern ( Step 121). If it is determined in step 120 that the comparison target pattern cannot be merged with the comparison reference pattern, the process returns to step 117. Step 117 causes step 11
If there is no compressed code test pattern that is not selected as a comparison target pattern for comparison with the comparison reference pattern set in step 6, the comparison reference pattern is extracted as one of the post-compression test patterns (step 122). . From step 114, if there is no compressed code test pattern that can be set as a comparison reference pattern in the compressed code test pattern list, the merging process ends (step 12).
3).

【0039】ここで、ステップ115,116におい
て、圧縮コードで記述されているテストパタンを通常コ
ードで記述されるテストパタンに変換して比較基準パタ
ンとして設定する理由を述べる。その理由は、端子間レ
ベル比較の間、比較基準パタンは、そのパタンを構成す
る端子の論理値を何度も参照する必要があり、その参照
を可能な限り容易化するためである。この時、比較基準
パタンは、端子間レベル比較が終了すると直ちに、圧縮
後テストパタンとして抽出されるため、併合処理部にお
けるメモリ使用量を増加させることはない。
Here, the reason why the test pattern described in the compressed code is converted into the test pattern described in the normal code and set as the comparison reference pattern in steps 115 and 116 will be described. The reason is that, during the inter-terminal level comparison, the comparison reference pattern needs to refer to the logical values of the terminals constituting the pattern many times, and this reference is made as easy as possible. At this time, the comparison reference pattern is extracted as a post-compression test pattern immediately after the end of the inter-terminal level comparison, so that the memory usage in the merging unit does not increase.

【0040】次に、本発明の第1の実施の形態の一実施
例を詳細に説明する。本実施例も従来の方法と同じよう
に、併合処理部におけるテストパタンの比較には、テス
トパタンレベル比較と端子間レベル比較という2つの段
階がある。図15は、図14に示した従来の技術のテス
トパタンレベル比較の内容を本発明に適用した場合の例
である。従来の技術における通常コードテストパタンリ
スト933は、圧縮コードテストパタンリスト1009
と比較用データ構造リスト1012に変化する。そし
て、比較基準パタン1015として選択される圧縮コー
ドテストパタン1006は、従来技術の通常コードテス
トパタンの比較基準パタン923と同じように通常コー
ドテストパタン1002に展開される。残された圧縮コ
ードテストパタン1007と1008は、比較用データ
構造1005と1011と共に比較対象パタン1016
となる。比較基準パタンと比較対象パタン間のテストパ
タンレベル比較は、通常コードテストパタン1002
と、比較用データ構造1010,1011とを復号化し
ながら、テストパタンレベル比較1025,1026が
行われる。しかし、この比較では、比較基準パタン10
15に併合できる比較対象パタン1016は存在しない
ため、比較基準パタン1015は、そのまま圧縮後パタ
ンリスト1022として、磁気ディスク等の外部記憶装
置に出力される。その後、残された圧縮コードテストパ
タンリスト1009から圧縮コードテストパタン100
7が、比較基準パタン1017として選択される。この
時、圧縮コードテストパタン1007は、通常コードテ
ストパタン1001に戻される。残された圧縮コードテ
ストパタン1008が比較対象パタン1018として設
定され、その比較用データ構造1011との間でテスト
パタンレベル比較が行われる。その結果、併合条件を満
たすために、比較対象パタン1018を構成する圧縮コ
ードテストパタン1008は、比較基準パタン1017
である通常コードテストパタン1019に復号された上
で併合される。そして、比較基準パタン1017は、併
合後比較基準パタン1020になる。もう他に、比較対
象パタンが存在しないため、併合後比較基準パタン10
20は、圧縮後パタンリスト1024を構成する通常コ
ードテストパタン1023として、磁気ディスク等の外
部記憶装置に出力される。以上が、一実施例におけるテ
ストパタン間レベルの比較処理の動作となる。
Next, an example of the first embodiment of the present invention will be described in detail. In the present embodiment, as in the conventional method, the comparison of the test patterns in the merge processing unit has two stages, that is, a test pattern level comparison and an inter-terminal level comparison. FIG. 15 shows an example in which the contents of the test pattern level comparison of the prior art shown in FIG. 14 are applied to the present invention. The normal code test pattern list 933 in the prior art is a compressed code test pattern list 1009.
To the comparison data structure list 1012. Then, the compressed code test pattern 1006 selected as the comparison reference pattern 1015 is developed into the normal code test pattern 1002 in the same manner as the comparison reference pattern 923 of the conventional normal code test pattern. The remaining compressed code test patterns 1007 and 1008 together with the comparison data structures 1005 and 1011 together with the comparison target pattern 1016
Becomes The test pattern level comparison between the comparison reference pattern and the comparison target pattern is performed by using the normal code test pattern 1002.
The test pattern level comparisons 1025 and 1026 are performed while decoding the comparison data structures 1010 and 1011. However, in this comparison, the comparison reference pattern 10
Since there is no comparison target pattern 1016 that can be merged with the reference pattern 15, the comparison reference pattern 1015 is output as it is to the external storage device such as a magnetic disk as the compressed pattern list 1022. After that, the compressed code test pattern 100
7 is selected as the comparison reference pattern 1017. At this time, the compressed code test pattern 1007 is returned to the normal code test pattern 1001. The remaining compressed code test pattern 1008 is set as a comparison target pattern 1018, and a test pattern level comparison is performed with the comparison data structure 1011. As a result, in order to satisfy the merging condition, the compressed code test pattern 1008 constituting the comparison target pattern 1018 is compared with the comparison reference pattern 1017.
Are decoded into a normal code test pattern 1019 and then merged. Then, the comparison reference pattern 1017 becomes the merged comparison reference pattern 1020. Since there is no other pattern to be compared, the comparison reference pattern 10
Reference numeral 20 is output to an external storage device such as a magnetic disk or the like as a normal code test pattern 1023 constituting the compressed pattern list 1024. The above is the operation of the comparison processing of the test pattern level in the embodiment.

【0041】次に、端子間レベル比較の例を、図13,
図14,図15,図16を用いて説明する。従来の方法
では、図13の端子間レベル比較を例に示すように、テ
ストパタン901は比較対象パタンとして扱われるが、
本発明では図15の比較用データ構造1005が比較対
象パタンとして使用される。この比較用データ構造10
05は、論理値0が1つ連続していること示す圧縮コー
ドdと、その圧縮コードの論理値をもつ最初の端子がど
れであるかを示す端子インデックス1との対(組合せ)
と、論理値1が1つ連続していることを示す圧縮コード
bと、その圧縮コードの論理値をもつ最初の端子がどれ
であるかを示す端子インデックス8との対(組合せ)か
ら構成されている。従来、端子間レベル比較は、図13
のように端子間比較903から910までの8回の比較
を行っていた。しかし、図15の比較用データ構造10
05は、比較の必要性のある端子だけ記述されているた
め、端子インデックス1と8の端子間比較1003と1
004の2回のみを行えばよく、従来の方法に比べ大幅
に比較回数を少なくできる。ここで、図15,図16で
使用した圧縮コード(a,b,c,d,e,f)は、便
宜的に使用したものであり、それぞれ次の意味をもつ圧
縮コードを表現したものにすぎない。
Next, an example of level comparison between terminals will be described with reference to FIGS.
This will be described with reference to FIGS. In the conventional method, the test pattern 901 is treated as a comparison target pattern as shown in the example of the inter-terminal level comparison in FIG.
In the present invention, the comparison data structure 1005 in FIG. 15 is used as a comparison target pattern. This comparison data structure 10
05 is a pair (combination) of a compression code d indicating that one logical value 0 is continuous and a terminal index 1 indicating which first terminal has the logical value of the compression code.
, And a pair (combination) of a compression code b indicating that one logical value 1 is continuous and a terminal index 8 indicating which first terminal has the logical value of the compression code. ing. Conventionally, the level comparison between terminals is shown in FIG.
As described above, eight comparisons from terminal comparison 903 to 910 were performed. However, the comparison data structure 10 of FIG.
05, only the terminals that need to be compared are described.
004 only needs to be performed twice, and the number of comparisons can be greatly reduced as compared with the conventional method. Here, the compressed codes (a, b, c, d, e, f) used in FIGS. 15 and 16 are used for convenience, and are expressed as compressed codes having the following meanings, respectively. Only.

【0042】a:論理値Xが5回連続するコード b:論理値1が1回連続するコード c:論理値0が2回連続するコード d:論理値0が1回連続するコード e:論理値Xが6回連続するコード f:論理値Xが1回連続するコード g:論理値Xが2回連続するコード 次に、図6を参照して、本発明の第2の実施の形態の構
成について説明する。図6に示す第2の実施の形態は、
図1に示す第1の実施の形態とは、比較用データ構造生
成手段がエラー端子情報付き比較用データ構造生成手段
になっている点、および、テストパタン圧縮手段が事前
判定機能付きのテストパタン圧縮手段になっている点で
異なる。一般にATG(自動テストパタン生成)におい
て、回路のある部分に定義された複数の故障に対して生
成された複数のテストパタンは、テストパタン中のごく
限られた部分の入力端子の値が異なり、その不一致場所
が偏る場合が多い。そこで、この事前判定機能とは、端
子間レベル比較を行う時に、併合不可能と判定される原
因となった比較対象パタンの端子とその論理値をエラー
端子情報として比較用データ構造に保持しておき、その
情報を2回目以降の異なる比較基準パタンとの端子間レ
ベル比較を行う前に、その比較対象パタンが比較基準パ
タンと併合不可能かどうかの事前判定を行うことを意味
する。この事前判定を行うことにより、併合不可能なパ
タン間の端子間レベル比較回数を大幅に削減し処理速度
を向上させる。
A: Code in which logical value X is repeated 5 times b: Code in which logical value 1 is repeated once c: Code in which logical value 0 is repeated twice d: Code in which logical value 0 is repeated once e: Logical A code in which the value X is repeated six times f: A code in which the logical value X is repeated once g: A code in which the logical value X is repeated twice Next, referring to FIG. 6, a second embodiment of the present invention will be described. The configuration will be described. The second embodiment shown in FIG.
The first embodiment shown in FIG. 1 is different from the first embodiment in that the comparison data structure generation means is a comparison data structure generation means with error terminal information, and the test pattern compression means is a test pattern with a preliminary judgment function. They differ in that they are compression means. Generally, in ATG (automatic test pattern generation), a plurality of test patterns generated for a plurality of faults defined in a certain part of a circuit have different input terminal values in a very limited part of the test pattern. In many cases, the mismatch location is biased. Therefore, this pre-determination function is to hold the terminal of the comparison target pattern and its logical value that caused the determination to be unmergeable when performing the inter-terminal level comparison in the data structure for comparison as error terminal information. This means that before performing the inter-terminal level comparison of the information with a different comparison reference pattern for the second time or later, it is determined in advance whether the comparison target pattern cannot be merged with the comparison reference pattern. By performing this preliminary judgment, the number of times of comparing the levels between terminals between patterns that cannot be merged is greatly reduced, and the processing speed is improved.

【0043】次に、図7を参照して、本発明の第2の実
施の形態の動作を説明する。図7に示す第2の実施の形
態の動作は、図2に示す第1の実施の形態の動作とは、
比較用データ構造を作成する時にエラー端子情報領域も
作成するようにステップ413が変更された点と、端子
間レベル比較の結果を判定するステップ421の後に併
合条件を満足しなかった端子とその論理値をエラー端子
として比較用データ構造に追加するステップ423が追
加されている点と、そのステップ423で生成したエラ
ー端子情報を基に端子間レベル比較を行うステップ42
0の前に、その比較対象パタンにエラー端子が設定さ
れ、かつエラー端子の論理値が比較基準パタンの対応す
る端子の論理値とでは併合不可能であるかを判定するス
テップ419が追加されている点が異なる。
Next, the operation of the second embodiment of the present invention will be described with reference to FIG. The operation of the second embodiment shown in FIG. 7 is different from the operation of the first embodiment shown in FIG.
The point that step 413 is changed so that an error terminal information area is also created when the comparison data structure is created, the terminal that does not satisfy the merging condition after step 421 for determining the result of the inter-terminal level comparison, and its logic A step 423 of adding a value to the comparison data structure as an error terminal is added, and a step 42 of performing an inter-terminal level comparison based on the error terminal information generated in the step 423
Before 0, step 419 is added to determine whether an error terminal is set for the comparison target pattern and whether the logical value of the error terminal cannot be merged with the logical value of the corresponding terminal of the comparison reference pattern. Are different.

【0044】第1の実施の形態の場合、いずれのテスト
パタンとも併合できないテストパタンが存在すると、併
合できないにも拘わらず、各比較基準パタン間の端子間
レベル比較が行われることになる。しかし、これは全く
無駄な処理である。時として、併合不可能と判定される
原因となる端子は、いくつか限定される。この限定され
た併合不可能な端子をエラー端子として抽出し(ステッ
プ423)、そのテストパタンに対する端子間レベル比
較を行う前に、そのエラー端子のみの比較を行いそのテ
ストパタンが比較基準パタンとの間で併合不可能である
かを早期に判定することによって、端子間レベル比較を
行わなくてすむようにする(ステップ419)。
In the case of the first embodiment, when there is a test pattern that cannot be merged with any of the test patterns, the terminal-to-terminal level comparison between the comparison reference patterns is performed despite the fact that the test patterns cannot be merged. However, this is completely useless processing. In some cases, the number of terminals that are determined to be unmergeable are limited. This limited unmergeable terminal is extracted as an error terminal (step 423), and before comparing the test pattern with the inter-terminal level, only the error terminal is compared and the test pattern is compared with the comparison reference pattern. It is determined at an early stage whether or not merging is impossible between the terminals, so that the level comparison between the terminals does not have to be performed (step 419).

【0045】次に、実施例について説明する。図16に
おいて、テストパタン1001の端子1028の論理値
1が論理値1029で示す論理値0であると仮定する。
この時、テストパタン1002,1001,1013は
いずれとも併合できない。テストパタンレベル比較10
26の端子間レベル比較の結果、比較対象パタンである
テストパタン1013のエラー端子は端子1030とな
り、その論理値1031と共にエラー端子情報として比
較用データ構造のエラー端子情報領域に記憶される。次
のテストパタンレベル比較1027の端子間レベル比較
を行う前に、エラー端子情報に基づく併合可否判定(ス
テップ419)を行うと、直ちにテストパタン1013
は比較基準パタン1017として選択されているテスト
パタン1001とは併合できないと判定され、端子間レ
ベル比較を行う必要がなくなる。
Next, an embodiment will be described. In FIG. 16, it is assumed that the logical value 1 of the terminal 1028 of the test pattern 1001 is the logical value 0 indicated by the logical value 1029.
At this time, the test patterns 1002, 1001, and 1013 cannot be combined. Test pattern level comparison 10
As a result of the inter-terminal level comparison of 26, the error terminal of the test pattern 1013, which is the pattern to be compared, becomes the terminal 1030 and is stored together with its logical value 1031 as error terminal information in the error terminal information area of the comparison data structure. Before performing the inter-terminal level comparison of the next test pattern level comparison 1027, if merging is determined based on the error terminal information (step 419), the test pattern 1013 is immediately executed.
Is determined to be incapable of being merged with the test pattern 1001 selected as the comparison reference pattern 1017, and there is no need to perform an inter-terminal level comparison.

【0046】次に実施例の変形例を示す。これまで述べ
たように、エラー端子情報を併合条件判定に利用するこ
とにより、端子間レベル比較回数を大幅に削減できる。
このエラー端子情報は、早期に併合不可能なパタンを見
つけるために使用するものであり、その形態には、上記
実施例で説明した1つのエラー端子の情報を格納する以
外に、比較用データ構造内の端子情報の並びを、併合不
可能であると判定される鍵となった端子のエラー発生頻
度順に並べるための情報を格納する場合もある。このよ
うにすることにより、端子間レベル比較は、エラーの発
生しやすい端子から比較されることにより、早期に併合
不可能かどうかの判定ができるようになる。このような
エラー端子情報の形態をとる場合、図16において、比
較用データ構造1011は、1回目のテストパタンレベ
ル1032における端子間レベル比較1026で、端子
1030がエラー端子となり、比較基準パタン1015
を構成するテストパタン1002とは併合できない。そ
の結果、ステップ420では、比較用データ構造101
1が比較用データ構造1034になるような、端子並び
情報がエラー端子情報領域に貯えられる。そして、2回
目のテストパタンレベル比較1033における端子間レ
ベル比較1027では、比較用データ構造1034と、
端子1028が論理値1029として設定されたテスト
パタン1001が比較される。この比較では、真っ先に
エラー端子1030が比較され、1回目の端子レベル比
較時に併合不可能と判定できるようになる。そして、こ
のようなエラー端子情報の形態を採る時には、ステップ
419は、ステップ420に併合された形となる。
Next, a modified example of the embodiment will be described. As described above, by using the error terminal information to determine the merging condition, the number of times of comparing the levels between terminals can be greatly reduced.
This error terminal information is used to find a pattern that cannot be merged at an early stage. In this embodiment, in addition to storing the information of one error terminal described in the above embodiment, a data structure for comparison is used. In some cases, information for arranging the terminal information in the table in the order of the error occurrence frequency of the key terminal determined to be unmergeable may be stored. In this way, the inter-terminal level comparison can be made at an early stage to determine whether or not merging is impossible by comparing from the terminal where an error is likely to occur. In the case of such an error terminal information form, in FIG. 16, the comparison data structure 1011 is a terminal-to-terminal level comparison 1026 at the first test pattern level 1032, where the terminal 1030 becomes an error terminal and the comparison reference pattern 1015
Cannot be merged with the test pattern 1002 constituting As a result, in step 420, the comparison data structure 101
The terminal arrangement information such that 1 becomes the comparison data structure 1034 is stored in the error terminal information area. Then, in the inter-terminal level comparison 1027 in the second test pattern level comparison 1033, the comparison data structure 1034 and
The test pattern 1001 whose terminal 1028 is set as the logical value 1029 is compared. In this comparison, the error terminal 1030 is compared first, and it can be determined that merging is not possible during the first terminal level comparison. Then, when adopting such a form of the error terminal information, step 419 becomes a form merged with step 420.

【0047】以上、説明したように、第2の実施の形態
は、第1の実施の形態以上に比較回数を減少できるた
め、併合処理時間を削減できる。
As described above, in the second embodiment, the number of comparisons can be reduced more than in the first embodiment, so that the merging processing time can be reduced.

【0048】[0048]

【発明の効果】本発明の第1の効果は、テストパタン生
成の際に、テストパタンの併合処理に要する計算機上の
使用メモリ量を削減できることである。その理由は、テ
ストパタンを圧縮コードを用いて表現し、計算機上に保
持した上で、併合処理を行うからである。
The first effect of the present invention is that the amount of memory used on the computer required for the merge processing of test patterns when generating test patterns can be reduced. The reason is that the test pattern is expressed using a compression code, held on a computer, and then merged.

【0049】例えば、フルスキャン回路で20000個
の入出力端子をもつ回路に対して50000パタンのテ
ストパタン系列が生成された時、コレクタを従来の技術
で、計算機上のメモリに保持するためには、1GBのメ
モリ量が必要であったが、本発明を用いることにより、
1パタン中の不確定値Xの数が90%であると最悪でも
約100MB程度のメモリ量ですむ。
For example, when a test pattern sequence of 50,000 patterns is generated for a circuit having 20,000 input / output terminals by a full scan circuit, in order to hold a collector in a memory on a computer by a conventional technique, 1GB of memory was required, but by using the present invention,
If the number of uncertain values X in one pattern is 90%, a memory amount of about 100 MB is required at worst.

【0050】本発明の第2の効果は、テストパタンの併
合処理速度を向上できることである。その理由は、テス
トパタンの併合処理を行う際に、圧縮コードを応用した
比較用データ構造を利用し、併合処理のための端子間レ
ベル比較回数を削減でき、更に、併合処理に失敗した端
子をエラー端子情報として記憶し、その情報から次回以
降の併合可否判定効率を高め併合可否判定のためのテス
トパタンの比較回数を削減できるからである。
The second effect of the present invention is that the processing speed of test pattern merging can be improved. The reason is that when performing test pattern merging processing, the number of level comparisons between terminals for merging processing can be reduced by using a comparison data structure that applies compressed code, This is because the information is stored as error terminal information, and from this information, the efficiency of determination of whether or not merging is possible in the next and subsequent times can be increased, and the number of comparisons of test patterns for judging merging can be reduced.

【0051】例えば、フルスキャン回路で20000個
の入出力端子をもつ回路に対して50000パタンのテ
ストパタン系列が生成された時、これらのパタンが全て
併合不可能であると仮定すると、従来手法では、併合処
理が行われる端子間レベル総比較回数は、数百億回以上
行われるが、本発明では、併合不可能なパタン間の判定
が数回以下の比較回数で行われるため、端子間レベル総
比較回数は数百万回まで削減できる。
For example, when a full scan circuit generates a test pattern sequence of 50,000 patterns for a circuit having 20,000 input / output terminals, assuming that all these patterns cannot be merged, the conventional method The total number of comparisons between the terminals at which the merging process is performed is tens of billions or more, but in the present invention, the judgment between patterns that cannot be merged is performed with the number of comparisons of several or less, so that the The total number of comparisons can be reduced to millions.

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

【図1】本発明の第1の実施の形態のテストパタン生成
装置の構成を示す図である。
FIG. 1 is a diagram showing a configuration of a test pattern generation device according to a first embodiment of the present invention.

【図2】本発明のテストパタン生成装置の動作を示す図
である。
FIG. 2 is a diagram showing the operation of the test pattern generation device of the present invention.

【図3】本発明における圧縮コードの構造例を示す図で
ある。
FIG. 3 is a diagram showing an example of the structure of a compressed code according to the present invention.

【図4】本発明における圧縮コードの使用例を示す図で
ある。
FIG. 4 is a diagram showing an example of using a compressed code in the present invention.

【図5】本発明における圧縮コードパタンおよび比較用
データ構造の例を示す図である。
FIG. 5 is a diagram showing an example of a compressed code pattern and a comparison data structure according to the present invention.

【図6】本発明の第2の実施の形態の構成を示す図であ
る。
FIG. 6 is a diagram showing a configuration of a second exemplary embodiment of the present invention.

【図7】本発明の第2の実施の形態の動作を示す図であ
る。
FIG. 7 is a diagram illustrating an operation of the second exemplary embodiment of the present invention.

【図8】従来の一般的テストパタン生成装置の構成を示
す図である。
FIG. 8 is a diagram showing a configuration of a conventional general test pattern generation device.

【図9】従来の一般的テストパタン生成装置の動作を示
す図である。
FIG. 9 is a diagram showing an operation of a conventional general test pattern generation device.

【図10】従来のテストパタン保持の例を示す図であ
る。
FIG. 10 is a diagram showing an example of conventional test pattern holding.

【図11】一般的テストパタン併合を説明する図であ
る。
FIG. 11 is a diagram for explaining general test pattern merging.

【図12】従来のテストパタン併合処理時の比較方法を
説明する図である。
FIG. 12 is a diagram illustrating a comparison method at the time of a conventional test pattern merging process.

【図13】従来の端子間レベル比較の例を説明するため
の図である。
FIG. 13 is a diagram for explaining an example of a conventional inter-terminal level comparison.

【図14】従来のテストパタンレベル比較の例を説明す
るための図である。
FIG. 14 is a diagram for explaining an example of a conventional test pattern level comparison.

【図15】本発明の実施例における端子間レベル比較の
例を説明するための図である。
FIG. 15 is a diagram for explaining an example of level comparison between terminals according to the embodiment of the present invention.

【図16】本発明の実施例におけるテストパタンレベル
比較の例を説明するための図である。
FIG. 16 is a diagram for explaining an example of test pattern level comparison in the example of the present invention.

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

101〜106 機能手段 111〜123 処理ステップ 201 1バイトのメモリエレメント 202〜204 論理値記述部 205〜206 繰り返し数記述部 211 メモリのイメージ 212〜217 対応を示す矢印 218 入力端子 219 論理回路のイメージ 220〜225 各入力端子の論理値 226〜228 圧縮コードが入るメモリエレメント 301 入出力端子インデックス 302 通常コードによるテストパタン 303 圧縮コードによるテストパタン 304 比較用データ構造を構成する圧縮コード部 305 比較用データ構造を構成する入出力インデック
ス部 306 比較対象パタンとしての比較用データ構造 307 通常コードである比較基準パタン 401〜406 第2の実施の形態の機能手段 411〜425 第2の実施の形態の処理ステップ 501〜504 従来の機能手段 511〜521 従来の処理ステップ 601 メモリのイメージ 602〜607 対応を示す矢印 608 入力端子 609 論理回路のイメージ 610〜615 各入力端子の論理値 616〜621 通常コードが入るメモリエレメント 701〜705 テストパタン 706〜711,713 併合可能な端子 712 併合不可能な端子 801〜806 テストパタン 807 テストパタンレベル比較 808,809 テストパタン 810 端子間レベル比較 901,902,921 通常コードテストパタン 903〜910 従来の端子間レベル比較 911 テストパタンを構成する一つの端子 912 仮定する論理値 913 仮定する論理値で併合できた時のテストパタン 922 併合後のテストパタン 923〜925 比較基準パタン 926,927 比較対象パタン 928,929 圧縮後パタンリスト 930〜932 テストパタンレベル比較 933 1回目テストパタンレベル比較 934 2回目テストパタンレベル比較 1001,1002,1013 通常コードテストパタ
ン 1003,1004 本発明の端子間レベル比較 1005,1010,1011 比較用データ構造 1006〜1008 圧縮コードテストパタン 1009 圧縮コードテストパタンリスト 1012 比較用データ構造リスト 1014 圧縮コードテストパタンリストに対応する通
常コードテストパタンリスト 1015,1017 比較基準パタン 1016,1018 比較対象パタン 1019 併合された通常コードテストパタン 1020 併合後比較基準パタン 1021,1023 圧縮後パタン 1022,1024 圧縮後パタンリスト 1028 仮定する端子 1029 仮定する端子の値 1030 仮定するエラー端子 1031 仮定するエラー端子の値 1032 1回目テストパタンレベル比較 1033 2回目テストパタンレベル比較 1034 エラー端子が最初に比較されるように端子の
並びを変更した比較用データ構造の例
101-106 Functional means 111-123 Processing step 201 1-byte memory element 202-204 Logical value description section 205-206 Repetition number description section 211 Image of memory 212-217 Arrow indicating correspondence 218 Input terminal 219 Image of logic circuit 220 25225 Logical value of each input terminal 226〜228 Memory element for storing compressed code 301 Input / output terminal index 302 Test pattern based on normal code 303 Test pattern based on compressed code 304 Compressed code section 305 constituting data structure for comparison 305 Comparison data structure The input / output index unit 306 that constitutes the comparison data structure 307 as a comparison target pattern 307 Comparison reference patterns 401 to 406 that are normal codes Functional means 411 to 425 of the second embodiment Second Embodiment State processing steps 501-504 Conventional function means 511-521 Conventional processing steps 601 Image of memory 602-607 Arrow indicating correspondence 608 Input terminal 609 Image of logic circuit 610-615 Logic value of each input terminal 616-621 Normal Memory element for storing code 701-705 Test pattern 706-711, 713 Mergeable terminal 712 Non-mergeable terminal 801-806 Test pattern 807 Test pattern level comparison 808,809 Test pattern 810 Terminal level comparison 901 902 921 Normal code test pattern 903 to 910 Conventional inter-terminal level comparison 911 One terminal constituting test pattern 912 Assumed logical value 913 Test pattern when merging is possible with assumed logical value 922 Test pattern after merging 923-925 Comparison reference pattern 926,927 Comparison target pattern 928,929 Pattern list after compression 930-932 Test pattern level comparison 933 First test pattern level comparison 934 Second test pattern level comparison 1001,1002,1013 Normal code test pattern 1003, 1004 Inter-terminal level comparison of the present invention 1005, 1010, 1011 Comparison data structure 1006 to 1008 Compression code test pattern 1009 Compression code test pattern list 1012 Comparison data structure list 1014 Normal code test corresponding to compression code test pattern list Pattern list 1015, 1017 Comparative reference pattern 1016, 1018 Comparative target pattern 1019 Merged normal code test pattern 1020 Merged comparative reference pattern 021, 1023 Pattern after compression 1022, 1024 Pattern list after compression 1028 Assumed terminal 1029 Assumed terminal value 1030 Assumed error terminal 1031 Assumed error terminal value 1032 First test pattern level comparison 1033 Second test pattern level comparison 1034 Example of a data structure for comparison in which the arrangement of terminals is changed so that error terminals are compared first.

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】論理回路の接続情報および故障定義情報の
入力手段と、 前記接続情報および故障定義情報から、故障を検出する
テストパタンを生成する発生手段と、 前記テストパタンを故障検出率を低下させることなく併
合する併合手段と、 前記併合されたテストパタンの出力手段と、 を備える論理回路のテストパタン生成装置において、 生成されたテストパタンを論理値記述部と繰り返し数記
述部からなる圧縮コードで表現されるテストパタンに変
換し計算機上の主記憶上に保持する手段と、 前記圧縮コードを応用して、前記テストパタンを併合す
る際に利用する比較用データ構造を生成する手段と、 前記比較用データ構造を使用して、テストパタンの併合
処理を行う併合手段と、を更に備えることを特徴とする
論理回路のテストパタン生成装置。
An input unit for inputting connection information and fault definition information of a logic circuit; a generating unit for generating a test pattern for detecting a fault from the connection information and the fault definition information; In a test pattern generation device for a logic circuit, comprising: a merging unit for merging without causing the test pattern to be merged; and a unit for outputting the merged test pattern, a compressed code comprising a logical value description unit and a repetition number description unit for the generated test pattern. Means for converting into a test pattern represented by: and holding it on a main memory on a computer; means for applying the compression code to generate a comparison data structure used when merging the test patterns; Merging means for merging test patterns using the data structure for comparison. Generator.
【請求項2】論理回路の接続情報および故障定義情報を
入力する手段と、 前記論理回路の接続情報と故障定義情報から定義された
故障を検出するための初期テストパタンを生成する手段
と、 前記初期テストパタンを圧縮コードテストパタンに変換
する手段と、 圧縮コードを利用して、テストパタン併合処理で使用す
る比較用データ構造を生成する手段と、 前記圧縮コードテストパタンおよび前記比較用データ構
造を使用して、前記初期テストパタンの故障検出能力を
低下させることなくテストパタン数を削減し、圧縮後テ
ストパタンを生成するテストパタン圧縮手段と、 前記圧縮後テストパタンを出力する圧縮後テストパタン
出力手段と、を備えることを特徴とする論理回路のテス
トパタン生成装置。
2. A means for inputting connection information of a logic circuit and fault definition information; means for generating an initial test pattern for detecting a fault defined from the connection information of the logic circuit and the fault definition information; Means for converting the initial test pattern into a compressed code test pattern; means for using the compressed code to generate a data structure for comparison used in the test pattern merging process; Test pattern compression means for reducing the number of test patterns without degrading the failure detection capability of the initial test pattern and generating a compressed test pattern; and outputting a post-compression test pattern for outputting the compressed test pattern. Means for generating a test pattern for a logic circuit.
【請求項3】前記比較用データ構造は、前記初期テスト
パタンを構成している端子の中で、確定値をもつ端子の
みを圧縮コードで表現し、その圧縮コードが示す端子群
の中の最小のインデックス値を、その圧縮コードとの対
としてもつデータ構造であることを特徴とする請求項2
記載の論理回路のテストパタン生成装置。
3. The comparison data structure according to claim 1, wherein only the terminal having a definite value among the terminals constituting the initial test pattern is represented by a compression code, and a minimum of a terminal group indicated by the compression code is provided. 3. A data structure having an index value of (1) as a pair with the compression code.
An apparatus for generating a test pattern for a logic circuit according to the present invention.
【請求項4】論理回路の接続情報および故障定義情報を
入力する手段と、 前記論理回路の接続情報と故障定義情報から定義された
故障を検出するための初期テストパタンを生成する手段
と、 前記初期テストパタンを圧縮コードテストパタンに変換
する手段と、 圧縮コードを利用して、テストパタン併合処理で使用す
る比較用データ構造を生成すると共に、エラー端子情報
領域も作成するエラー端子情報付き比較用データ構造生
成手段と、 前記圧縮コードテストパタンおよび前記エラー端子情報
付き比較用データ構造を使用して事前判定を行いなが
ら、前記初期テストパタンの故障検出能力を低下させる
ことなくテストパタン数を削減し、圧縮後テストパタン
を生成するテストパタン圧縮手段と、 前記圧縮後テストパタンを出力する圧縮後テストパタン
出力手段と、 を備えることを特徴とする論理回路のテストパタン生成
装置。
4. A means for inputting connection information and fault definition information of a logic circuit; a means for generating an initial test pattern for detecting a fault defined from the connection information of the logic circuit and the fault definition information; A means for converting an initial test pattern into a compressed code test pattern, and for generating a comparison data structure to be used in the test pattern merging process using the compressed code, and for creating a comparison with an error terminal information area for error terminal information. A data structure generation unit, and reducing the number of test patterns without deteriorating the failure detection capability of the initial test pattern, while performing advance judgment using the compressed code test pattern and the comparison data structure with error terminal information. Test pattern compression means for generating a post-compression test pattern, and after compression for outputting the post-compression test pattern Test pattern generating apparatus of the logic circuit, characterized in that it comprises a Sutopatan output means.
【請求項5】論理回路の接続情報および故障定義情報を
入力するステップと、 前記接続情報および故障定義情報から、故障を検出する
テストパタンを生成するステップと、 前記生成したテストパタンを論理値記述部と繰り返し数
記述部からなる圧縮コードによるテストパタンに変換す
るステップと、 前記圧縮コードから前記テストパタンをマージする際に
使用する比較用データ構造を生成するステップと、 前記テストパタンを前記比較用データ構造を用いて併合
するステップと、を含むことを特徴とする論理回路のテ
ストパタン生成方法。
5. A step of inputting connection information and fault definition information of a logic circuit; a step of generating a test pattern for detecting a fault from the connection information and the fault definition information; and describing the generated test pattern as a logical value Converting the test pattern into a test pattern based on a compressed code including a unit and a repetition number description unit; generating a comparison data structure used when merging the test pattern from the compressed code; Merging using a data structure. A method for generating a test pattern for a logic circuit, comprising:
JP9168219A 1997-06-25 1997-06-25 Logic circuit test pattern generation apparatus and generation method Expired - Lifetime JP3048965B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP9168219A JP3048965B2 (en) 1997-06-25 1997-06-25 Logic circuit test pattern generation apparatus and generation method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP9168219A JP3048965B2 (en) 1997-06-25 1997-06-25 Logic circuit test pattern generation apparatus and generation method

Publications (2)

Publication Number Publication Date
JPH1114712A true JPH1114712A (en) 1999-01-22
JP3048965B2 JP3048965B2 (en) 2000-06-05

Family

ID=15864004

Family Applications (1)

Application Number Title Priority Date Filing Date
JP9168219A Expired - Lifetime JP3048965B2 (en) 1997-06-25 1997-06-25 Logic circuit test pattern generation apparatus and generation method

Country Status (1)

Country Link
JP (1) JP3048965B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006170873A (en) * 2004-12-17 2006-06-29 Fujitsu Ltd Information processor, test pattern data compression method for information processor, and program
JP2008107254A (en) * 2006-10-27 2008-05-08 Yokogawa Electric Corp Device test system, server, device tester, and pattern data setting method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006170873A (en) * 2004-12-17 2006-06-29 Fujitsu Ltd Information processor, test pattern data compression method for information processor, and program
JP2008107254A (en) * 2006-10-27 2008-05-08 Yokogawa Electric Corp Device test system, server, device tester, and pattern data setting method

Also Published As

Publication number Publication date
JP3048965B2 (en) 2000-06-05

Similar Documents

Publication Publication Date Title
US8060813B2 (en) Apparatus and method for generating error detection codes
US7386777B2 (en) Systems and methods for processing automatically generated test patterns
EP0690395A2 (en) Method and apparatus for generating conformance test data sequences
JP2985922B2 (en) Logic function data processor
US6732312B2 (en) Test vector compression method
JP2000266815A (en) Electronic system with self-diagnostic function and simulation apparatus for electronic system
US6678739B1 (en) System, method, and computer program product for compressing test pattern set
US6516430B1 (en) Test circuit for semiconductor device with multiple memory circuits
US6907385B2 (en) Memory defect redress analysis treating method, and memory testing apparatus performing the method
JP3048965B2 (en) Logic circuit test pattern generation apparatus and generation method
US20040177314A1 (en) Digital system and a method for error detection thereof
US6246349B1 (en) Method and system for compressing a state table that allows use of the state table without full uncompression
Xu et al. A quasi-best random testing
US7516381B2 (en) Integrated circuit test system
US20020053055A1 (en) Semiconductor device having a test mode
KR20010004112A (en) Apparatus for testing internal rom in chip
JP2878947B2 (en) Test pattern compression method
US7587646B1 (en) Test pattern generation in residue networks
JP3078138B2 (en) Variable length code generator
KR100219041B1 (en) A method for testing rom
JP2003036698A (en) Test method for constitution elements of semiconductor memory
JP2516965B2 (en) Memory test method
JP2792327B2 (en) Semiconductor integrated circuit device
JP3430082B2 (en) Test pattern set compression apparatus, method and recording medium
Singh et al. ATPG for Incomplete Testing of SOC Considering Bridging Faults