JP2004117046A - Semiconductor memory - Google Patents

Semiconductor memory Download PDF

Info

Publication number
JP2004117046A
JP2004117046A JP2002277655A JP2002277655A JP2004117046A JP 2004117046 A JP2004117046 A JP 2004117046A JP 2002277655 A JP2002277655 A JP 2002277655A JP 2002277655 A JP2002277655 A JP 2002277655A JP 2004117046 A JP2004117046 A JP 2004117046A
Authority
JP
Japan
Prior art keywords
scan
input
data
register
address
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Withdrawn
Application number
JP2002277655A
Other languages
Japanese (ja)
Inventor
Takashi Okawa
大川 隆
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.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP2002277655A priority Critical patent/JP2004117046A/en
Publication of JP2004117046A publication Critical patent/JP2004117046A/en
Withdrawn legal-status Critical Current

Links

Images

Landscapes

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

Abstract

<P>PROBLEM TO BE SOLVED: To provide a semiconductor memory for easily detecting non-conforming articles where timing for deciding an input buffer such as an address, or the timing of an internal pulse such as a word line pulse deviates by a variation in a process in the semiconductor memory such as an SRAM combined with a logic circuit. <P>SOLUTION: The input buffers of the address register of the semiconductor memory, a write enable register, a data input register and the like are composed of a three-stage scan FF. In a scan mode, scan FFs at the first and the second stages are used as scanning circuits. In a normal operation mode, scan FFs at the second and third stages are used as master slave type FFs, thus performing a test at the same operation timing as the normal operation mode also in the scan mode. <P>COPYRIGHT: (C)2004,JPO

Description

