JPH05128898A - Semiconductor memory - Google Patents

Semiconductor memory

Info

Publication number
JPH05128898A
JPH05128898A JP3288631A JP28863191A JPH05128898A JP H05128898 A JPH05128898 A JP H05128898A JP 3288631 A JP3288631 A JP 3288631A JP 28863191 A JP28863191 A JP 28863191A JP H05128898 A JPH05128898 A JP H05128898A
Authority
JP
Japan
Prior art keywords
terminal
data
input
test signal
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.)
Withdrawn
Application number
JP3288631A
Other languages
Japanese (ja)
Inventor
Akira Yamashita
山下  明
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 JP3288631A priority Critical patent/JPH05128898A/en
Publication of JPH05128898A publication Critical patent/JPH05128898A/en
Withdrawn legal-status Critical Current

Links

Abstract

PURPOSE:To simply operate a test without increasing the number of an external terminals. CONSTITUTION:When a test mode is selected by a signal inputted to a terminal 22, the terminal 21 side is selected by a selector 200 and simultaneously the terminals DO1-DOn-1 sides are selected by the selectors 201-20n. When a test signal TSi is inputted to the terminal 21, the TSi is sent to the terminal DI0 of a memory 10 through the selector 200, and the TSi is inputted to the memory 10 by a shift clock inputted to the terminal SI. Then, the TSi is transferred through the memory 10 and outputted from the terminal DO0 and inputted to be fed back to the selector 201. When the next shift clock is inputted to the terminal SI, the output data of the selector 201 is inputted into the memory 10 and outputted from the terminal DO1, and is inputted to be fed back to the selector 202 and inputted into the memory 10. By repeating such operation, the test signal TS0 is outputted from the terminal DOn of the memory 10 to the terminal 23.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、先入れ先出し(Fir
st In FirstOut、以下FIFOという)
型メモリや、後入れ先出し(Last In Firs
t Out、以下LIFOという)型メモリ等といった
順序をもってデータの書込みと読出しを行う半導体記憶
装置、特にテストモード機能を有する半導体記憶装置に
関するものである。
BACKGROUND OF THE INVENTION The present invention relates to first-in first-out (Fir)
st In First Out (hereinafter referred to as FIFO)
Type memory and last in first out
The present invention relates to a semiconductor memory device that writes and reads data in the order of a memory such as t Out, hereinafter referred to as LIFO) type memory, and more particularly to a semiconductor memory device having a test mode function.

【0002】[0002]

【従来の技術】図2は、従来の半導体記憶装置の1つで
あるFIFO型メモリの一構成例を示すブロック図であ
る。このFIFO型メモリ10は、(n+1)ビットの
入力データを入力するデータ入力端子DI0 〜DIn
(n+1)ビットの出力データを出力するデータ出力端
子DO0 〜DOn 、入力データを入力するためのシフト
インクロック用のシフトインクロック端子SI、出力デ
ータを出力するためのシフトアウトクロック用のシフト
アウトクロック端子SO、入力可能か否かの信号を出力
するインプットレディ端子IR、出力可能か否かの信号
を出力するアウトプットレディ端子OR、及びメモリ内
をオールリセットするための逆相マスターリセット端子
MRN (但し、Nは逆相を表す)を有している。
2. Description of the Related Art FIG. 2 is a block diagram showing an example of the configuration of a FIFO memory which is one of conventional semiconductor memory devices. The FIFO memory 10 has data input terminals DI 0 to DI n for inputting (n + 1) -bit input data,
Data output terminals DO 0 to DO n for outputting (n + 1) -bit output data, a shift-in clock terminal SI for inputting input data, a shift-out clock shift for outputting output data Out-clock terminal SO, input ready terminal IR that outputs a signal indicating whether input is possible, output ready terminal OR that outputs a signal indicating whether output is possible, and reverse-phase master reset terminal for resetting all in memory MR N (where N represents the reverse phase).

【0003】また、各(n+1)ビットのラッチ回路か
らなる複数段縦続接続されたデータラッチ回路11−0
〜11−mが設けられ、その初段のデータラッチ回路1
1−0の入力側にデータ入力端子DI0 〜DIn が接続
され、該最終段のデータラッチ回路11−mの出力側に
データ出力端子DO0 〜DOn が接続されている。さら
に、複数段のデータラッチ回路11−0〜11−mに対
するデータの入力を制御する入力コントロール回路12
と、データの出力制御を行うデータ出力コントロール回
路13とが設けられ、その入力コントロール回路12及
び出力コントロール回路13との間に、各データラッチ
回路11−1〜11−mのデータの転送を制御するため
の制御信号CSで縦続接続された複数段のレジスタコン
トロール回路14−1〜14−mが接続されている。逆
相マスターリセット端子MRN は、入力コントロール回
路12、出力コントロール回路13、及びレジスタコン
トロール回路14−1〜14−mにそれぞれ接続されて
いる。
Further, a plurality of cascaded data latch circuits 11-0, each of which is composed of a latch circuit of each (n + 1) bit, is provided.
11-m are provided, and the data latch circuit 1 at the first stage thereof is provided.
Data input terminal DI to the input side of the 1-0 0 -DI n are connected, the data output terminal DO 0 to DO n to the output side of the data latch circuit 11-m of the final stage is connected. Further, an input control circuit 12 that controls the input of data to the data latch circuits 11-0 to 11-m of a plurality of stages.
And a data output control circuit 13 that controls the output of data, and controls the transfer of data between the data latch circuits 11-1 to 11-m between the input control circuit 12 and the output control circuit 13. A plurality of stages of register control circuits 14-1 to 14-m are connected in series by a control signal CS for controlling. Reverse phase master reset terminal MR N is input control circuit 12 are connected to the output control circuit 13, and a register control circuit 14-1 to 14-m.

