JP4952260B2 - Memory test equipment - Google Patents

Memory test equipment Download PDF

Info

Publication number
JP4952260B2
JP4952260B2 JP2007004394A JP2007004394A JP4952260B2 JP 4952260 B2 JP4952260 B2 JP 4952260B2 JP 2007004394 A JP2007004394 A JP 2007004394A JP 2007004394 A JP2007004394 A JP 2007004394A JP 4952260 B2 JP4952260 B2 JP 4952260B2
Authority
JP
Japan
Prior art keywords
memory
signal
selection
test
address
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.)
Active
Application number
JP2007004394A
Other languages
Japanese (ja)
Other versions
JP2008171504A (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.)
Yokogawa Electric Corp
Original Assignee
Yokogawa Electric 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 Yokogawa Electric Corp filed Critical Yokogawa Electric Corp
Priority to JP2007004394A priority Critical patent/JP4952260B2/en
Publication of JP2008171504A publication Critical patent/JP2008171504A/en
Application granted granted Critical
Publication of JP4952260B2 publication Critical patent/JP4952260B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、パケット化されたアドレスを用いてアクセスされ、データをパケットとして転送する被試験メモリの試験を行うメモリ試験装置に関する。   The present invention relates to a memory test apparatus for testing a memory under test that is accessed using packetized addresses and transfers data as packets.

近年、データの転送速度の向上等を図るため、パケット化されたアドレスを用いてアクセスされ、データをパケットとして転送するメモリが開発されている。このメモリの代表的なものの1つとして、例えばDirect RDRAM(Direct Rambus Dynamic Random Access Memory)(RDRAMは米国ラムバス社の登録商標)が挙げられる。このDirect RDRAMは、バス幅が8ビットと狭いが動作周波数が800MHz程度と高く、1.6Gbps程度の最大転送速度を実現している。このようなメモリの登場により、その試験を可能とするメモリ試験装置も開発されている。   In recent years, in order to improve the transfer rate of data and the like, a memory that is accessed using a packetized address and transfers data as a packet has been developed. One typical example of this memory is Direct RDRAM (Direct Rambus Dynamic Random Access Memory) (RDRAM is a registered trademark of Rambus, USA). This Direct RDRAM has a narrow bus width of 8 bits but an operating frequency as high as about 800 MHz, and realizes a maximum transfer speed of about 1.6 Gbps. With the advent of such a memory, a memory test apparatus that enables the test has been developed.

図3は、従来のメモリ試験装置の要部構成を示すブロック図である。図3に示す通り、従来のメモリ試験装置100は、シーケンス制御回路101、インストラクションメモリ102、アドレス発生回路103、データ発生回路104、制御信号発生回路105、選択部106a〜106n、波形整形回路107、及び期待値判定回路108を備えており、パケット化されたアドレスを用いてアクセスされ、データをパケットとして転送する被試験メモリ120の試験を行う。   FIG. 3 is a block diagram showing a main configuration of a conventional memory test apparatus. As shown in FIG. 3, a conventional memory test apparatus 100 includes a sequence control circuit 101, an instruction memory 102, an address generation circuit 103, a data generation circuit 104, a control signal generation circuit 105, selection units 106a to 106n, a waveform shaping circuit 107, And an expected value determination circuit 108, and a test is performed on the memory under test 120 that is accessed using a packetized address and transfers data as a packet.

シーケンス制御回路101は、ユーザにより作成された試験プログラムに記述されたシーケンス制御命令に従って、被試験メモリ120の試験に用いる試験パターンの発生シーケンスを制御するプログラムカウンタ信号PC10を出力する。インストラクションメモリ102は、試験プログラムに記述されたパターン発生命令等の各種命令を記憶するメモリであり、シーケンス制御回路101からプログラムカウンタ信号PC10が出力された場合には、そのプログラムカウンタ信号PC10で指定されるアドレスに記憶されている命令を読み出して出力する。   The sequence control circuit 101 outputs a program counter signal PC10 for controlling a test pattern generation sequence used for testing the memory under test 120 in accordance with a sequence control command described in a test program created by a user. The instruction memory 102 stores various instructions such as pattern generation instructions described in the test program. When the program counter signal PC10 is output from the sequence control circuit 101, the instruction memory 102 is designated by the program counter signal PC10. The instruction stored at the address to be read is output.

尚、インストラクションメモリ102に記憶される命令には、アドレスパターン発生命令、データパターン発生命令、制御信号発生命令、及びピン選択命令がある。ここで、アドレスパターン発生命令は被試験メモリ120の試験に用いるアドレスパターンを発生させる命令であり、データパターン発生命令は被試験メモリ120の試験に用いるデータパターンを発生させる命令である。これらの命令は、パターン発生命令の一種である。   The instructions stored in the instruction memory 102 include an address pattern generation instruction, a data pattern generation instruction, a control signal generation instruction, and a pin selection instruction. Here, the address pattern generation instruction is an instruction for generating an address pattern used for the test of the memory under test 120, and the data pattern generation instruction is an instruction for generating a data pattern used for the test of the memory under test 120. These instructions are a kind of pattern generation instructions.

また、制御信号発生命令は、被試験メモリ120の試験に用いる各種制御信号(チップ選択信号、ライト制御信号、リード制御信号等)を発生させる命令である。ピン選択命令は、被試験メモリ120が備える複数のピン(アドレスピン、データピン、及び制御ピン)の中から所定のピンを選択させる命令である。インストラクションメモリ102から読み出されたアドレスパターン発生命令、データパターン発生命令、制御信号発生命令、及びピン選択命令は、アドレスパターン発生命令信号PG11、データパターン発生命令信号PG12、制御信号発生命令信号PG13、及びピン選択命令信号PG14としてそれぞれ出力される。   The control signal generation command is a command for generating various control signals (chip selection signal, write control signal, read control signal, etc.) used for testing the memory under test 120. The pin selection command is a command for selecting a predetermined pin from a plurality of pins (address pin, data pin, and control pin) provided in the memory under test 120. The address pattern generation command, data pattern generation command, control signal generation command, and pin selection command read from the instruction memory 102 are an address pattern generation command signal PG11, a data pattern generation command signal PG12, a control signal generation command signal PG13, And a pin selection command signal PG14.

アドレス発生回路103は、インストラクションメモリ102から出力されるアドレスパターン発生命令信号PG11に従って所定の演算を行って被試験メモリ120に与えるアドレス信号A11を出力する。尚、このアドレス信号A11は、例えば48ビットの信号である。データ発生回路104は、インストラクションメモリ102から出力されるデータパターン発生命令信号PG12に従って所定の演算を行って被試験メモリ120に与えるデータ信号D11を出力する。尚、このデータ信号D11は、例えば32ビットの信号である。制御信号発生回路105は、インストラクションメモリ102から出力される制御信号発生命令信号PG13に従って被試験メモリ120に与える制御信号C11を出力する。   The address generation circuit 103 performs a predetermined operation according to the address pattern generation command signal PG11 output from the instruction memory 102 and outputs an address signal A11 to be given to the memory under test 120. The address signal A11 is a 48-bit signal, for example. The data generation circuit 104 performs a predetermined operation according to the data pattern generation command signal PG12 output from the instruction memory 102 and outputs a data signal D11 to be given to the memory under test 120. The data signal D11 is a 32-bit signal, for example. The control signal generation circuit 105 outputs a control signal C11 to be given to the memory under test 120 in accordance with the control signal generation command signal PG13 output from the instruction memory 102.

選択部106a〜106nは、被試験メモリ120が備える複数のピン毎に設けられており、アドレス信号A11の1ビット、データ信号D11の1ビット、制御信号C11の1ビット、並びに固定の論理レベルであるH(ハイ)レベル信号及びL(ロー)レベル信号の中から1つをリアルタイムに選択して、被試験メモリ120に与える試験信号をパケット化するものである。尚、選択部106a〜106nが選択する信号(ビット)は、予め固定されておらず、被試験メモリ120の試験中に選択部106a〜106n毎に動的に変化する。   The selectors 106a to 106n are provided for each of a plurality of pins included in the memory under test 120, and each of the address signal A11 has one bit, the data signal D11 has one bit, the control signal C11 has one bit, and a fixed logic level. One of the H (high) level signal and the L (low) level signal is selected in real time to packetize the test signal applied to the memory under test 120. The signals (bits) selected by the selection units 106a to 106n are not fixed in advance, and dynamically change for each selection unit 106a to 106n during the test of the memory under test 120.

