[go: up one dir, main page]

JPH07220499A - Pattern generator - Google Patents

Pattern generator

Info

Publication number
JPH07220499A
JPH07220499A JP6027284A JP2728494A JPH07220499A JP H07220499 A JPH07220499 A JP H07220499A JP 6027284 A JP6027284 A JP 6027284A JP 2728494 A JP2728494 A JP 2728494A JP H07220499 A JPH07220499 A JP H07220499A
Authority
JP
Japan
Prior art keywords
bit
pattern
output
circuit
data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP6027284A
Other languages
Japanese (ja)
Inventor
Susumu Nagai
進 長井
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.)
Ando Electric Co Ltd
Original Assignee
Ando Electric Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ando Electric Co Ltd filed Critical Ando Electric Co Ltd
Priority to JP6027284A priority Critical patent/JPH07220499A/en
Publication of JPH07220499A publication Critical patent/JPH07220499A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To shorten the test time by generating a pattern within a test cycle after execution of block write function for example. CONSTITUTION:A selection circuit 3 selects the side of ALPG 1 and the pattern thereof is written, as a background pattern, into a device to be measured and an expectation memory 2. The ALPG 1 then generates a block write pattern in order to rewrite the content of the device to be measured. Subsequently, correct writing of the block write pattern into the device to be measured is verified. The content of a color register in the device to be measured is latched, at first, in a latch circuit 4. A mask data and a column selection signal at the time of block write are then inputted to a bit operation circuit 5 at address 0 thus determining a bit to be rewritten for every data bit of memory and a bit for holding the previous value. Output from the operating circuit 5 is inputted to a bit selection circuit 6 and the output from the latch circuit 4 is selected, along with the output from the expectation memory 2, for every bit and then they are verified.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の技術分野】この発明は、ブロックライトやフラ
ッシュライト等の機能を持つメモリICのテストをする
場合に、そのテストパターンを容易に生成するパターン
発生装置についてのものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a pattern generator for easily generating a test pattern when testing a memory IC having functions such as block write and flash write.

【0002】[0002]

【従来の技術】従来技術によるパターン発生装置の構成
を図2により説明する。図2の1は、ALPG、2は期
待値メモリ、3は選択回路である。ALPG1では、図
示を省略した被測定デバイスに与えるアドレス、データ
およびクロックの各信号を、演算により規則性のあるテ
ストパターンとして発生する。一方、期待値メモリ2
は、被測定デバイスと同規模のビット幅およびアドレス
深さを持つメモリで、被測定デバイスのテストに先立っ
て特定のパターンを書き込んでおき、テスト実行時に
は、ALPG1から被測定デバイスに与えているアドレ
ス信号を受け取り、そのアドレスに応じたデータを出力
するメモリである。選択回路3は、ALPG1からのデ
ータ出力1Aと期待値メモリ2の出力2Aを、ALPG
1からのコントロール出力によって切り替える。
2. Description of the Related Art The structure of a conventional pattern generator will be described with reference to FIG. In FIG. 2, 1 is an ALPG, 2 is an expected value memory, and 3 is a selection circuit. In the ALPG1, each signal of address, data and clock given to a device under test (not shown) is generated as a test pattern having regularity by calculation. On the other hand, expected value memory 2
Is a memory having the same bit width and address depth as the device under test. A specific pattern is written prior to the test of the device under test, and the address given from ALPG1 to the device under test at the time of test execution. It is a memory that receives a signal and outputs data according to the address. The selection circuit 3 sets the data output 1A from the ALPG 1 and the output 2A of the expected value memory 2 to ALPG
It is switched by the control output from 1.

【0003】一般に、ランダムアクセスメモリ(以後R
AM)のテストでは期待値メモリは使わず、ALPG出
力により期待値を発生してテストを行う。しかし、ブロ
ックライトやフラッシュライトなどの機能を持ったRA
Mでは、メモリセルを書き替えるか前の値を保持するか
をデータビットごとに個別に制御でき、更に、連続した
複数のアドレスのメモリセルを1回のサイクルで書き替
える事ができるため、テストを行う場合データの発生が
難しい。そこで、あらかじめ、シミュレータプログラム
等によりブロックライト等を実行後のデータパターンを
生成し、期待値メモリ2に書き込んでおく。
Generally, random access memory (hereinafter R
In the AM) test, the expected value memory is not used, and the expected value is generated by the ALPG output to perform the test. However, RA with functions such as block light and flash light
In M, it is possible to individually control whether to rewrite the memory cell or retain the previous value for each data bit, and it is possible to rewrite the memory cells of a plurality of consecutive addresses in one cycle. It is difficult to generate data. Therefore, a data pattern after execution of block writing or the like is generated by a simulator program or the like and written in the expected value memory 2 in advance.