【0004】入力コントロール回路12には、インプッ
トレディ端子IR及びシフトインクロック端子SIが接
続され、シフトインクロック端子SIからのシフトクロ
ックによってデータラッチ回路11−0にラッチ信号L
Hを与えると共に、初段のレジスタコントロール回路1
4−1へ制御信号CSを供給する機能を有している。出
力コントロール回路13には、シフトアウトクロック端
子SO、及びアウトプットレディ端子ORが接続され、
シフトアウトクロック端子SOから入力されるシフトク
ロックに基づき制御信号CSをレジスタコントロール回
路14−mに与えてデータの出力をコントロールする機
能を有している。複数段のレジスタコントロール回路1
4−1〜14−mは、制御信号CSに基づき相互に縦続
接続され、各データラッチ回路11−1〜11−mに対
してラッチ信号LHを与えて該各データラッチ回路11
−1〜11−mの転送を制御する回路である。
An input ready terminal IR and a shift-in clock terminal SI are connected to the input control circuit 12, and a latch signal L is sent to a data latch circuit 11-0 by a shift clock from the shift-in clock terminal SI.
Give H and register control circuit 1 of the first stage
It has a function of supplying the control signal CS to 4-1. A shift out clock terminal SO and an output ready terminal OR are connected to the output control circuit 13,
It has a function of giving a control signal CS to the register control circuit 14-m based on the shift clock input from the shift-out clock terminal SO to control the output of data. Multi-stage register control circuit 1
4-1 to 14-m are cascade-connected to each other based on the control signal CS, and give a latch signal LH to each of the data latch circuits 11-1 to 11-m to supply the data latch circuits 11 to 11-m.
It is a circuit that controls the transfer of -1 to 11-m.

【0005】このFIFO型メモリ10では、シフトイ
ンクロック端子SIから入力されるシフトクロックに同
期して、入力コントロール回路12が動作し、初段のデ
ータラッチ回路11−0によってデータ入力端子DI0
〜DIn から入力データを入力する。そして、シフトイ
ンクロック端子SIから入力されるシフトクロックに同
期して各レジスタコントロール回路14−1〜14−m
からラッチ信号LHが出力され、初段のデータラッチ回
路11−0に入力された入力データが、各段のデータラ
ッチ回路14−1〜14−mへ最終段に向かって順次右
方向へ転送されていく。また、シフトアウトクロック端
子SOからシフトクロックが入力されるたびに、最初に
入力されたデータから順に、該入力データが最終段のデ
ータラッチ回路11−mからデータ出力端子DO0〜D
n へ順次出力されていく。
In this FIFO type memory 10, the input control circuit 12 operates in synchronization with the shift clock input from the shift-in clock terminal SI, and the data latch circuit 11-0 in the first stage operates the data input terminal DI 0.
To enter the input data from ~DI n. The register control circuits 14-1 to 14-m are synchronized with the shift clock input from the shift-in clock terminal SI.
Outputs a latch signal LH, and the input data input to the first stage data latch circuit 11-0 is sequentially transferred to the right stage toward the last stage data latch circuits 14-1 to 14-m. Go Each time a shift clock is input from the shift-out clock terminal SO, the input data is sequentially input from the data latch circuit 11-m at the final stage to the data output terminals DO 0 to D 0.
Are sequentially output to O n.

【0006】従来、この種のFIFO型メモリ10の機
能テストを行う場合、例えばデータ入力端子DI0 〜D
n に“0”,“1”のテスト信号を入力し、データ出
力端子DO0 〜DOn から出力される信号を、入力テス
ト信号と一致するか否かの判定を行い、該FIFO型メ
モリ10の良品又は不良品のテストを行っていた。
Conventionally, when performing a function test of the FIFO memory 10 of this type, for example, the data input terminals DI 0 to D 0.
The test signals of “0” and “1” are input to I n , it is determined whether the signals output from the data output terminals DO 0 to D O n match the input test signals, and the FIFO memory 10 good or defective products were tested.

【0007】[0007]

【発明が解決しようとする課題】しかしながら、従来の
半導体記憶装置では、次のような課題があった。例え
ば、従来のFIFO型メモリ10を、集積回路の一部と
して組込んだ場合、それをテストするには、データ入力
端子DI0 〜DIn 及びデータ出力端子DO0 〜DOn
の全てを外部に引出し、その引出した外部端子を用いて
メモリの機能テストを行なっているので、テスト機能付
加のために外部端子数が増加するという問題があった。
However, the conventional semiconductor memory device has the following problems. For example, a conventional FIFO memory 10, when incorporated as part of an integrated circuit, the test it, data input terminal DI 0 -DI n and a data output terminal DO 0 to DO n
All of the above are drawn out to the outside, and the function test of the memory is performed using the drawn out external terminals, so that there is a problem that the number of external terminals increases due to the addition of the test function.

【0008】この外部端子数の増加を解決するため、集
積回路に内蔵されたFIFO型メモリ10の周辺回路も
含めて、テストプログラムに従ったテスト動作を行うこ
とも考えられる。FIFO型メモリ10の周辺回路も含
めたテストを行うことは比較的容易である。しかし、そ
のテスト結果からFIFO型メモリ10のみのテスト結
果を得るようなテストプログラムを作成することは、困
難である。たとえFIFO型メモリ10のみのテストを
行えるようなテストプログラムを作成したとしても、周
辺回路との関連性を考慮したプログラムの作成が必要と
なるため、該テストプログラムそのものが複雑化し、テ
スト動作が煩雑化するという問題が生じる。従って、外
部端子数をそれほど増加させることなく、比較的簡単で
かつ短時間に半導体記憶装置のテストを行うことが困難
であった。
In order to solve the increase in the number of external terminals, it is possible to perform a test operation according to a test program including the peripheral circuit of the FIFO type memory 10 built in the integrated circuit. It is relatively easy to perform a test including the peripheral circuit of the FIFO type memory 10. However, it is difficult to create a test program that obtains the test result of only the FIFO memory 10 from the test result. Even if a test program that can test only the FIFO memory 10 is created, it is necessary to create a program that takes into consideration the relationship with the peripheral circuits, which complicates the test program itself and complicates the test operation. The problem arises that Therefore, it is difficult to test the semiconductor memory device relatively easily and in a short time without increasing the number of external terminals so much.

