JPH0773695A - Self test circuit for ram - Google Patents

Self test circuit for ram

Info

Publication number
JPH0773695A
JPH0773695A JP5221010A JP22101093A JPH0773695A JP H0773695 A JPH0773695 A JP H0773695A JP 5221010 A JP5221010 A JP 5221010A JP 22101093 A JP22101093 A JP 22101093A JP H0773695 A JPH0773695 A JP H0773695A
Authority
JP
Japan
Prior art keywords
ram
data
lfsr
address
bit
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
JP5221010A
Other languages
Japanese (ja)
Inventor
Masahiro Kurimoto
雅弘 栗本
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.)
Oki Electric Industry Co Ltd
Original Assignee
Oki Electric Industry 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 Oki Electric Industry Co Ltd filed Critical Oki Electric Industry Co Ltd
Priority to JP5221010A priority Critical patent/JPH0773695A/en
Publication of JPH0773695A publication Critical patent/JPH0773695A/en
Pending legal-status Critical Current

Links

Landscapes

  • For Increasing The Reliability Of Semiconductor Memories (AREA)

Abstract

PURPOSE:To provide a self test circuit for a RAM capable of testing even a content corresponding to the address 0 of a test objective RAM. CONSTITUTION:Address pattern and data pattern with (m) bits and (n) bits (m, n are positive integers) are supplied from an LFSR for generating address and the LSFR for generating data to a testing RAM respectively, and the output data is compressed by the LFSR for compressing the data with (n) bits, and a signature is generated. Then, the signature is compared with an expected value signature, and the normal/defective condition of the RAM is decided. The LFSR 20 supplying the address pattern with (m+1) bit and the LFSR 30 (1 is a positive integer) supplying the data pattern with (n-1) bit are awaited, and the (m) bit of the LFSR 20 are connected to the address input terminal of the RAM 1, and the (n-1) bit of the LFSR 30 and the (1) bit of the LFSR 20 are connected to the data input terminal of the RAM 1 respectively.

Description

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

【0001】[0001]

【産業上の利用分野】本発明はRAMのセルフテスト回
路、特にアドレス生成用及びデータ生成用のリニアフィ
ードバックシフトレジスタ(以下LFSRという)を用
いたRAMのセルフテスト回路に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a RAM self-test circuit, and more particularly to a RAM self-test circuit using a linear feedback shift register (hereinafter referred to as LFSR) for address generation and data generation.

【0002】[0002]

【従来の技術】図2は従来のRAMのセルフテスト回路
を示すブロック構成図である。RAM1はアドレス入力
数がmビット、データ入力数がnビットの構成で、デー
タ出力もnビットである。RAM1のmビットのアドレ
ス入力端子にはmビット長のアドレス生成用LFSR2
が接続され、nビットのデータ入力端子にはnビット長
のデータ生成用LFSR3が接続される。またnビット
のデータ出力端子にはnビット長のデータ圧縮用LFS
R4が接続される。
2. Description of the Related Art FIG. 2 is a block diagram showing a conventional RAM self-test circuit. The RAM 1 has a structure in which the number of address inputs is m bits and the number of data inputs is n bits, and the data output is also n bits. The m-bit address input terminal of the RAM1 has an m-bit length LFSR2 for address generation.
And an n-bit data input terminal is connected to an n-bit data generation LFSR3. The n-bit data output terminal has an n-bit length LFS for data compression.
R4 is connected.

【0003】次に図2に示す回路の動作を説明する。図
示しないテスト制御回路からのクロック信号に応答し
て、アドレス生成用LFSR2及びデータ生成用LFS
R3がそれぞれアドレスパターン及びデータパターンを
RAM1に供給する。データ圧縮用LFSR4はRAM
1からの出力データを圧縮しシグネチャーを生成する。
必要回数のクロックを印加したのち最終的に生成された
シグネチャーを予め求めておいた期待値シグネチャーと
比較する事により、RAM1に不良がないかどうかをテ
ストする。
Next, the operation of the circuit shown in FIG. 2 will be described. In response to a clock signal from a test control circuit (not shown), the address generation LFSR2 and the data generation LFS.
R3 supplies the address pattern and the data pattern to the RAM1, respectively. LFSR4 for data compression is RAM
Compress the output data from 1 to generate a signature.
After the required number of clocks are applied, the finally generated signature is compared with the expected value signature that has been obtained in advance to test whether the RAM 1 is defective.

