JPH06302199A - Memory test circuit device - Google Patents

Memory test circuit device

Info

Publication number
JPH06302199A
JPH06302199A JP5088300A JP8830093A JPH06302199A JP H06302199 A JPH06302199 A JP H06302199A JP 5088300 A JP5088300 A JP 5088300A JP 8830093 A JP8830093 A JP 8830093A JP H06302199 A JPH06302199 A JP H06302199A
Authority
JP
Japan
Prior art keywords
register
data
scan
address
test
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
JP5088300A
Other languages
Japanese (ja)
Inventor
Kazutaka Obara
一剛 小原
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial 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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP5088300A priority Critical patent/JPH06302199A/en
Publication of JPH06302199A publication Critical patent/JPH06302199A/en
Pending legal-status Critical Current

Links

Landscapes

  • For Increasing The Reliability Of Semiconductor Memories (AREA)

Abstract

PURPOSE:To provide a memory test circuit device with high test efficiency and suitable for high integration. CONSTITUTION:In the memory test circuit device of a scanning system, a register connected to the terminal of a memory is constituted of a scanning flip-flop having a scanning chain shifting the data in order of an address register 4, an input data register 3, an output data register 10. Then, the time required for the tests of write and read and the size of a test pattern are reduced remarkably by discriminating whether the input data and the read data of the memory are in the relation of the complement of one or not by a comparator 6.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、集積回路に適した高テ
スト効率のメモリテスト回路装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a memory test circuit device having a high test efficiency suitable for an integrated circuit.

【0002】[0002]

【従来の技術】本発明者が提案したスキャン方式のメモ
リテスト回路装置を図11に示す。図11において、67,74
はアドレスレジスタ、66,73は入力データレジスタ、71,
78は出力データレジスタ、69,76はメモリ、68,70,72,7
5,77はマルチプレクサ、79,80は制御回路である。図7は
図11の回路装置の書き込み動作タイミング図、図8は図1
1の回路装置の読み出し動作タイミング図である。
2. Description of the Related Art FIG. 11 shows a scan type memory test circuit device proposed by the present inventor. In FIG. 11, 67,74
Is an address register, 66, 73 is an input data register, 71,
78 is an output data register, 69,76 are memories, 68,70,72,7
5, 77 are multiplexers, and 79, 80 are control circuits. FIG. 7 is a write operation timing chart of the circuit device of FIG. 11, and FIG. 8 is FIG.
FIG. 6 is a timing chart of a read operation of the circuit device of FIG.

【0003】図11において、テストモードの時、入力デ
ータレジスタ66とアドレスレジスタ67と出力データレジ
スタ71はシフトレジスタとして動作し、SCAN_IN端子の
データは1ビット毎にマルチプレクサ68を介して入力デ
ータレジスタ66とアドレスレジスタ67に格納される。上
記手順によりアドレスレジスタ67とデータレジスタ66が
確定した状態で、書き込み制御信号TEST_WEを有効にす
ることにより、RAM69に1ワードの書き込みができる。
次に、SCAN_CTL信号を有効にし、SCAN_IN端子のデータ
をシフト動作でアドレスレジスタに格納する。このと
き、入力データレジスタは前値を保持する。この状態
で、書き込み制御信号TEST_WEを有効にすることにより2
ワード目の書き込みができる。2ワード目以降は、デー
タを更新するまで、書き込むワード数だけアドレスレジ
スタの設定を繰り返し、書き込み制御信号TEST_WEを有
効にすることにより順次データを書き込む。図7はこの
テストモードによるRAMの書き込み動作タイミングを示
す。図7は、データ3ビット,アドレス2ビットのRAMの0番
地,2番地,4番地,6番地,8番地,10番地,12番の書き込み動
作のタイミングである。1ワードの書き込みに、1ワード
目は5クロック、2ワード目以降2クロック要することが
わかる。
In FIG. 11, in the test mode, the input data register 66, the address register 67 and the output data register 71 operate as a shift register, and the data of the SCAN_IN terminal is input bit by bit via the multiplexer 68. Are stored in the address register 67. With the address register 67 and the data register 66 determined by the above procedure, one word can be written in the RAM 69 by enabling the write control signal TEST_WE.
Next, the SCAN_CTL signal is validated and the data of the SCAN_IN terminal is stored in the address register by the shift operation. At this time, the input data register holds the previous value. In this state, enable the write control signal TEST_WE
You can write the word. After the second word, data is sequentially written by repeating the setting of the address register for the number of words to be written and enabling the write control signal TEST_WE until the data is updated. FIG. 7 shows the RAM write operation timing in this test mode. FIG. 7 shows the timing of the write operation of the 0th address, the 2nd address, the 4th address, the 6th address, the 8th address, the 10th address and the 12th address of a RAM having 3 bits of data and 2 bits of address. It can be seen that writing 1 word requires 5 clocks for the first word and 2 clocks for the second word and thereafter.