【0009】本発明は、前記従来技術が持っていた課題
として、外部端子数をそれほど増加させることなく、比
較的簡単にテスト動作を行うことが困難な点について解
決したテストモード機能付きの半導体記憶装置を提供す
るものである。
The present invention solves the problem of the conventional technique that it is difficult to perform a test operation relatively easily without increasing the number of external terminals so much that the semiconductor memory with a test mode function is solved. A device is provided.

【0010】[0010]

【課題を解決するための手段】第1の発明は、前記課題
を解決するために、i個(但し、iは正の整数)のデー
タ入力端子及びi個のデータ出力端子を有し、シフトク
ロックにより順序をもって前記データ入力端子へのiビ
ットの入力データの書込みと前記データ出力端子からの
iビットの出力データの読出しを行う半導体記憶装置に
おいて、前記(i−1)ビットの入力データと前記(i
−1)ビットの出力データとのいずれか一方を選択信号
によりそれぞれ選択して前記(i−1)個のデータ入力
端子へそれぞれ入力する(i−1)個の第1のセレクタ
と、前記残り1ビットの入力データとテスト信号とのい
ずれか一方を前記選択信号により選択して前記残り1個
のデータ入力端子に入力する1個の第2のセレクタと
を、設ける。さらに、前記テスト信号を外部より入力す
るテスト信号入力端子と、前記残り1ビットの出力デー
タを外部へ出力するテスト信号出力端子と、前記選択信
号を外部より入力するテストモード選択端子とを、設け
ている。
In order to solve the above-mentioned problems, a first invention has i (where i is a positive integer) data input terminals and i data output terminals, and shifts In a semiconductor memory device for writing i-bit input data to the data input terminal and reading i-bit output data from the data output terminal in order by a clock, the (i-1) -bit input data and the (I
-1) Bit output data is selected by a selection signal and input to the (i-1) data input terminals, respectively, and (i-1) first selectors, and the rest. There is provided one second selector which selects one of 1-bit input data and a test signal by the selection signal and inputs the selected one to the remaining one data input terminal. Furthermore, a test signal input terminal for externally inputting the test signal, a test signal output terminal for externally outputting the remaining 1-bit output data, and a test mode selection terminal for externally inputting the selection signal are provided. ing.

【0011】第2の発明は、第1の発明のテスト信号入
力端子に代えて、前記シフトクロックに基づき前記テス
ト信号を生成して前記第2のセレクタへ入力するテスト
信号生成回路を、設けている。
According to a second aspect of the present invention, in place of the test signal input terminal of the first aspect, a test signal generating circuit for generating the test signal based on the shift clock and inputting the test signal to the second selector is provided. There is.

【0012】[0012]

【作用】第1の発明によれば、以上のようにテスト機能
付き半導体記憶装置を構成したので、選択信号によりテ
ストモードを選択すれば、第1及び第2のセレクタの入
力側が切換わる。外部よりテスト信号をテスト信号入力
端子に入力すれば、その入力信号が第2のセレクタを介
してFIFO型メモリに、シフトクロックによって入力
され、該FIFO型メモリのデータ出力端子から出力さ
れて第1のセレクタ側にフィードバック入力され、それ
が該FIFO型メモリにシフトクロックで入力される。
このような動作を繰返すことにより、FIFO型メモリ
のデータ出力端子からテスト信号が出力され、それがテ
スト信号出力端子より外部へ出力される。そのため、入
力されたテスト信号と出力されたテスト信号との比較を
行えば、該FIFO型メモリの良否の判定が行える。
According to the first aspect of the invention, since the semiconductor memory device with a test function is configured as described above, if the test mode is selected by the selection signal, the input sides of the first and second selectors are switched. When a test signal is input to the test signal input terminal from the outside, the input signal is input to the FIFO type memory via the second selector by the shift clock and is output from the data output terminal of the FIFO type memory to output the first signal. Is fed back to the selector side of, and is fed to the FIFO type memory with a shift clock.
By repeating such an operation, a test signal is output from the data output terminal of the FIFO memory, and the test signal is output to the outside from the test signal output terminal. Therefore, by comparing the input test signal with the output test signal, the quality of the FIFO memory can be determined.

【0013】第2の発明によれば、選択信号によってテ
ストモードを選択すれば、第2のセレクタがテスト信号
生成回路の出力を選択すると共に、第1のセレクタが入
力データを選択するように動作する。そして、シフトク
ロックをテスト信号生成回路及びFIFO型メモリに入
力すれば、該テスト信号生成回路からテスト信号が出力
され、そのテスト信号が第2のセレクタを介してFIF
O型メモリに入力され、該FIFO型メモリのデータ出
力端子から出力されて第1のセレクタ側へフィードバッ
ク入力される。
According to the second invention, when the test mode is selected by the selection signal, the second selector selects the output of the test signal generating circuit and the first selector operates to select the input data. To do. Then, when the shift clock is input to the test signal generation circuit and the FIFO memory, the test signal is output from the test signal generation circuit, and the test signal is output to the FIFO through the second selector.
The data is input to the O-type memory, output from the data output terminal of the FIFO-type memory, and fed back to the first selector side.

【0014】次に、シフトクロックをテスト信号生成回
路及びFIFO型メモリに入力すれば、テスト信号生成
回路から発生したテスト信号が第2のセレクタを介して
FIFO型メモリに入力されると共に、前記第1のセレ
クタに入力された前記データ出力端子の出力が入力さ
れ、該FIFO型メモリのデータ出力端子から出力され
る。このような動作を繰返すことにより、FIFO型メ
モリのデータ出力端子からテスト信号が出力され、その
テスト信号がテスト信号出力端子を介して外部へ出力さ
れる。そのため、テスト信号生成回路から出力されたテ
スト信号と、テスト信号出力端子から出力されたテスト
信号とを比較すれば、該FIFO型メモリの機能テスト
が行える。従って、前記課題を解決できるのである。
Next, when the shift clock is input to the test signal generation circuit and the FIFO type memory, the test signal generated from the test signal generation circuit is input to the FIFO type memory via the second selector and at the same time, The output of the data output terminal input to the selector 1 is input and output from the data output terminal of the FIFO type memory. By repeating such operations, a test signal is output from the data output terminal of the FIFO memory, and the test signal is output to the outside via the test signal output terminal. Therefore, by comparing the test signal output from the test signal generation circuit with the test signal output from the test signal output terminal, a functional test of the FIFO memory can be performed. Therefore, the above problem can be solved.

