JP2008293652A - Synchronous type semiconductor memory device and its test method - Google Patents

Synchronous type semiconductor memory device and its test method Download PDF

Info

Publication number
JP2008293652A
JP2008293652A JP2008205696A JP2008205696A JP2008293652A JP 2008293652 A JP2008293652 A JP 2008293652A JP 2008205696 A JP2008205696 A JP 2008205696A JP 2008205696 A JP2008205696 A JP 2008205696A JP 2008293652 A JP2008293652 A JP 2008293652A
Authority
JP
Japan
Prior art keywords
address
data
output
test
circuit
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
JP2008205696A
Other languages
Japanese (ja)
Inventor
Tsukasa Oishi
司 大石
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.)
Renesas Technology Corp
Original Assignee
Renesas Technology 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 Renesas Technology Corp filed Critical Renesas Technology Corp
Priority to JP2008205696A priority Critical patent/JP2008293652A/en
Publication of JP2008293652A publication Critical patent/JP2008293652A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • For Increasing The Reliability Of Semiconductor Memories (AREA)
  • Dram (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a synchronous type semiconductor memory device in which the number of observation pins can be reduced during a test, while output can be performed decreasing a data rate. <P>SOLUTION: The device includes a coincidence detecting circuit 250 which detects coincidence of data output to a plurality of data terminals in an input/output circuit part. Same results are written in latches 146, 148 during a test time and they are read out alternately in accordance with a clock signal. Therefore, the test result can be output from a terminal which outputs data with double data rate during normal operation decreasing the data rate. Observation can be performed by a tester having low performance also and a test cost can be reduced. <P>COPYRIGHT: (C)2009,JPO&INPIT

Description

この発明は、同期型半導体記憶装置およびそのテスト方法に関し、より特定的にはクロックに同期してデータの入出力を行なう入出力回路およびそれを備える同期型半導体記憶装置およびそのテスト方法に関する。   The present invention relates to a synchronous semiconductor memory device and a test method thereof, and more particularly to an input / output circuit that inputs / outputs data in synchronization with a clock, a synchronous semiconductor memory device including the same, and a test method thereof.

従来、半導体装置、たとえば半導体記憶装置に用いられるデータ入出力回路では、出力する複数のデータを内部クロックに対し位相をずらすことで、クロック周波数より高いレートで半導体記憶装置内部から半導体記憶装置外部へとデータの転送を行なっていた。   2. Description of the Related Art Conventionally, in a data input / output circuit used in a semiconductor device, for example, a semiconductor memory device, by shifting the phase of a plurality of data to be output with respect to an internal clock, the data is transferred from the semiconductor memory device to the outside of the semiconductor memory device at a rate higher than the clock frequency. And was transferring data.

また、検査コストを下げるために、チップ自身にメモリセルの読出および書込テストをする機能を搭載するBIST(ビルトインセルフテスト)を採用する場合が増えてきている。   In addition, in order to reduce the inspection cost, there is an increasing number of cases where a BIST (Built-in Self Test) in which the chip itself has a function of performing a memory cell reading and writing test is employed.

図67は、従来のBIST(ビルトインセルフテスト)機能付のメモリのブロック構成を示すブロック図である。   FIG. 67 is a block diagram showing a block configuration of a memory with a conventional BIST (built-in self test) function.

図67を参照して、このメモリは、制御信号/RAS、/CAS、/WEに応じて内部の動作クロックを発生するクロック発生回路CKGと、外部よりアドレス信号AIを受けるアドレスバッファADBと、クロック発生回路CKGが発生するクロックにともに従い、アドレス信号をデコードするXデコーダXDEC、YデコーダYDECと、外部とデータの授受と行なうメモリセルアレイMAとを備える。   Referring to FIG. 67, this memory includes a clock generation circuit CKG for generating an internal operation clock in response to control signals / RAS, / CAS, / WE, an address buffer ADB for receiving address signal AI from the outside, a clock In accordance with a clock generated by the generation circuit CKG, an X decoder XDEC and a Y decoder YDEC for decoding an address signal and a memory cell array MA for exchanging data with the outside are provided.

このメモリは、さらに、セルフテスト回路STCを備える。セルフテスト回路STCは、コード化されたテスト手順を記憶するROMと、プログラムカウンタPCと、アドレスカウンタACとデータ発生回路DGと、データ比較回路DCおよびテストクロック発生回路TCGとを含む。   The memory further includes a self test circuit STC. Self-test circuit STC includes a ROM for storing a coded test procedure, a program counter PC, an address counter AC, a data generation circuit DG, a data comparison circuit DC, and a test clock generation circuit TCG.

セルフテスト時には、プログラムカウンタPCは搭載したROMから所望の命令を読出すため、その命令が格納されているROMのアドレスを指定する。そして、ROMは、プログラムカウンタPC、アドレスカウンタAC、データ発生回路DG、データ比較回路DCおよびテストクロック発生回路TCGを制御してメモリテストを進めるためのコード化されたテスト手順を順次出力する。   During the self-test, the program counter PC reads a desired instruction from the mounted ROM, and therefore designates the address of the ROM storing the instruction. The ROM sequentially outputs a coded test procedure for controlling the program counter PC, the address counter AC, the data generation circuit DG, the data comparison circuit DC, and the test clock generation circuit TCG to advance the memory test.

このようなセルフテスト回路を半導体記憶装置に内蔵することにより、高性能なテストを簡易なテスタ装置でも実施することが可能であり、テストコストの削減を図ることができる。   By incorporating such a self-test circuit in the semiconductor memory device, a high-performance test can be performed even with a simple tester device, and the test cost can be reduced.

しかし、データ入出力回路では、近年の半導体装置の動作の高速化に伴い、複数のデータをインタリーブすると、外部に接続された回路がピックアップする際に、データ同士の衝突が発生したり、また、誤ったデータをピックアップしてしまうという問題点があった。   However, in the data input / output circuit, when a plurality of data are interleaved with the recent increase in the operation speed of the semiconductor device, when the circuit connected to the outside picks up, a collision between the data occurs, There was a problem of picking up incorrect data.

メモリ容量が1Gビットにも及ぶ巨大な同期型半導体記憶装置になると、内部での信号、特に、チップ全体の動作を制御するクロックのスキューが大きくなり、このスキューはチップ動作周波数を制限することになる。特に、外部から入力される基準クロックをクロックバッファで受信した後、そのクロックをもとにアドレスやデータ、コマンドの受信を実施する場合等では、受信したクロックを各アドレスやデータ、コマンドの入力端子まで分配する必要があり、このクロックの伝達に要する遅延がチップの性能を制限することになる。同時に、出力の際にも、出力バッファをクロックをもとに制御する場合には、クロックスキューの分だけ出力が遅延することになり、外部で受信される出力データのマージンを損なうこととなる。   When a huge synchronous semiconductor memory device having a memory capacity as large as 1 Gbit is used, the skew of an internal signal, particularly a clock for controlling the operation of the entire chip increases, and this skew limits the chip operating frequency. Become. In particular, after receiving a reference clock input from the outside with a clock buffer, when receiving addresses, data, and commands based on that clock, the received clock is input to each address, data, and command. The delay required to transmit this clock will limit the performance of the chip. At the same time, when the output buffer is controlled based on the clock, the output is delayed by the amount of clock skew, and the margin of output data received externally is impaired.

また、第2の問題点として、半導体記憶装置の動作の高速化に伴い、その製造工程中あるいは製品出荷前段階における動作テストには、以下のような問題点が存在している。   As a second problem, with the increase in the operation speed of the semiconductor memory device, there are the following problems in the operation test during the manufacturing process or before the product shipment.

すなわち、半導体記憶装置の記憶容量の増大に伴い、そのテストに要する時間も増大し、このことは、ひいてはテストに要するコストの増大ならびに製品そのものの製造コストの増大をもたらしている。   That is, as the storage capacity of the semiconductor memory device increases, the time required for the test also increases, which in turn increases the cost required for the test and the manufacturing cost of the product itself.

従来、半導体記憶装置の記憶容量の増大に伴うテスト時間の増加に対する対策としては、まず、複数の半導体記憶装置を並列してテストすることにより、テスト効率を向上させることが行なわれている。しかしながら、上述したような半導体記憶装置の記憶容量の増大は、たとえば、半導体記憶装置に与えるアドレス信号のビット数の増大およびデータ入出力インタフェースの多ビット化等をもたらし、1つの半導体記憶装置当りの制御信号の入力ピンの数および入出力ピンの数が増大することによって、同時並列に試験することが可能な半導体記憶装置の数が制限されることとなっている。   Conventionally, as a countermeasure against an increase in test time accompanying an increase in storage capacity of a semiconductor memory device, first, a plurality of semiconductor memory devices are tested in parallel to improve test efficiency. However, the increase in the storage capacity of the semiconductor memory device as described above results in, for example, an increase in the number of bits of the address signal given to the semiconductor memory device and an increase in the number of data input / output interfaces. As the number of control signal input pins and input / output pins increases, the number of semiconductor memory devices that can be tested simultaneously in parallel is limited.

一度に、テスタ装置において同時測定できる半導体記憶装置のチップ数は、テスタ側が有するピンの数とチップ側が必要とするピンの数の関係で決まり、一般には以下の式で表わされる。   The number of semiconductor memory device chips that can be simultaneously measured in the tester device is determined by the relationship between the number of pins on the tester side and the number of pins required on the chip side, and is generally represented by the following equation.

(テスタ装置の有するピンの数)/(チップの必要とするピンの数)>(同時測定できるチップ数)
さらには、半導体記憶装置自体の動作速度が向上するのに合せて、それをテストするためのテスタ装置の動作速度をも向上させるものとすると、極めて高価なテスタ装置が必要となり、このことも試験コストの増大をもたらす。
(Number of pins of tester device) / (Number of pins required for chip)> (Number of chips that can be measured simultaneously)
Furthermore, if the operation speed of the tester device for testing the semiconductor memory device itself is improved as the operation speed of the semiconductor memory device itself is improved, an extremely expensive tester device is required. Increases costs.

第3の問題点として、同期型半導体記憶装置はBIST(ビルトインセルフテスト)やDLL(ディレイロックドループ)によるクロックの発生等複雑なシステムを採用してコスト低減や機能向上を図っているが、これらの回路は外部から動作状態を観測することが難しいという問題点があった。   As a third problem, the synchronous semiconductor memory device employs a complicated system such as clock generation by BIST (built-in self test) or DLL (delay locked loop) to reduce costs and improve functions. This circuit has a problem that it is difficult to observe the operation state from the outside.

この発明の目的は、検査時に使用する端子数をへらすことにより1台のテスタ装置で同時に測定できるチップ数を増やすことや、観測すべき出力データのデータレートを落とすことにより高価な高性能のテスタ装置を使用することなく検査可能とすることにより、検査コストを下げることができる同期型半導体記憶装置を提供することである。   An object of the present invention is to increase the number of chips that can be simultaneously measured by one tester device by reducing the number of terminals used at the time of inspection, and to reduce the data rate of output data to be observed, thereby reducing the data rate of output data to be observed. An object of the present invention is to provide a synchronous semiconductor memory device capable of reducing the inspection cost by enabling inspection without using the device.

この発明の他の目的は、動作時には動作が外部からは直接的に観測できない内部回路の状態を入出力回路を介して外部から観測可能とすることにより内部回路の検査や評価が容易な同期型半導体記憶装置を提供することである。   Another object of the present invention is to provide a synchronous type that facilitates inspection and evaluation of the internal circuit by enabling the state of the internal circuit that cannot be directly observed from the outside during operation to be observed from the outside via an input / output circuit. A semiconductor memory device is provided.

この発明は要約すると、同期型半導体記憶装置であって、メモリアレイと、メモリアレイから第1、第2の記憶データをアドレス信号に応じて一括して読出しを行なう読出回路と、第1、第2の記憶データをそれぞれ受ける第1、第2のデータバスと、第1、第2のデータバスから第1、第2の記憶データを受ける第1の入出力回路とを備え、第1の入出力回路は、第1、第2の記憶データをともに受け、第1、第2の出力データを出力するデータ処理部を含み、データ処理部は、通常動作時には第1、第2の出力データとしてそれぞれ第1、第2の記憶データを出力し、テスト時には第1、第2の記憶データに所定の変換処理を施し第1、第2の出力データを発生し、同期型半導体記憶装置は、第1、第2の出力データをそれぞれ受ける第1、第2のデータ保持回路と、第1、第2のデータ保持回路が保持した第1、第2の出力データをうけて、クロック信号に応じて交互に出力する出力回路とをさらに含み、出力回路の出力を受ける第1の出力ノードをさらに備える。   In summary, the present invention is a synchronous semiconductor memory device, a memory array, a read circuit that reads first and second storage data from the memory array in response to an address signal, and first and second First and second data buses for receiving the two stored data, respectively, and a first input / output circuit for receiving the first and second stored data from the first and second data buses. The output circuit includes a data processing unit that receives both the first and second storage data and outputs the first and second output data. The data processing unit serves as the first and second output data during normal operation. First and second storage data are output, respectively, and a predetermined conversion process is performed on the first and second storage data during the test to generate first and second output data. First and second output data respectively received And a second data holding circuit and an output circuit for receiving the first and second output data held by the first and second data holding circuits and alternately outputting them in response to a clock signal, A first output node for receiving the output of the circuit is further provided.

好ましくは、同期型半導体記憶装置は、通常動作時にメモリアレイから第1、第2の記憶データとともに一括して読み出される第3、第4の記憶データを受けて、クロック信号に応じて交互に出力する第2の入出力回路と、通常動作時に第2の入出力回路の出力を受ける第2の出力ノードとをさらに備え、データ処理部は、少なくとも第1の記憶データと第3の記憶データとの一致判定結果に応じて第1の出力データをテスト時に出力する第1の縮退回路と、少なくとも第2の記憶データと第4の記憶データとの一致判定結果に応じて第2の出力データをテスト時に出力する第2の縮退回路とを含む。   Preferably, the synchronous semiconductor memory device receives the third and fourth storage data that are read together with the first and second storage data from the memory array during normal operation, and outputs them alternately according to the clock signal. And a second output node that receives the output of the second input / output circuit during normal operation, and the data processing unit includes at least first storage data and third storage data The first degeneration circuit that outputs the first output data during the test according to the coincidence determination result, and the second output data according to the coincidence determination result between at least the second storage data and the fourth storage data And a second degeneration circuit that outputs during the test.

より好ましくは、同期型半導体記憶装置は、通常動作時にメモリアレイから第1、第2の記憶データとともに一括して読み出される第5、第6の記憶データを受けて、クロック信号に応じて交互に出力する第3の入出力回路と、通常動作時に第3の入出力回路の出力を受ける第3の出力ノードとをさらに備え、第1の縮退回路は、少なくとも第1の記憶データと第3の記憶データとの一致判定を行なう第1の一致判定回路と、少なくとも第1の記憶データと第5の記憶データとの一致判定を行なう第2の一致判定回路と、第1、第2の一致判定回路がともに一致を検出したときに、テスト時に第1の出力データを活性化する第1のゲート回路とを有し、第2の縮退回路は、少なくとも第2の記憶データと第4の記憶データとの一致判定を行なう第3の一致判定回路と、少なくとも第2の記憶データと第6の記憶データとの一致判定を行なう第4の一致判定回路と、第3、第4の一致判定回路がともに一致を検出したときに、テスト時に第2の出力データを活性化する第2のゲート回路とを有する。   More preferably, the synchronous semiconductor memory device receives the fifth and sixth storage data read together with the first and second storage data from the memory array during normal operation, and alternately according to the clock signal. A third input / output circuit for outputting and a third output node for receiving an output of the third input / output circuit during normal operation, wherein the first degeneration circuit includes at least the first storage data and the third output node; A first coincidence determination circuit for performing coincidence determination with stored data, a second coincidence determination circuit for performing coincidence determination between at least first storage data and fifth storage data, and first and second coincidence determinations A first gate circuit that activates the first output data during the test when both the circuits detect coincidence, and the second degeneration circuit includes at least the second storage data and the fourth storage data. Match with When the third coincidence determination circuit, the fourth coincidence determination circuit that performs coincidence determination between at least the second storage data and the sixth storage data, and the third and fourth coincidence determination circuits both detect coincidence. And a second gate circuit for activating the second output data during the test.

好ましくは、同期型半導体記憶装置は、通常動作時にメモリアレイから第1、第2の記憶データとともに一括して読み出される第3、第4の記憶データを受けて、クロック信号に応じて交互に出力する第2の入出力回路と、通常動作時に第2の入出力回路の出力を受ける第2の出力ノードとをさらに備え、データ処理部は、少なくとも第1ないし第4の記憶データが一致することを判定し、判定結果をともに第1、第2の出力データとしてテスト時に出力する第1の一致判定回路を含む。   Preferably, the synchronous semiconductor memory device receives the third and fourth storage data that are read together with the first and second storage data from the memory array during normal operation, and outputs them alternately according to the clock signal. And a second output node that receives the output of the second input / output circuit during normal operation, and the data processing unit has at least the first to fourth storage data match. And a first coincidence determination circuit that outputs the determination results as first and second output data during the test.

より好ましくは、出力回路は、クロック信号の活性化、不活性化にそれぞれ応じて第1、第2の出力データを出力する。   More preferably, the output circuit outputs first and second output data in response to activation and inactivation of the clock signal, respectively.

この発明の他の局面における同期型半導体記憶装置は、メモリアレイと、メモリアレイに対するセルフテストの実行を制御し、メモリアレイにアドレス信号とコマンド信号とを与え、かつ、記憶データを授受するBIST(ビルトインセルフテスト)制御回路と、セルフテストが実行可能かどうかをテストする予備テストを実行する予備テストモード時に、予備テストのテスト結果を出力する第1の端子とを備える。   A synchronous semiconductor memory device according to another aspect of the present invention controls a memory array, execution of a self test for the memory array, provides an address signal and a command signal to the memory array, and transmits / receives stored data. (Built-in Self Test) A control circuit and a first terminal for outputting a test result of the preliminary test in a preliminary test mode for executing a preliminary test for testing whether the self test can be executed.

好ましくは、同期型半導体記憶装置は、セルフテストの実行を指定するために第1の電源電位を超える第1の所定電位が加えられる第2の端子と、第2の端子に所定の電位が与えられたことを検知する検知回路と、検知回路の出力に応じてBIST実行フラグがセットされ、BIST実行フラグをBIST制御回路に対して出力するフラグ保持部と、検知回路が検知をしたことを予備テストモードにおいて第1の端子に出力する出力回路とを含む。   Preferably, the synchronous semiconductor memory device has a second terminal to which a first predetermined potential exceeding the first power supply potential is applied in order to designate execution of a self test, and a predetermined potential is applied to the second terminal. A detection circuit that detects the occurrence of the failure, a BIST execution flag that is set according to the output of the detection circuit, a flag holding unit that outputs the BIST execution flag to the BIST control circuit, and a preliminary detection that the detection circuit has detected And an output circuit for outputting to the first terminal in the test mode.

好ましくは、BIST制御回路は、セルフテストの手順に対応するテストデータを格納するRAM部と、RAM部に記憶されたテストデータに基づきセルフテストの制御を行なうパターンジェネレート部とを含み、テスト結果は、RAM部に記憶されたテストデータを含み、RAM部は、セルフテスト実行時にパターンジェネレート部によって選択される単位である第1ないし第n群の記憶ユニット(nは自然数)を含み、各群の記憶ユニットは、セルフテスト実行時には一括して選択され、パターンジェネレート部にテストデータを出力し、予備テストモードにおいては直列に接続されたシフトレジスタとなる、m個の記憶ユニットをそれぞれ有し(mは自然数)、予備テストモードにおいて、第1群の記憶ユニットは、第1の端子からテストデータを受けて第2群の記憶ユニットに出力し、予備テストモードにおいて、第i群(iは2〜n−1の自然数)の記憶ユニットは、第(i+1)群の記憶ユニットにテストデータを出力し、予備テストモードにおいて、第n群の記憶ユニットは、第1の端子にテストデータを出力する。   Preferably, the BIST control circuit includes a RAM unit that stores test data corresponding to a self-test procedure, and a pattern generation unit that performs self-test control based on the test data stored in the RAM unit. Includes test data stored in the RAM unit, and the RAM unit includes first to n-th group storage units (n is a natural number) which is a unit selected by the pattern generation unit when the self-test is executed, The storage units of the group are selected at a time when the self-test is executed, output test data to the pattern generation unit, and have m storage units each serving as a shift register connected in series in the preliminary test mode. (M is a natural number) In the preliminary test mode, the first group of storage units is tested from the first terminal. In the preliminary test mode, the storage unit in the i-th group (i is a natural number of 2 to n-1) sends the test data to the storage unit in the (i + 1) -th group. In the preliminary test mode, the nth group of storage units outputs test data to the first terminal.

好ましくは、BIST制御回路は、セルフテスト実行時において、メモリアレイに不良箇所が発見されると、セルフテストを一時中断し、不良箇所に対応する不良アドレスの各ビットをシーケンシャルに出力し、同期型半導体記憶装置は、各ビットを受けて外部に出力する第2の端子をさらに備える。   Preferably, when a defective part is found in the memory array during the self test, the BIST control circuit suspends the self test and sequentially outputs each bit of the defective address corresponding to the defective part. The semiconductor memory device further includes a second terminal that receives each bit and outputs it to the outside.

より好ましくは、同期型半導体記憶装置は、メモリアレイからの複数の読出データの一致を検出する不良検知回路と、不良検知回路の出力に応じてセルフテストを一時中断するサスペンドフラグを出力するフラグ保持部と、サスペンドフラグに応じて不良アドレス出力動作を実施するための認識信号を外部に出力する第3の端子と、外部から不良アドレスの受信が完了したことを示す完了信号が入力される第4の端子と、完了信号に応じてフラグ保持部にサスペンドフラグのリセット信号を出力する完了検出回路とをさらに備える。   More preferably, the synchronous semiconductor memory device holds a flag that detects a coincidence of a plurality of read data from the memory array and outputs a suspend flag that suspends the self-test in response to an output of the defect detection circuit. , A third terminal for outputting a recognition signal for executing a defective address output operation in accordance with the suspend flag, and a completion signal indicating that reception of the defective address is completed from the outside. And a completion detection circuit for outputting a suspend flag reset signal to the flag holding unit in response to the completion signal.

好ましくは、メモリアレイは、行列状に配列される複数の正規のメモリセルと、冗長メモリセルからなる複数の冗長行と、冗長メモリセルからなる複数の冗長列とを含み、同期型半導体記憶装置は、メモリアレイからの複数の読出データの一致を検出する不良検知回路と、不良検知回路の出力に応じて不良箇所に対応する不良アドレスを受けアドレス処理を行い、対応する情報を保持し、BIST制御回路が出力するテスト終了信号に応じて冗長行への置換を実施する行と冗長列への置換を実施する列とにそれぞれ対応する置換行アドレスと置換列アドレスとを決定するアドレス処理部と、不良検知回路の出力に応じてセルフテストを一時中断するサスペンドフラグを出力し、アドレス処理部からアドレス処理の終了を示す処理完了信号を受けてサスペンドフラグをリセットするフラグ保持部とをさらに備える。   Preferably, the memory array includes a plurality of normal memory cells arranged in a matrix, a plurality of redundant rows made of redundant memory cells, and a plurality of redundant columns made of redundant memory cells, and a synchronous semiconductor memory device Receives a defect detection circuit for detecting coincidence of a plurality of read data from the memory array, receives a defect address corresponding to a defect location in accordance with an output of the defect detection circuit, performs address processing, holds corresponding information, and An address processing unit for determining a replacement row address and a replacement column address respectively corresponding to a row to be replaced with a redundant row and a column to be replaced with a redundant column in response to a test end signal output from the control circuit; In response to the output of the defect detection circuit, a suspend flag for temporarily suspending the self test is output, and a processing completion signal indicating the end of address processing is received from the address processing unit. Further comprising a flag holding unit for resetting the suspend flag Te.

より好ましくは、アドレス処理部は、冗長行の数と冗長列の数の和である第1の数のアドレス保持部を含み、各アドレス保持部は、不良アドレスの行アドレスを保持する行アドレスレジスタと、行アドレスレジスタに対応して設けられ、行アドレスレジスタが格納している行アドレスの検出回数を計数する行カウンタと、行アドレスレジスタに対応して設けられ、行アドレスレジスタが格納している行アドレスが置換決定されたことを保持する行フラグ設定部と、不良アドレスの列アドレスを保持する列アドレスレジスタと、列アドレスレジスタに対応して設けられ、列アドレスレジスタが格納している列アドレスの検出回数を計数する列カウンタと、列アドレスレジスタに対応して設けられ、列アドレスレジスタが格納している列アドレスが置換決定されたことを保持する列フラグ設定部とを含み、アドレス処理部は、列アドレスカウンタおよび行アドレスカウンタの計数値に基づいて行アドレス置換および列アドレス置換を決定する。   More preferably, the address processing unit includes a first number of address holding units that is the sum of the number of redundant rows and the number of redundant columns, and each address holding unit stores a row address register that holds a row address of a defective address. And a row counter that is provided corresponding to the row address register and counts the number of detections of the row address stored in the row address register, and is provided corresponding to the row address register and stored in the row address register. A row flag setting unit that holds that the row address has been determined to be replaced, a column address register that holds the column address of the defective address, and a column address that is provided corresponding to the column address register and is stored in the column address register Column counter that counts the number of detections and column address stored in the column address register corresponding to the column address register And a column flag setting unit which holds that it has been determined substituted, address processing unit determines the row address replacement and column address replacement based on the count value of the column address counter and a row address counter.

より好ましくは、同期型半導体記憶装置は、BIST制御回路が出力するテスト終了信号に応じて、アドレス処理部が決定した置換アドレスを受け置換アドレスを保持し、メモリアレイの通常読出時の指定アドレスが置換アドレスと一致した時に置換指示信号を出力する置換アドレス設定部をさらに備え、置換アドレス設定部は、テスト終了信号に応じて置換アドレスを受けて保持する不揮発性記憶素子を含む。   More preferably, the synchronous semiconductor memory device receives the replacement address determined by the address processing unit in response to the test end signal output from the BIST control circuit, holds the replacement address, and the designated address at the normal read of the memory array is A replacement address setting unit that outputs a replacement instruction signal when it matches the replacement address is further included, and the replacement address setting unit includes a nonvolatile memory element that receives and holds the replacement address in response to the test end signal.

より好ましくは、同期型半導体記憶装置は、BIST制御回路が出力するテスト終了信号に応じて、アドレス処理部が決定した置換アドレスを受け置換アドレスを保持し、メモリアレイの通常読出時の指定アドレスが置換アドレスと一致した時に置換指示信号を出力する置換アドレス設定部をさらに備え、置換アドレス設定部は、テスト終了信号に応じて、アドレスに対応して導通状態が変更される複数のヒューズ素子を含む。   More preferably, the synchronous semiconductor memory device receives the replacement address determined by the address processing unit in response to the test end signal output from the BIST control circuit, holds the replacement address, and the designated address at the normal read of the memory array is A replacement address setting unit that outputs a replacement instruction signal when matched with the replacement address is further included, and the replacement address setting unit includes a plurality of fuse elements whose conduction state is changed corresponding to the address in response to the test end signal. .

好ましくは、同期型半導体記憶装置は、第1の端子群と、メモリアレイと第1入出力端子群との間に設けられ、セルフテスト実行時に活性化され内部回路の状態を示すデータ群を第1の入出力端子群に出力するデータ伝達回路とをさらに備え、データ群は、ともにメモリアレイの記憶動作に用いられるコマンドデータとアドレスデータと記憶データに対応するテスト出力データとを含む。   Preferably, the synchronous semiconductor memory device is provided with a first data group, a data group provided between the memory array and the first input / output terminal group, and activated when the self-test is performed to indicate the state of the internal circuit. And a data transmission circuit for outputting to one input / output terminal group, and the data group includes command data, address data, and test output data corresponding to the storage data, both of which are used for the storage operation of the memory array.

より好ましくは、同期型半導体記憶装置は、コマンドデータ、アドレスデータ、記憶データのいずれかを縮退し、テスト出力データを出力する縮退回路をさらに備える。   More preferably, the synchronous semiconductor memory device further includes a degeneration circuit that degenerates any of command data, address data, and storage data and outputs test output data.

この発明は、さらに他の局面では、同期型半導体記憶装置のテスト方法であって、同期型半導体記憶装置は、メモリアレイと、メモリアレイに対するビルトインセルフテスト(BIST)の実行を制御し、メモリアレイにアドレス信号とコマンド信号とを与え、かつ、記憶データを授受するBIST制御回路と、ビルトインセルフテスト(BIST)が実行可能かどうかをテストする予備テストを実行する予備テストモード時に、予備テストのテスト結果を出力する第1の端子とを備え、BIST制御回路は、セルフテストの手順に対応するテストデータを格納するRAM部と、RAM部に記憶されたテストデータに基づきセルフテストの制御を行なうパターンジェネレート部とを含み、テスト結果は、RAM部に記憶されたテストデータを含み、RAM部は、セルフテスト実行時にパターンジェネレート部によって選択される単位である第1ないし第n群の記憶ユニット(nは自然数)を含み、各群の記憶ユニットは、セルフテスト実行時には一括して選択され、パターンジェネレート部にテストデータを出力し、予備テストモードにおいては直列に接続されたシフトレジスタとなる、m個の記憶ユニットをそれぞれ有し(mは自然数)、第1の端子からテストデータを入力し第1群ないし第n群の記憶ユニットに順次データをシフトして格納する第1のステップと、テストデータを第1の端子を介して第n群の記憶ユニットから第1ないし第n群の記憶ユニットに設定されたテストデータを順にシフトして読出す第2のステップとを備える。   In yet another aspect, the present invention provides a method for testing a synchronous semiconductor memory device, wherein the synchronous semiconductor memory device controls execution of a memory array and a built-in self test (BIST) for the memory array. The preliminary test is performed in the preliminary test mode in which the BIST control circuit for supplying the address signal and the command signal to the memory and transferring the stored data and the preliminary test for testing whether the built-in self test (BIST) can be executed. A BIST control circuit including a RAM unit storing test data corresponding to a self-test procedure, and a pattern for performing self-test control based on the test data stored in the RAM unit. Test results stored in the RAM section. The RAM unit includes first to n-th groups of storage units (n is a natural number) that is a unit selected by the pattern generation unit when the self-test is executed. Each having m storage units (m is a natural number), each of which is a shift register connected in series in the preliminary test mode. The first step of inputting the test data from the first group to the first group to the nth group of storage units and sequentially storing the data in the first group to the nth group of storage units, and the test data from the nth group of storage units through the first terminal Or a second step of sequentially shifting and reading the test data set in the storage unit of the nth group.

この発明のさらに他の局面における同期型半導体記憶装置は、メモリアレイと、クロック信号に応じてメモリアレイから一括して読み出される複数の記憶データを受けて一致を検出する第1の一致検出回路と、一致検出回路の出力をうけるシフトレジスタとを備え、シフトレジスタは、クロック信号に応じて記憶データの取込みおよび保持データの出力を行なう、直列に接続された第1ないし第nの保持回路を含み(nは2以上の自然数)、同期型半導体記憶装置は、第1ないし第nの保持回路の出力がすべて一致するか否かを判定する第2の一致検出回路をさらに備える。   A synchronous semiconductor memory device according to still another aspect of the present invention includes a memory array, and a first coincidence detection circuit that receives a plurality of storage data read from the memory array in response to a clock signal and detects a coincidence. And a shift register receiving the output of the coincidence detection circuit, the shift register including first to nth holding circuits connected in series for taking stored data and outputting held data in response to a clock signal. (N is a natural number greater than or equal to 2), the synchronous semiconductor memory device further includes a second coincidence detection circuit that determines whether or not the outputs of the first to nth holding circuits all coincide.

本発明の同期型半導体記憶装置は、データ出力をモニタするために必要なデータ入出力端子の数を減らすことができ、半導体記憶装置の検査においてテスタが使用するチャネル数を減らすことができる。したがって、半導体記憶装置の検査コストを下げることができる。   The synchronous semiconductor memory device of the present invention can reduce the number of data input / output terminals necessary for monitoring the data output, and can reduce the number of channels used by the tester in the inspection of the semiconductor memory device. Therefore, the inspection cost of the semiconductor memory device can be reduced.

また、本発明の同期型半導体記憶装置は、不良検出率を大幅に改善することが可能となる。   Further, the synchronous semiconductor memory device of the present invention can greatly improve the defect detection rate.

さらに、観測するデータのデータレートを落とすことができ、性能のさほど高くないテスタ装置でも、検査することが可能になる。   In addition, the data rate of the data to be observed can be reduced, and even a tester device that is not so high in performance can be inspected.

また、BISTテストを行なう前に、予めBISTを制御する回路の動作を確認することが可能となる。   In addition, before the BIST test is performed, the operation of the circuit that controls the BIST can be confirmed in advance.

加えて、BIST用のRAM部が正常に動作するかどうかが分かる。またRAMのテストに必要となるピン数を減らすことができる。   In addition, it can be seen whether or not the BIST RAM section operates normally. In addition, the number of pins required for the RAM test can be reduced.

本発明の他の同期型半導体記憶装置は、BISTを実行する場合でも、内部で検知された不良アドレスを外部に接続されるテスタ装置等に対して出力することが可能であるので、BISTの結果出力されたアドレスを利用して、冗長置換を実行することが可能となる。   Since another synchronous semiconductor memory device of the present invention can output a defective address detected internally to a tester device or the like connected to the outside even when executing BIST, the result of BIST Redundant replacement can be performed using the output address.

また、高価な試験装置が無くとも不良アドレスの検出および冗長置換がチップ自身で実行できるので、さらにコスト低減を図ることができる。   Further, since the defective address detection and redundant replacement can be executed by the chip itself without an expensive test apparatus, the cost can be further reduced.

また、BISTを実行する際に、内部の状態もテスト装置でモニタできるため、動作確認の結果がより一層確実にできるとともに、不具合が発生した場合の原因解明等がやりやすくなるという効果がある。   In addition, when the BIST is executed, the internal state can be monitored by the test apparatus, so that the result of the operation confirmation can be further ensured, and the cause of the occurrence of the trouble can be easily clarified.

また、同期型半導体記憶装置のテスト方法は、BIST用のRAM部が正常に動作するかどうかが分かる。またRAMのテストに必要となるピン数を減らすことができる。   Further, the test method for the synchronous semiconductor memory device can determine whether or not the BIST RAM section operates normally. In addition, the number of pins required for the RAM test can be reduced.

また、テスト結果出力信号の少ない観測回数においても、同期型半導体記憶装置の良品/不良品の判別は可能となり、性能の低いテスタにおいても同期型半導体記憶装置の良品/不良品の判別ができる。不良判定となった場合に、シフトレジスタの出力信号を観測することで、不良が発生したアドレスを知る手掛かりを得ることも可能である。   In addition, the non-defective / defective product of the synchronous semiconductor memory device can be discriminated even when the number of test result output signals is small, and the non-defective / defective product of the synchronous semiconductor memory device can be discriminated even in a tester with low performance. When a failure is determined, it is possible to obtain a clue to know the address where the failure has occurred by observing the output signal of the shift register.

以下、この発明の実施の形態を図面を参照して詳しく説明する。なお、図中同一符号は同一または相当部分を示す。   Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings. In the drawings, the same reference numerals indicate the same or corresponding parts.

[実施の形態1]
図1は、本発明の同期型半導体記憶装置1000の全体構成を示す概略ブロック図である。
[Embodiment 1]
FIG. 1 is a schematic block diagram showing the overall configuration of a synchronous semiconductor memory device 1000 of the present invention.

図1を参照して、同期型半導体記憶装置1000は1Gビットの容量を有するダブルデータレートのシンクロナスダイナミックランダムアクセスメモリ(以下DDR SDRAM)である。   Referring to FIG. 1, synchronous semiconductor memory device 1000 is a double data rate synchronous dynamic random access memory (hereinafter referred to as DDR SDRAM) having a capacity of 1 Gbit.

同期型半導体記憶装置1000は、外部より与えられる全体の動作の基準となる相補なクロック信号CLK、/CLKを受ける端子P1、P2と、チップへの入力を可能とするイネーブル信号CKEを受ける端子P3と、コマンドの入力を識別する信号/CSを受ける端子P4と、ロウ系のコマンドが入力されたことを示す信号/RASを受ける端子P5と、コラム系のコマンドが入力されたことを示す信号/CASを受ける端子P6と、リード、ライトの識別信号である信号/WEを受ける端子P7と、リードまたはライト時のデータの無効を識別するデータマスク信号DM0〜DM3を入出力する端子P8と、リードまたはライト時のデータのタイミングを識別するデータストローブ信号QS0〜QS3を入出力する端子群P9と、入力信号のHレベル/Lレベルを判定する基準電位Vrefが入力される端子P10と、アドレス信号A0〜A12が入力される端子群P11と、内蔵する8個のメモリバンクの3ビットのバンクアドレスBA0〜BA2を受ける端子群P12と、32ビットのデータの入出力信号DQ0〜DQ31が入出力される端子群P13とを備える。   Synchronous semiconductor memory device 1000 has terminals P1 and P2 that receive complementary clock signals CLK and / CLK serving as a reference for the entire operation given from the outside, and a terminal P3 that receives enable signal CKE enabling input to the chip. A terminal P4 that receives a signal / CS for identifying an input of a command, a terminal P5 that receives a signal / RAS indicating that a row-related command has been input, and a signal / that indicates that a column-related command has been input A terminal P6 that receives CAS, a terminal P7 that receives a signal / WE that is a read / write identification signal, a terminal P8 that inputs and outputs data mask signals DM0 to DM3 that identify invalidity of data at the time of reading or writing, and a read Or a terminal group P9 for inputting / outputting data strobe signals QS0 to QS3 for identifying the timing of data at the time of writing, and an input A terminal P10 to which a reference potential Vref for determining the H level / L level of the signal is input, a terminal group P11 to which address signals A0 to A12 are input, and a 3-bit bank address BA0 to eight built-in memory banks. A terminal group P12 for receiving BA2 and a terminal group P13 for inputting / outputting 32-bit data input / output signals DQ0 to DQ31.

イネーブル信号CKEが活性化されていない間は同期型半導体記憶装置1000は動作しない。この非活性期間中は、同期型半導体記憶装置はスタンドバイ状態か、セルフリフレッシュ状態となる。   The synchronous semiconductor memory device 1000 does not operate while the enable signal CKE is not activated. During the inactive period, the synchronous semiconductor memory device is in a standby state or a self-refresh state.

信号/CSが活性化されている間は、クロックの立上がりエッジにてコマンドが認識される。データマスク信号DM0〜DM3は、リード時にデータの無効を示す場合には、半導体記憶装置側からコントローラICへと伝達され、一方、ライト時にデータの無効を示す場合は、コントローラIC側から半導体記憶装置へと伝達される。データ入出力信号DQ8個ごとに1個のデータマスク信号DMが割当られる。   While the signal / CS is activated, the command is recognized at the rising edge of the clock. The data mask signals DM0 to DM3 are transmitted from the semiconductor memory device side to the controller IC when data is invalid at the time of reading. On the other hand, when data invalidity is indicated at the time of writing, the data mask signals DM0 to DM3 are transmitted from the controller IC side to the semiconductor memory device. Is transmitted to. One data mask signal DM is assigned to every eight data input / output signals DQ.

同様にデータストローブ信号QSは、リード時にはデータのタイミングを半導体記憶装置側からコントローラICへと伝達し、ライト時には、コントローラIC側から半導体記憶装置側へと伝達する。データ入出力信号DQ8個ごとに1個のデータストローブ信号QSが割当てられる。   Similarly, the data strobe signal QS transmits the data timing from the semiconductor memory device side to the controller IC at the time of reading, and from the controller IC side to the semiconductor memory device side at the time of writing. One data strobe signal QS is assigned to every eight data input / output signals DQ.

アドレス信号A0〜A12は、ロウアドレスの入力としては13ビットすべてが使用され、コラムアドレスの入力としては、13ビットのうち10ビットが使用される。また、モードレジスタへの書込用としてもアドレス信号の一部が使用される。   In the address signals A0 to A12, all 13 bits are used as row address inputs, and 10 bits out of 13 bits are used as column address inputs. A part of the address signal is also used for writing to the mode register.

同期型半導体記憶装置1000は、さらに、入力されるコマンドを認識するモードデコーダ2と、動作モードを保持するモードレジスタ16と、アドレス端子からロウアドレスを取込むロウアドレスラッチ8と、アドレス端子からコラムアドレスを取込むコラムアドレスラッチ12と、バンクアドレスからバンクアドレス信号を取込むバンクアドレスラッチ18と、バンクアドレスラッチ18の出力するバンクアドレスをデコードして対応するバンクを活性化するバンクデコーダ20とを含む。   The synchronous semiconductor memory device 1000 further includes a mode decoder 2 for recognizing an input command, a mode register 16 for holding an operation mode, a row address latch 8 for fetching a row address from an address terminal, and a column from an address terminal. A column address latch 12 for fetching an address, a bank address latch 18 for fetching a bank address signal from the bank address, and a bank decoder 20 for activating a corresponding bank by decoding a bank address output from the bank address latch 18 Including.

同期型半導体記憶装置1000は、さらに、リフレッシュ動作時にリフレッシュアドレスを発生するためにともに設けられるセルフリフレッシュタイマ4、リフレッシュアドレスカウンタ6と、ロウアドレスラッチ8の出力するアドレスとリフレッシュアドレスカウンタ6の出力するアドレスのいずれかを選択するマルチプレクサ24と、マルチプレクサ24の出力するアドレスを受けて対応する信号をロウデコーダRDに出力するロウプリデコーダ10と、バースト動作時に連続したコラムアドレスを発生するバーストアドレスカウンタ28と、バーストアドレスカウンタ28の出力するアドレスを受けて対応する信号をコラムデコーダCDに出力するコラムプリデコーダ14とを含む。   The synchronous semiconductor memory device 1000 further outputs a self-refresh timer 4, a refresh address counter 6 and an address output from the row address latch 8 and a refresh address counter 6 provided together to generate a refresh address during a refresh operation. A multiplexer 24 for selecting one of the addresses, a row predecoder 10 that receives an address output from the multiplexer 24 and outputs a corresponding signal to the row decoder RD, and a burst address counter 28 that generates a continuous column address during a burst operation. And column predecoder 14 which receives an address output from burst address counter 28 and outputs a corresponding signal to column decoder CD.

同期型半導体記憶装置1000は、さらに、外部から入力されるクロックCLKと位相が揃ったクロックCLK(in)を発生するディレーロックドループ(以下DLLと称す)回路30と、データ入出力端子群P13とグローバル入出力線G−I/Oとの間でデータレートを変換しデータ授受を行なうデータ変換部22とをさらに含む。   The synchronous semiconductor memory device 1000 further includes a delay-locked loop (hereinafter referred to as DLL) circuit 30 that generates a clock CLK (in) that is in phase with the clock CLK input from the outside, and a data input / output terminal group P13. Further included is a data conversion unit 22 that converts the data rate with the global input / output line GI / O to exchange data.

グローバル入出力線G−I/Oは8つのメモリバンクBANK0〜BANK7とデータの授受を行なう。   Global input / output line GI / O exchanges data with eight memory banks BANK0 to BANK7.

図2は、本発明の実施の形態1の同期型半導体記憶装置1000における各ブロックの配置例を示す概略図である。   FIG. 2 is a schematic diagram showing an arrangement example of each block in the synchronous semiconductor memory device 1000 according to the first embodiment of the present invention.

図2を参照して、同期型半導体記憶装置1000は、外部制御信号入力端子群60を介して与えられる外部制御信号/RAS、/CAS、/WE、/CS等を受けて、これをデコードし、内部制御信号を発生するコントロール回路70と、コントロール回路70から出力される内部制御信号を伝達するコマンドデータバス53aおよび53bと、メモリセルが行列状に配置されるメモリセルアレイ100とを備える。   Referring to FIG. 2, synchronous semiconductor memory device 1000 receives and decodes external control signals / RAS, / CAS, / WE, / CS, etc. applied through external control signal input terminal group 60. A control circuit 70 for generating an internal control signal, command data buses 53a and 53b for transmitting an internal control signal output from the control circuit 70, and a memory cell array 100 in which memory cells are arranged in a matrix.

メモリアレイ100は、図2に示すとおり、全部で16個のメモリセルブロック100a〜100pに分割配置されている。たとえば、同期型半導体記憶装置1000の記憶容量が1Gビットである場合、各メモリセルブロックは64Mビットの容量を有する。各ブロックは、独立にバンクとして動作し得る構成となっている。   As shown in FIG. 2, the memory array 100 is divided into a total of 16 memory cell blocks 100a to 100p. For example, when the storage capacity of synchronous semiconductor memory device 1000 is 1 Gbit, each memory cell block has a capacity of 64 Mbits. Each block is configured to be able to operate independently as a bank.

同期型半導体記憶装置1000は、さらに、クロック信号入力端子66に与えられる外部クロック信号CLKを受け、コントロール回路70により制御されて同期動作を開始し、内部クロック信号CLK(in)を出力する内部同期信号発生回路18を含む。   Synchronous semiconductor memory device 1000 further receives an external clock signal CLK applied to clock signal input terminal 66, is controlled by control circuit 70 to start a synchronous operation, and outputs internal clock signal CLK (in). A signal generation circuit 18 is included.

内部同期信号発生回路18は、たとえばDLL回路等により、外部クロック信号CLKに対して同期した内部クロック信号CLK(in)を生成する。   The internal synchronization signal generation circuit 18 generates an internal clock signal CLK (in) synchronized with the external clock signal CLK by using, for example, a DLL circuit.

アドレス信号入力端子群62を介して与えられる外部アドレス信号A0〜A12、BA0〜BA2は、コントロール回路70の制御の下に、内部クロック信号CLK(in)に同期して、半導体記憶装置1000内に取込まれる。   External address signals A0 to A12 and BA0 to BA2 applied through address signal input terminal group 62 are synchronized with internal clock signal CLK (in) under the control of control circuit 70, and are stored in semiconductor memory device 1000. It is taken in.

外部アドレス信号BA0〜BA2は、アドレスバス51aを介してバンクデコーダ72に与えられる。バンクデコーダ72からは、アドレスバス51bおよび51cを介して、デコードされたバンクアドレスB0〜B7が各メモリセルブロックに伝達される。   External address signals BA0-BA2 are applied to bank decoder 72 via address bus 51a. Decoded bank addresses B0 to B7 are transmitted from bank decoder 72 to each memory cell block via address buses 51b and 51c.

バンクアドレスB0〜B7は、データ入力端子DQ0〜DQ15に対応して設けられるメモリセルブロックのいずれか1つと、データ入出力端子DQ16〜DQ31に対応して設けられるメモリセルブロックのいずれか1つの合計2つのメモリセルブロックを活性化する。   The bank addresses B0 to B7 are the sum of any one of the memory cell blocks provided corresponding to the data input terminals DQ0 to DQ15 and any one of the memory cell blocks provided corresponding to the data input / output terminals DQ16 to DQ31. Two memory cell blocks are activated.

一方、アドレス信号入力端子群62に与えられるその他の外部アドレス信号は、アドレスバス50aおよび50bを介して、アドレスドライバ52に伝達される。アドレスドライバ52からさらに、アドレスバス50cを介してアドレス信号は各メモリセルブロックに伝達される。   On the other hand, other external address signals applied to address signal input terminal group 62 are transmitted to address driver 52 through address buses 50a and 50b. Further, an address signal is transmitted from the address driver 52 to each memory cell block via the address bus 50c.

同期型半導体記憶装置1000は、さらに、メモリセルブロックの対ごとに設けられ、コントロール回路70の制御の下に、アドレスバス50cにより伝達されたロウアドレスをラッチし、プリデコードするロウプリデコーダ36と、ロウプリデコーダ36からの出力をもとに選択されたメモリセルブロックの対応する行(ワード線)を選択するロウデコーダ44と、メモリセルブロックごとに設けられ、コントロール回路70の制御の下に、アドレスバス50cにより伝達された列アドレスをラッチし、プリデコードするコラムプリデコーダ34と、コラムプリデコーダ34からの出力を伝達するコラムプリデコーダ線40と、コラムプリデコーダ線40からの出力をもとに選択されたメモリセルブロックの対応する列(ビット線対)を選択するコラムデコーダ42とを含む。   The synchronous semiconductor memory device 1000 is further provided for each pair of memory cell blocks. Under the control of the control circuit 70, the synchronous semiconductor memory device 1000 latches the row address transmitted by the address bus 50c and predecodes the row predecoder 36. A row decoder 44 for selecting a corresponding row (word line) of a memory cell block selected based on an output from the row predecoder 36, and provided for each memory cell block, under the control of the control circuit 70 The column predecoder 34 for latching and predecoding the column address transmitted by the address bus 50c, the column predecoder line 40 for transmitting the output from the column predecoder 34, and the output from the column predecoder line 40 are also provided. Select the corresponding column (bit line pair) of the selected memory cell block. And a column decoder 42.

同期型半導体記憶装置1000は、さらに、チップ中央部の長辺方向に沿う領域であって、外部制御信号入力端子群60およびアドレス信号入力端子群62が設けられる領域の外側に、それぞれ配置されるデータ入力端子DQ0〜DQ15およびDQ16〜DQ31と、データ入出力端子DQ0〜DQ31にそれぞれ対応して設けられる入出力バッファ回路64a〜64fと、入出力バッファと対応するメモリセルブロックとの間でデータの伝達を行なうデータバス54と、メモリセルブロック100a〜100pにそれぞれ対応して設けられ、データバス54と選択されたメモリセル列との間でデータの授受を行なうリード/ライトアンプ38とを含む。   The synchronous semiconductor memory device 1000 is further arranged in an area along the long side direction at the center of the chip, outside the area where the external control signal input terminal group 60 and the address signal input terminal group 62 are provided. Data is input between data input terminals DQ0 to DQ15 and DQ16 to DQ31, input / output buffer circuits 64a to 64f provided corresponding to data input / output terminals DQ0 to DQ31, respectively, and memory cell blocks corresponding to the input / output buffers. Data bus 54 for transmission and read / write amplifier 38 provided corresponding to each of memory cell blocks 100a to 100p and transferring data between data bus 54 and a selected memory cell column are included.

外部制御信号入力端子群60へ与えられる信号/RASは、同期型半導体記憶装置1000の内部動作を開始させ、かつ内部動作の活性期間を決定するロウアドレスストローブ信号である。この信号/RASの活性化に応じて、ロウデコーダ44等のメモリセルアレイ100の行を選択する動作と関連する回路は活性状態とされる。   Signal / RAS applied to external control signal input terminal group 60 is a row address strobe signal that starts internal operation of synchronous semiconductor memory device 1000 and determines the active period of internal operation. In response to the activation of signal / RAS, a circuit related to the operation of selecting a row of memory cell array 100 such as row decoder 44 is activated.

外部制御信号入力端子群60へ与えられる信号/CASは、コラムアドレスストローブ信号であり、メモリセルアレイ100における列を選択する回路を活性状態とする。   Signal / CAS applied to external control signal input terminal group 60 is a column address strobe signal, and activates a circuit for selecting a column in memory cell array 100.

外部制御信号入力端子群60へ与えられる信号/CSは、この同期型半導体記憶装置1000が選択されることを示すチップセレクト信号であり、信号/WEは、同期型半導体記憶装置1000の書込動作を指示する信号である。   Signal / CS applied to external control signal input terminal group 60 is a chip select signal indicating that synchronous semiconductor memory device 1000 is selected. Signal / WE is a write operation of synchronous semiconductor memory device 1000. Is a signal for instructing.

信号/CS、信号/RAS、信号/CASおよび信号/WEの取込動作は、内部クロック信号CLK(in)に同期して行なわれる。   Signal / CS, signal / RAS, signal / CAS and signal / WE are fetched in synchronization with internal clock signal CLK (in).

また、アドレス信号入力端子群62に与えられるアドレス信号の取込動作も内部クロック信号CLK(in)に同期して行なわれる。   The address signal applied to address signal input terminal group 62 is also fetched in synchronization with internal clock signal CLK (in).

[非同期の概念の説明]
本発明は、入出力回路において内部と外部が非同期で動作できるようにするものであるが、具体的な構成を説明する前に、非同期の概念について簡単に説明する。
[Description of asynchronous concept]
The present invention enables the inside and outside of the input / output circuit to operate asynchronously. Before describing a specific configuration, the asynchronous concept will be briefly described.

図3は、非同期の概念を説明するための動作波形図である。
図3を参照して、外部から入力されるクロックCLKは同期型半導体記憶装置内部のメモリアレイにデータを読み書きする基準となる。
FIG. 3 is an operation waveform diagram for explaining the asynchronous concept.
Referring to FIG. 3, an externally input clock CLK serves as a reference for reading / writing data from / to the memory array in the synchronous semiconductor memory device.

時刻t1において、外部からライトコマンドが入力される。
ライト時には、同期型半導体記憶装置は外部からデータと同期して入力される信号DQSのタイミングに従いデータを取込む。時刻t2において、信号DQSの立上がりに応じてデータ入出力端子DQに入力されたデータD1が取込まれ入出力回路部に設けられたライト用のラッチに書込まれる。同様に、時刻t3、t4、t5においてはそれぞれデータD2、D3、D4がそれぞれ信号DQSの変化するタイミングでライト用のラッチに取込まれる。
At time t1, a write command is input from the outside.
At the time of writing, the synchronous semiconductor memory device takes in data according to the timing of a signal DQS inputted in synchronization with data from the outside. At time t2, in response to the rise of signal DQS, data D1 input to data input / output terminal DQ is taken and written to a write latch provided in the input / output circuit portion. Similarly, at times t3, t4, and t5, the data D2, D3, and D4 are taken into the write latch at the timing when the signal DQS changes.

時刻t6において、ライト用のラッチに取込まれていたデータD1、D2はクロックCLKの立上がりに応じてメモリアレイに書込まれる。次に時刻t7において、ライト用ラッチに取込まれていたデータD3、D4はメモリアレイに書込まれる。   At time t6, the data D1 and D2 taken in the write latch are written into the memory array in response to the rise of the clock CLK. Next, at time t7, the data D3 and D4 taken in the write latch are written into the memory array.

時刻t8においてバーストライトが終了しライト用のラッチはリセットされる。
同じく時刻t8において、外部よりリードコマンドが入力される。時刻t8〜t9の間にクロックCLKをもとに内部で生成される内部クロックに従って、メモリアレイ部に書込まれていたデータD5、D6は入出力回路部のリード用のラッチに伝達される。続いて時刻t9〜t10において、同様にクロックCLKをもとに内部で生成される内部クロックに従ってメモリアレイに書込まれていたデータD7、D8が入出力回路部のリード用のラッチに伝達される。読出時には、入出力回路部のラッチに保持されているデータは、半導体記憶装置外部に接続されるシステムがデータを必要とするタイミングにて出力され、このタイミングに応じた信号DQSを同期型半導体記憶装置は外部システムに向かって送出する。
At time t8, the burst write ends and the write latch is reset.
Similarly, at time t8, a read command is input from the outside. Data D5 and D6 written in the memory array portion are transmitted to the read latch of the input / output circuit portion according to the internal clock generated internally based on the clock CLK between times t8 and t9. Subsequently, at times t9 to t10, the data D7 and D8 written in the memory array according to the internal clock generated internally based on the clock CLK are transmitted to the read latch of the input / output circuit section. . At the time of reading, the data held in the latch of the input / output circuit section is output at a timing when the system connected to the outside of the semiconductor memory device needs the data, and the signal DQS corresponding to this timing is output to the synchronous semiconductor memory. The device sends out to an external system.

時刻t11〜t15の間で信号DQSの変化に合わせ外部に対しデータD5〜D8が順次出力される。   Data D5 to D8 are sequentially output to the outside in accordance with the change of the signal DQS between times t11 and t15.

この場合、図3に示すようにデータを出力するタイミングは外部から入力されるクロックCLKと同期されているとは限らない。   In this case, as shown in FIG. 3, the timing of outputting data is not always synchronized with the clock CLK input from the outside.

時刻t15においてバーストリードが終了しリード用のラッチがリセットされる。
以上説明したように、同期型半導体記憶装置は、外部から入力されるクロックCLKをもとに内部で生成される内部クロックに従ってメモリアレイに対してデータを読み書きする。一方、外部とのデータの授受の際には、同期型半導体記憶装置は、外部に接続されるシステムの仕様に合せたタイミングを示す信号DQSに対応してラッチ部にデータを取込んだりラッチ部からデータを送出したりする。
At time t15, the burst read is completed and the read latch is reset.
As described above, the synchronous semiconductor memory device reads / writes data from / to the memory array according to the internal clock generated internally based on the clock CLK input from the outside. On the other hand, when exchanging data with the outside, the synchronous semiconductor memory device takes in the data into the latch unit in response to the signal DQS indicating the timing according to the specifications of the system connected to the outside, and the latch unit To send data.

[入出力回路部の詳細な構成の説明]
図4は、各バンクと各入出力回路の接続を説明するための概略図である。
[Detailed configuration of input / output circuit section]
FIG. 4 is a schematic diagram for explaining the connection between each bank and each input / output circuit.

図4は、図2で説明した同期型半導体記憶装置のバンク100a〜100dとデータ入出力端子DQ0〜DQ15部分の入出力回路との接続を示しているためチップの左半分のさらに上半分の256Mビット分の領域を拡大して示している。図4を参照して、バンク100aと100bはメインワードドライバMWDを挟んでそれぞれ偶数アドレスに対応する領域100abeと奇数アドレスに対応する領域100aboに分割されている。   FIG. 4 shows the connection between the banks 100a to 100d of the synchronous semiconductor memory device described in FIG. 2 and the input / output circuits of the data input / output terminals DQ0 to DQ15. The area for bits is enlarged. Referring to FIG. 4, banks 100a and 100b are divided into an area 100ab corresponding to an even address and an area 100abo corresponding to an odd address, respectively, across main word driver MWD.

ダブルデータレート方式では、内部クロックの2倍の周波数でデータを出力する必要がある。このように分割することで、奇数アドレスと偶数アドレスに対応するデータを同時にアクセスすることが可能となり、2倍の周波数でのデータ出力動作を容易にしている。   In the double data rate method, it is necessary to output data at a frequency twice that of the internal clock. By dividing in this way, it is possible to simultaneously access data corresponding to odd addresses and even addresses, facilitating data output operation at twice the frequency.

ただし、これは必ずしも必要条件ではない。第1番目に出力するデータのアドレスが奇数が偶数かで対応する領域のアクセスのタイミングを早めにし、第2番目にアクセスする領域のアクセスのタイミングを遅めにすることでも実現は可能である。この方式により、大きな電流ピークが生じるのを防止することもできる。ただしアクセスされるアドレスの最初が偶数の場合と奇数の場合とでアクセスするタイミングの位相を変えなくてはいけないため、動作の制御は複雑なものとなる。   However, this is not necessarily a requirement. It can also be realized by making the access timing of the corresponding area early if the address of the data to be output first is an odd number or even and delaying the access timing of the area to be accessed second. This method can also prevent a large current peak from occurring. However, since the phase of the access timing must be changed depending on whether the first address to be accessed is an even number or an odd number, the operation control is complicated.

1つのバンクの中の、偶数アドレスの領域からのデータと奇数アドレスの領域からのデータが同じDQ部分に入力される。   The data from the even address area and the data from the odd address area in one bank are input to the same DQ portion.

たとえば、データ入出力端子DQ0に対応して設けられる入出力回路64aには、偶数アドレス領域100abe、100cdeからデータを読出すリードアンプ102、データを書込むライトアンプ122が接続されている。入出力回路64aにはさらに、奇数アドレス領域100abo、100cdoからデータを読出すリードアンプ104、データを書込むライトアンプ124が接続される。   For example, the input / output circuit 64a provided corresponding to the data input / output terminal DQ0 is connected to the read amplifier 102 for reading data from the even address regions 100be and 100cde and the write amplifier 122 for writing data. The input / output circuit 64a is further connected to a read amplifier 104 for reading data from the odd address areas 100abo and 100cdo and a write amplifier 124 for writing data.

データ入出力端子DQ1〜DQ15についても対応して入出力回路が設けられ各々の入出力回路には奇数アドレス領域および偶数アドレス領域のリードアンプおよびライトアンプが接続される。   Corresponding data input / output terminals DQ1 to DQ15 are also provided with input / output circuits, and read / write amplifiers for odd address areas and even address areas are connected to the respective input / output circuits.

図5は、メモリバンクからデータがデータ入出力端子DQ0に出力される流れを説明するための図である。   FIG. 5 is a diagram for explaining the flow of data output from the memory bank to the data input / output terminal DQ0.

バンクの奇数領域のデータが読出される場合、リードアンプ104によってメモリセルアレイから読出されたデータがリードデータバスRDBOに出力される。マルチプレクサ110によってこのデータが選択され、ラッチ112に一旦保持された後マルチプレクサ114、出力バッファ116を介して端子に出力される。偶数領域からデータを読出す場合は、リードアンプ102からリードデータバスRDBEを介してマルチプレクサ110にデータが与えられる。   When data in an odd area of a bank is read, the data read from the memory cell array by read amplifier 104 is output to read data bus RDBO. This data is selected by the multiplexer 110, temporarily held in the latch 112, and then output to the terminal via the multiplexer 114 and the output buffer 116. When data is read from the even area, data is supplied from the read amplifier 102 to the multiplexer 110 via the read data bus RDBE.

図6は、データ入出力端子DQ0からバンクへデータが書込まれる流れを説明するための図である。   FIG. 6 is a diagram for explaining the flow of writing data from the data input / output terminal DQ0 to the bank.

図6を参照して、奇数アドレスにデータを書込む場合は端子から入力されたデータは、入力バッファ136、デマルチプレクサ134、ラッチ132、デマルチプレクサ130を介してライトデータバスWDBOに出力され、ライトアンプ124によってメモリアレイへと伝達される。偶数アドレスにデータを書込む場合も同様にデマルチプレクサ130からライトデータバスWDBEを介してライトアンプ122にデータが伝達され増幅されてメモリアレイへと伝達される。   Referring to FIG. 6, when data is written to an odd address, the data input from the terminal is output to write data bus WDBO via input buffer 136, demultiplexer 134, latch 132, and demultiplexer 130, and written. The signal is transmitted to the memory array by the amplifier 124. Similarly, when writing data to even addresses, data is transmitted from the demultiplexer 130 to the write amplifier 122 via the write data bus WDBE, amplified and transmitted to the memory array.

図7は、データ入出力端子DQ0〜DQ15の部分の構成の概略を示す図である。
図7を参照して、データ入出力端子DQ0〜DQ15は順に並んで配置され、それぞれに対応してラッチを含む入出力回路が設けられている。入出力回路にはリードデータバスRDBおよびライトデータバスWDBが接続される。このリードデータバスとライトデータバスは共通にする場合もある。
FIG. 7 is a diagram schematically showing the configuration of the data input / output terminals DQ0 to DQ15.
Referring to FIG. 7, data input / output terminals DQ0 to DQ15 are arranged in order, and an input / output circuit including a latch is provided corresponding to each. A read data bus RDB and a write data bus WDB are connected to the input / output circuit. The read data bus and the write data bus may be shared.

図示しないが、データ入出力端子DQ16〜DQ31についても同様に入出力回路が設けられている。   Although not shown, input / output circuits are similarly provided for the data input / output terminals DQ16 to DQ31.

図8は、図7に示したデータ入出力端子DQ0〜DQ3に対応する部分を拡大して示した図である。   FIG. 8 is an enlarged view of a portion corresponding to data input / output terminals DQ0 to DQ3 shown in FIG.

図8を参照して、データ入出力端子に対応して設けられる入出力回路はリードデータバスRDBのデータを受取るレシーバ142、143と、レシーバ142、143のデータを受けいずれのレシーバのデータを先に出力するかに応じてデータを振り分けるマルチプレクサ144と、マルチプレクサ144からデータを与えられ、CASレイテンシ後の奇数クロックエッジでデータを出力する4データ分のラッチ148と、マルチプレクサ144からデータを与えられ、CASレイテンシ後の偶数クロックエッジでデータを出力する4データ分のラッチ146と、ラッチ148、146から出力されたデータを増幅し端子に出力する出力バッファ150を含む。   Referring to FIG. 8, an input / output circuit provided corresponding to a data input / output terminal receives receivers 142 and 143 that receive data on read data bus RDB, and receives data from receivers 142 and 143, and sends data from either receiver first. The multiplexer 144 that distributes data according to whether the data is output to the data, the data from the multiplexer 144, the latch 148 for four data that outputs data at odd clock edges after CAS latency, and the data from the multiplexer 144, It includes a latch 146 for four data that outputs data at even clock edges after CAS latency, and an output buffer 150 that amplifies the data output from the latches 148 and 146 and outputs the amplified data to the terminal.

この入出力回路は、さらに、入出力端子DQ0に外部から与えられたデータを増幅する入力バッファ152と、入力バッファ152が出力するデータをクロックの立上がりエッジでラッチする4データ分のラッチ156と、入力バッファ152を出力するデータをクロックの立下がりエッジで取込む4データ分のラッチ154と、入力データ用のラッチ154、156に取込まれたデータを内部に伝達する際にアドレスに応じて偶数アドレス用データバスと奇数アドレス用データバスのいずれかにデータを分配するためのマルチプレクサ158とを含む。マルチプレクサ158の出力は偶数アドレス用ライトデータバスと奇数アドレス用ライトデータバスを含むライトデータバスWDBに接続される。   The input / output circuit further includes an input buffer 152 for amplifying data externally applied to the input / output terminal DQ0, a latch 156 for four data for latching data output from the input buffer 152 at the rising edge of the clock, A latch 154 for four data that captures the data output from the input buffer 152 at the falling edge of the clock, and an even number according to the address when the data captured by the input data latches 154 and 156 is transmitted internally. A multiplexer 158 for distributing data to either the address data bus or the odd address data bus is included. The output of the multiplexer 158 is connected to a write data bus WDB including a write data bus for even addresses and a write data bus for odd addresses.

図9は、同期型半導体記憶装置1000が入出力回路部を通してデータを授受する概略を説明するための図である。   FIG. 9 is a diagram for explaining an outline in which the synchronous semiconductor memory device 1000 exchanges data through the input / output circuit unit.

図9を参照して、信号CLKは外部から与えられるクロック信号であり、信号CLK(ctr)はクロック信号CLKをもとに内部で発生されメモリアレイの動作の基準となる内部クロックであり、信号/CS、/RAS、/CAS、/WEは同期型半導体記憶装置1000にコマンドを認識させるための制御信号である。   Referring to FIG. 9, signal CLK is an externally applied clock signal, and signal CLK (ctr) is an internal clock that is generated internally based on clock signal CLK and serves as a reference for the operation of the memory array. / CS, / RAS, / CAS, / WE are control signals for causing the synchronous semiconductor memory device 1000 to recognize commands.

信号L−DQは、データ入出力端子の下位ビット側つまりデータ入出力端子DQ0〜DQ15に入出力されるデータ信号であり、信号U−DQはデータ入出力端子の上位ビット、すなわちデータ入出力端子DQ16〜DQ31に入出力されるデータ信号を示す。   The signal L-DQ is a data signal input / output to / from the lower bit side of the data input / output terminal, that is, the data input / output terminals DQ0 to DQ15, and the signal U-DQ is the upper bit of the data input / output terminal, that is, the data input / output terminal. Data signals input to and output from DQ16 to DQ31 are shown.

信号64−ARRAYは、入出力回路部と内部のメモリアレイとのデータの入出力をするデータバス上の信号を示す。ここで信号L−Evenは、データの下位ビット側の偶数アドレスに相当する領域からのデータを示し、信号L−Oddは、データの下位ビット側の奇数アドレスに相当する領域からのデータを示す。   A signal 64-ARRAY indicates a signal on the data bus for inputting / outputting data between the input / output circuit unit and the internal memory array. Here, the signal L-Even indicates data from the area corresponding to the even address on the lower bit side of the data, and the signal L-Odd indicates data from the area corresponding to the odd address on the lower bit side of the data.

時刻t1において、アクティブコマンド(ACT)が入力され、時刻t2においてライトコマンド(WRITE)が入力される。   At time t1, an active command (ACT) is input, and at time t2, a write command (WRITE) is input.

時刻t3以降、データ入出力端子DQ0〜DQ31にクロックCLKの2倍のデータレートでバースト長8の連続データが入力される。   After time t3, continuous data having a burst length of 8 is input to the data input / output terminals DQ0 to DQ31 at a data rate twice that of the clock CLK.

時刻t3におけるクロックの立上がりエッジと次の立下がりエッジで2データが入出力回路に取込まれ、時刻t4以降順次メモリアレイへと出力される。このとき32ビットで外部より入力されたデータは周波数が2分の1に落とされビット数が2倍に増えた64データとなり、この64データが一度にメモリアレイに書込まれる。バースト長8の32ビットのデータは、つまり、内部クロックCLK(ctr)に同期した64ビットの4データになり内部メモリアレイに書込まれる。   Two data are taken into the input / output circuit at the rising edge and the next falling edge of the clock at time t3, and sequentially output to the memory array after time t4. At this time, 32 bits of data input from the outside is reduced to a half of the frequency and becomes 64 data in which the number of bits is doubled. The 64 data is written into the memory array at a time. The 32-bit data having a burst length of 8, that is, 4-bit 64-bit data synchronized with the internal clock CLK (ctr) is written to the internal memory array.

時刻t5では、リードコマンドが入力され内部のメモリアレイから64ビットのデータが同時に読出され、時刻t6以降32ビットのダブルデータレートのデータが半導体記憶装置から外部へ出力される。   At time t5, a read command is input and 64-bit data is simultaneously read from the internal memory array, and 32-bit double data rate data is output to the outside from the semiconductor memory device after time t6.

図10は、実施の形態1に用いられる入出力回路64の構成を示す回路図である。
図10を参照して、アドレスバスEVEN0は、バンク0〜バンク3の偶数アドレス領域に接続されるデータバスであり、アドレスバスODD0は、バンク0〜バンク3の奇数アドレス領域に接続されるデータバスである。また、アドレスバスEVEN1は、バンク4〜バンク7の偶数アドレス領域に接続されるデータバスであり、アドレスバスODD1は、バンク4〜バンク7の奇数アドレス領域に接続されるデータバスである。
FIG. 10 is a circuit diagram showing a configuration of input / output circuit 64 used in the first embodiment.
Referring to FIG. 10, address bus EVEN0 is a data bus connected to the even address areas of bank 0 to bank 3, and address bus ODD0 is a data bus connected to the odd address areas of bank 0 to bank 3. It is. The address bus EVEN1 is a data bus connected to the even address areas of the banks 4 to 7, and the address bus ODD1 is a data bus connected to the odd address areas of the banks 4 to 7.

入出力回路64は、選択されたバンクおよび出力する最初のデータに相当するアドレスの偶数奇数に応じてアドレスバスEVEN0、ODD0、EVEN1およびODD1のうちいずれか1つを選択しアドレスバスから伝達されたデータをレシーバ活性化信号R−ENに応じて出力するレシーバ142、143と、リードクロックRCLK(ctr)でシフト動作を行ないセレクト信号を出力するシフトレジスタ162と、シフトレジスタ162の出力するセレクト信号に応じてそれぞれレシーバ142、143が出力するデータを内部に取込むラッチ146、148を含む。   The input / output circuit 64 selects one of the address buses EVEN0, ODD0, EVEN1, and ODD1 according to the selected bank and the even and odd addresses corresponding to the first data to be output, and is transmitted from the address bus. Receivers 142 and 143 that output data in response to the receiver activation signal R-EN, a shift register 162 that performs a shift operation with the read clock RCLK (ctr) and outputs a select signal, and a select signal that the shift register 162 outputs Correspondingly, latches 146 and 148 for receiving data output from receivers 142 and 143 are included.

入出力回路64は、さらに、DLL回路で生成されたクロックDLLをもとに生成される間引きクロックDLLe、DLLoを受けてCASレイテンシおよびモードレジスタの設定に応じてデータ出力用クロックCK1、CK2として入出力回路内部に伝達するスイッチ166と、出力クロックCK2に応じてデータをシフトするシフトレジスタ164と、出力クロックCK1に応じてデータをシフトするシフトレジスタ172とを含む。ラッチ146、148はそれぞれシフトレジスタ172、164の出力に応じてラッチしたデータを選択し出力する。   The input / output circuit 64 further receives the thinned clocks DLLe and DLLo generated based on the clock DLL generated by the DLL circuit, and inputs them as data output clocks CK1 and CK2 in accordance with the CAS latency and the mode register settings. It includes a switch 166 that transmits to the inside of the output circuit, a shift register 164 that shifts data according to the output clock CK2, and a shift register 172 that shifts data according to the output clock CK1. The latches 146 and 148 select and output the latched data according to the outputs of the shift registers 172 and 164, respectively.

入出力回路64は、さらに、イネーブル信号OEによって活性化されデータを端子DQ0に対して出力する出力バッファ150と、出力クロックCK1の活性化に応じてラッチ148の出力を出力バッファ150に与えるスイッチ168と、出力クロックCK2の活性化に応じてラッチ146の出力を出力バッファ150に与えるスイッチ170とを含む。   The input / output circuit 64 further includes an output buffer 150 that is activated by the enable signal OE and outputs data to the terminal DQ0, and a switch 168 that provides the output of the latch 148 to the output buffer 150 in response to the activation of the output clock CK1. And a switch 170 for supplying the output of the latch 146 to the output buffer 150 in response to the activation of the output clock CK2.

入出力回路64は、さらに、端子DQ0に外部から入力されたデータを入力として受けてイネーブル信号WEに応じて増幅する入力バッファ152と、外部から入力されるストローブ信号に応じて内部で生成される信号FETCHe、FETCHoにそれぞれ応じて入力バッファ152の出力を内部に伝達するスイッチ176、178と、信号FETCHoをシフトクロックとして受けセレクト信号を出力するシフトレジスタ174と、信号FETCHeをシフトクロックとして受けセレクト信号を出力するシフトレジスタ180と、シフトレジスタ174が出力するセレクト信号に応じて、スイッチ176を介して伝達された信号を取込むラッチ156と、シフトレジスタ180が出力するセレクト信号に応じてスイッチ178が伝達する信号を取込むラッチ154とを含む。   The input / output circuit 64 further receives the data input from the outside to the terminal DQ0 as an input and amplifies it according to the enable signal WE, and is internally generated according to the strobe signal input from the outside. Switches 176 and 178 that transmit the output of the input buffer 152 in response to the signals FETCHe and FETCHo, a shift register 174 that receives the signal FETCHo as a shift clock and outputs a select signal, and a select signal that receives the signal FETCHe as a shift clock. , A latch 156 that captures a signal transmitted through the switch 176 in response to a select signal output from the shift register 174, and a switch 178 in response to a select signal output from the shift register 180. introduce And a latch 154 for taking the issue.

入出力回路64は、さらに、ライトクロックWCLK(loc)をシフトクロックとして受けセレクト信号を出力するシフトレジスタ182と、シフトレジスタ182が出力するセレクト信号に応じてラッチ154、156が出力するデータを受けるバスドライバ158とをさらに含む。バスドライバ158は受けたデータを書込むバンクおよび最初に外部より受け取ったデータを書込むアドレス(ファーストアドレス)が偶数であるか奇数であるかに応じてデータバスEVEN0、ODD0、EVEN1、ODD1にデータを分配して出力する。   The input / output circuit 64 further receives a write clock WCLK (loc) as a shift clock and outputs a select signal, and receives data output from the latches 154 and 156 according to the select signal output from the shift register 182. And a bus driver 158. The bus driver 158 sends data to the data buses EVEN0, ODD0, EVEN1, and ODD1 depending on whether the bank to which the received data is written and the address (first address) to which the first received data is written is an even number or an odd number. Are distributed and output.

動作を簡単に説明すると、バンク0〜バンク3の偶数アドレス領域、奇数アドレス領域からくるデータまたはバンク4〜バンク7の偶数アドレス領域、奇数アドレス領域からくるデータのいずれかがレシーバ142、143の入力部に設けられた4点スイッチ部分で区別され、取込まれる。   The operation will be briefly described. Data from the even address area and the odd address area of the bank 0 to the bank 3 or data from the even address area and the odd address area of the bank 4 to the bank 7 are input to the receivers 142 and 143. It is distinguished and captured by a 4-point switch portion provided in the section.

ここにはバンクの上位(4−7)/下位(0−3)を区別する信号と、バースト読出時の最初のアドレスが偶数アドレスか奇数アドレスかを示す信号が入力される。レシーバ143、ラッチ148、スイッチ168の設けられている経路が最初に出力されるデータの経路でありレシーバ142、ラッチ146、スイッチ170の設けられている経路が2番目のデータが出力される経路である。レシーバ143、142の入力部のスイッチを経たデータはアンプで増幅されラッチ148、146の入力部のセレクタ部分に転送される。ここで、セレクタはラッチに含まれる4経路のうち1つを選択する。この経路の選択は、セレクト信号をラッチに入力するシフトレジスタ162に与えられるリード用の内部クロックRCLK(ctr)に応じて順次シフトされ、入力されてきたデータは順次ラッチされる。   Here, a signal for discriminating between upper (4-7) / lower (0-3) of the bank and a signal indicating whether the first address at the time of burst reading is an even address or an odd address are input. The path provided with the receiver 143, the latch 148, and the switch 168 is a path for data to be output first, and the path provided with the receiver 142, the latch 146, and the switch 170 is a path for output of the second data. is there. Data that has passed through the switches of the input parts of the receivers 143 and 142 is amplified by an amplifier and transferred to the selector part of the input parts of the latches 148 and 146. Here, the selector selects one of the four paths included in the latch. The selection of this path is sequentially shifted in accordance with a read internal clock RCLK (ctr) applied to a shift register 162 that inputs a select signal to the latch, and the input data is sequentially latched.

ラッチに格納されたデータは、ラッチに入力されたときのクロックと異なるクロックを基準として出力される。出力側のクロックDLLe、DLLoに応じてシフト動作を行なうシフトレジスタ164、172が出力するセレクト信号によって順次、ラッチの出力側の選択経路がシフトする。出力データのうち奇数番目に出すデータがラッチ148に格納されており、偶数番目に出力するデータがラッチ146に格納されている。したがって、リードコマンドを認識したリードクロックRCLK(ctr)からデータを外部に出力するまでのレイテンシにより、クロックDLLeとクロックDLLoのいずれがスイッチ168に制御信号として入力されるかが決まり、スイッチ170には他方のクロックが制御信号として入力される。たとえば、レイテンシが、1.5ならばクロックDLLoがスイッチ168に制御信号として入力され、クロックDLLeがスイッチ170の制御信号として入力される。   The data stored in the latch is output on the basis of a clock different from the clock when it is input to the latch. The selection path on the output side of the latch is sequentially shifted by the select signal output from the shift registers 164 and 172 that perform the shift operation in accordance with the clocks DLLe and DLLo on the output side. Of the output data, odd-numbered data is stored in the latch 148, and even-numbered data is stored in the latch 146. Therefore, the latency from the read clock RCLK (ctr) that recognized the read command to the output of data to the outside determines which of the clock DLLe and the clock DLLo is input to the switch 168 as a control signal. The other clock is input as a control signal. For example, if the latency is 1.5, the clock DLLo is input as a control signal to the switch 168, and the clock DLLe is input as a control signal of the switch 170.

ライト時には、外部より最初に入力されるデータは無条件にラッチ156に転送され、次に入力されるデータは無条件にラッチ154に転送され、以降ラッチ156、154に交互にデータが転送される。   At the time of writing, the first input data from the outside is unconditionally transferred to the latch 156, the next input data is unconditionally transferred to the latch 154, and thereafter the data is alternately transferred to the latches 156 and 154. .

ラッチされたデータは、ライト用の内部クロックWCLK(loc)に応じてバスドライバ158に伝達される。バスドライバ158はバンクアドレスとバーストデータの最初のアドレスに応じて対応するデータバスにデータを出力する。   The latched data is transmitted to the bus driver 158 in accordance with the write internal clock WCLK (loc). The bus driver 158 outputs data to the corresponding data bus according to the bank address and the first address of the burst data.

図10では入出力回路の回路構成を示したが、ライト時にデータマスクとして用いるデータの入力部に関しても、同型回路を用いて同じマージンで動作させることも考えられる。この場合には、データの入力側の回路のみでよいが、容量バランスをとるために出力系の回路も動作はさせないものの、ダミー配置させる場合がある。   Although the circuit configuration of the input / output circuit is shown in FIG. 10, it is also conceivable that the data input portion used as a data mask at the time of writing is operated with the same margin using the same type circuit. In this case, only the circuit on the data input side may be used. However, in order to balance the capacitance, the output system circuit is not operated, but may be arranged in a dummy manner.

データの出力に関するストローブ端子についても同様である。この場合には、データの出力側の回路のみでよいが、容量バランスをとるために入力系回路も動作はさせないものの、ダミー配置させる場合がある。   The same applies to the strobe terminals related to data output. In this case, only the circuit on the data output side may be used. However, in order to balance the capacitance, the input system circuit is not operated, but may be arranged in a dummy manner.

また、両者を1つに兼ねる場合もある。出力データのストローブとライトマスクデータの入力とは衝突することがない場合には同じバスを利用できる。この場合には、データ入出力端子DQに用いられる入出力回路と同じ回路構成で、出力側に出力データのストローブの回路を割当て、入力側にライトマスクデータの回路を割当てることができる。   In some cases, both may be combined. When the output data strobe and the write mask data input do not collide, the same bus can be used. In this case, with the same circuit configuration as the input / output circuit used for the data input / output terminal DQ, an output data strobe circuit can be assigned to the output side, and a write mask data circuit can be assigned to the input side.

図11は、図10に示したリード時にデータを保持するラッチ148の構成を示す回路図である。   FIG. 11 is a circuit diagram showing a configuration of latch 148 that holds data at the time of reading shown in FIG.

図11を参照して、ラッチ148は、メモリアレイから読出されるデータRINを受けて内部に取込み保持し、出力信号ROUTとして出力する4つのラッチ148a〜148dを含む。ラッチ148aは、入力信号RINを選択信号SELAの活性化に応じて内部ノードN1に与えるPチャネルMOSトランジスタ192と、ソースが電源電位に結合されゲートがノードN1に接続されドレインがノードN2に接続されたPチャネルMOSトランジスタ194と、ゲートがノードN1に接続されソースがノードN3に接続されドレインがノードN2に接続されたNチャネルMOSトランジスタ196と、セレクト信号SELBの活性化に応じてノードN2の電位を出力信号ROUTとしてラッチ外部に与えるNチャネルMOSトランジスタ198と、入力にノードN2、N4が接続され出力がノードN1に接続されたNOR回路200とを含む。   Referring to FIG. 11, latch 148 includes four latches 148a to 148d that receive and hold data RIN read from the memory array and output it as output signal ROUT. Latch 148a has a P-channel MOS transistor 192 for applying input signal RIN to internal node N1 in response to activation of select signal SELA, a source coupled to a power supply potential, a gate connected to node N1, and a drain connected to node N2. P-channel MOS transistor 194, N-channel MOS transistor 196 having a gate connected to node N1, a source connected to node N3, and a drain connected to node N2, and the potential of node N2 in response to activation of select signal SELB Is output to the outside of the latch as an output signal ROUT, and a NOR circuit 200 having nodes N2 and N4 connected to inputs and an output connected to node N1.

ラッチ148b、148c、148dは148aと同様の構成を有するので説明は繰返さない。   Since latches 148b, 148c and 148d have the same configuration as 148a, description thereof will not be repeated.

ラッチ148は、さらに、ラッチ148a〜148dに共通して設けられリードフラグREAD(FLAG)の活性化に応じてノードN3を接地電位と結合するNチャネルMOSトランジスタ202と、リードフラグREAD(FLAG)が非活性化時に反転してリセット信号を出力しノードN4に与えるインバータ204をさらに含む。   Latch 148 further includes an N-channel MOS transistor 202 provided in common with latches 148a to 148d for coupling node N3 to the ground potential in response to activation of read flag READ (FLAG), and read flag READ (FLAG). Further included is an inverter 204 which outputs a reset signal and applies it to node N4 when inverted.

ラッチ内部に使用されるトランジスタ194、196は低電圧で高速動作させるためしきい値電圧の低いものが使用され、リード動作が行なわれていないときにトランジスタ194、196に流れるサブスレッショルド電流を抑えるためにNチャネルMOSトランジスタ202にはしきい値電圧の高いトランジスタが使用される。   Transistors 194 and 196 used in the latch have a low threshold voltage to operate at a high speed with a low voltage. In order to suppress a subthreshold current flowing through the transistors 194 and 196 when a read operation is not performed. The N channel MOS transistor 202 is a transistor having a high threshold voltage.

図10におけるラッチ146もラッチ148と同様の構成を有するので説明は繰返さない。   Since latch 146 in FIG. 10 has the same configuration as latch 148, description thereof will not be repeated.

図12は、図10に示したデータ書込時にデータを保持するラッチ回路156の構成を示す回路図である。   FIG. 12 is a circuit diagram showing a configuration of latch circuit 156 that holds data at the time of data writing shown in FIG.

図12を参照して、ラッチ回路156は、データ入出力端子に入力されるデータ信号WINを受けて保持しさらにメモリアレイに向けて出力信号WOUTとして出力する4つのラッチ156a〜156dを含む。   Referring to FIG. 12, latch circuit 156 includes four latches 156a to 156d that receive and hold data signal WIN input to the data input / output terminal and further output as an output signal WOUT toward the memory array.

ラッチ156aは、入力信号WINを選択信号SELCの活性化に応じてノードN5に与えるPチャネルMOSトランジスタ212と、ノードN5がゲートに接続されソースが電源電位に結合されドレインがノードN6に接続されたPチャネルMOSトランジスタ214と、ゲートがノードN5に接続されドレインとソースがそれぞれノードN6、N7に接続されるNチャネルMOSトランジスタ216と、選択信号SELDの活性化に応じてノードN6の電位を出力信号WOUTとして与えるNチャネルMOSトランジスタ218とを含む。ラッチ156aは、さらに、ノードN6、N8が入力に接続され出力がノードN5に接続されたNOR回路220を含む。   Latch 156a has a P-channel MOS transistor 212 for applying input signal WIN to node N5 in response to activation of select signal SELC, node N5 connected to the gate, source coupled to the power supply potential, and drain connected to node N6. P channel MOS transistor 214, N channel MOS transistor 216 having a gate connected to node N5 and a drain and source connected to nodes N6 and N7, respectively, and the potential of node N6 in response to activation of select signal SELD are output signals. N channel MOS transistor 218 provided as WOUT. Latch 156a further includes a NOR circuit 220 having nodes N6 and N8 connected to the inputs and an output connected to node N5.

ラッチ156b、156c、156dはラッチ156aと同様の構成を有するため説明は繰返さない。   Since latches 156b, 156c, and 156d have the same configuration as latch 156a, description thereof will not be repeated.

ラッチ156は、さらに、ラッチ156a〜156dに共通して設けられライトフラグWRITE(FLAG)の活性化に応じてノードN7を接地電位に結合するNチャネルMOSトランジスタ222と、ライトフラグWRITE(FLAG)が非活性化時に反転しノードN8にリセット信号として与えるインバータ224を含む。   Latch 156 is further provided in common with latches 156a to 156d, and includes N channel MOS transistor 222 that couples node N7 to the ground potential in response to activation of write flag WRITE (FLAG), and write flag WRITE (FLAG). Inverter 224 is provided which is inverted when deactivated and applied to node N8 as a reset signal.

ラッチ内部に使用されるトランジスタ214、216は低電圧で高速動作させるためしきい値電圧の低いものが使用され、ライト動作が行なわれていないときにトランジスタ214、216に流れるサブスレッショルド電流を抑えるためにNチャネルMOSトランジスタ222にはしきい値電圧の高いトランジスタが使用される。   Transistors 214 and 216 used in the latch have a low threshold voltage for high-speed operation at a low voltage, and suppress a subthreshold current flowing in the transistors 214 and 216 when a write operation is not performed. The N channel MOS transistor 222 is a transistor having a high threshold voltage.

図10におけるラッチ154もラッチ156と同様の構成を有するので説明は繰返さない。   Since latch 154 in FIG. 10 has the same configuration as latch 156, description thereof will not be repeated.

図11、図12を参照して、ラッチ148、156はリセット信号により動作していないときにはラッチの入力側がLレベルに、出力側がHレベルにリセットされる。このため、トランスファゲートとして使用しているMOSトランジスタの導電型を変えている。   Referring to FIGS. 11 and 12, when latches 148 and 156 are not operated by a reset signal, the input side of the latch is reset to L level and the output side is reset to H level. For this reason, the conductivity type of the MOS transistor used as the transfer gate is changed.

トランスファゲート用のMOSトランジスタは動作スピードの高速化のため、低いしきい値電圧のものを使用する。入力ノードがLレベルとなるためラッチの入力側にはPチャネル型のトランジスタを使用し、出力ノードがHレベルのため出力側にはNチャネル型のトランジスタを使用する。このとき、スタンドバイ時のラッチのノード電位に対するゲート電位つまりゲート−ソース間電圧が負となることでそれぞれのトランジスタはしきい値電圧が低くともリーク電流が発生しにくい(図示しないが、前後の回路部によりリセット時の出力ノードおよび入力ノードは制御されている。)。   A transfer gate MOS transistor having a low threshold voltage is used to increase the operation speed. Since the input node is at the L level, a P-channel type transistor is used on the input side of the latch, and since the output node is at the H level, an N-channel type transistor is used on the output side. At this time, since the gate potential with respect to the node potential of the latch at the time of standby, that is, the gate-source voltage becomes negative, each transistor hardly generates a leak current even though the threshold voltage is low (not shown) The output node and the input node at the time of resetting are controlled by the circuit unit.)

