JP5291567B2 - Test apparatus and conditional branch determination method - Google Patents

Test apparatus and conditional branch determination method Download PDF

Info

Publication number
JP5291567B2
JP5291567B2 JP2009182302A JP2009182302A JP5291567B2 JP 5291567 B2 JP5291567 B2 JP 5291567B2 JP 2009182302 A JP2009182302 A JP 2009182302A JP 2009182302 A JP2009182302 A JP 2009182302A JP 5291567 B2 JP5291567 B2 JP 5291567B2
Authority
JP
Japan
Prior art keywords
determination
signal
signals
match
asserted
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.)
Expired - Fee Related
Application number
JP2009182302A
Other languages
Japanese (ja)
Other versions
JP2011034653A (en
Inventor
直良 渡辺
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.)
Advantest Corp
Original Assignee
Advantest Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Advantest Corp filed Critical Advantest Corp
Priority to JP2009182302A priority Critical patent/JP5291567B2/en
Publication of JP2011034653A publication Critical patent/JP2011034653A/en
Application granted granted Critical
Publication of JP5291567B2 publication Critical patent/JP5291567B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Tests Of Electronic Circuits (AREA)
  • For Increasing The Reliability Of Semiconductor Memories (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a test device for a semiconductor device which can simultaneously match-detect a plurality of states. <P>SOLUTION: A match detection circuit 10 receives M (M is a natural number) signals from a DUT 102, and determines which of N (N is an integer of 2 or more) predetermined states each of the M signals matches. L (=M&times;N) first determination units 12 are provided for a corresponding one of combinations of M signals and N states. A first determination unit 12 corresponding to the i-th (1&le;i&le;M) signal and the j-th (1&le;j&le;N) state compares the level of the i-th signal with an expected value expected in the i-th state, and when the level of the i-th signal matches the expected value expected in the i-th state, asserts a first determination signal. N second determination units 18 are provided for a corresponding one of the N states. A second determination unit 18 corresponding to k (1&le;k&le;N) receives M first determination signals from M first determination unit 12 corresponding to the k-th state, and when all the M first determination signals are asserted, asserts a second determination signal. The test device 100 performs conditional branch processing depending on the N second determination signals. <P>COPYRIGHT: (C)2011,JPO&amp;INPIT

Description

本発明は、半導体デバイスの試験装置に関する。   The present invention relates to a semiconductor device test apparatus.

メモリやSOC(System On Chip)などの半導体デバイスを評価するために、試験装置が利用される。試験装置は、ユーザが定義したテストシーケンスプログラム(単にテストプログラムともいう)にもとづいて、DUT(被試験デバイス)を評価する。試験装置は、テストサイクルと同期して、テストプログラムに記述された処理を順に実行していく。   A test apparatus is used to evaluate a semiconductor device such as a memory or an SOC (System On Chip). The test apparatus evaluates a DUT (device under test) based on a test sequence program (also simply referred to as a test program) defined by the user. The test apparatus sequentially executes the processes described in the test program in synchronization with the test cycle.

試験装置において、DUTからのステータス信号が所定の条件を満たすか否かを判定し、判定結果に応じた条件分岐処理を実行する場合がある。この条件分岐判定処理をマッチ検出処理あるいは単にマッチ処理とも称する。たとえば、PLL(Phase Locked Loop)回路やDLL(Delay Locked Loop)回路を内蔵するDUTは、その電源投入後に、ある適切な状態に遷移したか否かを示すLOCK信号を出力する。試験装置は、このLOCK信号をモニタし、PLL回路やDLL回路がアンロック状態からロック状態に遷移したことを検出し、それに続くテストシーケンスを実行する。この場合の条件分岐処理は、LOCK信号を対象としてなされる。   In the test apparatus, it may be determined whether or not the status signal from the DUT satisfies a predetermined condition, and conditional branch processing according to the determination result may be executed. This conditional branch determination process is also referred to as a match detection process or simply a match process. For example, a DUT incorporating a PLL (Phase Locked Loop) circuit or a DLL (Delay Locked Loop) circuit outputs a LOCK signal indicating whether or not a transition to a certain appropriate state is made after the power is turned on. The test apparatus monitors this LOCK signal, detects that the PLL circuit or DLL circuit has transitioned from the unlocked state to the locked state, and executes the subsequent test sequence. The conditional branching process in this case is performed for the LOCK signal.

別の例として、NAND型フラッシュメモリ(以下、単にフラッシュメモリという)を考える。フラッシュメモリは、外部からデータの書き込みや読み出し処理を指示されると、その処理の実行中は外部からのアクセスを禁止する必要がある。したがって、フラッシュメモリは、データ書き込み/読み出し処理を実行中の状態(ビジー状態)であるか、処理が完了した状態で次の処理を開始しても良い状態(レディ状態)のいずれかを示す制御信号(以下単にステータス信号R/Bという)を出力する。たとえばステータス信号R/Bは、ハイレベルがレディ状態を、ローレベルがビジー状態を示す。こうしたフラッシュメモリを評価対象とするメモリテスタは、R/B信号を監視し、条件分岐処理を実行する。   As another example, consider a NAND flash memory (hereinafter simply referred to as a flash memory). When a flash memory is instructed to write or read data from the outside, it is necessary to prohibit external access while the processing is being executed. Therefore, the flash memory is in a state indicating whether the data writing / reading process is being executed (busy state) or a state where the next process may be started (ready state) after the process is completed. A signal (hereinafter simply referred to as status signal R / B) is output. For example, in the status signal R / B, a high level indicates a ready state, and a low level indicates a busy state. A memory tester that evaluates such a flash memory monitors the R / B signal and executes conditional branch processing.

条件分岐処理を実行するために、試験装置には、マッチ検出と呼ばれる機能が実装される。マッチ検出処理の概要は以下の通りである。マッチ検出処理とは、
1.検出対象として定義されたステータス信号が、
2.あらかじめ定義されたテストサイクルにおいて、
3.期待値と一致するか否かを判定し、
4.一致したときに、所定のテストシーケンスに分岐(ジャンプ)する
処理として定義できる。
In order to execute the conditional branch process, a function called match detection is implemented in the test apparatus. The outline of the match detection process is as follows. What is match detection processing?
1. The status signal defined as the detection target is
2. In a predefined test cycle,
3. Determine whether it matches the expected value,
4). It can be defined as a process of branching (jumping) to a predetermined test sequence when they match.

マッチ検出の対象となる試験ピン(ステータス信号)は、テストプログラムにおいて「MACTH」と呼ばれるニーモニックにより記述される。また、マッチ検出を行うテストサイクルは、「FLAG」などのフラグセンス命令と呼ばれるニーモニックにより記述される。また、期待値もテストプログラムにおいて定義され、所定のテストシーケンスを示すテストパターン番地も、テストプログラムにおいて定義される。   A test pin (status signal) that is a target of match detection is described by a mnemonic called “MACTH” in the test program. A test cycle for performing match detection is described by a mnemonic called a flag sense instruction such as “FLAG”. An expected value is also defined in the test program, and a test pattern address indicating a predetermined test sequence is also defined in the test program.

特開2000−40389号公報JP 2000-40389 特開2005−44499号公報JP 2005-44499 A