この選択部106a〜106nは、ピン出力選択回路111及びピン出力選択メモリ112を備えている。ピン出力選択回路111は、上記のアドレス信号A11、データ信号D11、及び制御信号C11を入力としており、ピン出力選択メモリ112に記憶された選択信号に基づいて、これらの信号の内の何れかの信号の1ビット、又は固定の論理レベルであるHレベル若しくはLレベルを選択して出力する。ピン出力選択メモリ112は、ピン出力選択回路111で選択させるビットを指定する選択信号を予め記憶するメモリであり、インストラクションメモリ102から出力されるピン選択命令信号PG14で指定されるアドレスに記憶されている選択信号を読み出してピン出力選択回路111に出力する。   The selection units 106 a to 106 n include a pin output selection circuit 111 and a pin output selection memory 112. The pin output selection circuit 111 has the address signal A11, the data signal D11, and the control signal C11 as inputs. Based on the selection signal stored in the pin output selection memory 112, any one of these signals is output. One bit of the signal or a fixed logic level H level or L level is selected and output. The pin output selection memory 112 is a memory that stores in advance a selection signal for specifying a bit to be selected by the pin output selection circuit 111, and is stored at an address specified by the pin selection command signal PG14 output from the instruction memory 102. The selected signal is read and output to the pin output selection circuit 111.

波形整形回路107は、選択部106a〜106nが備える各ピン出力選択回路111から出力されるパケット化された試験信号を、試験プログラムによって指定されたタイミングで波形整形して被試験メモリ120に印加する回路である。期待値判定回路108は、選択部106a〜106nが備える各ピン出力選択回路111から出力されるパケット化された試験信号を期待値として用い、この期待値と被試験メモリ120から出力される信号を比較してパス・フェイルを判定する回路である。   The waveform shaping circuit 107 shapes the waveform of the packetized test signal output from each of the pin output selection circuits 111 provided in the selection units 106 a to 106 n at a timing specified by the test program and applies the signal to the memory under test 120. Circuit. The expected value determination circuit 108 uses the packetized test signal output from each pin output selection circuit 111 included in the selection units 106 a to 106 n as an expected value, and uses the expected value and the signal output from the memory under test 120. It is a circuit that determines pass / fail by comparison.

次に、図3に示すメモリ試験装置100の動作について説明する。図4は、従来のメモリ試験装置100で生成される試験信号の一例を示すタイミングチャートである。試験が開始されると、試験プログラムに記述されたパターン発生命令等の各種命令がインストラクションメモリ102に記憶されるとともに、選択信号がピン出力選択メモリ112に記憶される。以上の処理が終了すると、シーケンス制御回路101は、図4に示す基準クロックCLKに同期して試験プログラムに記述されたシーケンス制御命令を実行してプログラムカウンタ信号PC10を出力する。   Next, the operation of the memory test apparatus 100 shown in FIG. 3 will be described. FIG. 4 is a timing chart showing an example of a test signal generated by the conventional memory test apparatus 100. When the test is started, various instructions such as a pattern generation instruction described in the test program are stored in the instruction memory 102 and a selection signal is stored in the pin output selection memory 112. When the above processing is completed, the sequence control circuit 101 executes the sequence control instruction described in the test program in synchronization with the reference clock CLK shown in FIG. 4 and outputs the program counter signal PC10.

インストラクションメモリ102は基準クロックCLKに同期してプログラムカウンタ信号PC10で示されるアドレスに記憶されている各種命令を読み出す。これにより、インストラクションメモリ102からは、アドレスパターン発生命令信号PG11、データパターン発生命令信号PG12、及び制御信号発生命令信号PG13が出力され、これらはアドレス発生回路103、データ発生回路104、及び制御信号発生回路105にそれぞれ入力される。また、インストラクションメモリ102からは上記の各種信号とともにピン選択命令信号PG14も出力され、これは選択部106a〜106nの各々に設けられたピン出力選択メモリ112に入力される。   The instruction memory 102 reads out various instructions stored at the address indicated by the program counter signal PC10 in synchronization with the reference clock CLK. Thereby, the instruction memory 102 outputs an address pattern generation command signal PG11, a data pattern generation command signal PG12, and a control signal generation command signal PG13, which are generated by the address generation circuit 103, the data generation circuit 104, and the control signal generation. Each is input to the circuit 105. The instruction memory 102 also outputs a pin selection command signal PG14 together with the various signals described above, and this is input to the pin output selection memory 112 provided in each of the selection units 106a to 106n.

アドレス発生回路103においては、インストラクションメモリ102からのアドレスパターン発生命令信号PG11に従って、図4に示すアドレス信号A11が生成される。また、データ発生回路104においては、データパターン発生命令信号PG12に従って図4に示すデータ信号D11が生成され、制御信号発生回路105においては、制御信号発生命令信号PG13に従って図4に示す制御信号C11が生成される。ここで、アドレス信号A11、データ信号D11、及び制御信号C11は、図4に示す通り、基準クロックCLKの複数周期(図4に示す例では8周期)に亘ってそれぞれ同じ値が維持される信号である。   In the address generation circuit 103, the address signal A11 shown in FIG. 4 is generated in accordance with the address pattern generation command signal PG11 from the instruction memory 102. Further, in data generation circuit 104, data signal D11 shown in FIG. 4 is generated in accordance with data pattern generation command signal PG12, and in control signal generation circuit 105, control signal C11 shown in FIG. 4 is generated in accordance with control signal generation command signal PG13. Generated. Here, as shown in FIG. 4, the address signal A11, the data signal D11, and the control signal C11 are signals that maintain the same value over a plurality of cycles (eight cycles in the example shown in FIG. 4) of the reference clock CLK. It is.

生成されたアドレス信号A11、データ信号D11、及び制御信号C11は、選択部106a〜106nの各々に入力され、選択部106a〜106nの各々において、これらの信号の内の何れかの信号の1ビット、又は固定の論理レベルであるHレベル若しくはLレベルが選択される。このとき、選択部106a〜106nの各々に設けられたピン出力選択回路111は、ピン選択命令信号PG14で指定されるアドレス(ピン出力選択メモリ112のアドレス)に記憶されている選択信号に基づいて基準クロックCLK毎に信号(ビット)等を選択する。これにより、パケット化された試験信号が生成される。   The generated address signal A11, data signal D11, and control signal C11 are input to each of the selection units 106a to 106n. In each of the selection units 106a to 106n, one bit of any one of these signals. Or a fixed logic level, H level or L level, is selected. At this time, the pin output selection circuit 111 provided in each of the selection units 106a to 106n is based on the selection signal stored in the address (address of the pin output selection memory 112) specified by the pin selection command signal PG14. A signal (bit) or the like is selected for each reference clock CLK. Thereby, a packetized test signal is generated.

被試験メモリ120がDirect RDRAMである場合には、図4に示す試験信号が生成される。図4において、「ROW」,「COL」は試験信号の一種であるアドレス信号の行アドレス及び列アドレスをそれぞれ示しており、「DQ」は試験信号の一種であるデータ信号を示している。尚、CFM(Clock From Master:データ受信用クロック)は被試験メモリ120のデータ受信用のクロックを示している。また、図中の「ACT」は行アドレスを指定して被試験メモリ120を活性化するコマンドパケットであることを示しており、図中の「RD」は列アドレスを指定してリードを実行するコマンドパケットであることを示している。また、図中の「PRE」はプリチャージを実行するコマンドパケットであることを示しており、図中の「Q」はデータパケットであることを示している。   When the memory under test 120 is a Direct RDRAM, a test signal shown in FIG. 4 is generated. In FIG. 4, “ROW” and “COL” indicate a row address and a column address of an address signal which is a kind of test signal, and “DQ” indicates a data signal which is a kind of test signal. CFM (Clock From Master: data reception clock) represents a data reception clock of the memory under test 120. Also, “ACT” in the figure indicates a command packet that activates the memory under test 120 by designating a row address, and “RD” in the figure designates a column address to execute reading. Indicates a command packet. Further, “PRE” in the drawing indicates a command packet for executing precharge, and “Q” in the drawing indicates a data packet.