以上説明したようにデータの読出、書込時におけるバースト動作の終了時にラッチをリセットし、インバータ部の接地側に共通して設けられたしきい値電圧の高いNチャネルMOSトランジスタによって接地電位とインバータを分離することにより待機時のサブスレッショルド電流を小さく抑えることができる。   As described above, the latch is reset at the end of the burst operation at the time of reading and writing data, and the ground potential and the inverter are set by the N-channel MOS transistor having a high threshold voltage provided in common on the ground side of the inverter section. By separating these, the subthreshold current during standby can be kept small.

図11、12では、NOR回路によってインバータの入力ノードがL(ロウ)レベルにリセットされる例を示したがH(ハイ)レベルにリセットされてもよい。その場合はインバータの電源ノード側にしきい値電圧の絶対値の大きいPチャネルMOSトランジスタが設けられ、ラッチにデータを入出力するトランスファゲートのMOSトランジスタの導電型はリセット論理に応じて選択される。   11 and 12 show an example in which the input node of the inverter is reset to L (low) level by the NOR circuit, but may be reset to H (high) level. In that case, a P channel MOS transistor having a large absolute value of the threshold voltage is provided on the power supply node side of the inverter, and the conductivity type of the MOS transistor of the transfer gate for inputting / outputting data to / from the latch is selected according to the reset logic.