【0004】同様に、テストモードの時、SCAN_IN端子
のデータは1ビット毎にマルチプレクサ68を介してアド
レスレジスタ67に格納される。アドレスレジスタ67が確
定した状態で、RAM69の出力データを出力データレジス
タ71に取り込み、出力データレジスタ71をシフトレジス
タとして動作させることにより、マルチプレクサ72を介
してSCAN_OUT端子に出力データが1ビット毎に出力され
れ、1ワードの読み出しができる。図8はテストモードに
よるRAMの読み出し動作のタイミングである。図8は、デ
ータ3ビット,アドレス2ビットのRAMの0番地,1番地,2番
地,3番地,4番地の読み出し動作のタイミングである。1
ワードの読み出しに3クロック要することがわかる。マ
ルチプレクサ68と75、マルチプレクサ70と77、マルチプ
レクサ72を切り替えることにより、RAM69とRAM76のいず
れかを選択して順次書き込みと読み出しのテストを行な
う。
Similarly, in the test mode, the data of the SCAN_IN terminal is stored in the address register 67 via the multiplexer 68 bit by bit. When the address register 67 is fixed, the output data of RAM69 is fetched into the output data register 71, and the output data register 71 operates as a shift register, so that the output data is output to the SCAN_OUT pin via the multiplexer 72 bit by bit. It is possible to read one word. FIG. 8 shows the timing of the RAM read operation in the test mode. FIG. 8 shows the read operation timing of the 0th address, the 1st address, the 2nd address, the 3rd address and the 4th address of the RAM of 3 bits of data and 2 bits of address. 1
It can be seen that it takes 3 clocks to read the word. By switching between the multiplexers 68 and 75, the multiplexers 70 and 77, and the multiplexer 72, either the RAM 69 or the RAM 76 is selected and the writing and reading tests are sequentially performed.

【0005】[0005]

【発明が解決しようとする課題】従来のスキャン方式の
RAMテスト回路装置は、RAMのアドレスレジスタ,入力デ
ータレジスタと出力データレジスタの状態をスキャン動
作で1ワード毎に制御又は観測するため、テストに要す
る時間が長くテストパターンが膨大になるという問題が
あった。
[Problems to be Solved by the Invention]
Since the RAM test circuit device controls or observes the states of the RAM address register, input data register, and output data register for each word in a scan operation, there is a problem that the test takes a long time and the test pattern becomes huge. It was

【0006】本発明は、回路規模の増大を抑えながらテ
スト時間とテストパターンが短くかつRAMの故障診断も
容易で、集積回路に適したRAMテスト回路装置を提供す
ることを目的とする。
It is an object of the present invention to provide a RAM test circuit device suitable for an integrated circuit, which has a short test time and a short test pattern while suppressing an increase in circuit scale and facilitates failure diagnosis of RAM.

【0007】[0007]

【課題を解決するための手段】本発明のRAMテスト回路
装置は、メモリのテスト回路装置において、メモリが入
力データレジスタと出力データレジスタとアドレスレジ
スタを有し、前記メモリの入力データレジスタと出力デ
ータレジスタとアドレスレジスタがスキャンフリップフ
ロップで構成され、前記スキャンフリップフロップはア
ドレスレジスタ,入力データレジスタ,出力データレジス
タの順にデータをシフトするスキャンチェーンを有し、
テスト端子1の状態によりスキャン動作時に入力データ
レジスタのデータを保持する制御回路、テスト端子2の
状態によりスキャン動作時にアドレスレジスタのデータ
を保持する制御回路、メモリの入力データ信号と出力デ
ータ信号を入力とする比較回路、及び比較回路の出力信
号を出力データレジスタに格納するセレクタを具備する
ことを特徴とする。
A RAM test circuit device according to the present invention is a memory test circuit device, wherein the memory has an input data register, an output data register, and an address register. The register and the address register are composed of scan flip-flops, and the scan flip-flop has a scan chain for shifting data in the order of address register, input data register, output data register,
Control circuit that holds the data in the input data register during the scan operation depending on the state of test terminal 1, control circuit that holds the data in the address register during the scan operation depending on the state of test terminal 2, and inputs the input data signal and output data signal of the memory And a selector for storing the output signal of the comparison circuit in the output data register.

【0008】本発明のRAMテスト回路装置は、メモリの
テスト回路装置において、メモリが入力データレジスタ
と出力データレジスタとアドレスレジスタを有し、前記
メモリの入力データレジスタと出力データレジスタとア
ドレスレジスタがスキャンフリップフロップで構成さ
れ、前記スキャンフリップフロップはアドレスレジス
タ,入力データレジスタ,出力データレジスタの順にデー
タをシフトするスキャンチェーンを有し、メモリの出力
データの保持回路、メモリの入力データ信号と前記保持
回路の出力信号を入力とする比較回路、及び比較回路の
出力信号を出力データレジスタに格納するセレクタを具
備することを特徴とする。
The RAM test circuit device of the present invention is a memory test circuit device, wherein the memory has an input data register, an output data register and an address register, and the input data register, the output data register and the address register of the memory are scanned. The scan flip-flop includes a scan chain that shifts data in the order of an address register, an input data register, and an output data register, a memory output data holding circuit, a memory input data signal, and the holding circuit. And a selector that stores the output signal of the comparison circuit in the output data register.

【0009】[0009]

【作用】本発明は、上述の回路構成により、RAMテスト
モードの書き込み動作において、書き込みに先だって同
一アドレスのデータを読み出し、読み出したデータと入
力データレジスタの書き込みデータを比較する。この
際、読み出しデータと書き込みデータが1の補数の関係
であるこを利用して、読み出しデータを圧縮する。以上
の動作により、書き込みと読み出しテストを同時並行し
て実行させ、RAMテストに要する時間とテストパターン
を縮小する。
According to the present invention, in the write operation of the RAM test mode, the data of the same address is read before the write operation and the read data is compared with the write data of the input data register in the write operation of the RAM test mode. At this time, the read data is compressed by utilizing the fact that the read data and the write data have a one's complement relationship. By the above operation, the write and read tests are simultaneously executed in parallel to reduce the time and test pattern required for the RAM test.

【0010】[0010]

【実施例】本発明のRAMテスト回路装置の実施例を図1
の回路図、図2の回路図、図4の回路図、図6の回路
図、図9の動作説明図、図10の動作説明図を参照して
説明する。
FIG. 1 is a block diagram showing an embodiment of a RAM test circuit device according to the present invention.
The circuit diagram of FIG. 2, the circuit diagram of FIG. 2, the circuit diagram of FIG. 4, the circuit diagram of FIG. 6, the operation explanatory diagram of FIG. 9, and the operation explanatory diagram of FIG.