【0015】[0015]

【実施例】第1の実施例 図1は、本発明の第1の実施例を示す半導体記憶装置の
1つであるテストモード機能付きFIFO型メモリの構
成ブロック図であり、従来の図2中の要素と共通の要素
には共通の符号が付されている。このテストモード機能
付きFIFO型メモリは、例えば集積回路内に設けられ
るもので、従来の図2と同様の(n+1)ビットのFI
FO型メモリ10を備え、その(n+1)ビットのデー
タ入力端子DI0 〜DIn には、選択信号SLによって
出力の切換が行われる2入力1出力の(n+1)個のセ
レクタ200 〜20n の各出力側がそれぞれ接続されて
いる。さらに、外部から“0”,“1”のテスト信号T
i を入力するテスト信号入力端子21と、セレクタ切
換用の選択信号SLを外部より入力するテストモード選
択端子22と、FIFO型メモリ10のnビット目のデ
ータ出力端子DOn から出力されるテスト信号TSo
外部へ出力するためのテスト信号出力端子23とが、そ
れぞれ集積回路の外部に設けられている。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS First Embodiment FIG. 1 is a block diagram showing the configuration of a FIFO memory with a test mode function, which is one of the semiconductor memory devices according to the first embodiment of the present invention. Elements that are common to the elements of 1 are assigned the same reference numerals. This FIFO type memory with a test mode function is provided in, for example, an integrated circuit, and has the same (n + 1) -bit FI as in FIG.
Comprising a FO memory 10, the (n + 1) to the data input terminal DI 0 -DI n bits having two inputs and one output which is switched output by the selection signal SL is performed (n + 1) number of selectors 20 0 to 20 n Each output side of is connected respectively. Furthermore, a test signal T of "0" or "1" is externally applied.
A test signal input terminal 21 for inputting S i , a test mode selection terminal 22 for externally inputting a selection signal SL for selector switching, and a test output from the n-th bit data output terminal DO n of the FIFO memory 10. A test signal output terminal 23 for outputting the signal TS o to the outside is provided outside the integrated circuit, respectively.

【0016】0ビット目のセレクタ(第2のセレクタ)
200 は、集積回路内の内部回路から供給される0ビッ
ト目の入力データD0 と、テスト信号入力端子21から
入力されるテスト信号TSi との、いずれか一方を選択
信号SLによって選択し、FIFO型メモリ10の0ビ
ット目のデータ入力端子DI0 へ入力する回路である。
1ビットからnビット目までのセレクタ(第1のセレク
タ)201 〜20n のうち、1ビット目のセレクタ20
1 は、内部回路から供給される1ビット目の入力データ
1 と、0ビット目のデータ出力端子DO0 の出力デー
タとの、いずれか一方を選択信号SLによって選択し、
1ビット目のデータ入力端子DI1 に与える回路であ
る。
0th bit selector (second selector)
20 0 selects either the 0th bit input data D 0 supplied from the internal circuit in the integrated circuit or the test signal TS i input from the test signal input terminal 21 by the selection signal SL. , A circuit for inputting to the 0th bit data input terminal DI 0 of the FIFO memory 10.
Of the selectors (first selectors) 20 1 to 20 n of the 1st bit to the nth bit, the selector 20 of the 1st bit
1 selects one of the 1-bit input data D 1 supplied from the internal circuit and the 0-bit output data of the data output terminal DO 0 by the selection signal SL,
This is a circuit applied to the first bit data input terminal DI 1 .

【0017】同様に、nビット目まで接続され、該nビ
ット目のセレクタ20n は、内部回路から供給されるn
ビット目の入力データDn と、(n−1)ビット目のデ
ータ出力端子DOn-1 の出力データとの、いずれか一方
を選択信号SLにより選択し、nビット目のデータ入力
端子DIn に入力される。nビット目のデータ出力端子
DOn は、外部に設けられたテスト信号出力端子23に
接続されている。
Similarly, the n- th selector is connected to the n-th bit, and the n- th selector 20 n is supplied from the internal circuit.
Either one of the input data D n of the bit and the output data of the data output terminal DO n-1 of the (n-1) th bit is selected by the selection signal SL, and the data input terminal DI n of the nth bit is selected. Entered in. The n-th bit data output terminal DO n is connected to the test signal output terminal 23 provided outside.

【0018】次に、図1の(a)通常動作モード、及び
(b)テスト動作モードの各動作について説明する。
Next, each operation of the normal operation mode (a) and the test operation mode (b) of FIG. 1 will be described.

【0019】(a)通常動作モード テストモード選択端子20に供給する選択信号SLによ
って通常動作モードを選択した場合、各セレクタ200
〜20n は内部回路から供給される入力データD0 〜D
n を選択してFIFO型メモリ10のデータ入力端子D
0 〜DIn にそれぞれ供給する。そのため、シフトイ
ンクロック端子SIからシフトクロックを入力すると、
入力データD0 〜Dn がデータ入力端子DI0 〜DIn
に入力された後、該FIFO型メモリ10内を順次デー
タ出力端子DO0 〜DOn 方向へ転送されていき、従来
の図2と同様に通常のFIFO動作を行う。
(A) Normal operation mode When the normal operation mode is selected by the selection signal SL supplied to the test mode selection terminal 20, each selector 20 0
˜20 n is the input data D 0 to D supplied from the internal circuit
Select n to select the data input terminal D of the FIFO memory 10
I supplied respectively to 0 ~DI n. Therefore, if a shift clock is input from the shift-in clock terminal SI,
Input data D 0 to D n is the data input terminal DI 0 -DI n
After being input to, will be transferred to the FIFO memory 10 to the sequential data output terminal DO 0 to DO n direction, performs a normal FIFO operation in the same manner as conventional FIG.