図13は、図10に示したシフトレジスタ162の構成を示す回路図である。
図13を参照して、シフトレジスタ162は、リードフラグREAD(FLAG)、リセット信号RESET、内部信号CO2、内部信号CO11を受け、内部信号CO1を発生するパルス発生回路501と、内部信号CO1を入力ノードDに受け出力ノードQから内部信号CO2を出力するフリップフロップ514と、内部信号CO2を入力ノードDに受け出力ノードQから内部信号CO3を出力するフリップフロップ516と、内部信号CO3を入力ノードDに受け出力ノードQから内部信号CO4を出力するフリップフロップ518と、内部信号CO4を入力ノードDに受け出力ノードQから内部信号CO11を出力するフリップフロップ512と、内部信号CO1、CO2、CO3、CO4およびクロック信号SCLKを受けセレクト信号C1、C2、C3、C4を出力する出力回路519とを含む。
FIG. 13 is a circuit diagram showing a configuration of shift register 162 shown in FIG.
Referring to FIG. 13, shift register 162 receives a read flag READ (FLAG), a reset signal RESET, an internal signal CO2, and an internal signal CO11, and receives pulse signal generation circuit 501 for generating internal signal CO1 and internal signal CO1. A flip-flop 514 that receives the internal signal CO2 from the output node Q received at the node D, a flip-flop 516 that receives the internal signal CO2 from the output node Q and outputs the internal signal CO3 from the output node Q, and an internal signal CO3 as the input node D Flip-flop 518 that outputs internal signal CO4 from receiving output node Q, flip-flop 512 that receives internal signal CO4 at input node D and outputs internal signal CO11 from output node Q, and internal signals CO1, CO2, CO3, CO4 And select clock signal SCLK And an output circuit 519 for outputting a signal C1, C2, C3, C4.

フリップフロップ512、514、516、518のクロックノードCKにはシフトクロックとしてクロック信号SCLKが入力されリセット入力ノードRにはリセット信号RESETが入力される。   A clock signal SCLK is input to the clock node CK of the flip-flops 512, 514, 516, and 518 as a shift clock, and a reset signal RESET is input to the reset input node R.

パルス発生回路501は、リードフラグREAD(FLAG)を一方の入力に受けるNOR回路502と、NOR回路502の出力とリセット信号RESETと内部信号CO2とを入力に受けNOR回路502の他方の入力ノードに否定和を出力する3入力のNOR回路504と、NOR回路502の出力を受けて反転するインバータ506と、インバータ506の出力と内部信号CO11とを受けるNOR回路508と、NOR回路508の出力を受けて反転し内部信号CO1を出力するインバータ510とを含む。   A pulse generation circuit 501 receives a read flag READ (FLAG) at one input, a NOR circuit 502, an output from the NOR circuit 502, a reset signal RESET, and an internal signal CO2 as inputs, and inputs to the other input node of the NOR circuit 502. A three-input NOR circuit 504 that outputs a negative sum, an inverter 506 that receives and inverts the output of the NOR circuit 502, a NOR circuit 508 that receives the output of the inverter 506 and the internal signal CO11, and an output of the NOR circuit 508 And an inverter 510 that inverts and outputs an internal signal CO1.

出力回路519は、内部信号CO1とクロック信号SCLKとを受けるNAND回路520と、NAND回路520の出力を受けて反転しセレクト信号C1を出力するインバータ522と、内部信号CO2とクロック信号SCLKを受けるNAND回路524と、NAND回路524の出力を受けて反転しセレクト信号C2を出力するインバータ526と、内部信号CO3とクロック信号SCLKとを受けるNAND回路528と、NAND回路528の出力を受けて反転しセレクト信号C3を出力するインバータ530と、内部信号CO4とクロック信号SCLKとを受けるNAND回路532と、NAND回路532の出力を受けて反転しセレクト信号C4を出力するインバータ534とを含む。   Output circuit 519 includes an NAND circuit 520 that receives internal signal CO1 and clock signal SCLK, an inverter 522 that receives and inverts the output of NAND circuit 520 and outputs select signal C1, and a NAND that receives internal signal CO2 and clock signal SCLK. Circuit 524, inverter 526 which receives and inverts the output of NAND circuit 524 and outputs select signal C2, NAND circuit 528 which receives internal signal CO3 and clock signal SCLK, and receives and inverts and selects the output of NAND circuit 528 An inverter 530 that outputs signal C3, a NAND circuit 532 that receives internal signal CO4 and clock signal SCLK, and an inverter 534 that receives and inverts the output of NAND circuit 532 and outputs select signal C4.

図14は、図13に示したフリップフロップ512の構成を示す回路図である。
図14を参照して、フリップフロップ512は、クロックノードCKが入力に接続されるインバータ570と、インバータ570の出力を受けて反転するインバータ572と、入力ノードDが入力に接続されるインバータ542と、インバータ542の出力ノードとノードNF1との間に並列に接続されるPチャネルMOSトランジスタ544およびNチャネルMOSトランジスタ546と、ノードNF1とリセット入力ノードRとが入力に接続されるNOR回路548と、NOR回路548の出力を受けて反転するインバータ550と、インバータ550の出力ノードとノードNF1との間に並列に接続されるPチャネルMOSトランジスタ554およびNチャネルMOSトランジスタ552とを含む。
FIG. 14 is a circuit diagram showing a configuration of flip-flop 512 shown in FIG.
Referring to FIG. 14, flip-flop 512 includes an inverter 570 having clock node CK connected to the input, an inverter 572 that receives and inverts the output of inverter 570, and an inverter 542 that has input node D connected to the input. P-channel MOS transistor 544 and N-channel MOS transistor 546 connected in parallel between the output node of inverter 542 and node NF1, NOR circuit 548 where node NF1 and reset input node R are connected to the input, Inverter 550 receives and inverts the output of NOR circuit 548, and includes a P-channel MOS transistor 554 and an N-channel MOS transistor 552 connected in parallel between the output node of inverter 550 and node NF1.

PチャネルMOSトランジスタ544のゲートおよびNチャネルMOSトランジスタ552のゲートはインバータ570の出力を受ける。NチャネルMOSトランジスタ546のゲートおよびPチャネルMOSトランジスタ554のゲートはインバータ572の出力を受ける。   The gate of P channel MOS transistor 544 and the gate of N channel MOS transistor 552 receive the output of inverter 570. The gate of N channel MOS transistor 546 and the gate of P channel MOS transistor 554 receive the output of inverter 572.

フリップフロップ512は、さらに、NOR回路548の出力ノードとノードNF2との間に並列に接続されるPチャネルMOSトランジスタ556およびNチャネルMOSトランジスタ558と、ノードNF2が入力に接続されるインバータ560と、インバータ560の出力ノードとリセット入力ノードRとが入力に接続されるNOR回路562と、NOR回路562の出力ノードとノードNF2との間に並列に接続されるPチャネルMOSトランジスタ564およびNチャネルMOSトランジスタ566と、インバータ560の出力を受けて反転し出力ノードQに反転結果を出力するインバータ568とを含む。   Flip-flop 512 further includes a P-channel MOS transistor 556 and an N-channel MOS transistor 558 connected in parallel between the output node of NOR circuit 548 and node NF2, an inverter 560 having node NF2 connected to the input, NOR circuit 562 having the output node of inverter 560 and reset input node R connected to the input, P channel MOS transistor 564 and N channel MOS transistor connected in parallel between the output node of NOR circuit 562 and node NF2 566 and an inverter 568 that receives and inverts the output of inverter 560 and outputs the inversion result to output node Q.

PチャネルMOSトランジスタ556のゲートとNチャネルMOSトランジスタ566のゲートはインバータ572の出力を受ける。NチャネルMOSトランジスタ558のゲートとPチャネルMOSトランジスタ564のゲートはともにインバータ570の出力を受ける。   The gate of P channel MOS transistor 556 and the gate of N channel MOS transistor 566 receive the output of inverter 572. N channel MOS transistor 558 and P channel MOS transistor 564 both receive the output of inverter 570.

図13に示したフリップフロップ514、516、518もフリップフロップ512と同様の構成を有するので説明は繰返さない。   Since flip-flops 514, 516, and 518 shown in FIG. 13 have the same configuration as flip-flop 512, description thereof will not be repeated.

次にシフトレジスタ162の動作を簡単に説明する。
まず初期状態においてはリセット信号RESETによりフリップフロップ512〜518が保持しているデータはクリアされる。次にリードフラグREAD(FLAG)が入力されると内部信号CO1がHレベルに立上がる。
Next, the operation of the shift register 162 will be briefly described.
First, in the initial state, the data held in the flip-flops 512 to 518 is cleared by the reset signal RESET. Next, when read flag READ (FLAG) is input, internal signal CO1 rises to H level.

そしてクロック信号SCLKが入力されるとこの内部信号CO1がフリップフロップ514に取込まれ内部信号CO2がHレベルに立上がる。同時にパルス発生回路501は内部信号CO2によってリセットがかかり内部信号CO1はLレベルに立下がる。以降は内部信号CO2のHレベルがフリップフロップ516、518、512、514によって順次伝達される。つまり内部信号CO1、CO2、CO3、CO4のいずれか1つがHレベルであり、このHレベルとなった信号はクロック信号SCLKのエッジに同期して順次シフトすることになる。   When clock signal SCLK is input, internal signal CO1 is taken into flip-flop 514 and internal signal CO2 rises to the H level. At the same time, the pulse generation circuit 501 is reset by the internal signal CO2, and the internal signal CO1 falls to the L level. Thereafter, the H level of the internal signal CO2 is sequentially transmitted by the flip-flops 516, 518, 512, and 514. That is, any one of the internal signals CO1, CO2, CO3, and CO4 is at the H level, and the signal that has become the H level is sequentially shifted in synchronization with the edge of the clock signal SCLK.

内部信号CO1、CO2、CO3、CO4は1クロック周期の幅を有するパルスであるので、出力回路519によってクロック信号と論理積をとることによりセレクト信号C1、C2、C3、C4にはクロック信号SCLKのパルス幅を有する信号出力され、この信号は順次シフトされることになる。   Since the internal signals CO1, CO2, CO3, and CO4 are pulses having a width of one clock cycle, the select signals C1, C2, C3, and C4 receive the clock signal SCLK by performing an AND operation with the clock signal by the output circuit 519. A signal having a pulse width is output, and this signal is sequentially shifted.

図10に示したシフトレジスタ164、172、174、182、180もシフトレジスタ162と同様の構成を有するので説明は繰返さない。   Since shift registers 164, 172, 174, 182, and 180 shown in FIG. 10 have the same configuration as shift register 162, description thereof will not be repeated.

[実施の形態1における読出テスト]
実施の形態1において説明した、入出力回路を備える場合における動作テスト時のデータの読出について説明する。
[Read Test in Embodiment 1]
Data reading at the time of the operation test in the case where the input / output circuit described in Embodiment 1 is provided will be described.

動作テスト時にテスタ装置に接続する観測用端子の数を少なくし、かつ観測するデータレートを落とすことができれば性能の低いテスタ装置でも測定可能になり検査コストを下げることができる。   If the number of observation terminals connected to the tester device during the operation test can be reduced and the observation data rate can be reduced, it is possible to perform measurement even with a low-performance tester device, thereby reducing the inspection cost.

図15は、実施の形態1におけるデータの読出テストの概念を説明するための概念図である。   FIG. 15 is a conceptual diagram for explaining the concept of the data read test in the first embodiment.

図15を参照して、入出力回路部には、メモリアレイの奇数アドレス領域からのデータを受ける一致検出回路MAT1と、一致検出回路MAT1の出力を受けるラッチL1と、メモリアレイの偶数アドレス領域からのデータを受ける一致検出回路MAT2と、一致検出回路MAT2の出力を受けるラッチL2と、ラッチL1、L2の出力を受けクロック信号に応じてラッチL1、L2からのデータを交互に出力するマルチプレクサMPXと、マルチプレクサMPXの出力を受けて増幅し端子DQiに出力するバッファ回路OBUFとが設けられる。   Referring to FIG. 15, the input / output circuit portion includes a coincidence detection circuit MAT1 that receives data from the odd address area of the memory array, a latch L1 that receives the output of coincidence detection circuit MAT1, and an even address area of the memory array. A coincidence detection circuit MAT2 that receives the data of the data, a latch L2 that receives the output of the coincidence detection circuit MAT2, and a multiplexer MPX that receives the outputs of the latches L1 and L2 and alternately outputs the data from the latches L1 and L2 according to the clock signal; A buffer circuit OBUF that receives and amplifies the output of the multiplexer MPX and outputs the amplified signal to the terminal DQi.

図16は、図15に対応したより詳しい入出力回路641の構成を示す回路図である。
図16を参照して、この入出力回路641は、レシーバ143、142の出力を受け縮退処理をしラッチ148、146にそれぞれ出力する一致検出回路230をさらに含み、ラッチ156、154の出力をテスト時に他の端子に対応して設けられる入出力回路に対して与える出力回路232とをさらに含む点が、図10に示した入出力回路64と異なる。他の構成は入出力回路64と同様であるので説明は繰返さない。
FIG. 16 is a circuit diagram showing a more detailed configuration of input / output circuit 641 corresponding to FIG.
Referring to FIG. 16, input / output circuit 641 further includes a coincidence detection circuit 230 that receives the outputs of receivers 143 and 142 and outputs the results to latches 148 and 146, respectively, and tests the outputs of latches 156 and 154, respectively. It differs from the input / output circuit 64 shown in FIG. 10 in that it further includes an output circuit 232 that is sometimes provided to an input / output circuit provided corresponding to another terminal. Since other configurations are similar to those of input / output circuit 64, description thereof will not be repeated.

一致検出回路230は、信号ODQ0a〜ODQ3aを受けるEXOR回路234と、通常動作時には信号ODQ0aをラッチ148に与え、テスト動作時にEXOR回路234の出力をラッチ148に与える切換回路236と、信号ODQ0b〜ODQ3bを入力に受けるEXOR回路238と、通常動作時には信号ODQ0bをラッチ146に与え、テスト時にはEXOR238の出力をラッチ146に与える切換回路240とを含む。ここで、信号ODQ0a〜ODQ3aは、データ端子DQ0〜DQ3にそれぞれ対応して設けられる入出力回路64のレシーバ143の出力信号である。また、信号ODQ0b〜ODQ3bは、データ端子DQ0〜DQ3にそれぞれ対応して設けられる入出力回路64に含まれるレシーバ142の出力信号である。   The coincidence detection circuit 230 includes an EXOR circuit 234 that receives the signals ODQ0a to ODQ3a, a switching circuit 236 that provides the signal ODQ0a to the latch 148 during normal operation, and an output of the EXOR circuit 234 to the latch 148 during test operation, and signals ODQ0b to ODQ3b. The EXOR circuit 238 receives the signal ODQ0b in the normal operation and the switching circuit 240 supplies the latch 146 with the output of the EXOR 238 during the test. Here, the signals ODQ0a to ODQ3a are output signals of the receiver 143 of the input / output circuit 64 provided corresponding to the data terminals DQ0 to DQ3, respectively. The signals ODQ0b to ODQ3b are output signals of the receiver 142 included in the input / output circuit 64 provided corresponding to the data terminals DQ0 to DQ3, respectively.