ここで、図4に示す通り、行アドレス「ROW」は「ROW0」,「ROW1」,「ROW2」の3ビットからなり、「ACT」コマンドパケットはアドレス信号A11及び制御信号C11が混在したパケットである。いま、図4に示す通り、アドレス発生回路103で複数ビットの「Aa」なるアドレス信号A11が生成されたとし、制御信号発生回路105で複数ビットの「RBa」なる制御信号C11が生成されたとする。このアドレス信号A11及び制御信号C11が選択部106a〜106nによって選択されることにより、アドレス信号A11の第0〜第12ビット(「A0」〜「A12」)と、制御信号C11の第0〜第12ビット(「RB0」〜「RB12」)とが図示の通りに配列された「ACT」コマンドパケットが生成される。尚、他のコマンドパケットも同様にして生成される。   Here, as shown in FIG. 4, the row address “ROW” consists of 3 bits of “ROW0”, “ROW1”, and “ROW2”, and the “ACT” command packet is a packet in which the address signal A11 and the control signal C11 are mixed. is there. Now, as shown in FIG. 4, it is assumed that a plurality of bits of “Aa” address signal A11 is generated by the address generation circuit 103, and a plurality of bits of “RBa” control signal C11 is generated by the control signal generation circuit 105. . When the address signal A11 and the control signal C11 are selected by the selection units 106a to 106n, the 0th to 12th bits (“A0” to “A12”) of the address signal A11 and the 0th to 0th bits of the control signal C11 are selected. An “ACT” command packet in which 12 bits (“RB0” to “RB12”) are arranged as illustrated is generated. Other command packets are generated in the same manner.

パケット化された試験信号は、波形整形回路107において試験プログラムによって指定されたタイミングで波形整形されて被試験メモリ120に印加される。このようにして、被試験メモリ120に対して試験信号が印加されて、データ信号の書き込み、読み出しが行われる。被試験メモリ120から読み出された信号は、期待値判定回路108において、期待値と比較されてパス・フェイルが判定される。   The packetized test signal is subjected to waveform shaping at a timing designated by the test program in the waveform shaping circuit 107 and applied to the memory under test 120. In this manner, the test signal is applied to the memory under test 120, and the data signal is written and read. The signal read from the memory under test 120 is compared with the expected value in the expected value determination circuit 108 to determine pass / fail.

尚、パケット化されたアドレスを用いてアクセスされ、データをパケットとして転送するメモリの試験を行う従来のメモリ試験装置については、例えば以下の非特許文献1を参照されたい。
河原崎 太、“高速メモリ対応ALPGの開発”、ANDO技報 Vol.69、安藤電気株式会社、2000年4月20日、p.74−78
For a conventional memory test apparatus for testing a memory that is accessed using packetized addresses and transfers data as packets, see, for example, Non-Patent Document 1 below.
Tadashi Kawarazaki, “Development of ALPG for high-speed memory”, ANDO Technical Report Vol. 69, Ando Electric Co., Ltd., April 20, 2000, p. 74-78

ところで、図3に示す従来のメモリ試験装置100においては、少なくとも被試験メモリ120の最大のデータ転送速度が確保できるように、シーケンス制御回路101、インストラクションメモリ102、アドレス発生回路103、データ発生回路104、及び制御信号発生回路105を高速動作させる必要がある。例えば、前述した通り、Direct RDRAMの最大転送速度は1.6Gbps程度であるが、この最大転送速度が確保できるような動作速度で上記の各回路を動作させる必要がある。   Incidentally, in the conventional memory test apparatus 100 shown in FIG. 3, the sequence control circuit 101, the instruction memory 102, the address generation circuit 103, and the data generation circuit 104 are provided so that at least the maximum data transfer speed of the memory under test 120 can be secured. And the control signal generation circuit 105 must be operated at high speed. For example, as described above, the maximum transfer rate of the Direct RDRAM is about 1.6 Gbps. However, it is necessary to operate each of the above circuits at an operation speed that can secure this maximum transfer rate.

近年、メモリの高速化が進んでおり、パケット化されたアドレスを用いてアクセスされ、データをパケットとして転送するメモリにおいても更なる高速化が図られることが予想される。このような高速動作が可能なメモリを試験するためには、上記の各回路も試験対象のメモリの最大転送速度の向上に伴って高速動作させる必要があるが、各回路を高速動作させようとすると、高価なデバイスを使用せざるを得ず、メモリ試験装置のコストが飛躍的に増大するという問題がある。   In recent years, the memory has been increased in speed, and it is expected that the memory will be further increased in the memory that is accessed using the packetized address and transfers the data as a packet. In order to test such a memory capable of high-speed operation, each of the above circuits needs to be operated at a high speed as the maximum transfer speed of the memory under test is improved. Then, an expensive device must be used, and there is a problem that the cost of the memory test apparatus increases dramatically.

本発明は上記事情に鑑みてなされたものであり、コストの上昇を抑えつつ高速なメモリの試験を行うことができるメモリ試験装置を提供することをを目的とする。   The present invention has been made in view of the above circumstances, and an object thereof is to provide a memory test apparatus capable of performing a high-speed memory test while suppressing an increase in cost.

上記課題を解決するために、本発明のメモリ試験装置は、パケット化されたアドレスを用いてアクセスされ、データをパケットとして転送する被試験メモリ(40)の試験を行うメモリ試験装置(1)において、少なくとも前記被試験メモリをアクセスするための複数ビットからなるアドレスを、前記被試験メモリの試験に用いる試験パターンとして発生する試験パターン発生部(11〜15)と、前記被試験メモリのピン毎に複数設けられ、前記試験パターンのビットを所定の規則に従ってそれぞれ選択する出力選択部(31a〜31k)と、前記出力選択部で選択されるビットの有効数を予め記憶する第1記憶部(19)と、前記選択部の各々で選択されたビットを一時的に記憶する第2記憶部(33)と、前記第2記憶部に記憶されたビットを、所定の規則に従って前記第1記憶部に記憶された前記有効数だけ順次選択することにより前記試験パターンをパケット化する選択部(34)と、前記第1記憶部に記憶された前記有効数に応じて、前記試験パターン発生部、前記出力選択部、及び前記第2記憶部の動作を制御する制御部(23)とを備えることを特徴としている。
この発明によると、試験パターン発生部から出力された試験パターンは、被試験メモリのピン毎に複数設けられた出力選択部の各々に入力され、そのビットが所定の規則に従ってそれぞれ選択されて第2記憶部に一時的に記憶される。そして、選択部によって一時的に記憶されたビットが所定の規則に従って順次選択されることにより、試験パターンがパケット化される。試験パターン発生部、出力選択部、及び第2記憶部の動作は、第1記憶部に記憶された有効数(出力選択部で選択されるビットの有効数)に応じて制御部によって制御される。具体的には、基準クロックを有効数で間引いた信号に同期して動作するよう制御される。
また、本発明のメモリ試験装置は、前記試験パターン発生部が、前記被試験メモリをアクセスするためのアドレスを発生するアドレス発生回路(13)と、前記被試験メモリに転送するデータを発生するデータ発生回路(14)と、前記被試験メモリの動作を制御する制御信号を発生する制御信号発生回路(15)とを備えることを特徴としている。
また、本発明のメモリ試験装置は、メモリ試験装置の動作を規定する基準クロックに同期して、前記第1記憶部に記憶された前記有効数を計数するカウンタ(20)と、前記カウンタの計数終了を検出する終了検出回路(22)とを備えており、前記制御部は、前記終了検出回路で前記カウンタの計数終了が検出された場合に、前記試験パターン発生部、前記出力選択部、及び前記第2記憶部を動作させる制御を行うことを特徴としている。
また、本発明のメモリ試験装置は、前記カウンタの計数値に応じた選択信号を出力する選択制御回路(21)を備えており、前記選択部は、前記選択制御回路から出力される前記選択信号に基づいて、前記第2記憶部に記憶されたビットの選択を行うことを特徴としている。
また、本発明のメモリ試験装置は、前記出力選択部の各々に対応して設けられ、前記出力選択部毎の選択規則を規定する選択信号を予め記憶する第3記憶部(32a〜32k)を備えることを特徴としている。
In order to solve the above problems, a memory test apparatus according to the present invention is a memory test apparatus (1) for testing a memory under test (40) which is accessed using packetized addresses and transfers data as packets. A test pattern generator (11-15) for generating at least an address composed of a plurality of bits for accessing the memory under test as a test pattern used for testing the memory under test; and for each pin of the memory under test A plurality of output selection units (31a to 31k) that select each of the bits of the test pattern according to a predetermined rule, and a first storage unit (19) that stores in advance the effective number of bits selected by the output selection unit A second storage unit (33) for temporarily storing bits selected by each of the selection units, and the second storage unit stored in the second storage unit A selection unit (34) for packetizing the test pattern by sequentially selecting the effective number stored in the first storage unit according to a predetermined rule, and the storage unit stored in the first storage unit A control unit (23) for controlling the operation of the test pattern generation unit, the output selection unit, and the second storage unit is provided according to the effective number.
According to the present invention, the test pattern output from the test pattern generator is input to each of a plurality of output selectors provided for each pin of the memory under test, and the bit is selected according to a predetermined rule, and the second is selected. It is temporarily stored in the storage unit. Then, the test pattern is packetized by sequentially selecting the bits temporarily stored by the selection unit according to a predetermined rule. The operations of the test pattern generation unit, the output selection unit, and the second storage unit are controlled by the control unit according to the effective number (the effective number of bits selected by the output selection unit) stored in the first storage unit. . Specifically, it is controlled to operate in synchronization with a signal obtained by thinning out the reference clock by an effective number.
Further, in the memory test apparatus of the present invention, the test pattern generator generates an address for generating an address for accessing the memory under test, and data for generating data to be transferred to the memory under test A generation circuit (14) and a control signal generation circuit (15) for generating a control signal for controlling the operation of the memory under test are provided.
In addition, the memory test apparatus of the present invention includes a counter (20) that counts the effective number stored in the first storage unit in synchronization with a reference clock that defines the operation of the memory test apparatus; An end detection circuit (22) for detecting the end, and when the end detection circuit detects the end of counting of the counter, the control unit includes the test pattern generation unit, the output selection unit, and Control for operating the second storage unit is performed.
The memory test apparatus of the present invention further includes a selection control circuit (21) for outputting a selection signal corresponding to the count value of the counter, and the selection unit outputs the selection signal output from the selection control circuit. Based on the above, the selection of the bit stored in the second storage unit is performed.
In addition, the memory test apparatus of the present invention includes a third storage unit (32a to 32k) that is provided corresponding to each of the output selection units and stores in advance a selection signal that defines a selection rule for each of the output selection units. It is characterized by providing.