【0020】(b)テスト動作モード FIFO型メモリ10を空に設定すると共に、シフトア
ウトクロック端子SOを例えば“0”に設定し、選択信
号SLによってテスト動作モードを選択した場合、0ビ
ット目のセレクタ20o がテスト信号入力端子21側を
選択すると共に、1ビット目からnビット目までのセレ
クタ201 〜20n が0ビット目から(n−1)ビット
目までのデータ出力信号DOn 側をそれぞれ選択する。
テスト信号入力端子21にテスト信号TSi を供給する
と、0ビット目のセレクタ20o を介して0ビット目の
データ入力端子DIo へ送られる。
(B) Test operation mode When the FIFO memory 10 is set to be empty, the shift-out clock terminal SO is set to "0", and the test operation mode is selected by the selection signal SL, the 0th bit is set. The selector 20 o selects the test signal input terminal 21 side, and the selectors 20 1 to 20 n of the 1st bit to the nth bit are the data output signal DO n side of the 0th bit to the (n-1) th bit. Select each.
Supplying test signal TS i to the test signal input terminal 21 is sent via the selector 20 o 0-th bit to 0-th bit of the data input terminal DI o.

【0021】シフトクロックをシフトインクロック端子
SIに入力すると、テスト信号TSi が0ビット目のデ
ータ入力端子DIo に入力され、FIFO型メモリ10
内を転送されて0ビット目のデータ出力端子DOo へ転
送される。FIFO型メモリ10が空であるので、テス
ト信号TSi が0ビット目のデータ出力端子DOo に転
送されると、該データ出力端子DOn から出力されて1
ビット目のセレクタ201 へと送られる。
When the shift clock is input to the shift-in clock terminal SI, the test signal TS i is input to the 0th bit data input terminal DI o , and the FIFO type memory 10
The data is transferred to the 0th bit data output terminal DO o . Since the FIFO memory 10 is empty, when the test signal TS i is transferred to the 0th bit data output terminal DO o , it is output from the data output terminal DO n to 1
It is sent to the selector 20 1 of the bit position.

【0022】次に、シフトアウトクロック端子SO及び
シフトインクロック端子SIにシフトクロックを入力す
ると、シフトアウトクロック端子SOによりFIFO型
メモリ10が空となり、シフトインクロック端子SIに
よりセレクタ201 のデータはデータ入力端子DI1
らDO1 へと転送され、2ビット目のセレクタ202
送られる。それと同時にテスト信号TSi のデータはデ
ータ入力端子DI0 からDO0 へ転送され、セレクタ2
1 へ送られる。
Next, when a shift clock is input to the shift-out clock terminal SO and the shift-in clock terminal SI, the FIFO memory 10 is emptied by the shift-out clock terminal SO, and the data of the selector 20 1 is stored in the shift-in clock terminal SI. The data is transferred from the data input terminal DI 1 to DO 1 and sent to the second bit selector 20 2 . At the same time, the data of the test signal TS i is transferred from the data input terminals DI 0 to DO 0 , and the selector 2
Sent to 0 1 .

【0023】このような動作を繰り返し実行すると、
(n+1)回のシフトクロックをシフトインクロック端
子SIに入力及びn回のシフトクロックをシフトアウト
クロック端子SOに入力することにより、nビット目の
データ出力端子DOn からテスト信号TSo が外部のテ
スト信号出力端子23へ出力される。従って、このテス
ト信号TSo と、入力されたテスト信号TSi との、一
致/不一致を検出すれば、FIFO型メモリ10の良否
判定が行える。
When such an operation is repeatedly executed,
By inputting the (n + 1) th shift clock to the shift-in clock terminal SI and inputting the nth shift clock to the shift-out clock terminal SO, the test signal TS o is output from the n-th data output terminal DO n to the outside. It is output to the test signal output terminal 23. Therefore, if the match / mismatch between the test signal TS o and the input test signal TS i is detected, the quality of the FIFO memory 10 can be determined.

【0024】図3に4ビットの場合のタイミング図を示
す。以上のように、この第1の実施例では、FIFO型
メモリ10のビット数が何ビットであろうと、テスト信
号入力端子21、テストモード選択端子22及びテスト
信号出力端子23を設けることにより、この3端子のみ
でFIFO型メモリ10の機能テストが可能になる。従
って、外部端子数を従来のように増加することなく、簡
単かつ的確にテスト動作が行える。
FIG. 3 shows a timing chart in the case of 4 bits. As described above, in the first embodiment, by providing the test signal input terminal 21, the test mode selection terminal 22 and the test signal output terminal 23 regardless of the number of bits of the FIFO memory 10, A functional test of the FIFO memory 10 can be performed with only three terminals. Therefore, the test operation can be performed easily and accurately without increasing the number of external terminals as in the conventional case.