出力回路232は、信号IDQ0aをテスト時に信号IDQ1a〜IDQ3aとして与えるスイッチ回路242〜244と、信号IDQ0bを信号IDQ1b〜IDQ3bとして与えるスイッチ回路246〜248を含む。   Output circuit 232 includes switch circuits 242 to 244 that provide signal IDQ0a as signals IDQ1a to IDQ3a during testing, and switch circuits 246 to 248 that provide signal IDQ0b as signals IDQ1b to IDQ3b.

ここで、信号IDQ0aは、データ端子DQ0に対応して設けられる入出力回路641のラッチ156の出力信号であり、信号IDQ1a〜IDQ3aは、データ端子DQ1〜DQ3にそれぞれ対応して設けられる入出力回路64におけるバスドライバ158の入力信号である。また、信号IDQ0bは、データ端子DQ0に対応して設けられる入出力回路641が含むラッチ154の出力信号であり、信号IDQ1b〜IDQ3bは、データ端子DQ1〜DQ3にそれぞれ対応して設けられる入出力回路64におけるバスドライバ158の入力信号である。   Here, the signal IDQ0a is an output signal of the latch 156 of the input / output circuit 641 provided corresponding to the data terminal DQ0, and the signals IDQ1a to IDQ3a are input / output circuits provided corresponding to the data terminals DQ1 to DQ3, respectively. 64 is an input signal of the bus driver 158. The signal IDQ0b is an output signal of the latch 154 included in the input / output circuit 641 provided corresponding to the data terminal DQ0, and the signals IDQ1b to IDQ3b are input / output circuits provided corresponding to the data terminals DQ1 to DQ3, respectively. 64 is an input signal of the bus driver 158.

図17は、実施の形態1のデータ読出テストの動作を説明するための動作波形図である。   FIG. 17 is an operation waveform diagram for illustrating the operation of the data read test of the first embodiment.

図17を参照して、時刻t1において、リードコマンドが入力されデータ入出力端子DQ0、DQ4、DQ8、DQ12、DQ16、DQ20、DQ24、DQ28からそれぞれ読出されたデータが出力される。   Referring to FIG. 17, at time t1, a read command is input, and data read from data input / output terminals DQ0, DQ4, DQ8, DQ12, DQ16, DQ20, DQ24, and DQ28 are output.

時刻t3において、データ入出力端子DQ0からは、通常動作時においてデータ入出力端子DQ0〜DQ3に読出される偶数アドレス領域のデータDLE0が一致回路にて縮退されて出力される。   At time t3, data DLE0 in the even address area read to data input / output terminals DQ0 to DQ3 during normal operation is output from data input / output terminal DQ0 after being degenerated by the matching circuit.

0.5クロック後には、データ入出力端子DQ0からは、同様にデータ入出力端子DQ0〜DQ3に通常時には出力される奇数アドレス領域のデータDLO0が一致検出回路にて縮退されて出力される。同様に、他のデータ入出力端子DQ(4i)からは、データ入出力端子DQ(4i+1)、DQ(4i+2)、DQ(4i+3)に通常時に出力されるデータが縮退されて出力される(iは1〜7の自然数)。以降奇数アドレス領域、偶数アドレス領域のデータが交互に読出される。   After 0.5 clocks, the data input / output terminal DQ0 similarly outputs the data DLO0 in the odd address area normally output to the data input / output terminals DQ0 to DQ3 by the match detection circuit. Similarly, data that is normally output to the data input / output terminals DQ (4i + 1), DQ (4i + 2), and DQ (4i + 3) is degenerated and output from the other data input / output terminals DQ (4i) (i Is a natural number of 1-7. Thereafter, the data in the odd address area and the even address area are read alternately.

このような構成とすることで、データ出力をモニタするために必要なデータ入出力端子の数を減らすことができ、半導体記憶装置の検査においてテスタが使用するチャネル数を減らすことができる。したがって、半導体記憶装置の検査コストを下げることができる。   With such a configuration, the number of data input / output terminals necessary for monitoring data output can be reduced, and the number of channels used by the tester in the inspection of the semiconductor memory device can be reduced. Therefore, the inspection cost of the semiconductor memory device can be reduced.

図18は、実施の形態1における読出テストにて不良検出率がさらに改善される構成を示す概念図である。   FIG. 18 is a conceptual diagram showing a configuration in which the defect detection rate is further improved in the read test in the first embodiment.

図18を参照して、実施の形態1においては、一致検出回路MAT1、MAT2に代えて一致検出回路MAT11、MAT12を含む点が図15に示した構成と異なる。他の構成は、図15に示した構成と同様であり説明は繰返さない。   Referring to FIG. 18, the first embodiment is different from the configuration shown in FIG. 15 in that match detection circuits MAT11 and MAT12 are included instead of match detection circuits MAT1 and MAT2. Other configurations are similar to those shown in FIG. 15, and description thereof will not be repeated.

図19は、図18に示した一致検出回路MAT11、MAT12の構成を示す回路図である。   FIG. 19 is a circuit diagram showing a configuration of coincidence detection circuits MAT11 and MAT12 shown in FIG.

図19を参照して、一致検出回路MAT11は、信号ODQ0a〜ODQ3aを受けるEXOR回路E111と、信号ODQ0a、ODQ4a、ODQ8a、ODQ12aを受けるEXOR回路E112と、EXOR回路E111、E112の出力を受けるOR回路E113とを含む。OR回路E113の出力は図18に示したラッチL1に対して出力される。   Referring to FIG. 19, coincidence detection circuit MAT11 includes an EXOR circuit E111 that receives signals ODQ0a to ODQ3a, an EXOR circuit E112 that receives signals ODQ0a, ODQ4a, ODQ8a, and ODQ12a, and an OR circuit that receives the outputs of EXOR circuits E111 and E112. E113. The output of the OR circuit E113 is output to the latch L1 shown in FIG.

一致検出回路MAT12は、信号ODQ0b〜ODQ3bを受けるEXOR回路E121と、信号ODQ0b、ODQ4b、ODQ8b、ODQ12bを受けるEXOR回路E122と、EXOR回路E121、E122の出力を受けるOR回路E123とを含む。OR回路E123の出力は図18に示したラッチL2に対して出力される。   Match detection circuit MAT12 includes an EXOR circuit E121 that receives signals ODQ0b to ODQ3b, an EXOR circuit E122 that receives signals ODQ0b, ODQ4b, ODQ8b, and ODQ12b, and an OR circuit E123 that receives the outputs of EXOR circuits E121 and E122. The output of the OR circuit E123 is output to the latch L2 shown in FIG.

ここで、信号ODQiaは、データ入出力端子DQiに対応して設けられる入出力回路64に含まれるレシーバ143の出力信号であり、信号ODQibは、レシーバ142の出力信号である(i=0〜12)。   Here, the signal ODQia is an output signal of the receiver 143 included in the input / output circuit 64 provided corresponding to the data input / output terminal DQi, and the signal ODQib is an output signal of the receiver 142 (i = 0-12). ).

実施の形態1の一致検出回路では、たとえば、データ入出力端子DQ0〜DQ3から読出されるデータのすべてが誤った値を出力した場合には、一致を検出してしまい、正常な読出が実行されたように判定をしてしまう。   In the coincidence detection circuit of the first embodiment, for example, when all of the data read from data input / output terminals DQ0 to DQ3 output an incorrect value, a coincidence is detected and normal reading is executed. Judgment is made as if

図19のような回路とすれば、隣接したデータ入出力端子(DQ0〜DQ3)に出力されるデータの一致結果が確認され、さらに、隣接していないデータ端子(DQ0、DQ4、DQ8、DQ12)に出力されるデータの一致も確認し、両方とも一致が確認された場合に出力としてLレベルを出力する。したがって、実施の形態1における一致検出回路よりも誤判定をする確率が大幅に少なくなる。   In the circuit as shown in FIG. 19, the coincidence result of the data output to the adjacent data input / output terminals (DQ0 to DQ3) is confirmed, and further, the non-adjacent data terminals (DQ0, DQ4, DQ8, DQ12). A match of the data output to is also checked, and if both match, the L level is output. Therefore, the probability of erroneous determination is greatly reduced as compared with the coincidence detection circuit in the first embodiment.

[実施の形態1の変形例1]
図20は、実施の形態1の変形例1における読出テストの概念を示す概念図である。
[Variation 1 of Embodiment 1]
FIG. 20 is a conceptual diagram showing a concept of a read test in the first modification of the first embodiment.

図20を参照して、実施の形態1の変形例1の場合においては、メモリアレイからの複数の読出データを受け、一致を検出する一致検出回路MAT3が設けられ、一致検出回路MAT3の出力がともにラッチL1、L2に入力される点が図15に示した構成と異なる。他の構成は図15に示した場合と同様であり説明は繰返さない。   Referring to FIG. 20, in the first modification of the first embodiment, there is provided a coincidence detection circuit MAT3 that receives a plurality of read data from the memory array and detects a coincidence, and the output of the coincidence detection circuit MAT3 is Both are different from the configuration shown in FIG. 15 in that they are input to the latches L1 and L2. Other configurations are the same as those shown in FIG. 15, and description thereof will not be repeated.

図21は、実施の形態1の変形例1における入出力回路642の構成を示す回路図である。   FIG. 21 is a circuit diagram showing a configuration of input / output circuit 642 in the first modification of the first embodiment.

図21を参照して、入出力回路642は、一致検出回路230に代えて、一致検出回路250を備える点が図16に示した入出力回路641と異なる。他の点は、入出力回路641と同様であり説明は繰返さない。   Referring to FIG. 21, input / output circuit 642 differs from input / output circuit 641 shown in FIG. 16 in that it includes a match detection circuit 250 instead of match detection circuit 230. Other points are similar to those of input / output circuit 641, and description thereof will not be repeated.

一致検出回路250は、信号ODQ0a〜ODQ3a、ODQ0b〜ODQ3bを受けるEXOR回路251と、通常動作時には信号ODQ0aをラッチ148に与え、テスト時にはEXOR回路251の出力をラッチ148に与える切換回路252と、通常動作時には信号ODQ0bをラッチ146に与え、テスト動作時にはEXOR回路251の出力をラッチ146に与える切換回路254とを含む。   The coincidence detection circuit 250 receives an EXOR circuit 251 that receives the signals ODQ0a to ODQ3a and ODQ0b to ODQ3b, a switching circuit 252 that supplies the signal ODQ0a to the latch 148 during normal operation, and provides the output of the EXOR circuit 251 to the latch 148 during a test. A switching circuit 254 is provided which provides the signal ODQ0b to the latch 146 during the operation and provides the output of the EXOR circuit 251 to the latch 146 during the test operation.

図22は、実施の形態1の変形例1における読出テストの動作を説明するための動作波形図である。   FIG. 22 is an operation waveform diagram for describing the operation of the read test in the first modification of the first embodiment.

図21、22を参照して、時刻t11においてリードコマンドが入力された後に時刻t3以降を外部に対してデータ入出力端子DQ0、DQ4、DQ8、DQ12、DQ16、DQ20、DQ24、DQ28からそれぞれ読出データが出力される。このデータは、EXOR回路251によってデータ入出力端子DQ0〜DQ3に対応して出力される偶数アドレス領域のデータおよび奇数アドレス領域のデータのすべての一致がとられた結果が出力される。したがって,図17で説明した場合よりもデータ出力レートが半分になっている。   Referring to FIGS. 21 and 22, data is read from data input / output terminals DQ0, DQ4, DQ8, DQ12, DQ16, DQ20, DQ24, and DQ28 after time t3 after a read command is input at time t11. Is output. This data is output by the EXOR circuit 251 in which all of the even address area data and odd address area data output corresponding to the data input / output terminals DQ0 to DQ3 are matched. Therefore, the data output rate is halved compared to the case described with reference to FIG.

以上のような構成とすることにより、テスタ装置に接続する観測用端子の数を減らすことができる。したがって、1台のテスタ装置により測定できるチップの数を増やすことができ、検査コストを下げることができる。また、観測するデータのデータレートを落とすことができ、性能のさほど高くないテスタ装置でも、検査することが可能になる。   With the above configuration, the number of observation terminals connected to the tester device can be reduced. Therefore, the number of chips that can be measured by one tester device can be increased, and the inspection cost can be reduced. In addition, the data rate of the data to be observed can be reduced, and it is possible to perform inspection even with a tester device that is not so high in performance.

[実施の形態1の変形例2]
図16に示した実施の形態1の入出力回路641の構成では、通常動作時にデータ入出力端子DQ0〜DQ3に出力されるデータを、テスト時においてEXORで一致を判定して出力した。しかし、期待値と比較しているわけではなく、読出データの相互比較を行っているだけであるので、すべての読出データが誤りであった場合には、EXOR回路の出力は正常時と同じ値を出力してしまう。
[Modification 2 of Embodiment 1]
In the configuration of the input / output circuit 641 of the first embodiment shown in FIG. 16, the data output to the data input / output terminals DQ0 to DQ3 during normal operation is determined by EXOR during a test and output. However, since the comparison is not made with the expected value, but only with the mutual comparison of the read data, if all the read data is in error, the output of the EXOR circuit is the same value as in the normal state. Will be output.

図23は、実施の形態1の変形例2におけるデータ読出テストの概念を示す概念図である。   FIG. 23 is a conceptual diagram showing a concept of a data read test in the second modification of the first embodiment.

メモリアレイからの複数のデータを受ける一致検出回路MAT4と一致検出回路の出力信号であるDOUTをともに受けるラッチL1,L2と、ラッチL1、L2の出力を交互に出力するマルチプレクサMPXと、一致検出回路MAT4の出力信号BENがHレベルのときは非活性化されLレベルのときはマルチプレクサMPXの出力を増幅してデータ入出力端子DQiに出力する出力バッファOBUFが設けられる。また、データ読出テストを実行する際には、半導体記憶装置外部において、データ入出力端子DQiは抵抗R11を介して電源電位と結合され、また、データ入出力端子DQiは、抵抗R12を介して接地電位と結合される。   A coincidence detection circuit MAT4 that receives a plurality of data from the memory array, latches L1 and L2 that receive both DOUT as an output signal of the coincidence detection circuit, a multiplexer MPX that alternately outputs the outputs of the latches L1 and L2, and a coincidence detection circuit An output buffer OBUF is provided that is inactivated when the output signal BEN of the MAT4 is at H level and amplifies the output of the multiplexer MPX and outputs it to the data input / output terminal DQi when it is at the L level. When executing the data read test, the data input / output terminal DQi is coupled to the power supply potential via the resistor R11 and the data input / output terminal DQi is grounded via the resistor R12 outside the semiconductor memory device. Combined with potential.

したがって、出力バッファOBUFの出力がハイインピーダンス状態のときは、入出力端子DQiの電位レベルは中間電位レベルとなる。   Therefore, when the output of the output buffer OBUF is in a high impedance state, the potential level of the input / output terminal DQi is an intermediate potential level.

図24は、図23における一致検出回路MAT4の構成を示す回路図である。
図24を参照して、一致検出回路MAT4は、信号ODQ0a〜ODQ3a、ODQ0b〜ODQ3bを受け、それらがすべて一致状態のときはHレベルを出力し、それ以外の場合はLレベルを出力するゲート回路E41と、信号ODQ0aおよびゲート回路E41の出力を受けるAND回路E42とを含む。
FIG. 24 is a circuit diagram showing a configuration of coincidence detection circuit MAT4 in FIG.
Referring to FIG. 24, coincidence detection circuit MAT4 receives signals ODQ0a to ODQ3a and ODQ0b to ODQ3b, and outputs an H level when they are all coincident, and outputs an L level otherwise. E41 and AND circuit E42 receiving signal ODQ0a and the output of gate circuit E41.

AND回路E42の出力信号は信号DOUTである。また、ゲート回路E41の出力信号は信号BENである。   The output signal of the AND circuit E42 is a signal DOUT. The output signal of the gate circuit E41 is the signal BEN.

図25は、実施の形態1の変形例2における読出テストの説明をするための動作波形図である。   FIG. 25 is an operation waveform diagram for describing a read test in the second modification of the first embodiment.

図23、25を参照して、時刻t1において、リードコマンドが入力されると、応じて、時刻t2以降において、データ入出力端子DQiから読出結果が出力される。この読出結果は、メモリアレイからのすべてのデータが一致している場合には、一致検出回路MAT4によりメモリアレイからのデータが出力され、一致検出回路MAT4がメモリアレイからのデータの一致を検出しない場合は、出力バッファOBUFがハイインピーダンス状態とされるためデータ入出力端子DQiの電位レベルは中間レベルとなる。   23 and 25, when a read command is input at time t1, a read result is output from data input / output terminal DQi after time t2. As a result of reading, when all the data from the memory array match, the data from the memory array is output by the match detection circuit MAT4, and the match detection circuit MAT4 does not detect the match of the data from the memory array. In this case, since the output buffer OBUF is in a high impedance state, the potential level of the data input / output terminal DQi becomes an intermediate level.

時刻t2、t3、t4、t5、t6、t7における出力の期待値がそれぞれH、L、H、L、H、Lである場合を考える。   Consider a case where the expected output values at times t2, t3, t4, t5, t6, and t7 are H, L, H, L, H, and L, respectively.

時刻t2、t3、t5、t7においては、出力された結果と期待値が一致しており、対応するメモリセルが正常に読出を行なったことがわかる。   At times t2, t3, t5, and t7, the output result matches the expected value, and it can be seen that the corresponding memory cell has read normally.

時刻t4においては、データ入出力端子DQiの電位レベルが中間レベルであるため、図24に示したアレイから読出されたデータ信号ODQ0a〜ODQ3a、ODQ0b〜ODQ3bのいずれかが誤ったデータを読出していることが観測できる。   At time t4, since the potential level of data input / output terminal DQi is an intermediate level, one of data signals ODQ0a to ODQ3a and ODQ0b to ODQ3b read from the array shown in FIG. 24 reads incorrect data. Can be observed.

時刻t6においては、期待値がHであるにもかかわらず、出力結果がLであり、図24に示した信号ODQ0a〜ODQ3a、ODQ0b〜ODQ3bのすべてが誤ったデータ値(Lレベル)を読出したことが観測できる。   At time t6, although the expected value is H, the output result is L, and all of the signals ODQ0a to ODQ3a and ODQ0b to ODQ3b shown in FIG. 24 read the wrong data value (L level). Can be observed.

このような構成とすることにより、読出データ同士の一致検出回路による判定と、テスタ装置による読出データと外部における期待値との比較という判定とを二重に行なうことにより、不良検出率をさらに上げることができる。   By adopting such a configuration, the defect detection rate is further increased by performing the determination by the coincidence detection circuit between the read data and the determination of the comparison between the read data by the tester device and the expected value outside. be able to.

[実施の形態1の変形例3]
実施の形態1の変形例3においても、実施の形態1の変形例2の場合と同様、誤判定の確率を下げ、不良検出率をさらに上げる構成を説明する。
[Modification 3 of Embodiment 1]
In the third modification of the first embodiment, as in the second modification of the first embodiment, a configuration will be described in which the probability of erroneous determination is lowered and the defect detection rate is further increased.

図26は、実施の形態1の変形例3におけるデータ読出テストの概念を示す概念図である。   FIG. 26 is a conceptual diagram showing the concept of the data read test in the third modification of the first embodiment.

図26を参照して、実施の形態1の変形例3においては、メモリアレイからの複数のデータを受ける一致検出回路MAT5が設けられ、一致検出回路MAT5の出力信号DOUTを受けるラッチL1と、一致検出回路MAT5の出力信号DOUT、SINVを受け対応する値を出力する反転スイッチ回路IVSWと、IVSWの出力を受けるラッチL2と、ラッチL1、L2の出力を交互に出力するマルチプレクサMPXと、マルチプレクサMPXの出力を増幅し、データ入出力端子DQiに出力する出力バッファOBUFとが設けられる。   Referring to FIG. 26, in modification 3 of the first embodiment, coincidence detection circuit MAT5 that receives a plurality of data from the memory array is provided, and coincides with latch L1 that receives output signal DOUT of coincidence detection circuit MAT5. An inverting switch circuit IVSW that receives the output signals DOUT and SINV of the detection circuit MAT5 and outputs corresponding values, a latch L2 that receives the output of IVSW, a multiplexer MPX that alternately outputs the outputs of the latches L1 and L2, and a multiplexer MPX An output buffer OBUF is provided for amplifying the output and outputting it to the data input / output terminal DQi.

図27は、一致検出回路MAT5および反転スイッチ回路IVSWの構成を示す回路図である。   FIG. 27 is a circuit diagram showing the configuration of the coincidence detection circuit MAT5 and the inverting switch circuit IVSW.

図27を参照して、一致検出回路MAT5は、信号ODQ0a〜ODQ3a、ODQ0b〜ODQ3bを受け、すべてが一致したときにHレベルを出力し、一致しない場合はLレベルを出力するゲート回路E51と、信号ODQ0aおよびゲート回路E51の出力信号SINVを受け出力信号DOUTを出力するAND回路E52とを含む。   Referring to FIG. 27, match detection circuit MAT5 receives signals ODQ0a to ODQ3a, ODQ0b to ODQ3b, outputs an H level when all match, and outputs a L level when they do not match, AND circuit E52 which receives signal ODQ0a and output signal SINV of gate circuit E51 and outputs output signal DOUT.

反転スイッチIVSWは、出力信号DOUTを受けて反転するインバータE53と、出力信号SINVを受けて反転するインバータE55と、出力信号SINVがHレベルのときにインバータE53の出力をラッチL2に与えるNチャネルMOSトランジスタE54と、インバータE55の出力がHレベルのときに出力信号DOUTをラッチL2に与えるNチャネルMOSトランジスタE56とを含む。   The inverting switch IVSW includes an inverter E53 that receives and inverts the output signal DOUT, an inverter E55 that receives and inverts the output signal SINV, and an N-channel MOS that provides the output of the inverter E53 to the latch L2 when the output signal SINV is at the H level. Transistor E54 and an N channel MOS transistor E56 that provides output signal DOUT to latch L2 when the output of inverter E55 is at the H level are included.

図28は、実施の形態1の変形例3における読出テストを説明するための動作波形図である。   FIG. 28 is an operation waveform diagram for illustrating a read test in the third modification of the first embodiment.

図26、図28を参照して、時刻t0において、リードコマンドが与えられる。応じて、時刻t1以降データ入出力端子DQiからはデータ読出結果が出力される。今、時刻t1a、t2a、t3a、t4a、t5a、t6aに対応するメモリアレイからの出力データの期待値はそれぞれH、H、L、L、H、Hであるとする。   Referring to FIGS. 26 and 28, a read command is given at time t0. Accordingly, a data read result is output from data input / output terminal DQi after time t1. Assume that the expected values of output data from the memory array corresponding to times t1a, t2a, t3a, t4a, t5a, and t6a are H, H, L, L, H, and H, respectively.

メモリアレイからのデータ読出値がHレベルであり一致検出回路MAT5が一致を検出した場合は、ラッチL1にはHがデータとして読込まれ、ラッチL2には反転スイッチIVSWによってデータが反転され、Lがデータとして読込まれる。したがって、外部で観測すると、データ出力端子DQiにはラッチL1のデータ、ラッチL2のデータの順でデータが出力されるため、HレベルからLレベルへと立下がる立下がりエッジが観測される。   When the data read value from the memory array is H level and the coincidence detection circuit MAT5 detects coincidence, H is read as data into the latch L1, and the data is inverted into the latch L2 by the inversion switch IVSW. Read as data. Accordingly, when observed externally, data is output to the data output terminal DQi in the order of the data of the latch L1 and the data of the latch L2, and therefore a falling edge falling from the H level to the L level is observed.

メモリアレイからのデータがLレベルの場合で一致検出回路MAT5が一致を検出した場合には、逆にLレベルからHレベルへと立上がる立上がりエッジが観測される。したがって、時刻t1a、t2aにおいては立下がりエッジが観測され、時刻t3a、t4aにおいては立上がりエッジが観測され、この波形と出力期待値を比較することによって結果はすべてパスとなる。   If the coincidence detection circuit MAT5 detects a coincidence when the data from the memory array is at the L level, a rising edge rising from the L level to the H level is observed. Therefore, a falling edge is observed at times t1a and t2a, and a rising edge is observed at times t3a and t4a. By comparing this waveform with the output expected value, all results are paths.

また、一致検出回路MAT5が一致を検出しない場合は、ラッチL1、L2には同じデータが書込まれるので、立上がりエッジおよび立下がりエッジは検出されず、時刻t5aにおいて判定はフェイルとなる。   When the coincidence detection circuit MAT5 does not detect coincidence, the same data is written in the latches L1 and L2, so that the rising edge and the falling edge are not detected, and the determination is failed at time t5a.

また、信号ODQ0a〜ODQ3a、ODQ0b〜ODQ3bとしてすべて誤ったデータが読出された場合に、一致検出回路MAT5が一致を検出してしまった時でも、たとえば、時刻t6aにおけるように比較値とエッジの立上がりとを比較することにより結果がフェイルであることが判別可能である。   Further, when all the erroneous data is read as signals ODQ0a to ODQ3a and ODQ0b to ODQ3b, even when the coincidence detection circuit MAT5 detects a coincidence, for example, the rise of the comparison value and the edge as at time t6a It can be determined that the result is a failure.

したがって、実施の形態1の変形例3においては、不良検出率をさらに向上させることができる。   Therefore, in the third modification of the first embodiment, the defect detection rate can be further improved.

[実施の形態2]
図29は、実施の形態2の同期型半導体記憶装置に用いられるテスト結果出力回路TOCの構成を示す回路図である。
[Embodiment 2]
FIG. 29 is a circuit diagram showing a configuration of a test result output circuit TOC used in the synchronous semiconductor memory device of the second embodiment.

図29を参照して、テスト結果出力回路TOCは、メモリアレイから一括して読出される読出結果信号R0〜Rnを受けるEXOR回路G1と、リセット信号RESETによって出力がリセットされ、シフトクロックSCLKに同期してデータを取込みと保持データの出力を行なう、直列に接続されるフリップフロップDF1〜DF9と、フリップフロップDF1〜DF9の出力を受け、テスト結果出力信号ROUTを出力するEXOR回路G2を含む。   Referring to FIG. 29, test result output circuit TOC is reset by EXOR circuit G1 receiving read result signals R0 to Rn read from the memory array and reset signal RESET, and synchronized with shift clock SCLK. In addition, flip-flops DF1 to DF9 connected in series for taking in data and outputting retained data, and an EXOR circuit G2 for receiving the outputs of flip-flops DF1 to DF9 and outputting test result output signal ROUT are included.

フリップフロップDF1〜DF9は、EXOR回路G1の出力信号RRを受け、シフトクロックSCLKに同期してシフトするシフトレジスタを構成する。このシフトレジスタは、同期型半導体記憶装置がデータ出力する際のバースト長に1を加えた個数のフリップフロップで構成される。   The flip-flops DF1 to DF9 receive the output signal RR from the EXOR circuit G1, and constitute a shift register that shifts in synchronization with the shift clock SCLK. This shift register is composed of a number of flip-flops obtained by adding 1 to the burst length when the synchronous semiconductor memory device outputs data.

図30は、テスト結果出力回路TOCの動作を説明するための動作波形図である。
図29、図30を参照して、クロック信号CLKは、外部に接続されるテスト装置から同期型半導体記憶装置に入力されるクロック信号であり、シフトクロックSCLKは、クロック信号CLKに基づいて同期型半導体記憶装置内部で、たとえばフェーズロックドループ(PLL)回路等によって発生されるクロック信号である。
FIG. 30 is an operation waveform diagram for explaining the operation of the test result output circuit TOC.
Referring to FIGS. 29 and 30, clock signal CLK is a clock signal input from an externally connected test device to the synchronous semiconductor memory device, and shift clock SCLK is synchronous based on clock signal CLK. A clock signal generated by, for example, a phase-locked loop (PLL) circuit in the semiconductor memory device.

同期型半導体記憶装置のデータ出力は、通常時においては、シフトクロックSCLKの周期で行なわれる。   Data output from the synchronous semiconductor memory device is normally performed in the cycle of the shift clock SCLK.

時刻t1において、リセット信号RESETがHレベルからLレベルへと立下がる。応じて、フリップフロップDF1〜DF9はリセットが解除され、縮退されたテスト結果を示す信号RRの取込を開始する。   At time t1, the reset signal RESET falls from the H level to the L level. Responsively, flip-flops DF1 to DF9 are released from reset and start taking in signal RR indicating the degenerated test result.

読出結果信号R0〜Rnは、複数のデータ入出力端子に対してそれぞれ出力されるデータ読出結果である。しかし、たとえば、同時に複数のバンクにデータ書込を行ない同時に複数のバンクからデータ読出を行なうテストモードを備えるような場合には、複数のバンクからの読出結果であってもよい。   Read result signals R0 to Rn are data read results respectively output to a plurality of data input / output terminals. However, for example, when a test mode is provided in which data is simultaneously written to a plurality of banks and data is read from the plurality of banks at the same time, the read results from the plurality of banks may be used.

時刻t1〜t5において、バースト長に相当する読出結果(この場合は8データ)が連続して読出される。   From time t1 to t5, the reading result (8 data in this case) corresponding to the burst length is continuously read.

このとき、時刻t2〜t3において、メモリセルの一部に欠陥があり、読出結果信号R1が、他の読出結果信号と異なる出力となった場合、縮退された信号RRはHレベルとなる。しかし、この信号RRの変化を検出しようとすると、内部の動作クロックであるSCLKの周波数に対応可能な試験装置(テスタ)が必要である。性能の低いテスタ装置の場合は、テスタ装置がデバイスに与える基本クロックであるクロック信号CLKの1周期内では、出力信号の観測は1ポイントでしか行なうことができない。たとえば、時刻t1、t4、t5、t6の矢印で示すように、クロック信号CLKの立上がりエッジにおいてのみしかデータ信号の観測をすることができない。   At this time, when a part of the memory cell is defective at time t2 to t3 and the read result signal R1 becomes an output different from the other read result signals, the degenerated signal RR becomes H level. However, in order to detect the change in the signal RR, a test apparatus (tester) that can cope with the frequency of SCLK that is an internal operation clock is required. In the case of a tester device with low performance, the output signal can be observed only at one point within one cycle of the clock signal CLK which is a basic clock given to the device by the tester device. For example, as indicated by arrows at times t1, t4, t5, and t6, the data signal can be observed only at the rising edge of the clock signal CLK.

時刻t3において、信号RRはフリップフロップDF1〜DF9によって構成されるシフトレジスタに取込まれる。応じて、外部にて観測されるテスト結果出力信号ROUTは、一定期間Hレベルとなる。図29に示した回路の場合は、この一定期間は、シフトクロックSCLKの9クロック分となる。この場合は、時刻t4、t5においてテスト結果出力信号ROUTのHレベルが観測できるので、読出結果に異常が生じたことを性能の低いテスタでも検知することができる。   At time t3, the signal RR is taken into a shift register composed of flip-flops DF1 to DF9. Accordingly, the test result output signal ROUT observed externally becomes H level for a certain period. In the case of the circuit shown in FIG. 29, this fixed period is nine clocks of the shift clock SCLK. In this case, since the H level of the test result output signal ROUT can be observed at times t4 and t5, it is possible to detect that an abnormality has occurred in the read result even with a low-performance tester.

製品の良品/不良品の判別をするだけであれば、テスト結果出力信号ROUTがLレベルであることを観測しているだけでよく、性能の低いテスタにおいても同期型半導体記憶装置の良品/不良品の判別ができる。   If it is only necessary to determine whether the product is non-defective or defective, it is only necessary to observe that the test result output signal ROUT is at L level. Even in a low-performance tester, the synchronous semiconductor memory device is non-defective / non-defective. Good products can be identified.

また、不良品の不良箇所特定のために解析が必要な場合は、シフトレジスタの出力信号RMONをテストモードにおいて外部の端子に出力する。RMONを観測することで、どのタイミングで読出結果信号R0〜Rnに読出エラーが生じたか解析が可能で、対応するアドレスを知る手掛かりを得ることができる。   Further, when analysis is necessary for specifying a defective part of a defective product, the output signal RMON of the shift register is output to an external terminal in the test mode. By observing RMON, it is possible to analyze at which timing a read error has occurred in the read result signals R0 to Rn, and a clue to know the corresponding address can be obtained.

つまり、実施の形態2の同期型半導体記憶装置においては、動作確認試験においてメモリアレイからの読出結果を連続して出力する場合に、途中で読出に誤りがあったかどうかを検出し、パルス幅を広げて外部に出力する。シフトレジスタは初期にリセットされ正常な場合に対応するデータが格納されており、リードサイクルごとに、メモリアレイからの読出データが縮退されてシフトレジスタに入力される。正常値が入力されている限りは、テスト結果出力信号ROUTはLレベルを保持するが、読出誤りが生じた場合は、テスト結果出力信号ROUTはHレベルとなる。   In other words, in the synchronous semiconductor memory device of the second embodiment, when the result of reading from the memory array is continuously output in the operation check test, it is detected whether there is an error in reading halfway and the pulse width is widened. Output to the outside. The shift register is initially reset and stores data corresponding to the normal case, and read data from the memory array is degenerated and input to the shift register for each read cycle. As long as a normal value is input, the test result output signal ROUT is maintained at the L level. However, if a read error occurs, the test result output signal ROUT is at the H level.

テスト結果出力信号ROUTの観測は、バースト長に相当するシフトクロックの入力数に対して最低限1回行なえばよく、この少ない観測回数においても、同期型半導体記憶装置の良品/不良品の判別は可能である。不良判定となった場合に、シフトレジスタの出力信号を観測することで、不良が発生したアドレスを知る手掛かりを得ることも可能である。   The observation of the test result output signal ROUT may be performed at least once with respect to the number of shift clock inputs corresponding to the burst length. Even with this small number of observations, it is possible to determine whether the synchronous semiconductor memory device is good or defective. Is possible. When a failure is determined, it is possible to obtain a clue to know the address where the failure has occurred by observing the output signal of the shift register.

[実施の形態3]
実施の形態3ではBIST(Built In Self Test)回路を内蔵する同期型半導体装置での例を示す。
[Embodiment 3]
In the third embodiment, an example of a synchronous semiconductor device incorporating a BIST (Built In Self Test) circuit will be described.

図31は、実施の形態3の同期型半導体記憶装置2100の全体構成を示す概略ブロック図である。   FIG. 31 is a schematic block diagram showing the overall configuration of the synchronous semiconductor memory device 2100 of the third embodiment.

図31を参照して、同期型半導体記憶装置2100は、実施の形態1で説明した同期型半導体記憶装置1000の構成において、データ入出力端子P13からのデータがラッチされるデータ変換部303からのデータ入力と制御関連の端子P4〜P7およびアドレス端子群P11、P12から入力されるデータとをマルチプレクスして内部ブロックに伝えるマルチプレクサ302と、テスト時に外部クロックをうけて外部クロックより周期の短いテスト用クロックTCLKを発生するPLL回路650と、BIST回路649をさらに含む点が図1に示した同期型半導体記憶装置1000と異なる。他の構成は同期型半導体記憶装置1000と同様であるので説明は繰返さない。   Referring to FIG. 31, synchronous semiconductor memory device 2100 has the same structure as that of synchronous semiconductor memory device 1000 described in the first embodiment, from data conversion unit 303 in which data from data input / output terminal P13 is latched. Multiplexer 302 that multiplexes data input and data inputted from control-related terminals P4 to P7 and address terminal groups P11 and P12 and transmits them to the internal block, and a test having a shorter cycle than the external clock by receiving an external clock during the test 1 is different from the synchronous semiconductor memory device 1000 shown in FIG. 1 in that it further includes a PLL circuit 650 that generates a clock TCLK for use and a BIST circuit 649. Since other structures are similar to those of synchronous semiconductor memory device 1000, description thereof will not be repeated.