【0011】本発明のRAMテスト回路装置は、その基本
部分で一般のスキャン方式のRAMテスト回路装置と同じ
であるが、図1のRAMテスト回路装置に示す様に、メモ
リ7が入力データレジスタ3と出力データレジスタ1
0,11とアドレスレジスタ4を有し、メモリの入力デ
ータレジスタ3と出力データレジスタ10,11とアド
レスレジスタ4がスキャンフリップフロップで構成さ
れ、前記スキャンフリップフロップはアドレスレジス
タ,入力データレジスタ,出力データレジスタの順にデー
タをシフトするスキャンチェーンを有し、テスト端子1
の状態によりスキャン動作時に入力データレジスタのデ
ータを保持する制御回路1、テスト端子2の状態により
スキャン動作時にアドレスレジスタのデータを保持する
制御回路2、メモリの入力データ信号と出力データ信号
を入力とする比較回路6、及び比較回路の出力信号を出
力データレジスタに格納するセレクタ9を具備する点で
従来のものと異なる。
The RAM test circuit device of the present invention is basically the same as a general scan type RAM test circuit device, but as shown in the RAM test circuit device of FIG. And output data register 1
0, 11 and an address register 4, the input data register 3 of the memory, the output data register 10, 11 and the address register 4 are composed of scan flip-flops, and the scan flip-flops are address registers, input data registers, output data. It has a scan chain that shifts data in the order of registers, and test terminal 1
The control circuit 1 holds the data of the input data register during the scan operation depending on the state of the control terminal, the control circuit 2 holds the data of the address register during the scan operation depending on the state of the test terminal 2, the input data signal and the output data signal of the memory are input. The comparison circuit 6 differs from the conventional one in that the comparison circuit 6 and the selector 9 for storing the output signal of the comparison circuit in the output data register are provided.

【0012】また、本発明のRAMテスト回路装置は、そ
の基本部分で一般のスキャン方式のRAMテスト回路装置
と同じであるが、図2のRAMテスト回路装置に示す様
に、メモリ29が入力データレジスタ24と出力データ
レジスタ32,33とアドレスレジスタ25を有し、前
記メモリの入力データレジスタと出力データレジスタと
アドレスレジスタがスキャンフリップフロップで構成さ
れ、前記スキャンフリップフロップはアドレスレジス
タ,入力データレジスタ,出力データレジスタの順にデー
タをシフトするスキャンチェーンを有し、メモリの出力
データの保持回路27、メモリの入力データ信号と前記
保持回路の出力信号を入力とする比較回路28、及び比
較回路の出力信号を出力データレジスタに格納するセレ
クタ31を具備する点で従来のものと異なる。
Further, the RAM test circuit device of the present invention is the same as a general scan type RAM test circuit device in its basic part, but as shown in the RAM test circuit device of FIG. It has a register 24, output data registers 32 and 33, and an address register 25, and the input data register, output data register, and address register of the memory are constituted by scan flip-flops, and the scan flip-flops are address registers, input data registers, The output data register has a scan chain that shifts data in order, and a holding circuit 27 for holding the output data of the memory, a comparator circuit 28 for receiving the input data signal of the memory and the output signal of the holding circuit, and an output signal of the comparing circuit. Of the prior art in that it has a selector 31 for storing The different.

【0013】ところで、図11の従来のスキャン方式のRA
Mテスト回路装置は、RAMの書き込みテスト時、SCAN_IN
端子のデータをシフト動作でアドレスレジスタと入力デ
ータレジスタに格納する。入力データレジスタが確定し
た状態で、SCAN_CTL信号を有効にすることにより入力デ
ータレジスタは前値を保持する。アドレスレジスタと入
力データレジスタが確定した状態で、書き込み制御信号
TEST_WEを有効にすることにより、1ワードの書き込みが
できる。次に、SCAN_IN端子のデータをシフト動作でア
ドレスレジスタに格納する。この状態で、書き込み制御
信号TEST_WEを有効にすることにより2ワード目の書き込
みができる。2ワード目以降は、データを更新するま
で、書き込むワード数だけアドレスレジスタの設定を繰
り返し、書き込み制御信号TEST_WEを有効にすることに
より順次データを書き込む。RAMの全ワードに書き込む
ためには、前述の動作をワード数分繰り返す必要があ
る。また、RAMの読み出しテスト時は、SCAN_IN端子のデ
ータをシフト動作でアドレスレジスタに格納する。アド
レスレジスタの状態が確定した状態で、RAMのデータを
通常動作で出力データレジスタに取り込み、出力データ
レジスタのデータをシフト動作でSCAN_OUT端子に出力す
る。RAMの全ワードを読み出すためには、前述の動作を
ワード数分繰り返す必要がある。このため、RAMのテス
トに要する時間が長く、テストパターンが膨大になると
いう問題がある。、1ワードの書き込みのためのクロッ
ク数は、アドレスレジスタのビット数と入力データレジ
スタのビット数を合計したものであるのに対し、1ワー
ドの読み出しのためのクロック数は、アドレスレジスタ
のビット数と出力データレジスタのビット数の大きい方
で決まる。
By the way, the conventional scan type RA shown in FIG.
M test circuit device, SCAN_IN
The terminal data is stored in the address register and the input data register by the shift operation. The input data register holds the previous value by enabling the SCAN_CTL signal when the input data register is fixed. Write control signal with address register and input data register confirmed
One word can be written by enabling TEST_WE. Next, the data of the SCAN_IN terminal is stored in the address register by the shift operation. In this state, the second word can be written by enabling the write control signal TEST_WE. After the second word, data is sequentially written by repeating the setting of the address register for the number of words to be written and enabling the write control signal TEST_WE until the data is updated. In order to write all the words of RAM, it is necessary to repeat the above operation for the number of words. During the RAM read test, the data of the SCAN_IN pin is stored in the address register by the shift operation. When the state of the address register is fixed, the RAM data is fetched to the output data register by the normal operation, and the data of the output data register is output to the SCAN_OUT pin by the shift operation. In order to read all the words in RAM, it is necessary to repeat the above operation for the number of words. Therefore, there is a problem that the time required for testing the RAM is long and the test pattern becomes huge. , The number of clocks for writing one word is the sum of the number of bits of the address register and the number of bits of the input data register, while the number of clocks for reading one word is the number of bits of the address register. And the larger number of bits in the output data register.

