JPH033200A - Semiconductor memory - Google Patents

Semiconductor memory

Info

Publication number
JPH033200A
JPH033200A JP1137097A JP13709789A JPH033200A JP H033200 A JPH033200 A JP H033200A JP 1137097 A JP1137097 A JP 1137097A JP 13709789 A JP13709789 A JP 13709789A JP H033200 A JPH033200 A JP H033200A
Authority
JP
Japan
Prior art keywords
test
circuit
control signal
read
address
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP1137097A
Other languages
Japanese (ja)
Inventor
Fumio Shioda
塩田 文雄
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.)
NEC Corp
Original Assignee
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP1137097A priority Critical patent/JPH033200A/en
Publication of JPH033200A publication Critical patent/JPH033200A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To reduce the number of external test control terminals and, simultaneously, to facilitate a test work by providing a test pattern generating circuit, a read/write control signal generating circuit, a counter, a comparing circuit and a clock generating circuit inside. CONSTITUTION:When a test mode is selected by a control to an external test control terminal 5, selectors 2-4 select an input terminal B, and a clock signal is outputted from a clock generating circuit 17. Thus, a counter 15 successively updates an address, and the address if given as the address of a storage circuit 1 through the selector 4. Simultaneously, a test pattern is successively outputted from a test pattern generating circuit 13, and it is given as input data through the selector 2. A read/write control singnal is outputted from a signal generating circuit 14, and it is given through the selector 3 to the storage circuit 1. As a result, the storage circuit 1 aternately executes the write and read of the test pattern to be successively generated, the write data and read data are compared by a comparing circuit 16, and the fact that the correct write is executed is confirmed.

Description