BIST回路649は、外部からテスト開始コマンドの入力が与えられると、自動的にテストに必要なコマンド、アドレス、データ等の信号を生成し同期型半導体記憶装置の動作テストを実行し、読出データ等の出力結果からテスト結果の可否を判断しその判断を所定の出力端子に出力する。   When a test start command is input from the outside, the BIST circuit 649 automatically generates a command, address, data, and other signals necessary for the test, executes an operation test of the synchronous semiconductor memory device, and reads data, etc. Whether the test result is acceptable or not is determined from the output result and the determination is output to a predetermined output terminal.

したがって、BIST回路を内蔵した同期型半導体記憶装置の動作テストに必要なピンは、テスト装置との同期を確保するためのクロック端子と、判断結果の出力に使用するデータ端子のみである。すなわち最も少ない場合は、テスト時に使用される端子はクロック端子1ピンとデータ端子1ピンの合計2ピンとなる。   Therefore, the only pins necessary for the operation test of the synchronous semiconductor memory device incorporating the BIST circuit are the clock terminal for ensuring synchronization with the test device and the data terminal used for outputting the determination result. That is, in the case where the number is the smallest, the terminals used at the time of the test are a total of 2 pins including a clock terminal 1 pin and a data terminal 1 pin.

図32は、同期型半導体記憶装置2100のBISTを実施する際の入出力バッファを介してのデータ入力を説明するための図である。   FIG. 32 is a diagram for explaining data input through the input / output buffer when BIST of the synchronous semiconductor memory device 2100 is performed.

図32を参照して、BISTを実行するパターンジェネレート部PGと、BIST用のテスト手順を保持するRAM部BRAMと、RAM部BRAMにクロックを供給するクロックゲート回路CKGと、データバスからRAM部BRAMにデータを取込む入力ゲートDIGと、BISTモードへの移行指示を検知する検知回路SVIHDECと、RAM部BRAMに転送するデータ入力するための入出力回路64とが設けられる。BISTを実行するための回路ブロックは、パターンジェネレート部PGとRAM部BRAMに分かれている。BISTは、RAM部に予め記憶されているデータが読出されデコードされ、デコード結果に従ったパターンが発生されることで実行される。   Referring to FIG. 32, a pattern generation unit PG that executes BIST, a RAM unit BRAM that holds a test procedure for BIST, a clock gate circuit CKG that supplies a clock to the RAM unit BRAM, and a data bus to a RAM unit An input gate DIG for taking data into the BRAM, a detection circuit SVIHDEC for detecting an instruction to shift to the BIST mode, and an input / output circuit 64 for inputting data to be transferred to the RAM BRAM are provided. A circuit block for executing BIST is divided into a pattern generation unit PG and a RAM unit BRAM. The BIST is executed by reading and decoding data stored in advance in the RAM unit and generating a pattern according to the decoding result.

そこで、まずBIST実行前に、RAM部BRAMにデータを書込む必要がある。このデータは、テストシーケンスの内容を所定の数値にコード化したものであり、ベクタ形式と呼ばれる形式で表わされている。   Therefore, first, it is necessary to write data to the RAM BRAM before executing the BIST. This data is obtained by coding the content of the test sequence into a predetermined numerical value, and is expressed in a format called a vector format.

チップの任意の入力ピン(ここではDQj、DQk)が所定の組合せであるときに、特定ピン(ここではDQ0)に電源電位を超える所定の電位が印加されたことを検知してパターンジェネレート部PGにBISTの実行フラグを出力する検知回路SVIHDECが設けられる。このフラグの設定に伴って、内部でのテストクロック発生器によるテストクロックTCLKの発生(同期クロック発生)の動作が開始される(図示せず)。このテストクロックに従ってRAM部BRAMにBISTのテスト用のベクタとなるデータが書込まれる。   When any input pins (DQj, DQk here) of the chip are in a predetermined combination, it is detected that a predetermined potential exceeding the power supply potential is applied to the specific pin (DQ0 here), and the pattern generation unit A detection circuit SVIHDEC is provided for outputting a BIST execution flag to the PG. Along with the setting of this flag, the operation of generating the test clock TCLK (synchronous clock generation) by the internal test clock generator is started (not shown). In accordance with this test clock, data serving as a BIST test vector is written into the RAM BRAM.

RAM部BRAMは、後に説明するようにシフトレジスタを構成しており、データ入力ゲートDIGから入力されたデータが順次内部シフトされていく構成となっている。したがって、RAM部BRAMに含まれるシフトレジスタの数だけのシフトクロックSCKのサイクル数の期間が経過すると、データのRAM部への入力が完結する。   The RAM unit BRAM constitutes a shift register as will be described later, and data inputted from the data input gate DIG is sequentially shifted internally. Therefore, when the period of the number of cycles of the shift clock SCK corresponding to the number of shift registers included in the RAM unit BRAM elapses, the input of data to the RAM unit is completed.

このデータの書込は、所定のデータ入出力端子DQiから入出力回路64を介して、データバスDBに含まれるデータ線DBLiを通じて行なわれる。入出力回路64の構成は、図10で示した構成と同様であるので説明は繰返さない。   This data writing is performed from a predetermined data input / output terminal DQi through the input / output circuit 64 through the data line DBLi included in the data bus DB. Since the configuration of input / output circuit 64 is similar to the configuration shown in FIG. 10, description thereof will not be repeated.

通常動作時は、データ入出力端子DQiから入力されるデータは、外部クロックに同期してラッチ156、154に取込まれ、内部クロックに同期してデータバスDBにデータが送出される。   During normal operation, data input from the data input / output terminal DQi is taken into the latches 156 and 154 in synchronization with the external clock, and the data is sent to the data bus DB in synchronization with the internal clock.

しかし、BISTを実行する際の、初期のRAM部BRAMへのデータの入力時には、内部クロックを発生させるクロック発生回路が十分安定していない。これは、内部クロックの安定化にはクロック発生回路に外部クロックが一定期間入力されることが必要だからである。   However, when data is input to the initial RAM BRAM when executing BIST, the clock generation circuit that generates the internal clock is not sufficiently stable. This is because the external clock needs to be input to the clock generation circuit for a certain period in order to stabilize the internal clock.

そこで、BIST初期におけるRAM部BRAMへのデータの入力時には、入出力回路64のラッチ回路156、154からデータパスへのデータの送出は外部クロックに基づいて行なわれる。データバスに出力されたデータは、外部クロックに基づいて発生されたシフトクロックに応じて、データ入力ゲートDIGを介して順次RAM部BRAMの内部のシフトレジスタに取込まれる。   Therefore, when data is input to the RAM BRAM at the initial stage of BIST, data is sent from the latch circuits 156 and 154 of the input / output circuit 64 to the data path based on the external clock. The data output to the data bus is sequentially taken into a shift register in the RAM unit BRAM via the data input gate DIG in accordance with a shift clock generated based on the external clock.

RAM部BRAM内部のシフトレジスタへの一連のデータの入力が終了すると、プログラムカウンタの順序に従って、RAM部BRAMからデータが読出され、デコードされてBISTが実行される。   When the input of a series of data to the shift register in the RAM unit BRAM is completed, the data is read from the RAM unit BRAM according to the order of the program counter, decoded, and BIST is executed.

図33は、図32における検知回路SVIHDECに関する構成を示す回路図である。
図33を参照して、データ入出力端子DQ0のレベルが所定の電圧値以上となったことを検知する高電圧検知回路650と、データ入出力端子DQj〜DQkに入力された信号が所定の組合せであるかをデコードするデコード回路667と、高電圧検知回路650の出力信号/SVCC0とデコード回路667の出力とを受け、信号/SVCCを出力するOR回路665と、信号/SVCC0を受けて反転し信号SVCC0を出力するインバータ669と、信号/SVCCによりセットされテストが終了したことを示す信号TESTENDによってリセットされるラッチ回路666と、ラッチ回路666の出力に応じてカウントを開始し信号QS1、QS2を出力するとともに、所定の時間後にイネーブル信号STENを一定期間出力するカウンタ682が設けられる。
FIG. 33 is a circuit diagram showing a configuration related to the detection circuit SVIHDEC in FIG.
Referring to FIG. 33, a high voltage detection circuit 650 for detecting that the level of data input / output terminal DQ0 is equal to or higher than a predetermined voltage value and a signal input to data input / output terminals DQj to DQk are in a predetermined combination. Is received by the decode circuit 667 for decoding whether the signal is high, the output signal / SVCC0 of the high voltage detection circuit 650 and the output of the decode circuit 667, and receives and inverts the OR circuit 665 for outputting the signal / SVCC and the signal / SVCC0. The inverter 669 that outputs the signal SVCC0, the latch circuit 666 that is set by the signal / SVCC and reset by the signal TESTEND indicating that the test is completed, and starts counting according to the output of the latch circuit 666, and the signals QS1 and QS2 In addition to outputting, an enable signal STEN is output for a certain period after a predetermined time. Printer 682 is provided.

高電圧検知回路650は、データ入出力端子DQ0とノードNVCとの間に直列にダイオード接続されたNチャネルMOSトランジスタ652、654と、ソースが接地ノードに接続されゲートとドレインが接続されるNチャネルMOSトランジスタ658と、NチャネルMOSトランジスタ658のドレインとノードNVCとの間に接続されゲートに電源電位Vccが与えられるPチャネルMOSトランジスタ656と、電源ノードとノードNVDとの間に接続される定電流源662と、ノードNVDと接地ノードとの間に接続されゲートがNチャネルMOSトランジスタ658のドレインに接続されるNチャネルMOSトランジスタ660と、ノードNVDが入力に接続されるインバータ663と、インバータ663の出力を受けて反転し高電圧検知信号/SVCC0を出力するインバータ664とを含む。   High voltage detection circuit 650 includes N-channel MOS transistors 652 and 654 that are diode-connected in series between data input / output terminal DQ0 and node NVC, and an N-channel in which a source is connected to a ground node and a gate and a drain are connected. Constant current connected between MOS transistor 658, P channel MOS transistor 656 connected between the drain of N channel MOS transistor 658 and node NVC and having power supply potential Vcc applied to the gate, and between the power supply node and node NVD A source 662, an N-channel MOS transistor 660 connected between node NVD and the ground node and having a gate connected to the drain of N-channel MOS transistor 658, an inverter 663 having node NVD connected to the input, Receive output and invert And an inverter 664 which outputs a high voltage detection signal / SVCC0.

ラッチ回路666は、信号/SVCCを一方の入力ノードに受けるNAND回路668と、NAND回路668の出力と信号TESTENDを受けるNAND回路670とを含む。NAND回路670の出力はNAND回路668の他方の入力に接続される。NAND回路668の出力は、BISTフラグBISTFである。   Latch circuit 666 includes a NAND circuit 668 receiving signal / SVCC at one input node, and a NAND circuit 670 receiving the output of NAND circuit 668 and signal TESTEND. The output of NAND circuit 670 is connected to the other input of NAND circuit 668. The output of the NAND circuit 668 is a BIST flag BISTF.

図34は、RAM部BRAMの構成例を説明するためのブロック図である。
図34を参照して、RAM部BRAMは、パターンジェネレート部PGに含まれるデコーダIDECと読出信号線RL12〜RLnによって接続される。また、パターンジェネレート部PGに含まれるプログラムカウンタPCと選択信号線PC0〜PCmによって接続される。
FIG. 34 is a block diagram for explaining a configuration example of the RAM unit BRAM.
Referring to FIG. 34, RAM unit BRAM is connected to decoder IDEC included in pattern generation unit PG and read signal lines RL12 to RLn. Further, the program counter PC included in the pattern generation unit PG is connected to the selection signal lines PC0 to PCm.

入力部には、BIST開始前のRAM部BRAMにデータを書込むときのクロックを発生するクロックゲート回路CKGが設けられる。クロックゲート回路CKGは、外部クロック信号ext.CLKとイネーブル信号STENとを受けてデータ取込用のクロック信号GCKを出力するAND回路CKG1と、外部クロック信号ext.CLKとイネーブル信号BRAMREとを受けるAND回路CKG3と、AND回路CKG3の出力とクロック信号GCKとを受けるOR回路CKG2とを含む。OR回路CKG2の出力はRAM部BRAMに含まれるシフトレジスタをシフトするためのシフトクロックSCKである。   The input unit is provided with a clock gate circuit CKG that generates a clock when data is written to the RAM BRAM before the BIST starts. Clock gate circuit CKG receives external clock signal ext. An AND circuit CKG1 that receives the clock signal CLK and the enable signal STEN and outputs a clock signal GCK for taking in data, and an external clock signal ext. An AND circuit CKG3 that receives CLK and enable signal BRAMRE, and an OR circuit CKG2 that receives the output of AND circuit CKG3 and clock signal GCK are included. The output of the OR circuit CKG2 is a shift clock SCK for shifting a shift register included in the RAM unit BRAM.

データバス線DBLiとRAM部BRAMとの間には、データ入力ゲートDIGが設けられる。データ入力ゲートDIGは、データ取込用のクロック信号GCKに応じてデータの取込を行なう。   A data input gate DIG is provided between the data bus line DBLi and the RAM portion BRAM. Data input gate DIG takes in data in accordance with data take-in clock signal GCK.

RAM部BRAMは、データ入力ゲートDIGから入力されるデータを受ける直列に接続されたn個のフリップフロップR♯01〜R♯0nを含む。フリップフロップR♯01〜R♯0nにそれぞれ対応して、トランスファゲートTG♯01〜TG♯0nが設けられる。   RAM unit BRAM includes n flip-flops R # 01 to R # 0n connected in series for receiving data input from data input gate DIG. Transfer gates TG # 01 to TG # 0n are provided corresponding to flip-flops R # 01 to R # 0n, respectively.

トランスファゲートTG♯01〜TG♯0nは、信号線PC0によって活性化され、それぞれフリップフロップR♯01〜R♯0nと読出信号線RL1〜RLnとを接続する。   Transfer gates TG # 01 to TG # 0n are activated by signal line PC0 to connect flip-flops R # 01 to R # 0n and read signal lines RL1 to RLn, respectively.

RAM部BRAMは、さらに、フリップフロップR♯0〜nの出力を受ける直列に接続されたn個のフリップフロップR♯11〜R♯1nと、信号線PC1によって活性化され、フリップフロップR♯11〜R♯1nと読出信号線RL1〜RLnとをそれぞれ接続するトランスファゲートTG♯11〜TG♯1nとを含む。   The RAM portion BRAM is further activated by n flip-flops R # 11 to R # 1n connected in series for receiving the outputs of the flip-flops R # 0 to R # n and the signal line PC1, and the flip-flop R # 11. To R # 1n and read signal lines RL1 to RLn, respectively, transfer gates TG # 11 to TG # 1n.

同様に、RAM部BRAMは、i−1行における最終段のフリップフロップの出力を受ける直列に接続されたn個のフリップフロップが、i行目に対応して設けられる。   Similarly, in the RAM unit BRAM, n flip-flops connected in series for receiving the output of the flip-flop at the final stage in the i-1 row are provided corresponding to the i-th row.

この行は、m行設けられる。シフトレジスタの最終段であるフリップフロップR♯mnの出力は、信号RAMOUTとして外部に対して読出が可能なようになっている。   There are m rows. The output of the flip-flop R # mn, which is the final stage of the shift register, can be read externally as a signal RAMOUT.

このような構成とすることにより、少ない端子数でRAMのテストが実行可能である。
図35は、図34におけるフリップフロップR♯mnおよびトランスファゲートTG♯mnの構成を示す回路図である。
With such a configuration, a RAM test can be executed with a small number of terminals.
FIG. 35 is a circuit diagram showing structures of flip-flop R # mn and transfer gate TG # mn in FIG.

フリップフロップR♯mnは、入力信号INを受けて反転するインバータIV1と、インバータIV1の出力を受けて反転しインバータIV1の入力に与えるインバータIV2と、インバータIV1の出力とノードND0との間に接続されシフトクロック/SCKをゲートに受けるPチャネルMOSトランジスタMP1と、インバータIV1の出力とノードND0との間に接続されゲートにシフトクロックSCKを受けるNチャネルMOSトランジスタMN1と、ノードND0に入力が接続されるインバータIV3と、インバータIV3の出力を反転してノードND0に出力するインバータIV4と、インバータIV3の出力と出力ノードNoutとの間に接続されゲートにシフトクロックSCKを受けるPチャネルMOSトランジスタMP2と、インバータIV3の出力と出力ノードNoutとの間に接続され、ゲートにシフトクロック/SCKを受けるNチャネルMOSトランジスタMN2とを含む。   Flip-flop R # mn is connected between inverter IV1 that receives and inverts input signal IN, inverter IV2 that receives and inverts and outputs the output of inverter IV1, and is connected between the output of inverter IV1 and node ND0. P channel MOS transistor MP1 receiving shift clock / SCK at its gate, N channel MOS transistor MN1 receiving shift clock SCK at its gate connected between the output of inverter IV1 and node ND0, and its input connected to node ND0 Inverter IV3, inverter IV4 that inverts the output of inverter IV3 and outputs it to node ND0, P-channel MOS transistor MP connected between the output of inverter IV3 and output node Nout and receiving shift clock SCK at its gate When connected between the output of the inverter IV3 and the output node Nout, and an N-channel MOS transistor MN2 which receives the shift clock / SCK to the gate.

トランスファゲートTG♯mnは、インバータIV3の出力と読出信号線RLnとの間に接続されゲートに信号PCmが与えられるNチャネルMOSトランジスタMN3を含む。   Transfer gate TG # mn includes an N-channel MOS transistor MN3 connected between the output of inverter IV3 and read signal line RLn and supplied with signal PCm at its gate.

RAM部BRAMに設定されるデータは、通常のデータ入力に使用されるデータバスを兼用してデータ入力端子より入力される。イネーブル信号STENは、カウンタ682により発生される。この入ネーブル信号は、RAM部BRAMに含まれるシフトレジスタの数だけのクロックパルスをデータ入力ゲートに与える。カウンタの回数分データが取込まれ順次シフトされることによりRAM部BRAMへのデータの格納が完了する。   Data set in the RAM BRAM is input from the data input terminal also serving as a data bus used for normal data input. The enable signal STEN is generated by the counter 682. This input enable signal gives clock pulses corresponding to the number of shift registers included in the RAM BRAM to the data input gate. The data is taken in by the number of times of the counter and sequentially shifted to complete the data storage in the RAM BRAM.

再び、図34を参照して、シフトクロックSCKは、RAM部BRAMの動作を確認するテストを実施する際にデータを取出す必要があるため、OR回路CKG2によって読出テスト実施時にも入力される。   Referring again to FIG. 34, shift clock SCK is input by OR circuit CKG2 also when a read test is performed because it is necessary to take out data when a test for confirming the operation of RAM unit BRAM is performed.

RAM部のデータは、プログラムカウンタPCが出力する信号PC0〜PCmによって選択され、読出信号線RL1〜RLnを介してデコーダIDECに送られる。デコーダIDECは、送られてきたデータを解読して、対応する動作を実行する。   Data in the RAM section is selected by signals PC0 to PCm output from the program counter PC and sent to the decoder IDEC via the read signal lines RL1 to RLn. The decoder IDEC decodes the sent data and executes a corresponding operation.

[BIST実行用回路自身のテスト]
図36は、BISTを実行するための回路のテストに関するシーケンスを示す図である。
[Test of BIST execution circuit itself]
FIG. 36 is a diagram illustrating a sequence relating to a test of a circuit for executing BIST.

図36を参照して、ステップST1においてBISTを実施する回路のチェックがスタートする。次いでステップST2において、BISTを実施するためのモードに突入するエントリチェックが行われる。次いで、ステップST3において、BISTを終了し、テストモードから抜けるためのチェックが行なわれる。   Referring to FIG. 36, in step ST1, a check of a circuit that performs BIST starts. Next, in step ST2, an entry check for entering a mode for carrying out BIST is performed. Next, in step ST3, the BIST is terminated and a check for exiting the test mode is performed.

次いで、ステップST4において、BIST用のテスト内容が格納されるRAM部BRAMのチェックが実施される。次いで、ステップST5において、BISTを実施するための回路のパターンジェネレート部PGのチェックが行なわれる。   Next, in step ST4, the RAM BRAM in which the BIST test contents are stored is checked. Next, in step ST5, the pattern generation unit PG of the circuit for performing BIST is checked.

以上のステップがすべて問題なければ、ステップST6においてBISTを実施するためのテスト回路のテストが完了する。   If all of the above steps are satisfactory, the test of the test circuit for performing BIST is completed in step ST6.

このようなテストが実施された後にBISTを実施するための回路を用いてBISTが実施される。   After such a test is performed, the BIST is performed using a circuit for performing the BIST.

まず、ステップST2およびステップST3において実行されるエントリチェックおよびモードから抜け出るチェックを実施するための構成について説明する。   First, a configuration for performing the entry check and the check for exiting from the mode executed in step ST2 and step ST3 will be described.

図37は、エントリテストを実施するための構成を説明するためのブロック図である。
図37を参照して、エントリテストを実施するために、SVIH検出回路SVIHDECが出力する検知信号SVCC0をゲートに受けデータ入力端子DQiと接地ノードとの間に接続されるNチャネルMOSトランジスタMN4が設けられる。データ入出力端子DQ0に電源電位以上の所定の電圧値が印加されると、検知信号SVCC0が活性化し、NチャネルMOSトランジスタMN4は導通状態となる。データ入出力端子DQiは、テスト時において、外部で負荷抵抗LRに接続されプルアップされているため、通常はHレベルになっているが、データ入出力端子DQ0に電源電位を超える所定の電位が与えられている間は、データ入出力端子DQiのレベルはLレベルとなる。
FIG. 37 is a block diagram for explaining a configuration for performing an entry test.
Referring to FIG. 37, in order to perform the entry test, an N channel MOS transistor MN4 is provided which receives detection signal SVCC0 output from SVIH detection circuit SVIHDEC and is connected between data input terminal DQi and the ground node. It is done. When a predetermined voltage value equal to or higher than the power supply potential is applied to data input / output terminal DQ0, detection signal SVCC0 is activated and N channel MOS transistor MN4 is rendered conductive. Since the data input / output terminal DQi is normally connected to the load resistor LR and pulled up during the test, it is normally at the H level, but the data input / output terminal DQ0 has a predetermined potential exceeding the power supply potential. While being applied, the level of data input / output terminal DQi is at L level.

このレベルを外部で観測することにより、検知回路SVIHDECが正常に動作しているか否かが判別可能である。   By observing this level externally, it is possible to determine whether or not the detection circuit SVIHDEC is operating normally.

さらに、検知回路SVIHDECが高電圧を検知したことによって選択されるBISTフラグのセットが正常に行なわれたか否かをチェックするために、BISTフラグが、入出力回路64における出力データラッチ部に書込まれる。このラッチに書込まれたデータを読出すことにより、BISTフラグが正常に設定されたか否かを判別することができる。   Further, the BIST flag is written to the output data latch unit in the input / output circuit 64 in order to check whether or not the BIST flag selected by the detection circuit SVIHDEC has been set normally by detecting the high voltage. It is. By reading the data written in the latch, it can be determined whether or not the BIST flag is set normally.

図38は、エントリテストおよびRAM部へのデータ書込を説明するための動作波形図である。   FIG. 38 is an operation waveform diagram for explaining entry test and data writing to the RAM portion.

図37、図38を参照して、時刻t1において、任意の端子の組合せ(ここではデータ入出力端子DQj〜DQkがすべてLレベル)が設定され、データ入出力端子DQ0の電位が、電源電位Vccを超える一定電位に設定されると、検知回路SVIHDECが高電圧を検知する。応じて検知信号SVCC0はLレベルとなり、BISTフラグBISTFがセットされ、また、データ入出力端子DQiに接続されているNチャネルMOSトランジスタMN4が導通する。応じて、データ入出力端子DQiの電位はLレベルとなる。このデータ入出力端子DQiがLレベルになったことを外部から観測しておれば、検知回路SVIHDECの電圧検出部の動作が正常であることが確認できる。   Referring to FIGS. 37 and 38, at time t1, an arbitrary combination of terminals (here, data input / output terminals DQj to DQk are all at L level) is set, and the potential of data input / output terminal DQ0 is set to power supply potential Vcc. If the constant potential is set to exceed a certain level, the detection circuit SVIHDEC detects a high voltage. Accordingly, detection signal SVCC0 goes to L level, BIST flag BISTF is set, and N-channel MOS transistor MN4 connected to data input / output terminal DQi is turned on. Accordingly, the potential of data input / output terminal DQi becomes L level. If it is observed from the outside that the data input / output terminal DQi has become L level, it can be confirmed that the operation of the voltage detection unit of the detection circuit SVIHDEC is normal.

時刻t2において、検知回路SVIHDECに含まれるカウンタが、BISTフラグBISTFがセットされたことを受けてカウントを開始し、イネーブル信号STENがHレベルとなる。イネーブル信号STENがHレベルになったことを受けて、外部クロック信号ext.CLKから取込クロック信号GCKおよびシフトクロック信号SCKが発生される。   At time t2, the counter included in the detection circuit SVIHDEC starts counting in response to the setting of the BIST flag BISTF, and the enable signal STEN becomes H level. In response to the enable signal STEN becoming H level, the external clock signal ext. Capture clock signal GCK and shift clock signal SCK are generated from CLK.

これらのクロックに基づいて、データ入出力端子DQiからRAM部BRAMに書込まれるテスト用のデータが入力される。   Based on these clocks, test data written to the RAM BRAM is input from the data input / output terminal DQi.

時刻t3において、所定のクロック数のシフトクロックSCKが入力されると、イネーブル信号STENはLレベルとなる。応じてシフトクロックSCKの発生は停止され、RAM部BRAMのデータは固定される。そしてパターンジェネレート部PGに入力されるクロックは外部クロックから内部でPLL回路等によって発生される高速なクロックに切換わりBISTが実行される。   When the shift clock SCK having a predetermined number of clocks is input at time t3, the enable signal STEN becomes L level. Accordingly, the generation of the shift clock SCK is stopped and the data in the RAM BRAM is fixed. The clock input to the pattern generation unit PG is switched from an external clock to a high-speed clock generated internally by a PLL circuit or the like, and BIST is executed.

時刻t4において外部からセルフリフレッシュモードもしくはモードレジスタセットサイクルへの設定がなされると、BISTフラグBISTFは解除され、BISTは終了する。   When the self refresh mode or the mode register set cycle is set from the outside at time t4, the BIST flag BISTF is canceled and the BIST is terminated.

図39は、RAM部BRAMのテストについて説明するためのブロック図である。
図39を参照して、テスト内容が設定された後スイッチSW01が導通し、RAM部BRAMのデータを入出力回路64の内部のデータ出力用ラッチに伝達するための経路が形成される。この経路は、外部からのデータがRAM部BRAMに入力された後に形成される。
FIG. 39 is a block diagram for explaining a test of the RAM BRAM.
Referring to FIG. 39, after setting the test contents, switch SW01 is turned on, and a path for transmitting the data in RAM portion BRAM to the data output latch in input / output circuit 64 is formed. This path is formed after external data is input to the RAM unit BRAM.

BISTフラグが設定され、データ入出力端子DQj〜DQkの所定の組合せが解除された後も、さらにデータ入出力端子DQ0への高電圧の印加が継続されていると、高電圧の印加が継続されている期間イネーブル信号BRAMREがHレベルとなりスイッチSW01が導通し、パスが形成される。また、この期間は、入出力回路64は、出力のバッファ動作を行なう。   Even after the BIST flag is set and the predetermined combination of the data input / output terminals DQj to DQk is released, if the application of the high voltage to the data input / output terminal DQ0 is continued, the application of the high voltage is continued. During this period, the enable signal BRAME becomes H level, the switch SW01 is turned on, and a path is formed. During this period, the input / output circuit 64 performs an output buffer operation.

図40は、RAM部BRAMのテストについて説明するためのフローチャートである。
図40を参照して、まず、ステップSR1において、RAM部BRAMのテストが開始され、ステップSR2にて図38を用いて説明したようにRAM部BRAMへのデータ書込がされる。
FIG. 40 is a flowchart for explaining a test of the RAM unit BRAM.
Referring to FIG. 40, first, in step SR1, a test of RAM unit BRAM is started, and in step SR2, data is written into RAM unit BRAM as described with reference to FIG.

つぎに、ステップSR3においてこの書込まれたデータを外部に対して読出す。外部では、読出されたデータが書込んだデータと同じかどうか比較される。書込んだデータが正常に読み出されればRAM部BRAMは正常に動作することが分かる。したがって、BISTを実行することが可能となる。   Next, in step SR3, the written data is read out to the outside. Externally, it is compared whether the read data is the same as the written data. It can be seen that the RAM BRAM operates normally if the written data is read normally. Therefore, BIST can be executed.

そして、ステップSR4においてRAMのテストが終了し、続いてステップSR5においてBISTテストを行なうための手順に対応したデータが書込まれる。ステップSR6においてBISTが実施される。この手順に対応したデータに基づき、例えば、チェッカパターンや、マーチパターンなどのテストが実施される。   In step SR4, the RAM test is completed, and in step SR5, data corresponding to the procedure for performing the BIST test is written. In step SR6, BIST is performed. Based on the data corresponding to this procedure, for example, a test such as a checker pattern or a march pattern is performed.

図41は、RAM部BRAMの読出テスト実行の説明をするための動作波形図である。
図39、図41を参照して、まず、時刻t11以前においてRAM部BRAMへのテスト用データの書込が完了していることとする。
FIG. 41 is an operation waveform diagram for explaining execution of a read test of the RAM unit BRAM.
Referring to FIGS. 39 and 41, first, it is assumed that the writing of test data to RAM BRAM is completed before time t11.

時刻t11においてデータ入出力端子DQj〜DQkが所定の組合せに設定されかつデータ入出力端子DQ0が電源電位Vccを超える所定の電位に設定されると、検知信号/SVCCはLレベルとなり応じてデータ入出力端子DQiはLレベルとなる。   When data input / output terminals DQj to DQk are set to a predetermined combination and data input / output terminal DQ0 is set to a predetermined potential exceeding power supply potential Vcc at time t11, detection signal / SVCC is at L level and data is input accordingly. The output terminal DQi is at L level.

データ入出力端子DQj〜DQkの所定の組合せが解除されてもデータ入出力端子DQ0が所定の高電位レベルの印加を受けておれば、RAM部BRAMの読出テストが実行される。このときは、時刻t12においてイネーブル信号BRAMREがHレベルとなり、応じてシフトクロック信号はSCKが外部クロック信号ext.CLKに基づいて発生される。シフトクロックSCKが入力されることにより、RAM部BRAMに設定されていたデータはデータ入出力端子DQiから読出される。   Even if a predetermined combination of data input / output terminals DQj to DQk is released, if data input / output terminal DQ0 is applied with a predetermined high potential level, a read test of RAM unit BRAM is executed. At this time, the enable signal BRAME attains an H level at time t12, and accordingly, the shift clock signal is converted to the external clock signal ext. Generated based on CLK. When the shift clock SCK is input, the data set in the RAM unit BRAM is read from the data input / output terminal DQi.

時刻t13において、データ端子DQ0の高電位レベルが解除されると、イネーブル信号BRAMREはLレベルに立下がり、RAM部BRAMからのデータ読出は終了する。そして、検知回路SVIHDECにおけるカウンタのカウントが開始され、所定のクロック数イネーブル信号STENがHレベルとなる。応じて、時刻t14までRAM部BRAMへのテスト用データが書込まれる。   When the high potential level of the data terminal DQ0 is released at time t13, the enable signal BRAMRE falls to the L level, and the data reading from the RAM unit BRAM ends. Then, the counter in the detection circuit SVIHDEC starts counting, and the predetermined clock number enable signal STEN becomes H level. In response, the test data is written to the RAM BRAM until time t14.

時刻t14以降はBISTが実行されて時刻t15においてセルフリフレッシュもしくはモードレジスタセットサイクルになるとBISTフラグBISTFが解除され、BISTは終了する。   After the time t14, the BIST is executed, and when the self refresh or mode register set cycle is reached at the time t15, the BIST flag BISTF is canceled and the BIST ends.

[BIST実行中における内部データのモニタ]
BIST実行中においては、テスト結果のみが外部に対して出力されるのが通常であるため、BISTが正常に実行されているのか否かが不明な場合があり、チップの故障解析をするためには、BIST実行時においても内部データを外部に出力させることができれば便利である。
[Monitoring internal data during BIST execution]
During BIST execution, it is normal that only the test result is output to the outside, so it may be unclear whether BIST is being executed normally. It is convenient if the internal data can be output to the outside even during BIST execution.

図42は、BIST実行時において内部データを外部に対して出力する構成を示す図である。   FIG. 42 is a diagram showing a configuration in which internal data is output to the outside during BIST execution.

図42を参照して、CS、/RASなどのコマンドやアドレス、検査データ、期待値データなどを縮退する縮退回路RDCと、テスト信号TEBXに応じて縮退回路RDCの出力をデータ入出力端子DQiに出力するための出力データとして与えるスイッチSW02とが設けられる。   Referring to FIG. 42, a degeneration circuit RDC that degenerates commands and addresses such as CS and / RAS, inspection data, expected value data, and the like, and an output of degeneration circuit RDC in response to test signal TEBX is input to data input / output terminal DQi. A switch SW02 provided as output data for output is provided.

他の構成は、図39で説明した場合と同様であるので説明は繰返さない。
図43は、データ入出力端子から外部にテスト実行状況を出力する様子を説明するための動作波形図である。
Other configurations are the same as those described with reference to FIG. 39, and therefore description thereof will not be repeated.
FIG. 43 is an operation waveform diagram for explaining a state in which the test execution status is output to the outside from the data input / output terminal.

BISTを実行する際には、図31におけるBIST回路649はコマンド、アドレスおよびデータを内部で自動的に発生する。そして、これらの情報を外部にてモニタすることができるように出力する。   When executing BIST, the BIST circuit 649 in FIG. 31 automatically generates a command, an address and data internally. These pieces of information are output so that they can be monitored externally.

図43を参照して、時刻t1以前にはBISTの動作を開始する設定がされているとする。時刻t1において、BISTにて内部でアクティブコマンドACTが実行されると、対応して内部で設定されるコマンドやアドレスのデータがデータ列D11として各データ入出力端子から出力される。   Referring to FIG. 43, it is assumed that the setting for starting the BIST operation is made before time t1. When the active command ACT is executed internally at BIST at time t1, the data of the command and address that are internally set correspondingly are output as data string D11 from each data input / output terminal.

時刻t2において内部でライトコマンドが実行される。応じて実行されているコマンドおよび使用されているアドレスのデータがデータ列D12として出力される。   At time t2, the write command is executed internally. In response, the command being executed and the data of the used address are output as the data string D12.

時刻t3において、内部でリードコマンドが実行されると、応じてデータ入出力端子から内部で使用されているコマンドおよびアドレスに対応するデータが出力される。   When a read command is executed internally at time t3, data corresponding to the command and address used internally is output from the data input / output terminal accordingly.

時刻t4以降では、内部のメモリアレイから読出されたデータが各データ入出力端子から出力される。   After time t4, data read from the internal memory array is output from each data input / output terminal.