【0014】ところで、RAMのテストパターンの体表的
なものとしては、チェッカーボートとマーチングがあ
る。4ビット8ワードのRAMを例にテスト方法を示す。チ
ェッカーボートテストの従来の方法を以下に示す。
By the way, checker boats and marching are examples of physical patterns of RAM test patterns. The test method is shown using a 4-bit 8-word RAM as an example. The conventional method of the checker boat test is shown below.

【0015】チェッカーボートパターンに注目すると、
パターンは"0 1 0 1"と"1 0 1 0"の2種類に分類でき
る。一般的な方法では、書き込みテスト時、このパター
ンを交互にRAMのアドレス順に書き込む。これに対し、
チェッカーボートパターンのパターンが"0 1 0 1"と"1
0 1 0"2種類であることに着目し、以下の書き込みサイ
クルを短縮する方法が考案されている。
Focusing on the checkerboard pattern,
Patterns can be classified into two types, "0 1 0 1" and "1 0 1 0". In a general method, this pattern is written alternately in the RAM address order during the write test. In contrast,
The checker boat pattern patterns are "0 1 0 1" and "1.
Focusing on the fact that there are two types of 0 1 0 ", the following method for shortening the write cycle has been devised.

【0016】1) チェッカーボートパターンの書き込み 2) チェッカーボートパターンの読み出し 3) 反転チェッカーボートパターンの書き込み 4) チェッカーボートパターンの読み出しマーチングテ
ストの従来の方法を以下に示す。
1) Writing a checker boat pattern 2) Reading the checker boat pattern 3) Writing the inverted checker boat pattern 4) Readout of checkerboard pattern A conventional method of marching test is shown below.

【0017】 従って、4ビット8ワードのRAMにおいて、チェッカーボ
ートのパターンでは、書き込みテストにおけるデータの
更新は、1ワード毎ではなく、4ワード単位でよい。ま
た、マーチングのパターンでは、書き込みテストにおけ
るデータの更新は、1ワード毎ではなく、8ワード単位で
よい。即ち、チェッカーボートのパターンでは、書き込
みテストにおけるデータの更新は(ワード数/2)単位、マ
ーチングのパターンでは書き込みテストにおけるデータ
の更新はワード数単位でよい。
[0017] Therefore, in the 4-bit 8-word RAM, in the checkerboard pattern, the data update in the write test may be performed in units of 4 words instead of in units of 1 word. Further, in the marching pattern, the data may be updated in the writing test not in units of one word but in units of eight words. That is, in the checkerboard pattern, the data update in the write test may be performed in (word number / 2) units, and in the marching pattern, the data update in the write test may be performed in word number units.

【0018】ここで、チェカーボードとマーチングの両
方に関して、同一アドレスの書き込みのパターンと書き
込み前のパターンに注目すると、1の補数の関係にある
ことが解かる。何らかの方法で、書き込みテスト中に読
み出しテストを同時並行して実行することができれば、
テストに要する時間とテストパターンを大幅に縮小する
ことができ、本発明は、この点に注目したものである。
Here, regarding both the checkerboard and the marching, focusing on the pattern of writing the same address and the pattern before writing, it can be understood that there is a one's complement relationship. Somehow, if you can run read tests concurrently during write tests,
The time required for the test and the test pattern can be significantly reduced, and the present invention focuses on this point.

【0019】図1の本発明の回路では、RAMの書き込みテ
スト時、SCAN_IN端子のデータをシフト動作でアドレス
レジスタと入力データレジスタに格納する。入力データ
レジスタが確定した状態で、SCAN_CTL1信号を有効にす
ることにより、入力データレジスタは前値を保持する。
また、アドレスレジスタと入力データレジスタが確定し
た状態で、SCAN_CTL2信号を1クロックだけ有効にするこ
とにより、アドレスレジスタは次の1クロックだけ前値
を保持する。
In the circuit of the present invention shown in FIG. 1, the data of the SCAN_IN terminal is stored in the address register and the input data register by the shift operation during the RAM write test. The input data register holds the previous value by enabling the SCAN_CTL1 signal when the input data register is fixed.
In addition, by enabling the SCAN_CTL2 signal for one clock only after the address register and the input data register are fixed, the address register holds the previous value for the next one clock.