たとえばメモリテスタにおいて、フラッシュメモリの消去オペレーションの成功(Erase Completed状態)、失敗(Erase Error状態)を検出する場合を考える。試験装置は、DUTのデータ消去(Erase)を実行した後、2つのステータス信号IO_0、IO_6を読み出す。マッチ検出は、読み出された第1ステータス信号IO_0と第2ステータス信号IO_6にもとづいて行われる。具体的には、
(条件1) IO_0=1 かつ IO_6=1
(条件2) IO_0=1 かつ IO_6=0
が成立しているかが判定される。条件1は、Erase Error状態の判定条件であり、条件2は、Erase Complete状態の判定条件である。
For example, consider a case where a memory tester detects success (Erase Completed state) and failure (Erase Error state) of a flash memory erase operation. The test apparatus reads the two status signals IO_0 and IO_6 after executing data erasure (Erase) of the DUT. Match detection is performed based on the read first status signal IO_0 and second status signal IO_6. In particular,
(Condition 1) IO_0 = 1 and IO_6 = 1
(Condition 2) IO_0 = 1 and IO_6 = 0
Is determined. Condition 1 is a determination condition for the Erase Error state, and Condition 2 is a determination condition for the Erase Complete state.

従来では、条件1と条件2を同時に判定することができず、サイクルごとに、条件1、条件2を別々に判定する必要があった。すなわち、あるサイクルにおいて条件1を判定し、結果が真であればErase_Error状態に対応するシーケンスに分岐する。判定結果が偽であれば、別のサイクルにおいて条件2を判定し、その結果が真であれば、Erase_Complete状態に対応するシーケンスに分岐する必要があった。   Conventionally, conditions 1 and 2 cannot be determined at the same time, and it is necessary to determine conditions 1 and 2 separately for each cycle. That is, condition 1 is determined in a certain cycle, and if the result is true, the process branches to a sequence corresponding to the Erase_Error state. If the determination result is false, condition 2 is determined in another cycle, and if the result is true, it is necessary to branch to a sequence corresponding to the Erase_Complete state.

もし複数の状態を同時にマッチ検出することができれば、テストサイクルを短縮することができ、テスト時間を削減することができる。   If a plurality of states can be detected at the same time, the test cycle can be shortened and the test time can be reduced.

本発明はこうした状況に鑑みてなされたものであり、そのある態様の例示的な目的のひとつは、複数の状態を同時にマッチ検出可能な試験装置の提供にある。   The present invention has been made in view of such circumstances, and one of the exemplary purposes of an embodiment thereof is to provide a test apparatus capable of simultaneously detecting a plurality of states.

本発明のある態様は、被試験デバイスからの信号を受け、その信号のレベルの組み合わせに応じた条件分岐処理を実行する試験装置に関する。この試験装置は、被試験デバイスからのM個(Mは自然数)の信号を受け、それらのレベルの組み合わせが、あらかじめ定められたN個(Nは2以上の整数)の状態のいずれに一致するかを判定するマッチ検出回路を備える。マッチ検出回路は、L個(L=M×N)の第1判定部と、N個の第2判定部と、を含む。
L個の第1判定部は、それぞれがM個の信号およびN個の状態の組み合わせごとに設けられる。i番目(1≦i≦M)の信号とj番目(1≦j≦N)の状態に対応する第1判定部は、i番目の信号のレベルを、j番目の状態において期待される期待値と比較し、一致したときアサートされる第1判定信号を生成する。
N個の第2判定部は、それぞれがN個の状態ごとに設けられる。k番目(1≦k≦N)の状態に対応する第2判定部は、k番目の状態に対応するM個の第1判定部からM個の第1判定信号を受け、当該M個の第1判定信号がすべてアサートされたとき、アサートされる第2判定信号を生成する。この試験装置は、N個の第2判定信号に応じて条件分岐処理を実行する。
One embodiment of the present invention relates to a test apparatus that receives a signal from a device under test and executes conditional branch processing according to a combination of the levels of the signal. This test apparatus receives M signals (M is a natural number) from the device under test, and the combination of the levels coincides with any of the predetermined N (N is an integer of 2 or more) states. A match detection circuit for determining whether or not. The match detection circuit includes L (L = M × N) first determination units and N second determination units.
The L first determination units are provided for each combination of M signals and N states. The first determination unit corresponding to the i-th (1 ≦ i ≦ M) signal and the j-th (1 ≦ j ≦ N) state sets the level of the i-th signal to the expected value expected in the j-th state. And a first determination signal that is asserted when they match is generated.
Each of the N second determination units is provided for each of the N states. The second determination unit corresponding to the k-th (1 ≦ k ≦ N) state receives M first determination signals from the M first determination units corresponding to the k-th state, and receives the M first determination signals. When all the 1 determination signals are asserted, a second determination signal that is asserted is generated. The test apparatus executes conditional branch processing according to the N second determination signals.

この態様において、k番目の第2判定部から出力される第2判定信号は、k番目の状態に関する条件が満たされたときにアサートされる。この態様によると、N個の状態に対応するN個の第2判定信号を同時に生成でき、複数の状態のいずれにマッチするかを、同時に判定することができる。   In this aspect, the second determination signal output from the kth second determination unit is asserted when a condition regarding the kth state is satisfied. According to this aspect, N second determination signals corresponding to N states can be generated at the same time, and it can be simultaneously determined which of a plurality of states matches.

なお、以上の構成要素の任意の組み合わせや本発明の構成要素や表現を、方法、装置などの間で相互に置換したものもまた、本発明の態様として有効である。   Note that any combination of the above-described constituent elements and the constituent elements and expressions of the present invention replaced with each other between methods and apparatuses are also effective as an aspect of the present invention.

本発明のある態様によれば、複数の状態を同時にマッチ検出できる。   According to an aspect of the present invention, a plurality of states can be detected simultaneously.

実施の形態に係る試験装置の構成を示すブロック図である。It is a block diagram which shows the structure of the test apparatus which concerns on embodiment. ステータス信号と各状態の関係を示す図である。It is a figure which shows the relationship between a status signal and each state. 状態データとマッチコードの関係を示す図である。It is a figure which shows the relationship between status data and a match code. 第1モードおよび第2モードにおけるパターンシーケンス分岐部の動作を示す図である。It is a figure which shows operation | movement of the pattern sequence branch part in a 1st mode and a 2nd mode. 図1の試験装置の第1モードにおける動作を示すフローチャートである。It is a flowchart which shows the operation | movement in the 1st mode of the test apparatus of FIG. 図1の試験装置の第2モードにおける動作を示すフローチャートである。3 is a flowchart showing an operation in a second mode of the test apparatus of FIG. 1.

以下、本発明を好適な実施の形態をもとに図面を参照しながら説明する。各図面に示される同一または同等の構成要素、部材、処理には、同一の符号を付するものとし、適宜重複した説明は省略する。また、実施の形態は、発明を限定するものではなく例示であって、実施の形態に記述されるすべての特徴やその組み合わせは、必ずしも発明の本質的なものであるとは限らない。   The present invention will be described below based on preferred embodiments with reference to the drawings. The same or equivalent components, members, and processes shown in the drawings are denoted by the same reference numerals, and repeated descriptions are omitted as appropriate. The embodiments do not limit the invention but are exemplifications, and all features and combinations thereof described in the embodiments are not necessarily essential to the invention.