【0004】ここで、まず選択回路3はALPG1の出
力を選択しておき、ALPG1により背景パターンの書
き込み及びブロックライト書き込みのサイクルを実行す
る。その後、選択回路3を期待値メモリ2に切り替え、
判定テストを実行する。これによりブロックライト実行
後の、ALPG1では生成不可能なデータも発生するこ
とができる。
Here, the selection circuit 3 first selects the output of the ALPG1, and executes the cycle of the background pattern writing and the block write writing by the ALPG1. After that, the selection circuit 3 is switched to the expected value memory 2,
Perform a judgment test. As a result, it is possible to generate data that cannot be generated by the ALPG1 after executing the block write.

【0005】[0005]

【発明が解決しようとする課題】従来のパターン発生装
置では、テストを行う前に、期待値メモリにあらかじめ
パターンを書き込んでおかなければならないため、複数
のテストを行う場合、そのテストごとに、期待値メモリ
の書き替えが必要となり、テスト時間が長くなるという
問題がある。この発明は、期待値メモリ書き替えの時間
を不要とするパターン発生回路の提供を目的とする。
In the conventional pattern generator, the pattern must be written in the expected value memory in advance before the test is performed. Therefore, when a plurality of tests are performed, the expected value is not satisfied for each test. There is a problem that the rewriting of the value memory is necessary and the test time becomes long. It is an object of the present invention to provide a pattern generation circuit that eliminates the time required to rewrite an expected value memory.

【0006】[0006]

【課題を解決するための手段】この目的を達成するた
め、この発明では、プログラムによりメモリテストパタ
ーンを発生し、ブロックライト機能あるいはフラッシュ
ライト機能を持つ被測定デバイスにパターンを入力する
ALPG1と、ALPG1の出力を入力とし、被測定デ
バイスに入力するパターンと同じパターンを入力する期
待値メモリ2と、ALPG1の出力を入力とし、パター
ンをラッチするラッチ回路4と、ALPG1の出力を入
力とし、被測定デバイスのデータを書き換えあるいは保
持するビットを演算するビット演算回路5と、ラッチ回
路4の出力と期待値メモリ2の出力とビット演算回路5
の出力を入力とし、一方を選択するビット選択回路6
と、ALPG1の出力とビット選択回路6の出力を入力
とし、被測定デバイスにパターンを出力する選択回路3
を備え、まず、選択回路3はALPG1側を選択し、被
測定デバイスにALPG1のパターンを背景パターンと
して書き込むとともに、期待値メモリ2にも書き込み、
ALPG1からブロックライトあるいはフラッシュライ
トのパターンを発生し、被測定デバイスの内容を書き換
え、次に、被測定デバイスのカラーレジスタの内容をラ
ッチ回路4にラッチし、次に、アドレスごとにブロック
ライトあるいはフラッシュライト時のマスクデータ、カ
ラム選択信号をビット演算回路5に入力し、メモリのデ
ータビットごとに書き替えるビットおよび前の値を保持
するビットを求め、ビット演算回路5の出力をビット選
択回路6へ入力し、ラッチ回路4の出力と期待値メモリ
2の出力とをビットごとに選択して、書き込んだブロッ
クライトのパターンが被測定デバイスに正しく書き込ま
れたかを検証する。
To achieve this object, according to the present invention, an ALPG1 and an ALPG1 which generate a memory test pattern by a program and input the pattern to a device under test having a block write function or a flash write function. The input of the expected value memory 2 that inputs the same pattern as that input to the device under test, the output of ALPG1, the latch circuit 4 that latches the pattern, and the output of ALPG1, A bit operation circuit 5 that operates a bit for rewriting or holding device data, an output of the latch circuit 4, an output of the expected value memory 2, and a bit operation circuit 5.
Bit selection circuit 6 that selects the output from the output of
And a selection circuit 3 which receives the output of the ALPG 1 and the output of the bit selection circuit 6 and outputs a pattern to the device under test.
First, the selection circuit 3 selects the ALPG1 side, writes the ALPG1 pattern as a background pattern in the device under test, and also writes it in the expected value memory 2.
A block write or flash write pattern is generated from ALPG1, the contents of the device under test are rewritten, the contents of the color register of the device under test are latched in the latch circuit 4, and then the block write or flash is performed for each address. The mask data and the column selection signal at the time of writing are input to the bit operation circuit 5, the bit to be rewritten for each data bit of the memory and the bit holding the previous value are obtained, and the output of the bit operation circuit 5 is sent to the bit selection circuit 6. It is input, and the output of the latch circuit 4 and the output of the expected value memory 2 are selected for each bit, and it is verified whether the written block write pattern is correctly written in the device under test.