【0020】一方、比較器には入力データレジスタの書
き込みデータとRAMからの読み出しデータが入力されて
おり、この読み出しデータは、書き込みと同一アドレス
の書き込む以前のデータである。比較器の出力は、SCAN
_CTL2信号が有効であるので、マルチプレクサ9を介し
て、出力レジスタ11に接続され、次のクロックで出力レ
ジスタ11に格納される。出力レジスタ11はマルチプレク
サ9を介して外部端子SCAN_OUTに接続している。この
際、読み出しデータと書き込みデータの間には1の補数
の関係があることに注目する。比較器は、前述の1の補
数の関係が成立するか否かを判定している。予め、スキ
ャン動作で入力データレジスタに正常にデータの設定が
できることを確認した後であれば、比較器の出力を外部
端子SCAN_OUTで観察することにより、読み出しデータが
正常か否かを判定することができることになる。即ち、
読み出しデータが1ビットに圧縮されたことになる。
On the other hand, the write data of the input data register and the read data from the RAM are input to the comparator, and this read data is the data before the writing at the same address as the writing. The output of the comparator is SCAN
Since the _CTL2 signal is valid, it is connected to the output register 11 via the multiplexer 9 and stored in the output register 11 at the next clock. The output register 11 is connected to the external terminal SCAN_OUT via the multiplexer 9. At this time, note that there is a one's complement relationship between the read data and the write data. The comparator determines whether or not the above-described one's complement relationship holds. If it is confirmed in advance that the data can be normally set in the input data register by the scan operation, it is possible to determine whether the read data is normal by observing the output of the comparator at the external terminal SCAN_OUT. You can do it. That is,
This means that the read data is compressed to 1 bit.

【0021】次に、SCAN_CTL2信号を無効にし書き込み
制御信号TWEを有効にすることにより、1ワード目のデー
タを書き込む。2ワード目以降は、データを更新するま
で、書き込むワード数だけアドレスレジスタの設定を繰
り返し、前述の1ワード目の書き込み動作と同様の手順
で順次データを書き込む。以上の動作により、書き込み
動作中に読み出しを同時並行して実行することができ
る。
Next, the SCAN_CTL2 signal is invalidated and the write control signal TWE is validated to write the first word data. From the second word onward, until the data is updated, the setting of the address register is repeated for the number of words to be written, and the data is sequentially written in the same procedure as the writing operation of the first word. Through the above operation, reading can be simultaneously executed in parallel during the writing operation.

【0022】図2の本発明の回路では、RAMは1クロック
中に読み出しと書き込みを行うReadModified Writeタイ
プを用いる。まず、RAMの書き込みテスト時、SCAN_IN端
子のデータをシフト動作でアドレスレジスタと入力デー
タレジスタに格納する。アドレスレジスタと入力データ
レジスタが確定した状態で、SCAN_CTL信号を1クロック
だけ有効にする。一方、この1クロックの前半でデータ
を読み出し、後半でデータを書き込む。クロックの前半
で、読みだしたデータはデータ保持回路27により1クロ
ック分保持される。比較器28には入力データレジスタ24
の書き込みデータとデータ保持回路27の読み出しデータ
が入力されており、この読み出しデータは、書き込みと
同一アドレスの書き込む以前のデータである。比較器の
出力は、SCAN_CTL信号が有効であるので、マルチプレク
サ31を介して、出力レジスタ33に接続され、次のクロッ
クで出力レジスタ33に格納される。出力レジスタ33はマ
ルチプレクサ34を介して外部端子SCAN_OUTに接続してい
る。この際、読み出しデータと書き込みデータの間には
1の補数の関係があることに注目する。比較器は、前述
の1の補数の関係が成立するか否かを判定している。予
め、スキャン動作で入力データレジスタに正常にデータ
の設定ができることを確認した後であれば、比較器の出
力を外部端子SCAN_OUTで観察することにより、読み出し
データが正常か否かを判定することができることにな
る。即ち、読み出しデータが1ビットに圧縮されたこと
になる。
In the circuit of the present invention shown in FIG. 2, the RAM uses the Read Modified Write type which performs reading and writing in one clock. First, at the write test of RAM, the data of the SCAN_IN terminal is stored in the address register and the input data register by the shift operation. Enable the SCAN_CTL signal for one clock only after the address register and input data register are fixed. On the other hand, data is read in the first half of this one clock and written in the latter half. In the first half of the clock, the read data is held by the data holding circuit 27 for one clock. The comparator 28 has an input data register 24
Write data and read data of the data holding circuit 27 are input, and this read data is data before writing at the same address as writing. Since the SCAN_CTL signal is valid, the output of the comparator is connected to the output register 33 via the multiplexer 31 and stored in the output register 33 at the next clock. The output register 33 is connected to the external terminal SCAN_OUT via the multiplexer 34. At this time, between read data and write data
Note that there is a one's complement relationship. The comparator determines whether or not the above-described one's complement relationship holds. If it is confirmed in advance that the data can be normally set in the input data register by the scan operation, it is possible to determine whether the read data is normal by observing the output of the comparator at the external terminal SCAN_OUT. You can do it. That is, the read data is compressed to 1 bit.

【0023】次に、SCAN_CTL信号を無効にし書き込み制
御信号TWEを有効にすることにより、1ワード目のデータ
を書き込む。2ワード目以降は、データを更新するま
で、書き込むワード数だけアドレスレジスタの設定を繰
り返し、前述の1ワード目の書き込み動作と同様の手順
で順次データを書き込む。書き込み動作のクロック数
は、図1の回路に対し書き込みサイクル毎に1クロック短
縮できる。
Next, the SCAN_CTL signal is invalidated and the write control signal TWE is validated to write the first word data. From the second word onward, until the data is updated, the setting of the address register is repeated for the number of words to be written, and the data is sequentially written in the same procedure as the writing operation of the first word. The number of clocks for write operation can be shortened by 1 clock per write cycle with respect to the circuit of FIG.

【0024】図4はアドレスデータ保持回路である。図
6は出力データレジスタのSCANデータ切り替え制御回路
である。
FIG. 4 shows an address data holding circuit. FIG. 6 shows a SCAN data switching control circuit of the output data register.

