JPH09197012A - Semiconductor device - Google Patents

Semiconductor device

Info

Publication number
JPH09197012A
JPH09197012A JP8009277A JP927796A JPH09197012A JP H09197012 A JPH09197012 A JP H09197012A JP 8009277 A JP8009277 A JP 8009277A JP 927796 A JP927796 A JP 927796A JP H09197012 A JPH09197012 A JP H09197012A
Authority
JP
Japan
Prior art keywords
ram
signal
circuit
test
output
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
JP8009277A
Other languages
Japanese (ja)
Inventor
Atsushi Kuwazawa
淳 桑沢
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.)
Seiko Epson Corp
Original Assignee
Seiko Epson 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 Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to JP8009277A priority Critical patent/JPH09197012A/en
Publication of JPH09197012A publication Critical patent/JPH09197012A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PROBLEM TO BE SOLVED: To improve the degree of freedom of designing product by automatically generating a RAM test pattern and expected value and comparing the results of the value and RAM output, and combining the holding signal with a user logic circuit in the case of generating discordance. SOLUTION: The clock signal 102 of a clock generator 100 is input to a circuit 100, and a RAM test address data signal 115 output from the circuit 110 and address data signal 205 from a user logic circuit 200 are input to a selector 300, and both the signals 115 and 205 are selected by the selector 300. At the time of the RAM test state, the signal 115 and RAM testing read/write control and chip select signal 116 are selected. A comparator 410 compares an expected value 112 with a RAM output 321 when enabling state is obtained by a comparison enable signal 113, the comparison result 411 is input to a discordance result holding circuit 420, and when discordance result is output, the discordance generating state is held, and a discordance result hold signal 421 is input to the circuit 200.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明はランダムアクセスメ
モリーのテスト回路に関し、特に半導体集積回路に内蔵
されたRAMのテスト回路に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a random access memory test circuit, and more particularly to a RAM test circuit incorporated in a semiconductor integrated circuit.

【0002】[0002]

【従来の技術】図5に従来の技術によるRAMテスト回
路例を示す。RAM制御の為にチップ外部より直接入力
される、アドレス・データ信号115とリード/ライト
・チップセレクト信号116と、ユーザー論理回路20
0からRAM動作を行う為の信号である、アドレス・デ
ータ信号205とリード/ライト・チップセレクト信号
206がセレクタ300に接続されている。そしてこれ
ら信号群115、116、205、206はRAMテス
ト状態設定信号119により選択され、アドレス・デー
タ信号305とリード/ライト・チップセレクト信号3
06となり、RAM320に接続される。そして、RA
M出力321はユーザー論理回路200とセレクタ23
0に接続される。このセレクタ230にはユーザー論理
回路200からの外部信号201も入力されている。セ
レクタ230の出力231より前述の出力信号321も
しくは外部出力信号201がRAMテスト状態設定信号
119により切り替えられてチップ外部に出力される。
2. Description of the Related Art FIG. 5 shows an example of a conventional RAM test circuit. An address data signal 115, a read / write chip select signal 116, and a user logic circuit 20 which are directly input from the outside of the chip for RAM control.
An address data signal 205 and a read / write chip select signal 206, which are signals for performing a RAM operation from 0, are connected to the selector 300. These signal groups 115, 116, 205 and 206 are selected by the RAM test state setting signal 119, and the address / data signal 305 and the read / write chip select signal 3 are selected.
06, which is connected to the RAM 320. And RA
The M output 321 is the user logic circuit 200 and the selector 23.
Connected to 0. The external signal 201 from the user logic circuit 200 is also input to the selector 230. The output signal 321 or the external output signal 201 described above is switched from the output 231 of the selector 230 by the RAM test state setting signal 119 and is output to the outside of the chip.

【0003】RAM単体テストを行う場合には、RAM
テスト状態設定信号119によりテスト状態の設定を行
い、LSIテスターによりRAMテスト用パターンの自
動生成を行わせ、アドレス・データ信号115とリード
/ライト信号116の信号を出力する。RAMテストの
為のテストパターンには、全てのアドレスの全てのビッ
トに対し”1”および”0”をライトするパターン
や、”1”と”0”を交互に組み合わせたデータをライ
トするパターンや、アドレスと同じ値をデータにライト
するパターンなどがあり、これらのテストパターンの内
容に応じライトとリードを交互に繰り返したり、全ての
アドレスにライト動作を行った後、リード動作を繰り返
すなどRAM動作方法も様々である。これらのアドレ
ス、データ、リード/ライト信号によりRAM320が
動作し、RAM320の出力321はセレクタ230を
経由してセレクタ出力231となる。この出力231を
テスタが取り込み期待値との照合を行いRAM320の
良否の判断を行う。
When performing a RAM unit test, the RAM
The test status is set by the test status setting signal 119, the RAM test pattern is automatically generated by the LSI tester, and the address / data signal 115 and the read / write signal 116 are output. The test pattern for the RAM test includes a pattern for writing "1" and "0" for all bits of all addresses, a pattern for writing data in which "1" and "0" are alternately combined. , There is a pattern to write the same value as the address to the data, etc. RAM operation such as repeating the write and read alternately according to the contents of these test patterns, or repeating the read operation after performing the write operation to all addresses. There are various methods. The RAM 320 operates by these address, data, and read / write signals, and the output 321 of the RAM 320 becomes the selector output 231 via the selector 230. The output 231 is taken in by the tester and collated with the expected value to judge the quality of the RAM 320.