【0007】[0007]

【作用】つぎに、被測定デバイスであるブロックライト
機能を持つメモリの構成を図3に示す。図3はメモリの
機能的な構成図であり、Xアドレス方向・Yアドレス方
向およびビット方向に展開されるメモリセル31からな
り、カラーレジスタ32・マスクレジスタ33・カラム
選択レジスタ34を使用して、メモリの連続したアドレ
スにカラーレジスタ32の内容を書き込むことができ
る。
Next, FIG. 3 shows the configuration of a memory having a block write function, which is a device under test. FIG. 3 is a functional block diagram of the memory, which includes memory cells 31 expanded in the X address direction, the Y address direction, and the bit direction, and uses the color register 32, the mask register 33, and the column selection register 34. The contents of color register 32 can be written to consecutive addresses in memory.

【0008】次に、ブロックライト動作のタイミング及
びメモリ内容を図4と図7を参照して説明する。例え
ば、ブロックライト機能を持つメモリをDRAMとする
と、各機能は外部クロック信号のRAS・CASクロッ
クの立ち下がりでのコントロール信号(WB/WE,DFS)の
レベルで決められ、一般的には、コントロール信号と機
能の組み合わせは図7に示すようになっている。
Next, the timing of the block write operation and the memory contents will be described with reference to FIGS. 4 and 7. For example, if the memory having the block write function is a DRAM, each function is determined by the level of the control signal (WB / WE, DFS) at the fall of the RAS / CAS clock of the external clock signal, and in general, the control The combination of signals and functions is as shown in FIG.

【0009】まず、図7のロードカラーレジスタ機能、
すなわち図4アのA〜Dに示すタイミングにより、図4
アのEに書き込まれたデータが、図4イのメモリセル3
1に書き込むパターンデータとしてカラーレジスタ32
にセットする。図4イでは、カラーレジスタ32のD0
〜D3にはパターンデータ「0011」が格納されてい
る。図4イは図3のA方向からみたメモリセル31の状
態を示しており、あらかじめYアドレスのY1〜Y4には
背景パターンとしてデータ「0」が書き込まれている。
First, the load color register function of FIG.
That is, according to the timings shown in A to D of FIG.
The data written in E of A is the memory cell 3 of FIG.
1 as pattern data to be written in the color register 32
Set to. In FIG. 4A, D0 of the color register 32
Pattern data "0011" is stored in D3. FIG. 4A shows the state of the memory cell 31 viewed from the direction A in FIG. 3, in which data “0” is previously written as a background pattern in Y1 to Y4 of the Y address.

【0010】つぎに、図4ウのA〜Dに示すタイミング
により、ブロックライトを実行する。まず、WB/WE
を「L」に固定し、DFS=「L」のとき、RAS立ち
下がりのタイミングで図4ウのE・Fに示すように、ア
ドレス端子にはアドレスX1を入力し、データ端子には
D1を入力する。
Next, the block write is executed at the timings A to D in FIG. First, WB / WE
Is fixed to “L”, and when DFS = “L”, the address X1 is input to the address terminal and D1 is input to the data terminal as shown in E and F of FIG. input.

【0011】次に、CASの立ち下がりでDFS=
「H」とし、図4ウのE・Fに示すように、アドレス端
子にはアドレスY1を入力し、データ端子にはD2を入
力する。アドレスX1・Y1により、ブロックライトを
実行するメモリ31上のアドレスが選択される。
Next, at the fall of CAS, DFS =
As shown by E and F in FIG. 4C, the address Y1 is input to the address terminal and the data terminal D2 is input. An address on the memory 31 that executes block write is selected by the addresses X1 and Y1.

【0012】図4エでは、例としてブロックライトは、
Y1 〜Y4 までの連続した4アドレスが実行の対象とな
っており、D1はマスクレジスタ33にデータ「100
1」が書き込まれ、D2はカラム選択レジスタ34にデ
ータ「1110」が書き込まれる。データが「1」のア
ドレスは書き換えが許可されたアドレスを表しており、
マスクレジスタ33に書き込まれたデータとカラム選択
レジスタ34に書き込まれたデータの内、両レジスタが
「1」の部分のみが書き換えられることになる。図4エ
では、斜線部分のみがカラーレジスタ32の内容に書き
換えられる。その結果、ブロックライト実行後は図4オ
に示すようになる。
In FIG. 4D, as an example, the block light is
Four consecutive addresses Y1 to Y4 are the targets of execution, and D1 stores the data "100" in the mask register 33.
1 ”is written, and the data“ 1110 ”is written in the column selection register 34 in D2. The address where the data is "1" represents the address where rewriting is permitted,
Of the data written in the mask register 33 and the data written in the column selection register 34, only the part where both registers are “1” is rewritten. In FIG. 4E, only the shaded portion is rewritten with the contents of the color register 32. As a result, after the block write is executed, it becomes as shown in FIG.