本発明によれば、試験パターン発生部、出力選択部、及び第2記憶部の動作は、第1記憶部に記憶された有効数(出力選択部で選択されるビットの有効数)に応じて制御部によって制御されるため、高速動作させるための高価なデバイスが不要になり、コストの上昇を抑えつつ高速なメモリの試験を行うことができるという効果がある。   According to the present invention, the operations of the test pattern generation unit, the output selection unit, and the second storage unit depend on the effective number (the effective number of bits selected by the output selection unit) stored in the first storage unit. Since it is controlled by the control unit, there is no need for an expensive device for high-speed operation, and there is an effect that a high-speed memory test can be performed while suppressing an increase in cost.

以下、図面を参照して本発明の一実施形態によるメモリ試験装置について詳細に説明する。図1は、本発明の一実施形態によるメモリ試験装置の要部構成を示すブロック図である。図1に示す通り、本実施形態のメモリ試験装置1は、シーケンス制御回路11、インストラクションメモリ12、アドレス発生回路13、データ発生回路14、制御信号発生回路15(以上、試験パターン発生部)、選択部16a〜16n、波形整形回路17、期待値判定回路18、サイクル数メモリ19(第1記憶部)、カウンタ20、選択制御回路21、終了検出回路22、及びクロックイネーブル制御回路23(制御部)を備えており、パケット化されたアドレスを用いてアクセスされ、データをパケットとして転送する被試験メモリ40の試験を行う。   Hereinafter, a memory test apparatus according to an embodiment of the present invention will be described in detail with reference to the drawings. FIG. 1 is a block diagram showing a main configuration of a memory test apparatus according to an embodiment of the present invention. As shown in FIG. 1, the memory test apparatus 1 of this embodiment includes a sequence control circuit 11, an instruction memory 12, an address generation circuit 13, a data generation circuit 14, a control signal generation circuit 15 (hereinafter referred to as a test pattern generation unit), a selection. Units 16a to 16n, waveform shaping circuit 17, expected value determination circuit 18, cycle number memory 19 (first storage unit), counter 20, selection control circuit 21, end detection circuit 22, and clock enable control circuit 23 (control unit) And testing the memory under test 40 that is accessed using a packetized address and transfers data as a packet.

シーケンス制御回路11は、ユーザにより作成された試験プログラムに記述されたシーケンス制御命令に従って、被試験メモリ40の試験に用いる試験パターンの発生シーケンスを制御するプログラムカウンタ信号PCを出力する。インストラクションメモリ12は、試験プログラムに記述されたパターン発生命令等の各種命令を記憶するメモリであり、シーケンス制御回路11からプログラムカウンタ信号PCが出力された場合には、そのプログラムカウンタ信号PCで指定されるアドレスに記憶されている命令を読み出して出力する。   The sequence control circuit 11 outputs a program counter signal PC for controlling a test pattern generation sequence used for testing the memory under test 40 in accordance with a sequence control instruction described in a test program created by a user. The instruction memory 12 stores various instructions such as a pattern generation instruction described in the test program. When the program counter signal PC is output from the sequence control circuit 11, the instruction memory 12 is designated by the program counter signal PC. The instruction stored at the address to be read is output.

尚、インストラクションメモリ12に記憶される命令には、アドレスパターン発生命令、データパターン発生命令、制御信号発生命令、及びピン選択命令がある。ここで、アドレスパターン発生命令は被試験メモリ40の試験に用いるアドレスパターンを発生させる命令であり、データパターン発生命令は被試験メモリ40の試験に用いるデータパターンを発生させる命令である。これらの命令は、パターン発生命令の一種である。   The instructions stored in the instruction memory 12 include an address pattern generation instruction, a data pattern generation instruction, a control signal generation instruction, and a pin selection instruction. Here, the address pattern generation instruction is an instruction for generating an address pattern used for the test of the memory under test 40, and the data pattern generation instruction is an instruction for generating a data pattern used for the test of the memory under test 40. These instructions are a kind of pattern generation instructions.

また、制御信号発生命令は、被試験メモリ40の試験に用いる各種制御信号(チップ選択信号、ライト制御信号、リード制御信号等)を発生させる命令である。ピン選択命令は、被試験メモリ40が備える複数のピン(アドレスピン、データピン、及び制御ピン)の中から所定のピンを選択させる命令である。インストラクションメモリ12から読み出されたアドレスパターン発生命令、データパターン発生命令、制御信号発生命令、及びピン選択命令は、アドレスパターン発生命令信号PG1、データパターン発生命令信号PG2、制御信号発生命令信号PG3、及びピン選択命令信号PG4としてそれぞれ出力される。   The control signal generation command is a command for generating various control signals (chip selection signal, write control signal, read control signal, etc.) used for testing the memory under test 40. The pin selection command is a command for selecting a predetermined pin from a plurality of pins (address pin, data pin, and control pin) provided in the memory under test 40. An address pattern generation instruction, a data pattern generation instruction, a control signal generation instruction, and a pin selection instruction read from the instruction memory 12 are an address pattern generation instruction signal PG1, a data pattern generation instruction signal PG2, a control signal generation instruction signal PG3, And a pin selection command signal PG4.

アドレス発生回路13は、インストラクションメモリ12から出力されるアドレスパターン発生命令信号PG1に従って所定の演算を行って被試験メモリ40に与えるアドレス信号A1を出力する。尚、このアドレス信号A1は、例えば48ビットの信号である。データ発生回路14は、インストラクションメモリ12から出力されるデータパターン発生命令信号PG2に従って所定の演算を行って被試験メモリ40に与えるデータ信号D1を出力する。尚、このデータ信号D1は、例えば32ビットの信号である。制御信号発生回路15は、インストラクションメモリ12から出力される制御信号発生命令信号PG3に従って被試験メモリ40に与える制御信号C1を出力する。   The address generation circuit 13 performs a predetermined operation according to the address pattern generation command signal PG1 output from the instruction memory 12 and outputs an address signal A1 to be given to the memory under test 40. The address signal A1 is a 48-bit signal, for example. The data generation circuit 14 performs a predetermined operation according to the data pattern generation command signal PG2 output from the instruction memory 12, and outputs a data signal D1 to be given to the memory under test 40. The data signal D1 is a 32-bit signal, for example. The control signal generation circuit 15 outputs a control signal C1 to be given to the memory under test 40 in accordance with the control signal generation command signal PG3 output from the instruction memory 12.

選択部16a〜16nは、被試験メモリ40が備える複数のピン毎に設けられており、アドレス信号A1の1ビット、データ信号D1の1ビット、制御信号C1の1ビット、並びに固定の論理レベルであるH(ハイ)レベル信号及びL(ロー)レベル信号の中から1つをリアルタイムに選択して、被試験メモリ40に与える試験信号をパケット化するものである。尚、選択部16a〜16nが選択する信号(ビット)は、予め固定されておらず、被試験メモリ40の試験中に選択部16a〜16n毎に動的に変化する。   The selectors 16a to 16n are provided for each of a plurality of pins included in the memory under test 40, and each of the address signal A1 has one bit, the data signal D1 has one bit, the control signal C1 has one bit, and a fixed logic level. One of the H (high) level signal and the L (low) level signal is selected in real time to packetize the test signal applied to the memory under test 40. The signals (bits) selected by the selectors 16a to 16n are not fixed in advance and change dynamically for each of the selectors 16a to 16n during the test of the memory under test 40.