【0004】LSIテスターに搭載されるRAMテスト
パターン発生機能はオプションとして用意されており、
全てのLSIテスターにこの機能を持たせることはLS
Iメーカーにとって大きな負担となる問題を有してい
た。また、現状は何台かのLSIテスターにこの機能を
持たせ選別試験を行っており、選別数量の大幅な拡大が
困難な状況にあるという問題も有していた。
The RAM test pattern generating function mounted on the LSI tester is prepared as an option.
It is LS that all LSI testers have this function.
There was a problem that became a heavy burden for the I maker. In addition, at present, some LSI testers are provided with this function for a screening test, and there is a problem that it is difficult to significantly increase the screening quantity.

【0005】このような問題点を解決する為にRAMテ
ストパターンを生成する機能とRAM出力結果と期待値
との比較を行う機能をLSIチップ内部に取り込む対策
が考案された。
In order to solve such a problem, a measure has been devised to incorporate a function for generating a RAM test pattern and a function for comparing a RAM output result with an expected value into an LSI chip.

【0006】図6に回路例を示し動作を説明する。今、
RAMテスト状態設定信号119によりRAMテスト状
態となっているものとし説明を行う。よって、セレクタ
300ではアドレス・データ信号115およびリード/
ライト信号116が選択され、セレクタ230では比較
結果411が選択されている。クロック信号102およ
びリセット信号111がテスト信号生成回路110に接
続される。リセット信号111によりテスト信号生成回
路110の初期化が行われる。クロック信号102によ
り、RAMをテストする為のテストパターンとアドレス
の自動生成が行われ、アドレス・データ信号115が出
力される。同時にRAMのリード/ライト動作を制御す
る信号も自動生成され、リード/ライト信号116を出
力する。テスト信号発生回路が生成するRAMテストパ
ターン内容は、図5の従来例で前述したと同じく、様々
なテストパターンが生成される。またリード状態の時に
はRAM320より出力されるであろう期待値112も
出力され、比較回路410に入力される。RAM出力3
21はユーザー論理回路200と比較回路410に入力
される。そして比較回路410は、期待値112とRA
M出力321との比較を行い、比較結果411を出力す
る。その比較結果411はセレクタ230を経由して外
部出力信号231となる。よってLSIテスタよりリセ
ット信号111とクロック信号102およびRAMテス
ト状態設定信号119を入力し外部出力信号231を観
測する事でRAMの動作テストを行う事が出来る。よっ
てテスターの機能にとらわれる事なくRAMの選別試験
を行うことが可能となった。
The operation will be described with reference to a circuit example shown in FIG. now,
The description will be given assuming that the RAM test state is set by the RAM test state setting signal 119. Therefore, in the selector 300, the address / data signal 115 and read / read
The write signal 116 is selected, and the selector 230 selects the comparison result 411. The clock signal 102 and the reset signal 111 are connected to the test signal generation circuit 110. The reset signal 111 initializes the test signal generation circuit 110. The clock signal 102 automatically generates a test pattern and an address for testing the RAM, and outputs the address / data signal 115. At the same time, a signal for controlling the read / write operation of the RAM is automatically generated and the read / write signal 116 is output. As for the RAM test pattern contents generated by the test signal generating circuit, various test patterns are generated as in the conventional example shown in FIG. Further, the expected value 112 which will be output from the RAM 320 in the read state is also output and input to the comparison circuit 410. RAM output 3
21 is input to the user logic circuit 200 and the comparison circuit 410. The comparison circuit 410 then calculates the expected value 112 and RA.
The M output 321 is compared and the comparison result 411 is output. The comparison result 411 becomes the external output signal 231 via the selector 230. Therefore, the RAM operation test can be performed by inputting the reset signal 111, the clock signal 102, and the RAM test state setting signal 119 from the LSI tester and observing the external output signal 231. Therefore, it became possible to perform a RAM selection test without being restricted by the function of the tester.

【0007】[0007]