【0013】つぎに、図3のデバイスを測定する場合
の、この発明によるパターン発生装置の構成を図1によ
り説明する。図1の1はALPG、2は期待値メモリ、
3は選択回路、4はラッチ回路、5はビット演算回路、
6はビット選択回路である。
Next, the structure of the pattern generator according to the present invention for measuring the device of FIG. 3 will be described with reference to FIG. 1 in FIG. 1 is ALPG, 2 is an expected value memory,
3 is a selection circuit, 4 is a latch circuit, 5 is a bit operation circuit,
6 is a bit selection circuit.

【0014】図1で、まず選択回路3はALPG1側を
選択し、図示を省略した被測定デバイスにALPG1の
パターンを背景パターンとして書き込むとともに、期待
値メモリ2にも書き込む。
In FIG. 1, the selection circuit 3 first selects the ALPG1 side, writes the pattern of ALPG1 as a background pattern in the device under test (not shown), and also writes it in the expected value memory 2.

【0015】次に、ALPG1からブロックライトのパ
ターンを発生し、図示を省略した被測定デバイスの内容
を書き替える。その後、今書き込んだブロックライトの
パターンが被測定デバイスに正しく書き込まれたかを検
証するために、まず、図3に示す被測定デバイスのカラ
ーレジスタの内容をラッチ回路4にラッチする。
Next, a block write pattern is generated from ALPG1, and the contents of the device under test (not shown) are rewritten. After that, in order to verify whether the block write pattern just written is correctly written in the device under test, first, the contents of the color register of the device under test shown in FIG. 3 are latched in the latch circuit 4.

【0016】次に、アドレス0でブロックライト時のマ
スクデータ、カラム選択信号をビット演算回路5に入力
し、メモリのデータビットごとに書き替えるビット、前
の値を保持するビットを求める。この演算回路出力5A
をビット選択回路6へ入力し、ラッチ回路4の出力4A
と期待値メモリ2の出力2Aとをビットごとに選択す
る。
Next, at address 0, the mask data at the time of block write and the column selection signal are input to the bit operation circuit 5, and the bit to be rewritten for each data bit of the memory and the bit holding the previous value are obtained. This arithmetic circuit output 5A
Is input to the bit selection circuit 6 and the output 4A of the latch circuit 4 is input.
And the output 2A of the expected value memory 2 are selected bit by bit.

【0017】[0017]

【実施例】つぎに、図1の実施例の構成を図5に示す。
図5の41〜43はラッチ回路、15はデータセレクト
回路、51〜58はゲート、6A〜6Dはセレクタであ
る。すなわち、図1のラッチ回路4は図5のラッチ回路
41〜43で構成され、図1のビット演算回路5はデー
タセレクト回路15とゲート51〜58で構成される。
また、図1のビット選択回路6はセレクタ6A〜6Dで
構成される。
EXAMPLE Next, FIG. 5 shows the configuration of the example of FIG.
5, 41 to 43 are latch circuits, 15 is a data select circuit, 51 to 58 are gates, and 6A to 6D are selectors. That is, the latch circuit 4 of FIG. 1 is composed of the latch circuits 41 to 43 of FIG. 5, and the bit operation circuit 5 of FIG. 1 is composed of the data select circuit 15 and gates 51 to 58.
The bit selection circuit 6 in FIG. 1 is composed of selectors 6A to 6D.

【0018】ビット演算回路5のゲート51〜54はA
LPG1の各出力11A〜11Dを1対1に第1の入力
とし、データセレクト回路15の出力を第2の入力とす
る。ゲート55〜58はゲート51〜54の出力を1対
1に第1の入力とし、信号5Eを第2の入力とする。
The gates 51 to 54 of the bit operation circuit 5 are A
The outputs 11A to 11D of the LPG 1 are used as the first input on a one-to-one basis, and the output of the data select circuit 15 is used as the second input. The gates 55 to 58 use the outputs of the gates 51 to 54 one-to-one as the first input and the signal 5E as the second input.