この選択部16a〜16nは、複数のピン出力選択回路31a〜31k(出力選択部)、複数のピン出力選択メモリ32a〜32k(第3記憶部)、FIFO(First-In First-Out:先入れ先出し)メモリ33(第2記憶部)、及び選択回路34(選択部)を備える。ピン出力選択回路31a〜31kの各々は、上記のアドレス信号A1、データ信号D1、及び制御信号C1を入力としており、ピン出力選択メモリ32a〜32kに記憶された選択信号に基づいて、これらの信号の内の何れかの信号の1ビット、又は固定の論理レベルであるHレベル若しくはLレベルを選択して出力する。   The selection units 16a to 16n include a plurality of pin output selection circuits 31a to 31k (output selection unit), a plurality of pin output selection memories 32a to 32k (third storage unit), and a FIFO (First-In First-Out). A memory 33 (second storage unit) and a selection circuit 34 (selection unit) are provided. Each of the pin output selection circuits 31a to 31k receives the address signal A1, the data signal D1, and the control signal C1 as input, and these signals are based on the selection signals stored in the pin output selection memories 32a to 32k. 1 bit of any of the signals, or H level or L level which is a fixed logic level is selected and output.

ピン出力選択メモリ32a〜32kは、ピン出力選択回路31a〜31kに対応してそれぞれ設けられており、ピン出力選択回路31a〜31kで選択させるビットを指定する選択信号を予め記憶するメモリである。このピン出力選択メモリ32a〜32kは、インストラクションメモリ12から出力されるピン選択命令信号PG4で指定されるアドレスに記憶されている選択信号を読み出してピン出力選択回路31a〜31kにそれぞれ出力する。尚、ピン出力選択回路31a〜31k及びピン出力選択メモリ32a〜32kの数は、被試験メモリ40に与えるパケットの最大長(最大サイクル数)の倍程度である。   The pin output selection memories 32a to 32k are provided corresponding to the pin output selection circuits 31a to 31k, respectively, and store in advance a selection signal for designating a bit to be selected by the pin output selection circuits 31a to 31k. The pin output selection memories 32a to 32k read the selection signal stored at the address specified by the pin selection command signal PG4 output from the instruction memory 12 and output it to the pin output selection circuits 31a to 31k. The number of pin output selection circuits 31a to 31k and the pin output selection memories 32a to 32k is about twice the maximum packet length (maximum number of cycles) given to the memory under test 40.

FIFOメモリ33は、ピン出力選択回路31a〜31kの各々で選択されたビット又は論理レベルを一時的に記憶するメモリである。また、サイクル数メモリ19から出力されるサイクル数(ピン出力選択回路31a〜31kで選択されるビットの有効数)CYも一時的に記憶する。選択回路34は、選択制御回路21から出力される選択信号S1に基づいて、FIFOメモリ33に一時的に記憶されたビット等をリアルタイムに選択することにより試験パターンをパケット化する。パケット化された試験パターンは試験信号E1として出力される。   The FIFO memory 33 is a memory that temporarily stores a bit or a logic level selected by each of the pin output selection circuits 31a to 31k. In addition, the number of cycles output from the cycle number memory 19 (the effective number of bits selected by the pin output selection circuits 31a to 31k) CY is also temporarily stored. The selection circuit 34 packetizes the test pattern by selecting bits or the like temporarily stored in the FIFO memory 33 in real time based on the selection signal S1 output from the selection control circuit 21. The packetized test pattern is output as a test signal E1.

波形整形回路17は、選択部16a〜16nが備える各選択回路34から出力されるパケット化された試験信号E1を、試験プログラムによって指定されたタイミングで波形整形して被試験メモリ40に印加する回路である。期待値判定回路18は、選択部16a〜16nが備える各選択回路34から出力されるパケット化された試験信号E1を期待値として用い、この期待値と被試験メモリ40から出力される信号を比較してパス・フェイルを判定する回路である。   The waveform shaping circuit 17 is a circuit that shapes the waveform of the packetized test signal E1 output from each selection circuit 34 included in the selection units 16a to 16n at a timing specified by the test program and applies the signal to the memory under test 40. It is. The expected value determination circuit 18 uses the packetized test signal E1 output from each selection circuit 34 included in the selection units 16a to 16n as an expected value, and compares this expected value with the signal output from the memory under test 40. This is a circuit for determining pass / fail.

サイクル数メモリ19は、ピン出力選択回路31a〜31kで選択されるビットの有効数であるサイクル数を予め記憶するメモリである。このサイクル数メモリ19は、インストラクションメモリ12から出力されるピン選択命令信号PG4で指定されるアドレスに記憶されているサイクル数CYを読み出してFIFOメモリ33に出力する。尚、サイクル数メモリ19に記憶されるサイクル数は、試験プログラム中で指定されている。   The cycle number memory 19 is a memory that stores in advance a cycle number that is an effective number of bits selected by the pin output selection circuits 31a to 31k. The cycle number memory 19 reads the cycle number CY stored at the address specified by the pin selection command signal PG 4 output from the instruction memory 12 and outputs it to the FIFO memory 33. The number of cycles stored in the cycle number memory 19 is specified in the test program.

カウンタ20は、FIFOメモリ33に一時的に記憶されたサイクルCY数を読み出し、このサイクル数を初期値としてカウント(計数)する。具体的には、サイクル数を初期値としてメモリ試験装置1の動作を規定する基準クロックに同期してカウントダウンしつつ、そのカウント値CTを出力する。選択制御回路21は、カウンタ20から出力されるカウント値CTに応じた選択信号S1を出力する。具体的には、カウンタ20から出力されるカウント値CTがサイクル数の初期値の場合には、初期値として値「0」を出力し、カウンタ20がカウントダウンする度に、値が「1」ずつ増加する(インクリメントする)選択信号S1を出力する。終了検出回路22は、カウンタ20のカウント終了を検出する回路である。具体的には、カウンタ20のカウント値CTが「1」になるとカウント終了した旨を示す終了検出信号DTを出力する。   The counter 20 reads the number of cycles CY temporarily stored in the FIFO memory 33, and counts (counts) this cycle number as an initial value. Specifically, the count value CT is output while counting down in synchronization with a reference clock that defines the operation of the memory test apparatus 1 with the number of cycles as an initial value. The selection control circuit 21 outputs a selection signal S1 corresponding to the count value CT output from the counter 20. Specifically, when the count value CT output from the counter 20 is the initial value of the number of cycles, the value “0” is output as the initial value, and the value is incremented by “1” each time the counter 20 counts down. An increasing (incrementing) selection signal S1 is output. The end detection circuit 22 is a circuit that detects the count end of the counter 20. Specifically, when the count value CT of the counter 20 becomes “1”, an end detection signal DT indicating that the count has ended is output.

クロックイネーブル制御回路23は、サイクル数メモリ19に記憶されたサイクル数CYに応じて、シーケンス制御回路11〜制御信号発生回路15からなる試験パターン発生部、ピン出力選択回路31a〜31k、ピン出力選択メモリ31a〜32k、及びFIFOメモリ33の書き込み動作を制御する。具体的には、終了検出回路22から検出信号DTが出力された場合に、上記の試験パターン発生部、ピン出力選択回路31a〜31k、及びピン出力選択メモリ31a〜32k、及びFIFOメモリ33に対する基準クロックを有効にするクロックイネーブル信号CEを出力する。つまり、クロックイネーブル制御回路23は、サイクル数メモリ19に記憶されたサイクル数CYに応じて基準クロックを間引く制御を行う。これにより、上記の各構成の動作周波数を抑えることができる。   The clock enable control circuit 23 corresponds to the cycle number CY stored in the cycle number memory 19, and includes a test pattern generation unit including the sequence control circuit 11 to the control signal generation circuit 15, pin output selection circuits 31a to 31k, and pin output selection. The write operations of the memories 31a to 32k and the FIFO memory 33 are controlled. Specifically, when the detection signal DT is output from the end detection circuit 22, the reference for the test pattern generation unit, the pin output selection circuits 31 a to 31 k, the pin output selection memories 31 a to 32 k, and the FIFO memory 33. A clock enable signal CE for enabling the clock is output. That is, the clock enable control circuit 23 performs control to thin out the reference clock according to the cycle number CY stored in the cycle number memory 19. Thereby, the operating frequency of each said structure can be suppressed.