このように、BISTモードにおいても内部の情報をデータ入出力端子より外部に読み出せば、BISTの場合でも内部の状態を観測することが可能となる。すなわち、すべてのテスト結果についての可否、すなわち、判断結果のみを出力させるのではなく、たとえば、スペアのメモリアレイによる救済が正しく実施されているかどうかを確かめるために、冗長メモリアレイによる救済単位で比較結果を出力させることも可能である。   As described above, even in the BIST mode, if the internal information is read out from the data input / output terminal, the internal state can be observed even in the BIST mode. In other words, whether or not all test results are acceptable, that is, only judgment results are not output, but for example, comparison is made in units of relief by redundant memory arrays to confirm whether or not the relief by the spare memory array is correctly performed. It is also possible to output the result.

同期型半導体記憶装置に内部状態を表わすデータを出力させる際には、ストローブ信号QSも出力させることでデータ出力期間の認識をテスト装置が行なえるようにする。   When outputting data representing the internal state to the synchronous semiconductor memory device, the test device can recognize the data output period by outputting the strobe signal QS.

したがって、BISTを実行する際に、内部の状態もテスト装置でモニタできるため、動作確認の結果がより一層確実にできるとともに、不具合が発生した場合の原因解明等がやりやすくなるという効果がある。   Therefore, when the BIST is executed, the internal state can be monitored by the test apparatus, so that the result of the operation check can be further ensured, and the cause of the occurrence of the trouble can be easily clarified.

図44は、BISTの内部情報を出力する際に用いられる縮退回路RDCの構成を示す回路図である。   FIG. 44 is a circuit diagram showing a configuration of a degeneration circuit RDC used when outputting internal information of BIST.

このデータ縮退回路は、BIST実施時に内部状態を出力する際に出力データの周期を落としたりピン数を減らしたりするのに用いられる。   This data degeneration circuit is used to reduce the period of output data or reduce the number of pins when outputting the internal state during BIST.

図44を参照して、信号SIG1〜SIGnには内部コマンドを示す信号やアドレスデータ等が与えられる。このデータ縮退回路は、信号SIG1、SIG2、…、SIGn−1、SIGnに対応してそれぞれ設けられる切換回路684、685、…、686、687と、切換回路687の出力を受け増幅するセンスアンプ688を含む。   Referring to FIG. 44, signals indicating internal commands, address data, and the like are applied to signals SIG1 to SIGn. This data degeneration circuit includes switching circuits 684, 685,..., 686, 687 respectively provided corresponding to signals SIG1, SIG2,..., SIGn-1, SIGn, and a sense amplifier 688 that receives and amplifies the output of the switching circuit 687. including.

切換回路684の入力ノードNI1、NI2にはそれぞれ電源電位、接地電位が与えられる。   A power supply potential and a ground potential are applied to the input nodes NI1 and NI2 of the switching circuit 684, respectively.

切換回路684の出力ノードNO1、NO2は、それぞれ、切換回路685の入力ノードNI1、NI2に接続される。同様にして切換回路686の出力ノードNO1、NO2はそれぞれ、切換回路687の入力ノードNI1、NI2にそれぞれ接続される。切換回路685と686との間には直列に複数の切換回路が接続されており、m(自然数)番目の入力信号SIGmに対応して設けられる切換回路の入力ノードNI1、NI2には、それぞれm−1番目の入力信号に対応して設けられる切換回路の出力ノードNO1、NO2が接続される。   Output nodes NO1 and NO2 of switching circuit 684 are connected to input nodes NI1 and NI2 of switching circuit 685, respectively. Similarly, output nodes NO1 and NO2 of switching circuit 686 are connected to input nodes NI1 and NI2 of switching circuit 687, respectively. A plurality of switching circuits are connected in series between the switching circuits 685 and 686, and each of the input nodes NI1 and NI2 of the switching circuit provided corresponding to the m (natural number) input signal SIGm is m. Output nodes NO1 and NO2 of a switching circuit provided corresponding to the −1st input signal are connected.

最終段であるn番目に接続される切換回路687の出力ノードNO1、NO2はセンスアンプ688の入出力ノードNOA、NOBにそれぞれ接続される。   The output nodes NO1 and NO2 of the switching circuit 687 connected to the nth, which is the final stage, are connected to the input / output nodes NOA and NOB of the sense amplifier 688, respectively.

切換回路684は、信号SIG1を受けて反転するインバータ690と、入力ノードNI1と出力ノードNO1との間に接続されゲートに信号SIG1を受けるNチャネルMOSトランジスタ691と、入力ノードNI2と出力ノードNO2との間に接続されゲートに信号SIG1を受けるNチャネルMOSトランジスタ692と、入力ノードNI1と出力ノードNO2との間に接続されゲートにインバータ690の出力を受けるNチャネルMOSトランジスタ694と、入力ノードNI2と出力ノードNO1との間に接続されゲートにインバータ690の出力を受けるNチャネルMOSトランジスタ693とを含む。   Switching circuit 684 receives an inverter 690 that receives and inverts signal SIG1, an N-channel MOS transistor 691 connected between input node NI1 and output node NO1 and receiving signal SIG1 at its gate, input node NI2 and output node NO2. N channel MOS transistor 692 connected between and receiving signal SIG1 at the gate, N channel MOS transistor 694 connected between input node NI1 and output node NO2 and receiving the output of inverter 690 at the gate, and input node NI2 N channel MOS transistor 693 connected between output node NO1 and receiving the output of inverter 690 at its gate is included.

切換回路685〜687は切換回路684と同様の構成を有するため説明は繰返さない。   Since switching circuits 685 to 687 have the same configuration as switching circuit 684, description thereof will not be repeated.

センスアンプ688は、入出力ノードNOAと入出力ノードNOBとの間に直列に接続されるNチャネルMOSトランジスタ696、697と、入出力ノードNOAと入出力ノードNOBとの間に直列に接続されるPチャネルMOSトランジスタ698、699と、NチャネルMOSトランジスタ696、697の接続ノードと接地ノードとの間に接続されゲートに論理判定信号LJSを受けるNチャネルMOSトランジスタ695と、PチャネルMOSトランジスタ698、699の接続ノードと電源ノードとの間に接続され論理判定信号/LJSをゲートに受けるPチャネルMOSトランジスタ700とを含む。   Sense amplifier 688 is connected in series between N channel MOS transistors 696 and 697 connected in series between input / output node NOA and input / output node NOB, and between input / output node NOA and input / output node NOB. N-channel MOS transistors 695 and 699, N-channel MOS transistors 695 and 699 connected between the connection nodes of N-channel MOS transistors 696 and 697 and the ground node and receiving logic determination signal LJS at their gates, and P-channel MOS transistors 698 and 699 P channel MOS transistor 700 connected between the connection node and the power supply node and receiving at its gate the logic determination signal / LJS.

NチャネルMOSトランジスタ697、PチャネルMOSトランジスタ699のゲートはともに入出力ノードNOAに接続される。NチャネルMOSトランジスタ696、PチャネルMOSトランジスタ698のゲートはともに入出力ノードNOBに接続される。   The gates of N channel MOS transistor 697 and P channel MOS transistor 699 are both connected to input / output node NOA. The gates of N channel MOS transistor 696 and P channel MOS transistor 698 are both connected to input / output node NOB.

このデータ縮退回路の動作を簡単に説明すると、入力される信号SIG1〜SIGnのうち論理レベルがHレベルである信号の数が偶数であれば出力信号OUTAがHレベルとなり出力信号OUTBがLレベルとなる。一方、入力信号SIG1〜SIGnのうち論理レベルがHである信号の数が奇数であれば出力信号OUTAはLレベルに、出力信号OUTBはHレベルになる。   The operation of the data degeneration circuit will be briefly described. If the number of signals whose logic level is H level among the input signals SIG1 to SIGn is an even number, the output signal OUTA becomes H level and the output signal OUTB becomes L level. Become. On the other hand, if the number of signals whose logic level is H among the input signals SIG1 to SIGn is an odd number, the output signal OUTA becomes L level and the output signal OUTB becomes H level.

これは、第1番目の切換回路684の入力ノードNI1、NI2にはそれぞれHレベル、Lレベルのデータが与えられ、入力信号SIG1がHレベルの場合はデータをそのまま対応する出力ノードNO1、NO2に伝達し、入力信号SIG1がLレベルの場合は、入力ノードNI1に与えられたデータは出力ノードNO2に出力されて入力ノードNI2に与えられたデータは出力ノードNO1に出力される。   This is because H level and L level data are respectively applied to the input nodes NI1 and NI2 of the first switching circuit 684, and when the input signal SIG1 is at the H level, the data is directly output to the corresponding output nodes NO1 and NO2. When input signal SIG1 is at the L level, the data applied to input node NI1 is output to output node NO2, and the data applied to input node NI2 is output to output node NO1.

つまり切換回路684〜687は入力される信号SIGnがHレベルの場合は入力データをそのまま対応する出力ノードに出力し、入力信号SIGnがLレベルの場合は入力ノードNI1、NI2に与えられたデータを入れ替えて出力ノードNO1、NO2に出力するのである。このため、入力信号SIG1〜SIGnのうちHレベルとなっている信号の数の偶数/奇数が判別できる。   That is, the switching circuits 684 to 687 output the input data as they are to the corresponding output node when the input signal SIGn is at the H level, and the data applied to the input nodes NI1 and NI2 when the input signal SIGn is at the L level. They are exchanged and output to the output nodes NO1 and NO2. For this reason, it is possible to determine the even / odd number of signals having the H level among the input signals SIG1 to SIGn.

信号SIG1〜SIGnにはコマンドを表わす信号やアドレス信号等を入力することができる。   A signal representing a command, an address signal, or the like can be input to the signals SIG1 to SIGn.

したがって、たとえば、4サイクル分の信号をラッチで保持しておき、縮退回路RDCを通して出力すれば、図43にてデータ列D11のように4サイクルで出力されていたデータを1サイクルにして出力することが可能である。   Therefore, for example, if signals for 4 cycles are held in a latch and output through the degeneration circuit RDC, the data output in 4 cycles as shown in the data string D11 in FIG. 43 is output as 1 cycle. It is possible.

図45は、コマンドやアドレスデータを縮退させて使用した場合の動作を説明するための動作波形図である。   FIG. 45 is an operation waveform diagram for explaining an operation when a command or address data is used in a degenerated state.

図45を参照して、時刻t1においてアクティブコマンドACTに対応する内部データ情報D111が出力される。図44で示した回路を用いることにより図43のデータ列D11をこのように圧縮して出力することが可能となる。同様に時刻t2、t3においても、コマンド等に対応したデータが圧縮して出力される。また時刻t4以降は、データも同様に圧縮して出力することにより、図43の場合の半分のデータレートで出力データをチェックできる。   Referring to FIG. 45, internal data information D111 corresponding to active command ACT is output at time t1. By using the circuit shown in FIG. 44, the data string D11 in FIG. 43 can be compressed and output in this way. Similarly, at times t2 and t3, data corresponding to the command or the like is compressed and output. In addition, after time t4, the output data can be checked at a data rate half that in the case of FIG. 43 by similarly compressing and outputting the data.

データの判定結果は、各サイクルでの64のデータを4DQに振分けて出力する。結果の出力はストローブ信号QSがLレベルである期間に出力させる。このようにすることにより出力データのデータピン数を少なくすることができ、また出力データのデータレートも落とすことができるので、性能の低い安価なテスタでも出力をモニタすることが可能となる。   As the data determination result, 64 data in each cycle are distributed to 4DQ and output. The resulting output is output during the period when the strobe signal QS is at L level. In this way, the number of data pins of output data can be reduced, and the data rate of output data can be reduced, so that even an inexpensive tester with low performance can monitor the output.

[BISTにおける不良アドレスの保持]
図46は、BIST実行時において不良アドレスを外部に読出すための構成を示すブロック図である。
[Retention of defective address in BIST]
FIG. 46 is a block diagram showing a configuration for reading out a defective address to the outside during BIST execution.

図46を参照して、この同期型半導体記憶装置には、コマンド、データ、アドレスを自動発生するBIST制御部649と、BIST制御部649が発生するコマンド、データ、アドレスを受けてデータの読出/書込動作を行なうメモリアレイMAと、メモリアレイMAから一括して読出される複数のデータの一致を検出し不良判定を行なう不良検知回路801とが設けられる。   Referring to FIG. 46, this synchronous semiconductor memory device includes a BIST control unit 649 that automatically generates commands, data, and addresses, and a data read / write operation that receives commands, data, and addresses generated by BIST control unit 649. A memory array MA that performs a write operation and a failure detection circuit 801 that detects a match between a plurality of data read from the memory array MA and performs failure determination are provided.

不良検知回路801は、メモリアレイMAから同時に読出される複数の読出信号の一致を検出する一致検出回路802〜808と、一致検出回路802、804の出力を受けるゲート回路810と、一致検出回路806、808の出力を受けるゲート回路812とを含む。   Defect detection circuit 801 includes coincidence detection circuits 802 to 808 that detect coincidence of a plurality of read signals read simultaneously from memory array MA, gate circuit 810 that receives the outputs of coincidence detection circuits 802 and 804, and coincidence detection circuit 806. , 808, and a gate circuit 812 for receiving the output of 808.

この一致検出回路は、図19で説明したような構成をしており、不良検出率が向上されている。ゲート回路810、812の出力はゲート回路814にて論理積がとられ不良メモリセルが発見されていない場合はゲート回路814の出力はHレベルを保持する。   The coincidence detection circuit has the configuration described with reference to FIG. 19, and the defect detection rate is improved. The outputs of the gate circuits 810 and 812 are ANDed by the gate circuit 814, and when no defective memory cell is found, the output of the gate circuit 814 holds the H level.

図示しないが、メモリアレイMAから一括して読出されるデータの数に応じて、不良検知回路801に含まれる一致検出回路およびゲート回路は適宜追加される。   Although not shown, a coincidence detection circuit and a gate circuit included in the defect detection circuit 801 are appropriately added according to the number of data read from the memory array MA at a time.

不良メモリセルが発見されると、ゲート回路814の出力はLレベルへと変化する。不良検知回路801は、この変化を検出しワンショットパルスを発生するエッジ検出回路816をさらに含む。   When a defective memory cell is found, the output of the gate circuit 814 changes to L level. Defect detection circuit 801 further includes an edge detection circuit 816 that detects this change and generates a one-shot pulse.

この同期型半導体記憶装置は、ワンショットパルスを受けてゲート回路810〜812のいずれの出力が変化したかを検知し対応するメモリアレイMAのアドレス信号をDQ前ラッチ部826に対して出力する、アドレス選択回路をさらに含む。   The synchronous semiconductor memory device detects which output of the gate circuits 810 to 812 has changed in response to the one-shot pulse, and outputs an address signal of the corresponding memory array MA to the pre-DQ latch unit 826. Further included is an address selection circuit.

この同期型半導体記憶装置は、エッジ検出回路816の出力を受けてサスペンドフラグを出力するフラグ保持部818と、サスペンドフラグに応じて導通し、出力バッファ828の出力ノードであるデータ入出力端子DQmをLレベルへと固定するNチャネルMOSトランジスタ830とをさらに含む。   This synchronous semiconductor memory device is connected to a flag holding unit 818 that receives the output of the edge detection circuit 816 and outputs a suspend flag, and conducts in response to the suspend flag, and connects a data input / output terminal DQm that is an output node of the output buffer 828. N channel MOS transistor 830 for fixing to L level is further included.

この同期型半導体記憶装置は、外部からアドレスを読出す指定をする入出力端子DQnから信号をうける入力バッファ832と、入力バッファ832の出力信号ADRDに応じて、DQ前ラッチ部826に保持されていたアドレスを出力バッファ834へと出力させる出力コントロール回路824とをさらに含む。クロック信号ADOUTに従ってデータ端子DQlから不良アドレスデータが出力される。   This synchronous semiconductor memory device is held in an input buffer 832 that receives a signal from an input / output terminal DQn that designates reading of an address from the outside, and an output signal ADRD of the input buffer 832 in a pre-DQ latch unit 826. And an output control circuit 824 for outputting the address to the output buffer 834. Defective address data is output from data terminal DQl in accordance with clock signal ADOUT.

図47は、アドレスの出力を説明するための動作波形図である。
図46、図47を参照して、時刻t1において、BISTによるテスト実行中にメモリセルの不良が検出され検知信号DETAが変化する。応じて、サスペンドフラグSUSPENDがHレベルに立上がる。そして、データ入出力端子DQmの電位はLレベルとなる。
FIG. 47 is an operation waveform diagram for explaining address output.
Referring to FIGS. 46 and 47, at time t1, a memory cell defect is detected during the BIST test execution, and the detection signal DETA changes. In response, suspend flag SUSPEND rises to H level. The potential of the data input / output terminal DQm is at the L level.

このサスペンドフラグの変化をデータ入出力端子DQmの変化によってテスタ装置が検知すると、時刻t2において外部に接続されたテスタ装置はチップに対してアドレスを出力するようにデータ入出力端子DQnの電位をHレベルへと立上げる。   When the tester device detects the change of the suspend flag by the change of the data input / output terminal DQm, the tester device connected to the outside at time t2 sets the potential of the data input / output terminal DQn to H so that an address is output to the chip. Launch to level.

応じて時刻t3において、信号ADRDがHレベルへと変化すると、出力コントロール回路824がアドレス出力クロックとして信号ADOUTを変化させる。応じてデータ入出力端子DQlからアドレス信号が出力される。   Accordingly, when signal ADRD changes to H level at time t3, output control circuit 824 changes signal ADOUT as an address output clock. In response, an address signal is output from data input / output terminal DQl.

アドレスの読取をテスタ装置が終了すると、データ入出力端子DQnの電位をテスタ装置はHレベルからLレベルへと立下げる。応じて、信号ADRDはLレベルへと立下がり、そして、サスペンドフラグSUSPENDは解除される。   When the tester device finishes reading the address, the tester device lowers the potential of the data input / output terminal DQn from the H level to the L level. In response, signal ADRD falls to the L level, and suspend flag SUSPEND is released.

時刻t5において、サスペンドフラグSUSPENDが解除されたことをBIST制御部649は検知し、BISTを再スタートさせる。   At time t5, the BIST control unit 649 detects that the suspend flag SUSPEND is released, and restarts BIST.

このようにしてBISTを実行する場合でも、内部で検知された不良アドレスを外部に接続されるテスタ装置等に対して出力することが可能であるので、出力されたアドレスを用いて、冗長置換を実行することが可能となる。   Even when the BIST is executed in this way, it is possible to output a defective address detected internally to a tester device or the like connected to the outside, so that redundant replacement is performed using the output address. It becomes possible to execute.

さらに、冗長置換の自動化を進める場合を次に述べる。
図48は、BIST実行時に検出された不良アドレスをもとに自ら冗長置換を行なう第1の構成を示す図である。
Furthermore, the case where automation of redundant replacement is advanced will be described below.
FIG. 48 is a diagram showing a first configuration in which redundant replacement is performed by itself based on a defective address detected at the time of BIST execution.

図48を参照して、この構成は、アドレス選択回路822の出力を受けるアドレス処理部842と、BIST制御部649が出力するBISTの終了を示す信号のエッジを検出するエッジ検出回路846と、エッジ検出回路846の出力に応じてアドレス処理部842に設定されたアドレスを出力するゲート回路844と、ゲート回路844が出力するアドレスをラッチする冗長判定回路部に設けられるアドレスプログラムラッチ848とを含む点が、図46に示した構成と異なる。他の構成は図46に示した構成と同様であるので説明は繰返さない。   Referring to FIG. 48, this configuration includes an address processing unit 842 that receives the output of the address selection circuit 822, an edge detection circuit 846 that detects an edge of a signal indicating the end of BIST output from the BIST control unit 649, an edge A gate circuit 844 that outputs an address set in the address processing unit 842 according to the output of the detection circuit 846, and an address program latch 848 provided in a redundancy determination circuit unit that latches an address output from the gate circuit 844. However, the configuration is different from that shown in FIG. Other configurations are similar to those shown in FIG. 46, and therefore description thereof will not be repeated.

アドレス処理部842は、不良アドレスが検出されてその不良アドレスを受取ると、所定のアドレス処理を実行する。その間、エッジ検出回路820に対してHレベルの信号を出力する。   When a defective address is detected and received, the address processing unit 842 executes predetermined address processing. In the meantime, an H level signal is output to the edge detection circuit 820.

エッジ検出回路820は、アドレス処理部のアドレス処理が終了し出力する信号がLレベルに立下がったことを検知し、フラグ保持部818が保持するサスペンドフラグを解除する。そして、BIST制御部649は、引続きBISTを実行する。   The edge detection circuit 820 detects that the address processing of the address processing unit is completed and the output signal falls to the L level, and releases the suspend flag held by the flag holding unit 818. Then, the BIST control unit 649 continues to execute BIST.

BISTが終了すると、BIST制御部649は、終了を示す信号をエッジ検出回路846に対して出力する。エッジ検出回路846の検出した終了信号に応じて、ゲート回路844はアドレス処理部に保持されている不良アドレスを冗長判定回路部のアドレスプログラムラッチに伝達し、不良アドレスが置換アドレスとしてアドレスプログラムラッチに入力される。このアドレスプロクラムラッチには、例えば電気的に書き換え可能な不揮発性メモリ等が用いられる。   When the BIST ends, the BIST control unit 649 outputs a signal indicating the end to the edge detection circuit 846. In response to the end signal detected by the edge detection circuit 846, the gate circuit 844 transmits the defective address held in the address processing unit to the address program latch of the redundancy determination circuit unit, and the defective address is used as a replacement address in the address program latch. Entered. For the address program latch, for example, an electrically rewritable nonvolatile memory is used.

図49は、BIST終了後に冗長置換を行なう第2の構成を示すブロック図である。
図49を参照して、BIST制御部649が出力するBIST終了信号を検知したエッジ検出回路854は、信号HBREAKを出力する。
FIG. 49 is a block diagram showing a second configuration for performing redundant replacement after the BIST is completed.
Referring to FIG. 49, edge detection circuit 854 that has detected the BIST end signal output from BIST control unit 649 outputs signal HBREAK.

アドレス選択回路822からアドレスを受けて処理するアドレス処理部852には、電気ヒューズが内蔵されており、信号HBREAKが入力されることにより保持されているアドレスが固定化される。この固定化されたアドレスは、冗長判定回路部のアドレスプログラムラッチ856に伝達され不良アドレスの置換が行なわれる。   The address processing unit 852 that receives and processes an address from the address selection circuit 822 has a built-in electric fuse, and the held address is fixed by inputting the signal HBREAK. The fixed address is transmitted to the address program latch 856 of the redundancy judgment circuit unit, and the defective address is replaced.

以上の点でこの構成は図48に示した構成と異なる。
図50は、図49におけるアドレス処理部852に含まれるアドレス固定を行なうための構成を示す図である。
This configuration is different from the configuration shown in FIG. 48 in the above points.
FIG. 50 is a diagram showing a configuration for performing address fixing included in address processing unit 852 in FIG.

図50を参照して、アドレス処理部852は、アドレスを固定時にヒューズを破壊するために使用される高電圧を発生する高電圧発生回路902と、BIST終了時に信号HBREAK0をうけてレベル変換を行なうレベル変換回路904#0と、レベル変換回路904#0の出力をゲートに受けるNチャネルMOSトランジスタ908#0と、NチャネルMOSトランジスタ908#0が導通時に高電圧を受け所定のアドレス信号AddB0〜AddBnに応じてアドレス固定が行われるアドレス固定部906とを含む。図49における信号HBREAKはm個のアドレス固定部に対応する信号HBREAK0〜HBREAKmを含んでおり(mは自然数)、図50には、信号HBREAK0に関する構成が代表的に示される。   Referring to FIG. 50, address processing unit 852 performs level conversion by receiving high voltage generation circuit 902 that generates a high voltage used to break the fuse when the address is fixed, and signal HBREAK0 at the end of BIST. Level conversion circuit 904 # 0, N-channel MOS transistor 908 # 0 receiving the output of level conversion circuit 904 # 0 at its gate, and high voltage when N-channel MOS transistor 908 # 0 is turned on receive a predetermined address signal AddB0 to AddBn. And an address fixing unit 906 that performs address fixing according to the above. 49 includes signals HBREAK0 to HBREAKm corresponding to m address fixing units (m is a natural number), and FIG. 50 representatively shows a configuration related to signal HBREAK0.

アドレス固定部906は、アドレス信号ビットAddB0〜AddBnに対応するアドレス固定部906#0〜906#nを含み、アドレス固定部906#0〜906#nからは図49におけるアドレスプログラムラッチ856にむけて置換アドレスを示す信号OUB0〜OUBnがそれぞれ出力される。   Address fixing unit 906 includes address fixing units 906 # 0 to 906 # n corresponding to address signal bits AddB0 to AddBn. Address fixing units 906 # 0 to 906 # n are directed to address program latch 856 in FIG. Signals OUB0 to OUBn indicating the replacement addresses are respectively output.

アドレス処理部852は、図示しないが信号HBREAK1〜HBREAKmを受けてレベル変換を行なうレベル変換回路904#1〜904#mをさらに含み、レベル変換回路904#1〜904#mの出力はNチャネルMOSトランジスタ908#1〜908#mに与えられる。図示しないが、NチャネルMOSトランジスタ908#1〜908#mにそれぞれ対応して、アドレス固定部906と同様な回路が設けられる。   Although not shown, address processing unit 852 further includes level conversion circuits 904 # 1 to 904 # m that receive signals HBREAK1 to HBREAKm and perform level conversion, and outputs of level conversion circuits 904 # 1 to 904 # m are N-channel MOSs. This is applied to transistors 908 # 1 to 908 # m. Although not shown, a circuit similar to the address fixing unit 906 is provided corresponding to each of the N-channel MOS transistors 908 # 1 to 908 # m.

レベル変換回路904#0は、信号HBREAK0をゲートに受け、ソースが接地ノードに接続されるNチャネルMOSトランジスタ914と、信号HBREAK0を受けて反転するインバータ918と、インバータ918の出力をゲートに受け、ソースが接地ノードに接続されるNチャネルMOSトランジスタ916と、NチャネルMOSトランジスタ914のドレインと電源ノードの間に接続され、ゲートがNチャネルMOSトランジスタ916のドレインと接続されるPチャネルMOSトランジスタ910と、NチャネルMOSトランジスタ916のドレインと電源ノードの間に接続され、ゲートがNチャネルMOSトランジスタ914のドレインと接続されるPチャネルMOSトランジスタ912と、ゲートが電源ノードに接続され、NチャネルMOSトランジスタ916のドレインとレベル変換回路904#0の出力ノードとの間に接続されるNチャネルMOSトランジスタ920とを含む。   Level conversion circuit 904 # 0 receives signal HBREAK0 at its gate, N channel MOS transistor 914 whose source is connected to the ground node, inverter 918 that receives and inverts signal HBREAK0, and the output of inverter 918 at its gate, N channel MOS transistor 916 having a source connected to the ground node, P channel MOS transistor 910 having a gate connected to the drain of N channel MOS transistor 916 and a gate connected to the drain of N channel MOS transistor 916 P channel MOS transistor 912 connected between the drain of N channel MOS transistor 916 and the power supply node, the gate connected to the drain of N channel MOS transistor 914, and the gate connected to the power supply node. And an N-channel MOS transistor 920 connected between the N-channel MOS transistor 916 of the drain and the level conversion circuit 904 # 0 of the output node.

図示しないが、レベル変換回路904#1〜904#mもレベル変換回路904#0と同様な構成を有する。   Although not shown, the level conversion circuits 904 # 1 to 904 # m have the same configuration as the level conversion circuit 904 # 0.

アドレス固定部906#0は、信号HBREAK0に応じて高電圧が印加されるノードNVgとノードNYとの間に接続されるNチャネルMOSトランジスタ922と、ノードNYとノードNXとの間に接続されるヒューズ素子924と、信号AddB0をゲートに受け、ノードNXと接地ノードとの間に接続されるNチャネルMOSトランジスタ926と、信号AddB0を受けてレベル変換しNチャネルMOSトランジスタ922のゲートに与えるレベル変換回路942と、ノードNXが入力に接続され信号OUB0を出力するバッファ回路928とを含む。   Address fixing unit 906 # 0 is connected between node NY and node NX, N channel MOS transistor 922 connected between node NVg and node NY to which a high voltage is applied according to signal HBREAK0. Fuse element 924, N channel MOS transistor 926 that receives signal AddB0 at its gate and is connected between node NX and the ground node, and level conversion that receives signal AddB0 and converts it to the gate of N channel MOS transistor 922 A circuit 942 and a buffer circuit 928 that has node NX connected to the input and outputs signal OUB0 are included.

ヒューズ素子924は、キャパシタであり、通常時は電極間が絶縁されているが、ノードNXとノードNYとの間に高電圧が印加されると絶縁が破壊される。   The fuse element 924 is a capacitor, and the electrodes are normally insulated from each other. However, when a high voltage is applied between the node NX and the node NY, the insulation is broken.

レベル変換回路942は、信号AddB0をゲートに受け、ソースが接地ノードに接続されるNチャネルMOSトランジスタ934と、信号AddB0を受けて反転するインバータ938と、インバータ938の出力をゲートに受け、ソースが接地ノードに接続されるNチャネルMOSトランジスタ936と、NチャネルMOSトランジスタ934のドレインと電源ノードの間に接続され、ゲートがNチャネルMOSトランジスタ936のドレインと接続されるPチャネルMOSトランジスタ930と、NチャネルMOSトランジスタ936のドレインと電源ノードの間に接続され、ゲートがNチャネルMOSトランジスタ934のドレインと接続されるPチャネルMOSトランジスタ932と、ゲートが電源ノードに接続され、NチャネルMOSトランジスタ936のドレインとレベル変換回路942の出力ノードとの間に接続されるNチャネルMOSトランジスタ940とを含む。   Level conversion circuit 942 receives signal AddB0 at its gate, N channel MOS transistor 934 whose source is connected to the ground node, inverter 938 that receives and inverts signal AddB0, and the output of inverter 938 at its gate. N channel MOS transistor 936 connected to the ground node, P channel MOS transistor 930 connected between the drain of N channel MOS transistor 934 and the power supply node, and having its gate connected to the drain of N channel MOS transistor 936, N P channel MOS transistor 932 is connected between the drain of channel MOS transistor 936 and the power supply node, the gate is connected to the drain of N channel MOS transistor 934, and the gate is connected to the power supply node. And an N-channel MOS transistor 940 connected between the output node of the drain and the level converting circuit 942 of the OS transistor 936.

図51は、図49におけるアドレスプログラムラッチ856の構成を示す回路図である。   FIG. 51 is a circuit diagram showing a configuration of address program latch 856 in FIG.

図51を参照して、アドレスプログラムラッチ856は、アドレス処理部852から与えられる信号OUB0を信号TGに応じて伝達するスイッチ950#0と、スイッチ950#0を介して与えられる信号OUB0をラッチし信号R0、/R0を出力するラッチ回路952#0と、信号R0、/R0、AddR0、/AddR0の組合せに応じてコモンノードNZを接地ノードと接続するビット比較部954#0とを含む。   Referring to FIG. 51, address program latch 856 latches switch 950 # 0 for transmitting signal OUB0 applied from address processing unit 852 in accordance with signal TG and signal OUB0 applied via switch 950 # 0. Latch circuit 952 # 0 for outputting signals R0 and / R0 and bit comparison unit 954 # 0 for connecting common node NZ to the ground node in accordance with the combination of signals R0, / R0, AddR0 and / AddR0 are included.

アドレスプログラムラッチ856は、さらに、アドレス処理部852から与えられる信号OUBiを信号TGに応じて伝達するスイッチ950#iと、スイッチ950#iを介して与えられる信号OUBiをラッチし信号Ri、/Riを出力するラッチ回路952#iと、信号Ri、/Ri、AddRi、/AddRiの組合せに応じてコモンノードNZを接地ノードと接続するビット比較部954#iとを含む(iは1〜nの自然数)。   The address program latch 856 further latches the signal OUBi transmitted from the address processing unit 852 in response to the signal TG and the signal OUBi applied via the switch 950 # i, and signals Ri, / Ri And a bit comparison unit 954 # i for connecting the common node NZ to the ground node according to the combination of the signals Ri, / Ri, AddRi, and / AddRi (where i is 1 to n) Natural number).

ラッチ回路952#0は、スイッチ950#0に入力が接続され信号/ROを出力するインバータ958と、信号/R0を入力に受けて反転しインバータ958の入力ノードに与えるインバータ960と、信号/R0を受けて反転し信号ROを出力するインバータ962とを含む。   The latch circuit 952 # 0 has an input connected to the switch 950 # 0 and outputs a signal / RO, an inverter 960 that receives and inverts the signal / R0 and applies it to the input node of the inverter 958, and a signal / R0. And an inverter 962 that inverts and outputs a signal RO.

ラッチ回路952#1〜952#nは、それぞれスイッチ950#1〜950#nを介して信号OUB1〜OUBnを受け、信号R1〜Rnを出力する。ラッチ回路952#1〜952#nは、ラッチ回路952#0と同様の構成を有するので説明は繰返さない。   Latch circuits 952 # 1 to 952 # n receive signals OUB1 to OUBn through switches 950 # 1 to 950 # n, respectively, and output signals R1 to Rn. Since latch circuits 952 # 1 to 952 # n have the same configuration as latch circuit 952 # 0, description thereof will not be repeated.

ビット比較部954#0は、コモンノードNZと接地ノードとの間に直列に接続されるNチャネルMOSトランジスタ964、966、968を含む。NチャネルMOSトランジスタ964、966、968のゲートはそれぞれ電源電位、信号/RO、信号/AddR0を受ける。   Bit comparison unit 954 # 0 includes N-channel MOS transistors 964, 966, and 968 connected in series between common node NZ and the ground node. The gates of N channel MOS transistors 964, 966, and 968 receive power supply potential, signal / RO, and signal / AddR0, respectively.

ビット比較部954#0は、さらに、コモンノードNZと接地ノードとの間に直列に接続されるNチャネルMOSトランジスタ974、976、978を含む。NチャネルMOSトランジスタ974、976、978のゲートはそれぞれ電源電位、信号RO、信号AddR0を受ける。   Bit comparison unit 954 # 0 further includes N channel MOS transistors 974, 976, and 978 connected in series between common node NZ and the ground node. The gates of N channel MOS transistors 974, 976, and 978 receive power supply potential, signal RO, and signal AddR0, respectively.

ビット比較部954#1〜954#nは、ビット比較部954#0と同様の構成を有するため説明は繰返さない。   Since bit comparison units 954 # 1 to 954 # n have the same configuration as bit comparison unit 954 # 0, description thereof will not be repeated.

アドレスプログラムラッチ856は、さらに、プリチャージ信号/PCに応じてコモンノードNZをプリチャージし、コモンノードの電位を保持するラッチ回路956とを含む。   Address program latch 856 further includes a latch circuit 956 that precharges common node NZ in accordance with precharge signal / PC and holds the potential of the common node.

ラッチ回路956は、プリチャージ信号/PCをゲートに受けコモンノードNZと電源ノードとの間に接続されるPチャネルMOSトランジスタ982と、コモンノードNZが入力に接続され、置換指示信号REPLを出力するインバータ986と、コモンノードNZと電源ノードとの間に接続され、ゲートに置換指示信号REPLを受けるPチャネルMOSトランジスタ984とを含む。   Latch circuit 956 receives precharge signal / PC as a gate, P channel MOS transistor 982 connected between common node NZ and the power supply node, and common node NZ connected to the input, and outputs replacement instruction signal REPL. Inverter 986 and a P-channel MOS transistor 984 connected between common node NZ and the power supply node and receiving substitution instruction signal REPL at its gate are included.