【0025】第2の実施例 図4は、本発明の第2の実施例を示すテスト機能付きF
IFO型メモリの構成ブロック図であり、図1中の要素
と共通の要素には共通の符号が付されている。このテス
ト機能付きFIFO型メモリは、図1のテスト信号入力
端子21を省略し、それに代えてテスト信号生成回路3
0を設けている。テスト信号生成回路30は、例えばク
ロック端子CLK、リセット端子R、及び出力端子Qを
有するT型フリップフロップ(以下、T−FFという)
で構成され、そのクロック端子CLKがFIFO型メモ
リ10のシフトインクロック端子SIに接続され、リセ
ット端子Rがテストモード選択端子22に接続され、さ
らにテスト信号TSi を出力する出力端子Qが0ビット
目のセレクタ200 の入力側に接続されている。次に、
図3の(a)通常動作モード、及び(b)テスト動作モ
ードの各動作について説明する。
Second Embodiment FIG. 4 shows an F with test function showing a second embodiment of the present invention.
FIG. 2 is a block diagram of a configuration of an IFO type memory, and elements common to those in FIG. 1 are designated by common reference numerals. In this FIFO memory with a test function, the test signal input terminal 21 of FIG. 1 is omitted, and instead the test signal generation circuit 3 is used.
0 is set. The test signal generation circuit 30 is, for example, a T-type flip-flop (hereinafter referred to as T-FF) having a clock terminal CLK, a reset terminal R, and an output terminal Q.
The clock terminal CLK is connected to the shift-in clock terminal SI of the FIFO type memory 10, the reset terminal R is connected to the test mode selection terminal 22, and the output terminal Q for outputting the test signal TS i is 0 bit. It is connected to the input side of the eye of the selector 20 0. next,
Each operation of (a) normal operation mode and (b) test operation mode of FIG. 3 will be described.

【0026】(a)通常動作モード テストモード選択端子22に入力する選択信号SLによ
り、通常動作モードを選択した場合、セレクタ200
20n が入力データD0 〜Dn 側を選択し、さらにテス
ト信号生成回路30がリセットされるので、図1と同様
に、通常のFIFO動作を行う。
(A) Normal operation mode When the normal operation mode is selected by the selection signal SL input to the test mode selection terminal 22, the selectors 20 0 to
Since 20 n selects the input data D 0 to D n side and the test signal generation circuit 30 is reset, the normal FIFO operation is performed as in FIG.

【0027】(b)テスト動作モード テストモード選択端子22に入力する選択信号SLによ
ってテスト動作モードを選択すると共に、FIFO型メ
モリ10を空に設定し、シフトアウトクロック端子SO
を例えば“0”に設定すると、選択信号SLによってテ
スト信号生成回路30のリセット状態が解除される。シ
フトクロックをテスト信号生成回路30のクロック端子
CLK及びFIFO型メモリ10のシフトインクロック
端子SIに入力すると、該テスト信号生成回路30の出
力端子Qよりテスト信号TSiが出力され、該テスト信
号TSi が0ビット目のセレクタ200 を介して0ビッ
ト目のデータ入力端子DI0 に入力される。そして、F
IFO型メモリ10内を転送され、0ビット目のデータ
出力端子DO0 より出力される。この出力データは、図
1と同様に、1ビット目のセレクタ201 へ送られ、該
セレクタ201 を介してFIFO型メモリ10の1ビッ
ト目のデータ入力端子DI1 へ送られる。また、シフト
インクロック端子SIに入力されるシフトクロックの変
化により、テスト信号生成回路30の出力端子Qの出力
が反転する。
(B) Test operation mode The test operation mode is selected by the selection signal SL input to the test mode selection terminal 22, the FIFO memory 10 is set to empty, and the shift-out clock terminal SO
Is set to, for example, “0”, the reset state of the test signal generation circuit 30 is released by the selection signal SL. When the shift clock is input to the clock terminal CLK of the test signal generation circuit 30 and the shift-in clock terminal SI of the FIFO memory 10, the test signal TS i is output from the output terminal Q of the test signal generation circuit 30, and the test signal TS is output. i is input to the 0th bit data input terminal DI 0 through the 0th bit selector 20 0 . And F
The data is transferred in the IFO type memory 10 and output from the 0th bit data output terminal DO 0 . This output data is sent to the first bit selector 20 1 as in FIG. 1, and is sent to the first bit data input terminal DI 1 of the FIFO memory 10 via the selector 20 1 . Further, the output of the output terminal Q of the test signal generation circuit 30 is inverted due to the change of the shift clock input to the shift-in clock terminal SI.

【0028】次に、シフトクロックをFIFO型メモリ
10のシフトアウトクロック端子SOに入力し、シフト
クロックをテスト信号生成回路30のクロック端子CL
K及びFIFO型メモリ10のシフトインクロック端子
SIに入力すると、0ビット目のデータ出力端子DO0
から出力された最初のデータが1ビット目のデータ入力
端子DI1 より入力され、1ビット目のデータ出力端子
DO1 から出力されると同時に、最初に入力したテスト
信号TSi の反転信号が、出力端子Qから0ビット目の
セレクタ200 を介して0ビット目のデータ入力端子D
0 より入力され、0ビット目のデータ出力端子DO0
から出力される。
Next, the shift clock is input to the shift-out clock terminal SO of the FIFO memory 10 and the shift clock is input to the clock terminal CL of the test signal generating circuit 30.
When input to the shift-in clock terminal SI of the K and FIFO type memory 10, the 0th bit data output terminal DO 0
The first data output from the first bit is input from the first bit data input terminal DI 1 and is output from the first bit data output terminal DO 1 , and at the same time, the inverted signal of the first input test signal TS i is 0th bit data input terminal D from output terminal Q through 0th bit selector 20 0
Input from I 0 , 0th bit data output terminal DO 0
Is output from.

【0029】同様の動作を繰り返し実行すると、(n+
1)回のシフトクロックをシフトインクロック端子SI
に入力、及びn回のシフトクロックをシフトアウトクロ
ック端子SOに入力することにより、nビット目のデー
タ出力端子DOn からテスト信号TSo が出力され、テ
スト信号出力端子23から外部へ出力される。
When the same operation is repeatedly executed, (n +
1) Shift clock is shifted in clock terminal SI
To the shift-out clock terminal SO, and the n-th bit data output terminal DO n outputs the test signal TS o and the test signal output terminal 23 outputs the test signal TS o to the outside. ..