【0025】図4において、SCAN_CTL2信号が"L"の時
は、図3の従来の回路と論理的に等価になる。スキャン
動作時、SCAN_CTL2信号が"H"になると、各スキャンフリ
ップフロップはその出力の状態を取り込み、結果的にス
キャンフリップフロップは前値を保持する。
In FIG. 4, when the SCAN_CTL2 signal is "L", it is logically equivalent to the conventional circuit of FIG. When the SCAN_CTL2 signal becomes "H" during the scan operation, each scan flip-flop takes in the state of its output, and as a result, the scan flip-flop holds the previous value.

【0026】図6において、SCAN_CTL2信号が"L"の時
は、図5の従来の回路と論理的に等価になる。スキャン
動作時、SCAN_CTL2信号が"H"になると、出力データレジ
スタのフリップフロップ65のスキャンイン端子は比較器
の出力に接続される。
In FIG. 6, when the SCAN_CTL2 signal is "L", it is logically equivalent to the conventional circuit of FIG. When the SCAN_CTL2 signal becomes "H" during the scan operation, the scan-in terminal of the flip-flop 65 of the output data register is connected to the output of the comparator.

【0027】図9は、図1の本発明の回路の書き込み時
の動作タイミングを示す。図9は、データ3ビット,ア
ドレス2ビットのRAMの0番地、2番地、4番地、6番地、
8番地の書き込み動作のタイミングである。1ワード目
のみ5クロック要するが、2ワード目以降は3ビットでよ
いことがわかる。データ5ビット,アドレス3ビットのRAM
について、チェッカーボートのパターンでは、従来の回
路で書き込みテストに要するクロック数は、((3+5)x1+3
x3)x2=34クロックである。また、読み出しテストに要す
るクロック数は、5x8=40クロックである。読み出しと書
き込みを合わせたクロック数は、74となる。
FIG. 9 shows the operation timing at the time of writing of the circuit of the present invention shown in FIG. FIG. 9 shows addresses 0, 2, 4, 6 of a 3-bit data, 2-bit address RAM,
This is the timing of the write operation at address 8. Only the first word requires 5 clocks, but it can be seen that 3 bits are sufficient for the second and subsequent words. RAM with 5 bits of data and 3 bits of address
In the checkerboard pattern, the number of clocks required for the write test in the conventional circuit is ((3 + 5) x1 + 3
x3) x2 = 34 clocks. The number of clocks required for the read test is 5x8 = 40 clocks. The total number of clocks for reading and writing is 74.

【0028】図1の本発明の回路では、読み出し書き込
みを同時に行い、そのクロック数は(5+(3+1)x3)x2=34に
なり、54%のクロック数の削減になる。マーチングのパ
ターンでは、従来の回路で書き込みテストに要するクロ
ック数は、(3+5)x1+3x7=29クロックである。また、読み
出しテストに要するクロック数は、5x8=40クロックであ
る。読み出しと書き込みを合わせたクロック数は、69と
なる。本発明の回路では、読み出し書き込みを同時に行
い、そのクロック数は5+(3+1)x7=33になり、52%のクロ
ック数の削減になる。一般に、(データのビット長/アド
レスのビット長)の値が大きいと削減率は大きくなる。
In the circuit of the present invention shown in FIG. 1, reading and writing are performed simultaneously, and the number of clocks becomes (5+ (3 + 1) x3) x2 = 34, which is a 54% reduction in the number of clocks. In the marching pattern, the number of clocks required for the write test in the conventional circuit is (3 + 5) x1 + 3x7 = 29 clocks. The number of clocks required for the read test is 5x8 = 40 clocks. The total number of clocks for reading and writing is 69. In the circuit of the present invention, reading and writing are simultaneously performed, and the number of clocks is 5+ (3 + 1) x7 = 33, which is a 52% reduction in the number of clocks. Generally, the larger the value of (bit length of data / bit length of address), the greater the reduction rate.

【0029】図10は、図2の本発明の回路の書き込み時
の動作タイミングを示す。図10は、データ3ビット,ア
ドレス2ビットのRAMの0番地、2番地、4番地、6番地、
8番地、10番地の書き込み動作のタイミングである。1
ワード目のみ5クロック要するが、2ワード目以降は2ビ
ットでよいことがわかる。データ5ビット,アドレス3ビ
ットのRAMについて、チェッカーボートのパターンで
は、従来の回路で読み出しと書き込みを合わせたクロッ
ク数は、74となる。
FIG. 10 shows the operation timing at the time of writing of the circuit of the present invention shown in FIG. Figure 10 shows 0, 2, 4, and 6 of RAM with 3 bits of data and 2 bits of address.
It is the timing of the write operation at addresses 8 and 10. 1
It takes 5 clocks only for the second word, but it is clear that 2 bits are enough for the second word and thereafter. In the checkerboard pattern, the number of clocks for reading and writing in the conventional circuit is 74 for the RAM of 5 bits of data and 3 bits of address.

【0030】本発明の回路では、読み出し書き込みを同
時に行い、そのクロック数は(5+3x3)x2=28になり、62%
のクロック数の削減になる。マーチングのパターンで
は、従来の回路で読み出しと書き込みを合わせたクロッ
ク数は、69となる。図1の本発明の回路では、読み出し
書き込みを同時に行い、そのクロック数は5+3x7=26にな
り、62%のクロック数の削減になる。一般に、(データの
ビット長/アドレスのビット長)の値が大きいと削減率は
大きくなる。
In the circuit of the present invention, reading and writing are simultaneously performed, and the number of clocks is (5 + 3x3) x2 = 28, which is 62%.
The number of clocks will be reduced. In the marching pattern, the number of clocks for reading and writing in the conventional circuit is 69. In the circuit of the present invention in FIG. 1, reading and writing are simultaneously performed, and the number of clocks is 5 + 3x7 = 26, which is a 62% reduction in the number of clocks. Generally, the larger the value of (bit length of data / bit length of address), the greater the reduction rate.