次に、図1に示すメモリ試験装置1の動作について説明する。図2は、本発明の一実施形態によるメモリ試験装置1で生成される試験信号の一例を示すタイミングチャートである。試験が開始されると、試験プログラムに記述されたパターン発生命令等の各種命令がインストラクションメモリ12に記憶されるとともに、選択信号がピン出力選択メモリ32a〜32kに記憶される。また、試験プログラムで指定されているサイクル数がサイクル数メモリ19に記憶される。   Next, the operation of the memory test apparatus 1 shown in FIG. 1 will be described. FIG. 2 is a timing chart showing an example of a test signal generated by the memory test apparatus 1 according to an embodiment of the present invention. When the test is started, various instructions such as a pattern generation instruction described in the test program are stored in the instruction memory 12, and selection signals are stored in the pin output selection memories 32a to 32k. In addition, the cycle number specified in the test program is stored in the cycle number memory 19.

以上の処理が終了すると、クロックイネーブル制御回路23からクロックイネーブル信号CEが出力され、これによりシーケンス制御回路〜制御信号発生回路15からなる試験パターン発生部、ピン出力選択回路31a〜31k、ピン出力選択メモリ31a〜32k、及びFIFOメモリ33の動作が開始される。シーケンス制御回路11は、クロックイネーブル信号CEに同期して試験プログラムに記述されたシーケンス制御命令を実行してプログラムカウンタ信号PCを出力する。   When the above processing is completed, a clock enable signal CE is output from the clock enable control circuit 23, whereby a test pattern generation unit including the sequence control circuit to the control signal generation circuit 15, pin output selection circuits 31a to 31k, and pin output selection The operations of the memories 31a to 32k and the FIFO memory 33 are started. The sequence control circuit 11 executes a sequence control instruction described in the test program in synchronization with the clock enable signal CE and outputs a program counter signal PC.

インストラクションメモリ12はクロックイネーブル信号CEに同期してプログラムカウンタ信号PCで示されるアドレスに記憶されている各種命令を読み出す。これにより、インストラクションメモリ12からは、アドレスパターン発生命令信号PG1、データパターン発生命令信号PG2、及び制御信号発生命令信号PG3が出力され、これらはアドレス発生回路13、データ発生回路14、及び制御信号発生回路15にそれぞれ入力される。また、インストラクションメモリ12からは上記の各種信号とともにピン選択命令信号PG4も出力され、これは選択部16a〜16nの各々に設けられたピン出力選択メモリ32a〜32k及びサイクル数メモリ19に入力される。   The instruction memory 12 reads various instructions stored at the address indicated by the program counter signal PC in synchronization with the clock enable signal CE. Thereby, the instruction memory 12 outputs an address pattern generation command signal PG1, a data pattern generation command signal PG2, and a control signal generation command signal PG3, which are generated by the address generation circuit 13, the data generation circuit 14, and the control signal generation. Each is input to the circuit 15. The instruction memory 12 also outputs a pin selection command signal PG4 together with the above-described various signals, which are input to the pin output selection memories 32a to 32k and the cycle number memory 19 provided in each of the selection units 16a to 16n. .

アドレス発生回路13においては、インストラクションメモリ12からのアドレスパターン発生命令信号PG1に従って、図2に示すアドレス信号A1が生成される。また、データ発生回路14においては、データパターン発生命令信号PG2に従って図2に示すデータ信号D1が生成され、制御信号発生回路15においては、制御信号発生命令信号PG3に従って図2に示す制御信号C1が生成される。ここで、アドレス信号A1、データ信号D1、及び制御信号C1は、図2に示す通り、クロックイネーブル信号CEの周期に亘ってそれぞれ同じ値が維持される信号である。   In the address generation circuit 13, the address signal A1 shown in FIG. 2 is generated in accordance with the address pattern generation command signal PG1 from the instruction memory 12. Further, in data generation circuit 14, data signal D1 shown in FIG. 2 is generated in accordance with data pattern generation command signal PG2, and in control signal generation circuit 15, control signal C1 shown in FIG. 2 is generated in accordance with control signal generation command signal PG3. Generated. Here, the address signal A1, the data signal D1, and the control signal C1 are signals that maintain the same value over the period of the clock enable signal CE, as shown in FIG.

生成されたアドレス信号A1、データ信号D1、及び制御信号C1は、選択部16a〜16nの各々に設けられたピン出力選択回路31a〜31kの各々に入力される。ピン出力選択回路31a〜31kは、対応するピン出力選択メモリ32a〜32kのピン選択命令信号PG4で指定されるアドレスに記憶されている選択信号に基づいて、入力される信号の内の何れかの信号の1ビット、又は固定の論理レベルであるHレベル若しくはLレベルをそれぞれ選択して出力する。例えば、図2に示す例においては、ピン出力選択回路31aでは制御信号C1の第5ビット(「RB5」)が選択され、ピン出力選択回路31cではアドレス信号A1の第9ビット(「A9」)が選択され、ピン出力選択回路31jではLレベル(「LOW」)が選択されている。   The generated address signal A1, data signal D1, and control signal C1 are input to each of the pin output selection circuits 31a to 31k provided in each of the selection units 16a to 16n. The pin output selection circuits 31a to 31k are any one of the input signals based on the selection signal stored at the address specified by the pin selection command signal PG4 of the corresponding pin output selection memory 32a to 32k. One bit of the signal, or H level or L level, which is a fixed logic level, is selected and output. For example, in the example shown in FIG. 2, the pin output selection circuit 31a selects the fifth bit (“RB5”) of the control signal C1, and the pin output selection circuit 31c selects the ninth bit (“A9”) of the address signal A1. Is selected, and the pin output selection circuit 31j selects the L level ("LOW").

このようにして、選択部16a〜16nに設けられたピン出力選択回路31a〜31kの各々において、入力される信号の1ビット又は固定の論理レベルであるHレベル若しくはLレベルが選択され、選択部16a〜16nの各々に設けられたFIFOメモリ33には複数ビットからなる信号が一時的に記憶される。尚、ピン出力選択回路31a〜31kからFIFOメモリ33に入力される信号のビット数は固定ではなく、被試験メモリ40に与えるパケットの長さ(サイクル数)に応じて変化する。図2に示す通り、FIFOメモリ33に入力される信号は、クロックイネーブル信号CEの周期に亘ってそれぞれ同じ値が維持される信号である。   In this manner, in each of the pin output selection circuits 31a to 31k provided in the selection units 16a to 16n, one bit of the input signal or a fixed logic level of H level or L level is selected, and the selection unit A FIFO memory 33 provided in each of 16a to 16n temporarily stores a signal composed of a plurality of bits. Note that the number of bits of the signal input from the pin output selection circuits 31a to 31k to the FIFO memory 33 is not fixed, but varies according to the length of the packet (number of cycles) given to the memory under test 40. As shown in FIG. 2, the signal input to the FIFO memory 33 is a signal that maintains the same value over the period of the clock enable signal CE.

また、インストラクションメモリ12から出力されたピン選択命令信号PG4がサイクル数メモリ19に入力されると、このピン選択命令信号PG4で指定されるアドレスに記憶されているサイクル数CYが読み出されてFIFOメモリ33に一時的に記憶される。尚、ここでは、図2に示す通り、サイクル数メモリ19から読み出されたサイクル数CYの値が「18」である場合を例に挙げて説明する。サイクル数CYの値が「18」であることは、クロックイネーブル信号CEの期間T1(図2参照)が、基準クロックの18周期分であることを意味する。   When the pin selection command signal PG4 output from the instruction memory 12 is input to the cycle number memory 19, the cycle number CY stored at the address specified by the pin selection command signal PG4 is read and the FIFO is read out. It is temporarily stored in the memory 33. Here, the case where the value of the cycle number CY read from the cycle number memory 19 is “18” as shown in FIG. 2 will be described as an example. The value of the cycle number CY being “18” means that the period T1 (see FIG. 2) of the clock enable signal CE is 18 periods of the reference clock.

尚、ピン出力選択回路31a〜31kで選択されたビット等がFIFOメモリ33に入力されるタイミングと、サイクル数CYがFIFOメモリ33に入力されるタイミングとの間には、実際にはずれがあるが、図2においては図示の簡単のために、このタイミングのずれを考慮していない図にしている。   Note that there is actually a difference between the timing at which the bits selected by the pin output selection circuits 31 a to 31 k are input to the FIFO memory 33 and the timing at which the cycle number CY is input to the FIFO memory 33. In FIG. 2, for the sake of simplicity of illustration, the timing deviation is not considered.