【0004】[0004]

【発明が解決しようとする課題】しかし、図2に示すよ
うな従来のセルフテスト回路では、アドレス入力端子に
接続されてアドレスパターンを供給するアドレス生成用
LFSRの性質上、オール0のパターンが発生できない
という問題点があった。したがってアドレス0に相当す
るRAMの内容のテストはできず、セルフテストを完全
に行うことが出来ないという問題点があった。
However, in the conventional self-test circuit as shown in FIG. 2, an all-zero pattern is generated due to the nature of the address generating LFSR which is connected to the address input terminal and supplies the address pattern. There was a problem that it could not be done. Therefore, there is a problem that the contents of the RAM corresponding to the address 0 cannot be tested and the self-test cannot be completely performed.

【0005】本発明は上述した問題点を解消するために
なされたもので、テスト対象RAMのアドレス0に対応
する内容もテストする事の出来るようにしたRAMのセ
ルフテスト回路を提供することを目的とする。
The present invention has been made to solve the above-mentioned problems, and an object of the present invention is to provide a RAM self-test circuit capable of testing the contents corresponding to address 0 of the RAM under test. And

【0006】[0006]

【課題を解決するための手段】本発明は、テスト制御回
路からのクロック信号に応答して、アドレス生成用のリ
ニアフィードバックシフトレジスタ(LFSR)及びデ
ータ生成用のLFSRからそれぞれmビット及びnビッ
ト(m,nはそれぞれ正の整数)のアドレスパターン及
びデータパターンを試験用のRAMに供給し、nビット
のデータ圧縮用LFSRより出力データを圧縮して取り
出してシグネチャーを生成し、このシググネチャーを期
待値シグネチャーと比較することにより前記RAMの良
否を判定するRAMのセルフテスト回路において、(m
+l)ビットのアドレスパターンを供給する第1のLF
SRと、(n−l)ビットのデータパターンを供給する
第2のLFSR(lは正の整数)とを用意し、前記第1
のLFSRのmビットを前記RAMのアドレス入力端子
に、前記第2のLFSRの(n−l)ビットと前記第1
のLFSRのlビットとを前記RAMのデータ入力端子
にそれぞれ接続するようにしたものである。
According to the present invention, in response to a clock signal from a test control circuit, a linear feedback shift register (LFSR) for address generation and an LFSR for data generation respectively have m bits and n bits ( (m and n are positive integers respectively) are supplied to the test RAM, the output data is compressed and extracted from the n-bit data compression LFSR to generate the signature, and this signature is the expected value. In the RAM self-test circuit that determines the quality of the RAM by comparing with the signature, (m
The first LF supplying an address pattern of +1) bits
An SR and a second LFSR (l is a positive integer) for supplying a data pattern of (n-1) bits are prepared, and the first LFSR is provided.
M bits of the LFSR of the second LFSR to the address input terminal of the RAM, and the (n-1) bits of the second LFSR and the first
And 1 bit of the LFSR are connected to the data input terminals of the RAM.

【0007】[0007]

【作用】本発明はアドレスパターン生成用のLFSRの
ビット長を、テスト対象RAMのアドレス入力端子のビ
ット長よりも長く構成し、余ったビットをRAMのデー
タ入力端子に接続するようにしている。したがってアド
レスパターン生成用のLFSRに於いてオール0のパタ
ーンが発生でき、その結果アドレス0のRAMの内容も
テストできる。
According to the present invention, the bit length of the LFSR for generating the address pattern is configured to be longer than the bit length of the address input terminal of the RAM under test, and the surplus bits are connected to the data input terminal of the RAM. Therefore, an all 0 pattern can be generated in the LFSR for generating the address pattern, and as a result, the contents of the RAM at the address 0 can be tested.

【0008】[0008]

【実施例】図1は本発明の一実施例にかかるRAMのセ
ルフテスト回路のブロック構成図を示したものである。
本発明ではアドレス生成用LFSR20とデータ生成用
LFSR30のビット長をそれぞれ以下の様に構成す
る。
1 is a block diagram of a RAM self-test circuit according to an embodiment of the present invention.
In the present invention, the bit lengths of the address generation LFSR 20 and the data generation LFSR 30 are configured as follows.

【0009】まず、アドレス生成用LFSR20のビッ
ト長はテスト対象RAM1のアドレス入力端子のビット
数mより長い(m+l)ビット(lは正の整数)として
構成する。そしてその内のmビットをRAM1のアドレ
ス接続端子に接続し、残りのlビットをRAM1のn本
の入力端子のうちl本に接続する。
First, the bit length of the address generating LFSR 20 is configured as (m + 1) bits (l is a positive integer) longer than the number of bits m of the address input terminal of the test target RAM 1. Then, m bits of them are connected to the address connection terminals of the RAM 1, and the remaining 1 bits are connected to 1 of the n input terminals of the RAM 1.

【0010】次にデータ生成用LFSR30のビット長
はRAM1のデータ入力端子のビット数nよりも短い
(n−l)ビットとして構成する。そしてデータ入力端
子の(n−l)本の端子にこれを接続する。すなわち図
1に示す実施例ではアドレス生成用LFSR20の上位
ビットをlだけ余らせてRAM1のデータ接続端子に接
続し、残ったデータ入力端子に(n−l)ビット長のデ
ータ生成用LFSR30からデータ入力パターンを入力
するように構成する。
Next, the bit length of the data generating LFSR 30 is configured as (n-1) bits shorter than the bit number n of the data input terminal of the RAM 1. Then, this is connected to the (n-1) terminals of the data input terminal. That is, in the embodiment shown in FIG. 1, the upper bits of the address generation LFSR 20 are connected to the data connection terminal of the RAM 1 by leaving only 1 left, and the remaining data input terminal receives data from the data generation LFSR 30 of (n-1) bit length. It is configured to input the input pattern.

【0011】図3はアドレス生成用LFSR20の回路
構成の一例を示したブロック回路図である。ここではm
+l=5ビットの場合の例を示している。5ビット長の
LFSRの場合、図に示すように5個のフリップフロッ
プ32〜36と1個のエクスクーシブオアゲート31と
で構成する。フィードバックループを接続する位置は符
号論理により求まる原始多項式に基づいて決まり、適切
な接続を行えばオール0を除いた25 −1種類のパター
ンを、クロックを印加するたびに疑似乱数的に順次発生
することができる。
FIG. 3 is a block circuit diagram showing an example of the circuit configuration of the address generating LFSR 20. Where m
An example in the case of + 1 = 5 bits is shown. In the case of a 5-bit length LFSR, as shown in the figure, it is composed of five flip-flops 32 to 36 and one exclusive OR gate 31. The position to connect the feedback loop is determined based on the primitive polynomial obtained by the code logic. With proper connection, 2 5 -1 types of patterns excluding all 0s are sequentially generated in pseudo random numbers every time a clock is applied. can do.

【0012】図3に示す実施例ではフリップフロップ3
2〜36を縦続接続し、エクスルシブオアゲート31の
一方の入力端子をフリップフロップ34のQ端子に他方
の入力端子をフリップフロップ36のQ端子に接続す
る。そして、エクスクルーシブオアゲート31の出力端
子をフリップフロップ32のデータ入力端子に入力する
ことによりパターン出力をフリップフロップ32〜36
のQ出力端子から得るように構成している。これにより
図示しないテスト制御回路からのクロック信号がクロッ
ク入力端子に入力されるたびにフリップフロップ32〜
36のQ端子より31種類のパターンが出力される。
In the embodiment shown in FIG. 3, the flip-flop 3
2 to 36 are connected in cascade, one input terminal of the exclusive OR gate 31 is connected to the Q terminal of the flip-flop 34, and the other input terminal is connected to the Q terminal of the flip-flop 36. Then, the output terminal of the exclusive OR gate 31 is input to the data input terminal of the flip-flop 32 to output the pattern output to the flip-flops 32 to 36.
It is configured to be obtained from the Q output terminal of. As a result, every time a clock signal from a test control circuit (not shown) is input to the clock input terminal, the flip-flops 32 to
31 types of patterns are output from 36 Q terminals.

【0013】この構成によればアドレスパターン生成用
LFSRは相変わらずオール0のパターンを発生できな
いもののテスト対象RAMのアドレスにはオール0のパ
ターンを印加する事ができる。すなわち、一例として、
l=1,m=4の場合で考えると、アドレス生成用LF
SR20はオール0パターン00000を発生できない
もののパターン10000は発生する事ができるためこ
の時の下位4ビットのパターン0000がRAM1のア
ドレスに印加できることになるからである。なお、上述
した実施例ではアドレス生成用LFSR20の上位ビッ
トを余らせてこれをRAM1のデータ入力端子に接続し
た場合について説明したが、データ入力端子に接続する
ビットは上位側のビットに限定する必要はなく、下位側
ビットでも中間ビットでも何等問題はない。
According to this structure, the LFSR for generating the address pattern cannot generate the pattern of all 0 as usual, but the pattern of all 0 can be applied to the address of the RAM under test. That is, as an example,
Considering the case of l = 1 and m = 4, the address generation LF
This is because the SR20 cannot generate the all-zero pattern 00000 but can generate the pattern 10000, so that the lower 4-bit pattern 0000 at this time can be applied to the address of the RAM1. In the above embodiment, the case where the upper bits of the address generating LFSR 20 are left and connected to the data input terminal of the RAM 1 has been described, but the bits connected to the data input terminal need to be limited to the upper bits. There is no problem with the lower bits or the intermediate bits.

【0014】[0014]

【発明の効果】以上実施例に基づいて詳細に説明したよ
うに、本発明ではアドレスパターン生成器のビット長を
テスト対象RAMの入力ビット長よりも長く構成し、余
ったビットをRAMのデータ入力端子に接続するように
したため、オール0のパターンをアドレス入力として構
成することができる。したがってアドレス0のRAMの
内容もテストできるようになる。更にデータパターン生
成器のビット長もテスト対象RAMのデータ入力端子の
ビット長よりも短い構成で実現できるという利点もあ
る。
As described above in detail with reference to the embodiments, in the present invention, the bit length of the address pattern generator is made longer than the input bit length of the RAM under test, and the surplus bits are input to the data of the RAM. Since it is connected to the terminal, the pattern of all 0s can be configured as an address input. Therefore, the contents of the RAM at address 0 can be tested. Further, there is an advantage that the bit length of the data pattern generator can be realized with a configuration shorter than the bit length of the data input terminal of the RAM under test.

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

【図1】本発明の一実施例のブロック回路図FIG. 1 is a block circuit diagram of an embodiment of the present invention.

【図2】従来のセルフテスト回路のブロック回路図FIG. 2 is a block circuit diagram of a conventional self-test circuit.

【図3】LFSRの構成例を示すブロック回路図FIG. 3 is a block circuit diagram showing a configuration example of an LFSR.

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

1 RAM 4 データ圧縮用LFSR 20 アドレス生成用LFSR 30 データ生成用LFSR 31 エクスクルーシブオアゲート 32〜36 フリップフロップ 1 RAM 4 LFSR for data compression 20 LFSR for address generation 30 LFSR for data generation 31 Exclusive OR gate 32-36 flip-flop

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 クロック信号に応答して、アドレス生成
用のシフトレジスタ及びデータ生成用のシフトレジスタ
からそれぞれmビット及びnビット(m,nはそれぞれ
正の整数)のアドレスパターン及びデータパターンをR
AMに供給し、前記RAMからの出力データを予め求め
ておいた期待値と比較することにより前記RAMの良否
を判定するRAMのセルフテスト回路において、 (m+l)ビットのアドレスパターンを供給する第1の
シフトレジスタと、 (n−l)ビットのデータパターンを供給する第2のシ
フトレジスタ(lは正の整数)とを具備し、 前記第1のシフトレジスタのmビットを前記RAMのア
ドレス入力端子に、前記第2のシフトレジスタの(n−
l)ビットと前記第1のシフトレジスタのlビットとを
前記RAMのデータ入力端子にそれぞれ接続する事を特
徴とするRAMのセルフテスト回路。
1. In response to a clock signal, R and m-bit and n-bit (m and n are positive integers) address patterns and data patterns are respectively read from a shift register for address generation and a shift register for data generation.
A first self-test circuit for a RAM, which supplies a data to an AM and compares the output data from the RAM with an expected value obtained in advance to judge whether the RAM is good or bad. Shift register and a second shift register (l is a positive integer) for supplying a data pattern of (n-1) bits, wherein m bits of the first shift register are address input terminals of the RAM. Of the second shift register (n-
A self test circuit for a RAM, characterized in that 1) bit and 1 bit of the first shift register are respectively connected to a data input terminal of the RAM.
JP5221010A 1993-09-06 1993-09-06 Self test circuit for ram Pending JPH0773695A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5221010A JPH0773695A (en) 1993-09-06 1993-09-06 Self test circuit for ram

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5221010A JPH0773695A (en) 1993-09-06 1993-09-06 Self test circuit for ram

Publications (1)

Publication Number Publication Date
JPH0773695A true JPH0773695A (en) 1995-03-17

Family

ID=16760068

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5221010A Pending JPH0773695A (en) 1993-09-06 1993-09-06 Self test circuit for ram

Country Status (1)

Country Link
JP (1) JPH0773695A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100722524B1 (en) * 2005-08-08 2007-05-28 연세대학교 산학협력단 Efficient Reseeding Apparatus for Deterministic BIST
US7930539B2 (en) 2004-08-03 2011-04-19 Hewlett-Packard Development Company, L.P. Computer system resource access control
US8868992B2 (en) 2009-12-31 2014-10-21 Intel Corporation Robust memory link testing using memory controller

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7930539B2 (en) 2004-08-03 2011-04-19 Hewlett-Packard Development Company, L.P. Computer system resource access control
KR100722524B1 (en) * 2005-08-08 2007-05-28 연세대학교 산학협력단 Efficient Reseeding Apparatus for Deterministic BIST
US8868992B2 (en) 2009-12-31 2014-10-21 Intel Corporation Robust memory link testing using memory controller

Similar Documents

Publication Publication Date Title
JPS63153483A (en) Semiconductor integrated circuit
JPH0770573B2 (en) Semiconductor integrated circuit device
JPH10307173A (en) Test method for electronic circuit or tester for board and electronic device
JPS6232511B2 (en)
US6401226B1 (en) Electronic system with self-test function and simulation circuit for electronic system
JPH0773695A (en) Self test circuit for ram
KR940011036B1 (en) Shift register
KR100261019B1 (en) Method and circuit for signature compression
JP2561032B2 (en) Semiconductor integrated circuit test method
US7210083B2 (en) System and method for implementing postponed quasi-masking test output compression in integrated circuit
US5574732A (en) Test pattern generator
JP3179646B2 (en) Shared test register and built-in self-test circuit using the same
JP2001305197A (en) Method and device for calibrating pulse width timing error correction in semiconductor integrated circuit test
US20060116834A1 (en) Test method and test apparatus for digital-analog converter
JP3022017B2 (en) Integrated circuit
JP2860112B2 (en) Apparatus and method for transmitting test data for integrated circuit and device test circuit for integrated circuit
US7240260B2 (en) Stimulus generation
JP4520103B2 (en) Scan test pattern input method and semiconductor integrated circuit
JPH11344535A (en) Semiconductor integrated circuit device
KR20000023351A (en) Method and apparatus for generating random-numbers using a plurality of clock signals
KR100267782B1 (en) Chip having time checking function
JP2001174515A (en) Method of diagnosing self-diagnosis logic integrated circuit and self-diagnosis logic integrated circuit
JPH05126916A (en) Semiconductor integrated circuit with testing function
JPH01221686A (en) Semiconductor integrated circuit
JP2004053261A (en) Circuit for testing semiconductor integrated circuit