【発明が解決しようとする課題】しかし図5および図6
の従来技術では、RAMテスト状態設定の為に外部入力
端子によるテスト専用入力端子が必要となるため、製品
仕様によってはテストピンを用意できずRAM単体テス
トが出来ないという問題を有していた。
However, FIG. 5 and FIG.
In the prior art, since a test-dedicated input terminal using an external input terminal is required for setting the RAM test state, there is a problem that a test pin cannot be prepared and a RAM unit test cannot be performed depending on product specifications.

【0008】そこで、本発明はこの様な問題点を解決す
るものでその目的とするところは、テスト専用入力端子
を設けることなく容易にRAMの動作テストを行い、L
SIの動作品質の向上と自由度の高い製品設計を実現す
ることにある。
Therefore, the present invention solves such a problem, and an object of the present invention is to easily perform a RAM operation test without providing a test-dedicated input terminal.
It is to improve the operation quality of SI and to realize product design with a high degree of freedom.

【0009】[0009]

【課題を解決するための手段】[Means for Solving the Problems]

(手段1)ランダムアクセス可能なメモリー(以下RA
Mと記述する)とユーザー論理回路の組み合わせにより
所定の機能を実現する半導体集積回路のRAMテスト回
路として、外部より入力されるクロック信号によりRA
Mテスト用データおよびアドレスおよびアクセス制御信
号を生成するためのRAMテスト信号生成装置とRAM
出力と期待値との比較を行う比較回路から成るRAMテ
スト回路において、所定の遅延を有する反転論理素子を
具備し、前記反転論理素子の出力が同反転論理素子の入
力端子と前記RAMテスト信号生成装置のクロック信号
入力端子に接続される構成としたことを特徴とする。
(Means 1) Randomly accessible memory (hereinafter RA
As a RAM test circuit of a semiconductor integrated circuit that realizes a predetermined function by a combination of M) and a user logic circuit, RA is generated by a clock signal input from the outside.
RAM test signal generator and RAM for generating M test data, address and access control signal
A RAM test circuit comprising a comparison circuit for comparing an output with an expected value, comprising an inverting logic element having a predetermined delay, and an output of the inverting logic element and an input terminal of the inverting logic element and the RAM test signal generation. It is characterized in that it is connected to a clock signal input terminal of the device.

【0010】(手段2)手段1記載のRAMテスト信号
生成装置よりRAMテスト状態判別信号を出力し、手段
1記載の反転論理素子に接続する回路構成を具備したこ
とを特徴とする。
(Means 2) It is characterized in that it is provided with a circuit configuration for outputting a RAM test state discrimination signal from the RAM test signal generator described in means 1 and connecting it to the inverting logic element described in means 1.

【0011】(手段3)手段1記載の比較回路出力を保
持する機能を備えた不一致結果保持回路を有し、前記不
一致結果保持回路出力を手段1記載のユーザー論理回路
に接続する構成とした事を特徴とする。
(Means 3) A non-match result holding circuit having a function of holding the output of the comparison circuit described in the means 1 is provided, and the output of the non-match result holding circuit is connected to the user logic circuit described in the means 1. Is characterized by.

【0012】(手段4)手段1記載のRAMテスト用デ
ータおよびアドレスおよびアクセス制御信号と、所定の
機能を実現する為に論理回路から出力されるRAM動作
用データおよびアドレスおよびアクセス制御信号とを、
手段2記載のRAMテスト状態判別信号により選択し、
RAMに接続する回路を具備したことを特徴とする。
(Means 4) The RAM test data and the address and access control signal described in the means 1, and the RAM operation data and the address and access control signal output from the logic circuit to realize a predetermined function,
Select by the RAM test state discrimination signal described in means 2,
It is characterized by including a circuit connected to the RAM.

【0013】[0013]

【作用】手段1、手段3、手段4では、RAMテストパ
ターンと期待値の自動生成や期待値とRAM出力との比
較を行い、不一致が発生した場合は不一致発生信号を保
持しその保持信号をユーザー論理回路と組み合わせるこ
とにより、テスト専用入力ピンを設ける事無くRAM単
体のテストを行う事が可能となる。
The means 1, means 3, and means 4 automatically generate the RAM test pattern and the expected value and compare the expected value with the RAM output. If a mismatch occurs, the mismatch occurrence signal is held and the held signal is used. By combining with the user logic circuit, it becomes possible to test the RAM alone without providing a test-dedicated input pin.

【0014】手段2では、RAMテスト信号生成装置よ
り出力されるRAMテスト状態判別信号によりRAMテ
スト終了時に自己発振を停止させることにより、通常使
用状態中に不要に発生する消費電流を抑えることが可能
となる。
In the means 2, the self-oscillation is stopped at the end of the RAM test by the RAM test state discrimination signal output from the RAM test signal generating device, so that it is possible to suppress unnecessary current consumption during the normal use state. Becomes

