JPS61201343A - Method and device for controlling test pattern generation - Google Patents

Method and device for controlling test pattern generation

Info

Publication number
JPS61201343A
JPS61201343A JP60041902A JP4190285A JPS61201343A JP S61201343 A JPS61201343 A JP S61201343A JP 60041902 A JP60041902 A JP 60041902A JP 4190285 A JP4190285 A JP 4190285A JP S61201343 A JPS61201343 A JP S61201343A
Authority
JP
Japan
Prior art keywords
pattern
test
memory
address
test pattern
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
JP60041902A
Other languages
Japanese (ja)
Inventor
Kazuo Yamaguchi
和夫 山口
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hitachi Ltd
Original Assignee
Hitachi Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP60041902A priority Critical patent/JPS61201343A/en
Publication of JPS61201343A publication Critical patent/JPS61201343A/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/319Tester hardware, i.e. output processing circuits
    • G01R31/31917Stimuli generation or application of test patterns to the device under test [DUT]

Abstract

PURPOSE:To generates test patterns for devices to be tested at a high speed with small memory capacity by classifying the test patterns by kinds and accessing them independently. CONSTITUTION:The test patterns are classified by the kinds into scan patterns and primary patterns and stored previously in a pattern memory 17 by the kinds in the order of use during storage. Then, instructions are read out of addresses of a test sequence memory 11 under the control of a control part 13 and outputted to an address arithmetic part 12. The arithmetic part 12 generates information for specifying readout addresses of the pattern memory 17 by said instructions and accesses the pattern memory 17 independently by the kinds of the test patterns according to the generation order of the test patterns. Consequently, the test patterns generated by combining the scan patterns and primary patterns successively are obtained.

Description

【発明の詳細な説明】 〔発明の利用分野〕 本発明は複雑な機能をもつ大規模論理回路の機能試験を
分割して行う各種テストパターンデータを少ない容量の
テストパターンメモリで効率的に発生するテストパター
ン発生制御方法及びその装置に関する。
[Detailed Description of the Invention] [Field of Application of the Invention] The present invention efficiently generates various test pattern data for performing functional tests of large-scale logic circuits with complex functions by dividing them using a test pattern memory with a small capacity. The present invention relates to a test pattern generation control method and device.

〔発明の背景〕[Background of the invention]

従来この種の少ない容量のテストパターンメモリで効率
的にテストパターンを発生するテストパターン発生制御
方法としては、たとえば特公昭54−39702号公報
に記載のものが知られている。ここに示された従来方法
は、テストパターンメモリを被試験論理回路の複数に区
分した入出力ビンに対応して区分し、この区分されたメ
モリごとに独立にランダムアクセスして指定したメモリ
のパターンの組合せにより、テストパターンを発生する
ものである。しかしこの方法は入出力ビンに対応したメ
モリ区分を行うものであって、テストパターンの種類に
よる区分とその記憶順序および発生時間要素については
効率的な利用方法を認識していない。またテストパター
ンの種類に応じたスキャンパターンのようなストレート
パターンおよびプライマリパターンのパターン発生にと
もなう効率的かつ具体的なハードウェア手段についても
考慮されていない。
Conventionally, as a test pattern generation control method for efficiently generating test patterns using a test pattern memory with a small capacity, a method described in Japanese Patent Publication No. 54-39702, for example, is known. The conventional method shown here divides the test pattern memory corresponding to a plurality of input/output bins of the logic circuit under test, and independently and randomly accesses each divided memory to obtain a specified memory pattern. A test pattern is generated by the combination of However, this method performs memory partitioning corresponding to input/output bins, and does not recognize how to efficiently use the classification according to the type of test pattern, its storage order, and the time element of occurrence. Furthermore, no consideration is given to efficient and specific hardware means for generating straight patterns such as scan patterns and primary patterns depending on the type of test pattern.

〔発明の目的〕[Purpose of the invention]

本発明の目的は上記した従来技術の問題点を解決し、多
数のテストパターンをテストパターンメモリに有効に記
憶させて効率よく発生する制御容易なテストパターン発
生制御方法及びその装置を提供するにある。
SUMMARY OF THE INVENTION An object of the present invention is to solve the above-mentioned problems of the prior art and to provide an easy-to-control test pattern generation control method and apparatus that effectively stores a large number of test patterns in a test pattern memory and generates them efficiently. .

〔発明の概要〕[Summary of the invention]

本発明は、被テストデバイスの分割機能テストにおいて
、テストパターンの種類に応じてスキャンパターン(ス
キャンインパターンおよびスキャンアウトパターン)お
よびプライマリパターン(プライマリ入カバターンおよ
びプライマリ出カバターン)に分類し、そのテストパタ
ーンの種類ごとに指定した専用または分割したパターン
メモリ(ブロック)に予めそれぞれテスト時に使用する
順序に記憶させるとともに、テストパターンの発生順序
を示すパターン発生用シーケンス情報にテストパターン
の種類を識別する制御情報を設け、それらの情報により
テストパターンの発生順序に従いテストパターンの種類
ごとのパターンメモリ(ブロック)を独立にアクセスす
ることにより、スキャンパターンおよびプライマリパタ
ーンを順次組み合せたテストパターンを発生するように
したテストパターン発生制御方法及びその装置である。
The present invention classifies test patterns into scan patterns (scan-in patterns and scan-out patterns) and primary patterns (primary input cover turns and primary output cover turns) according to the type of test patterns in a divided functional test of a device under test. Control information that identifies the type of test pattern is stored in advance in the order used during testing in dedicated or divided pattern memories (blocks) designated for each type of pattern, and in pattern generation sequence information that indicates the order in which test patterns are generated. This test generates a test pattern that sequentially combines the scan pattern and the primary pattern by independently accessing the pattern memory (block) for each type of test pattern according to the order in which the test patterns are generated using this information. A method and apparatus for controlling pattern generation.