【発明の詳細な説明】 [産業上の利用分野コ 本発明はテストモードを備えた半導体記憶装置に関する
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a semiconductor memory device with a test mode.

[従来の技術] 従来からテストモードを備えた半導体記憶装置として第
2図に示す装置が知られている。
[Prior Art] A device shown in FIG. 2 has been known as a semiconductor memory device equipped with a test mode.

この装置は、記憶回路1のデータ入力端子11読出書込
制御信号入力端子RW及びアドレス入力端子ADRの各
前段に夫々セレクタ2,3.4を接続して構成されてい
る。これらセレクタ213゜4は、外部テスト制御端子
5に与えられるテスト制御信号に基づいて、通常モード
時では第1の入力端子Aを、またテストモード時では第
2の入力端子Bを夫々選択し、出力端子Yから出力する
This device is constructed by connecting selectors 2, 3.4 to the respective front stages of the data input terminal 11 of the memory circuit 1, the read/write control signal input terminal RW, and the address input terminal ADR. These selectors 213.4 select the first input terminal A in the normal mode and the second input terminal B in the test mode, respectively, based on the test control signal applied to the external test control terminal 5. Output from output terminal Y.

これにより、通常モード時では、データ入力端子θから
の入力データ、読出書込制御信号入力端子7からの読出
書込制御信号及びアドレス入力端子8からのアドレスが
夫々選択されて記憶回路1の各入力端子I、RW、AD
Rに与えられ、テストモード時では、外部テスト用デー
タ入力端子9からのテスト用データ、外部テスト用読出
書込制御信号入力端子10からのテスト用読出書込制御
信号及び外部テスト用アドレス入力端子11からのテス
ト用アドレスが夫々選択されて記憶回路1の各入力端子
I、RW、ADRに与えられるようになっている。
As a result, in the normal mode, the input data from the data input terminal θ, the read/write control signal from the read/write control signal input terminal 7, and the address from the address input terminal 8 are selected, respectively, and each of the memory circuits 1 Input terminal I, RW, AD
In the test mode, the test data from the external test data input terminal 9, the test read/write control signal from the external test read/write control signal input terminal 10, and the external test address input terminal Test addresses from 11 are selected and applied to input terminals I, RW, and ADR of the memory circuit 1, respectively.

この装置によれば、外部テスト制御端子5を制御してテ
ストモードにすると共に、入力端子9゜10.11に夫
々外部からテスト用のデータ、読出書込制御信号及びア
ドレスを与え、出力端子12からの読出データを外部に
て確認することにより、この半導体記憶装置の正常動作
を確認することができる。
According to this device, the external test control terminal 5 is controlled to be in the test mode, and test data, read/write control signals, and addresses are externally applied to the input terminals 9, 10, and 11, respectively, and the output terminal 12 By externally confirming the data read from the semiconductor memory device, it is possible to confirm the normal operation of the semiconductor memory device.

[発明が解決しようとする課題] しかしながら、上述した従来の半導体記憶装置において
は、テストモード時に外部からテスト用のデータ、アド
レス及び読出書込制御信号を入力しなければならないの
で、これらのデータの入力のための外部端子を余分に必
要とし、チップサイズが大型化するという問題点があっ
た。
[Problems to be Solved by the Invention] However, in the above-described conventional semiconductor memory device, test data, addresses, and read/write control signals must be input from the outside during the test mode. This has the problem of requiring an extra external terminal for input, which increases the chip size.

また、テストを行なう場合には、これらの外部端子にテ
スト用の回路を外付けしなければならないため、テスト
作業も煩雑であるという問題があった。
Furthermore, when performing a test, test circuits must be externally attached to these external terminals, so there is a problem in that the test work is also complicated.

本発明はかかる問題点に鑑みてなされたものであって、
外部端子数の削減を図ることができ、しかもテスト作業
を容易に行なうことができる半導体記憶装置を提供する
ことを目的とする。
The present invention has been made in view of such problems, and includes:
It is an object of the present invention to provide a semiconductor memory device that can reduce the number of external terminals and also allows easy testing.

[課題を解決するための手段] 本発明に係る半導体記憶装置は、クロック信号を出力す
るクロック発生回路と、このクロック発生回路から出力
されるクロック信号に従ってテストパターンを順次出力
するテストパターン発生回路と、外部テスト制御信号に
基づいて通常のデータと前記テストパターンのいずれか
一方を選択して出力する第1のセレクタと、前記クロッ
ク信号に従ってテスト用の読出書込制御信号を順次出力
する信号発生回路と、前記外部テスト制御信号に基づい
て通常の読出書込制御信号と前記テスト用の読出書込制
御信号のいずれか一方を選択して出力する第2のセレク
タと、前記クロック信号に従ってテスト用のアドレスを
順次出力するカウンタと、前記外部テスト制御信号に基
づいて通常のアドレスと前記テスト用のアドレスのいず
れか一方を選択して出力する第3のセレクタと、前記第
1乃至第3のセレクタの出力を夫々データ入力端子、読
出書込制御制御入力端子及びアドレス入力端子に入力し
てなる記憶回路と、この記憶回路の入出力データを比較
しその比較結果をテスト結果として出力する比較回路と
を備えたことを特徴とする。
[Means for Solving the Problems] A semiconductor memory device according to the present invention includes a clock generation circuit that outputs a clock signal, and a test pattern generation circuit that sequentially outputs test patterns according to the clock signal output from the clock generation circuit. , a first selector that selects and outputs either normal data or the test pattern based on an external test control signal, and a signal generation circuit that sequentially outputs test read/write control signals in accordance with the clock signal. a second selector that selects and outputs either the normal read/write control signal or the test read/write control signal based on the external test control signal; a counter that sequentially outputs addresses; a third selector that selects and outputs either the normal address or the test address based on the external test control signal; and the first to third selectors. A memory circuit whose output is input to a data input terminal, a read/write control control input terminal, and an address input terminal, respectively, and a comparison circuit which compares input and output data of this memory circuit and outputs the comparison result as a test result. It is characterized by having

〔作用コ 本発明によれば、外部テスト制御信号によって外部から
テストモードに切り替えられると、第1乃至第3のセレ
クタが、半導体装置の内部に設けられたテストパターン
発生回路からのテストパターン、信号発生回路からのテ
スト用読出書込制御信号及びカウンタからのテスト用ア
ドレスを夫々選択する。これにより、記憶回路にはテス
トパターンが順次書込まれ、順次読み出される。そして
記憶回路に書込まれる前のテストパターンと、記憶回路
に書込まれた後のテストパターンとが比較回路によって
比較され、その比較結果がテスト結果として外部に読み
出される。
[Function] According to the present invention, when the test mode is switched from the outside by an external test control signal, the first to third selectors select the test pattern and signal from the test pattern generation circuit provided inside the semiconductor device. A test read/write control signal from the generation circuit and a test address from the counter are respectively selected. As a result, test patterns are sequentially written into the memory circuit and sequentially read out. The test pattern before being written into the storage circuit and the test pattern after being written into the storage circuit are compared by a comparison circuit, and the comparison result is read out to the outside as a test result.

従って、本発明によれば、テスト用に外部から与える情
報は、装置をテストモードに切り替えるためのテスト制
御信号のみで足り、外部端子数を大幅に削減することが
できる。
Therefore, according to the present invention, the only information provided from the outside for testing is a test control signal for switching the device to the test mode, and the number of external terminals can be significantly reduced.

また、外部からテストのためのデータ、アドレス及び読
出書込制御信号を与える必要がないため、テスト作業を
極めて容易に行なうことができる。
Furthermore, since there is no need to externally supply data, addresses, and read/write control signals for testing, testing can be performed extremely easily.

[実施例] 以下、添付の図面を参照しながら本発明の実施例につい
て説明する。
[Embodiments] Hereinafter, embodiments of the present invention will be described with reference to the accompanying drawings.

第1図は本発明の実施例に係る半導体記憶装置の構成を
示すブロック図である。なお、第1図において第2図と
同一物には同一符号を付し重複する部分の説明は省略す
る。
FIG. 1 is a block diagram showing the configuration of a semiconductor memory device according to an embodiment of the present invention. Note that in FIG. 1, the same parts as in FIG. 2 are given the same reference numerals, and explanations of overlapping parts will be omitted.

この実施例においては、3つのセレクタ2,3゜4の第
2の入力端子Bの前段に新たにテストパターン発生回路
13、信号発生回路14及びカウンタ15を夫々設ける
と共に、記憶回路1への書込データと記憶回路1からの
読出データとを比較する比較回路16を設け、更にこれ
ら各回路にクロック信号を供給するクロック発生回路1
7を新たに設けている。外部テスト制御端子5から入力
されるテスト制御信号は、3つのセレクタ2,3゜4だ
けでな(上記クロック発生回路17にも供給されており
、このテスト制御信号がテストモードを指示している場
合には、クロック発生回路17が起動されてクロック信
号が出力されるようになっている。テストパターン発生
回路13、信号発生回路14及びカウンタ15は、上記
クロック信号に従ってテストパターン、テスト用の読出
書込制御信号及びテスト用のアドレスを夫々順次出力す
る。また、比較回路16は、記憶回路1に書込む前のデ
ータと記憶回路1に一旦書込まれた後に読み出されたデ
ータとを比較してその比較結果をテスト結果としてテス
ト結果出力端子18から出力する。
In this embodiment, a test pattern generation circuit 13, a signal generation circuit 14, and a counter 15 are newly provided in front of the second input terminal B of the three selectors 2 and 3. A clock generation circuit 1 is provided with a comparison circuit 16 that compares read data from the storage circuit 1 with data read from the storage circuit 1, and further supplies a clock signal to each of these circuits.
7 has been newly established. The test control signal inputted from the external test control terminal 5 is supplied not only to the three selectors 2 and 3. In this case, the clock generation circuit 17 is activated to output a clock signal.The test pattern generation circuit 13, the signal generation circuit 14, and the counter 15 generate test patterns and test readout according to the clock signal. A write control signal and a test address are sequentially output.The comparison circuit 16 also compares the data before being written to the memory circuit 1 and the data read after being written to the memory circuit 1. Then, the comparison result is output from the test result output terminal 18 as a test result.

次にこのように構成された本実施例に係る半導体記憶装
置の動作について説明する。
Next, the operation of the semiconductor memory device according to this embodiment configured as described above will be explained.

通常モードにおいては、セレクタ2〜4が第1の入力端
子Aを選択するので、記憶回路1のデータ入力端子11
読出書込制御端子RW及びアドレス入力端子ADHには
夫々データ入力端子6からの入力データ、読出書込制御
入力端子7からの読出書込制御信号及びアドレス入力端
子8からのアドレスが入力される。従って、この場合に
は、記憶回路1のアドレスで指定された記憶場所に対す
る通常のアクセスが行なわれる。
In the normal mode, the selectors 2 to 4 select the first input terminal A, so the data input terminal 11 of the storage circuit 1
Input data from the data input terminal 6, a read/write control signal from the read/write control input terminal 7, and an address from the address input terminal 8 are input to the read/write control terminal RW and address input terminal ADH, respectively. Therefore, in this case, normal access to the memory location specified by the address in memory circuit 1 is performed.

外部テスト制御端子5への制御によってテストモードが
選択された場合には、セレクタ2〜4が第2の入力端子
Bを選択すると共に、クロック発生回路17からクロッ
ク信号が出力される。これにより、カウンタ15がリセ
ットの後にクロック信号に従ってアドレス初期値から順
次アドレスを更新し、そのアドレスがセレクタ4を介し
て記憶回路1のアドレスとして与えられる。同時にテス
トパターン発生回路13からはクロック信号に従って順
次テストパターンが出力され、これがセレクタ2を介し
て記憶回路1の入力データとして与えられる。また、信
号発生回路14からは、上記テスト用データ及びアドレ
スに対し2倍の周期で書込と読出とを指示する読出書込
制御信号が出力され、これがセレクタ3を介して記憶回
路1の読出書込制御信号として与えられる。
When the test mode is selected by controlling the external test control terminal 5, the selectors 2 to 4 select the second input terminal B, and the clock generation circuit 17 outputs a clock signal. Thereby, after the counter 15 is reset, the address is sequentially updated from the initial address value according to the clock signal, and the updated address is given as the address of the memory circuit 1 via the selector 4. At the same time, the test pattern generation circuit 13 sequentially outputs test patterns in accordance with the clock signal, and these are given as input data to the storage circuit 1 via the selector 2. Further, the signal generation circuit 14 outputs a read/write control signal that instructs writing and reading of the test data and address at twice the cycle, and this signal is transmitted to the memory circuit 1 via the selector 3. Provided as a write control signal.

この結果、記憶回路1は順次発生するテストパターンの
書込みと読出とを交互に行なう。そして、書込データと
読出データとが比較回路18にて比較され、その比較結
果が一致していれば正しく書込が行なわれたことが確認
できる。
As a result, the memory circuit 1 alternately writes and reads sequentially generated test patterns. The write data and the read data are then compared in the comparison circuit 18, and if the comparison results match, it can be confirmed that the write has been performed correctly.

[発明の効果コ このように、本発明によれば、外部テスト制御信号によ
って内部にテストパターン、テスト用読出書込制御信号
及びテスト用アドレスを夫々発生させ、これを選択的に
記憶回路に与えると共に、記憶回路に書込まれる前のテ
ストパターンと、記憶回路に書込まれた後のテストパタ
ーンとを比較回路によって比較するようにしたので、テ
スト用に外部から与える情報は、装置をテストモードに
切り替えるための制御信号だけで良く、外部端子数を大
幅に削減することができる。
[Effects of the Invention] As described above, according to the present invention, a test pattern, a test read/write control signal, and a test address are generated internally by an external test control signal, and are selectively applied to the storage circuit. At the same time, the comparison circuit compares the test pattern before it is written to the memory circuit with the test pattern after it is written to the memory circuit, so that the information given from the outside for testing can be used to set the device in test mode. All that is required is a control signal to switch to , and the number of external terminals can be significantly reduced.

また、外部からテストのためのデータ、アドレス及び読
出書込制御信号を与える必要がないため、テスト作業を
極めて容易に行なうことができる。
Furthermore, since there is no need to externally supply data, addresses, and read/write control signals for testing, testing can be performed extremely easily.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は本発明の実施例に係る半導体記憶装置のブロッ
ク図、第2図は従来の半導体記憶装置のブロック図であ
る。
FIG. 1 is a block diagram of a semiconductor memory device according to an embodiment of the present invention, and FIG. 2 is a block diagram of a conventional semiconductor memory device.

Claims (1)

【特許請求の範囲】[Claims] (1)クロック信号を出力するクロック発生回路と、こ
のクロック発生回路から出力されるクロック信号に従っ
てテストパターンを順次出力するテストパターン発生回
路と、外部テスト制御信号に基づいて通常のデータと前
記テストパターンのいずれか一方を選択して出力する第
1のセレクタと、前記クロック信号に従ってテスト用の
読出書込制御信号を順次出力する信号発生回路と、前記
外部テスト制御信号に基づいて通常の読出書込制御信号
と前記テスト用の読出書込制御信号のいずれか一方を選
択して出力する第2のセレクタと、前記クロック信号に
従ってテスト用のアドレスを順次出力するカウンタと、
前記外部テスト制御信号に基づいて通常のアドレスと前
記テスト用のアドレスのいずれか一方を選択して出力す
る第3のセレクタと、前記第1乃至第3のセレクタの出
力を夫々データ入力端子、読出書込制御制御入力端子及
びアドレス入力端子に入力してなる記憶回路と、この記
憶回路の入出力データを比較しその比較結果をテスト結
果として出力する比較回路とを備えたことを特徴とする
半導体記憶装置。
(1) A clock generation circuit that outputs a clock signal, a test pattern generation circuit that sequentially outputs test patterns according to the clock signal output from this clock generation circuit, and a test pattern generation circuit that generates normal data and the test pattern based on an external test control signal. a first selector that selects and outputs either one of the signals; a signal generating circuit that sequentially outputs a test read/write control signal according to the clock signal; and a signal generator that sequentially outputs a test read/write control signal based on the external test control signal. a second selector that selects and outputs either the control signal or the test read/write control signal; a counter that sequentially outputs test addresses in accordance with the clock signal;
a third selector that selects and outputs either the normal address or the test address based on the external test control signal; and a third selector that selects and outputs either the normal address or the test address based on the external test control signal; A semiconductor comprising: a memory circuit that receives input to a write control control input terminal and an address input terminal; and a comparison circuit that compares input and output data of the memory circuit and outputs the comparison result as a test result. Storage device.
JP1137097A 1989-05-30 1989-05-30 Semiconductor memory Pending JPH033200A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1137097A JPH033200A (en) 1989-05-30 1989-05-30 Semiconductor memory

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1137097A JPH033200A (en) 1989-05-30 1989-05-30 Semiconductor memory

Publications (1)

Publication Number Publication Date
JPH033200A true JPH033200A (en) 1991-01-09

Family

ID=15190795

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1137097A Pending JPH033200A (en) 1989-05-30 1989-05-30 Semiconductor memory

Country Status (1)

Country Link
JP (1) JPH033200A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04298900A (en) * 1991-03-28 1992-10-22 Nec Yamaguchi Ltd Semiconductor memory device
JPH05101698A (en) * 1991-10-03 1993-04-23 Nec Ic Microcomput Syst Ltd Semiconductor memory
JPH07220500A (en) * 1993-01-31 1995-08-18 Sgs Thomson Microelettronica Spa Testing method for nonvolatile memory
JPH09139096A (en) * 1995-11-14 1997-05-27 Nec Corp Ram testing circuit of logic lsi
JPH09219099A (en) * 1995-12-26 1997-08-19 Lg Semicon Co Ltd Self burn-in circuit for semiconductor memory
WO1998012705A1 (en) * 1996-09-17 1998-03-26 Oki Electric Industry Co., Ltd. Memory test circuit
WO2007125584A1 (en) * 2006-04-27 2007-11-08 Fujitsu Limited Semiconductor device and system

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0196898A (en) * 1987-10-07 1989-04-14 Toshiba Corp Semiconductor memory device equipped with self-diagnosis function

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0196898A (en) * 1987-10-07 1989-04-14 Toshiba Corp Semiconductor memory device equipped with self-diagnosis function

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04298900A (en) * 1991-03-28 1992-10-22 Nec Yamaguchi Ltd Semiconductor memory device
JPH05101698A (en) * 1991-10-03 1993-04-23 Nec Ic Microcomput Syst Ltd Semiconductor memory
JPH07220500A (en) * 1993-01-31 1995-08-18 Sgs Thomson Microelettronica Spa Testing method for nonvolatile memory
JPH09139096A (en) * 1995-11-14 1997-05-27 Nec Corp Ram testing circuit of logic lsi
JPH09219099A (en) * 1995-12-26 1997-08-19 Lg Semicon Co Ltd Self burn-in circuit for semiconductor memory
WO1998012705A1 (en) * 1996-09-17 1998-03-26 Oki Electric Industry Co., Ltd. Memory test circuit
US6108803A (en) * 1996-09-17 2000-08-22 Oki Electric Industry Co., Ltd. Memory cell circuit for executing specific tests on memory cells that have been designated by address data
KR100364830B1 (en) * 1996-09-17 2003-05-01 오끼 덴끼 고오교 가부시끼가이샤 Memory test circuit
WO2007125584A1 (en) * 2006-04-27 2007-11-08 Fujitsu Limited Semiconductor device and system
KR100944480B1 (en) * 2006-04-27 2010-03-03 후지쯔 마이크로일렉트로닉스 가부시키가이샤 Semiconductor device and system
US7808850B2 (en) 2006-04-27 2010-10-05 Fujitsu Semiconductor Limited Semiconductor device and system
JP4757910B2 (en) * 2006-04-27 2011-08-24 富士通セミコンダクター株式会社 Semiconductor device and system

Similar Documents

Publication Publication Date Title
JP2007310972A (en) Semiconductor memory device and its test method
JPH033200A (en) Semiconductor memory
US5048019A (en) Method of testing a read-only memory and device for performing the method
JP2987809B2 (en) CAS signal generator for synchronous DRAM
JP2824853B2 (en) Pattern data writing method
JP3246406B2 (en) Semiconductor memory device and test method therefor
JP2877505B2 (en) LSI mounting board and data processing device
JPS59132376A (en) Test pattern reading control system
JP2573068B2 (en) Digital pattern generator
JP2767794B2 (en) Microcomputer
JP3177975B2 (en) One-chip microcomputer
JPH04324191A (en) Semiconductor memory
JPS5958698A (en) Semiconductor integrated circuit storage device
JPH0267977A (en) Memory testing apparatus
JPS62293452A (en) Memory ic diagnosing circuit
JPH01177146A (en) Memory checking circuit
JPS63138600A (en) Auxiliary circuit for ram test
JP2002286814A (en) Pattern generator
JPS60221841A (en) Integrated circuit which can execute test easily
JPH11120800A (en) Flash memory built-in information processing system
JPH02276090A (en) Semiconductor memory integrated circuit
JPH04276395A (en) Random access memory
JPS6210389B2 (en)
JPS62279452A (en) Memory controller
JPH01261752A (en) Memory test circuit