図52は、アドレス処理部においてアドレス固定が行われる様子を説明するための動作波形図である。   FIG. 52 is an operation waveform diagram for explaining a state in which address fixing is performed in the address processing unit.

図50、図52を参照して、アドレス処理部852では図示しない回路部分においてBISTにて検出された不良アドレスの蓄積に基づき置換すべき冗長行、冗長列のアドレスAddBが決定される。アドレス固定部906にはアドレスAddBの各アドレスビットに対応する信号AddB0〜AddBnが与えられる。BISTが終了し、信号HBREAK0がアドレス処理部852に与えられると、時刻t1において高電圧VPPがノードNYに与えられる。この時対応する信号AddB0がHレベルであればノードNXの電位はLレベルとなり、ヒューズ素子であるキャパシタ924の電極間の電位差が大きくなり絶縁破壊がおこりヒューズ素子は導通状態となる。   Referring to FIGS. 50 and 52, address processor 852 determines redundant row and redundant column address AddB to be replaced based on accumulation of defective addresses detected by BIST in a circuit portion (not shown). The address fixing unit 906 is supplied with signals AddB0 to AddBn corresponding to each address bit of the address AddB. When BIST ends and signal HBREAK0 is applied to address processor 852, high voltage VPP is applied to node NY at time t1. At this time, if the corresponding signal AddB0 is at the H level, the potential of the node NX becomes the L level, the potential difference between the electrodes of the capacitor 924, which is a fuse element, increases, and dielectric breakdown occurs, so that the fuse element becomes conductive.

時刻t2においてアドレスAddB0が解除されると、ノードNXはノードNYと破壊されたヒューズ(キャパシタ)によって導通しているため所定の電位になる。   When the address AddB0 is released at time t2, the node NX is brought into a predetermined potential because it is electrically connected to the node NY by the broken fuse (capacitor).

時刻t3、t4においてヒューズの破壊によって設定されたアドレスの確認が行われる。時刻t3においては設定していないアドレスがAdd(ext)として入力された状態、時刻t4においては設定されたアドレスとアドレスAdd(ext)とが一致した場合を示す。ここでアドレスAdd(ext)はBIST回路が外部から入力されるアドレスのかわりに発生するアドレスである。   At times t3 and t4, the address set by the destruction of the fuse is confirmed. A state in which an unset address is input as Add (ext) at time t3, and a case where the set address and address Add (ext) match at time t4 are shown. Here, the address Add (ext) is an address generated by the BIST circuit instead of the address input from the outside.

時刻t5までにNチャネルMOSトランジスタ908#1〜908#mに対応するアドレス固定部の個数分、アドレスの設定とチェックが繰返される。時刻t5においてプログラムサイクルが終了し、最終的にアドレスのプログラムが正常に行われたか否かの判定が行われ、判定結果が未プログラムを示していれば、ヒューズの破壊が不十分な場合が考えられるので再度プログラムを繰返す。   By time t5, address setting and checking are repeated for the number of address fixing portions corresponding to N channel MOS transistors 908 # 1 to 908 # m. At time t5, the program cycle ends, and it is finally determined whether or not the address program has been normally performed. If the determination result indicates unprogrammed, there is a possibility that the fuse is not sufficiently destroyed. Repeat the program again.

図53は、アドレス固定後における電源投入後の動作を説明する動作波形図である。
図53を参照して、アドレス固定がされたのちにおいては、電源投入後の所定の時間が経過した時刻t1においてコマンドCKEが入力される。この時、信号AddB0〜AddBnを一旦すべてHレベルにすることで、ノードNXをLレベルに初期化する。
FIG. 53 is an operation waveform diagram for explaining the operation after power-on after the address is fixed.
Referring to FIG. 53, after the address is fixed, command CKE is input at time t1 when a predetermined time elapses after the power is turned on. At this time, all the signals AddB0 to AddBn are once set to the H level to initialize the node NX to the L level.

時刻t2以降は、図49におけるアドレス処理部852内でヒューズの破壊により保持されている置換アドレスが、順次アドレスプロクラムラッチ856に転送され保持される。時刻t2では転送指示PRGREAD1によって、アドレス処理部852からアドレスプログラムラッチ856に第1の置換アドレスの転送が実施される。続いて、時刻t3では転送指示PRGREAD2によって、アドレス処理部852からアドレスプログラムラッチ856に第2の置換アドレスの転送が実施される。   After time t2, replacement addresses held in the address processing unit 852 in FIG. 49 due to fuse destruction are sequentially transferred to and held in the address program latch 856. At time t2, the first replacement address is transferred from the address processing unit 852 to the address program latch 856 by the transfer instruction PRGREAD1. Subsequently, at time t3, the second replacement address is transferred from the address processing unit 852 to the address program latch 856 by the transfer instruction PRGREAD2.

この転送は、DLL回路等のクロックリカバリ回路の設定時間を用いて複数回にわけて行われるが、冗長行および冗長列の数が少ない場合は一度で行っても良い。一度で転送を行なう場合には、コマンドレジスタ設定サイクル等を用いる。   This transfer is performed a plurality of times using the set time of a clock recovery circuit such as a DLL circuit, but may be performed once if the number of redundant rows and redundant columns is small. When transferring at a time, a command register setting cycle or the like is used.

図48〜図53で説明したように、BIST実施後に自身で冗長置換を行なう構成とすれば、高価な試験装置が無くとも不良アドレスの検出および冗長置換がチップ自身で実行できるので、さらにコスト低減を図ることができる。   As described with reference to FIGS. 48 to 53, if the configuration is such that redundant replacement is performed after the BIST is performed, detection of defective addresses and redundant replacement can be performed by the chip itself even without an expensive test device, thereby further reducing costs. Can be achieved.

[BIST実行時における不良アドレスの処理]
以降は、BISTを実行した際に、不良アドレスの保持および冗長置換をチップ内部にて行なう構成について説明する。
[Bad address processing during BIST execution]
Hereinafter, a description will be given of a configuration in which defective addresses are retained and redundant replacement is performed inside the chip when BIST is executed.

図54は、メモリアレイにおけるメモリセルのテストについて説明するための図である。   FIG. 54 is a diagram for explaining a test of memory cells in the memory array.

図54を参照して、メモリアレイMA♯には、2行の冗長行RREDと、4列の冗長列CREDとが設けられる。   Referring to FIG. 54, memory array MA # is provided with two redundant rows RRED and four redundant columns CRED.

矢印ARに示すように、メモリセルの検査は行方向に向かって逐次行なわれ1行分のメモリセルの検査が完了すると次の行に移る。今、このメモリアレイには、不良メモリセルが7つある。各々の不良メモリセルのアドレスを不良アドレスと呼ぶこととすると、不良アドレスは、(ロウアドレス、コラムアドレス)=(Ra,Cb)、(Ra,Cc)、(Ra,Cd)、(Ra,Ce)、(Ra,Cf)、(Rb,Ca)、(Rc,Ca)の以上の7つである。   As shown by the arrow AR, the memory cells are sequentially inspected in the row direction, and when the inspection of the memory cells for one row is completed, the process proceeds to the next row. Now, this memory array has seven defective memory cells. If the address of each defective memory cell is called a defective address, the defective address is (row address, column address) = (Ra, Cb), (Ra, Cc), (Ra, Cd), (Ra, Ce). ), (Ra, Cf), (Rb, Ca), and (Rc, Ca).

これらの不良アドレスを冗長行および冗長列を用いて置換を行なう場合には、従来においては、テスタ装置で動作テストを実施する際に不良アドレスをテスタ装置が記憶していた。テスタ装置はフェイルビットメモリに不良のビットを表示することができる。たとえば、64MbitのDRAMを試験する際には、テスタ装置は64Mbit空間を表示することができる。   In the case where these defective addresses are replaced using redundant rows and redundant columns, conventionally, the tester device stores the defective addresses when performing an operation test on the tester device. The tester device can display bad bits in the fail bit memory. For example, when testing a 64 Mbit DRAM, the tester device can display a 64 Mbit space.

BISTをチップ内蔵のテスト回路によって実施する際には、チップ上にはこのようなフェイルビットメモリを配置することは不可能なため、不良アドレスを逐一記憶しておかなければならない。   When the BIST is performed by a test circuit built in the chip, it is impossible to arrange such a fail bit memory on the chip, so it is necessary to store defective addresses one by one.

この場合に困難な点は、不良アドレスがどのような配置となるかによって、冗長列、冗長行をいずれの不良メモリセルの置換に用いるかの組合せが変化することである。   The difficulty in this case is that the combination of which defective memory cell is used for replacement of the redundant column and redundant row changes depending on the arrangement of the defective address.

最も簡単な手法は、発生した不良アドレスに冗長行または冗長列を逐一割当てていけばよいのであるが、それでは、最大救済ビット数は(冗長行の数+冗長列の数)でしかなく、救済効率が悪い。   The simplest method is to assign a redundant row or redundant column one by one to the defective address that has occurred, but the maximum number of relief bits is only (number of redundant rows + number of redundant columns). ineffective.

たとえば、図54におけるロウアドレスRa上には5つの不良メモリセルが存在するため、たとえば、すべて冗長列を使用して救済する場合は5個の冗長列が必要であるが、冗長行を用いてロウアドレスRaを置換すれば、1個の冗長列で5つの不良メモリセルを救済することができてしまう。このような効率の良い救済をいかに判断させるかが工夫が必要となる点である。   For example, since there are five defective memory cells on the row address Ra in FIG. 54, for example, when all the redundant columns are used for repair, five redundant columns are required. If the row address Ra is replaced, five defective memory cells can be repaired with one redundant column. It is necessary to devise how to determine such efficient relief.

実施の形態3の半導体記憶装置は、アドレス保持と不良アドレスの出現回数をカウントするカウンタを設けることによりこの判断を可能とする。   The semiconductor memory device according to the third embodiment makes this determination possible by providing a counter that holds the address and counts the number of occurrences of the defective address.

図55は、図48に示したアドレス処理部842の概略構成を説明するための概略図である。   FIG. 55 is a schematic diagram for explaining a schematic configuration of the address processing unit 842 shown in FIG.

図55を参照して、不良メモリセルが発見された際の不良ロウアドレスを格納するアドレスレジスタRA♯1〜RA♯6と、アドレスレジスタRA♯1〜RA♯6にそれぞれ対応して設けられ、アドレスレジスタRA♯1〜RA♯6に格納されたロウアドレスと入力された不良ロウアドレスとを比較し一致すればカウント値を1インクリメントするカウンタCR♯1〜CR♯6と、アドレスレジスタRA♯1〜RA♯6に対応して設けられ、格納されたロウアドレスに冗長行を置換することが決定したことを示すフラグ保持部FR♯1〜FR♯6とが設けられる。   Referring to FIG. 55, address registers RA # 1-RA # 6 for storing a defective row address when a defective memory cell is found are provided corresponding to address registers RA # 1-RA # 6, respectively. If the row address stored in the address registers RA # 1 to RA # 6 and the inputted defective row address are compared and matched, the counters CR # 1 to CR # 6 incrementing the count value by 1 and the address register RA # 1 Flag holding portions FR # 1 to FR # 6 provided corresponding to .about.RA # 6 and indicating that it is decided to replace the redundant row with the stored row address are provided.

同様に、コラムアドレスに対しては、不良メモリセルに対応する不良コラムアドレスを格納するアドレスレジスタCA♯1〜CA♯6と、アドレスレジスタCA♯1〜CA♯6に対応して設けられ、アドレスレジスタCA♯1〜CA♯6に格納されたコラムアドレスと入力された不良コラムアドレスとを比較し一致すればカウント値を1インクリメントするカウンタCC♯1〜CC♯6と、アドレスレジスタCA♯1〜CA♯6に対応して設けられ、格納されたロウアドレスに冗長行を置換することが決定したことを示すフラグ保持部FC♯1〜FC♯6とが設けられる。   Similarly, column addresses are provided corresponding to address registers CA # 1 to CA # 6 for storing defective column addresses corresponding to defective memory cells and address registers CA # 1 to CA # 6. If the column address stored in registers CA # 1-CA # 6 and the input defective column address are compared and matched, counters CC # 1-CC # 6 that increment the count value by 1 and address registers CA # 1-CA # 1- Flag holding units FC # 1 to FC # 6 provided corresponding to CA # 6 and indicating that it is decided to replace the redundant row with the stored row address are provided.

このように、アドレスレジスタとカウンタとをセットで配置することで一度出現したアドレスが何度重複して出現するかを観測する。そしてカウント数が一定値を超えた場合に対応する行または列のアドレスの置換を行なうことを決定する。   In this way, by arranging the address register and the counter as a set, it is observed how many times an address that appears once overlaps. Then, when the count number exceeds a certain value, it is determined to replace the corresponding row or column address.

図54を再び参照して、冗長列が4列ある場合に、同一ロウアドレスRa上のコラム方向の不良アドレスが5個以上発見される場合には、そのすべてを冗長列で救済することは不可能である。このような場合には、冗長行を用いるしかない。   Referring again to FIG. 54, if there are four redundant columns and five or more defective addresses in the column direction on the same row address Ra are found, it is impossible to rescue all of them with the redundant columns. Is possible. In such a case, there is no choice but to use redundant rows.

つまり、カウンタの値をモニタして、同一ロウアドレスの出現に対しては、冗長列の数すなわち4を超えるカウンタの値となったときに、そのロウアドレスは冗長行で救済されることが決定する。そして、以後同一のロウアドレスが確認された場合には、すべてこの冗長行で救済される。したがって、冗長行による救済が決定されたロウアドレス上に存在するメモリセルのコラムアドレスは以降アドレス保持の対象から除外される。   In other words, the counter value is monitored, and for the appearance of the same row address, it is determined that the row address is relieved in the redundant row when the number of redundant columns, that is, the counter value exceeds 4. To do. Thereafter, when the same row address is confirmed, all of them are relieved by this redundant row. Therefore, the column address of the memory cell existing on the row address determined to be repaired by the redundant row is excluded from the address holding target thereafter.

冗長行を使用することが決定されると、その後は使用可能な冗長行は1だけ減ることになる。したがって、同一コラムアドレスの不良個数を計数するカウンタのリミット値が1だけ減少される。図54では、ロウアドレスRaの行を冗長行で救済することが決定された後には、使用可能な冗長行の数は(2−1=1)となり、不良コラムアドレスCaのカウンタ値が2になった時点でコラムアドレスCaは冗長列を用いてしか救済できないことになる。   If it is decided to use redundant rows, then the available redundant rows will be reduced by one. Therefore, the limit value of the counter that counts the number of defects of the same column address is decreased by one. In FIG. 54, after it is determined that the row of the row address Ra is repaired with a redundant row, the number of usable redundant rows is (2-1 = 1), and the counter value of the defective column address Ca is set to 2. At that time, the column address Ca can be relieved only by using a redundant column.

この動作を繰返していくことで、不良アドレスを蓄積していく。テストが完了したときに、配置されているアドレスレジスタのセット(冗長行の数+冗長列の数)、すなわち図54では(2+4=6)を超えて不良アドレスの観測がされなければ、そのメモリアレイは救済可能であると判定される。しかし、テスト途中で、救済可能数以上に、相互に異なる不良アドレスが検知されると、その時点で救済不可能という判定になる。以降、図54の不良メモリセルの配置の場合におけるアドレス格納の変化の様子を説明する。   By repeating this operation, defective addresses are accumulated. When the test is completed, if a defective address is not observed exceeding the set of address registers (number of redundant rows + number of redundant columns), that is, (2 + 4 = 6) in FIG. The array is determined to be salvable. However, if different defective addresses are detected more than the repairable number during the test, it is determined that the repair is not possible at that time. Hereinafter, a change in address storage in the case of the arrangement of defective memory cells in FIG. 54 will be described.

図56は、アドレス格納の第1段階の状態を示す図である。
図54、図56を参照して、アドレス(Ra,Cb)に達するまではメモリセルの不良は検出されない。そして、アドレス(Ra,Cb)に対応するメモリセルのチェックを行なった際にそのメモリセルが不良であれば、ロウアドレスのアドレスレジスタRA♯1にはロウアドレスRaが格納され、不良アドレスカウント部CR♯1にはカウント数1がセットされる。同様に、コラムアドレスを格納するアドレスレジスタCA♯1にはコラムアドレスCbが格納され、不良アドレスカウント部CC♯1はカウント数1を保持する。
FIG. 56 shows the state of the first stage of address storage.
54 and 56, no defect of the memory cell is detected until the address (Ra, Cb) is reached. If the memory cell corresponding to the address (Ra, Cb) is checked and the memory cell is defective, the row address Ra is stored in the address register RA # 1 of the row address, and the defective address count unit A count number of 1 is set in CR # 1. Similarly, column address Cb is stored in address register CA # 1 for storing a column address, and defective address count unit CC # 1 holds a count number of 1.

図57は、アドレス格納の第2段階の状態を示す図である。
図54、図57を参照して、アドレス(Ra,Cc)に対応するメモリセルをチェックしそれが不良であったため、アドレスレジスタRa♯2にはロウアドレスRaが格納され、アドレスレジスタCA♯2にはコラムアドレスCcが格納される。不良アドレスカウント部CR♯1、CR♯2のカウント値はロウアドレスRaの出現が2回目であるため増加しカウント2が保持される。
FIG. 57 shows the state of the second stage of address storage.
Referring to FIGS. 54 and 57, the memory cell corresponding to address (Ra, Cc) is checked and is defective. Therefore, row address Ra is stored in address register Ra # 2, and address register CA # 2 Stores a column address Cc. The count values of the defective address count units CR # 1 and CR # 2 are increased since the second occurrence of the row address Ra, and the count 2 is held.

不良アドレスカウント部CC♯1のカウント値は変化せず、不良アドレスカウント部CC♯2には1が保持される。   The count value of defective address count portion CC # 1 does not change, and 1 is held in defective address count portion CC # 2.

図58は、アドレス格納の第3段階の状態を示す図である。
図54、図58を参照して、アドレス(Ra,Cd)のメモリセルの不良を検知して、アドレスレジスタRA♯3にはロウアドレスRaが格納され、アドレスレジスタCA♯3にはコラムアドレスCdが格納される。ロウアドレスRaの出現は3回目であるため、不良アドレスカウント部CR♯1〜CR♯3のカウント数は1増加し3となる。また、不良アドレスカウント部CC♯3にはカウント値1が保持される。
FIG. 58 shows the state of the third stage of address storage.
Referring to FIGS. 54 and 58, when a defect in the memory cell at address (Ra, Cd) is detected, row address Ra is stored in address register RA # 3, and column address Cd is stored in address register CA # 3. Is stored. Since the appearance of the row address Ra is the third time, the count number of the defective address count units CR # 1 to CR # 3 increases by 1 to 3. Further, count value 1 is held in defective address count unit CC # 3.

図59は、アドレス格納の第4段階の状態を示す図である。
図54、図59を参照して、アドレス(Ra,Ce)の不良メモリセルが検出され、アドレスレジスタRA♯4にはロウアドレスRaが格納され、アドレスレジスタCA♯4にはコラムアドレスCeが格納される。不良アドレスカウント部CR♯1〜CR♯4のカウント値は4となり、また、不良アドレスカウント部CC♯4にはカウント値1が保持される。
FIG. 59 shows the state of the fourth stage of address storage.
54 and 59, a defective memory cell at address (Ra, Ce) is detected, row address Ra is stored in address register RA # 4, and column address Ce is stored in address register CA # 4. Is done. The count value of defective address count units CR # 1-CR # 4 is 4, and count value 1 is held in defective address count unit CC # 4.

図60は、アドレス格納の第5段階の状態を示す図である。
図54、図60を参照して、アドレス(Ra,Cf)に不良メモリセルが検出されると、ロウアドレスRaの検出数は5となり、これは、すべての冗長行CREDを割当てても置換不可能な状態であるので、ロウアドレスRaは冗長行RREDのいずれか1本によって置換されることが決定する。
FIG. 60 shows the state of the fifth stage of address storage.
Referring to FIGS. 54 and 60, when a defective memory cell is detected at address (Ra, Cf), the number of detections of row address Ra is 5, which is not replaced even if all redundant rows CRED are assigned. Since it is possible, the row address Ra is determined to be replaced by any one of the redundant rows RRED.

フラグ保持部FR♯1にはフラグが設定され、アドレスレジスタRA♯1に格納されたロウアドレスRaはアドレスが固定化される。また、以降は、不良メモリセルのロウアドレスがRaであれば、コラムアドレスは保持する必要がなくなる。したがって、アドレスレジスタCA♯1はアドレスフリーな状態となる。また、アドレスレジスタRA♯2〜RA♯4、CA♯2〜CA♯4に設定されていたアドレスはクリアされる。   A flag is set in the flag holding unit FR # 1, and the address of the row address Ra stored in the address register RA # 1 is fixed. Thereafter, if the row address of the defective memory cell is Ra, it is not necessary to hold the column address. Therefore, address register CA # 1 is in an address free state. The addresses set in address registers RA # 2-RA # 4 and CA # 2-CA # 4 are cleared.

図61は、アドレス格納の第6段階の状態を示す図である。
図54、図61を参照して、アドレス(Rb,Ca)に不良メモリセルが発見され、アドレスレジスタRA♯2にはロウアドレスRbが設定され、不良アドレスカウント部CR♯2には1が保持される。また、アドレスレジスタCA♯2にはコラムアドレスCaが格納され、不良アドレスカウント部CC♯2にはカウント値1が保持される。
FIG. 61 is a diagram showing a state of the sixth stage of address storage.
Referring to FIGS. 54 and 61, a defective memory cell is found at address (Rb, Ca), row address Rb is set in address register RA # 2, and 1 is held in defective address count unit CR # 2. Is done. Further, column address Ca is stored in address register CA # 2, and count value 1 is held in defective address count unit CC # 2.

図62は、アドレス格納の第7段階の状態を示す図である。
図54、図62を参照して、アドレス(Rc,Ca)に不良メモリセルが検出されると、アドレスレジスタRA♯1にはロウアドレスRcが格納され、不良アドレスカウント部CR♯3には1が保持される。また、アドレスレジスタCA♯3にはコラムアドレスCaが格納され、不良アドレスカウント部CC♯2、CC♯3のカウント値は2となる。
FIG. 62 shows the state of the seventh stage of address storage.
54 and 62, when a defective memory cell is detected at address (Rc, Ca), row address Rc is stored in address register RA # 1, and 1 is stored in defective address count unit CR # 3. Is retained. Further, the column address Ca is stored in the address register CA # 3, and the count value of the defective address count units CC # 2 and CC # 3 is 2.

図63は、検査完了後のアドレス格納の状態を示す図である。
図54、図63を参照して、検査終了後にカウント値が1を超える場合には、効率のよい救済を達成するため、最終的にアドレスレジスタCA♯2、CA♯3がともに格納しているロウアドレスCaが置換列と設定され、フラグ保持部FC♯2にはフラグが立ち、アドレスレジスタRA♯2に設定されていたロウアドレスはフリーな状態となる。また、アドレスレジスタRA♯3、CA♯3に設定されていたアドレスはクリアされる。
FIG. 63 is a diagram showing a state of address storage after the inspection is completed.
Referring to FIGS. 54 and 63, when the count value exceeds 1 after completion of the inspection, both address registers CA # 2 and CA # 3 are finally stored in order to achieve efficient relief. Row address Ca is set as a replacement column, flag is set in flag holding unit FC # 2, and the row address set in address register RA # 2 is in a free state. The addresses set in address registers RA # 3 and CA # 3 are cleared.

以上のようにして、最終的に、冗長行および冗長列がどのように置換されるかが決定される。   As described above, it is finally determined how redundant rows and redundant columns are replaced.

以上説明した、アドレス処理部の動作をフローチャートを用いて再度説明する。
図64、図65は、検査時の不良アドレスの格納および検査終了後の救済判定のフローを示すフローチャートである。
The operation of the address processing unit described above will be described again using a flowchart.
FIG. 64 and FIG. 65 are flowcharts showing the flow of storing defective addresses at the time of inspection and remedy determination after completion of the inspection.

図64、図65を参照して、BIST実行中においてサスペンドフラグからの不良アドレスを受けると、ステップS01においてアドレス格納処理がスタートする。次いで、ステップS02においてフリー化されているアドレスと不良アドレスの一致が判定される。ここで、フリー化されているアドレスとは、行置換がされることが確定したロウアドレスを有し、その後さらに発見された不良メモリセルのコラムアドレス、または、列置換されることが確定したコラムアドレスを有し、その後さらに発見された不良メモリセルのロウアドレスである。   Referring to FIGS. 64 and 65, when a defective address is received from the suspend flag during BIST execution, address storage processing starts in step S01. Next, in step S02, a match between the free address and the defective address is determined. Here, the free address has a row address that is determined to be replaced by a row, and a column address of a defective memory cell that is found afterwards or a column that is determined to be replaced. It is a row address of a defective memory cell that has an address and is subsequently discovered.

フリー化されているアドレスにあてはまらない場合は、ステップS03に進みアドレスレジスタへの書込が実施される。   If the address does not apply to the free address, the process proceeds to step S03, and writing to the address register is performed.

次にステップS04において、既にアドレスレジスタに格納されているアドレスとの一致比較が行なわれる。一致した場合はステップS07に進み、一致しない場合はステップS05に進む。   Next, in step S04, a coincidence comparison with the address already stored in the address register is performed. If they match, the process proceeds to step S07, and if they do not match, the process proceeds to step S05.

ステップS05においては、アドレスが格納されたアドレスレジスタが冗長列および冗長行の数を超えているか否かが判断される。超えている場合はステップS15に進み、検査されているチップの救済が不可能であることが判断される。そしてBISTは中断される。   In step S05, it is determined whether the address register in which the address is stored exceeds the number of redundant columns and redundant rows. If it exceeds, the process proceeds to step S15, and it is determined that the inspected chip cannot be relieved. And BIST is interrupted.

アドレスが格納されているアドレスレジスタの数が冗長列および冗長行の数を超えない場合は、ステップS06に進む。   When the number of address registers storing addresses does not exceed the number of redundant columns and redundant rows, the process proceeds to step S06.

ステップS06では、それぞれのアドレスレジスタに対応して設けられているカウンタの値に1が加算される。そして次にステップS14に進み不良アドレスの格納処理が終了しBISTが継続される。   In step S06, 1 is added to the value of the counter provided corresponding to each address register. Then, the process proceeds to step S14 where the defective address storing process is completed and the BIST is continued.

ステップS02においてフリー化されているアドレスとの一致が検出された場合は、その不良アドレスは既に救済されることが決定しているため、アドレスを格納する必要はなく、ステップS14に進みアドレス格納処理が終了される。   If a match with the free address is detected in step S02, it is determined that the defective address has already been relieved, so there is no need to store the address, and the process proceeds to step S14, where address storage processing is performed. Is terminated.

ステップS04において、既に格納された不良アドレスとロウアドレスまたはコラムアドレスが一致した場合は、ステップS07に進む。ステップS07では、一致したアドレスがロウアドレスか否かが判断される。   In step S04, if the already stored defective address matches the row address or the column address, the process proceeds to step S07. In step S07, it is determined whether or not the matched address is a row address.

一致したアドレスがロウアドレスである場合は、ステップS08に進み、一致したロウアドレスに対応するカウンタの値がインクリメントされる。   If the matched address is a row address, the process proceeds to step S08, and the value of the counter corresponding to the matched row address is incremented.

そして、ステップS09に進む。
ステップS09では、インクリメントされたカウンタの値がコラムのリミット値(使用可能冗長数)を超えているか否かが判断される。リミット値を超えている場合は、ステップS10に進み、ロウアドレスの救済が決定されロウアドレスが固定され対応するフラグ保持部にフラグが立つ。そして、重複した同一アドレスのレジスタがクリアされ、アドレスレジスタの内容が再配置される。すなわち、クリアされたレジスタ部にアドレスが詰められる。そして、固定化されたロウアドレスに対応するコラムアドレス分がフリー化されそしてコラムリミット値が−1される。
Then, the process proceeds to step S09.
In step S09, it is determined whether or not the incremented counter value exceeds the column limit value (number of usable redundancy). When the limit value is exceeded, the process proceeds to step S10, where the repair of the row address is determined, the row address is fixed, and a flag is set in the corresponding flag holding unit. Then, the same register at the same address is cleared, and the contents of the address register are rearranged. That is, the address is filled in the cleared register part. The column address corresponding to the fixed row address is freed and the column limit value is decremented by one.

ステップS09の結果が否定的な場合はステップS14に進みアドレス格納処理が終了される。   If the result of step S09 is negative, the process proceeds to step S14 and the address storage process is terminated.

ステップS07において、一致したアドレスがロウアドレスでない場合はステップS11に進む。   In step S07, if the matched address is not a row address, the process proceeds to step S11.

この場合は一致したアドレスはコラムアドレスである。ステップS11では、一致するコラムアドレスに対応して設けられているカウンタの値がインクリメントされる。続いてステップS12において、インクリメントされたカウンタの値がロウのリミット値(使用可能冗長数)を超えているか否かが判断される。超えていない場合はステップS14に進みアドレス格納処理が終了する。   In this case, the matched address is a column address. In step S11, the value of the counter provided corresponding to the matching column address is incremented. Subsequently, in step S12, it is determined whether or not the incremented counter value exceeds the low limit value (the number of usable redundancy). If not, the process proceeds to step S14 and the address storing process is terminated.

ロウのリミット値を超えている場合は、コラムアドレスの救済が決定されコラムアドレスが固定され対応するフラグ保持部にフラグが立つ。そして、同一コラムアドレスを格納していたレジスタがクリアされアドレスレジスタの内容の再配置が行なわれる。アドレスレジスタの内容の再配置とは、クリアされたレジスタにクリアされないアドレスを順に詰めることである。そして、ロウアドレスがフリー化されロウのリミット値が−1される。そして、ステップS14に進み、アドレス格納処理が終了しBISTが継続される。   If the row limit value is exceeded, column address relief is determined, the column address is fixed, and a flag is set in the corresponding flag holding unit. Then, the register storing the same column address is cleared and the contents of the address register are rearranged. The rearrangement of the contents of the address register means that addresses that are not cleared are sequentially packed in a cleared register. The row address is freed and the row limit value is decremented by one. Then, the process proceeds to step S14, the address storing process is completed, and the BIST is continued.

ステップS01からステップS14までのアドレス格納処理のサイクルを繰返し、最後にBISTが終了すると、BIST終了フラグが出力されステップS16に進む。ステップS16ではアドレスの固定化が行なわれる。このアドレスの固定化は対応するカウンタのカウント値が多い順に行なわれる。そして次にステップS17において、救済判定が終了する。すなわち、冗長列が置換される列アドレスおよび冗長行が置換される行アドレスが決定される。そして、決定された置換アドレスはアドレスプログラム部への転送もしくは置換処理に対応する電気ヒューズの破壊処理の段階へと進む。   The address storage processing cycle from step S01 to step S14 is repeated. When the BIST is finally completed, a BIST end flag is output and the process proceeds to step S16. In step S16, the address is fixed. The fixing of the address is performed in the order of the count value of the corresponding counter. Then, in step S17, the repair determination ends. That is, the column address for replacing the redundant column and the row address for replacing the redundant row are determined. Then, the determined replacement address is transferred to the address program unit or proceeds to the stage of electric fuse destruction processing corresponding to the replacement processing.

図66は、救済用アドレスがアドレス処理部842から各バンクのプログラム処理部に転送される様子を説明するための図である。   FIG. 66 is a diagram for explaining how the relief address is transferred from the address processing unit 842 to the program processing unit of each bank.

図66を参照して、アドレス処理部842には、ロウアドレス処理系としてフラグ保持部FR、不良アドレスカウント部CR、ロウアドレスレジスタRA、コラムアドレス処理系として、フラグ保持部FC、不良アドレスカウント部CC、コラムアドレスレジスタCAが設けられる。   66, the address processing unit 842 includes a flag holding unit FR as a row address processing system, a defective address count unit CR, a row address register RA, and a column address processing system as a flag holding unit FC and a defective address counting unit. CC and column address register CA are provided.

さらに、アドレス処理部からロウ系のアドレスに関するデータを順に受ける接続シフト部RSFT、アドレスラッチRLAT♯1〜RLAT♯4、デマルチプレクサRDEMが設けられ、各バンクに対応して、置換するためのロウアドレスを設定する設定部RSETと、設定部RSETに設定されたロウアドレスがデータ読出時に入力されるロウアドレスと一致するか否かを判定するアドレス比較部RCMPとが設けられる。   Furthermore, a connection shift unit RSFT, address latches RLAT # 1 to RLAT # 4, and a demultiplexer RDEM that sequentially receive data related to row addresses from the address processing unit are provided, and row addresses for replacement corresponding to each bank. Is set, and an address comparison unit RCMP that determines whether or not the row address set in the setting unit RSET matches the row address input at the time of data reading is provided.

さらに、アドレス処理部からコラム系のアドレスに関するデータを順に受ける接続シフト部CSFT、アドレスラッチCLAT♯1〜CLAT♯2、デマルチプレクサCDEMが設けられる。   Further, a connection shift unit CSFT for sequentially receiving data related to column addresses from the address processing unit, address latches CLAT # 1 to CLAT # 2, and a demultiplexer CDEM are provided.

各バンクに対応して、置換を行なうコラムアドレスが設定される設定部CSETと設定部CSETに設定されたコラムアドレスとデータ読出時に入力されるコラムアドレスとを比較し一致を検出するアドレス比較部CCMPとが設けられる。   Corresponding to each bank, a setting unit CSET in which a column address to be replaced is set, and a column address set in the setting unit CSET and a column address input at the time of data reading are compared to detect a match. Are provided.

今、BISTが終了しフラグ保持部FRにロウアドレスRAに対応する部分にフラグが立っており、コラムアドレスCAに対応するフラグ保持部FCにフラグが立っている場合を考える。接続シフト部RSFTは、フラグ保持部FRにフラグが立っているアドレスのみをアドレスラッチRLAT♯1に転送する。デマルチプレクサRDEMは、BISTがバンクごとに実施されるときに対応するバンクに対してアドレスラッチが保持するアドレスを転送する。アドレス情報の伝達に合わせて、設定部RSETには信号HBREAKによって高電圧が印加され、設定されたロウアドレスに対応するヒューズが破壊され、置換アドレスが固定される。   Now, consider a case where BIST is completed and a flag is set in a portion corresponding to the row address RA in the flag holding unit FR and a flag is set in the flag holding unit FC corresponding to the column address CA. The connection shift unit RSFT transfers only the address flagged in the flag holding unit FR to the address latch RLAT # 1. The demultiplexer RDEM transfers the address held by the address latch to the corresponding bank when the BIST is performed for each bank. Along with the transmission of the address information, a high voltage is applied to the setting unit RSET by the signal HBREAK, the fuse corresponding to the set row address is destroyed, and the replacement address is fixed.

このようにして、置換アドレスの設定が終了すると、アドレス比較部RCMPにロウアドレスが入力された際に、設定された置換アドレスと一致が検出された場合は一致検出信号RHIT11が活性化し、不良メモリセルを含む行は非活性化され、代わりに冗長行が活性化される。   When the setting of the replacement address is completed in this manner, when a match with the set replacement address is detected when the row address is input to the address comparison unit RCMP, the match detection signal RHIT11 is activated, and the defective memory The row containing the cell is deactivated and the redundant row is activated instead.