FIFOメモリ33にサイクル数CYが記憶されると、カウンタ20はこのサイクル数CYを読み出して初期値に設定して基準クロックに同期してカウントダウンを開始する。選択制御回路21は、カウンタ20のカウント値CTに応じた選択信号S1を出力する。具体的には、図2に示す通り、カウンタ20から出力されるカウント値CTがサイクル数の初期値(「18」)の場合には、初期値として値「0」を出力し、カウンタ20がカウントダウンする度に、値が「1」ずつ増加する(インクリメントする)選択信号S1を出力する。   When the cycle number CY is stored in the FIFO memory 33, the counter 20 reads the cycle number CY, sets it to an initial value, and starts counting down in synchronization with the reference clock. The selection control circuit 21 outputs a selection signal S1 corresponding to the count value CT of the counter 20. Specifically, as shown in FIG. 2, when the count value CT output from the counter 20 is the initial value (“18”) of the number of cycles, the value “0” is output as the initial value, and the counter 20 Each time the countdown is performed, a selection signal S1 whose value increases (increments) by "1" is output.

選択回路34は、選択制御回路21から出力される選択信号S1に基づいて、FIFOメモリ33に一時的に記憶されたビット等をリアルタイムに選択することにより試験パターンをパケット化する。図2に示す例では、選択信号S1に基づいて、ピン出力選択回路31aで選択されたビット(「RB5」)、ピン出力選択回路31bで選択されたビット(「RB2」)、ピン出力選択回路31cで選択されたビット(「A9」)、…と言った具合に、ピン出力選択回路31a〜ピン出力選択回路31kの順で選択する。   The selection circuit 34 packetizes the test pattern by selecting bits or the like temporarily stored in the FIFO memory 33 in real time based on the selection signal S1 output from the selection control circuit 21. In the example shown in FIG. 2, based on the selection signal S1, the bit selected by the pin output selection circuit 31a (“RB5”), the bit selected by the pin output selection circuit 31b (“RB2”), and the pin output selection circuit The bit selected in 31c (“A9”),... Is selected in the order of pin output selection circuit 31a to pin output selection circuit 31k.

ここで、選択回路34から出力される試験信号E1と、図4に示す行アドレス「ROW2」とを比較するとビットの並びが同じになっており、被試験メモリ40を試験するために必要な「ACT」コマンドパケットが生成されていることが分かる。尚、図2においては図示を簡略化しているが、図4に示す他の行アドレスの他のビット「ROW0」,「ROW1」や列アドレス等も同様に生成される。   Here, when the test signal E1 output from the selection circuit 34 and the row address “ROW2” shown in FIG. 4 are compared, the arrangement of bits is the same, and “necessary for testing the memory under test 40” is shown. It can be seen that the “ACT” command packet has been generated. Although the illustration is simplified in FIG. 2, other bits “ROW0”, “ROW1”, column addresses, and the like of the other row addresses shown in FIG. 4 are similarly generated.

カウンタ20のカウント値CTが「1」になると、カウンタ20のカウント終了が終了検出回路22で検出され、終了検出回路22からは検出信号DTが出力される。この検出信号DTがクロックイネーブル制御回路23に入力されると、クロックイネーブル制御回路23からクロックイネーブル信号CEが出力され、これによりシーケンス制御回路〜制御信号発生回路15からなる試験パターン発生部からは新たな試験パターンが出力される(図2中の期間T2参照)。このようにして、パケット化された試験信号が順次生成される。   When the count value CT of the counter 20 becomes “1”, the end of the counter 20 is detected by the end detection circuit 22, and the end detection circuit 22 outputs a detection signal DT. When this detection signal DT is input to the clock enable control circuit 23, a clock enable signal CE is output from the clock enable control circuit 23, so that a new test pattern generator comprising the sequence control circuit to the control signal generation circuit 15 generates a new one. A test pattern is output (see period T2 in FIG. 2). In this way, packetized test signals are sequentially generated.

パケット化された試験信号は、波形整形回路17において試験プログラムによって指定されたタイミングで波形整形されて被試験メモリ40に印加される。このようにして、被試験メモリ40に対して試験信号が印加されて、データ信号の書き込み、読み出しが行われる。被試験メモリ40から読み出された信号は、期待値判定回路18において、期待値と比較されてパス・フェイルが判定される。   The packetized test signal is waveform-shaped at a timing specified by the test program in the waveform shaping circuit 17 and applied to the memory under test 40. In this way, the test signal is applied to the memory under test 40, and the data signal is written and read. The signal read from the memory under test 40 is compared with the expected value in the expected value determination circuit 18 to determine pass / fail.

以上説明した本実施形態のメモリ試験装置1は、ピン出力選択回路31a〜31kで選択されるビットの有効数であるサイクル数で基準クロックを間引いたクロックイネーブル信号に同期させて、シーケンス制御回路〜制御信号発生回路15からなる試験パターン発生部、ピン出力選択回路31a〜31k、ピン出力選択メモリ31a〜32k、及びFIFOメモリ33の書き込み動作を制御している。ここで、基準クロックを間引きした場合の最高動作速度は被試験メモリ40の最小のパケット発生時間となる。例えば、最小のパケットを発生させるためには基準クロックの8周期分の時間が必要になる被試験メモリ40を試験する場合には、上記の各回路を基準クロックの1/8の動作速度で動作させれば良いことになる。このため、高速動作させるための高価なデバイスが不要になり、コストの上昇を抑えつつ高速なメモリの試験を行うことができる。   The memory test apparatus 1 of the present embodiment described above is synchronized with the clock enable signal obtained by thinning the reference clock by the number of cycles that is the effective number of bits selected by the pin output selection circuits 31a to 31k, The write operation of the test pattern generation unit including the control signal generation circuit 15, the pin output selection circuits 31a to 31k, the pin output selection memories 31a to 32k, and the FIFO memory 33 is controlled. Here, the maximum operation speed when the reference clock is thinned out is the minimum packet generation time of the memory under test 40. For example, when testing the memory under test 40, which requires time for eight cycles of the reference clock in order to generate the minimum packet, the above circuits are operated at an operating speed of 1/8 of the reference clock. If you let it. For this reason, an expensive device for high-speed operation is not required, and a high-speed memory test can be performed while suppressing an increase in cost.

以上、本発明の実施形態によるメモリ試験装置について説明したが、本発明は上述した実施形態に制限されることなく、本発明の範囲内で自由に変更が可能である。例えば、上記実施形態では、選択部16a〜16nの各々がFIFOメモリ33を備える構成を例に挙げて説明したが、FIFOメモリ33は選択部16a〜16nの全てに必ずしも設ける必要はなく、例えば選択部16a〜16nの各々で供用されるFIFOメモリを1つ備えた構成であっても良い。また、上記実施形態では、カウンタ20がサイクル数CYを初期値としてカウントダウンするものであるとしていたが、カウンタ20は、値「1」からサイクル数CYまでカウントアップするものであっても良い。尚、第1記憶部と第3記憶部は、独立した2個の記憶部に限るものではなく、1個の記憶部を共用する構成であっても良い。   The memory test apparatus according to the embodiment of the present invention has been described above, but the present invention is not limited to the above-described embodiment, and can be freely changed within the scope of the present invention. For example, in the above-described embodiment, the configuration in which each of the selection units 16a to 16n includes the FIFO memory 33 has been described as an example. However, the FIFO memory 33 is not necessarily provided in all of the selection units 16a to 16n. The configuration may be such that one FIFO memory used in each of the units 16a to 16n is provided. In the above embodiment, the counter 20 counts down using the cycle number CY as an initial value. However, the counter 20 may count up from the value “1” to the cycle number CY. In addition, the 1st memory | storage part and the 3rd memory | storage part are not restricted to two independent memory | storage parts, The structure which shares one memory | storage part may be sufficient.

本発明の一実施形態によるメモリ試験装置の要部構成を示すブロック図である。It is a block diagram which shows the principal part structure of the memory test apparatus by one Embodiment of this invention. 本発明の一実施形態によるメモリ試験装置1で生成される試験信号の一例を示すタイミングチャートである。It is a timing chart which shows an example of the test signal produced | generated with the memory test apparatus 1 by one Embodiment of this invention. 従来のメモリ試験装置の要部構成を示すブロック図である。It is a block diagram which shows the principal part structure of the conventional memory test apparatus. 従来のメモリ試験装置100で生成される試験信号の一例を示すタイミングチャートである。6 is a timing chart showing an example of a test signal generated by a conventional memory test apparatus 100.

符号の説明Explanation of symbols