【0015】[0015]

【発明の実施の形態】図1〜図4に本発明によるRAM
テスト回路の実施例を示す。図1は本発明によるRAM
テスト回路のブロック図。図2は図1の動作説明波形
図。図3はクロック発生回路例と動作波形図。図4は不
一致結果保持回路例および不一致結果保持信号とユーザ
ー論理回路との組み合わせ回路例および動作波形図であ
る。
1 to 4 show a RAM according to the present invention.
An example of a test circuit is shown. FIG. 1 shows a RAM according to the present invention.
Block diagram of the test circuit. FIG. 2 is a waveform diagram for explaining the operation of FIG. FIG. 3 is an example of a clock generation circuit and an operation waveform diagram. FIG. 4 is an example of a mismatch result holding circuit, an example of a combination circuit of a mismatch result holding signal and a user logic circuit, and an operation waveform diagram.

【0016】図1において、リセット信号111はテス
ト信号生成回路110および不一致結果保持回路420
に入力され回路の初期化とRAMテストの開始を制御す
る。このリセット信号111の入力源としては、ユーザ
ー論理回路の初期化用システムリセット信号や電源投入
時にリセット信号を発生するパワーオンリセット回路出
力などが用いられる。クロック発生回路100より出力
されるクロック信号102はテスト信号生成回路110
に入力される。このクロック102によりテスト信号生
成回路110が動作しRAMテスト動作に必要なアドレ
スやデータの生成とリード・ライトなどRAM制御に必
要な信号の生成を行う。またRAM動作確認に必要な期
待値112の生成と期待値112とRAM出力321の
比較許可を行う比較イネーブル信号113の生成を行
う。
In FIG. 1, the reset signal 111 is the test signal generation circuit 110 and the mismatch result holding circuit 420.
Control the initialization of the circuit and the start of the RAM test. As an input source of the reset signal 111, a system reset signal for initializing the user logic circuit, a power-on reset circuit output for generating a reset signal when the power is turned on, or the like is used. The clock signal 102 output from the clock generation circuit 100 is the test signal generation circuit 110.
Is input to The clock 102 causes the test signal generation circuit 110 to operate to generate addresses and data necessary for the RAM test operation and signals necessary for RAM control such as read / write. Further, the expected value 112 necessary for confirming the RAM operation and the comparison enable signal 113 for permitting the comparison between the expected value 112 and the RAM output 321 are generated.

【0017】テスト信号生成回路110より出力される
RAMテスト用アドレス・データ信号115と、通常動
作状態の時ユーザー論理回路200がRAM320をア
クセスする為の信号であるアドレス・データ信号205
とがセレクタ300に入力され、両者の信号の選択はテ
スト信号生成回路110より出力されるRAMテスト状
態判別信号114により行われる。同様にRAMテスト
用リード/ライト制御およびチップセレクト信号116
と通常動作状態の時ユーザー論理回路200がRAM3
20をアクセスする為の信号であるリード/ライト信号
206もセレクタ300に入力され両者の信号の選択は
RAMテスト状態判別信号114により行われる。
A RAM test address / data signal 115 output from the test signal generation circuit 110 and an address / data signal 205 which is a signal for the user logic circuit 200 to access the RAM 320 in the normal operation state.
Are input to the selector 300, and selection of both signals is performed by the RAM test state determination signal 114 output from the test signal generation circuit 110. Similarly, RAM test read / write control and chip select signal 116
In the normal operation state, the user logic circuit 200 is RAM3.
A read / write signal 206 which is a signal for accessing 20 is also input to the selector 300, and both signals are selected by the RAM test state determination signal 114.

【0018】RAMテスト状態の時は、RAMテスト用
アドレス・データ信号115と、RAMテスト用リード
/ライト制御およびチップセレクト信号116が選択さ
れ、アドレス・データ信号305、リード/ライト制御
およびチップセレクト信号306となりRAM320を
動作させる。RAMテストが終了すると、RAMテスト
状態判別信号114の出力が変化しセレクタ300はユ
ーザー論理回路200からの信号を選択する。つまりR
AMテスト終了後自動的にユーザー論理回路200がR
AM320をアクセスする通常動作状態に設定される。
比較回路410は比較イネーブル信号113によりイネ
ーブル状態と成ったとき、期待値112とRAM出力3
21との比較を行い比較結果411を出力する。そして
この比較結果411は不一致結果保持回路420に入力
され不一致結果が出力された時、不一致発生状態の保持
を行う。つまり、RAMテストフェイル結果の保持を行
う。そして不一致結果保持信号421がユーザー論理回
路200に入力しユーザー論理回路の一部を構成する。
In the RAM test state, the RAM test address / data signal 115 and the RAM test read / write control / chip select signal 116 are selected, and the address / data signal 305, read / write control and chip select signal are selected. It becomes 306 and operates the RAM 320. When the RAM test ends, the output of the RAM test state determination signal 114 changes and the selector 300 selects the signal from the user logic circuit 200. That is R
After the AM test is completed, the user logic circuit 200 is automatically turned to R
It is set to the normal operation state for accessing the AM 320.
When the comparison circuit 410 is enabled by the comparison enable signal 113, the expected value 112 and the RAM output 3
21 and outputs the comparison result 411. The comparison result 411 is input to the mismatch result holding circuit 420, and when the mismatch result is output, the mismatch occurrence state is held. That is, the RAM test fail result is held. Then, the mismatch result holding signal 421 is input to the user logic circuit 200 and forms a part of the user logic circuit.