〔発明の実施例〕[Embodiments of the invention]

以下に本発明の実施例を第1図ないし第7図により、ス
キャンパス方式のデバイスをテストする場合について従
来方法とも比較して説明する。
Embodiments of the present invention will be described below with reference to FIGS. 1 to 7, in comparison with a conventional method for testing a scan path type device.

まず第3図は本発明によるテストパターン発生制御方法
及びその装置の一実施例の対象とするスキャンパス方式
のテストデバイスを例示する分割回路図である。第3図
において、一般にスキャンパス方式のデバイスDUTは
VLSI等内の全ての記憶デバイス(フリップフロップ
F/’F ) ’i直接アクセスできる回路構成となっ
ていて、その実現方法の1つとして第1図のF/F t
−F l〜F6のように直列に接続してシフトレジスタ
構成とすることにより、内部の組合せロジック回路上1
〜3のように分割してテストすることが可能なものであ
る。
First, FIG. 3 is a divided circuit diagram illustrating a scan path type test device to which an embodiment of the test pattern generation control method and apparatus according to the present invention is applied. In Fig. 3, the scanpath type device DUT generally has a circuit configuration that allows direct access to all storage devices (flip-flops F/'F) in a VLSI etc., and one of the methods for realizing this is shown in Fig. 1. F/F t
-F1 to F6 are connected in series to form a shift register configuration, so that the internal combinational logic circuit can be
It is possible to test by dividing into 3 sections.

このようなスキャンパス方式のデバイスのテストは次の
手順で実現できる。まずシフトレジスタのテストはスキ
ャンインビンSIよシテストパターンを印加し、F/F
のF1〜F6を経由してスキャンアウトビンSOでテス
ト結果を観測することによフシフトレジスタの正常動作
を確認する。次に内部の組合せロジック回路1のテスト
はプライマリ入力ビンPI(PII〜PI3 )にテス
トパターンを印加し、その組合せロジック回路1のテス
ト結果をψのF2.F3に取り込みシフトレジスタを経
由してスキャンアウトビンSOに引き出して観測する。
Testing of such a scanpath-based device can be accomplished by the following steps. First, to test the shift register, apply a test pattern to the scan in bin SI, and
The normal operation of the shift register is confirmed by observing the test result in the scan out bin SO via F1 to F6. Next, the internal combinational logic circuit 1 is tested by applying a test pattern to the primary input bins PI (PII to PI3), and applying the test results of the combinational logic circuit 1 to the F2. It is taken in to F3 and taken out to the scan out bin SO via the shift register for observation.

次に組合せロジック回路2のテストはその入力であるル
今゛のF1〜F3にスキャンインビンSIよりシフトレ
ジスタを使用してテストパターンを入力し、その組合せ
ロジック回路2のテスト結果をφのF4〜F6に取り込
みシフトレジスタを経由してスキャンアウトビンSOに
引き出して観測する。次に組合せロジック回路3のテス
トはその入力であるF/FのF4.F5にスキャンイン
ビンSIよシフトレジスタを使用してテストパターンを
入力し、その組合せロジック回路3のテスト結果を直ち
にプライマリ出力ビンPOで観測する。このように記憶
デバイス(F/F )に囲まれた組合せロジック回路1
〜3で構成した内部回路全独立に部分的に取り出して4
分割してテストができる。
Next, the test of the combinational logic circuit 2 is performed by inputting a test pattern from the scan-in bin SI to its inputs F1 to F3 of the current block using a shift register, and then transmitting the test results of the combinational logic circuit 2 to its inputs F1 to F3 of the current block φ. The data is taken into F6 and taken out to the scan-out bin SO via the shift register for observation. Next, the test of the combinational logic circuit 3 is performed at F4. A test pattern is input to F5 using the scan-in bin SI and a shift register, and the test result of the combinational logic circuit 3 is immediately observed at the primary output bin PO. Combinational logic circuit 1 surrounded by storage devices (F/F) in this way
- The internal circuit composed of 3 is fully independently taken out partially and 4
You can split it and test it.

第4図は第3図の上記のように4分割されたスキャンパ
ス方式のテストデバイスのテストパターンをパターンメ
モリに格納する一方法を示す説明図である。第4図にお
いて、第3図の4分割されたデバイスのテストパターン
はパターンメモリ17にスキャンインビンSIとスキャ
ンアウトビンSOとプライマリ入力ビンPIとプライマ
リ出力ピンPO等のテストパターンの種類に対応して、
シフトレジスタテストと組合せロジック回路1〜3テス
トの斜線および点部分のテストパターン(1)〜(4)
′の順にメモリアドレスO−29に順次格納される。
FIG. 4 is an explanatory diagram showing one method of storing the test pattern of the scan path type test device divided into four as described above in FIG. 3 in the pattern memory. In FIG. 4, the test pattern of the device divided into four parts in FIG. ,
Test patterns (1) to (4) of diagonal lines and dots for shift register test and combinational logic circuit 1 to 3 tests
' are sequentially stored at memory address O-29.

このパターンメモリ17を各テストパターン発生時にメ
モリアドレス指定してテストパターンを発生し、これを
スキャンインピンSIとプライマリ入力ビンPIに印加
して得られるスキャンアウトピンSOとプライマリ出力
ビンPOの出力データとパターンメモリ17に格納され
たスキャンアウトピンSOとプライマリ出力ピンPOの
期待値パターン(1)’−(4)’がテスタを用いて比
較判定される。このようにパターンメモリ17内に格納
されたテストノくターンデータとしては@1#か@O#
のデータとなっていて、を白部分のデータはテスト時に
は使用されないものでおって、通常は初期化されたデー
タである。また第5図は第4図のパターンメモリのテス
トパターンを発生するアドレス指定(発生)順序(ステ
ップ)を示す説明図である。第5図において、第4図の
パターンメモリ17からテストパターンを発生するのに
パターンメモリ17に与えるアドレス指定に着目すると
、ストレートパターンの発生時と同様に第5図のような
メモリアドレス0−29の順次アクセスでよいため、テ
ストパターン発生のアドレス制御は容易となる。しかし
ながら第4図のパターンペクタすなわちパターンの深さ
Xビン数n = 30 X8=240が実際に使用する
テストパターンベクタの斜線および点部分の面積34の
約7倍必要となるため、ピン数nと各テストパターンが
多くなるほど膨大なメモリが必要となって有効に利用さ
れないメモリが増大する。そこで本発明によれば次のよ
うなテストパターンの種類ごとに順次格納する方法を使
用する。
This pattern memory 17 is designated as a memory address when each test pattern is generated to generate a test pattern, and this is applied to the scan-in pin SI and the primary input bin PI to obtain the output data of the scan-out pin SO and the primary output bin PO. The expected value patterns (1)'-(4)' of the scan out pin SO and the primary output pin PO stored in the pattern memory 17 are compared and determined using a tester. The test turn data stored in the pattern memory 17 in this way is @1# or @O#.
The data in the white part is not used during testing and is usually initialized data. Further, FIG. 5 is an explanatory diagram showing the address designation (generation) order (steps) for generating the test pattern of the pattern memory shown in FIG. 4. In FIG. 5, if we focus on the address designation given to the pattern memory 17 to generate the test pattern from the pattern memory 17 in FIG. Since only sequential access is required, address control for test pattern generation becomes easy. However, the pattern vector in Fig. 4, that is, the pattern depth x the number of bins n = 30 As the number of test patterns increases, a huge amount of memory is required, and the amount of memory that is not used effectively increases. Therefore, according to the present invention, the following method of sequentially storing each type of test pattern is used.

第6図は本発明によるテストパターン発生制御方法及び
その装置の一実施例のパターンメモリにテストパターン
の種類ごとに順次格納する方法を例示する説明図である
。第6図において、パターンメモリ17にパターンの種
類ごとにスキャンインピンSIとスキャンアウトピンS
Oとプライマリ入力ビンPIとプライマリ出力ビンPO
のテストパターン(11〜(4)′を予め使用する順等
にメモリアドレスO〜13に順次格納する。また第7図
は第6図のパターンメモリのテストパターンを発生する
アドレス指定(発生)順序(ステップ)を例示する説明
図である。第7図において、第6図のパターンメモリ1
7から読み出すアドレス指定をスキャンインピンSIの
テストパターン(1)とスキャンアウトピンSOのテス
トパターン(1)′とプライマリ人カビ7PIのテスト
パターン(2)とスキャンアウトピンSOのテストパタ
ーン(2どとスキャンインピンSIのテストパターン(
3)とスキャンアウトピンSOのテストパターン(31
′とスキャンインピンSIのテストパターン(4)とプ
ライマリ出力ビンPOのテストパターン(4トの順にテ
ストシーケンスプログラムに従ッテパターンプロセッサ
等により発生すれば、第4図および第5図によるテスト
パターンと等価なテストパターンを発生することができ
る。いま第3図のテストデバイス(VLSI)のシフト
レジスタの段数が多いほど、スキャンインピンSIおよ
びスキャンアウトピンSOのスキャンテストパターン数
が多くなるため、パターンメモリ17のスキャンテスト
パターン用のメモリを専用化することができる。
FIG. 6 is an explanatory diagram illustrating a method of sequentially storing each type of test pattern in a pattern memory in an embodiment of the test pattern generation control method and apparatus according to the present invention. In FIG. 6, a scan-in pin SI and a scan-out pin S are stored in the pattern memory 17 for each type of pattern.
O and primary input bin PI and primary output bin PO
The test patterns (11 to (4)') are sequentially stored in memory addresses O to 13 in the order of use, etc. FIG. 7 shows the address designation (generation) order for generating the test patterns in the pattern memory of FIG. (step).In FIG. 7, the pattern memory 1 of FIG.
Address specifications read from 7 are scan-in pin SI test pattern (1), scan-out pin SO test pattern (1)', primary human mold 7PI test pattern (2), and scan-out pin SO test pattern (2). Scan-in pin SI test pattern (
3) and scanout pin SO test pattern (31
', the scan-in pin SI test pattern (4), and the primary output bin PO test pattern (4), if generated by a pattern processor etc. according to the test sequence program in this order, the test pattern according to Figs. 4 and 5 will be generated. Equivalent test patterns can be generated.As the number of stages of the shift register in the test device (VLSI) shown in Fig. 3 increases, the number of scan test patterns for scan-in pin SI and scan-out pin SO increases. Memory can be dedicated for 17 scan test patterns.

第1図は本発明によるテストパターン発生制御装置の一
実施例金示す回路図で、上記第7図の順にテストパター
ンを発生するパターンメモリの読出しアドレス指定を実
現するテストシーケンスプログラムによるテストプロセ
ッサ等からなる回路構成を示す。第1図において、10
はプログラムカウンタ、11はテストパターン発生用シ
ーケンス情報(順序情報)にテストパターンの種類を識
別するアドレス制御情報を設けたテストシーケンスメモ
リ、12はアドレス演算部、13はアドレス制御部、1
4−1はスキャンインビンSIアドレスレジスタ、14
−2はスキャンアウトビンSOアドレスレジスタ、14
−3はプライマリ入力ビンPIアドレスレジスタ、14
−4はプライマリ出力ピンPOアドレスレジスタ、15
はアドレスレジスタ選択器、16−1〜16−4は各ア
ドレスレジスタの書込み制御器、17は第6図と同じパ
ターンメモリである。
FIG. 1 is a circuit diagram showing an embodiment of the test pattern generation control device according to the present invention, in which test patterns are generated in the order shown in FIG. This shows the circuit configuration. In Figure 1, 10
11 is a program counter; 11 is a test sequence memory in which sequence information (order information) for test pattern generation is provided with address control information for identifying the type of test pattern; 12 is an address calculation unit; 13 is an address control unit;
4-1 is a scan in bin SI address register, 14
-2 is the scanout bin SO address register, 14
-3 is the primary input bin PI address register, 14
-4 is the primary output pin PO address register, 15
1 is an address register selector, 16-1 to 16-4 are write controllers for each address register, and 17 is the same pattern memory as in FIG.

この構成で、まず初期状態でプログラムカウンタ10と
アドレス演算部12とアドレスレジスタ14−1〜14
−4は全てアドレス0を示す。また予めアドレスレジス
タ14−1〜14−4の選択を行うレジスタ選択器15
によってアドレスレジスタ14−1〜14−4の使用設
定がなされる。ここでパターン発生の開始でテストシー
ケンスメモリ11のアドレスOの順序情報のN OP 
(No 0peration )とアドレス制御情報の
LDA @ SI (Load Address ’1
3. for 5can−in Memory)命令に
より、アドレス演算部臣にパターンメモリ17の読出し
アドレスを指定するアドレス0がロードされ、S工情報
から制御部13でSエアドレスレジスタ14−1をセレ
クトする信号に変換されて、書込み制御器16−1で書
込みクロック信号がSエアドレスレジスタ14−1に送
られ、Sエアドレスレジスタ14−1にアドレスOが書
き込まれる。なお他のアドレスレジスタ14−2〜14
−4は書込みクロック信号が通されないため、初期値の
アドレスOとなっている。上記SIエアレスレジスタ1
4−1に誉き込まれたアドレスOによって、パターンメ
モリ17のスキャンインビンSIのパターンメモリ部(
メモリブロック)のアドレス0内に記憶された(第6図
のテストパターンが初期設定されている)スキャンイン
パターンが発生され、第3図のデバイスDUTのスキャ
ンインビンSIに印加される。このときNOP命令によ
り次のクロック信号で制御部13からプログラムカウン
タlOi+1インクリメントして、テストシーケンスメ
モリ11のアドレス1を指示する。
In this configuration, in the initial state, the program counter 10, address calculation section 12, and address registers 14-1 to 14
-4 all indicate address 0. Also, a register selector 15 that selects address registers 14-1 to 14-4 in advance.
The use settings of the address registers 14-1 to 14-4 are made by the following. At the start of pattern generation, the sequence information of address O in the test sequence memory 11 is NOP.
(No 0operation) and address control information LDA @ SI (Load Address '1
3. The address 0 that specifies the read address of the pattern memory 17 is loaded into the address calculation section by the (for 5 can-in Memory) command, and the S operation information is converted into a signal that selects the S air address register 14-1 in the control unit 13. Then, the write controller 16-1 sends a write clock signal to the S air address register 14-1, and the address O is written to the S air address register 14-1. In addition, other address registers 14-2 to 14-14
Since the write clock signal is not passed through -4, the initial value is address O. Above SI airless register 1
4-1, the pattern memory section (of the scan-in bin SI of the pattern memory 17) is
A scan-in pattern (initialized with the test pattern of FIG. 6) stored in address 0 of the memory block (Memory Block) is generated and applied to the scan-in bin SI of the device DUT of FIG. At this time, in accordance with the NOP command, the control unit 13 increments the program counter lOi+1 by the next clock signal and instructs the address 1 of the test sequence memory 11.

このステップでテストシーケンスメモリ11のアドレス
1の順序情報のREP 5 (Repeat 5 ti
mes )とアドレス制御情報のI NCA (Inc
rement Address )命令により、この命
令は前のステップで設定したSエアドレスレジスタ14
−1にパターンメモリ13のアドレスを5回だけ+1イ
ンクリメントしながら与えるもので、このとき制御部1
3はプログラムカウンタ10にアドレス1を保持するよ
うに指示し、アドレス演算部12はINCA命令によυ
前のステップでロードされたアドレスOから+1インク
リメントし、その処理終了を制御部13内のカウンタに
知らせることにより、REP5命令でロードされた該カ
ウンタの値5を−1する。これとともに演算部12でイ
ンクリメントされたアドレス1が同様にSエアドレスレ
ジスタ14−1に書き込まれ、パターンメモリ17のア
ドレス1内のスキャンパターンが発生してデバイスDU
Tへ出力される。以上の動作を5回(5クロック信号分
)繰り返すことにより、パターンメモリ17のアドレス
1〜5のスキャンインパターンが発生され、第3図のデ
バイスDUTのスキャンインビンSIに印加される。こ
のとき制御部13内のカウンタの値は0となるので、プ
ログラムカウンタ10にテストシーケンスメモリ11の
アドレス1を+1インクリメントして、アドレス2を指
示するとともに、アドレス演算部12にアドレスカウン
トを停止させる。なお他のアドレスレジスタ14−2〜
14−4は初期状態のアドレス0を保持し、パターンメ
モリ17の他のパターンメモリ部(メそリブロック)の
パターンは発生されない。
In this step, the sequence information of address 1 in the test sequence memory 11 is
mes ) and address control information INCA (Inc
rementAddress) instruction, this instruction sets the S air address register 14 set in the previous step.
-1, the address of the pattern memory 13 is given to the controller 1 while incrementing it by +1 five times.
3 instructs the program counter 10 to hold address 1, and the address calculation unit 12 uses the INCA instruction to hold address 1.
The address O loaded in the previous step is incremented by +1 and the completion of the process is notified to the counter in the control unit 13, thereby decrementing the value 5 of the counter loaded by the REP5 instruction by 1. At the same time, the address 1 incremented by the arithmetic unit 12 is similarly written to the S air address register 14-1, a scan pattern in address 1 of the pattern memory 17 is generated, and the device DU
Output to T. By repeating the above operation five times (for five clock signals), scan-in patterns at addresses 1 to 5 of the pattern memory 17 are generated and applied to the scan-in bin SI of the device DUT in FIG. 3. At this time, the value of the counter in the control unit 13 becomes 0, so the address 1 of the test sequence memory 11 is incremented by +1 to the program counter 10 to instruct address 2, and the address calculation unit 12 is made to stop counting addresses. . In addition, other address registers 14-2~
14-4 holds the initial state of address 0, and patterns in other pattern memory sections (memory blocks) of the pattern memory 17 are not generated.

このステップでテストシーケンスメモリ11のアドレス
2の順序情報のN OP (No 0paration
 )とアトL//C制御情報のLDA B、 80 (
Load Address ’fifor 5can−
out Memory )命令により、前のアドレスO
のステップで実行したSエアドレスレジスタ14−1へ
のアドレス書込みと同様にして、今度はSOエアレスレ
ジスタ14−2にパターンメモリ17のアドレス0が書
き込まれ、パターンメモリ17からSOパターンメモリ
部(メモリブロック)のアドレスOのスキャンアウトパ
ターンが発生される。また次のステップのクロック信号
で、テストシーケンスメモリ11のアドレス3のREP
 5とINCA命令により、同様にしてパターンメモリ
17のSOパタ−ンメモリ部のアドレス1〜5のスキャ
ンアウトパターンが発生して出力される。このスキャン
アウトパターンの期待値パターンとデバイスDUTのス
キャンアウトビンSOの出力データとがテスタ等で比較
され、これによりデバイスDUTのりのF1〜F6のシ
フトレジスタがIff類のスキャンテストパターンにニ
ジテストされる。なお通常このシフトレジスタのゲスト
パターンはF/Fの数mによ92mパターン必要となる
In this step, the order information of address 2 in the test sequence memory 11 is
) and at L//C control information LDA B, 80 (
Load Address 'fifor 5can-
Out Memory ) instruction returns the previous address O.
In the same way as writing the address to the S air address register 14-1 executed in step , address 0 of the pattern memory 17 is written to the SO airless register 14-2, and the SO pattern memory section (memory A scanout pattern of address O of block) is generated. Also, with the clock signal of the next step, the REP of address 3 of the test sequence memory 11 is
5 and the INCA command, scan-out patterns of addresses 1 to 5 of the SO pattern memory portion of the pattern memory 17 are generated and output in the same manner. The expected value pattern of this scan-out pattern and the output data of the scan-out bin SO of the device DUT are compared with a tester, etc., and thereby the shift registers of F1 to F6 of the device DUT are subjected to a Niji test with the scan test pattern of the Iff class. . Note that normally, the guest pattern of this shift register requires 92m patterns depending on the number m of F/Fs.

次のステップでテストシーケンスメモリ11のアドレス
4の順序情報のN OP (No 0peration
 )とアドレス制御情報のLDA ”a P I (L
oad Address ”afor Primar7
−in Memory )命令により、同様に制御部1
3からのセレクト信号により書込み制御器16−3で曹
込みクロック信号がPIアドレスレジスタ14−3に送
られ、アドレス演算部12にロードされたアドレスOが
PIアドレスレジスタ14−3に書き込まれて、パター
ンメモリ17のPIパターンメモリ部(メモリブロック
)のプライマリ入カバターンが発生され、デバイスDU
Tのプライマリ入力ピンPI(PII〜PI3 )  
に印加される。また次のステップのクロック信号でNO
PとLDA6SO命令により、同様にして再びセレクト
されたSOエアレスレジスタ14−2にアドレス6が書
き込まれて、ノ(ターンメモリ17のSOパターンメモ
リ部のアドレス6のスキャンアウトパターンが発生され
る。さらに次のステップでREP 4とINCA命令に
より、前のステップの動作を4回(4クロック信号分)
繰シ返えして、パターンメモリ17のSOパターンメモ
リ部のアドレス7〜10のスキャンアウトパターンが発
生して出力される。このスキャンアウトパターンの期待
値パターンとデバイスDUTのスキャンアウトピンSO
の出力データとが比較され、これにより組合せロジック
回路1がテストされる。
In the next step, the order information of address 4 in the test sequence memory 11 is stored as NOP (No 0 operation).
) and address control information LDA ``a P I (L
oadAddress”aforPrimar7
-in Memory) command, the control unit 1
3, the write controller 16-3 sends a programming clock signal to the PI address register 14-3, and the address O loaded into the address calculation unit 12 is written to the PI address register 14-3. A primary input pattern of the PI pattern memory section (memory block) of the pattern memory 17 is generated, and the device DU
Primary input pin PI (PII~PI3) of T
is applied to Also, the clock signal of the next step is NO.
P and the LDA6SO command write address 6 to the SO airless register 14-2 that was selected again in the same way, and the scan-out pattern at address 6 in the SO pattern memory section of the turn memory 17 is generated. In the next step, the operation of the previous step is repeated 4 times (for 4 clock signals) by REP 4 and INCA commands.
Repeatedly, scan-out patterns at addresses 7 to 10 of the SO pattern memory section of the pattern memory 17 are generated and output. Expected value pattern of this scanout pattern and scanout pin SO of device DUT
The output data of the combinational logic circuit 1 is compared with the output data of the combinational logic circuit 1.

以下同様にして組合せロジック回路2,3のテストが行
われる。
Thereafter, the combinational logic circuits 2 and 3 are tested in the same manner.

なお上記構成のテストパターン発生制御装置により、第
4図のように格納されたテストパターンのストレート読
出しも明らかに可能である。また全ビン並列テストパタ
ーンの同時発生もテストシーケンスメモリ11のLDA
球SI 、 So 、 PI 、 PO指定またはレジ
スタ選択器15の外部指定によってアドレスレジスタ1
4−1〜14−4 ’i同時セレクトスることにより容
易にできる。
It should be noted that the test pattern generation control device having the above-mentioned configuration clearly enables straight reading of the stored test patterns as shown in FIG. In addition, simultaneous generation of all bin parallel test patterns is also possible using the LDA of the test sequence memory 11.
Address register 1 is set by specifying sphere SI, So, PI, PO or by external specification of register selector 15.
This can be easily done by selecting 4-1 to 14-4 'i simultaneously.

第2図は本発明によるテストパターン発生制御装置の他
の実施例を示す回路図で、第1図のテストシーケンスメ
モリ11に格納する命令のステップ数t−軽減し、パタ
ーンメモリ17のSI、So、PI。
FIG. 2 is a circuit diagram showing another embodiment of the test pattern generation control device according to the present invention, in which the number of steps t of instructions stored in the test sequence memory 11 of FIG. , P.I.

POパターンメモリ部(メモリブロック)の切シ分けを
メモリ選択器18により行ない、テストシーケンスメモ
リ11のアドレス制御情報のテストパターンの種類を示
すレコードをデコードして、アドレスレジスタ14−1
〜14−4 ’に個々にセレクトすることに!!0パタ
ーンメモリ17 ftセレクトする回路構成を示す。第
2図において、たとえば第1図のテストシーケンスメモ
リ11のアドレスOのNOPとLDA狭SI命令とアド
レスlのREP 5とINCA命令の2命令を第2図の
テストシーケンスメモリ11のアドレスOのADV U
TL 5 (人dvance until 5Addr
ess )とLDA u S I命令の1命令に置き換
え、第1図のアドレス2のNOPとLDA u So命
令とアドレス3のREP 5とINCA命令を第2図の
アドレス1のADV UTL 5とLDA & 80命
令に置き換え、第1図のアドレス4のNOPとLDA\
PI命令を第2図のアドレス2のADVとLDA’aP
I命令に置き換え、第1図のアドレス5のNOPとLD
A6SO命令とアドレス6のREP 4とINCA命令
を第2図のアトv ス3 (D ADV UTLIOと
LDA6SO命令に置き換えて、第1図のテストシーケ
ンスメモリ11の7ステツプの命令は第2図のテストシ
ーケンスメモリ11の4ステツプの命令に軽減される。
The memory selector 18 separates the PO pattern memory section (memory block), decodes the record indicating the type of test pattern of the address control information in the test sequence memory 11, and stores the record in the address register 14-1.
~14-4' will be selected individually! ! The circuit configuration for selecting 0 pattern memory 17 ft is shown. In FIG. 2, for example, the NOP and LDA narrow SI instructions at address O of the test sequence memory 11 in FIG. U
TL 5 (person dvance until 5Addr
ess ) and LDA u SI instruction, and replace the NOP and LDA u So instructions at address 2 in Figure 1 and the REP 5 and INCA instructions at address 3 with ADV UTL 5 and LDA & 80 instructions, NOP and LDA\ at address 4 in Figure 1
The PI command is converted to ADV and LDA'aP at address 2 in Figure 2.
Replace it with the I instruction, NOP and LD at address 5 in Figure 1.
Replace the A6SO instruction and the REP 4 and INCA instructions at address 6 with the ADV UTLIO and LDA6SO instructions in FIG. 2, and replace the 7-step instructions in the test sequence memory 11 in FIG. The instructions are reduced to four steps in the sequence memory 11.

この構成で、まずテストシーケンスメモリ11のアドレ
スOの順序情報のADV UTL 5とアドレス制御情
報のLDA…SI命令により、アドレス演算部12でロ
ードされたアドレスOから+1インクリメントしながら
アドレス5までアドレス演算して、パターンメモリ17
へアドレス指定するとともに、テストパターンの種類を
示すSI情報からメモリ選択器18でセレクトされたS
Iアドレスレジスタ14−1を介して、パターンメモリ
17のSIパターンメモリ部(メモリブロック)のアド
レス0からアドレス5のスキャンインテストパターンが
11 次発生され、デバイスDUTのスキャンインビン
SIに印加される。ここでAnv UTL 5命令によ
りアドレス演算部12でインクリメントしたアドレスと
アドレス5とを制御部13に内蔵の比較器で比較し、ア
ドレス5になったときに制御部13からプログラムカウ
ンタ10を次のステップに進めると同時に、アドレス演
算部12にインクリメントを中止させる。次のステップ
ではADVUTL5とLDAuSO命令により、同様に
アドレス演算部12でアドレスOからアドレス5までイ
ンクリメントしながらアドレス指定するとともに、SO
情報からメモリ選択器18でセレクトされたSOエアレ
スレジスタ14−2 を介してSOパターンメモリ部の
アドレス0からアドレス5のスキャンアウトテストパタ
ーンが順次発生され、このスキャンアウトテストパター
ンの期待値パターンとスキャンアウトビンSOの出力デ
ータとが比較され、F/FのF1〜F6のシフトレジス
タがテストされる。同様に次のステップではADVとL
DA ’1A PI命令によりPIパターンメモリ部の
アドレスOのプライマリ入力テストパターンが発生され
、その次のステップテADV UTLIOトLDA 6
 S o命令ニヨシ再びSOパターンメモリ部のアドレ
ス6からアドレス10のスキャンアウトテストパターン
が発生され、このスキャンアウトテストパターンの期待
値パターンとスキャンアウトビンSOの出力データとが
比較され、組合せロジック回路1がテストされる。以下
同様に組合せロジック回路2,3がテストされる。
With this configuration, first, the address calculation unit 12 performs address calculation from the loaded address O by +1 increment up to address 5 using the ADV UTL 5 of the order information of the address O of the test sequence memory 11 and the LDA...SI command of the address control information. Then pattern memory 17
S selected by the memory selector 18 from SI information indicating the type of test pattern.
A scan-in test pattern from address 0 to address 5 of the SI pattern memory section (memory block) of the pattern memory 17 is generated eleven times via the I address register 14-1 and applied to the scan-in bin SI of the device DUT. Here, a comparator built in the control unit 13 compares the address incremented by the address operation unit 12 with the address 5 using the Anv UTL 5 instruction, and when the address reaches 5, the control unit 13 instructs the program counter 10 to the next step. At the same time, the address calculation unit 12 is made to stop incrementing. In the next step, using the ADVUTL5 and LDAuSO instructions, the address calculation unit 12 similarly increments and specifies the address from address O to address 5, and
Scan-out test patterns from address 0 to address 5 of the SO pattern memory section are sequentially generated from the information through the SO airless register 14-2 selected by the memory selector 18, and the expected value pattern of this scan-out test pattern and the scan The output data of the outbin SO is compared, and the shift registers F1 to F6 of the F/Fs are tested. Similarly, in the next step, ADV and L
The DA '1A PI instruction generates the primary input test pattern at address O in the PI pattern memory section, and the next step TE ADV UTLIO to LDA 6
A scan-out test pattern from address 6 to address 10 of the SO pattern memory section is generated again, and the expected value pattern of this scan-out test pattern is compared with the output data of the scan-out bin SO. is tested. Thereafter, combinational logic circuits 2 and 3 are tested in the same manner.

この実施例ではテストシーケンスメモリの命令のステッ
プ数を軽減でき、かつ書込み制御器16−1〜16−4
が不要となってハードウェアが少なくてすむ。なおこの
テストパターン発生制御装置により、第4図のように格
納されたテストパターンのストレートパターンの発生や
全ビン並列パターンの発生も可能である。またループや
ジャンプによるテストパターンの発生も同様に行うこと
ができる。
In this embodiment, the number of instruction steps in the test sequence memory can be reduced, and the write controllers 16-1 to 16-4
This eliminates the need for hardware. Note that this test pattern generation control device can also generate a straight pattern of the stored test patterns as shown in FIG. 4 or a parallel pattern for all bins. Also, test patterns can be generated in the same way by loops and jumps.

なお上記各実施例はロジックテスタにおけるテストパタ
ーン発生のみでなく、メモリテスタにおけるテストパタ
ーン発生等にも同様に利用できる。
The above embodiments can be used not only for generating test patterns in logic testers, but also for generating test patterns in memory testers.

またパターンメモリの1列または1ブロツクを被試験デ
バイスの1ビンまたは複数ビンごとに対応して分割配置
している形態のテスタにおいても同様の効果がえられる
のみでなく、各ビンごとに独立したテストパターンの発
生とホールド(前のパターンデータの保持)機能を実時
間で制御できる。
In addition, a similar effect can be obtained not only in a tester in which one row or one block of pattern memory is divided and arranged corresponding to one bin or multiple bins of the device under test, but also an independent Test pattern generation and hold (retention of previous pattern data) functions can be controlled in real time.

以上のように本発明の実施例によれば、パターンメモリ
に格納されるテストパターンデータをテストパターンの
種類別に整列配置して使用するとともに、パターンメモ
リ内のテストパターンデータをテストパターンの種類ご
とに独立してアクセスできるので、小容量のパターンメ
モリとテストシーケンスメモリで長大なテストパターン
を発生させることが可能となりかつ高速化も可能となる
As described above, according to the embodiment of the present invention, the test pattern data stored in the pattern memory is arranged and used according to the type of test pattern, and the test pattern data in the pattern memory is arranged according to the type of test pattern. Since they can be accessed independently, it is possible to generate a large test pattern using a small capacity pattern memory and test sequence memory, and it is also possible to increase the speed.

〔発明の効果〕〔Effect of the invention〕

以上に説明したように本発明によれば、テストパターン
発生用のシーケンス情報を通常の場合で従来の数10分
の1程度に圧縮できるため、高速性を要求されるテスト
シーケンスメモリドパターンメモIJ t−小容量のも
ので使用可能にするうえ、テストパターン情報も従来の
約数10分の1程度に圧縮した形態でパターンメモリに
格納してパターンの種類別に独立してアクセスできるた
め、格段に少ないメモリ容量で被試験デバイスのテスト
パターン金発生することができる。
As explained above, according to the present invention, the sequence information for test pattern generation can be compressed to about one-tenth of the conventional size in normal cases. In addition to making it usable with a small capacity, test pattern information is also stored in the pattern memory in a compressed form that is about a tenth of the size of conventional methods, and can be accessed independently for each type of pattern, making it much more convenient. It is possible to generate test patterns for the device under test with a small memory capacity.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は本発明によるテストパターン発生制御装置の一
実施例を示す回路構成図、第2図は同じく他の実施例を
示す回路構成図、第3図は本発明の対象とするテストデ
バイスを例示する分割回路図、第4図はパターンメモリ
のテストパターンを例示する説明図、第5図は第4図の
テストパターンの発生順序を示す説明図、第6図は本発
明によるパターンメモリのテストパターンの一実施例を
示す説明図、第7図は第6図のテストパターンの発生順
序を示す説明図である。 10・・・プログラムカウンタ、11・・・テストシー
ケンスメモリ、12・・・アドレス演算部、13・・・
制御部、14−1〜14−4・・・アドレスレジスタ、
15・・・レジスタ選択器、16−1〜16−4・・・
書込み制御器、17・・・パターンメモリ、18・・・
メモリ選択器、SI・・・スキャンインビン、SO・・
・スキャンアウトビン、PI・・・プライマリ入力ビン
、PO・・・プライマリ出力ビン。
FIG. 1 is a circuit configuration diagram showing one embodiment of a test pattern generation control device according to the present invention, FIG. 2 is a circuit configuration diagram showing another embodiment, and FIG. FIG. 4 is an explanatory diagram illustrating a pattern memory test pattern; FIG. 5 is an explanatory diagram illustrating the generation order of the test patterns in FIG. 4; FIG. 6 is a pattern memory test according to the present invention. FIG. 7 is an explanatory diagram showing an example of a pattern, and FIG. 7 is an explanatory diagram showing the order in which the test patterns of FIG. 6 are generated. 10...Program counter, 11...Test sequence memory, 12...Address calculation unit, 13...
Control unit, 14-1 to 14-4...address register,
15...Register selector, 16-1 to 16-4...
Write controller, 17... Pattern memory, 18...
Memory selector, SI...Scan-in bin, SO...
- Scan out bin, PI...Primary input bin, PO...Primary output bin.

Claims (1)

【特許請求の範囲】 1、テストパターンの種類に応じて専用または分割した
パターンメモリに独立に各種パターンデータを順次記憶
させておき、テストパターンの種類ごとに上記パターン
メモリの読出しアドレスの制御を独立してパターンプロ
セッサにより行うテストパターン発生制御方法。 2、テストパターンの種類に応じて専用または分割した
メモリブロックに独立に各種パターンデータを順次記憶
させたパターンメモリと、テストパターンを発生するシ
ーケンス情報にテストパターンの種類を識別する制御情
報を付加した情報手段と、該情報にもとづき上記パター
ンメモリの読出しアドレス制御をパターンプロセッサに
より行うさいにパターンの種類ごとに独立して上記メモ
リブロックの切分け制御を行うメモリ選択器とを備えた
テストパターン発生制御装置。 3、テストパターンの種類に応じて専用または分割した
メモリブロックに独立に各種パターンデータを順次記憶
させたパターンメモリと、テストパターンを発生するシ
ーケンス情報にテストパターンの種類を識別する制御情
報を付加した情報手段と、該情報にもとづき上記パター
ンメモリの読出しアドレス制御をパターンプロセッサに
より行うさいにテストパターンの種類ごとに独立して上
記メモリブロックの切分け制御を行うアドレスレジスタ
選択器および書込み制御器とを備えたテストパターン発
生装置。
[Claims] 1. Various pattern data are sequentially stored independently in a dedicated or divided pattern memory according to the type of test pattern, and the read address of the pattern memory is independently controlled for each type of test pattern. A test pattern generation control method using a pattern processor. 2. A pattern memory in which various pattern data are sequentially stored independently in memory blocks dedicated or divided according to the type of test pattern, and control information for identifying the type of test pattern is added to the sequence information for generating the test pattern. A test pattern generation control comprising: information means; and a memory selector for independently controlling the division of the memory blocks for each type of pattern when the pattern processor controls the read address of the pattern memory based on the information. Device. 3. A pattern memory that sequentially stores various pattern data independently in dedicated or divided memory blocks depending on the type of test pattern, and control information that identifies the type of test pattern is added to the sequence information that generates the test pattern. an information means, and an address register selector and a write controller for controlling the division of the memory blocks independently for each type of test pattern when the pattern processor controls the read address of the pattern memory based on the information. Equipped with a test pattern generator.
JP60041902A 1985-03-05 1985-03-05 Method and device for controlling test pattern generation Pending JPS61201343A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60041902A JPS61201343A (en) 1985-03-05 1985-03-05 Method and device for controlling test pattern generation

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60041902A JPS61201343A (en) 1985-03-05 1985-03-05 Method and device for controlling test pattern generation

Publications (1)

Publication Number Publication Date
JPS61201343A true JPS61201343A (en) 1986-09-06

Family

ID=12621213

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60041902A Pending JPS61201343A (en) 1985-03-05 1985-03-05 Method and device for controlling test pattern generation

Country Status (1)

Country Link
JP (1) JPS61201343A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1990004228A1 (en) * 1988-10-11 1990-04-19 Advantest Corporation Pattern generator
WO2005008263A1 (en) * 2003-07-22 2005-01-27 Advantest Corporation Pattern generation device and test device

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1990004228A1 (en) * 1988-10-11 1990-04-19 Advantest Corporation Pattern generator
US5127010A (en) * 1988-10-11 1992-06-30 Advantest Corporation Pattern generator
WO2005008263A1 (en) * 2003-07-22 2005-01-27 Advantest Corporation Pattern generation device and test device
EP1662265A1 (en) * 2003-07-22 2006-05-31 Advantest Corporation Pattern generation device and test device
EP1662265A4 (en) * 2003-07-22 2006-11-29 Advantest Corp Pattern generation device and test device

Similar Documents

Publication Publication Date Title
US4862460A (en) Test pattern generator
US6415403B1 (en) Programmable built in self test for embedded DRAM
US7552373B2 (en) Method and apparatus for broadcasting scan patterns in a scan-based integrated circuit
US9121902B2 (en) Method and apparatus for broadcasting scan patterns in a scan-based integrated circuit
US5432797A (en) IC tester having a pattern selector capable of selecting pins of a device under test
US3961252A (en) Testing embedded arrays
US6598192B1 (en) Method and apparatus for testing an integrated circuit
US7721173B2 (en) Method and apparatus for broadcasting scan patterns in a scan-based integrated circuit
JPS58108475A (en) Method and device for indexing test vector
US9746518B2 (en) Scan path interface circuit with strobe sequencer and two registers
US5889786A (en) Memory testing device
US5872797A (en) Burn-in signal pattern generator
US6006350A (en) Semiconductor device testing apparatus and method for testing memory and logic sections of a semiconductor device
US6249533B1 (en) Pattern generator
JP2660028B2 (en) LSI test equipment
JPS61201343A (en) Method and device for controlling test pattern generation
JPS6095369A (en) Test pattern generating system
JPH1164469A (en) Pattern generator for semiconductor test device
US20030074623A1 (en) Algorithmic test pattern generator
JPH02284077A (en) Testing device for logic integrated circuit
JP2957073B2 (en) Semiconductor integrated circuit device and test method for semiconductor integrated circuit device
JPH07280893A (en) Semiconductor memory test system
JP3102600B2 (en) IC tester
JP2837469B2 (en) IC test equipment
JPH05182494A (en) Test device