【0019】ビット選択回路6のセレクタ6A〜6D
は、ALPG1の出力11A〜11Dを入力するラッチ
回路4のラッチ回路41の出力14A〜14Dを第1の
入力とし、期待値メモリ2の出力2A〜2Dを第2の入
力として、それぞれビット演算回路5のゲート55〜5
8からの信号により選択して出力する。選択回路3はA
LPG1の出力11A〜11Dとビット選択回路6のセ
レクタ6A〜6Dの出力16A〜16Dを入力とし、信
号3A〜3Dを出力する。
Selectors 6A to 6D of the bit selection circuit 6
Are the bit operation circuits, with the outputs 14A to 14D of the latch circuit 41 of the latch circuit 4 receiving the outputs 11A to 11D of the ALPG1 as first inputs and the outputs 2A to 2D of the expected value memory 2 as second inputs. Gate 5 to 5
It is selected by the signal from 8 and output. The selection circuit 3 is A
The outputs 11A to 11D of the LPG 1 and the outputs 16A to 16D of the selectors 6A to 6D of the bit selection circuit 6 are input, and the signals 3A to 3D are output.

【0020】つぎに、この発明によるブロックライトテ
スト時のパターン発生の実施例の動作を図5・図6およ
び図8を参照して説明する。ここでは、例としてデータ
ビットが4ビットの例を表す。
Next, the operation of the embodiment of pattern generation in the block write test according to the present invention will be described with reference to FIGS. 5, 6 and 8. Here, as an example, an example in which the data bit is 4 bits is shown.

【0021】まず、選択回路3でALPG1の出力1A
〜1Dを選択し、被測定デバイスに背景パターンを書き
込む。この時同時に期待値メモリ2にも同じパターンを
書き込む。図6のアは背景パターンを書き込まれたメモ
リの状態の例である。図2では、図3のメモリ31にお
いてXアドレスをAX、YアドレスをAYと表してお
り、背景パターン書き込み時には、まずAXを「0」と
し、AYを「0」から順次カウントアップして、データ
ビットにデータを2進数で1・2・3‥‥のように書き
込み、順次AX・AYをカウントアップして、背景パタ
ーンを書き込んでいる。
First, the selection circuit 3 outputs the output 1A of the ALPG1.
Select ~ 1D and write the background pattern to the device under test. At this time, the same pattern is simultaneously written in the expected value memory 2. FIG. 6A shows an example of the state of the memory in which the background pattern is written. In FIG. 2, the X address is represented as AX and the Y address is represented as AY in the memory 31 of FIG. 3. When writing a background pattern, AX is first set to “0”, and AY is sequentially counted up from “0” to obtain the data. Data is written in bits as binary numbers such as 1, 2, 3, ..., And AX and AY are sequentially counted up to write a background pattern.

【0022】次に、カラーレジスタにデータを設定す
る。図8では、DAに16進データ「A」、すなわち2
進データ「1010」が被測定デバイスのカラーレジス
タ32に書き込まれ同時にラッチ回路4にセットされ
る。
Next, data is set in the color register. In FIG. 8, DA is hexadecimal data “A”, that is, 2
The binary data “1010” is written in the color register 32 of the device under measurement and simultaneously set in the latch circuit 4.

【0023】次に、ブロックライトの処理を実行する。
図8では、AYのアドレス「0」でマスクレジスタ33
に16進データ「F」をDAとして設定し、カラム選択
レジスタ34にデータ「1」をDBとして設定してい
る。また、AYのアドレス「4」でマスクレジスタ33
に16進データ「E」をDAとして設定し、カラム選択
レジスタ34にデータ「2」をDBとして設定してい
る。同様に、AYのアドレス「8」でマスクレジスタ3
3に16進データ「D」をDAとして設定し、カラム選
択レジスタ34にデータ「3」をDBとして設定してい
る。
Next, a block write process is executed.
In FIG. 8, the mask register 33 is set at the address “0” of AY.
The hexadecimal data “F” is set as DA and the data “1” is set as DB in the column selection register 34. In addition, the mask register 33 at the address “4” of AY
The hexadecimal data “E” is set as DA and the data “2” is set as DB in the column selection register 34. Similarly, at the address "8" of AY, the mask register 3
The hexadecimal data “D” is set as DA in 3 and the data “3” is set as DB in the column selection register 34.

【0024】この状態で、ブロックライトの処理を実行
すると、被測定デバイスは図6のイに示すパターンとな
る。すなわち、ブロックライトにより、太い線で囲まれ
た部分がカラーレジスタ32に設定された16進データ
「A」に書き替えられる。
When the block write process is executed in this state, the device under test has the pattern shown in FIG. That is, the portion surrounded by the thick line is rewritten by the block write to the hexadecimal data “A” set in the color register 32.