【0031】図1及び図2の本発明の回路において、アド
レスレジスタのアドレス設定をより短縮する方法とその
動作を示す。アドレスレジスタを3ビットとすると、1つ
のアドレスの設定にはSCAN_INからの3ビットを要すると
した。しかし、アドレスの設定の順序を組み替えること
により、設定に要するビット数を減らすことができる。
一般に、任意のビット長のレジスタに対しビットシフト
により全てのパターンを得る方法として、リニアフィー
ドバックシフトレジスタによる方法がある。この方法に
よれば、ビット長nのレジスタに対しては、n**2のビ
ットシフトで全てのパターンをつくることができる。前
述のアドレスレジスタの設定に、この方法を用いれば、
1つのアドレスの設定にはSCAN_INからの1ビットシフト
を要するのみである。従って、クロック数の削減率はさ
らに大きくできる。
A method and operation of further shortening the address setting of the address register in the circuit of the present invention shown in FIGS. 1 and 2 will be described. Assuming that the address register has 3 bits, it is said that it takes 3 bits from SCAN_IN to set one address. However, the number of bits required for setting can be reduced by rearranging the order of address setting.
In general, there is a method using a linear feedback shift register as a method for obtaining all patterns by bit-shifting a register having an arbitrary bit length. According to this method, for a register having a bit length n, all patterns can be created by bit shift of n ** 2. If you use this method to set the address register,
Setting one address only requires a 1-bit shift from SCAN_IN. Therefore, the reduction rate of the number of clocks can be further increased.

【0032】ところで、図1の本実施例は、従来の図11
と比較すると、入力データレジスタのデータ保持回路,
アドレスレジスタのアドレス保持回路,比較器とマルチ
プレクサを必要とするが、以上の回路は極めて小規模の
回路で構成できる。また、SCAN_CTL1端子とSCAN_CTL2端
子は、通常の外部端子と共用が可能であり、テスト用の
外部端子の追加は不要である。更に、SCAN_CTL1端子とS
CAN_CTL2端子を無効にすれば、アドレスとデータ組み合
わせを任意に設定することができるのは言うまでもな
い。従って、本発明の回路によりアドレスとデータの組
み合わせを制限されることはなく、RAMの故障診断も容
易にできる。
By the way, the present embodiment shown in FIG.
Compared with the data holding circuit of the input data register,
Although the address holding circuit of the address register, the comparator and the multiplexer are required, the above circuits can be constructed by a very small scale circuit. Further, the SCAN_CTL1 terminal and the SCAN_CTL2 terminal can be shared with a normal external terminal, and it is not necessary to add an external terminal for testing. In addition, SCAN_CTL1 pin and S
It goes without saying that the address and data combinations can be set arbitrarily by disabling the CAN_CTL2 pin. Therefore, the combination of the address and the data is not limited by the circuit of the present invention, and the failure diagnosis of the RAM can be easily performed.

【0033】また、図2の本実施例は、従来の図11と比
較すると、読み出しデータのデータ保持回路,比較器と
マルチプレクサを必要とするが、以上の回路は極めて小
規模の回路で構成できる。また、SCAN_CTL端子は、通常
の外部端子と共用が可能であり、テスト用の外部端子の
追加は不要である。更に、SCAN_CTL端子を無効にすれ
ば、アドレスとデータ組み合わせを任意に設定すること
ができるのは言うまでもない。従って、本発明の回路に
よりアドレスとデータの組み合わせを制限されることは
なく、RAMの故障診断も容易にできる。
Further, the present embodiment of FIG. 2 requires a data holding circuit for read data, a comparator and a multiplexer, as compared with the conventional FIG. 11, but the above circuit can be constructed by an extremely small scale circuit. . Also, the SCAN_CTL terminal can be shared with a normal external terminal, and it is not necessary to add an external terminal for testing. Furthermore, it goes without saying that the address and data combination can be set arbitrarily by disabling the SCAN_CTL terminal. Therefore, the combination of the address and the data is not limited by the circuit of the present invention, and the failure diagnosis of the RAM can be easily performed.

【0034】また、図1と図2に示す様に、2個以上のSRA
Mに対しても、共通のスキャン制御信号により、同時並
行して書き込みテストが可能である。
Further, as shown in FIGS. 1 and 2, two or more SRAs are used.
A common scan control signal can be used for M to perform write tests in parallel at the same time.

【0035】[0035]

【発明の効果】本発明のRAMテスト回路装置によれば、
スキャン方式のRAMテスト回路装置のテスト時間とテス
トパターンのサイズを大幅に縮小化させることができる
という効果が奏される。
According to the RAM test circuit device of the present invention,
The test time of the scan type RAM test circuit device and the size of the test pattern can be significantly reduced.

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

【図1】本発明のRAMテスト回路装置の回路図である。FIG. 1 is a circuit diagram of a RAM test circuit device of the present invention.

【図2】本発明のRAMテスト回路装置の回路図である。FIG. 2 is a circuit diagram of a RAM test circuit device of the present invention.

【図3】従来のアドレスレジスタの回路図である。FIG. 3 is a circuit diagram of a conventional address register.

【図4】本発明のアドレスレジスタの回路図である。FIG. 4 is a circuit diagram of an address register of the present invention.

【図5】従来の出力データレジスタの回路図である。FIG. 5 is a circuit diagram of a conventional output data register.

【図6】本発明の出力データレジスタの回路図である。FIG. 6 is a circuit diagram of an output data register of the present invention.