【0030】図5に4ビットの場合のタイミング図を示
す。以上のように、この第2の実施例では、FIFO型
メモリ10のビット数が何ビットであろうと、外部に設
けたテストモード選択端子22及びテスト信号出力端子
23の2端子のみで、機能テストが可能である。そのた
め、従来に比べて外部端子数を増加することなく、簡単
にテスト動作が行える。しかも、第1の実施例のテスト
信号入力端子21に代えてテスト信号生成回路30を設
けたので、外部端子数を1つ減らすことができると共
に、該テスト信号生成回路30でテスト信号TSi を発
生できるので、外部からテスト信号TSi を入力する必
要がなくなる。
FIG. 5 shows a timing chart in the case of 4 bits. As described above, in the second embodiment, no matter how many bits the FIFO memory 10 has, the function test is performed only by the externally provided test mode selection terminal 22 and test signal output terminal 23. Is possible. Therefore, the test operation can be easily performed without increasing the number of external terminals as compared with the conventional case. Moreover, since the test signal generation circuit 30 is provided in place of the test signal input terminal 21 of the first embodiment, the number of external terminals can be reduced by one and the test signal generation circuit 30 can generate the test signal TS i . Since it can be generated, it is not necessary to input the test signal TS i from the outside.

【0031】なお、本発明は、上記実施例に限定され
ず、種々の変形が可能である。その変形例としては、例
えば次のようなものがある。 (i) 図1及び図3においては、0ビット目のデータ
出力端子DO0 の出力を1ビット目のデータ入力端子D
1 に入力し、1ビット目のデータ出力端子DO1 の出
力を2ビット目のデータ入力端子DI2 に入力している
ように、下位ビットから上位ビットへ順次データ出力端
子DO0 〜DOn-1 の出力をFIFO型メモリの入力側
にフィードバック入力するような接続構造にしている
が、その接続の順序は特に限定されず、任意の接続構造
に変更可能である。
The present invention is not limited to the above embodiment, and various modifications can be made. Examples of such modifications include the following. (I) In FIGS. 1 and 3, the output of the 0th bit data output terminal DO 0 is changed to the 1st bit data input terminal D
Input to I 1, as inputs the output of the first bit of the data output terminal DO 1 to the data input terminal DI 2 of the second bit, 0 sequential data output terminal DO from the lower bit to a higher bit to DO n The connection structure is such that the output of -1 is fed back to the input side of the FIFO memory, but the order of the connection is not particularly limited and can be changed to any connection structure.

【0032】(ii) 図3のテスト回路生成回路30
は、T−FFで構成しているが、D型FF、JK型F
F、ラッチ回路、ゲート組合せ回路等といった種々の回
路で構成しても、上記実施例と同様の作用、効果が得ら
れる。
(Ii) Test circuit generation circuit 30 of FIG.
Consists of T-FF, D-type FF, JK-type F
Even if it is configured by various circuits such as F, a latch circuit, and a gate combination circuit, the same operation and effect as those of the above embodiment can be obtained.

【0033】(iii) 上記実施例のFIFO型メモリ1
0は、例えば従来の図2に示す回路で構成した例を説明
したが、該FIFO型メモリ10は種々の回路構成に変
形できる。さらに、上記実施例では、テスト機能付きF
IFO型メモリ10について説明したが、LIFO型メ
モリ等といった他の半導体記憶装置に、上記実施例のよ
うなテスト機能を付加することにより、上記実施例とほ
ぼ同様の作用、効果が得られる。
(Iii) FIFO memory 1 of the above embodiment
Although 0 has been described as an example of the conventional circuit shown in FIG. 2, the FIFO memory 10 can be modified into various circuit configurations. Further, in the above embodiment, the F with test function is used.
Although the IFO type memory 10 has been described, by adding the test function as in the above embodiment to another semiconductor memory device such as a LIFO type memory or the like, it is possible to obtain substantially the same operation and effect as in the above embodiment.

【0034】[0034]

【発明の効果】以上詳細に説明したように、第1の発明
によれば、第1及び第2のセレクタと、テスト信号入力
端子、テスト信号出力端子及びテストモード選択端子と
を設けたので、半導体記憶装置のビット数が何ビットで
あろうと、外部に設けたテスト信号入力端子、テスト信
号出力端子及びテストモード選択端子の3端子のみで機
能テストが可能である。そのため、従来のように外部端
子数を増加することなく、簡単かつ的確にテスト動作が
行える。
As described in detail above, according to the first invention, the first and second selectors, the test signal input terminal, the test signal output terminal, and the test mode selection terminal are provided. Regardless of the number of bits of the semiconductor memory device, a functional test can be performed only with the externally provided test signal input terminal, test signal output terminal, and test mode selection terminal. Therefore, the test operation can be performed easily and accurately without increasing the number of external terminals as in the conventional case.

【0035】第2の発明によれば、第1の発明のテスト
信号入力端子に代えてテスト信号生成回路を設けたの
で、第1の発明とほぼ同様の効果が得られる。その上、
テスト信号入力端子を省略したので、外部に設ける端子
数を少なくできると共に、テスト信号生成回路でテスト
信号を生成するので、外部からテスト信号を入力する必
要がなくなり、テストをより簡単に行える。
According to the second invention, since the test signal generating circuit is provided in place of the test signal input terminal of the first invention, substantially the same effect as that of the first invention can be obtained. Moreover,
Since the test signal input terminal is omitted, the number of external terminals can be reduced, and since the test signal is generated by the test signal generation circuit, it is not necessary to input the test signal from the outside and the test can be performed more easily.

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

【図1】本発明の第1の実施例を示すテスト機能付きF
IFO型メモリの構成ブロック図である。
FIG. 1 is an F with a test function showing a first embodiment of the present invention.
It is a block diagram of a configuration of an IFO type memory.

【図2】従来のFIFO型メモリの構成ブロック図であ
る。
FIG. 2 is a configuration block diagram of a conventional FIFO type memory.

【図3】図1の4ビットの場合のタイミング図である。FIG. 3 is a timing chart in the case of 4 bits in FIG.

【図4】本発明の第2の実施例を示すテスト機能付きF
IFO型メモリの構成ブロック図である。
FIG. 4 is an F with a test function showing a second embodiment of the present invention.
It is a block diagram of a configuration of an IFO type memory.

【図5】図4の4ビットの場合のタイミング図である。FIG. 5 is a timing chart in the case of 4 bits of FIG.

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