【0019】次に図2の動作説明波形図を用いRAMテ
スト動作説明を行う。本動作例ではRAMに、特定のデ
ータを書き込み直ちに読み出して期待値との比較を行う
テストモードでの動作について説明する。また今回使用
するRAMの動作はリード・ライト信号が”1”の時ラ
イト、”0”の時リード動作となる前提で説明を行う。
Next, the RAM test operation will be described with reference to the operation explanation waveform chart of FIG. In this operation example, an operation in a test mode in which specific data is written to the RAM and immediately read to compare with an expected value will be described. The operation of the RAM used this time will be described on the assumption that the read / write signal is a write operation when it is "1" and a read operation when it is "0".

【0020】まず動作ステップT0の期間にリセット信
号111に”0”を入力した後”0”から”1”に変化
させ、テスト信号生成回路110の初期化を行い、RA
Mテストを開始する。同時にRAMテスト状態判別信号
が”1”となり、RAMテスト状態である事が示され
る。この信号はRAMテスト終了後に”1”から”0”
へ変化する。クロック102を出力するクロック発生回
路100の回路例を図3に示す。NAND素子161に
は遅延素子160の出力信号とRAMテスト状態表示信
号114が入力される。そして、RAMテスト状態表示
信号114が”1”の期間は、遅延素子160の出力を
受けその信号を反転した信号を出力する。遅延素子16
0の遅延値がDである場合、発振クロック102の周期
はDの2倍となる。この遅延値がクロック周波数を決定
する為、テストするRAMの動作速度に応じ最適な遅延
値を設定することができる。そして、RAMテスト状態
表示信号114がRAMテスト終了を意味する”0”に
変化すると、NAND素子161の出力は”1”に固定
され発振が停止するため、無駄な発振電流の発生を防ぐ
ことができる。
First, during the operation step T0, "0" is input to the reset signal 111 and then it is changed from "0" to "1" to initialize the test signal generating circuit 110 and RA
Start M test. At the same time, the RAM test state determination signal becomes "1", indicating that the RAM test state is set. This signal is "1" to "0" after RAM test.
Changes to A circuit example of the clock generation circuit 100 that outputs the clock 102 is shown in FIG. The output signal of the delay element 160 and the RAM test status display signal 114 are input to the NAND element 161. Then, while the RAM test status display signal 114 is "1", the output of the delay element 160 is received and the inverted signal is output. Delay element 16
When the delay value of 0 is D, the cycle of the oscillation clock 102 is twice D. Since this delay value determines the clock frequency, the optimum delay value can be set according to the operation speed of the RAM to be tested. Then, when the RAM test status display signal 114 changes to "0" which means the end of the RAM test, the output of the NAND element 161 is fixed to "1" and the oscillation is stopped, so that generation of useless oscillation current can be prevented. it can.

【0021】ステップT1でクロック102が立ち上が
りアドレス115・305には”ad1”という値が設
定され、ライトデータ115・305には”data
1”という値が設定される。ステップT2でクロック1
02の立ち下がりに同期してリード/ライト信号116
・306よりハイパルスが出力され、RAM320に”
data1”が書き込まれる。ステップT3でクロック
102が立ち上がり、それに同期してリード/ライト信
号が”0”となり”ad1”アドレスに書き込まれたデ
ータが読み出される。ステップT4でクロック102が
立ち下がり、比較イネーブル信号113よりハイパルス
が出力し、期待値112とRAM出力321との比較が
比較回路410により行われる。ステップ4では、RA
M出力321と期待値112の値が等しいため、比較結
果411は”1”となり、不一致結果保持回路420は
動作しない。
At step T1, the clock 102 rises and the value "ad1" is set in the addresses 115 and 305, and "data" is set in the write data 115 and 305.
The value "1" is set. The clock 1 is set at step T2.
The read / write signal 116 is synchronized with the falling edge of 02.
・ High pulse is output from 306, and it is sent to RAM320.
"data1" is written. At step T3, the clock 102 rises, the read / write signal becomes "0" in synchronization with it, and the data written at the "ad1" address is read. At step T4, the clock 102 falls and comparison is performed. A high pulse is output from the enable signal 113, and the expected value 112 and the RAM output 321 are compared by the comparison circuit 410. In step 4, RA
Since the M output 321 and the expected value 112 are equal, the comparison result 411 becomes “1”, and the mismatch result holding circuit 420 does not operate.