1 メモリ試験装置
11 シーケンス制御回路
12 インストラクションメモリ
13 アドレス発生回路
14 データ発生回路
15 制御信号発生回路
19 サイクル数メモリ
20 カウンタ
21 選択制御回路
22 終了検出回路
23 クロックイネーブル制御回路
31a〜31k ピン出力選択回路
32a〜32k ピン出力選択メモリ
33 FIFOメモリ
34 選択回路
40 被試験メモリ
DESCRIPTION OF SYMBOLS 1 Memory test apparatus 11 Sequence control circuit 12 Instruction memory 13 Address generation circuit 14 Data generation circuit 15 Control signal generation circuit 19 Cycle number memory 20 Counter 21 Selection control circuit 22 Completion detection circuit 23 Clock enable control circuit 31a-31k Pin output selection circuit 32a to 32k pin output selection memory 33 FIFO memory 34 selection circuit 40 memory under test

Claims (5)

パケット化されたアドレスを用いてアクセスされ、データをパケットとして転送する被試験メモリの試験を行うメモリ試験装置において、
少なくとも前記被試験メモリをアクセスするための複数ビットからなるアドレスを、前記被試験メモリの試験に用いる試験パターンとして発生する試験パターン発生部と、
前記被試験メモリのピン毎に複数設けられ、前記試験パターンのビットを所定の規則に従ってそれぞれ選択する出力選択部と、
前記出力選択部で選択されるビットの有効数を予め記憶する第1記憶部と、
前記選択部の各々で選択されたビットを一時的に記憶する第2記憶部と、
前記第2記憶部に記憶されたビットを、所定の規則に従って前記第1記憶部に記憶された前記有効数だけ順次選択することにより前記試験パターンをパケット化する選択部と、
前記第1記憶部に記憶された前記有効数に応じて、前記試験パターン発生部、前記出力選択部、及び前記第2記憶部の動作を制御する制御部と
を備えることを特徴とするメモリ試験装置。
In a memory test apparatus for testing a memory under test that is accessed using a packetized address and transfers data as a packet,
A test pattern generating section for generating an address composed of a plurality of bits for accessing the memory under test as a test pattern used for testing the memory under test;
A plurality of output selection units provided for each pin of the memory under test, each of which selects a bit of the test pattern according to a predetermined rule;
A first storage unit that stores in advance the effective number of bits selected by the output selection unit;
A second storage unit that temporarily stores bits selected by each of the selection units;
A selection unit that packetizes the test pattern by sequentially selecting the bits stored in the second storage unit according to a predetermined rule by the effective number stored in the first storage unit;
A memory test comprising: a control unit that controls operations of the test pattern generation unit, the output selection unit, and the second storage unit according to the effective number stored in the first storage unit. apparatus.
前記試験パターン発生部は、前記被試験メモリをアクセスするためのアドレスを発生するアドレス発生回路と、
前記被試験メモリに転送するデータを発生するデータ発生回路と、
前記被試験メモリの動作を制御する制御信号を発生する制御信号発生回路と
を備えることを特徴とする請求項1記載のメモリ試験装置。
The test pattern generation unit includes an address generation circuit for generating an address for accessing the memory under test;
A data generation circuit for generating data to be transferred to the memory under test;
The memory test apparatus according to claim 1, further comprising: a control signal generation circuit that generates a control signal for controlling an operation of the memory under test.
メモリ試験装置の動作を規定する基準クロックに同期して、前記第1記憶部に記憶された前記有効数を計数するカウンタと、
前記カウンタの計数終了を検出する終了検出回路とを備えており、
前記制御部は、前記終了検出回路で前記カウンタの計数終了が検出された場合に、前記試験パターン発生部、前記出力選択部、及び前記第2記憶部を動作させる制御を行う
ことを特徴とする請求項1又は請求項2記載のメモリ試験装置。
A counter that counts the effective number stored in the first storage unit in synchronization with a reference clock that defines the operation of the memory test device;
An end detection circuit for detecting the end of counting of the counter,
The control unit performs control to operate the test pattern generation unit, the output selection unit, and the second storage unit when the end detection circuit detects the count end of the counter. The memory test apparatus according to claim 1.
前記カウンタの計数値に応じた選択信号を出力する選択制御回路を備えており、
前記選択部は、前記選択制御回路から出力される前記選択信号に基づいて、前記第2記憶部に記憶されたビットの選択を行うことを特徴とする請求項3記載のメモリ試験装置。
A selection control circuit that outputs a selection signal corresponding to the count value of the counter;
The memory test apparatus according to claim 3, wherein the selection unit selects a bit stored in the second storage unit based on the selection signal output from the selection control circuit.
前記出力選択部の各々に対応して設けられ、前記出力選択部毎の選択規則を規定する選択信号を予め記憶する第3記憶部を備えることを特徴とする請求項1から請求項4の何れか一項に記載のメモリ試験装置。   5. The storage device according to claim 1, further comprising a third storage unit that is provided corresponding to each of the output selection units and stores a selection signal that prescribes a selection rule for each of the output selection units in advance. A memory test apparatus according to claim 1.
JP2007004394A 2007-01-12 2007-01-12 Memory test equipment Active JP4952260B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007004394A JP4952260B2 (en) 2007-01-12 2007-01-12 Memory test equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007004394A JP4952260B2 (en) 2007-01-12 2007-01-12 Memory test equipment

Publications (2)

Publication Number Publication Date
JP2008171504A JP2008171504A (en) 2008-07-24
JP4952260B2 true JP4952260B2 (en) 2012-06-13

Family

ID=39699449

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007004394A Active JP4952260B2 (en) 2007-01-12 2007-01-12 Memory test equipment

Country Status (1)

Country Link
JP (1) JP4952260B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106997784A (en) * 2016-01-26 2017-08-01 华邦电子股份有限公司 Dynamic random access memory and the method for testing for carrying its system

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9341676B2 (en) 2011-10-07 2016-05-17 Alcatel Lucent Packet-based propagation of testing information

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10112199A (en) * 1996-10-03 1998-04-28 Advantest Corp Memory test device
JP2000040391A (en) * 1998-05-13 2000-02-08 Advantest Corp Test equipment for memory device and data selecting circuit
JP3948141B2 (en) * 1998-09-24 2007-07-25 富士通株式会社 Semiconductor memory device and control method thereof
JP2002124099A (en) * 2000-10-17 2002-04-26 Schlumberger Technologies Inc Packet system memory tester

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106997784A (en) * 2016-01-26 2017-08-01 华邦电子股份有限公司 Dynamic random access memory and the method for testing for carrying its system
CN106997784B (en) * 2016-01-26 2020-01-07 华邦电子股份有限公司 Dynamic random access memory and test method for carrying system thereof

Also Published As

Publication number Publication date
JP2008171504A (en) 2008-07-24

Similar Documents

Publication Publication Date Title
TWI326881B (en) Testing device, computer program and testing method
US11625196B2 (en) Semiconductor memory device and operating method thereof
US7228470B2 (en) Semiconductor testing circuit, semiconductor storage device, and semiconductor testing method
JP2009181600A (en) Semiconductor device
TW586121B (en) Semiconductor memory device with built-in self-diagnostic function and semiconductor device having the semiconductor memory device
JP4952260B2 (en) Memory test equipment
KR100265758B1 (en) Merged dq circuit of semiconductor device and merged dq method thereof
JPWO2002093583A1 (en) Semiconductor memory test apparatus and address generation method for failure analysis
JP4426468B2 (en) Embedded MCU capable of high-speed test using memory emulation module and test method thereof
WO2004097840A1 (en) Apparatus and method for generating test patterns for sdram
KR101295413B1 (en) Device and method for testing of nand type flash memory
US9122570B2 (en) Data pattern generation for I/O training and characterization
JP5839632B2 (en) Improved addressability for serial non-volatile memory
US8614920B2 (en) Method and apparatus for logic read in flash memory
JP5499131B2 (en) Dual port memory and method thereof
JP2009301612A (en) Semiconductor memory device
US20050193253A1 (en) A Command Multiplier for Built-In-Self-Test
JP2010040092A (en) Semiconductor integrated circuit
JP6461831B2 (en) Memory inspection device
JP4255714B2 (en) BIST circuit, semiconductor device, and command pattern generation method for BIST circuit
JP4874391B2 (en) Test equipment
JP5126090B2 (en) Memory test equipment
KR101212762B1 (en) Semiconductor Apparatus and Method for testing there of
KR100914236B1 (en) Semiconductor memory device having test address generating circuit and method for testing
TWI528362B (en) Static random access memory system and operation method thereof

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20100104

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20120202

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20120214

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20120227

R150 Certificate of patent or registration of utility model

Ref document number: 4952260

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20150323

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20180323

Year of fee payment: 6

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20180323

Year of fee payment: 6

S201 Request for registration of exclusive licence

Free format text: JAPANESE INTERMEDIATE CODE: R314201

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20180323

Year of fee payment: 6

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313113

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250