【0025】次に、リードサイクルでパターン発生回路
の出力は、書き込みデータとしてではなく期待値データ
として扱われる。図5の選択回路3はビット選択回路6
の出力16A〜16Dを選択し、ALPG1はブロック
ライト実行時と同じパターン、つまりDAで「F」、D
Bで「1」を出力する。「F」はラッチ回路42に、
「1」はラッチ回路43にラッチされる。
Next, in the read cycle, the output of the pattern generating circuit is treated not as write data but as expected value data. The selection circuit 3 of FIG. 5 is a bit selection circuit 6
Output 16A to 16D is selected, and ALPG1 has the same pattern as that at the time of executing the block write, that is, "F", D in DA.
"1" is output at B. “F” is input to the latch circuit 42,
“1” is latched by the latch circuit 43.

【0026】データセレクト回路15の出力15Aは、
制御入力信号15Bによって、16進データ「1」の最
下位ビットつまり「1」が出力され、ビット演算回路5
の出力5A〜5Dは16進データ「F」となり、ビット
選択回路6は、全ビットともカラーレジスタであるラッ
チ回路41の出力14A〜14Dを選択する。その結
果、選択回路3の出力3A〜3Dは、ラッチ回路41の
出力14A〜14Dと同じく「0101」となり、図示
を省略した被測定デバイスのYアドレス「0」のデータ
と等しい期待値を発生する。
The output 15A of the data select circuit 15 is
The least significant bit of the hexadecimal data "1", that is, "1" is output by the control input signal 15B, and the bit operation circuit 5
Outputs 5A to 5D of hexadecimal data "F", and the bit selection circuit 6 selects outputs 14A to 14D of the latch circuit 41, which is a color register for all bits. As a result, the outputs 3A to 3D of the selection circuit 3 become "0101" like the outputs 14A to 14D of the latch circuit 41, and an expected value equal to the data of the Y address "0" of the device under test (not shown) is generated. .

【0027】Yアドレスが「1〜3」のサイクルでは、
データセレクト回路15の出力15Aが「0」のため、
ビット選択回路6の出力6A〜6Dは期待値メモリ2の
出力2A〜2Dが出力され、選択回路3の出力3A〜3
Dには、期待値メモリ2の出力が出力される。期待値メ
モリ2には図6アのパターンが書き込まれており、これ
は図6イのYアドレス「1〜3」と一致する。
In the cycle in which the Y address is "1 to 3",
Since the output 15A of the data select circuit 15 is "0",
The outputs 6A to 6D of the bit selection circuit 6 are the outputs 2A to 2D of the expected value memory 2, and the outputs 3A to 3 of the selection circuit 3 are output.
The output of the expected value memory 2 is output to D. The pattern of FIG. 6A is written in the expected value memory 2, and this matches the Y address “1 to 3” of FIG.

【0028】Yアドレスが「4」で、ブロックライト時
にカラム選択レジスタ34に書き込まれたのと同じパタ
ーン、すなわち16進データ「2」をラッチ回路43に
書き込み、ビット演算回路5にブロックライトのマスク
データ、すなわち16進データ「E」を出力する。デー
タセレクト回路15は、16進データ「2」の最下位ビ
ット0を出力し、このため、選択回路3の出力3A〜3
Dは期待値メモリ2の出力2A〜2Dが選択される。し
たがって、図8のブロックライトの被測定メモリパター
ン18のYアドレス「4」は、図6アに示す期待値メモ
リ2のパターンのアドレス「4」と一致する。
When the Y address is "4", the same pattern as written in the column selection register 34 at the time of block write, that is, the hexadecimal data "2" is written in the latch circuit 43, and the bit operation circuit 5 is masked for block write. The data, that is, the hexadecimal data "E" is output. The data select circuit 15 outputs the least significant bit 0 of the hexadecimal data “2”, so that the outputs 3A to 3 of the select circuit 3 are output.
The outputs 2A to 2D of the expected value memory 2 are selected as D. Therefore, the Y address "4" of the measured memory pattern 18 of the block write of FIG. 8 matches the address "4" of the pattern of the expected value memory 2 shown in FIG.

【0029】次にYアドレスが「5」では、データセレ
クト回路出力15Aは、16進データ「2」の2ビット
目の「1」が出力され、ビット演算回路5の出力5A〜
5Dは「0111」となり、この結果、ビット選択回路
6の出力6Aは、期待値メモリ2の出力2Aが選択さ
れ、図6アの期待値メモリ2のパターンのアドレス
「5」のビット「0」つまり「0」が出力される。ビッ
ト選択回路6の出力6B〜6Dはラッチ回路41の出力
14B〜14Dが選択され、「101」が出力される。
その結果、選択回路3の出力3A〜3Dは「0101」
となり、図6イのブロックライト後のパターンのアドレ
ス「5」のパターンと一致する。Yアドレスが「8」の
場合も同様に処理が行われ、図6イに示すパターンが得
られる。
Next, when the Y address is "5", the data select circuit output 15A outputs the second bit "1" of the hexadecimal data "2", and the output 5A of the bit operation circuit 5
5D becomes "0111". As a result, the output 6A of the bit selection circuit 6 is selected as the output 2A of the expected value memory 2, and the bit "0" of the address "5" of the pattern of the expected value memory 2 of FIG. That is, "0" is output. As the outputs 6B to 6D of the bit selection circuit 6, the outputs 14B to 14D of the latch circuit 41 are selected and "101" is output.
As a result, the outputs 3A to 3D of the selection circuit 3 are "0101".
Thus, the pattern coincides with the pattern of the address “5” of the pattern after the block write in FIG. When the Y address is "8", the same process is performed and the pattern shown in FIG. 6A is obtained.