【0022】図4に不一致結果保持回路420と不一致
結果保持信号421とユーザー論理回路200との組み
合わせ回路例を示す。不一致結果保持回路420はNA
ND素子450を2つ用いRSラッチを構成する。そし
てリセット入力111によりラッチデータの初期化が行
われ”1”が保持される。保持データ”1”は不一致の
ないつまりRAMテストがパスした状態を意味してい
る。比較結果411がRSラッチのもう一つの入力信号
となっており、この比較結果411が不一致を意味す
る”0”となった時、不一致結果保持回路420は不一
致発生を意味する”0”を保持する。この保持データは
リセット信号111に”0”が入力されない限り変化す
る事はない。そしてこの不一致結果保持信号421がユ
ーザー論理回路200を構成する信号のなかの一つの信
号252とAND素子250によりANDされ、AND
出力253となる。不一致結果保持信号が”1”の間、
つまりRAMテストがパスしている期間はユーザー信号
252がそのままAND出力253となるため、ユーザ
ー回路は正常動作する。しかし、一旦RAMテストで不
一致つまりフェイルが発生すると、ユーザー信号252
の変化に関わりなく、AND出力253は”0”に固定
される。つまり図4に点線で示す様に出力されるべきパ
ルスが消えてしまう。これにより、ユーザー回路が正常
動作できない状態となる。
FIG. 4 shows an example of a combination circuit of the mismatch result holding circuit 420, the mismatch result holding signal 421, and the user logic circuit 200. The mismatch result holding circuit 420 is NA
An RS latch is configured by using two ND elements 450. Then, the reset input 111 initializes the latch data and holds "1". The held data “1” means that there is no mismatch, that is, the RAM test has passed. The comparison result 411 is another input signal of the RS latch, and when the comparison result 411 becomes "0" which means a mismatch, the mismatch result holding circuit 420 holds "0" which means a mismatch occurrence. To do. This held data does not change unless "0" is input to the reset signal 111. The mismatch result holding signal 421 is ANDed with one signal 252 of the signals forming the user logic circuit 200 by the AND element 250, and the AND
The output is 253. While the mismatch result hold signal is "1",
That is, while the RAM test passes, the user signal 252 remains the AND output 253 and the user circuit operates normally. However, once the RAM test does not match or fails, the user signal 252
The AND output 253 is fixed to "0" regardless of the change of. That is, the pulse to be output disappears as shown by the dotted line in FIG. As a result, the user circuit cannot operate normally.

【0023】T1からT4の4ステップで1つのアドレ
スに対するテストが完了する。今回のテスト方法は、1
つのアドレスに対し書き込み、読み出しを連続して行っ
ているため、書き込みデータと期待値データとを同じタ
イミングで設定させている。T5のステップでは、T1
の時の動作と同じくクロック102の立ち上がりに同期
してアドレス115・305のデータに”ad2”が設
定され、ライトデータ115・305も”data2”
の値が設定される。T5からT8のステップでの動作
は、T1からT4のステップで説明したと同じである。
T9からT12の動作も同様であるがステップT12で
期待値112とRAM出力321との間で不一致が発生
したとする。不一致状態であるため比較結果411は比
較イネーブル信号113が”1”の期間、”0”を出力
する。そしてこの”0”信号を不一致結果保持回路42
0が受けて、不一致保持結果421が”1”から”0”
に変化する。これにより、ユーザー論理回路200が正
常動作できない状態を強制的に作り出すことができ、通
常動作状態と異なる結果が出力される。この状態でLS
Iテスターによるファンクション試験を行った場合、フ
ェイルするため不良品と判断される。つまり通常のファ
ンクション試験を行うだけで、RAMの不良を判断し選
別することができる。
The test for one address is completed in four steps T1 to T4. The test method this time is 1
Since writing and reading are continuously performed with respect to one address, write data and expected value data are set at the same timing. In the step of T5, T1
Similarly to the operation at the time of, the data of the addresses 115 and 305 are set to "ad2" in synchronization with the rising edge of the clock 102, and the write data 115 and 305 are also "data2".
Is set. The operation in steps T5 to T8 is the same as that described in steps T1 to T4.
The operations from T9 to T12 are similar, but it is assumed that a mismatch occurs between the expected value 112 and the RAM output 321 in step T12. The comparison result 411 outputs "0" while the comparison enable signal 113 is "1" because of the non-coincidence. Then, this "0" signal is applied to the mismatch result holding circuit 42.
0 is received, and the mismatch holding result 421 is changed from "1" to "0".
Changes to As a result, a state in which the user logic circuit 200 cannot operate normally can be forcibly created, and a result different from the normal operation state is output. LS in this state
When the function test by the I tester is performed, it fails and is judged as a defective product. That is, it is possible to judge and select a defective RAM by only performing a normal function test.