図1は、実施の形態に係る試験装置100の構成を示すブロック図である。試験装置100は、フラッシュメモリなどのDUT102を試験するメモリテスタである。
試験装置100は、DUT102からのいくつかの信号(以下、ステータス信号という)を受け、それらのステータス信号のレベルの組み合わせに応じた条件分岐処理を実行する。条件分岐処理については、従来技術に関連して述べた通りである。
FIG. 1 is a block diagram showing a configuration of a test apparatus 100 according to the embodiment. The test apparatus 100 is a memory tester that tests the DUT 102 such as a flash memory.
The test apparatus 100 receives some signals (hereinafter referred to as status signals) from the DUT 102, and executes conditional branch processing according to the combination of the levels of the status signals. The conditional branch processing is as described in relation to the prior art.

この試験装置100は、複数のI/OピンPio、複数のI/OピンPioごとに設けられたタイミングコンパレータTCP、マッチ検出回路10を備える。図1には、2つのI/Oピンと、それに対応する要素のみが示され、その他は省略されている。   The test apparatus 100 includes a plurality of I / O pins Pio, a timing comparator TCP provided for each of the plurality of I / O pins Pio, and a match detection circuit 10. In FIG. 1, only two I / O pins and corresponding elements are shown, and the others are omitted.

各I/OピンPioには、DUT102からのステータス信号が入力されている。
タイミングコンパレータTCPは、I/OピンPioごとに設けられ、ストローブ信号STRBによって指定されたタイミング(エッジのタイミング)における、対応するI/Oピンに入力されたステータス信号のレベル(ハイレベルH/ローレベルL)を判定する。たとえばタイミングコンパレータTCPは、レベルコンパレータLCPとフリップフロップFFを含む。
A status signal from the DUT 102 is input to each I / O pin Pio.
The timing comparator TCP is provided for each I / O pin Pio, and the level (high level H / low) of the status signal input to the corresponding I / O pin at the timing (edge timing) specified by the strobe signal STRB. Level L) is determined. For example, the timing comparator TCP includes a level comparator LCP and a flip-flop FF.

レベルコンパレータLCPは、入力されたステータス信号を、所定のしきい値電圧と比較し、比較結果を示すレベル信号SH/SLを生成する。たとえば一般的なメモリテスタにおいてレベルコンパレータLCPは、ステータス信号IO_xを上側しきい値電圧VOHと比較し、IO_x<VOHのときアサート(ハイレベル)されるレベル信号SHを生成する。またレベルコンパレータLCPは、ステータス信号IO_xを、下側しきい値電圧VOLと比較し、IO_x>VOLのときアサート(ハイレベル)されるレベル信号SLを生成する。つまり、メモリテスタは2ビットのSH/SL信号に応じて以下の3つの状態を判定する。
SH=L(0)、SL=H(1)…ステータス信号がH(1)の状態
SH=H(1)、SL=L(0)…ステータス信号がL(0)の状態
SH=H(1)、SL=H(1)…ステータス信号がハイインピーダンス(Hi−Z)の状態
The level comparator LCP compares the input status signal with a predetermined threshold voltage, and generates a level signal SH / SL indicating the comparison result. For example, in a general memory tester, the level comparator LCP compares the status signal IO_x with the upper threshold voltage VOH, and generates a level signal SH that is asserted (high level) when IO_x <VOH. The level comparator LCP compares the status signal IO_x with the lower threshold voltage VOL, and generates a level signal SL that is asserted (high level) when IO_x> VOL. That is, the memory tester determines the following three states according to the 2-bit SH / SL signal.
SH = L (0), SL = H (1)... Status state is H (1) SH = H (1), SL = L (0)... Status signal is L (0) SH = H ( 1), SL = H (1)... Status signal is in a high impedance (Hi-Z) state

あるいは、VOHとVOLを同じ電圧とし、IO_x<VOHのとき第1レベル、IO_x>VOLのとき第2レベルとなる1ビットのレベル信号SH/SLを生成してもよい。この場合、ステータス信号がH、Lのいずれかの状態を判定できる。   Alternatively, VOH and VOL may be the same voltage, and a 1-bit level signal SH / SL that is a first level when IO_x <VOH and a second level when IO_x> VOL may be generated. In this case, it is possible to determine whether the status signal is H or L.

本実施の形態において、レベル信号SH/SLの形式はこれらに限定されない。「形式」とはビット数、ハイレベル・ローレベルの割り当てなどを意味する。以下の説明では、少なくともステータス信号が、ハイレベルおよびローレベルのいずれであるかを示す信号を総称して、レベル信号SH/SLと記す。レベルコンパレータLCPよりも後段の回路の構成は、レベル信号SH/SLの形式に応じて設計すべきであることは当業者に理解される。   In the present embodiment, the format of the level signal SH / SL is not limited to these. “Form” means the number of bits, high level / low level allocation, and the like. In the following description, signals indicating at least whether the status signal is a high level or a low level are collectively referred to as a level signal SH / SL. It will be understood by those skilled in the art that the circuit configuration subsequent to the level comparator LCP should be designed according to the format of the level signal SH / SL.

フリップフロップFFは、対応するレベルコンパレータLCPからのレベル信号SH/SLを、ストローブ信号STRBのエッジのタイミングでラッチする。ストローブ信号STRBは、試験装置100の図示しないブロックにおいて生成される信号であり、試験装置100のテストシーケンスのサイクルと同期している。i番目のタイミングコンパレータTCPは、フリップフロップFFによりラッチしたレベル信号SH/SLを、レベル信号Sとして出力する。 The flip-flop FF latches the level signal SH / SL from the corresponding level comparator LCP at the edge timing of the strobe signal STRB. The strobe signal STRB is a signal generated in a block (not shown) of the test apparatus 100 and is synchronized with the test sequence cycle of the test apparatus 100. The i-th timing comparator TCP i outputs the level signal SH / SL latched by the flip-flop FF as the level signal S i .

マッチ検出回路10は、M個のタイミングコンパレータTCPから、M個(Mは自然数)のレベル信号S〜Sを受け、それらのレベルの組み合わせが、あらかじめ定められたN個(Nは2以上の整数)の状態のいずれに一致するかを判定する。マッチ検出回路10は、第1モード(複数マッチモード)と、第2モード(ノーマルマッチモード)が切りかえ可能に構成されている。 The match detection circuit 10 receives M (M is a natural number) level signals S 1 to S M from M timing comparators TCP, and the combination of these levels is N (N is 2 or more). It is determined which of the two states matches. The match detection circuit 10 is configured to be switchable between a first mode (multiple match mode) and a second mode (normal match mode).

本実施の形態では、M=2、N=3を例に説明をする。M個のステータス信号は具体的には、ステータス信号IO_0とステータス信号IO_6を含む。また、N個の状態は、EraseComplete、EraseError、Retry(NotReady)の3つのモードに対応する。図2は、ステータス信号と状態(Mode)の関係を示す図である。
第1状態φ EraseComplete
第2状態φ EraseError
第3状態φ Retry
In the present embodiment, M = 2 and N = 3 will be described as an example. Specifically, the M status signals include a status signal IO_0 and a status signal IO_6. The N states correspond to three modes of EraseComplete, EraseError, and Retry (NotReady). FIG. 2 is a diagram illustrating a relationship between a status signal and a state (Mode).
First state φ 1 EraseComplete
Second state φ 2 EraseError
Third state φ 3 Retry

