JP2551601B2 - Memory check circuit - Google Patents
Memory check circuitInfo
- Publication number
- JP2551601B2 JP2551601B2 JP62256471A JP25647187A JP2551601B2 JP 2551601 B2 JP2551601 B2 JP 2551601B2 JP 62256471 A JP62256471 A JP 62256471A JP 25647187 A JP25647187 A JP 25647187A JP 2551601 B2 JP2551601 B2 JP 2551601B2
- Authority
- JP
- Japan
- Prior art keywords
- signal
- circuit
- address
- memory
- 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.)
- Expired - Lifetime
Links
Landscapes
- Techniques For Improving Reliability Of Storages (AREA)
- For Increasing The Reliability Of Semiconductor Memories (AREA)
Description
【発明の詳細な説明】 (産業上の利用分野) 本発明は、データ処理装置等におけるスタテック型の
ランダムアクセスメモリ回路(以下、RAMという)等の
メモリ回路の機能試験を行うためのメモリチェック回路
に関するものである。The present invention relates to a memory check circuit for performing a functional test of a memory circuit such as a static random access memory circuit (hereinafter referred to as RAM) in a data processing device or the like. It is about.
(従来の技術) 従来、この種のメモリチェック回路としては、特開昭
61−54550号公報、及び特開昭61−67162号公報等に記載
されるものがあった。以下、その構成を図を用いて説明
する。(Prior Art) Conventionally, a memory check circuit of this type has been disclosed in
There are those described in JP-A-61-54550, JP-A-61-67162 and the like. The configuration will be described below with reference to the drawings.
第2図は特開昭61−67162号公報に記載された従来の
メモリチェック回路の構成ブロック図である。FIG. 2 is a block diagram of a conventional memory check circuit disclosed in Japanese Patent Laid-Open No. 61-67162.
このメモリチェック回路は、アドレス信号ADRを解読
するデコーダ及びメモリセルアレイ等を有するRAMから
なるメモリ回路1の機能試験を行うためのものであり、
テストモード信号TMにより切換制御されるアドレス切換
回路2及びライトデータ切換回路3を備え、そのアドレ
ス切換回路2の出力側には、クロック信号によりアドレ
ス切換回路2の出力を入力するアドレスレジスタ4が接
続され、そのアドレスレジスタ4の出力側がメモリ回路
1のアドレス入力部に接続されると共に、+1加算回路
5を介してアドレス切換回路2の入力側に接続されてい
る。このアドレス切換回路2は、テストモード信号TMに
よって外部から与えられるアドレス信号ADRを+1加算
回路5の出力信号に切換え、その出力信号をアドレスレ
ジスタ4に与える回路である。ライトデータ切換回路3
の出力側は、メモリ回路1のライトデータ入力部に接続
されると共に、ライトデータレジスタ6を介して該ライ
トデータ切換回路3の入力側に接続されている。ここ
で、ライトデータ切換回路3は、テストモード信号TMに
よって外部から与えられるライトデータ信号WTDをライ
トデータレジスタ6の出力信号に切換える回路である。
ライトデータレジスタ6は、ライトパルスWPに基づきラ
イトデータ切換回路3の出力信号を入力してその出力信
号のコンプリメント信号をライトデータ切換回路3の入
力側に与える回路である。また、メモリ回路1の出力部
にはエラー判定回路7が接続されている。このエラー判
定回路7は、排他的論理和回路で構成され、制御信号CT
に基づきメモリ回路1の出力部からの読出し信号RDの良
否を判定し、その判定結果の信号Soutを出力する回路で
ある。This memory check circuit is for performing a function test of the memory circuit 1 including a RAM having a decoder for decoding the address signal ADR and a memory cell array,
An address switching circuit 2 and a write data switching circuit 3 which are switched and controlled by a test mode signal TM are provided, and an output side of the address switching circuit 2 is connected to an address register 4 for inputting the output of the address switching circuit 2 by a clock signal. The output side of the address register 4 is connected to the address input section of the memory circuit 1 and also connected to the input side of the address switching circuit 2 via the +1 addition circuit 5. The address switching circuit 2 is a circuit for switching the address signal ADR externally applied by the test mode signal TM to the output signal of the +1 addition circuit 5 and applying the output signal to the address register 4. Write data switching circuit 3
The output side of is connected to the write data input section of the memory circuit 1, and is also connected to the input side of the write data switching circuit 3 via the write data register 6. Here, the write data switching circuit 3 is a circuit for switching the write data signal WTD externally supplied by the test mode signal TM to the output signal of the write data register 6.
The write data register 6 is a circuit which inputs the output signal of the write data switching circuit 3 based on the write pulse WP and gives a complement signal of the output signal to the input side of the write data switching circuit 3. An error determination circuit 7 is connected to the output section of the memory circuit 1. The error judgment circuit 7 is composed of an exclusive OR circuit and has a control signal CT.
It is a circuit that determines the quality of the read signal RD from the output section of the memory circuit 1 based on the above, and outputs the signal Sout of the determination result.
次に、第2図の動作を説明する。 Next, the operation of FIG. 2 will be described.
先ず、テストモード信号TMを論理“0"にしてライトデ
ータ信号WTDをライトデータ切換回路3に入力すると共
に、アドレス信号ADRをアドレス切換回路2に入力す
る。クロック信号CLKを1つ進めることにより、アドレ
ス信号ADRはアドレス切換回路2を通してアドレスレジ
スタ4に入り、ライトパルス信号WPを1つメモリ回路1
に入れることにより、ライトデータWTDがライトデータ
切換回路3を通してメモリ回路1内に書込まれる。この
時メモリ回路1の出力は、エラー判定回路7でエラーに
ならないようにリードイネーブル信号RE“0"にする。First, the test mode signal TM is set to logic “0” and the write data signal WTD is input to the write data switching circuit 3 and the address signal ADR is input to the address switching circuit 2. By advancing the clock signal CLK by one, the address signal ADR enters the address register 4 through the address switching circuit 2 and one write pulse signal WP is sent to the memory circuit 1.
The write data WTD is written in the memory circuit 1 through the write data switching circuit 3 by inputting the data into the memory circuit 1. At this time, the output of the memory circuit 1 is set to the read enable signal RE “0” so that the error determination circuit 7 does not cause an error.
外部より書込みデータ信号WTDとアドレス信号ADRを取
込み終ると、テストモード信号TMを“1"にし、ライトパ
ルス信号WPをさらに1発入れる。以後、クロック信号CL
Kを1発と、ライトパルス信号WPを2発入れることを繰
返すことにより、メモリ回路1の各アドレスに初期値が
書込まれる。各アドレスに総て書終ると、エラー判定回
路7を有効に働かせるようにリードイネーブル信号REを
“1"にし、再びクロック信号1発に対し、ライトパルス
信号WPを2発入力することをアドレス分繰り返す。途中
でメモリ回路1内にエラーが存在すると、エラー判定回
路7によりエラー状態を示す信号Soutが出力される。ラ
イトデータとしてのパターンには、一般に知られている
データのビット幅が4ビットの場合、1010または0101の
チェッカーボードパターンが最適である。When the write data signal WTD and the address signal ADR have been externally fetched, the test mode signal TM is set to "1" and one more write pulse signal WP is input. After that, the clock signal CL
The initial value is written in each address of the memory circuit 1 by repeating the input of one K and the input of two write pulse signals WP. When all addresses have been written, the read enable signal RE is set to "1" so that the error judgment circuit 7 can be effectively operated, and two write pulse signals WP are input for one clock signal again. repeat. When an error exists in the memory circuit 1 on the way, the error determination circuit 7 outputs a signal Sout indicating an error state. As a pattern as write data, a checkerboard pattern of 1010 or 0101 is most suitable when the bit width of generally known data is 4 bits.
このように、テストモードの場合、アドレスレジスタ
4と+1加算回路5とによってメモリ回路1へのアドレ
スが順次1つづつ進み、この各アドレス中に入力される
ライトパルスWPが2回繰返されることによって最初に与
えられたデータパターンとライトデータレジスタ6を通
るそのコンプリメント信号とがメモリ回路1の各メモリ
セルに書込まれる。そして、メモリ回路1の出力はこの
2つのデータパターンを読出してエラー判定回路7で排
他的論理和をチェックすることによって、メモリ回路1
の各メモリセルが“0"を“1"に誤るエラー、および“1"
を“0"に誤るエラーの両方がチェックされる。As described above, in the test mode, the address register 4 and the +1 adder circuit 5 sequentially advance the address to the memory circuit 1 one by one, and the write pulse WP input into each address is repeated twice. The initially applied data pattern and the complement signal passing through the write data register 6 are written in each memory cell of the memory circuit 1. Then, the output of the memory circuit 1 reads the two data patterns, and the error judgment circuit 7 checks the exclusive OR to thereby output the memory circuit 1
Error that each memory cell of "0" turns into "1", and "1"
Both errors that erroneously set to "0" are checked.
(発明が解決しようとする問題点) しかしながら、上記構成のメモリチェック回路では、
次のような問題点があった。(Problems to be Solved by the Invention) However, in the memory check circuit having the above configuration,
There were the following problems.
デコーダ及びメモリセルアレイを有するメモリ回路1
のデータビット長が大きい場合、ライトデータレジスタ
6のビット長も大きくする必要があるため、メモリチェ
ック回路の回路規模が著しく増大する。さらに、検査ア
ルゴリズムとしてチェッカーボードパターンを用いてい
るので、メモリマスクパターン設計での初歩的ミスによ
り発生したデコーダの多重選択障害等を検出しにくく、
メモリ回路1の故障検出能力が低いという問題もあっ
た。Memory circuit 1 having decoder and memory cell array
If the data bit length is large, it is necessary to increase the bit length of the write data register 6, so that the circuit scale of the memory check circuit is significantly increased. Further, since the checkerboard pattern is used as the inspection algorithm, it is difficult to detect the multiple selection failure of the decoder or the like caused by a rudimentary mistake in the memory mask pattern design,
There is also a problem that the failure detection capability of the memory circuit 1 is low.
本発明は前記従来技術が持っていた問題点として、メ
モリ回路のデータビット長が大きくなるとメモリチェッ
ク回路の回路規模が著しく増大する点と、故障検出能力
が低い点について解決したメモリチェク回路を提供する
ものである。The present invention provides a memory check circuit that solves the problems that the above-mentioned conventional techniques have, that the circuit scale of the memory check circuit increases significantly as the data bit length of the memory circuit increases, and that the fault detection capability is low. To do.
(問題点を解決するための手段) 本発明は前記問題点を解決するために、アドレス入力
端子、データ入力端子及びデータ出力端子を有する読み
書き可能なメモリ回路の試験を行うメモリチェック回路
において、クロック信号を計数する複数ビットのカウン
タと、複数の排他的論理和ゲートで構成され、前記カウ
ンタの最上位ビットを除く下位ビットの出力信号及びア
ドレス制御信号を入力し、該アドレス制御信号に応じて
最下位ビットの出力信号及びその反転信号を出力すると
共に、該最下位ビットの出力信号に応じて該最下位ビッ
トを除く該各下位ビットの出力信号及びその反転信号を
出力するコンプリメント回路と、テストモード信号に応
じて外部から供給されるアドレス信号を前記コンプリメ
ント回路の出力信号に切換えその出力信号を前記アドレ
ス入力端子に与えるアドレス切換回路と、前記テストモ
ード信号に応じて外部から供給されるデータ入力信号を
前記カウンタの最上位ビットの出力信号に切換えその出
力信号を前記データ入力端子に与えるデータ入力切換回
路と、前記データ出力端子から出力される読出し信号と
前記カウンタの最上位ビットの反転信号とを比較する比
較回路とを、備えている。(Means for Solving Problems) In order to solve the above problems, the present invention provides a clock in a memory check circuit for testing a readable and writable memory circuit having an address input terminal, a data input terminal and a data output terminal. It is composed of a multi-bit counter for counting signals and a plurality of exclusive OR gates, and inputs the output signal and the address control signal of the lower bits except the most significant bit of the counter, and outputs the maximum in response to the address control signal. A complement circuit that outputs an output signal of a lower bit and an inverted signal thereof and outputs an output signal of each lower bit except the least significant bit and an inverted signal thereof according to the output signal of the least significant bit, and a test The address signal supplied from the outside according to the mode signal is switched to the output signal of the complement circuit To the address input terminal, and a data input signal supplied from the outside in accordance with the test mode signal to the output signal of the most significant bit of the counter, and the data applied to the data input terminal. An input switching circuit and a comparison circuit for comparing the read signal output from the data output terminal with the inverted signal of the most significant bit of the counter are provided.
(作 用) 本発明によれば、以上のようにメモリチェック回路を
構成したので、カウンタの最上位ビットを用いてメモリ
回路に“0"または“1"が書込まれ、それによってメモリ
回路のビット長が増加しても、データ入力切換回路及び
比較回路のビット長を増加させるだけで済み、回路規模
の増加がおさえられる。さらに、コンプリメント回路は
アドレスをコンプリメントするように働くと共に、カウ
ンタ及びデータ入力切換回路ははマーチングパターンを
発生するように働き、それによってメモリのリード/ラ
イト動作不良、アドレスの多重選択故障、及びメモリデ
ータの保持動作不良等といったより多くのメモリ回路の
故障検出が可能となる。従って前記問題点を除去できる
のである。(Operation) According to the present invention, since the memory check circuit is configured as described above, “0” or “1” is written in the memory circuit by using the most significant bit of the counter, whereby the memory circuit Even if the bit length increases, it is only necessary to increase the bit length of the data input switching circuit and the comparison circuit, and the increase in circuit scale can be suppressed. Further, the complement circuit functions to complement the address, and the counter and the data input switching circuit function to generate the marching pattern, thereby causing a memory read / write operation failure, an address multiple selection failure, and It becomes possible to detect failures in a larger number of memory circuits such as a memory data holding operation failure. Therefore, the above problems can be eliminated.
(実施例) 第1図は本発明の実施例を示すメモリチェック回路の
構成ブロック図である。(Embodiment) FIG. 1 is a configuration block diagram of a memory check circuit showing an embodiment of the present invention.
このメモリチェック回路は、データ処理装置等に設け
られたメモリ回路10の機能試験を行うためのもので、そ
のメモリ回路10は例えばmビット×2nワードのスタテッ
ク型RAMで構成され、メモリセルアレイ、及びアドレス
信号ADRを解読してそのメモリセルを選択するデコーダ
等の他に、アドレス信号ADRを入力するアドレス入力端
子10a、メモリセルに対する書込みを可能にするライト
イネーブル信号WEを入力するライトイネーブル入力端子
10b、データ入力信号Dinを入力するデータ入力端子10
c、及び読出されたデータ出力信号Doutを出力するデー
タ出力端子10dを備えている。This memory check circuit is for performing a function test of the memory circuit 10 provided in a data processing device or the like, and the memory circuit 10 is composed of, for example, a static RAM of m bits × 2 n words, a memory cell array, In addition to a decoder for decoding the address signal ADR and selecting the memory cell, an address input terminal 10a for inputting the address signal ADR, a write enable input terminal for inputting a write enable signal WE enabling writing to the memory cell.
10b, data input terminal 10 for inputting data input signal Din
c and a data output terminal 10d for outputting the read data output signal Dout.
このようなメモリ回路10をチェックするためのメモリ
チェック回路は、リセット信号RESETによりリセットさ
れクロック信号CLKにより順次カウントアップする(n
+1)ビットのカウンタ11を有し、そのカウンタ11の下
位nビット20〜2n-1の出力信号はコンプリメント回路12
の入力側に接続され、そのコンプリメント回路12の出力
側がアドレス切換回路13に接続されている。またカウン
タ11の最上位ビット2nの出力信号は、データ入力切換回
路14に接続されると共に、信号反転用のインバータ15を
介して比較回路16に接続されている。The memory check circuit for checking the memory circuit 10 is reset by the reset signal RESET and sequentially counted up by the clock signal CLK (n
+1) has a counter 11 bits, low-order n bits 2 0 to 2 n-1 of the output signal complement circuit 12 of the counter 11
Is connected to the input side, and the output side of the complement circuit 12 is connected to the address switching circuit 13. The output signal of the most significant bit 2 n of the counter 11 is connected to the data input switching circuit 14 and also to the comparison circuit 16 via the signal inverting inverter 15.
ここで、コンプリメント回路12は、アドレス制御信号
ACによりカウンタ11の下位nビット20〜2n-1の出力信号
またはその1の補数信号を出力する回路であり、例えば
n個の排他的論理和ゲート(以下、ExORという)12−1
〜12−nで構成されている。カウンタ11の最下位ビット
20及びアドレス制御信号ACは最下位ビットのExOR12−1
入力側に接続され、同じくカウンタ11の下位ビット21〜
2n-1及び最下位ビット20は下位ビットの各ExOR12−2〜
12−nの入力側にそれぞれ接続されている。アドレス切
換回路13は、テストモード信号TMによって外部から供給
されるnビットアドレス信号ADRをコンプリメント回路1
2の出力信号に切換え、その出力信号をメモリ回路10の
アドレス入力端子10aに与える回路である。データ入力
切換回路14は、テストモード信号TMによって外部から供
給されるデータ入力信号Dinをカウンタ11の最上位ビッ
ト2nの出力信号に切換え、その出力信号をメモリ回路10
のデータ入力端子10cに与える回路である。また比較回
路16は、メモリ回路10から読出されたデータ出力信号Do
utと、カウンタ11の最上位ビット2nの出力信号をインバ
ータ15で反転した信号とを比較し、その比較結果に応じ
たエラー信号Pass/failを出力する回路である。Here, the complement circuit 12 receives the address control signal.
AC by a circuit that outputs an output signal or 1's complement signal that the lower n bits 2 0 to 2 n-1 of the counter 11, for example n-number of exclusive OR gates (hereinafter referred to as ExOR) 12-1
.About.12-n. Least significant bit of counter 11
2 0 and the address control signal AC is the least significant bit ExOR12-1
Is connected to the input side, also lower bits 2 1 ~ counter 11
2 n-1 and the least significant bit 2 0 of the lower bits each ExOR12-2~
They are connected to the input side of 12-n. The address switching circuit 13 complements the n-bit address signal ADR supplied from the outside by the test mode signal TM with the complement circuit 1.
It is a circuit that switches to an output signal of 2 and applies the output signal to the address input terminal 10a of the memory circuit 10. The data input switching circuit 14 switches the data input signal Din supplied from the outside by the test mode signal TM to the output signal of the most significant bit 2 n of the counter 11, and outputs the output signal.
This is a circuit which is given to the data input terminal 10c of. Further, the comparison circuit 16 uses the data output signal Do read from the memory circuit 10.
It is a circuit that compares ut with a signal obtained by inverting the output signal of the most significant bit 2 n of the counter 11 by the inverter 15 and outputting an error signal Pass / fail according to the comparison result.
第3図は第1図のタイムチャートであり、このタイム
チャートを参照しつつ第1図の動作(1)〜(6)を説
明する。FIG. 3 is a time chart of FIG. 1, and the operations (1) to (6) of FIG. 1 will be described with reference to this time chart.
なお、本実施例で、テスタパターンとして逐時行進す
るマーチングパターン(marching pattern)を用い、か
つアドレスシーケンスとしてアドレスコンプリメントを
用いている。In this embodiment, a marching pattern that marches in time is used as a tester pattern, and an address complement is used as an address sequence.
(1)起動時の動作 アドレス制御信号ACを論理“0"にし、テストモード信
号TMをイネーブル(=“1")にすると同時にリセット信
号RESETをカウンタ11に入力してそのカウンタ11をリセ
ットすると、メモリ回路10のアドレスは0番地に示す。(1) Operation at startup When the address control signal AC is set to logic "0", the test mode signal TM is enabled (= "1"), and the reset signal RESET is input to the counter 11 to reset the counter 11, The address of the memory circuit 10 is shown at address 0.
(2)初期設定動作 メモリ回路10のライトイネーブル端子10bにライトイ
ネーブル信号WEのパルスを入力すると、メモリ回路10の
アドレス(0番地)にカウンタ11の最上位ビット2nの信
号“0"が書込まれる。次に、カウンタ11にクロック信号
CLKの1パルスを入力すると、メモリ回路10のアドレス
(2n−1)番地を示す。以後、総てのアドレスに対して
ライトイネーブル信号WEの1パルスのクロック信号CLK
の1パルスを繰返して入力することにより、メモリ回路
10の各アドレスにオール“0"6が書込まれ、初期設定が
完了する。(2) Initial setting operation When a pulse of the write enable signal WE is input to the write enable terminal 10b of the memory circuit 10, the signal “0” of the most significant bit 2 n of the counter 11 is written to the address (address 0) of the memory circuit 10. Get caught. Next, the clock signal to the counter 11
When one pulse of CLK is input, the address (2 n -1) of the memory circuit 10 is shown. After that, the clock signal CLK of one pulse of the write enable signal WE for all addresses
By repeatedly inputting 1 pulse of
All “0” 6 is written to each address of 10, and the initial setting is completed.
なお、このステップではエラーを検出しないので、エ
ラー信号Pass/Fail及びデータ出力信号Doutはドント
ケアすればよい。またアドレスシーケンスは番地(0)
→(2n−1)→(2)→(2n−3)→(4)→(2n−
5)→…→(2n−4)→(3)→(2n−2)→(1)→
(0)となり、2n回クロックパルスを入力したことにな
って、カウンタ11の最上位ビット2nは“1"となる。Since no error is detected in this step, the error signal Pass / Fail and the data output signal Dout are don't
Just take care. The address sequence is the address (0)
→ (2 n -1) → (2) → (2 n -3) → (4) → (2 n −
5) → ... → (2 n -4) → (3) → (2 n −2) → (1) →
(0), the clock pulse is input 2 n times, and the most significant bit 2 n of the counter 11 becomes “1”.
(3)“0"リード、“1"ライトの動作 前記(2)の操作により、メモリ回路10の全ビットに
は“0"が書込まれ、ライトイネーブル信号WEの“1"でア
ドレス(0番地)の内容がデータ出力信号Doutの形で読
出される。すると比較回路16は、カウンタ11の最上位ビ
ット2nの信号“1"がインバータ15で反転された信号“0"
と、データ出力信号Doutとを比較し、両者の一致、不一
致を判定してエラー信号Pass/Failを出力する。メモリ
回路10から読出されたデータ出力信号Doutのmビットが
総て“0"ならば、そのデータ出力信号Doutとインバータ
15の出力とが一致するため、正常状態を示す“1"のエラ
ー信号Passが出力され、前記データ出力信号Doutのmビ
ットのうちのどれか1ビットでも“1"になっていれば、
不一致状態(異常状態)を示す“0"のエラー信号Failが
出力される。(3) Operation of "0" read and "1" write By the operation of (2), "0" is written in all bits of the memory circuit 10, and the address (0 The contents of the address) are read in the form of the data output signal Dout. Then, the comparison circuit 16 outputs the signal “0” in which the signal “1” of the most significant bit 2 n of the counter 11 is inverted by the inverter 15.
And the data output signal Dout are compared with each other to determine whether they match or not, and output an error signal Pass / Fail. If all m bits of the data output signal Dout read from the memory circuit 10 are "0", the data output signal Dout and the inverter
Since the output of 15 matches, the error signal Pass of "1" indicating the normal state is output, and if any one of the m bits of the data output signal Dout is "1",
An error signal Fail of "0" indicating a mismatched state (abnormal state) is output.
次に、ライトイネーブルWEの1パルスをメモリ回路10
のライトイネーブル端子10bに入力すると、そのライト
イネーブルパルス“0"でメモリ回路10におけるmビット
のアドレス(0番地)にはオール“1"が書込まれ、“1"
のデータ出力信号Doutが出力され、エラー信号pass/Fai
lは“0"になる。続いてクロック信号CLKの1パルスをカ
ウンタ11に入力すると、メモリ回路10のアドレスは(2n
−1)番地を示す。以後、総てのアドレスに対してライ
トイネーブル信号WEの1パルスとクロック信号CLKの1
パルスとを繰返して入力することにより、各アドレスの
内容をライトイネーブル信号WEの“1"で読出し、そのラ
イトイネーブル信号WEの“0"でオール“1"を書込む操作
をして“0"リード、“1"ライトのテストをする。Next, one pulse of write enable WE is applied to the memory circuit 10
When input to the write enable terminal 10b of, the write enable pulse “0” writes all “1” to the m-bit address (address 0) in the memory circuit 10, and outputs “1”.
The data output signal Dout of is output and the error signal pass / Fai
l becomes “0”. Then, when one pulse of the clock signal CLK is input to the counter 11, the address of the memory circuit 10 becomes (2 n
-1) Shows the address. After that, one pulse of the write enable signal WE and one pulse of the clock signal CLK for all addresses.
By repeatedly inputting a pulse and a pulse, the contents of each address are read by the write enable signal WE of "1", and all "1" are written by the write enable signal WE of "0". Test read and "1" write.
この操作で、2n回クロック信号CLKのパルスをカウン
タ11に入力したことにより、それによってカウンタ11の
全ビットは“0"になっている。By this operation, the pulse of the clock signal CLK is input to the counter 11 2 n times, whereby all the bits of the counter 11 become “0”.
(4)“1"リード、“0"ライトの動作 前記(3)の操作によってメモリ回路10の全ビットに
は“1"が書込まれており、前記(3)と同様の操作によ
って“1"リード、“0"ライトのテストをする。(4) Operation of "1" read and "0" write "1" is written in all bits of the memory circuit 10 by the operation of (3), and "1" is written by the same operation as (3). "Read," 0 "write test.
(5)“0"リード、“1"ライトの動作 前記(4)の操作によってメモリ回路10の全ビットに
は“0"が書込まれる。次に、アドレス制御信号ACを“1"
にすると、コンプリメント回路12の出力がアドレス切換
回路13を通してメモリ回路10のアドレス入力端子10aに
与えられ、そのメモリ回路10のアドレスは(1)番地を
示す。以後、ライトイネーブル信号WEの1パルスとクロ
ック信号CLKの1パルスとを繰返して入力し、前記
(2)と同様に“0"リード、“1"ライトのテストを行
う。このとき、アドレスシーケンシは番地(1)→(2n
−2)→(3)→(2n−4)→…→(2n−3)→(2)
→(2n−1)→(0)→(1)となり、前記(2)で実
施したアドレスシーケンスを逆にたどる。(5) "0" read and "1" write operations "0" is written in all the bits of the memory circuit 10 by the operation of (4). Next, set the address control signal AC to "1".
Then, the output of the complement circuit 12 is given to the address input terminal 10a of the memory circuit 10 through the address switching circuit 13, and the address of the memory circuit 10 indicates the address (1). After that, one pulse of the write enable signal WE and one pulse of the clock signal CLK are repeatedly input, and the "0" read and "1" write tests are performed as in (2) above. At this time, the address sequence is address (1) → (2 n
-2) → (3) → (2 n -4) → ... → (2 n -3) → (2)
→ (2 n -1) → (0) → (1), and the address sequence performed in the above (2) is traced in reverse.
(6)“1"リード、“0"ライトの動作 前記(5)の操作によってメモリ回路10の全ビットに
は“1"が書込まれ、前記(5)と同様の操作によって
“1"リード、“0"ライトのテストを行えば、メモリ回路
10のテストが終了する。(6) "1" read and "0" write operations "1" is written in all bits of the memory circuit 10 by the operation of (5), and "1" read by the same operation as (5). , "0" write test, memory circuit
10 tests are over.
本実施例では、次のような利点を有する。 This embodiment has the following advantages.
(a) カウンタ11の最上位ビット2nの信号を用いてメ
モリ回路10に“0"または“1"を書込むようにしたもの
で、メモリ回路10のビット長が増加しても、データ入力
切換回路14と比較回路16のビット長を増加させるだけで
よく、回路規模の増大を抑制できる。(A) “0” or “1” is written in the memory circuit 10 by using the signal of the most significant bit 2 n of the counter 11, so that even if the bit length of the memory circuit 10 increases, data input It is only necessary to increase the bit lengths of the switching circuit 14 and the comparison circuit 16, and it is possible to suppress an increase in circuit scale.
(b) コンプリメント回路12でアドレスをコンプリメ
ントすると共に、カウンタ11及びデータ入力切換回路14
でマーチングパターンを発生するようにしたので、周期
的なアドレス選択では見出せないメモリ回路10内のアド
レスデコーダの動作の不安定性(アドレスの多重選択故
障)やアドレス切換え時の誤動作を検出できる。さら
に、メモリ回路10内のアドレスデコーダの検査(アドレ
スの多重選択故障検査)、書込み時における雑音のメモ
リ特性への影響の検査(メモリデータの保持動作不良検
査)、及びメモリのリード/ライト動作の不良検査等が
できるので、より多くのメモリ回路の故障検出が可能に
なる。(B) The complement circuit 12 complements the address, and the counter 11 and the data input switching circuit 14
Since the marching pattern is generated by, the instability of the operation of the address decoder in the memory circuit 10 (address multiple selection failure) and the malfunction at the time of address switching, which cannot be found by the periodic address selection, can be detected. Further, inspection of an address decoder in the memory circuit 10 (address multiple selection failure inspection), inspection of influence of noise at writing on memory characteristics (memory data holding operation failure inspection), and memory read / write operation Since defect inspection and the like can be performed, it becomes possible to detect failures in more memory circuits.
(c) 簡単な操作でメモリチェック回路で起動できる
ので、メモリ回路10の経時変化テスト(エージング・テ
スト)にも利用できる。(C) Since it can be activated by the memory check circuit with a simple operation, it can also be used for a aging test (aging test) of the memory circuit 10.
なお、本発明は図示の実施例に限定されず、例えばコ
ンプリメント回路12をExOR12−1〜12n以外の回路で構
成したり、メモリ回路10をスタティック型RAM以外のメ
モリで構成する等、種々の変形が可能である。Note that the present invention is not limited to the illustrated embodiment, for example, the complement circuit 12 may be configured by a circuit other than ExOR 12-1 to 12n, the memory circuit 10 may be configured by a memory other than the static RAM, or the like. Deformation is possible.
(発明の効果) 以上詳細に説明したように、本発明によれば、カウン
タの最上位ビットを用いてメモリ回路に“0"または“1"
を書込むようにしたので、メモリ回路のビット長が増加
してもデータ入力切換回路及び比較回路のビット長を増
加させるだけでよく、それによって回路規模の大型化を
極力おさえることができる。(Effects of the Invention) As described in detail above, according to the present invention, the most significant bit of the counter is used to add "0" or "1" to the memory circuit.
Therefore, even if the bit length of the memory circuit is increased, it is only necessary to increase the bit length of the data input switching circuit and the comparison circuit, and thereby the increase in the circuit scale can be suppressed as much as possible.
しかも、マーチングパターンを用いるメモリチェック
回路に、カウンタから出力される最上位ビット、最下位
ビットを除くビットの出力信号を反転したり、しなかっ
たりするコンプリメント回路を設けたので、このコンプ
リメント回路の出力信号に基づいてアドレスをコンプリ
メントに与え、各故障を見つけるテストを行うことがで
きる。さらに、このコンプリメント回路は、アドレス制
御信号に応じて最下位ビットの出力信号あるいはその反
転信号をアドレス切換回路を介してアドレス入力端子に
与えることで、最下位ビットの反転信号により、アドレ
ス信号をコンプリメントに与えるシーケンスを逆順に制
御することができるので、アドレス遷移によるデコーダ
の不良を検出することができる。その結果、メモリのリ
ード/ライト動作不良、アドレスの多重選択故障、ビッ
ト間干渉等、より多くのメモリ回路の故障検出が可能で
ある。Moreover, since the memory check circuit using the marching pattern is provided with a complement circuit for inverting or not inverting the output signals of the bits except the most significant bit and the least significant bit output from the counter, this complement circuit An address can be provided to the compliment based on the output signal of to test each fault. Further, this complement circuit applies the output signal of the least significant bit or its inverted signal to the address input terminal via the address switching circuit according to the address control signal, so that the address signal is generated by the inverted signal of the least significant bit. Since the sequence given to the complement can be controlled in the reverse order, the defect of the decoder due to the address transition can be detected. As a result, more memory circuit failures such as memory read / write operation failure, address multiple selection failure, and bit interference can be detected.
第1図は本発明の実施例を示すメモリチェック回路の構
成ブロック図、第2図は従来のメモリチェック回路の構
成ブロック図、第3図は第1図のタイムチャートであ
る。 10……メモリ回路、10a……アドレス入力端子、10b……
ライトイネーブル端子、10c……データ入力端子、10d…
…データ出力端子、11……カウンタ、12……コンプリメ
ント回路、13……アドレス切換回路、14……データ入力
切換回路、15……インバータ、16……比較回路、AC……
アドレス制御信号、ADR……アドレス信号、CLK……クロ
ック信号、Din……データ入力信号、Dout……データ出
力信号、RESET……リセット信号、TM……テストモード
信号、WE……ライトイネーブル信号。FIG. 1 is a block diagram of a memory check circuit showing an embodiment of the present invention, FIG. 2 is a block diagram of a conventional memory check circuit, and FIG. 3 is a time chart of FIG. 10 …… Memory circuit, 10a …… Address input terminal, 10b ……
Write enable terminal, 10c ... Data input terminal, 10d ...
… Data output terminal, 11 …… Counter, 12 …… Complement circuit, 13 …… Address switching circuit, 14 …… Data input switching circuit, 15 …… Inverter, 16 …… Comparison circuit, AC ……
Address control signal, ADR ... Address signal, CLK ... Clock signal, Din ... Data input signal, Dout ... Data output signal, RESET ... Reset signal, TM ... Test mode signal, WE ... Write enable signal.
Claims (1)
ータ出力端子を有する読み書き可能なメモリ回路の試験
を行うメモリチェック回路において、 クロック信号を計数する複数ビットのカウンタと、 複数の排他的論理和ゲートで構成され、前記カウンタの
最上位ビットを除く下位ビットの出力信号及びアドレス
制御信号を入力し、該アドレス制御信号に応じて最下位
ビットの出力信号及びその反転信号を出力すると共に、
該最下位ビットの出力信号に応じて該最下位ビットを除
く該各下位ビットの出力信号及びその反転信号を出力す
るコンプリメント回路と、 テストモード信号に応じて外部から供給されるアドレス
信号を前記コンプリメント回路の出力信号に切換えその
出力信号を前記アドレス入力端子に与えるアドレス切換
回路と、 前記テストモード信号に応じて外部から供給されるデー
タ入力信号を前記カウンタの最上位ビットの出力信号に
切換えその出力信号を前記データ入力端子に与えるデー
タ入力切換回路と、 前記データ出力端子から出力される読出し信号と前記カ
ウンタの最上位ビットの反転信号とを比較する比較回路
とを、 備えたことを特徴とするメモリチェック回路。1. A memory check circuit for testing a readable / writable memory circuit having an address input terminal, a data input terminal and a data output terminal, wherein a multi-bit counter for counting a clock signal and a plurality of exclusive OR gates are provided. And inputting the output signal and the address control signal of the lower bit excluding the most significant bit of the counter, and outputting the output signal of the least significant bit and its inverted signal according to the address control signal,
A complement circuit for outputting the output signal of each lower bit except the least significant bit and its inverted signal according to the output signal of the least significant bit, and an address signal supplied from the outside in response to a test mode signal. An address switching circuit that switches to an output signal of a complement circuit and supplies the output signal to the address input terminal, and a data input signal that is externally supplied according to the test mode signal and switches to the output signal of the most significant bit of the counter. A data input switching circuit for applying the output signal to the data input terminal; and a comparison circuit for comparing the read signal output from the data output terminal with the inverted signal of the most significant bit of the counter. And a memory check circuit.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP62256471A JP2551601B2 (en) | 1987-10-12 | 1987-10-12 | Memory check circuit |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP62256471A JP2551601B2 (en) | 1987-10-12 | 1987-10-12 | Memory check circuit |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH0198199A JPH0198199A (en) | 1989-04-17 |
| JP2551601B2 true JP2551601B2 (en) | 1996-11-06 |
Family
ID=17293096
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP62256471A Expired - Lifetime JP2551601B2 (en) | 1987-10-12 | 1987-10-12 | Memory check circuit |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP2551601B2 (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH09139096A (en) * | 1995-11-14 | 1997-05-27 | Nec Corp | Ram testing circuit of logic lsi |
Family Cites Families (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS6154550A (en) * | 1984-08-24 | 1986-03-18 | Hitachi Ltd | Integration circuit device |
-
1987
- 1987-10-12 JP JP62256471A patent/JP2551601B2/en not_active Expired - Lifetime
Also Published As
| Publication number | Publication date |
|---|---|
| JPH0198199A (en) | 1989-04-17 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US5410687A (en) | Analyzing device for saving semiconductor memory failures | |
| US6907555B1 (en) | Self-test circuit and memory device incorporating it | |
| JP3652845B2 (en) | Linear feedback shift register, multiple input symbol register, and built-in self-diagnosis circuit using them | |
| JPS63102098A (en) | Integrated circuit | |
| JPH04178580A (en) | Self diagnostic device for semiconductor memory | |
| US7464309B2 (en) | Method and apparatus for testing semiconductor memory device and related testing methods | |
| US6041426A (en) | Built in self test BIST for RAMS using a Johnson counter as a source of data | |
| JP4353329B2 (en) | Semiconductor memory device and test method thereof | |
| JP2551601B2 (en) | Memory check circuit | |
| US4682331A (en) | Logic circuit with self-test | |
| US20080013389A1 (en) | Random access memory including test circuit | |
| JP2937811B2 (en) | Semiconductor integrated circuit test circuit and test method thereof | |
| JPS62299000A (en) | Semiconductor memory | |
| JPH05165734A (en) | Fixed failure diagnostic device for main memory | |
| KR950006214B1 (en) | Pattern memory circuit with self-checking circuit | |
| JPH11120796A (en) | Semiconductor storage device and method of testing semiconductor storage device | |
| US20240395354A1 (en) | Semiconductor storage device | |
| KR960004061B1 (en) | Non-stop Self Diagnosis Device | |
| SU1249590A1 (en) | Storage with self-checking | |
| JPS6132756B2 (en) | ||
| JPS6167162A (en) | Memory-checking circuit | |
| EP0971362B1 (en) | Data integrity checking apparatus | |
| JP3173648B2 (en) | Failure detection method | |
| JPH1186595A (en) | Semiconductor memory test device | |
| JPH1196793A (en) | Semiconductor memory test device |