【0024】[0024]

【発明の効果】手段1、手段3、手段4記載の発明によ
れば、RAMテストパターンと期待値の自動生成および
期待値とRAM出力との結果比較を行い、不一致が発生
した場合は不一致発生信号を保持しその保持信号をユー
ザー論理回路と組み合わせる構成とした事により、テス
ト専用入力ピンを設ける事無くRAM単体のテストを行
う事が可能となり、自由度の高い製品設計を実現するこ
とができる。
According to the inventions described in Means 1, Means 3 and 4, the RAM test pattern and the expected value are automatically generated and the expected value and the RAM output are compared with each other. If a mismatch occurs, a mismatch occurs. By holding the signal and combining the held signal with the user logic circuit, it is possible to test the RAM alone without providing a test-dedicated input pin, and it is possible to realize a highly flexible product design. .

【0025】手段2の発明によれば、RAMテスト信号
生成装置より出力されるRAMテスト状態判別信号によ
りRAMテスト終了時に自己発振を停止させる構成とし
たことにより、通常動作状態中に不要に発生する消費電
流の抑制と発振ノイズを抑えることが可能となり、チッ
プの低消費電流化と回路の安定動作を実現することがで
きる。
According to the second aspect of the invention, the self-oscillation is stopped at the end of the RAM test by the RAM test state discrimination signal output from the RAM test signal generating device, so that it is generated unnecessarily during the normal operation state. It is possible to suppress the consumption current and the oscillation noise, and it is possible to realize the low consumption current of the chip and the stable operation of the circuit.

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

【図1】本発明の実施例を示す回路図。FIG. 1 is a circuit diagram showing an embodiment of the present invention.

【図2】本発明の実施例を示す動作説明波形図。FIG. 2 is a waveform chart for explaining the operation of the embodiment of the present invention.

【図3】本発明の実施例を示すクロック発生回路図およ
び動作波形図。
FIG. 3 is a clock generation circuit diagram and an operation waveform diagram showing an embodiment of the present invention.

【図4】本発明の実施例を示す不一致結果保持回路図お
よび動作波形図。
FIG. 4 is a mismatch result holding circuit diagram and an operation waveform diagram showing an embodiment of the present invention.

【図5】従来技術を示す回路図。FIG. 5 is a circuit diagram showing a conventional technique.

【図6】従来技術を示す回路図。FIG. 6 is a circuit diagram showing a conventional technique.

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