試験装置100には、第1状態φ〜第3状態φそれぞれに対応する3つの条件1〜3が設定されている。すなわち、第1条件が真のとき、第1状態φである。
(条件1) IO_6=1 かつ IO_0=1
(条件2) IO_6=1 かつ IO_0=0
(条件3) IO_6=0
In the test apparatus 100, three conditions 1 to 3 corresponding to the first state φ 1 to the third state φ 3 are set. That is, when the first condition is true, a first state phi 1.
(Condition 1) IO_6 = 1 and IO_0 = 1
(Condition 2) IO_6 = 1 and IO_0 = 0
(Condition 3) IO — 6 = 0

(第1モード)
まず、第1モード(複数マッチモード)に関連する構成を説明する。
第1モードに関連して、マッチ検出回路10は、L個(L=M×N)の第1判定部12と、N個の第2判定部18と、を含む。
(First mode)
First, a configuration related to the first mode (multiple match mode) will be described.
In relation to the first mode, the match detection circuit 10 includes L (L = M × N) first determination units 12 and N second determination units 18.

L個の第1判定部12は、それぞれがM個(M=2)のステータス信号IO_0、IO_6およびN個(N=3)の状態φ〜φの組み合わせごとに設けられる。
i番目(1≦i≦M)のステータス信号とj番目(1≦j≦N)の状態の組み合わせに対応する第1判定部12を、添え字を付して12i,jと記す。1番目の信号はIO_であり、2番目の信号はIO_である。
The L first determination units 12 are provided for each combination of M (M = 2) status signals IO_0 and IO_6 and N ( N = 3 ) states φ 1 to φ 3 .
The first determination unit 12 corresponding to the combination of the i-th (1 ≦ i ≦ M) status signal and the j-th (1 ≦ j ≦ N) state is denoted by 12 i, j with a suffix. The first signal is IO_ 6, the second signal is IO_ 0.

第1判定部12i,jは、i番目のステータス信号のレベルを示すレベル信号Sを、j番目の状態φにおいて期待される期待値データEXPi,jと比較し、一致したときアサート(ハイレベル)される第1判定信号SJi,jを生成する。 The first determination section 12 i, j is the i-th level signal S i which indicates the level status signals, and compares the expected value data EXP i, j to be expected in the j-th state phi j, when matched A first determination signal SJ i, j to be asserted (high level) is generated.