同様な動作がコラムアドレス処理に関しても行なわれる。
以上説明したように、実施の形態3の同期型半導体記憶装置は、BISTを実施する際に内部情報を外部に出力し、動作解析に役立てたり、冗長置換のアドレスを得たりすることが可能である。さらには、検査結果の内部情報を内部に保持し自身で冗長置換を実施したりすることが可能である。したがって、同期型半導体記憶装置の検査コストの削減ができる。
Similar operations are performed for column address processing.
As described above, the synchronous semiconductor memory device of the third embodiment can output internal information to the outside when performing BIST, and can use it for operation analysis or obtain an address for redundant replacement. is there. Furthermore, it is possible to retain the internal information of the inspection result and carry out redundant replacement by itself. Therefore, the inspection cost of the synchronous semiconductor memory device can be reduced.

今回開示された実施の形態はすべての点で例示であって制限的なものではないと考えられるべきである。本発明の範囲は上記した説明ではなくて特許請求の範囲によって示され、特許請求の範囲と均等の意味および範囲内でのすべての変更が含まれることが意図される。   The embodiment disclosed this time should be considered as illustrative in all points and not restrictive. The scope of the present invention is defined by the terms of the claims, rather than the description above, and is intended to include any modifications within the scope and meaning equivalent to the terms of the claims.

本発明の同期型半導体記憶装置1000の全体構成を示す概略ブロック図である。1 is a schematic block diagram showing an overall configuration of a synchronous semiconductor memory device 1000 of the present invention. 本発明の実施の形態1の同期型半導体記憶装置1000における各ブロックの配置例を示す概略図である。FIG. 3 is a schematic diagram showing an example of arrangement of each block in the synchronous semiconductor memory device 1000 according to the first embodiment of the present invention. 非同期の概念を説明するための動作波形図である。It is an operation | movement waveform diagram for demonstrating the asynchronous concept. 各バンクと各入出力回路の接続を説明するための概略図である。It is the schematic for demonstrating the connection of each bank and each input-output circuit. メモリバンクからデータがデータ入出力端子DQ0に出力される流れを説明するための図である。It is a figure for demonstrating the flow from which data is output to the data input / output terminal DQ0 from a memory bank. データ入出力端子DQ0からバンクへデータが書込まれる流れを説明するための図である。FIG. 10 is a diagram for explaining a flow of writing data from a data input / output terminal DQ0 to a bank. データ入出力端子DQ0〜DQ15の部分の構成の概略を示す図である。It is a figure which shows the outline of a structure of the part of the data input / output terminals DQ0-DQ15. 図7に示したデータ入出力端子DQ0〜DQ3に対応する部分を拡大して示した図である。It is the figure which expanded and showed the part corresponding to the data input / output terminal DQ0-DQ3 shown in FIG. 同期型半導体記憶装置1000が入出力回路部を通してデータを授受する概略を説明するための図である。FIG. 3 is a diagram for explaining an outline in which a synchronous semiconductor memory device 1000 exchanges data through an input / output circuit unit. 実施の形態1に用いられる入出力回路64の構成を示す回路図である。3 is a circuit diagram showing a configuration of an input / output circuit 64 used in Embodiment 1. FIG. 図10に示したリード時にデータを保持するラッチ148の構成を示す回路図である。FIG. 11 is a circuit diagram showing a configuration of a latch 148 that holds data at the time of reading shown in FIG. 10. 図10に示したデータ書込時にデータを保持するラッチ回路156の構成を示す回路図である。FIG. 11 is a circuit diagram showing a configuration of a latch circuit 156 that holds data at the time of data writing shown in FIG. 10. 図10に示したシフトレジスタ162の構成を示す回路図である。FIG. 11 is a circuit diagram illustrating a configuration of a shift register 162 illustrated in FIG. 10. 図13に示したフリップフロップ512の構成を示す回路図である。FIG. 14 is a circuit diagram showing a configuration of a flip-flop 512 shown in FIG. 13. 実施の形態1におけるデータの読出テストの概念を説明するための概念図である。FIG. 3 is a conceptual diagram for explaining a concept of a data read test in the first embodiment. 図15に対応したより詳しい入出力回路641の構成を示す回路図である。FIG. 16 is a circuit diagram showing a more detailed configuration of an input / output circuit 641 corresponding to FIG. 15. 実施の形態1のデータ読出テストの動作を説明するための動作波形図である。FIG. 6 is an operation waveform diagram for illustrating an operation of a data read test of the first embodiment. 実施の形態1における読出テストの動作を説明するための概念図である。FIG. 6 is a conceptual diagram for explaining an operation of a read test in the first embodiment. 図18に示した一致検出回路MAT11、MAT12の構成を示す回路図である。FIG. 19 is a circuit diagram showing a configuration of coincidence detection circuits MAT11 and MAT12 shown in FIG. 実施の形態1の変形例1における読出テストの概念を示す概念図である。FIG. 11 is a conceptual diagram showing a concept of a read test in Modification 1 of Embodiment 1. 実施の形態1の変形例1における入出力回路642の構成を示す回路図である。FIG. 11 is a circuit diagram showing a configuration of input / output circuit 642 in Modification 1 of Embodiment 1. 実施の形態1の変形例1における読出テストの動作を説明するための動作波形図である。FIG. 11 is an operation waveform diagram for describing an operation of a read test in the first modification of the first embodiment. 実施の形態1の変形例2におけるデータ読出テストの概念を示す概念図である。FIG. 11 is a conceptual diagram showing a concept of a data read test in a second modification of the first embodiment. 図23における一致検出回路MAT4の構成を示す回路図である。FIG. 24 is a circuit diagram showing a configuration of a coincidence detection circuit MAT4 in FIG. 実施の形態1の変形例2における読出テストの説明をするための動作波形図である。FIG. 11 is an operation waveform diagram for describing a read test in Modification 2 of Embodiment 1. 実施の形態1の変形例3におけるデータ読出テストの概念を示す概念図である。12 is a conceptual diagram showing a concept of a data read test in Modification 3 of Embodiment 1. FIG. 一致検出回路MAT5および反転スイッチ回路IVSWの構成を示す回路図である。FIG. 3 is a circuit diagram showing configurations of a coincidence detection circuit MAT5 and an inverting switch circuit IVSW. 実施の形態1の変形例3における読出テストを説明するための動作波形図である。FIG. 10 is an operation waveform diagram for illustrating a read test in Modification 3 of Embodiment 1. 実施の形態2の同期型半導体記憶装置に用いられるテスト結果出力回路TOCの構成を示す回路図である。FIG. 6 is a circuit diagram showing a configuration of a test result output circuit TOC used in the synchronous semiconductor memory device of the second embodiment. テスト結果出力回路TOCの動作を説明するための動作波形図である。FIG. 6 is an operation waveform diagram for explaining the operation of the test result output circuit TOC. 実施の形態3の同期型半導体記憶装置2100の全体構成を示す概略ブロック図である。FIG. 11 is a schematic block diagram showing an overall configuration of a synchronous semiconductor memory device 2100 according to a third embodiment. 同期型半導体記憶装置2100のBISTを実施する際の入出力バッファを介してのデータ入力を説明するための図である。6 is a diagram for explaining data input via an input / output buffer when performing BIST of the synchronous semiconductor memory device 2100. FIG. 図32における検知回路SVIHDECに関する構成を示す回路図である。FIG. 33 is a circuit diagram showing a configuration related to a detection circuit SVIHDEC in FIG. 32. RAM部BRAMの構成例を説明するためのブロック図である。It is a block diagram for demonstrating the structural example of RAM part BRAM. 図34におけるフリップフロップR♯mnおよびトランスファゲートTG♯mnの構成を示す回路図である。FIG. 35 is a circuit diagram showing structures of flip-flop R # mn and transfer gate TG # mn in FIG. 34. BISTを実行するための回路のテストに関するシーケンスを示す図である。It is a figure which shows the sequence regarding the test of the circuit for performing BIST. エントリテストを実施するための構成を説明するためのブロック図である。It is a block diagram for demonstrating the structure for implementing an entry test. エントリテストおよびRAM部へのデータ書込を説明するための動作波形図である。FIG. 10 is an operation waveform diagram for explaining an entry test and data writing to a RAM unit. RAM部BRAMのテストについて説明するためのブロック図である。It is a block diagram for demonstrating the test of RAM part BRAM. RAM部BRAMのテストについて説明するためのフローチャートである。It is a flowchart for demonstrating the test of RAM part BRAM. RAM部BRAMの読出テスト実行の説明をするための動作波形図である。It is an operation waveform diagram for explaining execution of a read test of a RAM unit BRAM. BIST実行時において内部データを外部に対して出力する構成を示す図である。It is a figure which shows the structure which outputs internal data with respect to the exterior at the time of BIST execution. データ入出力端子から外部にテスト実行状況を出力する様子を説明するための動作波形図である。FIG. 6 is an operation waveform diagram for explaining a state in which a test execution status is output to the outside from a data input / output terminal. BISTの内部情報を出力する際に用いられる縮退回路RDCの構成を示す回路図である。It is a circuit diagram which shows the structure of the degeneracy circuit RDC used when outputting the internal information of BIST. コマンドやアドレスデータを縮退させて使用した場合の動作を説明するための動作波形図である。FIG. 11 is an operation waveform diagram for explaining an operation when a command or address data is degenerated and used. BIST実行時において不良アドレスを外部に読出すための構成を示すブロック図である。It is a block diagram which shows the structure for reading a defective address outside at the time of BIST execution. アドレスの出力を説明するための動作波形図である。It is an operation waveform diagram for explaining output of an address. BIST実行時に検出された不良アドレスをもとに冗長置換を行なう第1の構成を示す図である。It is a figure which shows the 1st structure which performs redundant replacement based on the defective address detected at the time of BIST execution. BIST終了後に冗長置換を行なう第2の構成を示すブロック図である。It is a block diagram which shows the 2nd structure which performs redundant replacement after BIST completion | finish. 図49におけるアドレス処理部852に含まれるアドレス固定を行なうための構成を示す図である。It is a figure which shows the structure for performing the address fixation contained in the address process part 852 in FIG. 図49におけるアドレスプログラムラッチ856の構成を示す回路図である。FIG. 50 is a circuit diagram showing a configuration of an address program latch 856 in FIG. 49. アドレス処理部においてアドレス固定が行われる様子を説明するための動作波形図である。It is an operation | movement waveform diagram for demonstrating a mode that address fixation is performed in an address processing part. アドレス固定後における電源立ち上げ後の動作を説明する動作波形図である。FIG. 10 is an operation waveform diagram for explaining an operation after power-on after address fixing. メモリアレイにおけるメモリセルのテストについて説明するための図である。It is a figure for demonstrating the test of the memory cell in a memory array. 図48に示したアドレス処理部842の概略構成を説明するための概略図である。FIG. 49 is a schematic diagram for explaining a schematic configuration of an address processing unit 842 shown in FIG. 48. アドレス格納の第1段階の状態を示す図である。It is a figure which shows the state of the 1st step of address storage. アドレス格納の第2段階の状態を示す図である。It is a figure which shows the state of the 2nd step of address storage. アドレス格納の第3段階の状態を示す図である。It is a figure which shows the state of the 3rd step of address storage. アドレス格納の第4段階の状態を示す図である。It is a figure which shows the state of the 4th step of address storage. アドレス格納の第5段階の状態を示す図である。It is a figure which shows the state of the 5th step of address storage. アドレス格納の第6段階の状態を示す図である。It is a figure which shows the state of the 6th step of address storage. アドレス格納の第7段階の状態を示す図である。It is a figure which shows the state of the 7th step of address storage. 検査完了後のアドレス格納の状態を示す図である。It is a figure which shows the state of address storage after completion | finish of a test | inspection. 検査時の不良アドレスの格納および検査終了後の救済判定のフローを示すフローチャートである。It is a flowchart showing a flow of storing a defective address at the time of inspection and remedy determination after completion of the inspection. 検査時の不良アドレスの格納および検査終了後の救済判定のフローを示すフローチャートである。It is a flowchart showing a flow of storing a defective address at the time of inspection and remedy determination after completion of the inspection. 救済用アドレスがアドレス処理部から各バンクのプログラム処理部に選択される様子を説明するための図である。It is a figure for demonstrating a mode that the address for relief is selected from the address process part to the program process part of each bank. 従来のBIST(ビルトインセルフテスト)機能付のメモリのブロック構成を示すブロック図である。It is a block diagram which shows the block structure of the memory with the conventional BIST (built-in self test) function.

符号の説明Explanation of symbols

10 ロウプリデコーダ、14 コラムプリデコーダ、RD ロウデコーダ、CD コラムデコーダ、22 データ変換部、30 DLL回路、64,64a〜64f,641,642 入出力回路、102,104 リードアンプ、122,124 ライトアンプ、RDB リードデータバス、WDB ライトデータバス、146,148,154,156,L1,L2 ラッチ、142,143 レシーバ、158 バスドライバ、162,164,172,174,180,182 シフトレジスタ、150 出力バッファ、152 入力バッファ、302,MPX マルチプレクサ、MAT1〜MAT4,MAT11〜MAT12,230,250 一致検出回路、OBUF 出力バッファ、DQi,DQj,DQk データ入出力端子、234,238,E111,E112,E121,E122,251,G1,G2 EXOR回路、236,240,252,254 切換回路、E113,E123 OR回路、E41,E51 ゲート回路、E42,E52 AND回路、IVSW 反転スイッチ、DF1〜DF9,R#00〜R#mn フリップフロップ、650 PLL回路、649 BIST回路、PG パターンジェネレート部、BRAM RAM部、SR1〜SR6 ステップ、666 ラッチ回路、682 カウンタ、IDEC デコーダ、TG#00〜TG#mn トランスファゲート、MN4 NチャネルMOSトランジスタ、SVIHDEC 検知回路、SW01,SW02 スイッチ回路、RDC 縮退回路、801 不良検知回路、816,820 エッジ検出回路、RRED 冗長行、CRED 冗長列、842 アドレス処理部、848 アドレスプログラムラッチ、FR#1〜FR#6,FC#1〜FC#6 フラグ保持部、RA♯1〜RA♯6,CA♯1〜CA♯6 アドレスレジスタ、CR♯1〜CR♯6,CC♯1〜CC♯6 カウンタ、1000,2000 同期型半導体記憶装置。   10 row predecoder, 14 column predecoder, RD row decoder, CD column decoder, 22 data converter, 30 DLL circuit, 64, 64a to 64f, 641, 642 input / output circuit, 102, 104 read amplifier, 122, 124 write Amplifier, RDB read data bus, WDB write data bus, 146, 148, 154, 156, L1, L2 latch, 142, 143 receiver, 158 bus driver, 162, 164, 172, 174, 180, 182 Shift register, 150 outputs Buffer, 152 input buffer, 302, MPX multiplexer, MAT1 to MAT4, MAT11 to MAT12, 230, 250 coincidence detection circuit, OBUF output buffer, DQi, DQj, DQk data input / output terminal, 234 38, E111, E112, E121, E122, 251, G1, G2 EXOR circuit, 236, 240, 252, 254 switching circuit, E113, E123 OR circuit, E41, E51 gate circuit, E42, E52 AND circuit, IVSW inversion switch, DF1 to DF9, R # 00 to R # mn flip-flop, 650 PLL circuit, 649 BIST circuit, PG pattern generation unit, BRAM RAM unit, SR1 to SR6 step, 666 latch circuit, 682 counter, IDEC decoder, TG # 00 TG # mn Transfer gate, MN4 N-channel MOS transistor, SVIHDEC detection circuit, SW01, SW02 switch circuit, RDC degeneration circuit, 801 failure detection circuit, 816, 820 edge detection circuit, RR ED redundant row, CRED redundant column, 842 address processing unit, 848 address program latch, FR # 1-FR # 6, FC # 1-FC # 6 flag holding unit, RA # 1-RA # 6, CA # 1-CA # 6 Address register, CR # 1-CR # 6, CC # 1-CC # 6 counter, 1000, 2000 Synchronous semiconductor memory device.

Claims (12)

メモリアレイと、
前記メモリアレイに対するセルフテストの実行を制御し、前記メモリアレイにアドレス信号とコマンド信号とを与え、かつ、記憶データを授受するBIST(ビルトインセルフテスト)制御回路と、
前記セルフテストが実行可能かどうかをテストする予備テストを実行する予備テストモード時に、前記予備テストのテスト結果を出力する第1の端子とを備える、同期型半導体記憶装置。
A memory array;
A BIST (Built-in Self Test) control circuit that controls execution of a self-test for the memory array, provides an address signal and a command signal to the memory array, and exchanges storage data;
A synchronous semiconductor memory device comprising: a first terminal for outputting a test result of the preliminary test in a preliminary test mode for executing a preliminary test for testing whether the self test can be executed.
前記セルフテストの実行を指定するために第1の電源電位を超える第1の所定電位が加えられる第2の端子と、
前記第2の端子に前記所定の電位が与えられたことを検知する検知回路と、
前記検知回路の出力に応じてBIST実行フラグがセットされ、前記BIST実行フラグを前記BIST制御回路に対して出力するフラグ保持部と、
前記検知回路が前記検知をしたことを前記予備テストモードにおいて前記第1の端子に出力する出力回路とを含む、請求項1に記載の同期型半導体記憶装置。
A second terminal to which a first predetermined potential exceeding a first power supply potential is applied to designate execution of the self-test;
A detection circuit for detecting that the predetermined potential is applied to the second terminal;
A flag holding unit that sets a BIST execution flag according to the output of the detection circuit and outputs the BIST execution flag to the BIST control circuit;
2. The synchronous semiconductor memory device according to claim 1, further comprising: an output circuit that outputs to the first terminal that the detection circuit has performed the detection in the preliminary test mode.
前記BIST制御回路は、
前記セルフテストの手順に対応するテストデータを格納するRAM部と、
前記RAM部に記憶された前記テストデータに基づき前記セルフテストの制御を行うパターンジェネレート部とを含み、
前記テスト結果は、
前記RAM部に記憶された前記テストデータを含み、
前記RAM部は、
前記セルフテスト実行時に前記パターンジェネレート部によって選択される単位である第1ないし第n群の記憶ユニット(nは自然数)を含み、
各前記群の記憶ユニットは、
前記セルフテスト実行時には一括して選択され、前記パターンジェネレート部に前記テストデータを出力し、前記予備テストモードにおいては直列に接続されたシフトレジスタとなる、m個の記憶ユニットをそれぞれ有し(mは自然数)、
前記予備テストモードにおいて、前記第1群の記憶ユニットは、前記第1の端子から前記テストデータを受けて前記第2群の記憶ユニットに出力し、
前記予備テストモードにおいて、前記第i群(iは2〜n−1の自然数)の記憶ユニットは、前記第(i+1)群の記憶ユニットに前記テストデータを出力し、
前記予備テストモードにおいて、前記第n群の記憶ユニットは、前記第1の端子に前記テストデータを出力する、請求項1に記載の同期型半導体記憶装置。
The BIST control circuit
A RAM unit for storing test data corresponding to the self-test procedure;
A pattern generation unit that controls the self-test based on the test data stored in the RAM unit,
The test result is
Including the test data stored in the RAM unit;
The RAM unit is
Including first to n-th group storage units (n is a natural number) which is a unit selected by the pattern generation unit during the self-test execution;
Each said group of storage units comprises:
Each of the m storage units is selected at a time when the self-test is executed, outputs the test data to the pattern generator, and becomes a shift register connected in series in the preliminary test mode. m is a natural number),
In the preliminary test mode, the first group of storage units receives the test data from the first terminal and outputs the test data to the second group of storage units;
In the preliminary test mode, the storage unit of the i-th group (i is a natural number of 2 to n-1) outputs the test data to the storage unit of the (i + 1) -th group,
The synchronous semiconductor memory device according to claim 1, wherein in the preliminary test mode, the n-th group of storage units outputs the test data to the first terminal.
前記BIST制御回路は、前記セルフテスト実行時において、前記メモリアレイに不良箇所が発見されると、前記セルフテストを一時中断し、前記不良箇所に対応する不良アドレスの各ビットをシーケンシャルに出力し、
各前記ビットを受けて外部に出力する第2の端子をさらに備える、請求項1に記載の同期型半導体記憶装置。
The BIST control circuit temporarily stops the self-test when a defective portion is found in the memory array during the self-test execution, and sequentially outputs each bit of a defective address corresponding to the defective portion;
The synchronous semiconductor memory device according to claim 1, further comprising a second terminal that receives and outputs each bit.
前記メモリアレイからの複数の読出データの一致を検出する不良検知回路と、
前記不良検知回路の出力に応じて前記セルフテストを一時中断するサスペンドフラグを出力するフラグ保持部と、
前記サスペンドフラグに応じて前記不良アドレス出力動作を実施するための認識信号を外部に出力する第3の端子と、
外部から前記不良アドレスの受信が完了したことを示す完了信号が入力される第4の端子と、
前記完了信号に応じて前記フラグ保持部にサスペンドフラグのリセット信号を出力する完了検出回路とをさらに備える、請求項4に記載の同期型半導体記憶装置。
A failure detection circuit for detecting coincidence of a plurality of read data from the memory array;
A flag holding unit that outputs a suspend flag that suspends the self-test in response to an output of the defect detection circuit;
A third terminal for outputting a recognition signal for executing the defective address output operation in response to the suspend flag;
A fourth terminal to which a completion signal indicating completion of reception of the defective address is input from the outside;
5. The synchronous semiconductor memory device according to claim 4, further comprising a completion detection circuit that outputs a suspend flag reset signal to the flag holding unit in response to the completion signal.
前記メモリアレイは、
行列状に配列される複数の正規のメモリセルと、
冗長メモリセルからなる複数の冗長行と、
冗長メモリセルからなる複数の冗長列とを含み、
前記メモリアレイからの複数の読出データの一致を検出する不良検知回路と、
前記不良検知回路の出力に応じて前記不良箇所に対応する不良アドレスを受け、アドレス処理を行い、対応する情報を保持し、前記BIST制御回路が出力するテスト終了信号に応じて前記冗長行への置換を実施する行と冗長列への置換を実施する列とにそれぞれ対応する置換行アドレスと置換列アドレスとを決定するアドレス処理部と、
前記不良検知回路の出力に応じて前記セルフテストを一時中断するサスペンドフラグを出力し、前記アドレス処理部から前記アドレス処理の終了を示す処理完了信号を受けて前記サスペンドフラグをリセットするフラグ保持部とをさらに備える、請求項1に記載の同期型半導体記憶装置。
The memory array is
A plurality of regular memory cells arranged in a matrix;
A plurality of redundant rows of redundant memory cells;
A plurality of redundant columns of redundant memory cells,
A failure detection circuit for detecting coincidence of a plurality of read data from the memory array;
In response to an output of the defect detection circuit, a defective address corresponding to the defective portion is received, address processing is performed, corresponding information is held, and the redundant row is output to the redundant row in accordance with a test end signal output by the BIST control circuit. An address processing unit for determining a replacement row address and a replacement column address respectively corresponding to a row to be replaced and a column to be replaced with a redundant column;
A flag holding unit that outputs a suspend flag that suspends the self-test in response to an output of the defect detection circuit, and that receives a processing completion signal indicating completion of the address processing from the address processing unit and resets the suspend flag; The synchronous semiconductor memory device according to claim 1, further comprising:
前記アドレス処理部は、
冗長行の数と冗長列の数の和である第1の数のアドレス保持部を含み、
各前記アドレス保持部は、
不良アドレスの行アドレスを保持する行アドレスレジスタと、
前記行アドレスレジスタに対応して設けられ、前記行アドレスレジスタが格納している行アドレスの検出回数を計数する行カウンタと、
前記行アドレスレジスタに対応して設けられ、前記行アドレスレジスタが格納している行アドレスが置換決定されたことを保持する行フラグ設定部と、
不良アドレスの列アドレスを保持する列アドレスレジスタと、
前記列アドレスレジスタに対応して設けられ、前記列アドレスレジスタが格納している列アドレスの検出回数を計数する列カウンタと、
前記列アドレスレジスタに対応して設けられ、前記列アドレスレジスタが格納している列アドレスが置換決定されたことを保持する列フラグ設定部とを含み、
前記アドレス処理部は、前記列アドレスカウンタおよび前記行アドレスカウンタの計数値に基づいて前記行アドレス置換および列アドレス置換を決定する、請求項6に記載の同期型半導体記憶装置。
The address processing unit
Including a first number of address holders that is the sum of the number of redundant rows and the number of redundant columns;
Each of the address holding units
A row address register that holds the row address of the defective address;
A row counter provided corresponding to the row address register and counting the number of detections of the row address stored in the row address register;
A row flag setting unit that is provided corresponding to the row address register and holds that the row address stored in the row address register is determined to be replaced;
A column address register that holds the column address of the defective address;
A column counter that is provided corresponding to the column address register and counts the number of column address detections stored in the column address register;
A column flag setting unit that is provided corresponding to the column address register and holds that the column address stored in the column address register is determined to be replaced;
The synchronous semiconductor memory device according to claim 6, wherein the address processing unit determines the row address replacement and the column address replacement based on count values of the column address counter and the row address counter.
前記BIST制御回路が出力するテスト終了信号に応じて、前記アドレス処理部が決定した前記置換アドレスを受け置換アドレスを保持し、前記メモリアレイの通常読出時の指定アドレスが前記置換アドレスと一致した時に置換指示信号を出力する置換アドレス設定部をさらに備え、
前記置換アドレス設定部は、
前記テスト終了信号に応じて前記置換アドレスを受けて保持する不揮発性記憶素子を含む、請求項6に記載の同期型半導体記憶装置。
In response to a test end signal output from the BIST control circuit, the replacement address determined by the address processing unit is received and the replacement address is held. When the designated address at the normal reading of the memory array matches the replacement address A replacement address setting unit that outputs a replacement instruction signal;
The replacement address setting unit
The synchronous semiconductor memory device according to claim 6, further comprising a nonvolatile memory element that receives and holds the replacement address in response to the test end signal.
前記BIST制御回路が出力するテスト終了信号に応じて、前記アドレス処理部が決定した前記置換アドレスを受け置換アドレスを保持し、前記メモリアレイの通常読出時の指定アドレスが前記置換アドレスと一致した時に置換指示信号を出力する置換アドレス設定部をさらに備え、
前記置換アドレス設定部は、
前記テスト終了信号に応じて、アドレスに対応して導通状態が変更される複数のヒューズ素子を含む、請求項6に記載の同期型半導体記憶装置。
In response to a test end signal output from the BIST control circuit, the replacement address determined by the address processing unit is received and the replacement address is held. When the designated address at the normal reading of the memory array matches the replacement address A replacement address setting unit that outputs a replacement instruction signal;
The replacement address setting unit
The synchronous semiconductor memory device according to claim 6, comprising a plurality of fuse elements whose conduction state is changed corresponding to an address in accordance with the test end signal.
第1の端子群と、
前記メモリアレイと前記第1入出力端子群との間に設けられ、前記セルフテスト実行時に活性化され前記内部回路の状態を示すデータ群を前記第1の入出力端子群に出力するデータ伝達回路とをさらに備え、
前記データ群は、
ともに前記メモリアレイの記憶動作に用いられるコマンドデータとアドレスデータと記憶データに対応するテスト出力データとを含む、請求項1に記載の同期型半導体記憶装置。
A first terminal group;
A data transmission circuit provided between the memory array and the first input / output terminal group, which is activated during the execution of the self-test and outputs a data group indicating the state of the internal circuit to the first input / output terminal group And further comprising
The data group is:
2. The synchronous semiconductor memory device according to claim 1, further comprising command data, address data, and test output data corresponding to the storage data used for the storage operation of the memory array.
前記コマンドデータ、前記アドレスデータ、前記記憶データのいずれかを縮退し、前記テスト出力データを出力する縮退回路をさらに備える、請求項10に記載の同期型半導体記憶装置。   The synchronous semiconductor memory device according to claim 10, further comprising a degeneration circuit that degenerates any one of the command data, the address data, and the storage data and outputs the test output data. 同期型半導体記憶装置のテスト方法であって、
前記同期型半導体記憶装置は、
メモリアレイと、
前記メモリアレイに対するビルトインセルフテスト(BIST)の実行を制御し、前記メモリアレイにアドレス信号とコマンド信号とを与え、かつ、記憶データを授受するBIST制御回路と、
前記ビルトインセルフテスト(BIST)が実行可能かどうかをテストする予備テストを実行する予備テストモード時に、前記予備テストのテスト結果を出力する第1の端子とを備え、
前記BIST制御回路は、
前記セルフテストの手順に対応するテストデータを格納するRAM部と、
前記RAM部に記憶された前記テストデータに基づき前記セルフテストの制御を行うパターンジェネレート部とを含み、
前記テスト結果は、
前記RAM部に記憶された前記テストデータを含み、
前記RAM部は、
前記セルフテスト実行時に前記パターンジェネレート部によって選択される単位である第1ないし第n群の記憶ユニット(nは自然数)を含み、
各前記群の記憶ユニットは、
前記セルフテスト実行時には一括して選択され、前記パターンジェネレート部に前記テストデータを出力し、前記予備テストモードにおいては直列に接続されたシフトレジスタとなる、m個の記憶ユニットをそれぞれ有し(mは自然数)、
前記第1の端子から前記テストデータを入力し前記第1群ないし第n群の記憶ユニットに順次データをシフトして格納する第1のステップと、
前記テストデータを前記第1の端子を介して前記第n群の記憶ユニットから第1ないし第n群の記憶ユニットに設定された前記テストデータを順にシフトして読出す第2のステップとを備える、同期型半導体記憶装置のテスト方法。
A method for testing a synchronous semiconductor memory device, comprising:
The synchronous semiconductor memory device includes:
A memory array;
A BIST control circuit that controls execution of a built-in self-test (BIST) for the memory array, provides an address signal and a command signal to the memory array, and exchanges storage data;
A first terminal for outputting a test result of the preliminary test in a preliminary test mode for executing a preliminary test for testing whether the built-in self-test (BIST) can be executed;
The BIST control circuit
A RAM unit for storing test data corresponding to the self-test procedure;
A pattern generation unit that controls the self-test based on the test data stored in the RAM unit,
The test result is
Including the test data stored in the RAM unit;
The RAM unit is
Including first to n-th group storage units (n is a natural number) which is a unit selected by the pattern generation unit during the self-test execution;
Each said group of storage units comprises:
Each of the m storage units is selected at a time when the self-test is executed, outputs the test data to the pattern generator, and becomes a shift register connected in series in the preliminary test mode. m is a natural number),
A first step of inputting the test data from the first terminal and sequentially shifting and storing the data in the first to n-th storage units;
A second step of sequentially reading out the test data set in the first to n-th group storage units from the n-th group storage unit via the first terminal. Test method for synchronous semiconductor memory device.
JP2008205696A 2008-08-08 2008-08-08 Synchronous type semiconductor memory device and its test method Pending JP2008293652A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008205696A JP2008293652A (en) 2008-08-08 2008-08-08 Synchronous type semiconductor memory device and its test method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008205696A JP2008293652A (en) 2008-08-08 2008-08-08 Synchronous type semiconductor memory device and its test method

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP01050799A Division JP4204685B2 (en) 1999-01-19 1999-01-19 Synchronous semiconductor memory device

Publications (1)

Publication Number Publication Date
JP2008293652A true JP2008293652A (en) 2008-12-04

Family

ID=40168209

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008205696A Pending JP2008293652A (en) 2008-08-08 2008-08-08 Synchronous type semiconductor memory device and its test method

Country Status (1)

Country Link
JP (1) JP2008293652A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8836360B2 (en) 2010-12-01 2014-09-16 Samsung Electronics Co., Ltd. Semiconductor device including integrated circuit

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0628896A (en) * 1992-07-08 1994-02-04 Nippon Telegr & Teleph Corp <Ntt> Method for testing memory by bist
JPH09145790A (en) * 1995-11-29 1997-06-06 Toshiba Corp Hybrid semiconductor integrated circuit device of controller and large capacity memory, test method and using method thereof, and semiconductor integrated circuit device and test method thereof
JPH1055696A (en) * 1996-08-09 1998-02-24 Nec Corp Semiconductor memory
JPH1074397A (en) * 1996-08-30 1998-03-17 Asia Electron Inc Memory analysis device
JPH10199294A (en) * 1996-12-19 1998-07-31 Texas Instr Inc <Ti> Integrated circuit memory device having built-in self-testing circuit with monitor mode and tester mode and its operation method
JPH10332797A (en) * 1997-05-29 1998-12-18 Nec Corp Semiconductor device
JPH1144741A (en) * 1997-07-25 1999-02-16 Fujitsu Ltd Programmable logic device, its testing method, and test data preparing method

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0628896A (en) * 1992-07-08 1994-02-04 Nippon Telegr & Teleph Corp <Ntt> Method for testing memory by bist
JPH09145790A (en) * 1995-11-29 1997-06-06 Toshiba Corp Hybrid semiconductor integrated circuit device of controller and large capacity memory, test method and using method thereof, and semiconductor integrated circuit device and test method thereof
JPH1055696A (en) * 1996-08-09 1998-02-24 Nec Corp Semiconductor memory
JPH1074397A (en) * 1996-08-30 1998-03-17 Asia Electron Inc Memory analysis device
JPH10199294A (en) * 1996-12-19 1998-07-31 Texas Instr Inc <Ti> Integrated circuit memory device having built-in self-testing circuit with monitor mode and tester mode and its operation method
JPH10332797A (en) * 1997-05-29 1998-12-18 Nec Corp Semiconductor device
JPH1144741A (en) * 1997-07-25 1999-02-16 Fujitsu Ltd Programmable logic device, its testing method, and test data preparing method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8836360B2 (en) 2010-12-01 2014-09-16 Samsung Electronics Co., Ltd. Semiconductor device including integrated circuit

Similar Documents

Publication Publication Date Title
JP4204685B2 (en) Synchronous semiconductor memory device
US10839885B2 (en) Systems and methods for performing row hammer refresh operations in redundant memory
US10497458B2 (en) Post-packaging repair of redundant rows
KR100357022B1 (en) Synchronous semiconductor memory device having improved operational frequency margin at data input/output
JP5875544B2 (en) Memory system
US6091649A (en) Integrated circuit memory devices having built-in self test based redundancy and methods of operation thereof
US8542546B2 (en) Semiconductor memory device and method for testing same
CN111833957B (en) Configurable associated repair address and circuit for memory devices
JP2000207900A (en) Synchronizing type semiconductor memory
JP2011112411A (en) Semiconductor device
JP2001358296A (en) Semiconductor integrated circuit device
US10600498B1 (en) Reduced footprint fuse circuit
US7107501B2 (en) Test device, test system and method for testing a memory circuit
CN113744778A (en) System and method for capturing and replacing hammered wordline addresses
WO2006066946A1 (en) Internal column counter for testing a memory in a compression test mode and method of operation thereof
US8127069B2 (en) Memory device including self-ID information
US6198667B1 (en) Plural memory banks device that can simultaneously read from or write to all of the memory banks during testing
US20120087195A1 (en) Semiconductor storage device and method for producing semiconductor storage device
CN113362883B (en) Configurable Soft Post Package Repair (SPPR) scheme
JP2008293652A (en) Synchronous type semiconductor memory device and its test method
JP3866818B2 (en) Semiconductor memory device
JP2009070456A (en) Semiconductor storage device
US20240071560A1 (en) Systems and methods for testing redundant fuse latches in a memory device
JP2002237199A (en) Semiconductor memory
JP2013161509A (en) Redundancy repair method for semiconductor device

Legal Events

Date Code Title Description
A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A712

Effective date: 20100602

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20110617

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110726

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20111122