100・・・・・クロック発生回路 102・・・・・クロック信号 111・・・・・リセット信号 110・・・・・テスト信号生成回路 114・・・・・RAMテスト状態表示信号 119・・・・・テスト状態設定信号 200・・・・・ユーザー論理回路 115,205,305・・・アドレス、データ信号 116,206,306・・・リード、ライト、チップ
セレクト信号 300,230・・・・・セレクタ 320・・・・・RAM 321・・・・・RAM出力 410・・・・・比較回路 411・・・・・比較結果 112・・・・・期待値 113・・・・・比較イネーブル信号 420・・・・・不一致結果保持回路 421・・・・・不一致結果保持信号 161,450・・・・・NAND素子 250・・・・・AND素子 160・・・・・遅延素子
100 ... Clock generation circuit 102 ... Clock signal 111 ... Reset signal 110 ... Test signal generation circuit 114 ... RAM test status display signal 119 ... ..Test state setting signal 200 ... User logic circuit 115,205,305 ... Address, data signal 116,206,306 ... Read, write, chip select signal 300,230 ... Selector 320 ... RAM 321 ... RAM output 410 ... Comparison circuit 411 ... Comparison result 112 ... Expected value 113 ... Comparison enable signal 420 ... mismatch result holding circuit 421 ... mismatch result holding signal 161, 450 ... NAND element 250 ... AND element 60 ..... delay element

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】ランダムアクセス可能なメモリー(以下R
AMと記述する)とユーザー論理回路の組み合わせによ
り所定の機能を実現する半導体集積回路のRAMテスト
回路として、外部より入力されるクロック信号によりR
AMテスト用データおよびアドレスおよびアクセス制御
信号を生成するためのRAMテスト信号生成装置とRA
M出力と期待値との比較を行う比較回路から成るRAM
テスト回路において、所定の遅延を有する反転論理素子
を具備し、前記反転論理素子の出力が同反転論理素子の
入力端子と前記RAMテスト信号生成装置のクロック信
号入力端子に接続される構成としたことを特徴とする半
導体装置。
1. Randomly accessible memory (hereinafter referred to as R
As a RAM test circuit of a semiconductor integrated circuit that realizes a predetermined function by a combination of (described as AM) and a user logic circuit, R is generated by a clock signal input from the outside.
RAM test signal generator for generating AM test data and address and access control signals, and RA
RAM composed of a comparison circuit for comparing M output with an expected value
The test circuit includes an inverting logic element having a predetermined delay, and an output of the inverting logic element is connected to an input terminal of the inverting logic element and a clock signal input terminal of the RAM test signal generator. A semiconductor device characterized by:
【請求項2】請求項1記載のRAMテスト信号生成装置
よりRAMテスト状態判別信号を出力し、請求項1記載
の反転論理素子に接続する回路構成を具備したことを特
徴とする半導体装置。
2. A semiconductor device comprising a circuit configuration for outputting a RAM test state determination signal from the RAM test signal generation device according to claim 1 and connecting it to the inverting logic element according to claim 1.
【請求項3】請求項1記載の比較回路出力を保持する機
能を備えた不一致結果保持回路を有し、前記不一致結果
保持回路出力を請求項1記載のユーザー論理回路に接続
する構成とした事を特徴とする半導体装置。
3. A structure comprising a mismatch result holding circuit having a function of holding the output of the comparison circuit according to claim 1, and connecting the output of the mismatch result holding circuit to the user logic circuit according to claim 1. A semiconductor device characterized by:
【請求項4】請求項1記載のRAMテスト用データおよ
びアドレスおよびアクセス制御信号と、所定の機能を実
現する為に論理回路から出力されるRAM動作用データ
およびアドレスおよびアクセス制御信号とを、請求項2
記載のRAMテスト状態判別信号により選択し、RAM
に接続する回路を具備したことを特徴とする半導体装
置。
4. The RAM test data and address and access control signal according to claim 1, and the RAM operation data and address and access control signal output from the logic circuit to realize a predetermined function. Item 2
RAM selected by the RAM test status determination signal
A semiconductor device comprising a circuit connected to the.
JP8009277A 1996-01-23 1996-01-23 Semiconductor device Pending JPH09197012A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP8009277A JPH09197012A (en) 1996-01-23 1996-01-23 Semiconductor device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8009277A JPH09197012A (en) 1996-01-23 1996-01-23 Semiconductor device

Publications (1)

Publication Number Publication Date
JPH09197012A true JPH09197012A (en) 1997-07-31

Family

ID=11715981

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8009277A Pending JPH09197012A (en) 1996-01-23 1996-01-23 Semiconductor device

Country Status (1)

Country Link
JP (1) JPH09197012A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001014900A (en) * 1999-06-29 2001-01-19 Fujitsu Ltd Semiconductor device and recording medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001014900A (en) * 1999-06-29 2001-01-19 Fujitsu Ltd Semiconductor device and recording medium

Similar Documents

Publication Publication Date Title
US7721174B2 (en) Full-speed BIST controller for testing embedded synchronous memories
US6301190B1 (en) Semiconductor memory device with a rapid packet data input, capable of operation check with low speed tester
KR100438343B1 (en) Semiconductor memory device
US7574638B2 (en) Semiconductor device tested using minimum pins and methods of testing the same
JP3216449B2 (en) Self-diagnosis device for semiconductor memory failure
US7243278B2 (en) Integrated circuit tester with software-scaleable channels
JPH0411960B2 (en)
JP2002366447A (en) Memory controller emulator
JP3267981B2 (en) Memory test apparatus and method for switching the test apparatus between RAM test mode and ROM test mode
TW519569B (en) Test method and apparatus for semiconductor device
JPH09128998A (en) Test circuit
KR100486310B1 (en) Aparatus for testing memory and method of testing memory
JP2010169480A (en) Semiconductor device test apparatus and semiconductor device
US6909301B2 (en) Oscillation based access time measurement
JPH11329000A (en) Test method of built-in memory, and bus interface unit and command decoder used therefor
JP3650757B2 (en) Test circuit for testing synchronous memory circuit
JP2010182359A (en) Semiconductor memory device and method of testing the same
JPH09197012A (en) Semiconductor device
JP3339479B2 (en) Clock control circuit and method
JP2002196046A (en) Semiconductor integrated circuit and testing method for it
JP2000090693A (en) Memory test device
US20090303806A1 (en) Synchronous semiconductor memory device
KR20080105512A (en) Test system and test method for semiconductor device
JP2001319494A (en) Built-in self-test device for memory circuit
US6734743B2 (en) Oscillation based cycle time measurement