10 FIFO型メモリ 200 第2のセレクタ 201 〜20n 第1のセレクタ 21 テスト信号入力端子 22 テストモード選択端子 23 テスト信号出力端子 30 テスト信号生成回路10 FIFO type memory 20 0 Second selector 20 1 to 20 n First selector 21 Test signal input terminal 22 Test mode selection terminal 23 Test signal output terminal 30 Test signal generation circuit

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 i個(但し、iは正の整数)のデータ入
力端子及びi個のデータ出力端子を有し、シフトクロッ
クにより順序をもって前記データ入力端子へのiビット
の入力データの書込みと前記データ出力端子からのiビ
ットの出力データの読出しを行う半導体記憶装置におい
て、 前記(i−1)ビットの入力データと前記(i−1)ビ
ットの出力データとのいずれか一方を選択信号によりそ
れぞれ選択して前記(i−1)個のデータ入力端子へそ
れぞれ入力する(i−1)個の第1のセレクタと、 前記残り1ビットの入力データとテスト信号とのいずれ
か一方を前記選択信号により選択して前記残り1個のデ
ータ入力端子に入力する1個の第2のセレクタと、 前記テスト信号を外部より入力するテスト信号入力端子
と、 前記残り1ビットの出力データを外部へ出力するテスト
信号出力端子と、 前記選択信号を外部より入力するテストモード選択端子
とを、 設けたことを特徴とする半導体記憶装置。
1. An i-number (where i is a positive integer) data input terminal and an i-number data output terminal, and writing of i-bit input data to the data input terminal in order by a shift clock. In a semiconductor memory device for reading i-bit output data from the data output terminal, one of the (i-1) -bit input data and the (i-1) -bit output data is selected by a selection signal. The (i-1) number of first selectors which respectively select and input to the (i-1) number of data input terminals, and one of the remaining 1-bit input data and the test signal are selected. A second selector that is selected by a signal and is input to the remaining one data input terminal; a test signal input terminal that inputs the test signal from the outside; The semiconductor memory device of the output data test signal output terminal for outputting to the outside, characterized in that the test mode select terminal for inputting from outside the selection signal, is provided.
【請求項2】 請求項1記載の半導体記憶装置におい
て、 前記テスト信号入力端子に代えて、前記シフトクロック
に基づき前記テスト信号を生成して前記第2のセレクタ
へ入力するテスト信号生成回路を、設けたことを特徴と
する半導体記憶装置。
2. The semiconductor memory device according to claim 1, further comprising a test signal generation circuit that generates the test signal based on the shift clock and inputs the test signal to the second selector, in place of the test signal input terminal. A semiconductor memory device provided.
JP3288631A 1991-11-05 1991-11-05 Semiconductor memory Withdrawn JPH05128898A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3288631A JPH05128898A (en) 1991-11-05 1991-11-05 Semiconductor memory

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3288631A JPH05128898A (en) 1991-11-05 1991-11-05 Semiconductor memory

Publications (1)

Publication Number Publication Date
JPH05128898A true JPH05128898A (en) 1993-05-25

Family

ID=17732677

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3288631A Withdrawn JPH05128898A (en) 1991-11-05 1991-11-05 Semiconductor memory

Country Status (1)

Country Link
JP (1) JPH05128898A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2011010445A1 (en) * 2009-07-21 2011-01-27 Tadao Nakamura A lower energy comsumption and high speed computer without the memory bottleneck
US10573359B2 (en) 2012-02-13 2020-02-25 Tadao Nakamura Marching memory, a bidirectional marching memory, a complex marching memory and a computer system, without the memory bottleneck

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2011010445A1 (en) * 2009-07-21 2011-01-27 Tadao Nakamura A lower energy comsumption and high speed computer without the memory bottleneck
CN102483697A (en) * 2009-07-21 2012-05-30 中村维男 A Lower Energy Comsumption And High Speed Computer Without The Memory Bottleneck
JP2012533784A (en) * 2009-07-21 2012-12-27 維男 中村 High-speed computer with low energy consumption and no memory bottleneck
US8949650B2 (en) 2009-07-21 2015-02-03 Tadao Nakamura Processor embedded memory structure with lower energy consumption and high speed without memory bottleneck
US10573359B2 (en) 2012-02-13 2020-02-25 Tadao Nakamura Marching memory, a bidirectional marching memory, a complex marching memory and a computer system, without the memory bottleneck
US11164612B2 (en) 2012-02-13 2021-11-02 Tadao Nakamura Marching memory, a bidirectional marching memory, a complex marching memory and a computer system, without the memory bottleneck

Similar Documents

Publication Publication Date Title
WO1985001825A1 (en) A scannable asynchronous/synchronous cmos latch
JPH07282576A (en) Fifo module
JPH04301290A (en) Pushup memory circuit
JP2638281B2 (en) Scan path circuit
JPH05232196A (en) Test circuit
US4913557A (en) Intergrated logic circuit having testing function circuit formed integrally therewith
JP2001236306A (en) Method and device for data transfer
JPH05128898A (en) Semiconductor memory
JPH11194152A (en) Semiconductor integrated circuit
JPH01110274A (en) Test circuit
JP2797793B2 (en) Pseudo random pattern generator
JP2526293B2 (en) Scan circuit access device
JP3251748B2 (en) Semiconductor integrated circuit
KR950009571B1 (en) Self-check device in digital output port
JPH0690265B2 (en) Test circuit
JPH08212794A (en) Shift register
JP2002005997A (en) Self-synchronous type logic circuit having testing circuit
JP2616125B2 (en) Semiconductor integrated circuit
JPH06148291A (en) Boundary scanning register
JPH0358143A (en) Scan in/out logic circuit for lsi
JPS63198884A (en) Test assisting circuit
JPH01179297A (en) Shift register
JPH0553863A (en) Semiconductor integrated circuit
JPH09320290A (en) Shift register
JPH04168381A (en) Integrated circuit device of semiconductors

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 19990204