【0001】
【発明の属する技術分野】
本発明は一般に半導体記憶装置に関し、詳しくはスキャン方式により試験を行う半導体記憶装置に関する。
【0002】
【従来の技術】
システムLSI等においては、SRAM等の半導体記憶装置をロジック回路と組み合わせて、単一のチップに構成することが行なわれる。このようなシステムLSIにおいて半導体記憶装置の動作テストを行なうためには、特定のテストパターンを、半導体記憶装置のコマンド入力部、アドレス入力部、データ入力部等に設定することが必要である。しかし、システムLSI入力端子部と半導体記憶装置の入力部の間には、ロジック回路が介在するため、テストパターンを外部から設定する事が出来ない。
【0003】
これを実現するために、スキャン方式が用いられる。従来のスキャン方式においては、半導体記憶装置のアドレス入力バッファ、コマンドバッファ、データ入力バッファ等の入力バッファにスキャン用のフリップフロップを設け、これらのスキャンフリップフロップをチェーン接続したスキャン回路が設けられる。(例えば、特許文献1及び2参照。)。
【0004】
通常動作モード時には、これらの入力バッファは、ロジック回路部からそれぞれアドレス信号、コマンド信号、及びデータ信号を受け取り、各々の信号を半導体記憶装置の内部回路に供給する。
【0005】
一方、スキャンモードに於いては、スキャン回路は、チップ外部のスキャンインデータ端子から入力されるシリアルデータを、順次アドレス入力バッファ、コマンドバッファ、データ入力バッファにシフトすることにより、テストパターンをセットすることができる。これによって、ロジック回路が構成するユーザロジックを介在することなく、テストパターンを外部から半導体記憶装置に設定することが可能になる。
【0006】
従来のスキャン方式について、図7乃至図10を用いて説明する。図7は、システムLSI内に設けられた半導体記憶装置として、SRAM回路が組み込まれた例を示す構成図である。図8は、従来のスキャン方式による試験回路を示す構成図である。図9は通常動作モード時のタイミングチャートであり、図10はスキャンモード時のタイミングチャートである。
【0007】
図7の半導体記憶装置90は、パルスジェネレータ92、クロックバファ94、ライトイネーブルパルスジェネレータ96、アドレスレジスタ101、ライトイネーブルレジスタ103、入力データレジスタ104、出力データバッファ105、ローデコーダ106、ワードラインバッファ107、メモリセル配列108、コラムデコーダ109、コラムセレクタ97、ライトアンプ98、及びセンスアンプ99を含む。
【0008】
半導体記憶装置90の通常動作モードに於ける動作を以下に簡単に説明する。
【0009】
アドレスレジスタ101に供給されたアドレスは、ローアドレスとコラムアドレスに分けられる。ローアドレスは、ローデコーダ106でデコードされて、ワードラインバッファ107を介して選択されたワード線を活性化する。活性化されたワード線に対応するメモリセルのデータが、メモリセル配列108から読み出される。コラムアドレスは、コラムデコーダ109でデコードされる。コラムデコーダ109のデコード結果に従い、コラムセレクタ97が、メモリセル配列108から読み出されたデータのうち指定されたコラムアドレスのデータを選択して、センスアンプ99に供給する。センスアンプ99のデータは、出力バッファ105を介して、半導体記憶装置90の外部に出力される。
【0010】
データ書き込み時には、ライトイネーブルレジスタ103への入力であるライトイネーブル信号WEが活性化されると、ライトイネーブルパルスジェネレータ96からデータ書き込みパルスCがライトアンプ98に供給されて、入力データレジスタ104に入力されたデータを、指定されたアドレスに書き込む。
【0011】
図8に示される入力バッファ51乃至55は、図7の半導体記憶装置90の入力レジスタ群の入力バッファである。入力バッファ51及び52は、アドレスレジスタ101の入力バッファに相当し、図8では2個しか示されていないが、実際には半導体記憶装置の入力アドレス信号IAのビット数に応じた数だけ設けられる。入力バッファ53は、ライトイネーブルレジスタ103の入力バッファに相当する。また入力バッファ54及び55は、入力データレジスタ104の入力バッファに相当し、図8では2個しか示されていないが、実際には半導体記憶装置の入力データ信号Iのビット数に応じた数だけ設けられる。
【0012】
入力バッファ51乃至55の各々は、2つのスキャンフリップフロップ(以下スキャンFFと記す)とセレクタからなり、例えば入力バッファ51はスキャンFF71とスキャンFF81とセレクタ61で構成される。前段のスキャンFF71乃至75がマスタFF、後段のスキャンFF81乃至85がスレーブFFで、それぞれ前段と後段のスキャンFFを合わせて、マスタ・スレーブFFを構成している。
【0013】
通常動作モード時は、スキャンモード信号SMが”L”で、入力バッファ51のセレクタ61は、ロジック回路からのアドレス信号IA[0]を選択し、クロック信号SCKでスキャンFF71、クロック信号XSCKでスキャンFF81に順次ラッチし、アドレス信号IA[0]を半導体記憶装置のアドレス入力XQ0へ伝播する。同様に、入力バッファ52はアドレス信号IA[1]を半導体記憶装置のアドレス入力XQ1へ伝播する。このように通常動作モード時においては、入力バッファ51乃至55の各々は、アドレスレジスタ101、ライトイネーブルレジスタ103、入力データレジスタ104の入力バッファとして機能する。
【0014】
図9に示すように、アドレス、ライトイネーブルWE、データ入力の各入力信号は、クロック信号SCKの”H”のタイミングで前段のスキャンFF71乃至75にラッチされ、後段のスキャンFF81乃至85からアドレスレジスタ出力、WEレジスタ出力、データ入力レジスタ出力として出力される。次に発生するワード線パルスAによってアドレスレジスタ出力にセットされたメモリセルが選択される。ライトイネーブルWEが”L”の場合は、データ書き込みパルスCが発生しライトサイクルとなり、データ入力レジスタ出力にセットされたデータがメモリセルに書き込まれる。ライトイネーブルWEが”H”の場合は、データ書き込みパルスCは発生せずリードサイクルとなり、アドレスレジスタ出力にセットされたアドレスのメモリセルからデータが読み出される。
【0015】
図8に戻って、スキャンモード時は、スキャンモード信号SMが”H”となり、入力バッファ51のセレクタ61は、チップ外部のスキャンインデータ端子TSIから入力されるスキャンインデータSDIを選択し、クロック信号SCKでスキャンFF71、クロック信号XSCKでスキャンFF81に順次ラッチする。入力バッファ51の出力SOは、次段の入力バッファ52の入力SIに接続される。同様に、入力バッファ52乃至54の出力SOも同様に次段の入力バッファの入力SIに接続され、入力バッファ51乃至55は、チェーン接続されることになる。
【0016】
このようにして、図7の半導体記憶装置90のアドレスレジスタ101、ライトイネーブルレジスタ103、及び入力データレジスタ104は、点線で示されるようにチェーン接続される。このチェーン接続によって、スキャンインデータ端子TSIから順次入力されたシリアルのスキャンインデータSDIを、1ビットずつシフトしていくことにより、アドレスレジスタ101、ライトイネーブルレジスタ103、及び入力データレジスタ104にテストパターンを設定することが出来る。
【0017】
スキャンモードで各レジスタにテストパターンを設定した後、アドレスレジスタ101に設定したアドレスに対応するメモリセルからデータを読み出したり、入力データレジスタ104に設定したデータを書き込んだりすることが出来る。
【0018】
図10に示すように、スキャンモードでは、スキャンモード信号SMが”H”の間に、クロック信号SCKによりスキャンインデータSDIをスキャンシフトして各レジスタにテストパターンを設定する。アドレス、ライトイネーブルWE、データ入力の各信号は、最後のクロック信号SCKの”H”で、前段のスキャンFF71乃至75にラッチされ、後段のスキャンFF81乃至85からアドレスレジスタ出力、WEレジスタ出力、データ入力レジスタ出力として出力される。テストパターンが設定できたらスキャンモード信号SMを”L”にする。次のサイクルで、スキャンクロック信号SMCKより生成されたワード線パルスAによってアドレスレジスタ出力にセットされたメモリセルが選択される。WEレジスタ出力が”H”の場合は、同じくスキャンクロック信号SMCKより生成されたデータ書き込みパルスCにより、データ入力レジスタ出力にセットされたテストパターンデータがメモリセルに書き込まれる。WEレジスタ出力が”L”の場合は、アドレスレジスタ出力にセットされたメモリセルからデータが読み出される。
【0019】
【特許文献1】
特開昭56−168270号公報(第1−2頁、第1図)
【0020】
【特許文献2】
特開平11−144499号公報(第1−3頁、第1図)
【0021】
【発明が解決しようとする課題】
従来のスキャン方式ではアドレス等の入力のセットと、書き込みまたは読み出しは、通常動作モード時と異なるタイミングで動作する。図9の通常動作モードにおいては、アドレスレジスタ出力、WEレジスタ出力、データ入力レジスタ出力は、ワード線パルスAとデータ書き込みパルスCの直前のクロック信号SCKの立ち上がりで確定している。しかし、図10のスキャンモード時においては、アドレスレジスタ出力、WEレジスタ出力、データ入力レジスタ出力は、ワード線パルスAとデータ書き込みパルスCの1サイクル前のクロック信号SCKの立ち上がりで確定している。
【0022】
プロセスのばらつきにより、アドレスレジスタ出力等の入力バッファの出力が確定するタイミング、あるいはワード線パルスA等の内部パルスの発生するタイミングが本来の設計値よりずれる場合がある。通常動作モード時には、アドレスレジスタ出力等の入力バッファの出力が確定するタイミングと、ワード線パルスA等の内部パルスの発生するタイミングは、同じサイクルなのでどちらかのタイミングがずれると不良として検出される。しかし、スキャンモード時は、アドレスレジスタ出力等の入力バッファの出力は、ワード線パルスA等の内部パルスの発生するタイミングよりも1つ前のサイクルで確定しているので、双方のタイミングがずれても、セットアップ時間に余裕があるので正常に動作してしまい、試験をすり抜けてしまう場合がある。
【0023】
よって、プロセスのばらつきにより、アドレスレジスタ出力等の入力バッファの出力が確定するタイミング、あるいはワード線パルスA等の内部パルスの発生するタイミングがずれても、これを試験で検出することが必要となる。
【0024】
【課題を解決するための手段】
問題を解決するには、アドレスレジスタ、ライトイネーブルレジスタ、データ入力レジスタ等の入力バッファを、3段のスキャンFFで構成し、スキャンモード時は、1段目と2段目のスキャンFFをスキャン回路として使用し、通常動作モード時は、2段目と3段目のスキャンFFをマスタ・スレーブ型FFとして使用するようにする。
【0025】
このようにすると、スキャンモード中は、1段目と2段目のスキャンFFでスキャンシフトを行ない、3段目のスキャンFFは動作しないのでセットされたデータが半導体記憶装置内部に伝播されない。スキャンシフトで全ての2段目のスキャンFFにテストパターンがセットされた後、スキャンモ−ドを解除する。次に通常モードと同じようにして、2段目のスキャンFFと3段目のスキャンFFをマスタ・スレーブ型FFとして使用することにより、2段目のスキャンFFで保持されているテストパターンが3段目のスキャンFFへ移り半導体記憶装置内部に伝播する。このようにして、テストパターンを半導体記憶装置の入力部にセットできる。よって、通常動作モード時と同じ動作タイミングで試験が可能となる。
【0026】
【発明の実施の形態】
[第一実施形態]
本発明の実施例による半導体記憶装置について、図1乃至図6を用いて説明する。図1は本実施形態によるスキャン回路の構成図であり、図2はスキャン回路の内部回路図であり、図3は通常動作モード時のタイミングチャート、図4及び5はスキャンモード時のタイミングチャート、図6はシステムクロックの回路図である。
【0027】
図1に示される入力バッファ1乃至5は、図7の半導体記憶装置90の入力レジスタ群の入力バッファである。入力バッファ1及び2は、アドレスレジスタ101の入力バッファに相当し、図1では2個しか示されていないが、実際には半導体記憶装置のアドレス信号IAのビット数に応じた数だけ設けられる。入力バッファ3は、ライトイネーブルレジスタ103の入力バッファに相当する。また入力バッファ4及び5は、入力データレジスタ104の入力バッファに相当し、図1では2個しか示されていないが、実際には半導体記憶装置のデータ信号Iのビット数に応じた数だけ設けられる。
【0028】
入力バッファ1乃至5の各々は、3つのスキャンFFとセレクターからなり、例えば入力バッファ1はスキャンFF11とスキャンFF31とスキャンFF41の3つのスキャンFFとセレクタ21で構成される。
【0029】
通常動作モード時は、スキャンモード信号SMは”L”レベルで、入力バッファ1のセレクター21は、ロジック回路からのアドレス信号IA[0]を選択し、クロック信号XMCKでスキャンFF31、クロック信号XACKでスキャンFF41に順次ラッチし、アドレス信号IA[0]を半導体記憶装置のアドレス入力XQ0へ伝播する。同様に、入力バッファ2はアドレス信号IA[1]を半導体記憶装置のアドレス入力XQ1へ伝播する。このように通常動作モード時においては、入力バッファ1乃至5の各々は、図7の半導体記憶装置90のアドレスレジスタ101、ライトイネーブルレジスタ103、入力データレジスタ104の入力バッファとして機能する。
【0030】
スキャンモード時は、スキャンモード信号SMが”H”となり、スキャンインデータSDIをクロック信号SCKでラッチしたスキャンインデータSDI0が、セレクタ21によってスキャンFF31に入力される。次に、スキャンFF31はこの入力をクロック信号XMCKでラッチする。スキャンFF31の出力SOは、次段のスキャンFF12の入力SIに接続される。従って、スキャンFF11、スキャンFF31、スキャンFF12、スキャンFF32、スキャンFF13、スキャンFF33、スキャンFF14、スキャンFF34、スキャンFF15、スキャンFF35は、チェーン接続されることになる。このチェーン接続によって、スキャンインデータ端子TSIから順次入力されたシリアルのスキャンインデータSDIを、1ビットずつスキャンFF31乃至35にスキャンシフトすることが出来る。
【0031】
図2に、スキャン回路内部の詳しい構成を示す。スキャンFF11は、インバータ111及び112、PMOSトランジスタ及びNMOSトランジスタの対からなるゲート113及び114を含む。インバータ111及び112は第1のラッチを構成する。
【0032】
セレクター21は、PMOSトランジスタ及びNMOSトランジスタの対からなるゲート211及び212からなる。
【0033】
スキャンFF31は、インバータ311及び312、PMOSトランジスタ及びNMOSトランジスタの対からなるゲート313及び314を含む。インバータ311及び312は第2のラッチを構成する。
【0034】
スキャンFF41は、インバータ411及び412、PMOSトランジスタ及びNMOSトランジスタの対からなるゲート413及び414を含む。インバータ411及び412は第3のラッチを構成する。
【0035】
クロック信号SCK及びクロック信号MCKはスキャンモード時に用いられるクロック信号であり、クロック信号MCK及びクロック信号ACKは通常動作モード時に用いられる。クロック信号XSCK、XMCK及びXACKは、クロック信号SCK、MCK及びACKの反転信号である。
【0036】
通常動作モード時には、スキャンモード信号SMは”L”に固定され、セレクタ21のゲート211は閉じられ、ゲート212が開き、ロジック回路からのアドレス信号IA[0]の反転信号がスキャンFF31に入力される。クロック信号MCKが”H”になるタイミングでゲート313が開き、インバータ311によって再度反転されたアドレス信号IA[0]がスキャンFF41に入力される。次に、クロック信号ACKが”H”になるタイミングでゲート413が開き、インバータ411によって反転されたアドレス信号IA[0]の反転信号が半導体のアドレス入力XQ0に入力される。同様に、アドレス信号IA[1]の反転信号が半導体のアドレス入力XQ1に入力される。
【0037】
図3に示すように、アドレス、ライトイネーブルWE、データ入力の各入力信号は、クロック信号XMCKの”H”で前段のスキャンFF31乃至35にラッチされ、後段のスキャンFF41乃至45からアドレスレジスタ出力、WEレジスタ出力、データ入力レジスタ出力として出力される。次に発生するワード線パルスAによってアドレスレジスタ出力にセットされたメモリセルが選択される。ライトイネーブルWEが”L”の場合は、データ書き込みパルスCが発生しライトサイクルとなり、データ入力レジスタ出力にセットされたデータがメモリセルに書き込まれる。ライトイネーブルWEが”H”の場合は、データ書き込みパルスCは発生せずリードサイクルとなり、アドレスレジスタ出力にセットされたアドレスのメモリセルからデータが読み出される。
【0038】
図2に戻って、スキャンモード時は、スキャンモード信号SMは”H”に固定され、スキャンFF11の入力にはスキャンインデータSDIが入力される。クロック信号XSCKが”H”になるタイミングで、ゲート113は開き、スキャンFF11の出力にはインバータ111によってスキャンインデータSDIの反転信号が出力される。セレクタ21のゲート212は閉じられ、ゲート211が開いてスキャンFF11の出力のスキャンインデータSDIの反転信号が、スキャンFF31に入力される。クロック信号MCKが”H”になるタイミングで、ゲート313は開き、インバータ311によって再度反転されたスキャンインデータSDIが次段の入力バッファ2の入力SIに入力される。
【0039】
同様にして、次のクロック信号XSCKでスキャンFF12へ、次のクロック信号MCKでスキャンFF32へ、スキャンインデータSDIをスキャンシフトする。スキャンモード信号SMが”H”の間は、クロック信号ACKは”L”に固定されるので、スキャンFF41のゲート413は閉じられ、スキャンインデータSDIがアドレス入力XQ0に伝播されることはない。
【0040】
このようにして、順次スキャンインデータSDIをスキャンシフトしていき、スキャンFF31乃至35にスキャンデータをセットすることができる。
【0041】
次に、スキャンモード信号SMを”L”にして、クロック信号ACKが”H”になるタイミングで、ゲート413が開き、スキャンFF31にラッチされているスキャンデータはインバータ411によって反転され、アドレス入力XQ0に出力される。
【0042】
図4に示すように、スキャンインデータSDIはクロック信号SCKが”H”で前段のスキャンFF11乃至15にラッチされ、後段のスキャンFF31乃至34から次段の入力バッファ2乃至5に入力される。スキャンモード信号SMが”H”の間は、1段目と2段目のスキャンFFでスキャンシフトが行なわれるだけで、クロック信号XACKは”H”のままのため、3段目のスキャンFF41乃至45は動作しないので、アドレスレジスタ出力、WEレジスタ出力、データ入力レジスタ出力には変化は無い。
【0043】
全ての2段目のスキャンFF31乃至35にテストデータがセットされたのち、スキャンモード信号SMを”L”にしてスキャンモードを解除する。クロック信号XACKが”L”になるタイミングで、スキャンFF31乃至35にラッチされているテストデータがスキャンFF41乃至45を通して、アドレスレジスタ出力、WEレジスタ出力、データ入力レジスタ出力に出力される。
【0044】
次に発生するワード線パルスAによってアドレスレジスタ出力にセットされたメモリセルが選択され、WEレジスタ出力が”H”の場合は、データ書き込みパルスCによってデータ入力レジスタ出力にセットされたデータが書き込まれる。
【0045】
図5に示すように、WEレジスタ出力が”L”の場合は、リードサイクルとなり、アドレスレジスタ出力にセットされたメモリセルよりデータが読み出される。
【0046】
このように本実施例では、スキャンモードにおいても、アドレスレジスタ出力、WEレジスタ出力、データ入力レジスタ出力への出力と、ワード線パルスA等の内部パルスは、通常動作モード時と同様に、同一サイクル、同タイミングで発生する。
【0047】
【発明の効果】
以上の通り、本発明によれば、スキャンシフトによる試験方法においても、半導体記憶装置へのデータの書き込み、または半導体記憶装置からのデータの読み出しは、通常動作モードと同一のタイミングで同一サイクルで行なわれる。これにより、プロセスのばらつきにより、アドレス等の入力のタイミングや内部パルスのタイミングがずれても容易に検出できることが可能になり品質の高いデバイスを提供することができる。
【0048】
尚、実施例によるとSRAMにおける例としているが、ROM、DRAM、FRAM等の半導体記憶装置においても同様に適用可能である。
【図面の簡単な説明】
【図1】本発明の実施形態によるスキャン回路の構成図である。
【図2】本発明の実施形態によるスキャン回路の内部回路図である。
【図3】本発明の実施形態による通常動作モード時のタイミングチャートである。
【図4】本発明の実施形態によるスキャンモード時のタイミングチャートである。
【図5】本発明の実施形態によるスキャンモード時のタイミングチャートである。
【図6】本発明の実施形態によるシステムクロックの回路図である。
【図7】システムLSI内にSRAM回路が組み込まれた実施例を示す構成図である。
【図8】従来のスキャン回路の構成図である。
【図9】従来のスキャン回路の通常動作モード時のタイミングチャートである。
【図10】従来のスキャン回路のスキャンモード時のタイミングチャートである。
【符号の説明】
1、2、3、4、5…入力バッファ
11、12、13、14、15…スキャンFF
21、22、23、24、25…セレクター
31、32、33、34、35…スキャンFF
41、42、43、44、45…スキャンFF
51、52、53、54、55…入力バッファ
61、62、63、64、65…セレクター
71、72、73、74、75…スキャンFF
81、82、83、84、85…スキャンFF
90…半導体記憶装置
92…パルスジェネレータ
94…クロックバファ
96…ライトイネーブルパルスジェネレータ
97…コラムセレクタ
98…ライトアンプ
99…センスアンプ
101…アドレスレジスタ
103…ライトイネーブルレジスタ
104…入力データレジスタ
105…出力データバッファ
106…ローデコーダ
107…ワードラインバッファ
108…メモリセル配列
109…コラムデコーダ
111、112、311、312、411、412…インバータ
113、114、211、212、313、314、413、414…ゲート
[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention generally relates to a semiconductor memory device, and more particularly, to a semiconductor memory device that performs a test by a scan method.
[0002]
[Prior art]
In a system LSI or the like, a semiconductor memory device such as an SRAM is combined with a logic circuit to form a single chip. In order to perform an operation test of a semiconductor memory device in such a system LSI, it is necessary to set a specific test pattern in a command input unit, an address input unit, a data input unit, and the like of the semiconductor memory device. However, since a logic circuit is interposed between the input terminal of the system LSI and the input of the semiconductor memory device, a test pattern cannot be externally set.
[0003]
To realize this, a scanning method is used. In the conventional scanning method, flip-flops for scanning are provided in input buffers such as an address input buffer, a command buffer, and a data input buffer of a semiconductor memory device, and a scan circuit in which these scan flip-flops are connected in a chain is provided. (For example, refer to Patent Documents 1 and 2.)
[0004]
In the normal operation mode, these input buffers receive an address signal, a command signal, and a data signal from the logic circuit unit, and supply each signal to an internal circuit of the semiconductor memory device.
[0005]
On the other hand, in the scan mode, the scan circuit sets a test pattern by sequentially shifting serial data input from a scan-in data terminal outside the chip to an address input buffer, a command buffer, and a data input buffer. be able to. This makes it possible to externally set the test pattern in the semiconductor memory device without intervening the user logic constituted by the logic circuit.
[0006]
A conventional scanning method will be described with reference to FIGS. FIG. 7 is a configuration diagram showing an example in which an SRAM circuit is incorporated as a semiconductor storage device provided in a system LSI. FIG. 8 is a configuration diagram showing a test circuit using a conventional scan method. FIG. 9 is a timing chart in the normal operation mode, and FIG. 10 is a timing chart in the scan mode.
[0007]
7 includes a pulse generator 92, a clock buffer 94, a write enable pulse generator 96, an address register 101, a write enable register 103, an input data register 104, an output data buffer 105, a row decoder 106, and a word line buffer 107. , A memory cell array 108, a column decoder 109, a column selector 97, a write amplifier 98, and a sense amplifier 99.
[0008]
The operation of the semiconductor memory device 90 in the normal operation mode will be briefly described below.
[0009]
The address supplied to the address register 101 is divided into a row address and a column address. The row address is decoded by the row decoder 106 and activates the selected word line via the word line buffer 107. Data of the memory cell corresponding to the activated word line is read from the memory cell array 108. The column address is decoded by the column decoder 109. The column selector 97 selects the data of the designated column address from the data read from the memory cell array 108 and supplies the selected data to the sense amplifier 99 according to the decoding result of the column decoder 109. The data of the sense amplifier 99 is output to the outside of the semiconductor memory device 90 via the output buffer 105.
[0010]
At the time of data writing, when a write enable signal WE input to the write enable register 103 is activated, a data write pulse C is supplied from the write enable pulse generator 96 to the write amplifier 98 and input to the input data register 104. The written data is written to the specified address.
[0011]
The input buffers 51 to 55 shown in FIG. 8 are input buffers of the input register group of the semiconductor memory device 90 of FIG. The input buffers 51 and 52 correspond to the input buffers of the address register 101, and although only two buffers are shown in FIG. 8, in actuality, a number of buffers corresponding to the number of bits of the input address signal IA of the semiconductor memory device are provided. . The input buffer 53 corresponds to an input buffer of the write enable register 103. The input buffers 54 and 55 correspond to the input buffers of the input data register 104, and although only two buffers are shown in FIG. 8, actually, the input buffers 54 and 55 have a number corresponding to the number of bits of the input data signal I of the semiconductor memory device. Provided.
[0012]
Each of the input buffers 51 to 55 includes two scan flip-flops (hereinafter, referred to as scan FFs) and a selector. For example, the input buffer 51 includes a scan FF 71, a scan FF 81, and a selector 61. The first-stage scan FFs 71 to 75 are master FFs, and the second-stage scan FFs 81 to 85 are slave FFs. Each of the first-stage and second-stage scan FFs constitutes a master / slave FF.
[0013]
In the normal operation mode, the scan mode signal SM is "L", the selector 61 of the input buffer 51 selects the address signal IA [0] from the logic circuit, scans with the clock signal SCK, scans the FF 71, and scans with the clock signal XSCK. The latch is sequentially performed by the FF 81, and the address signal IA [0] is transmitted to the address input XQ0 of the semiconductor memory device. Similarly, input buffer 52 propagates address signal IA [1] to address input XQ1 of the semiconductor memory device. As described above, in the normal operation mode, each of the input buffers 51 to 55 functions as an input buffer of the address register 101, the write enable register 103, and the input data register 104.
[0014]
As shown in FIG. 9, the input signals of the address, the write enable WE, and the data input are latched by the preceding scan FFs 71 to 75 at the timing of “H” of the clock signal SCK, and are transmitted from the subsequent scan FFs 81 to 85 to the address register. It is output as output, WE register output, and data input register output. The memory cell set to the address register output is selected by the next generated word line pulse A. When the write enable WE is "L", a data write pulse C is generated and a write cycle is started, and the data set in the data input register output is written to the memory cell. When the write enable WE is "H", a data write pulse C is not generated and a read cycle occurs, and data is read from the memory cell at the address set in the address register output.
[0015]
Returning to FIG. 8, in the scan mode, the scan mode signal SM becomes “H”, and the selector 61 of the input buffer 51 selects the scan-in data SDI input from the scan-in data terminal TSI outside the chip, and The scan FF 71 is sequentially latched by the signal SCK and the scan FF 81 by the clock signal XSCK. The output SO of the input buffer 51 is connected to the input SI of the input buffer 52 of the next stage. Similarly, the output SO of the input buffers 52 to 54 is similarly connected to the input SI of the next input buffer, and the input buffers 51 to 55 are connected in a chain.
[0016]
In this manner, the address register 101, the write enable register 103, and the input data register 104 of the semiconductor memory device 90 in FIG. 7 are connected in a chain as indicated by the dotted line. By this chain connection, the serial scan-in data SDI sequentially input from the scan-in data terminal TSI is shifted one bit at a time, whereby the test pattern is stored in the address register 101, the write enable register 103, and the input data register 104. Can be set.
[0017]
After setting a test pattern in each register in the scan mode, data can be read from a memory cell corresponding to the address set in the address register 101 or data set in the input data register 104 can be written.
[0018]
As shown in FIG. 10, in the scan mode, while the scan mode signal SM is "H", the scan-in data SDI is scan-shifted by the clock signal SCK to set a test pattern in each register. The address, write enable WE, and data input signals are latched by the preceding scan FFs 71 to 75 at the “H” of the last clock signal SCK, and output from the subsequent scan FFs 81 to 85 to the address register output, the WE register output, and the data. Output as input register output. When the test pattern can be set, the scan mode signal SM is set to "L". In the next cycle, the memory cell set at the address register output is selected by the word line pulse A generated from the scan clock signal SMCK. When the output of the WE register is "H", the test pattern data set in the output of the data input register is written to the memory cell by the data write pulse C generated from the scan clock signal SMCK. When the WE register output is "L", data is read from the memory cell set in the address register output.
[0019]
[Patent Document 1]
JP-A-56-168270 (page 1-2, FIG. 1)
[0020]
[Patent Document 2]
JP-A-11-144499 (pages 1-3, FIG. 1)
[0021]
[Problems to be solved by the invention]
In the conventional scanning method, setting of an input such as an address and writing or reading are performed at timings different from those in the normal operation mode. In the normal operation mode shown in FIG. 9, the output of the address register, the output of the WE register, and the output of the data input register are determined at the rise of the clock signal SCK immediately before the word line pulse A and the data write pulse C. However, in the scan mode of FIG. 10, the output of the address register, the output of the WE register, and the output of the data input register are determined at the rise of the clock signal SCK one cycle before the word line pulse A and the data write pulse C.
[0022]
Due to process variations, the timing at which the output of the input buffer such as the output of the address register is determined, or the timing at which an internal pulse such as the word line pulse A is generated may deviate from the original design value. In the normal operation mode, the timing at which the output of the input buffer such as the address register output is determined and the timing at which the internal pulse such as the word line pulse A is generated are the same cycle. However, in the scan mode, the output of the input buffer such as the output of the address register is determined in the cycle immediately before the timing at which the internal pulse such as the word line pulse A occurs, so that both timings are shifted. However, since there is enough setup time, the device operates normally and may pass the test.
[0023]
Therefore, even if the timing at which the output of the input buffer such as the output of the address register is determined or the timing at which the internal pulse such as the word line pulse A is generated is shifted due to a process variation, it is necessary to detect this in a test. .
[0024]
[Means for Solving the Problems]
In order to solve the problem, input buffers such as an address register, a write enable register, and a data input register are constituted by three-stage scan FFs. In the normal operation mode, the second and third scan FFs are used as master / slave type FFs.
[0025]
In this case, during the scan mode, the scan shift is performed by the first and second scan FFs and the third scan FF does not operate, so that the set data is not propagated into the semiconductor memory device. After the test pattern is set in all the second-stage scan FFs by the scan shift, the scan mode is released. Next, by using the second-stage scan FF and the third-stage scan FF as the master-slave type FF in the same manner as in the normal mode, the test pattern held by the second-stage scan FF becomes three. It moves to the scan FF of the stage and propagates inside the semiconductor memory device. Thus, the test pattern can be set in the input section of the semiconductor memory device. Therefore, the test can be performed at the same operation timing as in the normal operation mode.
[0026]
BEST MODE FOR CARRYING OUT THE INVENTION
[First embodiment]
A semiconductor memory device according to an embodiment of the present invention will be described with reference to FIGS. 1 is a configuration diagram of a scan circuit according to the present embodiment, FIG. 2 is an internal circuit diagram of the scan circuit, FIG. 3 is a timing chart in a normal operation mode, FIGS. 4 and 5 are timing charts in a scan mode, FIG. 6 is a circuit diagram of the system clock.
[0027]
Input buffers 1 to 5 shown in FIG. 1 are input buffers of the input register group of the semiconductor memory device 90 in FIG. The input buffers 1 and 2 correspond to the input buffers of the address register 101, and although only two buffers are shown in FIG. 1, actually, a number of buffers corresponding to the number of bits of the address signal IA of the semiconductor memory device are provided. The input buffer 3 corresponds to an input buffer of the write enable register 103. The input buffers 4 and 5 correspond to the input buffers of the input data register 104, and although only two are shown in FIG. 1, actually, the input buffers 4 and 5 are provided in a number corresponding to the number of bits of the data signal I of the semiconductor memory device. Can be
[0028]
Each of the input buffers 1 to 5 includes three scan FFs and a selector. For example, the input buffer 1 includes three scan FFs of a scan FF 11, a scan FF 31, and a scan FF 41 and a selector 21.
[0029]
In the normal operation mode, the scan mode signal SM is at the “L” level, the selector 21 of the input buffer 1 selects the address signal IA [0] from the logic circuit, and uses the clock signal XMCK for the scan FF 31 and the clock signal XACK for the scan signal IA [0]. The signal is sequentially latched by the scan FF 41, and the address signal IA [0] is transmitted to the address input XQ0 of the semiconductor memory device. Similarly, input buffer 2 propagates address signal IA [1] to address input XQ1 of the semiconductor memory device. As described above, in the normal operation mode, each of the input buffers 1 to 5 functions as an input buffer of the address register 101, the write enable register 103, and the input data register 104 of the semiconductor memory device 90 of FIG.
[0030]
In the scan mode, the scan mode signal SM becomes “H”, and the scan-in data SDI0 obtained by latching the scan-in data SDI with the clock signal SCK is input to the scan FF 31 by the selector 21. Next, the scan FF 31 latches this input with the clock signal XMCK. The output SO of the scan FF 31 is connected to the input SI of the next scan FF 12. Therefore, the scan FF 11, the scan FF 31, the scan FF 12, the scan FF 32, the scan FF 13, the scan FF 33, the scan FF 14, the scan FF 34, the scan FF 15, and the scan FF 35 are chain-connected. With this chain connection, serial scan-in data SDI sequentially input from the scan-in data terminal TSI can be scan-shifted bit by bit to the scan FFs 31 to 35.
[0031]
FIG. 2 shows a detailed configuration inside the scan circuit. The scan FF 11 includes inverters 111 and 112, and gates 113 and 114 each including a pair of a PMOS transistor and an NMOS transistor. Inverters 111 and 112 constitute a first latch.
[0032]
The selector 21 includes gates 211 and 212 each composed of a pair of a PMOS transistor and an NMOS transistor.
[0033]
The scan FF 31 includes inverters 311 and 312, and gates 313 and 314 each including a pair of a PMOS transistor and an NMOS transistor. Inverters 311 and 312 constitute a second latch.
[0034]
The scan FF 41 includes inverters 411 and 412, and gates 413 and 414 formed by a pair of a PMOS transistor and an NMOS transistor. Inverters 411 and 412 constitute a third latch.
[0035]
The clock signal SCK and the clock signal MCK are clock signals used in the scan mode, and the clock signal MCK and the clock signal ACK are used in the normal operation mode. The clock signals XSCK, XMCK, and XACK are inverted signals of the clock signals SCK, MCK, and ACK.
[0036]
In the normal operation mode, the scan mode signal SM is fixed at “L”, the gate 211 of the selector 21 is closed, the gate 212 is opened, and an inverted signal of the address signal IA [0] from the logic circuit is input to the scan FF 31. You. The gate 313 opens at the timing when the clock signal MCK becomes “H”, and the address signal IA [0] inverted again by the inverter 311 is input to the scan FF 41. Next, the gate 413 opens at the timing when the clock signal ACK becomes “H”, and an inverted signal of the address signal IA [0] inverted by the inverter 411 is input to the address input XQ0 of the semiconductor. Similarly, an inverted signal of the address signal IA [1] is input to a semiconductor address input XQ1.
[0037]
As shown in FIG. 3, the input signals of the address, the write enable WE, and the data input are latched by the scan FFs 31 to 35 at the preceding stage at “H” of the clock signal XMCK, and output from the address register output from the scan FFs 41 to 45 at the subsequent stage. Output as WE register output and data input register output. The memory cell set to the address register output is selected by the next generated word line pulse A. When the write enable WE is "L", a data write pulse C is generated and a write cycle is started, and the data set in the data input register output is written to the memory cell. When the write enable WE is "H", a data write pulse C is not generated and a read cycle occurs, and data is read from the memory cell at the address set in the address register output.
[0038]
Returning to FIG. 2, in the scan mode, the scan mode signal SM is fixed at “H”, and the scan-in data SDI is input to the input of the scan FF 11. At the timing when the clock signal XSCK becomes “H”, the gate 113 opens, and an inverted signal of the scan-in data SDI is output to the output of the scan FF 11 by the inverter 111. The gate 212 of the selector 21 is closed, the gate 211 is opened, and an inverted signal of the scan-in data SDI output from the scan FF 11 is input to the scan FF 31. When the clock signal MCK becomes “H”, the gate 313 opens, and the scan-in data SDI inverted again by the inverter 311 is input to the input SI of the input buffer 2 in the next stage.
[0039]
Similarly, the scan-in data SDI is scan-shifted to the scan FF 12 by the next clock signal XSCK and to the scan FF 32 by the next clock signal MCK. While the scan mode signal SM is "H", the clock signal ACK is fixed at "L", the gate 413 of the scan FF 41 is closed, and the scan-in data SDI is not propagated to the address input XQ0.
[0040]
In this manner, the scan-in data SDI is sequentially scan-shifted, and the scan data can be set in the scan FFs 31 to 35.
[0041]
Next, when the scan mode signal SM is set to "L" and the clock signal ACK is set to "H", the gate 413 is opened, and the scan data latched in the scan FF 31 is inverted by the inverter 411, and the address input XQ0 is input. Is output to
[0042]
As shown in FIG. 4, the scan-in data SDI is latched by the preceding scan FFs 11 to 15 when the clock signal SCK is “H”, and is input from the subsequent scan FFs 31 to 34 to the next input buffers 2 to 5. While the scan mode signal SM is "H", only the scan shift is performed by the first and second scan FFs, and the clock signal XACK remains "H", so that the third-stage scan FFs 41 to 41 Since 45 does not operate, there is no change in the address register output, the WE register output, and the data input register output.
[0043]
After the test data is set in all the second-stage scan FFs 31 to 35, the scan mode signal SM is set to "L" to cancel the scan mode. At the timing when the clock signal XACK becomes “L”, the test data latched in the scan FFs 31 to 35 is output to the address register output, the WE register output, and the data input register output through the scan FFs 41 to 45.
[0044]
The memory cell set at the address register output is selected by the next generated word line pulse A. When the WE register output is "H", the data set at the data input register output is written by the data write pulse C. .
[0045]
As shown in FIG. 5, when the output of the WE register is "L", a read cycle occurs, and data is read from the memory cell set to the output of the address register.
[0046]
As described above, in the present embodiment, even in the scan mode, the output to the address register output, the WE register output, the data input register output, and the internal pulse such as the word line pulse A are in the same cycle as in the normal operation mode. , At the same timing.
[0047]
【The invention's effect】
As described above, according to the present invention, even in the test method using scan shift, writing data to the semiconductor memory device or reading data from the semiconductor memory device is performed in the same cycle at the same timing as in the normal operation mode. It is. This makes it possible to easily detect even if the input timing of an address or the like or the timing of an internal pulse deviates due to process variations, and a high-quality device can be provided.
[0048]
Although the embodiment has been described with reference to an SRAM, the present invention can be similarly applied to a semiconductor storage device such as a ROM, a DRAM, and an FRAM.
[Brief description of the drawings]
FIG. 1 is a configuration diagram of a scan circuit according to an embodiment of the present invention.
FIG. 2 is an internal circuit diagram of a scan circuit according to an embodiment of the present invention.
FIG. 3 is a timing chart in a normal operation mode according to the embodiment of the present invention.
FIG. 4 is a timing chart in a scan mode according to the embodiment of the present invention.
FIG. 5 is a timing chart in a scan mode according to the embodiment of the present invention.
FIG. 6 is a circuit diagram of a system clock according to an embodiment of the present invention.
FIG. 7 is a configuration diagram showing an embodiment in which an SRAM circuit is incorporated in a system LSI.
FIG. 8 is a configuration diagram of a conventional scan circuit.
FIG. 9 is a timing chart of a conventional scan circuit in a normal operation mode.
FIG. 10 is a timing chart of a conventional scan circuit in a scan mode.
[Explanation of symbols]
1, 2, 3, 4, 5 ... input buffers 11, 12, 13, 14, 15 ... scan FF
21, 22, 23, 24, 25 ... selectors 31, 32, 33, 34, 35 ... scan FF
41, 42, 43, 44, 45 ... scan FF
51, 52, 53, 54, 55 ... input buffers 61, 62, 63, 64, 65 ... selectors 71, 72, 73, 74, 75 ... scan FFs
81, 82, 83, 84, 85 ... scan FF
90 semiconductor memory device 92 pulse generator 94 clock buffer 96 write enable pulse generator 97 column selector 98 write amplifier 99 sense amplifier 101 address register 103 write enable register 104 input data register 105 output data buffer 106 row decoder 107 word line buffer 108 memory cell array 109 column decoders 111, 112, 311, 312, 411, 412 inverters 113, 114, 211, 212, 313, 314, 413, 414 gate

Claims (2)

システムLSIに内蔵される半導体記憶装置において、
複数の入力バッファをチェーン接続したスキャン回路を設け、
該複数の入力バッファのそれぞれは、3段のフリップフロップを含む
ことを特徴とする半導体記憶装置
In a semiconductor memory device built in a system LSI,
Provide a scan circuit with multiple input buffers connected in a chain,
A plurality of input buffers each including a three-stage flip-flop;
該スキャン回路の該入力バッファにおいて、
スキャンシフト時は、1段目と2段目のフリップフロップを使用してシフトレジスタを成し、
通常動作時は、2段目と3段目のフリップフロップを使用してマスタ・スレーブ型フリップフロップとする
ことを特徴とする請求項1に記載の半導体記憶装置。
In the input buffer of the scan circuit,
At the time of scan shift, a shift register is formed using the first and second stage flip-flops,
2. The semiconductor memory device according to claim 1, wherein in a normal operation, the second-stage and third-stage flip-flops are used as a master-slave flip-flop.
JP2002277655A 2002-09-24 2002-09-24 Semiconductor memory Withdrawn JP2004117046A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002277655A JP2004117046A (en) 2002-09-24 2002-09-24 Semiconductor memory

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002277655A JP2004117046A (en) 2002-09-24 2002-09-24 Semiconductor memory

Publications (1)

Publication Number Publication Date
JP2004117046A true JP2004117046A (en) 2004-04-15

Family

ID=32273195

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002277655A Withdrawn JP2004117046A (en) 2002-09-24 2002-09-24 Semiconductor memory

Country Status (1)

Country Link
JP (1) JP2004117046A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012153516A1 (en) * 2011-05-11 2012-11-15 パナソニック株式会社 Input circuit
JP2018137024A (en) * 2017-02-21 2018-08-30 株式会社東芝 Semiconductor integrated circuit

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012153516A1 (en) * 2011-05-11 2012-11-15 パナソニック株式会社 Input circuit
US8952739B2 (en) 2011-05-11 2015-02-10 Panasonic Corporation Input circuit
JP2018137024A (en) * 2017-02-21 2018-08-30 株式会社東芝 Semiconductor integrated circuit

Similar Documents

Publication Publication Date Title
US6237122B1 (en) Semiconductor memory device having scan flip-flops
US8027203B2 (en) Pipe latch circuit of multi-bit prefetch-type semiconductor memory device with improved structure
US6888366B2 (en) Apparatus and method for testing a plurality of semiconductor chips
US7430695B2 (en) Register file and its storage device
JP2019169221A (en) Semiconductor device
JP3822367B2 (en) Semiconductor memory device and test method using direct access mode test
JP4216405B2 (en) Semiconductor memory device having built-in parallel test circuit
JP2001344994A (en) Synchronous semiconductor memory
US7406637B2 (en) Semiconductor memory device capable of testing memory cells at high speed
US8050135B2 (en) Semiconductor memory device
TW470958B (en) Synchronous semiconductor memory circuit
US6810498B2 (en) RAM functional test facilitation circuit with reduced scale
JP3711200B2 (en) High speed semiconductor memory device having direct access mode test control circuit and test method thereof
KR100452335B1 (en) Circuit and method for extending test data of semiconductor memory device possible high speed operation test
JP2004117046A (en) Semiconductor memory
JP2001345000A (en) Semiconductor device
JPH1166899A (en) Memory test circuit
JP4471582B2 (en) Semiconductor integrated circuit and circuit design apparatus
US5926519A (en) Semiconductor integrated circuit including dynamic registers
KR100491052B1 (en) Testing circuit for SoC and method of testing the SoC
JP2000147066A (en) Semiconductor integrated circuit device
JP4560204B2 (en) Synchronous memory address buffer circuit
JPH0541098A (en) Ram device
JPH04205879A (en) Semiconductor storage device
JP2000098003A (en) Device and method for testing mega-cell

Legal Events

Date Code Title Description
A300 Application deemed to be withdrawn because no request for examination was validly filed

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20060110