【図7】従来のRAMテスト回路装置の書き込み時の動作
説明図である。
FIG. 7 is an operation explanatory diagram of a conventional RAM test circuit device at the time of writing.

【図8】従来のRAMテスト回路装置の読み出し時の動作
説明図である。
FIG. 8 is an operation explanatory diagram of a conventional RAM test circuit device at the time of reading.

【図9】本発明の図1のRAMテスト回路装置の書き込み
動作説明図である。
9 is an explanatory diagram of a write operation of the RAM test circuit device of FIG. 1 of the present invention.

【図10】本発明の図2のRAMテスト回路装置の書き込
み動作説明図である。
10 is a diagram illustrating a write operation of the RAM test circuit device of FIG. 2 of the present invention.

【図11】本発明者が以前提案したRAMテスト回路装置
の回路図である。
FIG. 11 is a circuit diagram of a RAM test circuit device previously proposed by the present inventor.

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

6,18 比較回路 27,38 データ保持回路 6,18 Comparison circuit 27,38 Data holding circuit

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】メモリのテスト回路装置において、メモリ
が入力データレジスタと出力データレジスタとアドレス
レジスタを有し、前記メモリの入力データレジスタと出
力データレジスタとアドレスレジスタがスキャンフリッ
プフロップで構成され、前記スキャンフリップフロップ
はアドレスレジスタ,入力データレジスタ,出力データレ
ジスタの順にデータをシフトするスキャンチェーンを有
し、テスト端子1の状態によりスキャン動作時に入力デ
ータレジスタのデータを保持する制御回路、テスト端子
2の状態によりスキャン動作時にアドレスレジスタのデ
ータを保持する制御回路、メモリの入力データ信号と出
力データ信号を入力とする比較回路、及び比較回路の出
力信号を出力データレジスタに格納するセレクタを具備
するスキャン方式のメモリテスト回路装置。
1. A test circuit device for a memory, wherein the memory has an input data register, an output data register and an address register, and the input data register, the output data register and the address register of the memory are composed of scan flip-flops. The scan flip-flop has a scan chain that shifts data in the order of an address register, an input data register, and an output data register, and a control circuit and a test terminal that hold the data of the input data register during a scan operation depending on the state of test terminal 1.
It is provided with a control circuit that holds the data of the address register during the scan operation depending on the state of 2, a comparison circuit that inputs the memory input data signal and the output data signal, and a selector that stores the output signal of the comparison circuit in the output data register. Scan type memory test circuit device.
【請求項2】メモリのテスト回路装置において、メモリ
が入力データレジスタと出力データレジスタとアドレス
レジスタを有し、前記メモリの入力データレジスタと出
力データレジスタとアドレスレジスタがスキャンフリッ
プフロップで構成され、前記スキャンフリップフロップ
はアドレスレジスタ,入力データレジスタ,出力データレ
ジスタの順にデータをシフトするスキャンチェーンを有
し、メモリの出力データの保持回路、メモリの入力デー
タ信号と前記保持回路の出力信号を入力とする比較回
路、及び比較回路の出力信号を出力データレジスタに格
納するセレクタを具備するスキャン方式のメモリテスト
回路装置。
2. A test circuit device for a memory, wherein the memory has an input data register, an output data register and an address register, and the input data register, the output data register and the address register of the memory are constituted by scan flip-flops. The scan flip-flop has a scan chain that shifts data in the order of an address register, an input data register, and an output data register, and receives a memory output data holding circuit, a memory input data signal, and the holding circuit output signal as an input. A scan type memory test circuit device comprising a comparison circuit and a selector for storing an output signal of the comparison circuit in an output data register.
JP5088300A 1993-04-15 1993-04-15 Memory test circuit device Pending JPH06302199A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5088300A JPH06302199A (en) 1993-04-15 1993-04-15 Memory test circuit device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5088300A JPH06302199A (en) 1993-04-15 1993-04-15 Memory test circuit device

Publications (1)

Publication Number Publication Date
JPH06302199A true JPH06302199A (en) 1994-10-28

Family

ID=13939083

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5088300A Pending JPH06302199A (en) 1993-04-15 1993-04-15 Memory test circuit device

Country Status (1)

Country Link
JP (1) JPH06302199A (en)

Similar Documents

Publication Publication Date Title
JP2702855B2 (en) Circuit and method for testing and controlling a RAM array
US4670879A (en) Pattern generator
KR20030093104A (en) Semiconductor integrated circuit and testing method thereof
US5894213A (en) Semiconductor integrated circuit having a plurality of flip-flops
JPH0391188A (en) Fifo memory
JPH0743429A (en) Physical address conversion circuit
JP2902303B2 (en) Method and apparatus for including the state of a non-scannable part in a scan chain
EP0460603B1 (en) Delay data setting circuit and method
JPH06302199A (en) Memory test circuit device
JPH06295597A (en) Memory test circuit device
JP4659244B2 (en) Semiconductor memory device
JPH0512900A (en) Semiconductor storage containing test function and its test method
JP2006058242A (en) Integrated circuit
JP2615050B2 (en) Semiconductor memory
JP2005004822A (en) Semiconductor integrated circuit with self-test function
JP2006073917A (en) Integrated circuit
JPS6373451A (en) Logical device
US20020138797A1 (en) Method of testing a sequential access memory plane and a corresponding sequential access memory semiconductor device
JP3099774B2 (en) Semiconductor integrated circuit
US6629275B1 (en) Reinstate apparatus and method to recreate data background for testing SRAM
JPS63108747A (en) Gate array integrated circuit
JPWO2008026273A1 (en) DMA controller
JP2008010072A (en) Semiconductor integrated circuit device
JPS63292487A (en) Semiconductor storage device
JP3281898B2 (en) Memory mounted semiconductor device and memory test method