【0030】このように、ALPGはブロックライトサ
イクルと同じテストパターンを発生し、コントロール信
号を切替えることで、ブロックライト後の期待パターン
を発生することができる。
As described above, the ALPG generates the same test pattern as the block write cycle, and by switching the control signal, it is possible to generate the expected pattern after the block write.

【0031】この発明の実施例では、ブロックライトに
ついて説明したが、フラッシュライト機能もデータセレ
クト回路15を固定しておくことで期待値を生成するこ
とができる。
Although the block write has been described in the embodiment of the present invention, the flash write function can also generate the expected value by fixing the data select circuit 15.

【0032】[0032]

【発明の効果】この発明によれば、メモリデバイスのテ
ストにおいて、ブロックライト機能やフラッシュライト
機能などによる実行後のパターンをテストサイクル内で
発生することができ、テストごとに期待値メモリのデー
タを書き替える必要がないため、テスト時間が短縮する
ことができる。
According to the present invention, in the test of the memory device, the pattern after the execution by the block write function or the flash write function can be generated within the test cycle, and the data of the expected value memory can be obtained for each test. Test time can be shortened because there is no need to rewrite.

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

【図1】この発明によるパターン発生回路の構成図であ
る。
FIG. 1 is a configuration diagram of a pattern generation circuit according to the present invention.

【図2】従来技術によるパターン発生回路の構成図であ
る。
FIG. 2 is a configuration diagram of a pattern generation circuit according to a conventional technique.

【図3】ブロックライトのタイムチャートである。FIG. 3 is a time chart of block writing.

【図4】この発明による1実施例の構成図である。FIG. 4 is a configuration diagram of an embodiment according to the present invention.

【図5】図1の実施例の構成図である。5 is a configuration diagram of the embodiment in FIG. 1. FIG.

【図6】データを書き込まれたメモリの状態図である。FIG. 6 is a state diagram of a memory in which data is written.

【図7】ブロックライト機能を持つメモリの制御関係の
説明図である。
FIG. 7 is an explanatory diagram of a control relationship of a memory having a block write function.

【図8】ブロックライトテスト時のパターン発生の実施
例の動作を示す説明図である。
FIG. 8 is an explanatory diagram showing an operation of an embodiment of pattern generation during a block write test.

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