上記の条件1〜3に照らすと、各期待値データEXPi,jは以下の通りとなる。
EXP1,1=1
EXP2,1=1
EXP1,2=1
EXP2,2=0
EXP1,3=0
“1”はハイレベルを、“0”はローレベルを示す。ここで第3条件に対して、2番目の信号IO_は冗長(Don't care)である。
In light of the above conditions 1 to 3, each expected value data EXP i, j is as follows.
EXP 1,1 = 1
EXP 2,1 = 1
EXP 1, 2 = 1
EXP 2,2 = 0
EXP 1,3 = 0
“1” indicates a high level and “0” indicates a low level. Relative Here the third condition, the second signal IO_ 0 are redundant (Do not care).

第1判定部12はそれぞれ、(i)期待値が1、(ii)期待値が0、(iii)マッチ検出の非対象、の3つの状態が切りかえ可能となっている。
(i)期待値が1の状態において、第1判定部12i,jは、入力されたレベル信号Sを“1”と比較し、一致するとき、第1判定信号SJi,jをアサート(ハイレベル)、一致しないときネゲート(ローレベル)する。
(ii)期待値が0の状態において、第1判定部12i,jは、入力されたレベル信号Sを“0”と比較し、一致するとき、第1判定信号SJi,jをアサート(ハイレベル)、一致しないときネゲート(ローレベル)する。
(iii)非対象状態において第1判定部12i,jは、入力されたレベル信号Sの値によらず、常にアサート(ハイレベル)された第1判定信号SJi,jを出力する。
The first determination unit 12 can switch between three states: (i) an expected value of 1, (ii) an expected value of 0, and (iii) a non-target for match detection.
(I) In a state where the expected value is 1, the first determination unit 12 i, j compares the input level signal S i with “1”, and asserts the first determination signal SJ i, j when they match. (High level), negate (Low level) when they do not match.
(Ii) In a state where the expected value is 0, the first determination unit 12 i, j compares the input level signal S i with “0”, and asserts the first determination signal SJ i, j when they match. (High level), negate (Low level) when they do not match.
(Iii) In the non-target state, the first determination unit 12 i, j outputs the first determination signal SJ i, j that is always asserted (high level) regardless of the value of the input level signal S i .

第1判定部12はそれぞれ、第1論理ゲート14および第2論理ゲート16を含む。
第1判定部12i,jの第1論理ゲート14は、レベル信号Sを期待値データEXPi,jと比較する。そして、レベル信号Sを期待値データEXPi,jが一致したときハイレベルを、不一致のときローレベルを出力する。第1論理ゲート14は、XORゲートを用いて構成できる。
Each first determination unit 12 includes a first logic gate 14 and a second logic gate 16.
The first logic gate 14 of the first determination unit 12 i, j compares the level signal S i with the expected value data EXP i, j . Then, when the level signal S i matches the expected value data EXP i, j , a high level is output, and when it does not match, a low level is output. The first logic gate 14 can be configured using an X N OR gate.

第2論理ゲート16は、第1判定部12i,jをマッチングの対象とするか否かを示す非対象制御信号DCi,jと、第1論理ゲート14の出力を受ける。非対象制御信号DCi,jがネゲート(ローレベル)のとき、第1判定部12はマッチングの対象とされ、第2論理ゲート16は、第1論理ゲート14の出力をそのまま第1判定信号SJi,jとして出力する。非対象制御信号DCがアサート(ハイレベル)のとき、第1判定部12はマッチングの非対象とされ、第2論理ゲート16は、アサート(ハイレベル)された第1判定信号SJi,jを出力する。第2論理ゲート16は、ORゲートを用いて構成できる。 The second logic gate 16 receives the non-target control signal DC i, j indicating whether or not the first determination unit 12 i, j is to be matched and the output of the first logic gate 14. When the non-target control signal DC i, j is negated (low level), the first determination unit 12 is a target of matching, and the second logic gate 16 uses the output of the first logic gate 14 as it is as the first determination signal SJ. Output as i and j . When the non-target control signal DC is asserted (high level), the first determination unit 12 is not matched, and the second logic gate 16 receives the asserted (high level) first determination signal SJ i, j . Output. The second logic gate 16 can be configured using an OR gate.

第1判定部12と付随して、期待値デコーダ26が設けられる。期待値デコーダ26i,jには、レジスタ28からの制御信号CNTi,jが入力されている。期待値デコーダ26i,jは制御信号CNTi,jに応じて、対応する第1判定部12i,jの状態を以下の3つのいずれかに設定する。
(a)ハイ期待(期待値1)
期待値デコーダ26i,jは、EXPi,j=1を出力するとともに、非対象制御信号DCをネゲート(ローレベル)する。
(b)ロー期待(期待値0)
期待値デコーダ26i,jは、EXPi,j=0を出力するとともに、非対象制御信号DCをネゲート(ローレベル)する。
(c)非対象状態
期待値デコーダ26i,jは、非対象制御信号DCをアサート(ハイレベル)する。
An expected value decoder 26 is provided in association with the first determination unit 12. A control signal CNT i, j from the register 28 is input to the expected value decoder 26 i, j . The expected value decoder 26 i, j sets the state of the corresponding first determination unit 12 i, j to one of the following three in accordance with the control signal CNT i, j .
(A) High expectations (expected value 1)
The expected value decoder 26 i, j outputs EXP i, j = 1, and negates (low level) the non-target control signal DC.
(B) Low expectation (expected value 0)
The expected value decoder 26 i, j outputs EXP i, j = 0, and negates the non-target control signal DC (low level).
(C) Non-target state Expected value decoders 26 i and j assert (high level) the non-target control signal DC.

たとえば、制御信号CNTi,jは2ビットのデータであり、値“01”が1期待、“11“が0期待、“00”が非対象に対応する。 For example, the control signal CNT i, j is 2-bit data, and the value “01” corresponds to 1 expectation, “11” corresponds to 0 expectation, and “00” corresponds to non-object.

制御信号CNTi,j、言い換えれば期待値EXPi,jおよび非対象制御信号DCは、パターンプログラム中ではなく、ピン条件設定文中に、固定的に定義される。 The control signal CNT i, j , in other words, the expected value EXP i, j and the non-target control signal DC are fixedly defined in the pin condition setting sentence, not in the pattern program.

N個の第2判定部18〜18は、それぞれがN個の状態ごとに設けられる。k番目(1≦k≦N)の状態に対応する第2判定部18は、k番目の状態に対応するM個の第1判定部121,k〜12M,kからM個の第1判定信号SJ1,k〜SJM,kを受ける。第2判定部18は、M個の第1判定信号SJ1,k〜SJM,kがすべてアサートされたときアサート(ハイレベル)され、そうでないときネゲート(ローレベル)される第2判定信号CASEを生成する。 Each of the N second determination units 18 1 to 18 N is provided for each of the N states. The second determination unit 18 k corresponding to the k-th (1 ≦ k ≦ N) state includes M first determination units 12 1, k to 12 M, k to M number of first determination units corresponding to the k-th state. 1 determination signal SJ 1, k ~SJ M, subjected to k. The second determination unit 18 k is a second determination that is asserted (high level) when all the M first determination signals SJ 1, k to SJ M, k are asserted, and negated (low level) otherwise. A signal CASE k is generated.

k番目の第2判定信号CASEは、条件kが真のとき、つまり第k状態φkのときにアサートされる。 The k-th second determination signal CASE k is asserted when the condition k is true, that is, when the k-th state φk.

試験装置100は、N個の状態φ〜φそれぞれに対応するN個の第2判定信号CASE〜CASEに応じて、条件分岐処理を実行する。 The test apparatus 100 executes conditional branch processing according to N second determination signals CASE 1 to CASE N corresponding to the N states φ 1 to φ N, respectively.

試験装置100は、プライオリティエンコーダ20をさらに備える。プライオリティエンコーダ20は、N個の第2判定信号CASE〜CASE、つまりNビットのデータ(以下、状態データという)CASE[N−1:0]を受ける。第2判定信号CASEは、状態データCASEの最上位ビット(MSB)に対応し、CASEは状態データCASEの最下位ビット(LSB)に対応する。 The test apparatus 100 further includes a priority encoder 20. The priority encoder 20 receives N second determination signals CASE 1 to CASE N , that is, N-bit data (hereinafter referred to as state data) CASE [N−1: 0]. The second determination signal CASE 1 corresponds to the most significant bit (MSB) of the state data CASE, and CASE N corresponds to the least significant bit (LSB) of the state data CASE.

プライオリティエンコーダ20は、Nビットの状態データCASE[N−1:0]をプライオリティエンコードし、マッチコードMatch_Codeを生成する。マッチコードMatch_Codeは、状態データCASE[N−1:0]の、最も上位に位置する“1”のビット位置を示す。図3は、状態データとマッチコードの関係を示す図である。図中、“X”は冗長を示す。   The priority encoder 20 performs priority encoding on the N-bit state data CASE [N-1: 0] to generate a match code Match_Code. The match code Match_Code indicates the bit position of “1” at the highest position of the state data CASE [N−1: 0]. FIG. 3 is a diagram illustrating the relationship between the status data and the match code. In the figure, “X” indicates redundancy.

以上が第1モード(複数マッチモード)に関連するマッチ検出回路10の構成である。   The above is the configuration of the match detection circuit 10 related to the first mode (multiple match mode).

マッチコードMatch_Codeは、セレクタ30を経由してパターンシーケンス分岐部32へと入力される。パターンシーケンス分岐部32は、第1モード(複数マッチモード)において、マッチコードMatch_Codeに応じたアドレスレジスタA〜Dを指定する。   The match code Match_Code is input to the pattern sequence branching unit 32 via the selector 30. The pattern sequence branching unit 32 specifies address registers A to D according to the match code Match_Code in the first mode (multiple match mode).

パターンシーケンス分岐部32以降の構成は、一般的な試験装置100と同様である。各アドレスA〜Dには、ジャンプ先のアドレスが記述されており、プログラムカウンタ(PC)40は、ジャンプ先のアドレスをロードする命令(LoadJumpAddress命令)を発行する。アドレス発生器42は、ロードされたアドレスにもとづいて、アドレスパターンを発生する。   The configuration after the pattern sequence branching unit 32 is the same as that of the general test apparatus 100. Each address A to D describes a jump destination address, and the program counter (PC) 40 issues an instruction to load the jump destination address (LoadJumpAddress instruction). The address generator 42 generates an address pattern based on the loaded address.

(第2モード)
続いて、第2モード(ノーマルマッチモード)に関連するマッチ検出回路10の構成を説明する。第2モードに関連してマッチ検出回路10は、M個の第3判定部22と、第4判定部24を備える。
(Second mode)
Next, the configuration of the match detection circuit 10 related to the second mode (normal match mode) will be described. In relation to the second mode, the match detection circuit 10 includes M third determination units 22 and a fourth determination unit 24.

M個の第3判定部22は、それぞれがM個のステータス信号(IO_0、IO_6)ごとに設けられる。i番目の信号に対応する第3判定部22は、i番目の信号Sのレベルを、サイクルごとに設定、更新される期待値EXPと比較し、一致したときアサートされる第3判定信号Norm_Matchを生成する。
第3判定部22は第1判定部12と同様に構成されるが、第3判定部22に与えられる期待値EXPは、パターンプログラム中に記述される点で第1判定部12への期待値EXPと異なっている。つまり、サイクルごとに判定条件が異なる場合、サイクルごとに異なる期待値EXPが第3判定部22へと与えられる。
Each of the M third determination units 22 is provided for each of the M status signals (IO_0, IO_6). The third determination unit 22 i corresponding to the i-th signal compares the level of the i-th signal S i with the expected value EXP i set and updated for each cycle, and is asserted when they match. A signal Norm_Match i is generated.
The third determination unit 22 is configured in the same manner as the first determination unit 12, but the expected value EXP given to the third determination unit 22 is the expected value for the first determination unit 12 in that it is described in the pattern program. Different from EXP. That is, when the determination conditions are different for each cycle, different expected values EXP are given to the third determination unit 22 for each cycle.

第4判定部24は、M個の第3判定信号Norm_Match〜Norm_Matchがすべてアサートされたときに、アサートされる第4判定信号Norm_Matchedを生成する。 The fourth determination unit 24 generates a fourth determination signal Norm_Matched that is asserted when all of the M third determination signals Norm_Match 1 to Norm_Match M are asserted.

第1モード(複数マッチモード)と第2モード(ノーマルマッチモード)を切り替えるために、セレクタ30が設けられる。セレクタ30は、第4判定信号Norm_MatchedとマッチコードMatch_Codeを受け、制御信号Multi_Matchに応じた一方を選択し、パターンシーケンス分岐部32へと出力する。具体的には、第1モードのとき制御信号Multi_Matchはアサートされ、セレクタ30はマッチコードMatch_Codeを選択する。第2モードにおいて制御信号Mult_Matchがネゲート(0)されると、セレクタ30は第4判定信号Norm_Matchedを選択する。   A selector 30 is provided to switch between the first mode (multiple match mode) and the second mode (normal match mode). The selector 30 receives the fourth determination signal Norm_Matched and the match code Match_Code, selects one according to the control signal Multi_Match, and outputs the selected one to the pattern sequence branching unit 32. Specifically, in the first mode, the control signal Multi_Match is asserted, and the selector 30 selects the match code Match_Code. When the control signal Mult_Match is negated (0) in the second mode, the selector 30 selects the fourth determination signal Norm_Matched.

このようにして、パターンシーケンス分岐部32は、第1モードにおいて、M個の第2判定信号CASE〜CASEに応じた条件分岐処理を実行し、第2モードにおいて、第4判定信号Norm_Matchedに応じた条件分岐処理を実行することができる。 In this way, the pattern sequence branching unit 32 executes the conditional branching process according to the M second determination signals CASE 1 to CASE M in the first mode, and outputs the fourth determination signal Norm_Matched in the second mode. A corresponding conditional branch process can be executed.

図4は、第1モードおよび第2モードにおけるパターンシーケンス分岐部32の動作を示す図である。   FIG. 4 is a diagram illustrating the operation of the pattern sequence branching unit 32 in the first mode and the second mode.

以上が試験装置100の構成である。続いてその動作を説明する。
図5は、図1の試験装置100の第1モードにおける動作を示すフローチャートである。試験装置100は、フラッシュメモリ(DUT102)のデータを消去する(S100)。続いて、フラッシュメモリの状態を示すステータス信号IO_0、IO_6を読み出す(S102)。続いて、読み出したステータス信号IO_0、IO_6を利用して、第2判定信号CASE〜CASEを生成し(S104)、続いてマッチコードMatch_Codeを生成する(S106)。続いて、マッチコードMatch_Codeに応じた条件分岐処理が実行される(S108)。
The above is the configuration of the test apparatus 100. Next, the operation will be described.
FIG. 5 is a flowchart showing an operation in the first mode of the test apparatus 100 of FIG. The test apparatus 100 erases the data in the flash memory (DUT 102) (S100). Subsequently, the status signals IO_0 and IO_6 indicating the state of the flash memory are read (S102). Subsequently, the second determination signals CASE 1 to CASE M are generated using the read status signals IO_0 and IO_6 (S104), and then the match code Match_Code is generated (S106). Subsequently, a conditional branch process corresponding to the match code Match_Code is executed (S108).

第1モードによれば、複数の分岐条件を同時に判定することができる。つまり、テストサイクルを短縮し、試験時間を短縮することができる。   According to the first mode, a plurality of branch conditions can be determined simultaneously. That is, the test cycle can be shortened and the test time can be shortened.

また、プライオリティエンコーダ20を用いて、第2判定信号CASE〜CASEをマッチコードMatch_Codeに変換するため、以下の利点を有する。 Further, since the second determination signals CASE 1 to CASE M are converted into the match code Match_Code using the priority encoder 20, the following advantages are obtained.

すなわち、実施の形態では図2に示すように、条件1〜3が同時に真になることはない。したがって第2判定信号CASE〜CASEに応じて分岐処理を行っても、マッチコードMatch_Codeを用いて分岐処理を行っても結果は同じである。ところが、検出すべきモードによっては、複数の状態が同時に発生する場合も想定しうる。つまり、複数の条件のうちのいくつかが同時に真となり、第2判定信号CASE〜CASEのうちのいくつかが同時にアサート(“1”)される状況が発生しうる。この場合に、プライオリティエンコーダ20によってマッチコードMatch_Codeを生成することにより、複数の第2判定信号CASEからCASEが順に優先されて条件分岐を行うことができる。言い換えれば、ユーザは優先順位の高いものから、第1条件φ、第2条件φ・・・と順に割り当てればよい。つまりユーザは、優先順位を考慮してピン条件設定文の記述をすればよく、テストプログラム中には優先順位に応じた分岐処理を記述する必要がない。これにより試験装置100のユーザに対して高いユーザビリティを提供できる。 That is, in the embodiment, as shown in FIG. 2, the conditions 1 to 3 do not become true at the same time. Therefore, whether the branch process is performed according to the second determination signals CASE 1 to CASE M or the branch process is performed using the match code Match_Code, the result is the same. However, depending on the mode to be detected, it may be assumed that a plurality of states occur simultaneously. That is, a situation may occur in which some of the plurality of conditions are true at the same time and some of the second determination signals CASE 1 to CASE M are asserted (“1”) at the same time. In this case, by generating the match code Match_Code by the priority encoder 20, the plurality of second determination signals CASE 1 to CASE M can be prioritized in order and conditional branching can be performed. In other words, the user may assign the first condition φ 1 , the second condition φ 2 ... In order from the highest priority. That is, the user only has to describe the pin condition setting sentence in consideration of the priority order, and there is no need to describe a branch process according to the priority order in the test program. Thereby, high usability can be provided to the user of the test apparatus 100.

また、第1判定部12ごとに、マッチ検出の対象、非対象を切りかえることが可能である。つまり各ステータス信号を、各状態の条件に含めるか否かを独立に設定することができ、あらゆるステータス信号の組み合わせを利用して自由にマッチ条件を設定することができる。   In addition, for each first determination unit 12, it is possible to switch between a match detection target and a non-target. That is, whether or not each status signal is included in the condition of each state can be set independently, and a match condition can be freely set using any combination of status signals.

図6は、図1の試験装置100の第2モードにおける動作を示すフローチャートである。処理S200〜S202は第1モードの処理S100〜S102と同様である。処理S202に続いて、条件2が判定される(S204)。具体的には第3判定部22において、ステータス信号IO_0に対する期待値EXPが“0”に設定され、第3判定部22において、ステータス信号IO_6に対する期待値EXPが“1”に設定される。その結果生ずる第4判定信号Norm_Matchedが“1”であれば(S204のY)、Erase Completed状態と判定されて所定のシーケンスに分岐する(S206)。 FIG. 6 is a flowchart showing an operation in the second mode of the test apparatus 100 of FIG. Processes S200 to S202 are the same as processes S100 to S102 in the first mode. Subsequent to the process S202, the condition 2 is determined (S204). Specifically, the third determination unit 22 1 sets the expected value EXP 1 for the status signal IO_0 to “0”, and the third determination unit 22 2 sets the expected value EXP 2 for the status signal IO_6 to “1”. Is done. If the resulting fourth determination signal Norm_Matched is “1” (Y in S204), it is determined to be in the Erase Completed state, and the process branches to a predetermined sequence (S206).

第4判定信号Norm_Matchedが“0”であれば(S204のN)、条件1が判定される(S208)。具体的には、第3判定部22において、ステータス信号IO_0に対する期待値EXPが“1”に設定され、第3判定部22において、ステータス信号IO_6に対する期待値EXPが“1”に設定される。その結果生ずる第4判定信号Norm_Matchedが“1”であれば(S208のY)、Erase Error状態と判定されて所定のシーケンスに分岐する(S210)。第4判定信号Norm_Matchedが“0”であれば(S208のN)、Retry状態と判定される。 If the fourth determination signal Norm_Matched is “0” (N in S204), the condition 1 is determined (S208). Specifically, the third determination unit 22 1 sets the expected value EXP 1 for the status signal IO_0 to “1”, and the third determination unit 22 2 sets the expected value EXP 2 for the status signal IO_6 to “1”. Is set. If the resulting fourth determination signal Norm_Matched is “1” (Y in S208), it is determined that an Erase Error state has occurred and branches to a predetermined sequence (S210). If the fourth determination signal Norm_Matched is “0” (N in S208), it is determined as the Retry state.

なお当業者には、図6のフローチャートにおいて、条件1、2の判定順序を任意に入れ替えることが可能であることは理解されよう。また条件3を判定する処理を行ってもよい。   It should be understood by those skilled in the art that the determination order of the conditions 1 and 2 can be arbitrarily changed in the flowchart of FIG. Processing for determining condition 3 may be performed.

図1の試験装置100によれば、第3判定部22、第4判定部24を設けることにより、サイクルごとに異なる条件を切り替えることができる。
また、第3判定部22ごとに、マッチ検出の対象、非対象を切りかえることが可能である。つまりユーザは、第2モードにおいても複数のステータス信号のうち任意のいくつかを利用して、自由にマッチ条件を設定することができる。
According to the test apparatus 100 of FIG. 1, by providing the third determination unit 22 and the fourth determination unit 24, different conditions can be switched for each cycle.
In addition, it is possible to switch the match detection target and non-target for each third determination unit 22. In other words, even in the second mode, the user can freely set a match condition using any of a plurality of status signals.

以上、本発明について、実施の形態をもとに説明した。この実施の形態は例示であり、それらの各構成要素や各処理プロセスの組み合わせにいろいろな変形例が可能なこと、またそうした変形例も本発明の範囲にあることは当業者に理解されるところである。以下、こうした変形例について説明する。   The present invention has been described based on the embodiments. This embodiment is an exemplification, and it will be understood by those skilled in the art that various modifications can be made to combinations of the respective constituent elements and processing processes, and such modifications are within the scope of the present invention. is there. Hereinafter, such modifications will be described.

たとえば、実施の形態では、第3判定部22を第1判定部12とは別に設ける場合を説明したが本発明はこれに限定されない。たとえば第3判定部22を省略し、第2モードにおいて、第1判定部12を第3判定部22として利用してもよい。この場合、第1モードと第2モードにおいて、第1判定部12に与える期待値EXPおよび非対象制御信号DCを切りかえればよい。この変形例によれば、回路面積を削減できる。   For example, in the embodiment, the case where the third determination unit 22 is provided separately from the first determination unit 12 has been described, but the present invention is not limited to this. For example, the third determination unit 22 may be omitted, and the first determination unit 12 may be used as the third determination unit 22 in the second mode. In this case, the expected value EXP and the non-target control signal DC given to the first determination unit 12 may be switched in the first mode and the second mode. According to this modification, the circuit area can be reduced.

実施の形態では、第1判定部12に対する期待値EXPおよび非対象制御信号DCが、パターンプログラム中ではなく、ピン条件設定文中に記述される場合を説明したが、パターンプログラム中に記述するように構成してもよい。   In the embodiment, the case has been described in which the expected value EXP and the non-target control signal DC for the first determination unit 12 are described in the pin condition setting sentence instead of in the pattern program. It may be configured.

実施の形態では、「アサート」をハイレベルに、「ネゲート」をローレベルに割り当てた論理系を例に説明したが、それらを反転してもよいことは当業者には理解できる。この場合、インバータや反転入力を有する論理ゲートを適宜用いればよい。   In the embodiments, the logic system in which “assert” is assigned to a high level and “negate” is assigned to a low level has been described as an example. However, those skilled in the art can understand that they may be inverted. In this case, an inverter or a logic gate having an inverting input may be used as appropriate.

実施の形態では試験装置100がフラッシュメモリ用のテスタである場合を説明したが、本発明はそれに限定されない。試験装置100は、その他のメモリを試験するテスタであってもよいし、SOCなどを試験するテスタであってもよい。また、マッチ検出処理により判定すべき状態も、上述したものに限定されずに任意に設定することができ、それらも本発明の範囲に含まれる。   Although the case where the test apparatus 100 is a tester for flash memory has been described in the embodiment, the present invention is not limited to this. The test apparatus 100 may be a tester for testing other memories, or a tester for testing SOC or the like. Further, the state to be determined by the match detection process can be arbitrarily set without being limited to those described above, and these are also included in the scope of the present invention.

実施の形態にもとづき本発明を説明したが、実施の形態は、本発明の原理、応用を示しているにすぎず、実施の形態には、請求の範囲に規定された本発明の思想を逸脱しない範囲において、多くの変形例や配置の変更が可能である。   Although the present invention has been described based on the embodiments, the embodiments merely show the principle and application of the present invention, and the embodiments depart from the idea of the present invention defined in the claims. Many modifications and arrangements can be made without departing from the scope.

10…マッチ検出回路、12…第1判定部、TCP…タイミングコンパレータ、LCP…レベルコンパレータ、FF…フリップフロップ、14…第1論理ゲート、16…第2論理ゲート、18…第2判定部、20…プライオリティエンコーダ、22…第3判定部、24…第4判定部、26…期待値デコーダ、28…レジスタ、30…セレクタ、32…パターンシーケンス分岐部、40…PC、42…アドレス発生器、100…試験装置、102…DUT。 DESCRIPTION OF SYMBOLS 10 ... Match detection circuit, 12 ... 1st determination part, TCP ... Timing comparator, LCP ... Level comparator, FF ... Flip-flop, 14 ... 1st logic gate, 16 ... 2nd logic gate, 18 ... 2nd determination part, 20 Priority encoder, 22 ... Third determination unit, 24 ... Fourth determination unit, 26 ... Expected value decoder, 28 ... Register, 30 ... Selector, 32 ... Pattern sequence branching unit, 40 ... PC, 42 ... Address generator, 100 ... Test equipment, 102 ... DUT.

Claims (4)

被試験デバイスからのM個(Mは自然数)の信号を受け、それらのレベルの組み合わせが、あらかじめ定められたN個(Nは2以上の整数)の状態のいずれに一致するかを判定するマッチ検出回路を備え、
前記マッチ検出回路は、
それぞれが前記M個の信号および前記N個の状態の組み合わせごとに設けられたL(L=M×N)個の第1判定部であって、i番目(1≦i≦M)の信号とj番目(1≦j≦N)の状態に対応する第1判定部は、i番目の信号のレベルを、j番目の状態において期待される期待値と比較し、一致したときアサートされる第1判定信号を生成する、L個の第1判定部と、
それぞれが前記N個の状態ごとに設けられたN個の第2判定部であって、k番目(1≦k≦N)の状態に対応する第2判定部は、k番目の状態に対応するM個の前記第1判定部からM個の前記第1判定信号を受け、当該M個の前記第1判定信号がすべてアサートされたとき、アサートされる第2判定信号を生成する、N個の第2判定部と、
前記N個の第2判定信号を各ビットとするNビットの状態データをプライオリティエンコードし、Nビットの状態データのうち、最も上位でアサートされたビットの位置を示すマッチコードを生成するプライオリティエンコーダと、
を含み、
本試験装置は、前記マッチコードに応じた処理を実行することを特徴とする試験装置。
A match that receives M signals (M is a natural number) from the device under test and determines which of the predetermined combinations of levels (N is an integer of 2 or more). With a detection circuit,
The match detection circuit includes:
Each is L (L = M × N) first determination units provided for each combination of the M signals and the N states, and the i-th (1 ≦ i ≦ M) signal and The first determination unit corresponding to the j-th (1 ≦ j ≦ N) state compares the level of the i-th signal with the expected value expected in the j-th state, and is asserted when they match. L first determination units that generate determination signals;
Each of the N second determination units provided for each of the N states, and the second determination unit corresponding to the kth (1 ≦ k ≦ N) state corresponds to the kth state. M number of the first determination signals are received from the M number of first determination units, and when all the M number of the first determination signals are asserted, N number of second determination signals that are asserted are generated. A second determination unit;
A priority encoder that priority-encodes N-bit state data having each of the N second determination signals as a bit, and generates a match code indicating the position of the most asserted bit in the N-bit state data; ,
Including
The test apparatus performs processing according to the match code .
前記マッチ検出回路は、
それぞれが前記M個の信号ごとに設けられたM個の第3判定部であって、i番目の信号に対応する前記第3判定部は、i番目の信号のレベルを、サイクルごとに設定される期待値と比較し、一致したときアサートされる第3判定信号を生成する、M個の第3判定部と、
前記M個の第3判定信号がすべてアサートされたときに、アサートされる第4判定信号を生成する第4判定部と、
をさらに備え、
本試験装置は、第1モードと第2モードが切りかえ可能に構成され、前記第1モードにおいて、前記N個の第2判定信号に応じた条件分岐処理を実行し、前記第2モードにおいて前記第4判定信号に応じた条件分岐処理を実行することを特徴とする請求項1に記載の試験装置。
The match detection circuit includes:
Each of the M third determination units is provided for each of the M signals, and the third determination unit corresponding to the i-th signal sets the level of the i-th signal for each cycle. An M number of third determination units that generate a third determination signal that is asserted when they match,
A fourth determination unit that generates a fourth determination signal to be asserted when all of the M third determination signals are asserted;
Further comprising
The test apparatus is configured to be able to switch between a first mode and a second mode, and in the first mode, executes a conditional branch process according to the N second determination signals, and in the second mode, the second mode 4. The test apparatus according to claim 1, wherein conditional branch processing is executed in accordance with the four determination signals.
前記L個の第1判定部はそれぞれが個別に、入力された信号の値によらずにアサートされる第1判定信号を出力する状態に設定可能に構成されることを特徴とする請求項1に記載の試験装置。   2. The L first determination units are configured to be individually settable to output a first determination signal that is asserted regardless of the value of an input signal. The test apparatus described in 1. 被試験デバイスからのM個(Mは自然数)の信号を受け、それらのレベルの組み合わせが、あらかじめ定められたN個(Nは2以上の整数)の状態のいずれに一致するかを判定する条件分岐判定方法であって、
前記M個の信号および前記N個の状態の組み合わせごとに、i番目の信号のレベルを、j番目の状態において期待される期待値と比較し、一致したときアサートされる第1判定信号を生成するステップと、
k番目(1≦k≦N)の状態に対応するM個の前記第1判定信号がすべてアサートされたとき、アサートされる第2判定信号を生成するステップと、
前記N個の第2判定信号を各ビットとするNビットの状態データをプライオリティエンコードし、Nビットの状態データのうち、最も上位でアサートされたビットの位置を示すマッチコードを生成するステップと、
前記マッチコードに応じた処理を実行するステップと、
を備えることを特徴とする条件分岐判定方法。
A condition for receiving M (M is a natural number) signals from the device under test and determining which of the N combinations (N is an integer of 2 or more) of the combinations of levels. A branch determination method,
For each combination of the M signals and the N states, the level of the i-th signal is compared with the expected value expected in the j-th state, and a first determination signal that is asserted when they match is generated. And steps to
generating a second determination signal that is asserted when all of the M first determination signals corresponding to the kth (1 ≦ k ≦ N) state are asserted;
Priority encoding N-bit state data with each of the N second determination signals as a bit, and generating a match code indicating the position of the most asserted bit of the N-bit state data;
Executing a process according to the match code;
A conditional branch determination method comprising:
JP2009182302A 2009-08-05 2009-08-05 Test apparatus and conditional branch determination method Expired - Fee Related JP5291567B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009182302A JP5291567B2 (en) 2009-08-05 2009-08-05 Test apparatus and conditional branch determination method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009182302A JP5291567B2 (en) 2009-08-05 2009-08-05 Test apparatus and conditional branch determination method

Publications (2)

Publication Number Publication Date
JP2011034653A JP2011034653A (en) 2011-02-17
JP5291567B2 true JP5291567B2 (en) 2013-09-18

Family

ID=43763571

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009182302A Expired - Fee Related JP5291567B2 (en) 2009-08-05 2009-08-05 Test apparatus and conditional branch determination method

Country Status (1)

Country Link
JP (1) JP5291567B2 (en)

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS529106B1 (en) * 1971-04-19 1977-03-14
KR101150961B1 (en) * 2007-06-12 2012-05-30 가부시키가이샤 어드밴티스트 Tester

Also Published As

Publication number Publication date
JP2011034653A (en) 2011-02-17

Similar Documents

Publication Publication Date Title
JP4494474B2 (en) Programmable memory built-in self test (MBIST) method and apparatus
US7302623B2 (en) Algorithm pattern generator for testing a memory device and memory tester using the same
US7017089B1 (en) Method and apparatus for testing a content addressable memory device
WO2008001543A1 (en) Semiconductor testing apparatus and semiconductor memory testing method
WO2008100602A1 (en) Embedded architecture with serial interface for testing flash memories
US20060195742A1 (en) Semiconductor memory device and method of testing the same
US20090228231A1 (en) Low pin interface testing module
US9256505B2 (en) Data transformations to improve ROM yield and programming time
JP2007147626A (en) Efuse programming data alignment verification apparatus and method
JP2004185691A (en) Method and circuit for testing semiconductor storage device, semiconductor storage device, and semiconductor device
US7315479B2 (en) Redundant memory incorporating serially-connected relief information storage
US9443611B2 (en) Semiconductor integrated circuit with bist circuit
JP5291567B2 (en) Test apparatus and conditional branch determination method
US7313745B1 (en) Decoder for pin-based scan test
TWI517163B (en) Nonvolatile memory apparatus and method for processing configuration information thereof
US7533318B2 (en) Test pattern generator and test pattern generation method for onboard memory devices
JP6143646B2 (en) Semiconductor device
US6785857B1 (en) Fixed-logic signal generated in an integrated circuit for testing a function macro integrated in an integrated circuit
US10054637B2 (en) Testing multi-core integrated circuit with parallel scan test data inputs and outputs
US20080022170A1 (en) Semiconductor memory device capable of arbitrarily setting the number of memory cells to be tested and related test method
US11164653B2 (en) Repair analysis circuit and memory including the same
US8488407B2 (en) Nonvolatile memory apparatus and method for processing configuration information thereof
US8094476B2 (en) Content addressable memory match signal test device and methods thereof
JP5074294B2 (en) Semiconductor device test method
US7496808B2 (en) Parallel bit test circuit in semiconductor memory device and associated method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20120420

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20130131

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20130205

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20130405

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20130604

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20130607

LAPS Cancellation because of no payment of annual fees