1 ALPG 2 期待値メモリ 3 選択回路 4 ラッチ回路 5 ビット演算回路 6 ビット選択回路 1 ALPG 2 Expected value memory 3 Selection circuit 4 Latch circuit 5 bit arithmetic circuit 6 bit selection circuit

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 プログラムによりメモリテストパターン
を発生し、ブロックライト機能あるいはフラッシュライ
ト機能を持つ被測定デバイスにパターンを入力するAL
PG1と、 ALPG1の出力を入力とし、前記被測定デバイスに入
力するパターンと同じパターンを入力する期待値メモリ
2と、 ALPG1の出力を入力とし、パターンをラッチするラ
ッチ回路4と、 ALPG1の出力を入力とし、前記被測定デバイスのデ
ータを書き換えあるいは保持するビットを演算するビッ
ト演算回路5と、 ラッチ回路4の出力と期待値メモリ2の出力とビット演
算回路5の出力を入力とし、一方を選択するビット選択
回路6と、 ALPG1の出力とビット選択回路6の出力を入力と
し、前記被測定デバイスにパターンを出力する選択回路
3を備え、 まず、選択回路3はALPG1側を選択し、前記被測定
デバイスにALPG1のパターンを背景パターンとして
書き込むとともに、期待値メモリ2にも書き込み、AL
PG1からブロックライトあるいはフラッシュライトの
パターンを発生し、前記被測定デバイスの内容を書き換
え、次に、前記被測定デバイスのカラーレジスタの内容
をラッチ回路4にラッチし、アドレスごとにブロックラ
イトあるいはフラッシュライト時のマスクデータ、カラ
ム選択信号をビット演算回路5に入力し、メモリのデー
タビットごとに書き替えるビットおよび前の値を保持す
るビットを求め、ビット演算回路5の出力をビット選択
回路6へ入力し、ラッチ回路4の出力と期待値メモリ2
の出力とをビットごとに選択して、書き込んだブロック
ライトのパターンが前記被測定デバイスに正しく書き込
まれたかを検証することを特徴とするパターン発生装
置。
1. An AL for generating a memory test pattern by a program and inputting the pattern to a device under test having a block write function or a flash write function.
PG1 and the expected value memory 2 which inputs the output of ALPG1 and inputs the same pattern as that input to the device under test, the latch circuit 4 which inputs the output of ALPG1 and which latches the pattern, and the output of ALPG1 A bit operation circuit 5 for calculating a bit for rewriting or holding data of the device under test, an output of the latch circuit 4, an output of the expected value memory 2 and an output of the bit operation circuit 5 are input, and one of them is selected. And a selection circuit 3 for inputting the output of ALPG1 and the output of the bit selection circuit 6 and outputting a pattern to the device under test. First, the selection circuit 3 selects the ALPG1 side, Write the pattern of ALPG1 to the measuring device as a background pattern, and also write it to the expected value memory 2.
A block write or flash write pattern is generated from PG1, the content of the device under test is rewritten, then the content of the color register of the device under test is latched in the latch circuit 4, and block write or flash write is performed for each address. The mask data and the column selection signal at the time are input to the bit operation circuit 5, the bit to be rewritten for each data bit of the memory and the bit holding the previous value are obtained, and the output of the bit operation circuit 5 is input to the bit selection circuit 6. Then, the output of the latch circuit 4 and the expected value memory 2
And the output of the above are selected for each bit to verify whether the written block write pattern is correctly written in the device under test.
JP6027284A 1994-01-31 1994-01-31 Pattern generator Pending JPH07220499A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6027284A JPH07220499A (en) 1994-01-31 1994-01-31 Pattern generator

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6027284A JPH07220499A (en) 1994-01-31 1994-01-31 Pattern generator

Publications (1)

Publication Number Publication Date
JPH07220499A true JPH07220499A (en) 1995-08-18

Family

ID=12216780

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6027284A Pending JPH07220499A (en) 1994-01-31 1994-01-31 Pattern generator

Country Status (1)

Country Link
JP (1) JPH07220499A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1997025717A1 (en) * 1996-01-12 1997-07-17 Advantest Corporation Test pattern generator
US7103493B2 (en) 2003-05-23 2006-09-05 Samsung Electronics Co., Ltd Memory testing apparatus and method

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1997025717A1 (en) * 1996-01-12 1997-07-17 Advantest Corporation Test pattern generator
US5856985A (en) * 1996-01-12 1999-01-05 Advantest Corp. Test pattern generator
US7103493B2 (en) 2003-05-23 2006-09-05 Samsung Electronics Co., Ltd Memory testing apparatus and method
SG138454A1 (en) * 2003-05-23 2008-01-28 Samsung Electronics Co Ltd Memory testing apparatus and method

Similar Documents

Publication Publication Date Title
US4404519A (en) Testing embedded arrays in large scale integrated circuits
JPS62140299A (en) Pattern generating device
JP2001148199A5 (en)
JP3871384B2 (en) Defect analysis memory for semiconductor memory test equipment
US6490700B1 (en) Memory device testing apparatus and data selection circuit
JPH07220499A (en) Pattern generator
US6601204B1 (en) Pattern generating method, pattern generator using the method, and memory tester using the pattern generator
JPH0512900A (en) Semiconductor storage containing test function and its test method
JPH04270979A (en) Programmable logic element and testing method thereof
JP2824853B2 (en) Pattern data writing method
JP3164939B2 (en) Apparatus with test circuit for storage device
KR20070075083A (en) Semiconductor memory test device for setting test mode by using address pin
JP3177975B2 (en) One-chip microcomputer
JPH09281192A (en) Self-diagnosis circuit of logic integrated circuit
JPS63108747A (en) Gate array integrated circuit
JPH05342113A (en) Embedded system RAM failure detection method
JP2720773B2 (en) Address control memory circuit
KR20040002116A (en) circuit for testing semiconductor
KR100542699B1 (en) Device to support ROM dump mode of microcontroller
KR200280380Y1 (en) Memory test device
JPH11288598A (en) Test device for semiconductor memory
KR100449271B1 (en) Random number generator provided with test function and method for testing the same, especially using a dummy clock
JPH0690266B2 (en) Semiconductor integrated circuit device
JPH0341374A (en) pattern generator
JPH0915303A (en) IC tester