JP2009146566A - Semiconductor memory device - Google Patents

Semiconductor memory device Download PDF

Info

Publication number
JP2009146566A
JP2009146566A JP2009079996A JP2009079996A JP2009146566A JP 2009146566 A JP2009146566 A JP 2009146566A JP 2009079996 A JP2009079996 A JP 2009079996A JP 2009079996 A JP2009079996 A JP 2009079996A JP 2009146566 A JP2009146566 A JP 2009146566A
Authority
JP
Japan
Prior art keywords
signal
external
circuit
internal
control signal
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.)
Granted
Application number
JP2009079996A
Other languages
Japanese (ja)
Other versions
JP5042260B2 (en
Inventor
Tadaaki Yamauchi
忠昭 山内
Kiyohiro Furuya
清広 古谷
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 JP2009079996A priority Critical patent/JP5042260B2/en
Publication of JP2009146566A publication Critical patent/JP2009146566A/en
Application granted granted Critical
Publication of JP5042260B2 publication Critical patent/JP5042260B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Read Only Memory (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a semiconductor memory device stably executing precise operation without causing a malfunction that may occur between synchronous circuits receiving clock signals asynchronous to each other. <P>SOLUTION: An external clock generation circuit 40 generates an external clock signal T1 synchronized with a write command buffer signal TXLWE in response to a mode instruction signal RDY in an "H" level when an internal operation mode is not entered. The external clock signal T1 is fixed to an "L" level in response to entry to the internal operation mode and transition of the mode instruction signal RDY from "H" to "L". An external CUI 10 is not supplied with the external clock signal T1, and enters an external command reception prohibited state. A malfunction due to an external command input, during asynchronous reset, is avoided by keeping the mode instruction signal RDY at the "L" level until asynchronous reset is completed, and setting the signal to the "H" level after the end of asynchronous reset. <P>COPYRIGHT: (C)2009,JPO&INPIT

Description

この発明は、半導体記憶装置に関し、より特定的には、外部クロック信号に同期して外部コマンドを取込み、取込んだ外部コマンドに対応する複数の動作状態間を内部クロック信号に同期して遷移する半導体記憶装置に関する。   The present invention relates to a semiconductor memory device, and more specifically, takes an external command in synchronization with an external clock signal, and transitions between a plurality of operating states corresponding to the taken external command in synchronization with an internal clock signal. The present invention relates to a semiconductor memory device.

半導体記憶装置においては、外部から各種コマンドを受付け、これらのコマンドに応じて種々の内部制御信号を生成し、内部回路をこれらの内部制御信号によって制御することによって、データ書込およびデータ読出などの内部動作を実行する。   In a semiconductor memory device, various commands are received from the outside, various internal control signals are generated in response to these commands, and internal circuits are controlled by these internal control signals, so that data writing and data reading can be performed. Perform internal operations.

このとき、半導体記憶装置は、内包する外部制御信号発生回路を用いて、外部コマンドを所定周期の外部クロック信号に同期して取込み、取込んだ外部コマンドに応答して外部制御信号を発生する。さらに、内部制御信号発生回路において、内部クロック信号に同期して外部制御信号が取込まれると、これに応答して、メモリセルアレイにデータを書込んだりメモリセルアレイからデータを消去したりするための内部制御信号が生成される。制御回路は、この内部制御信号に応答して内部回路を動作させる。   At this time, the semiconductor memory device takes in the external command in synchronization with the external clock signal having a predetermined cycle by using the included external control signal generation circuit, and generates an external control signal in response to the taken-in external command. Further, in the internal control signal generation circuit, when an external control signal is taken in synchronization with the internal clock signal, in response to this, data is written to the memory cell array or data is erased from the memory cell array. An internal control signal is generated. The control circuit operates the internal circuit in response to the internal control signal.

ここで、半導体記憶装置は、外部コマンドを受付けてから、これに応じた所定の動作を完了するまでに、ある一定の期間を要する。半導体記憶装置の中でも、特に電気的にデータ書込およびデータ読出が可能な不揮発性メモリであるフラッシュメモリにおいては、データ書込に時間がかかるため、この期間は、他の半導体記憶装置に対して必然的に長くなる。   Here, the semiconductor memory device requires a certain period of time from receiving an external command to completing a predetermined operation corresponding thereto. Among semiconductor memory devices, particularly in a flash memory that is a nonvolatile memory capable of electrically writing and reading data, it takes time to write data. Inevitably longer.

そこで、半導体記憶装置では、外部コマンドの入力については、外部クロック信号に同期して行ない、内部動作については、内部の発振回路で生成した、外部クロック信号とは非同期の内部クロック信号に同期して行なうのが一般的である。このとき、外部クロック信号の同期回路からの出力を内部クロック信号の同期回路に入力する場合、またはその逆の場合において、外部コマンドを受付けるタイミングと内部動作のタイミングとが重ならないように調整して、誤動作を回避する必要がある。   Therefore, in the semiconductor memory device, external commands are input in synchronization with an external clock signal, and internal operations are generated in an internal oscillation circuit and are synchronized with an external clock signal that is asynchronous with the external clock signal. It is common to do this. At this time, when the output from the synchronization circuit of the external clock signal is input to the synchronization circuit of the internal clock signal, or vice versa, the timing for accepting the external command and the timing of the internal operation should be adjusted so that they do not overlap. It is necessary to avoid malfunction.

なお、この誤動作については、例えば、DRAM(Dynamic Random Access Memory)において、読出および書込を実行するための外部コマンドと、リフレッシュ動作を実行するための内部コマンドが重なった場合や、シングルポートRAMにおいて、CPU(中央演算処理装置)が制御するデータ書込と、通信用ゲートアレイが制御するデータ読出とが競合する場合などにおいても起こりうる。これらの誤動作によるデータ破壊や通信障害を防止する技術については、例えば、特許文献1,2に開示されている。ただし、いずれの技術も、供給されるクロック信号が単一のものに対応しており、互いに非同期の関係にある2つのクロック信号が供給される上記の半導体記憶装置に必ずしも対応するものではない。   As for this malfunction, for example, in a DRAM (Dynamic Random Access Memory), when an external command for executing read and write overlaps with an internal command for executing a refresh operation, or in a single port RAM This can also occur when data writing controlled by the CPU (central processing unit) competes with data reading controlled by the communication gate array. For example, Patent Documents 1 and 2 disclose techniques for preventing data destruction and communication failure due to these malfunctions. However, any technique corresponds to a single clock signal to be supplied, and does not necessarily correspond to the above semiconductor memory device to which two clock signals that are asynchronous with each other are supplied.

特開2002−304885号公報JP 2002-304895 A 特開平9−311811号公報JP 9-311811 A

上記のように、互いに非同期の関係にある2つのクロック信号が供給される従来の半導体記憶装置では、外部コマンドと内部制御信号とのタイミングを調整することが不可欠であるものの、内部動作期間中においても、外部コマンドが外部制御信号発生回路に入力されるのが現状であった。   As described above, in the conventional semiconductor memory device to which two clock signals that are asynchronous with each other are supplied, it is indispensable to adjust the timing of the external command and the internal control signal, but during the internal operation period However, the current situation is that an external command is input to the external control signal generation circuit.

このため、例えば、内部動作終了時において、内部制御信号発生回路から外部制御信号発生回路に対して、内包するラッチ回路などを初期化するためのリセット信号が入力されるが、このリセット信号に応じて外部制御信号発生回路が非同期リセットされる期間に、外部からコマンドが入力されると、外部制御信号発生回路では、論理の不整合が生じ、誤動作を招くこととなる。   For this reason, for example, at the end of the internal operation, a reset signal for initializing the included latch circuit or the like is input from the internal control signal generation circuit to the external control signal generation circuit. If a command is input from the outside during the asynchronous reset of the external control signal generation circuit, a logic mismatch occurs in the external control signal generation circuit, resulting in malfunction.

また、外部制御信号発生回路と内部制御信号発生回路とは、各々が非同期の関係にあるクロック信号にそれぞれ同期する同期回路であることから、これらの回路間での制御信号の転送において、内包するフリップフロップなどの順序回路では、出力信号が不安定となるメタステーブル状態が発生する可能性がある。メタステーブル状態が発生すると、制御信号発生回路においては、不定状態が後段の論理回路などに伝播されることから、正常動作が損なわれるおそれがある。   Further, since the external control signal generation circuit and the internal control signal generation circuit are synchronous circuits that are respectively synchronized with clock signals that are in an asynchronous relationship, they are included in the transfer of the control signal between these circuits. In a sequential circuit such as a flip-flop, a metastable state in which an output signal becomes unstable may occur. When the metastable state occurs, in the control signal generation circuit, the indefinite state is propagated to the logic circuit or the like in the subsequent stage, and there is a possibility that normal operation is impaired.

そこで、この発明の目的は、互いに非同期の関係にあるクロック信号が供給される同期回路間で発生しうる誤動作を招くことなく、正確な動作を安定して実行できる半導体記憶装置を提供することである。   SUMMARY OF THE INVENTION Accordingly, an object of the present invention is to provide a semiconductor memory device that can stably execute an accurate operation without causing a malfunction that may occur between synchronous circuits to which clock signals that are asynchronous with each other are supplied. is there.

この発明に従う半導体記憶装置は、装置外部からのクロック信号に同期して外部クロック信号を発生する外部クロック発生回路と、前記外部クロック信号に同期して、前記装置外部から与えられた外部コマンドを取込み、取込んだ前記外部コマンドに応答して外部制御信号を発生する外部制御信号発生回路と、メモリセルアレイと、前記メモリセルアレイに対してデータ読出およびデータ書込の内部動作を行なう読出書込回路とを含むメモリ回路と、前記外部クロック信号とは非同期の内部クロック信号に同期して、前記外部制御信号を取込み、取込んだ前記外部制御信号に応答して前記メモリ回路を制御する内部制御信号を発生する内部制御信号発生回路と、前記メモリ回路が内部動作モードにエントリしたことに応じて第1の論理状態となり、内部動作モードが終了したことに応じて第2の論理状態となるモード指示信号を発生するモード指示信号発生部と、前記第1の論理状態のモード指示信号に応答して、前記内部クロック信号を発生する内部クロック発生回路とを備える。前記外部クロック発生回路は、前記モード指示信号を受けて、前記外部クロック信号の発生を実行/停止する外部クロック信号発生部と、前記モード指示信号とは無関係に前記装置外部クロック信号に同期して発生する第2の外部クロック信号の発生部とを含む。前記外部制御信号発生回路は、前記内部動作モードを一時停止するサスペンドコマンドを保持するラッチ回路と、ラッチされた前記サスペンドコマンドに応答して、前記メモリ回路を一時停止状態とする前記外部制御信号を発生する組合せ論理回路とを備える。前記ラッチ回路は、前記第2の外部クロック信号に応答して、前記サスペンドコマンドをラッチする。   A semiconductor memory device according to the present invention includes an external clock generation circuit for generating an external clock signal in synchronization with a clock signal from outside the device, and an external command given from outside the device in synchronization with the external clock signal An external control signal generating circuit for generating an external control signal in response to the received external command, a memory cell array, and a read / write circuit for performing internal operations of data reading and data writing to the memory cell array An external control signal that is synchronized with an internal clock signal that is asynchronous with the external clock signal, and an internal control signal that controls the memory circuit in response to the captured external control signal. An internal control signal generating circuit for generating and a first logic state in response to the memory circuit entering an internal operation mode; A mode instruction signal generator for generating a mode instruction signal that is in a second logic state in response to the end of the internal operation mode, and the internal clock in response to the mode instruction signal in the first logic state. And an internal clock generation circuit for generating a signal. The external clock generation circuit receives the mode instruction signal and executes an external clock signal generation unit for executing / stopping the generation of the external clock signal, and is synchronized with the device external clock signal regardless of the mode instruction signal. And a second external clock signal generator. The external control signal generation circuit includes a latch circuit that holds a suspend command for suspending the internal operation mode, and the external control signal that suspends the memory circuit in response to the latched suspend command. Generating combinational logic circuit. The latch circuit latches the suspend command in response to the second external clock signal.

この発明のある局面に従う半導体記憶装置によれば、半導体記憶装置が内部動作モードにあるときには、内部動作が終了して外部制御信号発生回路の非同期リセットが終了するまで、外部コマンドの受付を禁止することによって、外部制御信号発生回路において生じる論理の不整合による誤動作を回避することができる。   According to the semiconductor memory device in accordance with one aspect of the present invention, when the semiconductor memory device is in the internal operation mode, the acceptance of the external command is prohibited until the internal operation ends and the asynchronous reset of the external control signal generation circuit ends. As a result, it is possible to avoid malfunction due to logic mismatch occurring in the external control signal generation circuit.

この発明の別の局面に従う半導体記憶装置によれば、互いに非同期の内部制御回路と外部制御回路との間の制御信号転送時に起こりうるメタステーブル状態を回避し、誤動作を抑え、安定した動作が実現される。   According to a semiconductor memory device according to another aspect of the present invention, a metastable state that may occur at the time of control signal transfer between an internal control circuit and an external control circuit that are asynchronous with each other is avoided, a malfunction is suppressed, and a stable operation is realized. Is done.

この発明の実施の形態1に従う半導体記憶装置の構成を示すブロック図である。1 is a block diagram showing a configuration of a semiconductor memory device according to a first embodiment of the present invention. 図1に示す外部クロック発生回路40の構成を示す回路図である。FIG. 2 is a circuit diagram showing a configuration of an external clock generation circuit 40 shown in FIG. 1. 図1に示す半導体記憶装置の動作を説明するためのタイミング図である。FIG. 2 is a timing chart for explaining the operation of the semiconductor memory device shown in FIG. 1. この発明の実施の形態2に従う半導体記憶装置の構成を示すブロック図である。It is a block diagram which shows the structure of the semiconductor memory device according to Embodiment 2 of this invention. 図4に示す半導体記憶装置における外部CUI10と内部CUI20との非同期データ転送を説明するための回路図である。FIG. 5 is a circuit diagram for explaining asynchronous data transfer between the external CUI 10 and the internal CUI 20 in the semiconductor memory device shown in FIG. 4. 図5に示す非同期転送回路に配されるラッチ回路L30の構成を示す回路図である。FIG. 6 is a circuit diagram showing a configuration of a latch circuit L30 arranged in the asynchronous transfer circuit shown in FIG. 図6に示すラッチ回路L30で起こりうるメタステーブルを説明するためのタイミング図である。FIG. 7 is a timing diagram for explaining a metastable that can occur in the latch circuit L30 shown in FIG. 6. この発明の実施の形態2に従う半導体記憶装置の動作を説明するためのタイミング図である。FIG. 11 is a timing diagram for illustrating the operation of the semiconductor memory device according to the second embodiment of the present invention.

本発明の実施の形態について図面を参照しながら詳細に説明する。なお、図中同一または相当部分には同一符号を付し、その説明は繰返さない。   Embodiments of the present invention will be described in detail with reference to the drawings. In the drawings, the same or corresponding parts are denoted by the same reference numerals, and description thereof will not be repeated.

実施の形態1.
図1は、この発明の実施の形態1に従う半導体記憶装置の構成を示すブロック図である。
Embodiment 1 FIG.
1 is a block diagram showing a structure of a semiconductor memory device according to the first embodiment of the present invention.

図1を参照して、半導体記憶装置は、複数の外部コマンドを取込み、その取込んだ外部コマンドに応じて複数の動作状態(データ読出、データ書込およびデータ消去など)の間を遷移する不揮発性メモリである。以下においては、不揮発性メモリの代表として、電気的にデータ書込およびデータ消去が可能なフラッシュメモリが適用される。   Referring to FIG. 1, the semiconductor memory device takes in a plurality of external commands and transitions between a plurality of operation states (data read, data write, data erase, etc.) in accordance with the taken-out external commands. Memory. In the following, a flash memory capable of electrically writing and erasing data is applied as a typical nonvolatile memory.

フラッシュメモリは、外部クロック発生回路40と、外部クロック信号に同期して外部コマンドを取込み、取込んだ外部コマンドに応答して、外部制御信号を発生する外部コマンドユーザインターフェイス(以下、CUIとも称する)10と、外部制御信号に応答して、メモリ回路60を制御するための内部制御信号を発生する内部CUI20と、内部クロック発生回路50とを備える。   The flash memory takes in an external command in synchronization with an external clock generation circuit 40 and an external clock signal, and generates an external control signal in response to the external command taken in (hereinafter also referred to as CUI). 10, an internal CUI 20 that generates an internal control signal for controlling the memory circuit 60 in response to the external control signal, and an internal clock generation circuit 50.

外部クロック発生回路40は、外部から与えられるライトイネーブル信号WEをトリガとして、外部クロック信号T1,T2,T1_D,T2_D_Oを生成する。本実施の形態では、ライトイネーブル信号WEのバッファ信号であるライトコマンドバッファ信号TXLWEをトリガとしてクロック信号の生成を行なうものとする。生成された外部クロック信号は、外部CUI10へ伝達される。   The external clock generation circuit 40 generates external clock signals T1, T2, T1_D, and T2_D_O using a write enable signal WE given from the outside as a trigger. In the present embodiment, it is assumed that a clock signal is generated using a write command buffer signal TXLWE, which is a buffer signal of the write enable signal WE, as a trigger. The generated external clock signal is transmitted to the external CUI 10.

外部CUI10は、外部クロック信号に同期して制御される同期回路であり、以下においては、外部系回路とも称する。外部CUI10は、図示は省略するが、8ビットの入力データIOD[7:0]から外部コマンドを外部クロック信号に応答してそれぞれラッチする複数のラッチ回路と、ラッチされた外部コマンドに応答して、外部制御信号を発生する複数の組合せ論理回路とを含む。外部制御信号は、フラッシュメモリの動作状態の遷移を制御する信号として働き、フラッシュメモリ内部で生成される。生成された外部制御信号は、内部CUI20へ伝達される。   The external CUI 10 is a synchronization circuit that is controlled in synchronization with an external clock signal, and is also referred to as an external system circuit below. Although not shown, the external CUI 10 includes a plurality of latch circuits that latch external commands from 8-bit input data IOD [7: 0] in response to an external clock signal, and in response to latched external commands. A plurality of combinational logic circuits for generating external control signals. The external control signal functions as a signal for controlling the transition of the operation state of the flash memory and is generated inside the flash memory. The generated external control signal is transmitted to the internal CUI 20.

内部クロック発生回路50は、図示しないリングオシレータなどの発振回路を含む。フラッシュメモリが消去動作や書込動作などの内部動作モードにエントリしたことを示すモード指示信号RDYに応答して、発振回路が動作し、互いに相補な内部クロック信号P1,P2を発生する。   Internal clock generation circuit 50 includes an oscillation circuit such as a ring oscillator (not shown). In response to a mode instruction signal RDY indicating that the flash memory has entered an internal operation mode such as an erase operation or a write operation, the oscillation circuit operates and generates complementary internal clock signals P1 and P2.

このように、実施の形態1に従う半導体記憶装置において、外部クロック信号と内部クロック信号とは、異なるクロック発生回路で独立に生成される信号であって、互いに位相が異なった非同期の関係を有する。   Thus, in the semiconductor memory device according to the first embodiment, the external clock signal and the internal clock signal are signals generated independently by different clock generation circuits, and have an asynchronous relationship in which the phases are different from each other.

内部CUI20は、内部クロック信号に同期して制御される同期回路であり、以下において、内部系回路とも称する。内部CUI20は、外部制御信号を内部クロック信号に応答してそれぞれラッチする複数のラッチ回路と、ラッチされた外部制御信号をデコードし、このデコード信号に応答して内部制御信号を発生する複数の組合せ論理回路と含む。内部制御信号は、フラッシュメモリの各動作状態における内部動作を制御する信号として機能する。生成された内部制御信号は、メモリ回路60および外部CUI10へ伝達される。   The internal CUI 20 is a synchronization circuit that is controlled in synchronization with an internal clock signal, and is also referred to as an internal system circuit below. The internal CUI 20 includes a plurality of latch circuits that latch external control signals in response to internal clock signals, and a plurality of combinations that decode the latched external control signals and generate internal control signals in response to the decoded signals. Including logic circuit. The internal control signal functions as a signal for controlling the internal operation in each operation state of the flash memory. The generated internal control signal is transmitted to the memory circuit 60 and the external CUI 10.

メモリ回路60は、行列状に配置される複数のフラッシュメモリ型のメモリセルを含むメモリセルアレイ61と、メモリセルアレイ61からデータを読出・消去し、かつメモリセルアレイにデータを書込むための読出書込回路62とを備える。   Memory circuit 60 includes a memory cell array 61 including a plurality of flash memory type memory cells arranged in a matrix, and read / write for reading and erasing data from memory cell array 61 and writing data into the memory cell array Circuit 62.

読出書込回路62は、ロウアドレス信号に応答してワード線を選択的に活性化させるロウデコーダと、コラムアドレス信号に応答してコラム選択線を選択的に活性化されるコラムデコーダと、入出力(I/O)回路と、ロウアドレスバッファと、コラムアドレスバッファと、プリアンプとを含む。I/O回路は、コラムデコーダにより活性化されたコラム選択線に応答して対応するビット線にアクセスして、データの入出力を行なう。   Read / write circuit 62 includes a row decoder that selectively activates a word line in response to a row address signal, a column decoder that selectively activates a column selection line in response to a column address signal, An output (I / O) circuit, a row address buffer, a column address buffer, and a preamplifier are included. The I / O circuit accesses the corresponding bit line in response to the column selection line activated by the column decoder, and inputs / outputs data.

内部制御信号は、メモリ回路60のメモリセルアレイ61に保持されたデータを消去または読出したり、メモリセルアレイ61にデータを書込んだりする動作を制御する信号である。内部制御信号には、ロウアドレス信号をロウアドレスバッファにラッチするためのロウアドレスラッチ信号、ロウデコーダを活性化するためのロウアドレスイネーブル信号、ワード線ドライバを活性化するためのワード線イネーブル信号、コラムデコーダを活性化するためのコラムデコーダイネーブル信号などが含まれる。   The internal control signal is a signal that controls an operation of erasing or reading data held in the memory cell array 61 of the memory circuit 60 and writing data into the memory cell array 61. The internal control signal includes a row address latch signal for latching the row address signal in the row address buffer, a row address enable signal for activating the row decoder, a word line enable signal for activating the word line driver, A column decoder enable signal for activating the column decoder is included.

一例として、ロウアドレスラッチ信号は、メモリ回路60のロウアドレスバッファ(図示せず)に与えられる。ロウアドレスバッファは、ロウアドレスラッチ信号に応答して外部から与えられるロウアドレス信号をラッチする。   As an example, the row address latch signal is applied to a row address buffer (not shown) of the memory circuit 60. The row address buffer latches a row address signal applied from the outside in response to the row address latch signal.

他の一例として、ワード線イネーブル信号は、メモリ回路60のロウデコーダ(図示せず)に与えられる。ロウデコーダは、ワード線イネーブル信号に応答してワード線を選択的に活性化する。   As another example, the word line enable signal is supplied to a row decoder (not shown) of the memory circuit 60. The row decoder selectively activates the word line in response to the word line enable signal.

ここで、外部CUI10と内部CUI20とは、互いに非同期の関係にあるクロック信号にそれぞれ同期して制御される部位であることから、外部CUI10と内部CUI20との間でのデータ転送において、メタステーブルという問題が存在しうる。   Here, the external CUI 10 and the internal CUI 20 are parts that are controlled in synchronization with clock signals that are asynchronous with each other. Therefore, in data transfer between the external CUI 10 and the internal CUI 20, it is referred to as a metastable. There may be a problem.

メタステーブルとは、外部からの非同期信号をラッチやフリップフロップで同期化する場合に、入力信号がどこで変化するか分からないために、出力信号が不安定な状態になることをいう。メタステーブル状態となると、出力信号に一定期間の不定状態が現われ、この不定状態が後続の論理回路に伝搬していくことで、論理回路が正常に動作できないという不具合が起きてしまう。このメタステーブル状態は長く続くものではなく、必ず起きるという現象ではないが、誤動作を引き起こす要因となる。   Metastable means that when an asynchronous signal from the outside is synchronized by a latch or flip-flop, the output signal becomes unstable because it is unknown where the input signal changes. When the metastable state is entered, an indefinite state for a certain period appears in the output signal, and this indefinite state propagates to the subsequent logic circuit, thereby causing a problem that the logic circuit cannot operate normally. This metastable state does not last for a long time and does not necessarily occur, but it causes a malfunction.

そこで、本実施の形態では、外部CUI10と内部CUI20との間に、データ転送のタイミングを調整するための非同期転送回路30を配置する。非同期転送回路30は、図示は省略するが、外部制御信号を内部クロック信号に応答してラッチする内部系のラッチ回路と、内部制御信号を外部クロック信号に応答してラッチする外部系のラッチ回路と、非同期のRS型フリップフロップとを備える。   Therefore, in the present embodiment, an asynchronous transfer circuit 30 for adjusting the timing of data transfer is arranged between the external CUI 10 and the internal CUI 20. Although not shown, the asynchronous transfer circuit 30 includes an internal latch circuit that latches an external control signal in response to the internal clock signal, and an external latch circuit that latches the internal control signal in response to the external clock signal. And an asynchronous RS flip-flop.

非同期転送回路30において、外部制御信号および内部制御信号は、それぞれ内部系および外部系の信号にタイミング調整されて、対応する内部系回路および外部系回路に転送される。   In the asynchronous transfer circuit 30, the external control signal and the internal control signal are adjusted in timing to the internal system signal and the external system signal, respectively, and transferred to the corresponding internal system circuit and external system circuit.

非同期転送回路30は、さらに、外部制御信号および内部制御信号に基づいて、フラッシュメモリが消去やプログラム動作などの内部動作モードにエントリしたことを示すモード指示信号RDYを出力するモード指示信号発生部35を備える。モード指示信号RDYは、フラッシュメモリが内部動作モードにエントリしていないアイドル状態において、「H」レベル(=”READY”)を示し、フラッシュメモリが内部動作モードにエントリしたことに応じて「L」レベル(=”BUSY”)に遷移する。モード指示信号RDYは、図1に示すように、外部クロック発生回路40および内部クロック発生回路50へ伝達される。   Asynchronous transfer circuit 30 further outputs a mode instruction signal generator 35 for outputting mode instruction signal RDY indicating that the flash memory has entered an internal operation mode such as erasure or program operation based on the external control signal and the internal control signal. Is provided. The mode instruction signal RDY indicates “H” level (= “READY”) in an idle state where the flash memory has not entered the internal operation mode, and “L” in response to the flash memory entering the internal operation mode. Transition to level (= “BUSY”). Mode designation signal RDY is transmitted to external clock generation circuit 40 and internal clock generation circuit 50 as shown in FIG.

図2は、図1に示す外部クロック発生回路40の構成を示す回路図である。外部クロック発生回路40は、外部コマンドであるライトイネーブル信号WEに応じて発生するライトコマンドバッファ信号TXLWEをトリガとして、外部クロック信号を生成する部位である。   FIG. 2 is a circuit diagram showing a configuration of external clock generation circuit 40 shown in FIG. The external clock generation circuit 40 is a part that generates an external clock signal using a write command buffer signal TXLWE generated in response to a write enable signal WE as an external command as a trigger.

図2を参照して、外部クロック発生回路40は、モード指示信号RDYとライトコマンドバッファ信号TXLWEとの位相比較を行なう位相比較器41と、遅延回路42〜45と、NAND回路G42〜G45と、インバータI40〜I46とを備える。   Referring to FIG. 2, external clock generation circuit 40 includes a phase comparator 41 that performs phase comparison between mode instruction signal RDY and write command buffer signal TXLWE, delay circuits 42 to 45, NAND circuits G42 to G45, Inverters I40 to I46.

位相比較器41は、NAND回路G40,G41からなるRS型フリップフロップを含む。RS型フリップフロップは、セット入力ノードに遅延回路42を介してモード指示信号RDYが入力され、リセット入力ノードにインバータI40を介して、ライトコマンドバッファ信号TXLWEの反転信号が入力される。RS型フリップフロップは、これらの2信号の位相の一致比較を行ない、比較結果信号をセット出力ノードに出力する。RS型フリップフロップのセット出力、すなわち位相比較器41における比較結果信号は、インバータI41によって反転されてNAND回路G42の第1入力ノードに入力される。   The phase comparator 41 includes an RS type flip-flop composed of NAND circuits G40 and G41. In the RS flip-flop, the mode instruction signal RDY is input to the set input node via the delay circuit 42, and the inverted signal of the write command buffer signal TXLWE is input to the reset input node via the inverter I40. The RS flip-flop performs a phase matching comparison of these two signals and outputs a comparison result signal to the set output node. The set output of the RS flip-flop, that is, the comparison result signal in the phase comparator 41 is inverted by the inverter I41 and input to the first input node of the NAND circuit G42.

位相比較器41は、モード指示信号RDYとライトコマンドバッファ信号TXLWEの反転信号との位相比較において、モード指示信号RDYが「H」のとき、すなわち、半導体記憶装置が内部動作モードにエントリしていない”READY”状態においては、「L」レベルの位相比較結果信号を出力する。したがって、NAND回路G42には、「H」レベルに反転された位相比較結果信号が入力される。   In the phase comparison between the mode instruction signal RDY and the inverted signal of the write command buffer signal TXLWE, the phase comparator 41 determines that the mode instruction signal RDY is “H”, that is, the semiconductor memory device has not entered the internal operation mode. In the “READY” state, an “L” level phase comparison result signal is output. Therefore, the phase comparison result signal inverted to the “H” level is input to the NAND circuit G42.

一方、位相比較器41は、モード指示信号RDYが「L」のとき、すなわち、フラッシュメモリが内部動作モードにエントリしている”BUSY”状態においては、「H」レベルの位相比較結果信号を出力する。したがって、NAND回路G42においては、「L」レベルに反転された位相比較結果信号が入力される。   On the other hand, the phase comparator 41 outputs an “H” level phase comparison result signal when the mode instruction signal RDY is “L”, that is, in the “BUSY” state in which the flash memory enters the internal operation mode. To do. Therefore, the NAND circuit G42 receives the phase comparison result signal inverted to the “L” level.

ライトコマンドバッファ信号TXLWEは、インバータI40により反転されて、NAND回路G42の第3入力ノードとNAND回路G43の第2入力ノードに入力される。   The write command buffer signal TXLWE is inverted by the inverter I40 and input to the third input node of the NAND circuit G42 and the second input node of the NAND circuit G43.

さらに、ライトコマンドバッファ信号TXLWEは、遅延回路43にて所定の遅延量(以下、t1とする)だけ遅延されると、インバータI42を介して反転されて、NAND回路G42の第2入力ノードおよびNAND回路G43の第1入力ノードに入力される。   Further, when the write command buffer signal TXLWE is delayed by a predetermined delay amount (hereinafter referred to as t1) in the delay circuit 43, the write command buffer signal TXLWE is inverted via the inverter I42, and the second input node of the NAND circuit G42 and the NAND The signal is input to the first input node of the circuit G43.

NAND回路G42は、位相比較器41からの比較結果信号の反転信号が「H」レベルのとき(”READY”状態に相当)には、ライトコマンドバッファ信号TXLWEの反転信号と、遅延量t1だけ遅延したライトコマンドバッファ信号TXLWEの反転信号との論理積を演算し、演算結果として外部クロック信号T1を発生する。生成される外部クロック信号T1は、ライトコマンドバッファ信号TXLWEが反転された信号となり、ライトコマンドバッファ信号TXLWEが「H」から「L」に立下る時点から遅延量t1だけ遅延して、「L」から「H」に立上る。   When the inverted signal of the comparison result signal from the phase comparator 41 is “H” level (corresponding to the “READY” state), the NAND circuit G42 delays the inverted signal of the write command buffer signal TXLWE by the delay amount t1. The logical product of the write command buffer signal TXLWE and the inverted signal is calculated, and the external clock signal T1 is generated as the calculation result. The generated external clock signal T1 is a signal obtained by inverting the write command buffer signal TXLWE, and is delayed by a delay amount t1 from the time when the write command buffer signal TXLWE falls from “H” to “L”. To “H”.

一方、NAND回路G42は、比較結果信号の反転信号が「L」レベルのとき(”BUSY”状態に相当)には、NAND回路G42から出力される外部クロック信号T1は、「L」レベルに固定される。   On the other hand, in the NAND circuit G42, when the inverted signal of the comparison result signal is “L” level (corresponding to “BUSY” state), the external clock signal T1 output from the NAND circuit G42 is fixed to “L” level. Is done.

NAND回路G43は、ライトコマンドバッファ信号TXLWEの反転信号と、遅延量
t1だけ遅延したライトコマンドバッファ信号TXLWEの反転信号との論理積を演算し、演算結果として外部クロック信号T1_Dを発生する。生成される外部クロック信号T1_Dは、ライトコマンドバッファ信号TXLWEが反転された信号となり、ライトコマンドバッファ信号TXLWEが「H」から「L」に立下る時点から遅延量t1だけ遅延して、「L」から「H」に立上る。
The NAND circuit G43 calculates the logical product of the inverted signal of the write command buffer signal TXLWE and the inverted signal of the write command buffer signal TXLWE delayed by the delay amount t1, and generates an external clock signal T1_D as the calculation result. The generated external clock signal T1_D is a signal obtained by inverting the write command buffer signal TXLWE, and is delayed by the delay amount t1 from the time when the write command buffer signal TXLWE falls from “H” to “L”. To “H”.

ライトコマンドバッファ信号TXLWEは、さらに、NAND回路G44の第1入力ノードに入力される。NAND回路G44の第2入力ノードには、遅延回路44により所定の遅延量(以下、t2とする)だけ遅延されたライトコマンドバッファ信号TXLWEが入力される。NAND回路G44は、これらの2信号の論理積の演算結果として、外部クロック信号T2を出力する。外部クロック信号T2は、ライトコマンドバッファ信号TXLWEに同期した信号となり、ライトコマンドバッファ信号TXLWEが「L」から「H」に立上る時点から遅延回路44で決まる遅延量t2だけ遅延して、「L」から「H」に立上る。   The write command buffer signal TXLWE is further input to the first input node of the NAND circuit G44. A write command buffer signal TXLWE delayed by a predetermined delay amount (hereinafter referred to as t2) by the delay circuit 44 is input to the second input node of the NAND circuit G44. The NAND circuit G44 outputs an external clock signal T2 as a result of the logical product of these two signals. The external clock signal T2 is a signal synchronized with the write command buffer signal TXLWE, and is delayed by a delay amount t2 determined by the delay circuit 44 from the time when the write command buffer signal TXLWE rises from “L” to “H”. ”To“ H ”.

遅延回路44により遅延量t2だけ遅延されたライトコマンドバッファ信号TXLWEと、遅延回路45により所定の遅延量(以下、t3とする)だけ遅延された外部クロック信号T1_Dとは、NAND回路G45に入力される。NAND回路G45は、これらの2信号の論理積の演算結果として、遅延回路45の遅延量t3と遅延回路44の遅延量t2との差に相当するパルス幅t3−t2を有するワンショットパルスの外部クロック信号T2_D_Oを出力する。   The write command buffer signal TXLWE delayed by the delay amount t2 by the delay circuit 44 and the external clock signal T1_D delayed by a predetermined delay amount (hereinafter referred to as t3) by the delay circuit 45 are input to the NAND circuit G45. The The NAND circuit G45 uses the logical product of these two signals as an external result of the one-shot pulse having a pulse width t3-t2 corresponding to the difference between the delay amount t3 of the delay circuit 45 and the delay amount t2 of the delay circuit 44. The clock signal T2_D_O is output.

以上の構成の外部クロック発生回路40において発生する外部クロック信号のうち、外部クロック信号T1のみが、モード指示信号RDYとライトコマンドバッファ信号TXLWEとの位相比較結果によって、その発生が制御される。位相比較器41は、図2に示すように、RS型フリップフロップで構成されることから、2信号の入力のタイミングによってその動作状態が変動する。詳細には、図2に示すように、RS型フリップフロップ41の2つの入力端子をそれぞれA,Bとし、かつ出力端子をCとすると、入力端子Bの入力レベルが「L」である期間中に、入力端子Aの入力レベルが「L」→「H」に遷移したことに応じて、出力端子Cの出力レベルは、「L」レベルのリセット状態となる。   Of the external clock signals generated in the external clock generation circuit 40 configured as described above, the generation of only the external clock signal T1 is controlled by the phase comparison result between the mode instruction signal RDY and the write command buffer signal TXLWE. As shown in FIG. 2, the phase comparator 41 is composed of an RS flip-flop, so that its operation state varies depending on the input timing of two signals. Specifically, as shown in FIG. 2, when the two input terminals of the RS flip-flop 41 are A and B and the output terminal is C, the input level of the input terminal B is “L”. In addition, in response to the transition of the input level of the input terminal A from “L” to “H”, the output level of the output terminal C is set to the “L” level reset state.

ここで、2つの入力端子A,Bに同時に「H」レベルの信号が入力されたときには、RS型フリップフロップは、出力端子Cの出力がリセット状態で「L」レベルとなるか、あるいはホールド状態で「H」レベルとなるかの判別がつかず、出力信号が安定しないメタステーブル状態に陥ってしまう。メタステーブル状態は、比較的短い期間ではあるが、外部クロック信号T1を不安定とする可能性を持つ。   Here, when “H” level signals are simultaneously input to the two input terminals A and B, the RS flip-flop is in the “L” level when the output of the output terminal C is in the reset state or in the hold state. In this case, it is impossible to determine whether the signal is at the “H” level, and the output signal is not stable. The metastable state has a possibility of destabilizing the external clock signal T1 for a relatively short period.

そこで、このメタステーブル状態を回避する手段として、本実施の形態では、図2に示すように、NAND回路G42から外部クロック信号T1が出力するタイミングを調整するために遅延回路43を設け、ライトコマンドバッファ信号TXLWEが立下る時点と、外部クロック信号T1が立上る時点との間に遅延量t1を与える。遅延量t1は、位相比較器41でメタステーブル状態が発生する期間よりも長く設定する。遅延量t1の具体的な期間としては、NAND回路G40,G41のゲート遅延時間のおよそ10倍以上とし、5〜10[ns]程度とされる。   Therefore, as a means for avoiding this metastable state, in this embodiment, as shown in FIG. 2, a delay circuit 43 is provided to adjust the timing at which the external clock signal T1 is output from the NAND circuit G42. A delay amount t1 is given between the time when the buffer signal TXLWE falls and the time when the external clock signal T1 rises. The delay amount t1 is set to be longer than the period during which the metastable state occurs in the phase comparator 41. The specific period of the delay amount t1 is about 10 times or more the gate delay time of the NAND circuits G40 and G41, and is about 5 to 10 [ns].

このように、モード指示信号RDYとライトコマンドバッファ信号TXLWEとから生成される信号(以下、第1の信号と称する)に対して一定期間遅延させた信号(以下、第2の信号と称する)により、外部クロック信号T1の活性化のタイミング(ここでは、クロックの立上りのタイミング)が決定される。なお、この一定期間は、遅延量t1から位相比較器41で生じる遅延量を差引いたものに相当する。この結果、位相比較器41の位相比較結果信号が、メタステーブル状態から脱して安定状態に復帰した後において、NAND回路G42が開かれ、安定した外部クロック信号T1が出力されることとなる。   As described above, a signal (hereinafter referred to as a second signal) delayed by a certain period with respect to a signal (hereinafter referred to as a first signal) generated from the mode instruction signal RDY and the write command buffer signal TXLWE. The activation timing of the external clock signal T1 (here, the rising timing of the clock) is determined. This fixed period corresponds to a value obtained by subtracting the delay amount generated in the phase comparator 41 from the delay amount t1. As a result, after the phase comparison result signal of the phase comparator 41 returns from the metastable state to the stable state, the NAND circuit G42 is opened and a stable external clock signal T1 is output.

次に、外部CUI10が非同期リセット期間中における外部コマンド受付禁止について述べる。   Next, prohibition of external command reception during the asynchronous reset period of the external CUI 10 will be described.

再び図1を参照して、外部CUI10がライトコマンドバッファ信号TXLWEを受けて外部制御信号を出力し、この外部制御信号が非同期転送回路30を介して、内部CUI20へ伝達されると、フラッシュメモリは、内部動作モードにエントリする。このとき、モード指示信号発生部35から出力されるモード指示信号RDYは、”READY”状態を示す「H」レベルから”BUSY”状態を示す「L」レベルへと遷移する。内部クロック発生回路50は、「L」レベルのモード指示信号RDYをトリガとして、内部クロック信号P1,P2を発生する。   Referring to FIG. 1 again, when the external CUI 10 receives the write command buffer signal TXLWE and outputs an external control signal, and this external control signal is transmitted to the internal CUI 20 via the asynchronous transfer circuit 30, the flash memory Entry into the internal operation mode. At this time, the mode instruction signal RDY output from the mode instruction signal generator 35 transits from the “H” level indicating the “READY” state to the “L” level indicating the “BUSY” state. Internal clock generation circuit 50 generates internal clock signals P1 and P2 using “L” level mode instruction signal RDY as a trigger.

内部CUI20は、内部動作モードにエントリすると、内部クロック信号P1,P2に同期して内部動作を行なう。さらに、所定の動作が終了すると、内部CUI20は、外部CUI10に配されるラッチ回路を初期化するためのリセット信号OPRSTを出力する。リセット信号OPRSTは、フラッシュメモリが”BUSY”状態から”READY”状態に遷移する直前において、所定の期間活性化(「H」レベル)される信号である。   When the internal CUI 20 enters the internal operation mode, the internal CUI 20 performs an internal operation in synchronization with the internal clock signals P1 and P2. Further, when the predetermined operation ends, the internal CUI 20 outputs a reset signal OPRST for initializing a latch circuit arranged in the external CUI 10. The reset signal OPRST is a signal activated (“H” level) for a predetermined period immediately before the flash memory transitions from the “BUSY” state to the “READY” state.

外部CUI10は、活性化されたリセット信号OPRSTに応答して、内部のラッチ回路を非同期リセットする。これによって、外部CUI10は、アイドル状態に戻る。   The external CUI 10 asynchronously resets the internal latch circuit in response to the activated reset signal OPRST. As a result, the external CUI 10 returns to the idle state.

ここで、外部CUI10に配されるラッチ回路において、非同期リセット期間中に外部コマンドが入力されると、同期制御中に非同期リセットされることとなり、不具合が発生する。この不具合の発生を避けるためには、非同期リセット期間中の外部コマンドの受付を禁止する必要がある。   Here, in the latch circuit arranged in the external CUI 10, if an external command is input during the asynchronous reset period, the asynchronous reset is performed during the synchronous control, which causes a problem. In order to avoid the occurrence of this problem, it is necessary to prohibit the acceptance of external commands during the asynchronous reset period.

そこで、本実施の形態では、フラッシュメモリが内部動作モードにあるか否かを示すモード指示信号RDYを用いて、外部CUI10におけるコマンド入力を制御することとする。なお、非同期リセット終了後において、リセット信号OPRSTが非活性化(「L」レベル)したことに応じて、モード指示信号RDYを「L」から「H」へと遷移させる。   Therefore, in the present embodiment, command input in the external CUI 10 is controlled using the mode instruction signal RDY indicating whether or not the flash memory is in the internal operation mode. After the asynchronous reset is completed, the mode instruction signal RDY is changed from “L” to “H” in response to the deactivation of the reset signal OPRST (“L” level).

モード指示信号RDYは、外部クロック発生回路40に入力されると、図2で示したように、ライトコマンドバッファ信号TXLWEと位相比較され、外部クロック信号T1の発生を制御する。外部クロック発生回路40は、モード指示信号RDYが「H」レベルのときには、ライトコマンドバッファ信号TXLWEに同期した外部クロック信号T1を発生する。   When the mode instruction signal RDY is input to the external clock generation circuit 40, as shown in FIG. 2, the phase is compared with the write command buffer signal TXLWE to control the generation of the external clock signal T1. The external clock generation circuit 40 generates an external clock signal T1 synchronized with the write command buffer signal TXLWE when the mode instruction signal RDY is at “H” level.

一方、外部クロック信号T1は、モード指示信号RDYが「H」レベルから「L」レベルに遷移したことに応じて「L」レベルに固定される。すなわち、フラッシュメモリが内部動作モードにエントリして”BUSY”状態にあるときには、ライトコマンドバッファ信号TXLWEがトグルしても、外部クロック信号T1が生成されない。外部CUI10は、外部クロック信号T1が供給されないことから、外部コマンドの受付が禁止された状態となる。   On the other hand, external clock signal T1 is fixed at “L” level in response to transition of mode instruction signal RDY from “H” level to “L” level. That is, when the flash memory enters the internal operation mode and is in the “BUSY” state, the external clock signal T1 is not generated even if the write command buffer signal TXLWE is toggled. Since the external clock signal T1 is not supplied to the external CUI 10, the external CUI 10 is prohibited from accepting external commands.

したがって、上記の非同期リセット期間中の外部コマンド入力による誤動作を防止するためには、モード指示信号RDYを非同期リセット終了までは「L」レベルとし、非同期リセット終了後において、「H」レベルにすれば良い。モード指示信号RDYが「L」レベルのときには、外部クロック信号T1の発生が抑えられることから、外部コマンドの受付を禁止することができる。   Therefore, in order to prevent malfunction due to an external command input during the asynchronous reset period, the mode instruction signal RDY is set to “L” level until the asynchronous reset ends, and is set to “H” level after the asynchronous reset ends. good. When the mode instruction signal RDY is at “L” level, generation of the external clock signal T1 is suppressed, so that acceptance of the external command can be prohibited.

これを実現するために、図2に示すように、モード指示信号RDYを遅延して位相比較器41の入力端子Aに入力させるための遅延回路42が設けられる。これによって、外部クロック発生回路40は、モード指示信号RDYが「H」レベルになってから遅延回路42の所定の遅延量を遅延した後に、外部クロック信号T1を再び発生する。すなわち、遅延回路42は、モード指示信号RDYが「L」レベルから「H」レベルに遷移してから、外部CUI10の動作が確実に終了した後に、外部クロック信号T1を発生するために配置されている。   In order to realize this, as shown in FIG. 2, a delay circuit 42 for delaying the mode instruction signal RDY and inputting it to the input terminal A of the phase comparator 41 is provided. As a result, the external clock generation circuit 40 again generates the external clock signal T1 after delaying a predetermined delay amount of the delay circuit 42 after the mode instruction signal RDY becomes “H” level. That is, the delay circuit 42 is arranged to generate the external clock signal T1 after the operation of the external CUI 10 is reliably completed after the mode instruction signal RDY has transitioned from the “L” level to the “H” level. Yes.

ここで、遅延回路42は、モード指示信号RDYの立上りを立下りに比べて遅延させるものであり、立上りの遅延は、リセット信号OPRSTのパルス幅の1/6程度で良い。具体的には、リセット信号OPRSTのパルス幅が30[ns]であるのに対し、おおよそ1〜5[ns]としている。なお、位相比較器41のメタステーブルを回避するため、遅延回路42の遅延量は、遅延回路43の遅延量よりも小さくしておく必要がある。   Here, the delay circuit 42 delays the rising edge of the mode instruction signal RDY compared to the falling edge, and the rising delay may be about 1/6 of the pulse width of the reset signal OPRST. Specifically, the pulse width of the reset signal OPRST is 30 [ns], but is approximately 1 to 5 [ns]. In order to avoid the metastable of the phase comparator 41, the delay amount of the delay circuit 42 needs to be smaller than the delay amount of the delay circuit 43.

次に、各信号と外部コマンドの受付との関係について述べる。外部クロック発生回路40は、モード指示信号RDYが「H」レベルであり、かつライトコマンドバッファ信号TXLWEが「H」レベルから「L」レベルへ立下がったことに応じて、外部クロック信号T1を「L」レベルから「H」レベルへ立上げて、外部クロック信号T1の発生を開始する。発生した外部クロック信号T1が外部CUI10へ入力されると、外部CUI10は、外部コマンドの受付が可能となる。   Next, the relationship between each signal and acceptance of an external command will be described. The external clock generation circuit 40 receives the external clock signal T1 in response to the mode instruction signal RDY being at “H” level and the write command buffer signal TXLWE falling from “H” level to “L” level. Raising from “L” level to “H” level, generation of external clock signal T1 is started. When the generated external clock signal T1 is input to the external CUI 10, the external CUI 10 can accept an external command.

図3は、図1に示す半導体記憶装置の動作を説明するためのタイミング図である。
図3を参照して、外部CUI10には、所定の動作を実行するためのコマンドが入力される。以下においては、データ消去動作のためにライトコマンドバッファ信号TXLWEが入力される場合を仮定する。このライトコマンドバッファ信号TXLWEは、外部クロック発生回路40にも入力される。
FIG. 3 is a timing chart for explaining the operation of the semiconductor memory device shown in FIG.
Referring to FIG. 3, a command for executing a predetermined operation is input to external CUI 10. In the following, it is assumed that the write command buffer signal TXLWE is input for the data erasing operation. The write command buffer signal TXLWE is also input to the external clock generation circuit 40.

外部クロック発生回路40には、さらに、フラッシュメモリが”READY”状態であることを示す「H」レベルのモード指示信号RDYが入力される。外部クロック発生回路40は、図2で示すように、モード指示信号RDYとライトコマンドバッファ信号TXLWEとの位相比較に基づいて、外部クロック信号T1を発生する。モード指示信号RDYが「H」のときには、外部クロック信号T1は、ライトコマンドバッファ信号TXLWEに同期する信号となる。なお、外部クロック信号T1は、外部クロック発生回路40内部の位相比較器41で発生するメタステーブルを回避するために、ライトコマンドバッファ信号TXLWEの立下りから遅延量t1だけ遅延したタイミングで、「L」レベルから「H」レベルに立上る。   The external clock generation circuit 40 further receives a “H” level mode instruction signal RDY indicating that the flash memory is in the “READY” state. As shown in FIG. 2, the external clock generation circuit 40 generates an external clock signal T1 based on the phase comparison between the mode instruction signal RDY and the write command buffer signal TXLWE. When the mode instruction signal RDY is “H”, the external clock signal T1 is a signal synchronized with the write command buffer signal TXLWE. The external clock signal T1 is “L” at a timing delayed by a delay amount t1 from the falling edge of the write command buffer signal TXLWE in order to avoid a metastable generated by the phase comparator 41 in the external clock generation circuit 40. ”Rise from the“ H ”level to the“ H ”level.

外部クロック発生回路40は、外部クロック信号T1以外に、図3に示すように、モード指示信号RDYとは無関係に動作する外部クロック信号T2,T1_Dと、ワンショットパルスの外部クロック信号T2_D_O(図示省略)とを発生する。   In addition to the external clock signal T1, the external clock generation circuit 40, as shown in FIG. 3, external clock signals T2 and T1_D that operate independently of the mode instruction signal RDY and a one-shot pulse external clock signal T2_D_O (not shown). ).

外部CUI10は、内包するラッチ回路において、外部クロック信号T1に応答して、ライトコマンドバッファ信号TXLWEをラッチする。さらに、組合せ論理回路において、ラッチした信号に応答して外部制御信号を発生する。   The external CUI 10 latches the write command buffer signal TXLWE in response to the external clock signal T1 in the included latch circuit. Further, in the combinational logic circuit, an external control signal is generated in response to the latched signal.

この外部制御信号が非同期転送回路30を介して、内部CUI20へ伝達されると、フラッシュメモリは、内部動作モードにエントリする。このとき、モード指示信号発生部35から出力されるモード指示信号RDYは、”READY”状態を示す「H」レベルから
”BUSY”状態を示す「L」レベルへと遷移する。
When this external control signal is transmitted to the internal CUI 20 via the asynchronous transfer circuit 30, the flash memory enters the internal operation mode. At this time, the mode instruction signal RDY output from the mode instruction signal generator 35 transitions from the “H” level indicating the “READY” state to the “L” level indicating the “BUSY” state.

内部クロック発生回路50は、「L」レベルのモード指示信号RDYをトリガとして、互いに相補的な内部クロック信号P1,P2を発生する。内部CUI20は、内部クロック信号P1,P2に同期して、外部制御信号に応答して内部制御信号を発生する。メモリ回路60では、この内部制御信号に応じてデータ消去やプログラムなどの内部動作が実行される。   Internal clock generation circuit 50 generates internal clock signals P1 and P2 that are complementary to each other using mode instruction signal RDY at "L" level as a trigger. The internal CUI 20 generates an internal control signal in response to the external control signal in synchronization with the internal clock signals P1 and P2. In the memory circuit 60, internal operations such as data erasure and program are executed in accordance with the internal control signal.

一方、外部クロック発生回路40では、モード指示信号RDYが「H」レベルから「L」レベルに遷移したことに応答して、外部クロック信号T1が「L」レベルに固定される。これによって、外部CUI10は、外部コマンドの受付が禁止された状態となる。   On the other hand, in external clock generation circuit 40, external clock signal T1 is fixed at “L” level in response to transition of mode instruction signal RDY from “H” level to “L” level. As a result, the external CUI 10 is in a state where acceptance of external commands is prohibited.

次に、内部CUI20は、一連の消去動作が終了し、フラッシュメモリが”BUSY”から”READY”に遷移する直前に、外部CUI10をアイドル状態に戻すためのリセット信号OPRSTを出力する。外部CUI10のラッチ回路は、このリセット信号OPRSTに応答して、非同期リセットされる。   Next, the internal CUI 20 outputs a reset signal OPRST for returning the external CUI 10 to an idle state immediately before a series of erase operations is completed and the flash memory transitions from “BUSY” to “READY”. The latch circuit of the external CUI 10 is asynchronously reset in response to the reset signal OPRST.

最後に、外部CUI10での非同期リセットが終了したことに応答して、モード指示信号RDYが「L」レベルから「H」レベルに立上る。   Finally, in response to the completion of the asynchronous reset in the external CUI 10, the mode instruction signal RDY rises from the “L” level to the “H” level.

外部クロック発生回路40では、モード指示信号RDYが「H」のときに、ライトコマンドバッファ信号TXLWEの立下りに応答して、外部クロック信号T1を再び発生する。これによって、外部CUI10は、再び外部コマンドの受付が可能となる。   In the external clock generation circuit 40, when the mode instruction signal RDY is “H”, the external clock signal T1 is generated again in response to the fall of the write command buffer signal TXLWE. As a result, the external CUI 10 can accept external commands again.

以上のように、この発明の実施の形態1によれば、半導体記憶装置が内部動作モードにあるときには、内部動作が終了して外部制御信号発生回路の非同期リセットが完了するまで、外部コマンドの受付が禁止されることから、外部制御信号発生回路において発生する論理の不整合による誤動作を回避することができる。   As described above, according to the first embodiment of the present invention, when the semiconductor memory device is in the internal operation mode, the external command is accepted until the internal operation is completed and the asynchronous reset of the external control signal generating circuit is completed. Therefore, it is possible to avoid malfunction due to logic mismatch occurring in the external control signal generation circuit.

また、外部クロック発生回路において、位相比較器がメタステーブル状態となる期間に相当する遅延量を持つ遅延回路を配することにより、安定した外部クロック信号を送出することができる。   In the external clock generation circuit, a stable external clock signal can be transmitted by arranging a delay circuit having a delay amount corresponding to a period in which the phase comparator is in the metastable state.

実施の形態2.
先の実施の形態1においては、半導体記憶装置が内部動作モードにあるときには、内部動作が終了して外部制御信号発生回路の非同期リセットが終了するまで、外部コマンドの受付を禁止することによって、外部制御信号発生回路に生じる誤動作を防止する構成について説明した。
Embodiment 2. FIG.
In the first embodiment, when the semiconductor memory device is in the internal operation mode, the external command is inhibited from being accepted until the internal operation ends and the asynchronous reset of the external control signal generation circuit ends. The configuration for preventing malfunctions occurring in the control signal generation circuit has been described.

しかしながら、内部動作モードにあっても、外部から与えられる各種コマンドのうち、半導体記憶装置を一時停止状態とするためのサスペンドコマンドについては、唯一入力を許可する必要がある。   However, even in the internal operation mode, among the various commands given from the outside, it is necessary to permit only the suspend command for causing the semiconductor memory device to be in a suspended state.

そこで、本実施の形態では、実施の形態1の半導体記憶装置に、サスペンドコマンド受付機能をさらに具備させた構成について提案する。   Therefore, the present embodiment proposes a configuration in which the semiconductor memory device of the first embodiment is further provided with a suspend command receiving function.

図4は、この発明の実施の形態2に従う半導体記憶装置の構成を示すブロック図である。本実施の形態においても、実施の形態1と同様に、半導体記憶装置の一例として、フラッシュメモリが適用されるものとする。   FIG. 4 is a block diagram showing the structure of the semiconductor memory device according to the second embodiment of the present invention. Also in the present embodiment, as in the first embodiment, a flash memory is applied as an example of a semiconductor memory device.

図4を参照して、フラッシュメモリは、外部クロック信号発生回路40と、外部クロック信号に同期して外部制御信号を生成する外部CUI10と、外部制御信号に応答してメモリ回路60を制御するための内部制御信号を生成する内部CUI20と、内部クロック発生回路50と、非同期転送回路30とを備える。なお、これらの部位は、図1に示す実施の形態1のフラッシュメモリと共通するため、詳細な説明は省略する。   Referring to FIG. 4, flash memory controls external clock signal generation circuit 40, external CUI 10 that generates an external control signal in synchronization with the external clock signal, and memory circuit 60 in response to the external control signal. The internal CUI 20 for generating the internal control signal, the internal clock generation circuit 50, and the asynchronous transfer circuit 30 are provided. Since these parts are common to the flash memory of the first embodiment shown in FIG. 1, detailed description is omitted.

フラッシュメモリは、さらに、外部CUI10に、サスペンドコマンドを受付けるためのサスペンド専用ラッチ回路L10を備える。サスペンドコマンドは、図4に示すように、8ビットの入力データIOD[7:0]によって与えられる。   The flash memory further includes a suspend-dedicated latch circuit L10 for receiving a suspend command in the external CUI 10. As shown in FIG. 4, the suspend command is given by 8-bit input data IOD [7: 0].

サスペンド専用ラッチ回路L10は、外部CUI10に配される他のラッチ回路と同様に、外部クロック発生回路40から供給される外部クロック信号に応答して、サスペンドコマンドをラッチする。   The suspend-dedicated latch circuit L10 latches the suspend command in response to the external clock signal supplied from the external clock generation circuit 40, like the other latch circuits arranged in the external CUI 10.

外部クロック発生回路40で生成される外部クロック信号のうち、外部クロック信号T1については、先述のように、モード指示信号RDYが「H」(”READY”状態に相当)から「L」(”BUSY”状態に相当)に遷移したことに応じて、「L」レベルに固定される。これによって、外部CUI10は、外部コマンドの受付が禁止される。   Of the external clock signals generated by the external clock generation circuit 40, for the external clock signal T1, as described above, the mode instruction signal RDY changes from “H” (corresponding to the “READY” state) to “L” (“BUSY”). It is fixed at the “L” level in response to the transition to the “state”. As a result, the external CUI 10 is prohibited from accepting external commands.

これに対して、サスペンド専用ラッチ回路L10は、外部クロック信号T1_Dが供給される。外部クロック信号T1_Dは、図2で説明したように、モード指示信号RDYとは無関係に動作するクロック信号である。したがって、サスペンド専用ラッチ回路L10は、フラッシュメモリの動作モードによらず、一定周期を有する外部クロック信号T1_Dに応答して、常にサスペンドコマンドを受付けることができる。   On the other hand, the suspend-dedicated latch circuit L10 is supplied with the external clock signal T1_D. The external clock signal T1_D is a clock signal that operates independently of the mode instruction signal RDY, as described with reference to FIG. Therefore, the suspend-dedicated latch circuit L10 can always accept a suspend command in response to the external clock signal T1_D having a fixed period regardless of the operation mode of the flash memory.

フラッシュメモリが”BUSY”期間中に受付けられたサスペンドコマンドは、サスペンド専用ラッチ回路L10でラッチされると、図示しない組合せ論理回路に送られる。組合せ論理回路は、ラッチしたサスペンドコマンドに応答した外部制御信号を発生し、内部CUI20へ伝達する。   When the suspend command received by the flash memory during the “BUSY” period is latched by the suspend-dedicated latch circuit L10, it is sent to a combinational logic circuit (not shown). The combinational logic circuit generates an external control signal in response to the latched suspend command and transmits it to the internal CUI 20.

ここで、外部制御信号は、外部クロック信号T1_Dに同期する信号であるため、非同期の内部CUI20に入力するにあたっては、非同期転送回路30において、内部クロック信号に同期する信号に変換する必要がある。   Here, since the external control signal is a signal synchronized with the external clock signal T1_D, the asynchronous transfer circuit 30 needs to convert the external control signal into a signal synchronized with the internal clock signal when input to the asynchronous internal CUI 20.

図5は、図4に示すフラッシュメモリにおける外部CUI10と内部CUI20との非同期データ転送を説明するための回路図である。   FIG. 5 is a circuit diagram for explaining asynchronous data transfer between the external CUI 10 and the internal CUI 20 in the flash memory shown in FIG.

図5を参照して、外部CUI10は、外部クロック信号T1,T2に応答して、入力される各種コマンドをラッチするためのラッチ回路L11〜L14と、ラッチされた複数のコマンドに応答して外部制御信号を発生する組合せ論理(CL)回路12,13と、外部制御信号を外部クロック信号T2に同期して出力するAND回路G11とを含む。ラッチ回路L11〜L14に与えられるコマンドには、モード指示信号RDYの他、セットアップコマンドSETUPおよび内部CUI20においてサスペンドコマンドに応答して発生する内部制御信号XHSSPNDなどが含まれる。   Referring to FIG. 5, external CUI 10 is responsive to external clock signals T1 and T2, and latch circuits L11 to L14 for latching various commands input, and external CUI 10 in response to a plurality of latched commands. Combinational logic (CL) circuits 12 and 13 for generating a control signal and an AND circuit G11 for outputting an external control signal in synchronization with the external clock signal T2 are included. The commands applied to the latch circuits L11 to L14 include the mode instruction signal RDY, the setup command SETUP, the internal control signal XHSSPND generated in response to the suspend command in the internal CUI 20, and the like.

外部CUI10は、外部クロック信号T1_Dに応答して、サスペンドコマンドをラッチするためのサスペンド専用ラッチ回路L10と、ラッチされたサスペンドコマンドに応答して外部制御信号を発生する組合せ論理(CL)回路11と、外部制御信号をワンショットパルスの外部クロック信号T2_D_Oに同期して出力するAND回路G10とをさらに含む。   The external CUI 10 includes a suspend-dedicated latch circuit L10 for latching a suspend command in response to the external clock signal T1_D, and a combinational logic (CL) circuit 11 for generating an external control signal in response to the latched suspend command. And an AND circuit G10 for outputting the external control signal in synchronization with the external clock signal T2_D_O of the one-shot pulse.

サスペンド専用ラッチ回路L10は、外部クロック信号T1_Dに応答して、サスペンドコマンドをラッチし、ラッチしたコマンドを組合せ論理(CL)回路11に入力する。組合せ論理(CL)回路11は、サスペンドコマンドをデコードし、信号hrq_sspndを発生する。AND回路G10は、信号hrq_sspndが入力されると、外部クロック信号T2_D_Oに応答して、ワンショットパルスの外部制御信号ORQSSPNDを出力する。   The suspend dedicated latch circuit L10 latches the suspend command in response to the external clock signal T1_D, and inputs the latched command to the combinational logic (CL) circuit 11. The combinational logic (CL) circuit 11 decodes the suspend command and generates a signal hrq_sspnd. When the signal hrq_sspnd is input, the AND circuit G10 outputs a one-shot pulse external control signal ORQSSPND in response to the external clock signal T2_D_O.

非同期転送回路30は、非同期のRS型フリップフロップ32と、内部クロック信号P1,P2に応答して、外部制御信号をラッチするラッチ回路L30〜L32とを含む。   Asynchronous transfer circuit 30 includes an asynchronous RS-type flip-flop 32 and latch circuits L30 to L32 that latch external control signals in response to internal clock signals P1 and P2.

サスペンドを指示する外部制御信号ORQSSPNDは、外部CUI10のAND回路G10から出力されると、非同期転送回路30の非同期のRS型フリップフロップ32を介して、直列に接続された3段のラッチ回路L30〜L32にてラッチされる。このラッチ回路の構成については、後に詳細に説明する。ラッチされた外部制御信号ORQSSPNDは、内部クロック信号P1,P2に同期する内部系の信号HRQSSPNDに変換されて、内部CUI20へ伝達される。内部CUI20は、この内部系信号HRQSSPNDとなったサスペンドコマンドに応答して、図示しないメモリ回路60においてサスペンド処理を実行する。このとき、内部CUI20は、メモリ回路60が一時停止状態に退避したことに応答して、活性化した内部制御信号HSSPNDを発生する。さらに、これらのラッチ回路L30〜L32は、リセット信号OPRSTの活性化に応じてリセットされる。   When the external control signal ORQSSPND instructing the suspend is output from the AND circuit G10 of the external CUI 10, the three stages of latch circuits L30 to L30 connected in series via the asynchronous RS flip-flop 32 of the asynchronous transfer circuit 30 are used. Latched at L32. The configuration of the latch circuit will be described later in detail. The latched external control signal ORQSSPND is converted into an internal signal HRQSSPND synchronized with the internal clock signals P 1 and P 2 and transmitted to the internal CUI 20. The internal CUI 20 executes a suspend process in the memory circuit 60 (not shown) in response to the suspend command that has become the internal system signal HRQSSPND. At this time, the internal CUI 20 generates the activated internal control signal HSSPND in response to the memory circuit 60 being saved to the temporary stop state. Further, these latch circuits L30 to L32 are reset in response to activation of the reset signal OPRST.

非同期転送回路30は、さらに、モード指示信号発生部35として、内部制御信号を受ける非同期のRS型フリップフロップ33と、外部制御信号を受ける非同期のRS型フリップフロップ34と、組合せ論理(CL)回路31と、OR回路G30とをさらに含む。   Asynchronous transfer circuit 30 further includes, as mode instruction signal generator 35, asynchronous RS flip-flop 33 that receives an internal control signal, asynchronous RS flip-flop 34 that receives an external control signal, and a combinational logic (CL) circuit. 31 and an OR circuit G30.

OR回路G30は、半導体記憶装置が内部動作モードにあるときには、入力端子A,Bがいずれも「L」レベルとなり、「L」レベルのモード指示信号RDYを出力する。さらに、通常の内部動作終了後(サスペンドによる終了を除く)において、入力端子Bが「H」レベルとなり、モード指示信号RDYが「H」レベルに遷移する。   When the semiconductor memory device is in the internal operation mode, the OR circuit G30 has the input terminals A and B both at the “L” level and outputs the “L” level mode instruction signal RDY. Further, after the end of normal internal operation (except for the end due to suspend), the input terminal B becomes “H” level, and the mode instruction signal RDY changes to “H” level.

RS型フリップフロップ33は、内部制御信号HSSPNDを受けて、信号XHSSPNDを発生する。RS型フリップフロップ34は、外部制御信号を受けて、組合せ論理(CL)回路31へ伝達する。組合せ論理(CL)回路31は、外部制御信号と内部系の信号とに応答して信号を発生する。信号XHSSPNDと組合せ論理(CL)回路31の出力信号とは、OR回路G30において論理和が演算され、演算結果として、モード指示信号RDYが出力される。   The RS flip-flop 33 receives the internal control signal HSSPND and generates a signal XHSSPND. The RS flip-flop 34 receives the external control signal and transmits it to the combinational logic (CL) circuit 31. The combinational logic (CL) circuit 31 generates a signal in response to an external control signal and an internal signal. The logical sum of the signal XHSSPND and the output signal of the combinational logic (CL) circuit 31 is calculated in the OR circuit G30, and the mode instruction signal RDY is output as the calculation result.

図6は、図5に示す非同期転送回路に配されるラッチ回路L30の構成を示す回路図である。なお、非同期転送回路30に含まれるラッチ回路L30,L31,L32は、いずれも同様の構成であるため、ラッチ回路L30を代表して説明する。   FIG. 6 is a circuit diagram showing a configuration of latch circuit L30 arranged in the asynchronous transfer circuit shown in FIG. Note that the latch circuits L30, L31, and L32 included in the asynchronous transfer circuit 30 have the same configuration, and therefore the latch circuit L30 will be described as a representative.

図6を参照して、ラッチ回路L30は、トランスファゲートT30と、NAND回路G31と、インバータI32〜I34とを備える。   Referring to FIG. 6, latch circuit L30 includes a transfer gate T30, a NAND circuit G31, and inverters I32 to I34.

トランスファゲートT30は、「H」レベルの内部クロック信号P2に応答してオンになり、入力信号を取込む。NAND回路G31とインバータI32とは、リセット信号OPRSTの反転信号/OPRSTが「H」のときに、一方の入力ノードが他方の出力ノードに結合されてラッチ部を構成し、取込まれた信号を保持する。インバータI33は、保持された信号を出力する。   Transfer gate T30 is turned on in response to internal clock signal P2 at "H" level, and takes in an input signal. NAND circuit G31 and inverter I32 form a latch unit in which one input node is coupled to the other output node when inverted signal / OPRST of reset signal OPRST is "H", and the received signal is Hold. Inverter I33 outputs the held signal.

図6の構成において、ラッチ回路L30は、内部クロック信号P2が「H」レベルのときに、トランスファゲートT30がオンして入力信号を取込み、内部クロック信号P2が「L」レベルのときにオフして取込んだ信号をラッチ部に保持する。このように、ラッチ回路L30は、内部クロック信号P2に同期してラッチ動作を行なう。ラッチ回路L30には、図5に示すように、外部CUI10から転送される非同期の外部制御信号が入力される。このとき、ラッチ回路L30においては、外部制御信号が入力タイミングの規定に違反したことによって、メタステーブルという問題が起こりうる。   In the configuration of FIG. 6, the latch circuit L30 is turned off when the internal clock signal P2 is at "H" level and the transfer gate T30 is turned on to take in the input signal, and is turned off when the internal clock signal P2 is at "L" level. The latched signal is held in the latch section. Thus, latch circuit L30 performs a latch operation in synchronization with internal clock signal P2. As shown in FIG. 5, an asynchronous external control signal transferred from the external CUI 10 is input to the latch circuit L30. At this time, in the latch circuit L30, a problem of metastable may occur because the external control signal violates the input timing regulation.

図7は、図6のラッチ回路L30で起こりうるメタステーブルを説明するためのタイミング図である。以下において、ラッチ回路L30には、外部制御信号として、サスペンドコマンドから生成される外部制御信号ORQSSPNDが入力される。   FIG. 7 is a timing chart for explaining a metastable that can occur in the latch circuit L30 of FIG. In the following, an external control signal ORQSSPND generated from a suspend command is input to the latch circuit L30 as an external control signal.

外部制御信号ORQSSPNDは、図7に示すように、有効(”Valid”)と無効(”Invalid”)との間を遷移する。ラッチ回路L30では、内部クロック信号P2が「H」から「L」に立下がり、トランスファゲートT30がオフされる直前の値を保持する。   As shown in FIG. 7, the external control signal ORQSSPND transitions between valid (“Valid”) and invalid (“Invalid”). In the latch circuit L30, the internal clock signal P2 falls from "H" to "L" and holds the value immediately before the transfer gate T30 is turned off.

ここで、図7に示すように、内部クロック信号P2が立下がるタイミングと、外部制御信号ORQSSPNDが無効から有効に遷移するタイミングとが一致したときには、ラッチ回路L30の出力信号には、一定期間出力が確定しないメタステーブルが発生する場合が生じる。ラッチ回路L30の出力信号に現われたメタステーブルが内部CUI20へ伝搬されると、誤動作を招く可能性がある。   Here, as shown in FIG. 7, when the timing at which the internal clock signal P2 falls coincides with the timing at which the external control signal ORQSSPND transitions from invalid to valid, the output signal of the latch circuit L30 is output for a certain period. There is a case where a metastable that is not fixed occurs. If the metastable appearing in the output signal of the latch circuit L30 is propagated to the internal CUI 20, there is a possibility of causing a malfunction.

そこで、このメタステーブルを回避する手段として、図5に示すように、非同期転送回路30を、複数段のラッチ回路で構成する。例えば、本実施の形態では、3段のラッチ回路L30〜L32で構成する。ラッチ回路L30,L32は、内部クロック信号P2に応答して入力信号をラッチし、ラッチ回路L31は、内部クロック信号P1に応答して入力信号をラッチする。なお、ラッチ回路L31は、図6のラッチ回路L30の入力信号を内部クロック信号P2からP1に置き換えたものに等しい。   Therefore, as means for avoiding this metastable, as shown in FIG. 5, the asynchronous transfer circuit 30 is constituted by a plurality of stages of latch circuits. For example, in the present embodiment, it is configured by three stages of latch circuits L30 to L32. The latch circuits L30 and L32 latch the input signal in response to the internal clock signal P2, and the latch circuit L31 latches the input signal in response to the internal clock signal P1. The latch circuit L31 is equivalent to a circuit obtained by replacing the input signal of the latch circuit L30 in FIG. 6 from the internal clock signal P2 to P1.

非同期転送回路30に入力される外部制御信号は、先頭のラッチ回路L30において、内部クロック信号P2の立下りに応答してラッチされて、2番目のラッチ回路L31に出力される。2番目のラッチ回路L31は、内部クロック信号P2の立下りから期間t5経過したタイミングで内部クロック信号P1がHレベルに立上がったことに応答して、外部制御信号ORQSSPNDを取込む。そして、2番目のラッチ回路L31は、内部クロック信号P1の立下りに応答して、外部制御信号ORQSSPNDをラッチし、3番目のラッチ回路L32へ出力する。3番目のラッチ回路L32は、内部クロック信号P1の立下りから期間t4経過したタイミングで内部クロック信号P2が立上がったことに応答して、外部制御信号ORQSSPNDをラッチして出力する。   The external control signal input to the asynchronous transfer circuit 30 is latched in response to the falling of the internal clock signal P2 in the leading latch circuit L30, and is output to the second latch circuit L31. The second latch circuit L31 takes in the external control signal ORQSSPND in response to the internal clock signal P1 rising to H level at the timing when the period t5 has elapsed from the falling edge of the internal clock signal P2. Then, the second latch circuit L31 latches the external control signal ORQSSPND in response to the falling of the internal clock signal P1, and outputs it to the third latch circuit L32. The third latch circuit L32 latches and outputs the external control signal ORQSSPND in response to the rise of the internal clock signal P2 at the timing when the period t4 has elapsed from the fall of the internal clock signal P1.

すなわち、外部制御信号ORQSSPNDは、1つのラッチ回路L30でラッチする場合に対して、内部クロック信号P2の1クロック分の遅れが生じる。1番目のラッチ回路L30では、非同期の入力によってメタステーブルが発生する可能性がある。しかしながら、メタステーブルとなる期間は、通常1クロック内に収まる程度に短いため、1番目のラッチ回路L30から3番目のラッチ回路L32へデータが転送される間にデータの論理が確定し、3番目のラッチ回路L32においては、メタステーブルの影響は及ばず、有効/無効のいずれかに論理が確定した外部制御信号ORQSSPNDがラッチされることとなる。このような構成とすることにより、以降の内部CUI20には、安定した信号が転送される。   That is, the external control signal ORQSSPND is delayed by one clock of the internal clock signal P2 with respect to the case where it is latched by one latch circuit L30. In the first latch circuit L30, metastable may occur due to asynchronous input. However, since the metastable period is usually short enough to fit within one clock, the data logic is determined while data is transferred from the first latch circuit L30 to the third latch circuit L32, and the third In the latch circuit L32, the metastable is not affected, and the external control signal ORQSSPND whose logic is determined as either valid / invalid is latched. With this configuration, a stable signal is transferred to the subsequent internal CUI 20.

図8は、この発明の実施の形態2に従う半導体記憶装置の動作を説明するためのタイミング図である。以下においては、ライトコマンドバッファ信号TXLWEに応答して、フラッシュメモリにおいて消去動作が実行される場合を例として説明する。   FIG. 8 is a timing diagram for illustrating the operation of the semiconductor memory device according to the second embodiment of the present invention. Hereinafter, a case where an erase operation is executed in the flash memory in response to the write command buffer signal TXLWE will be described as an example.

外部クロック発生回路40では、ライトコマンドバッファ信号TXLWEをトリガとして、外部クロック信号T1,T1_D,T2,T2_Oが発生する。外部クロック信号TT1は、実施の形態1で説明したように、モード指示信号RDYが「H」レベルのときに、ライトコマンドバッファ信号TXLWEに同期する信号となる。一方、外部クロック信号T1_Dは、図8に示すように、モード指示信号RDYとは無関係に、ライトコマンドバッファ信号TXLWEに常に同期する信号となる。   The external clock generation circuit 40 generates external clock signals T1, T1_D, T2, and T2_O using the write command buffer signal TXLWE as a trigger. As described in the first embodiment, external clock signal TT1 is a signal synchronized with write command buffer signal TXLWE when mode instruction signal RDY is at “H” level. On the other hand, as shown in FIG. 8, the external clock signal T1_D is a signal that is always synchronized with the write command buffer signal TXLWE regardless of the mode instruction signal RDY.

次に、モード指示信号RDYは、半導体記憶装置が内部動作モードにエントリしたことに応じて、”READY”状態を示す「H」レベルから”BUSY”状態を示す「L」レベルへと遷移する。   Next, mode instruction signal RDY transitions from “H” level indicating “READY” state to “L” level indicating “BUSY” state in response to the semiconductor memory device entering the internal operation mode.

外部クロック発生回路40では、モード指示信号RDYが「L」レベルとなったことに応答して、外部クロック信号T1が「L」レベルに固定される。これにより、外部CUI10は、外部コマンドの受付が禁止された状態となる。このとき、内部動作モードにあって唯一受付ける必要のあるコマンドであるサスペンドコマンドについては、外部CUI10に配したサスペンド専用ラッチ回路L10で受付けることができる。   In external clock generation circuit 40, external clock signal T1 is fixed at "L" level in response to mode instruction signal RDY becoming "L" level. As a result, the external CUI 10 is in a state where acceptance of external commands is prohibited. At this time, the suspend command, which is the only command that needs to be received in the internal operation mode, can be received by the suspend-dedicated latch circuit L10 disposed in the external CUI 10.

ここで、図8に示すように、サスペンド専用ラッチ回路L10へのデータ入力IOD[7:0]において、”BUSY”期間中にサスペンドコマンドB0が入力されたものとする。   Here, as shown in FIG. 8, it is assumed that the suspend command B0 is input during the “BUSY” period in the data input IOD [7: 0] to the suspend-dedicated latch circuit L10.

サスペンドコマンドB0は、図5に示すサスペンド専用ラッチ回路L10において、外部クロック信号T1_Dに応答してラッチされる。さらに、ラッチされたサスペンドコマンドB0は、組合せ論理(CL)回路11においてデコードされる。デコードされたサスペンドコマンドhrq_sspndは、AND回路G10において、外部クロック信号T2_Oに同期したワンショットパルスの外部制御信号ORQSSPNDに変換される。   The suspend command B0 is latched in response to the external clock signal T1_D in the suspend dedicated latch circuit L10 shown in FIG. Further, the latched suspend command B 0 is decoded by the combinational logic (CL) circuit 11. The decoded suspend command hrq_sspnd is converted into an external control signal ORQSSPND having a one-shot pulse synchronized with the external clock signal T2_O in the AND circuit G10.

さらに、外部制御信号ORQSSPNDは、非同期転送回路30へ伝達される。非同期転送回路30において、外部制御信号ORQSSPNDは、非同期RS型フリップフロップ32と3段のラッチ回路L30〜L32によって、内部系の信号HRQSSPNDに変換され、内部CUI20へ伝達される。   Further, the external control signal ORQSSPND is transmitted to the asynchronous transfer circuit 30. In the asynchronous transfer circuit 30, the external control signal ORQSSPND is converted into an internal signal HRQSSPND by the asynchronous RS flip-flop 32 and the three-stage latch circuits L 30 to L 32 and transmitted to the internal CUI 20.

内部CUI20は、内包する組合せ論理(CL)回路によって内部制御信号を生成し、この内部制御信号によってメモリ回路60を一時停止させる。さらに、内部CUI20は、メモリ回路60が一時停止状態に退避したことに応答して、活性化した内部制御信号HSSPNDを発生する。   The internal CUI 20 generates an internal control signal by an internal combinational logic (CL) circuit, and temporarily stops the memory circuit 60 by the internal control signal. Further, the internal CUI 20 generates the activated internal control signal HSSPND in response to the memory circuit 60 being saved to the temporary stop state.

内部制御信号HSSPNDは、モード指示信号発生部35へ伝達される。内部制御信号HSSPNDは、非同期RS型フリップフロップ33を介して信号XHSSPNDとなり、OR回路G30に入力される。OR回路G30は、「H」レベルの信号XHSSPNDに応答して、「H」レベルに活性化したモード指示信号RDYを出力する。   The internal control signal HSSPND is transmitted to the mode instruction signal generator 35. The internal control signal HSSPND becomes a signal XHSSPND via the asynchronous RS flip-flop 33 and is input to the OR circuit G30. The OR circuit G30 outputs the mode instruction signal RDY activated to the “H” level in response to the signal XHSSPND at the “H” level.

外部クロック発生回路40は、モード指示信号RDYが「H」レベルに活性化すると、ライトコマンドバッファ信号TXLWEの立下りに同期して、外部クロック信号T1を発生する。外部CUI10は、外部クロック信号T1が供給されると、再び外部コマンドの受付が可能となる。   When the mode instruction signal RDY is activated to “H” level, the external clock generation circuit 40 generates the external clock signal T1 in synchronization with the fall of the write command buffer signal TXLWE. When the external clock signal T1 is supplied, the external CUI 10 can accept an external command again.

このように、メタステーブル状態を回避するために、複数段のラッチ回路L30〜L32を用いることにより、外部系回路と内部系回路との間の信号の転送を安定して行なうことができる。さらに、内部回路が一時停止状態となった後は、モード指示信号RDYに応じて発生する外部クロック信号T1によって、外部コマンドが受付されるので、外部系回路が動作可能となる。   As described above, in order to avoid the metastable state, by using the plurality of stages of latch circuits L30 to L32, it is possible to stably transfer the signal between the external system circuit and the internal system circuit. Further, after the internal circuit is temporarily stopped, an external command is received by the external clock signal T1 generated in response to the mode instruction signal RDY, so that the external system circuit can be operated.

以上のように、この発明の実施の形態2によれば、半導体記憶装置が内部動作モードにあるときには、外部コマンドの受付が禁止されることから、誤動作を防止することができる。   As described above, according to the second embodiment of the present invention, when the semiconductor memory device is in the internal operation mode, the acceptance of external commands is prohibited, so that malfunction can be prevented.

一方、内部動作期間に唯一受付ける必要のあるサスペンドコマンドについては、専用のラッチ回路を設け、動作モードに無関係に動作する外部クロック信号に応答してラッチすることによって、常時受付けることができる。   On the other hand, a suspend command that only needs to be accepted during the internal operation period can be always accepted by providing a dedicated latch circuit and latching in response to an external clock signal that operates regardless of the operation mode.

さらに、互いに非同期の外部系回路と内部系回路との間での制御信号の転送において、複数段のラッチ回路でデータを取込む構成とすることにより、メタステーブル状態の発生を回避し、安定動作を確保することができる。   Furthermore, in the transfer of control signals between the asynchronous external system circuit and internal system circuit, it is possible to avoid the occurrence of metastable state by adopting a configuration that captures data with a multi-stage latch circuit, and stable operation Can be secured.

今回開示された実施の形態はすべての点で例示であって制限的なものではないと考えられるべきである。本発明の範囲は、上記した説明ではなく、特許請求の範囲によって示され、特許請求の範囲と均等の意味および範囲内でのすべての変更が含まれることが意図される。   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.

10 外部CUI、11〜13,31 組合せ論理回路、20 内部CUI、30 非同期転送回路、32,33 RS型フリップフロップ、34 SR型フリップフロップ、35 モード指示信号発生部、40 外部クロック発生回路、41 位相比較器、42〜45 遅延回路、50 内部クロック発生回路、60 メモリ回路、61 メモリセルアレイ、62 読出書込回路、G31,G40〜G45 NAND回路、G10,G11 AND回路、G30 OR回路、I32〜I34,I40〜I46 インバータ、L10 サスペンド専用ラッチ回路、L11〜L14,L30〜L32 ラッチ回路、T30 トランスファゲート。   DESCRIPTION OF SYMBOLS 10 External CUI, 11-13, 31 Combinational logic circuit, 20 Internal CUI, 30 Asynchronous transfer circuit, 32, 33 RS type flip-flop, 34 SR type flip-flop, 35 Mode instruction signal generation part, 40 External clock generation circuit, 41 Phase comparator, 42 to 45 delay circuit, 50 internal clock generation circuit, 60 memory circuit, 61 memory cell array, 62 read / write circuit, G31, G40 to G45 NAND circuit, G10, G11 AND circuit, G30 OR circuit, I32 to I34, I40 to I46 Inverter, L10 suspend dedicated latch circuit, L11 to L14, L30 to L32 latch circuit, T30 transfer gate.

Claims (2)

装置外部からのクロック信号に同期して外部クロック信号を発生する外部クロック発生回路と、
前記外部クロック信号に同期して、前記装置外部から与えられた外部コマンドを取込み、取込んだ前記外部コマンドに応答して外部制御信号を発生する外部制御信号発生回路と、
メモリセルアレイと、前記メモリセルアレイに対してデータ読出およびデータ書込の内部動作を行なう読出書込回路とを含むメモリ回路と、
前記外部クロック信号とは非同期の内部クロック信号に同期して、前記外部制御信号を取込み、取込んだ前記外部制御信号に応答して前記メモリ回路を制御する内部制御信号を発生する内部制御信号発生回路と、
前記メモリ回路が内部動作モードにエントリしたことに応じて第1の論理状態となり、内部動作モードが終了したことに応じて第2の論理状態となるモード指示信号を発生するモード指示信号発生部と、
前記第1の論理状態のモード指示信号に応答して、前記内部クロック信号を発生する内部クロック発生回路とを備え、
前記外部クロック発生回路は、
前記モード指示信号を受けて、前記外部クロック信号の発生を実行/停止する外部クロック信号発生部と、
前記モード指示信号とは無関係に前記装置外部クロック信号に同期して発生する第2の外部クロック信号の発生部とを含み、
前記外部制御信号発生回路は、
前記内部動作モードを一時停止するサスペンドコマンドを保持するラッチ回路と、
ラッチされた前記サスペンドコマンドに応答して、前記メモリ回路を一時停止状態とする前記外部制御信号を発生する組合せ論理回路とを備え、
前記ラッチ回路は、前記第2の外部クロック信号に応答して、前記サスペンドコマンドをラッチする、半導体記憶装置。
An external clock generation circuit for generating an external clock signal in synchronization with a clock signal from the outside of the device;
An external control signal generating circuit that takes in an external command given from outside the device in synchronization with the external clock signal, and generates an external control signal in response to the taken-in external command;
A memory circuit including a memory cell array and a read / write circuit that performs internal operations of data reading and data writing to the memory cell array;
Internal control signal generation that takes in the external control signal in synchronization with an internal clock signal that is asynchronous with the external clock signal, and generates an internal control signal for controlling the memory circuit in response to the taken-in external control signal Circuit,
A mode instruction signal generator for generating a mode instruction signal that enters a first logic state in response to the memory circuit entering an internal operation mode and enters a second logic state in response to the end of the internal operation mode; ,
An internal clock generation circuit for generating the internal clock signal in response to the mode instruction signal of the first logic state;
The external clock generation circuit includes:
An external clock signal generator for receiving / generating the external clock signal in response to the mode instruction signal;
A second external clock signal generator that is generated in synchronization with the device external clock signal independently of the mode instruction signal,
The external control signal generation circuit is
A latch circuit for holding a suspend command for temporarily suspending the internal operation mode;
A combinational logic circuit for generating the external control signal for suspending the memory circuit in response to the latched suspend command;
The semiconductor memory device, wherein the latch circuit latches the suspend command in response to the second external clock signal.
前記外部制御信号発生回路と前記内部制御信号発生回路との間に配され、前記外部制御信号発生回路および前記内部制御信号発生回路に対して、非同期の前記内部制御信号および前記外部制御信号をそれぞれ転送する非同期転送回路をさらに備え、
前記非同期転送回路は、
各々が、前記内部クロック信号に応答して前記外部制御信号をラッチする複数段のラッチ回路を備える、請求項1に記載の半導体記憶装置。
The internal control signal generation circuit and the internal control signal generation circuit are arranged between the external control signal generation circuit and the internal control signal generation circuit. It further includes an asynchronous transfer circuit for transferring,
The asynchronous transfer circuit includes:
2. The semiconductor memory device according to claim 1, further comprising a plurality of stages of latch circuits that latch the external control signal in response to the internal clock signal.
JP2009079996A 2009-03-27 2009-03-27 Semiconductor memory device Expired - Fee Related JP5042260B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009079996A JP5042260B2 (en) 2009-03-27 2009-03-27 Semiconductor memory device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009079996A JP5042260B2 (en) 2009-03-27 2009-03-27 Semiconductor memory device

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2003323130A Division JP4326294B2 (en) 2003-09-16 2003-09-16 Semiconductor memory device

Publications (2)

Publication Number Publication Date
JP2009146566A true JP2009146566A (en) 2009-07-02
JP5042260B2 JP5042260B2 (en) 2012-10-03

Family

ID=40916964

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009079996A Expired - Fee Related JP5042260B2 (en) 2009-03-27 2009-03-27 Semiconductor memory device

Country Status (1)

Country Link
JP (1) JP5042260B2 (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0628877A (en) * 1991-02-11 1994-02-04 Intel Corp Command state machine

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0628877A (en) * 1991-02-11 1994-02-04 Intel Corp Command state machine

Also Published As

Publication number Publication date
JP5042260B2 (en) 2012-10-03

Similar Documents

Publication Publication Date Title
US7609553B2 (en) NAND flash memory device with burst read latency function
KR100422572B1 (en) Register controlled delay locked loop and semiconductor device having the same
KR100989287B1 (en) Detection circuit for mixed asynchronous and synchronous memory operation
KR100491459B1 (en) Semiconductor memory device
JP4326294B2 (en) Semiconductor memory device
JP5282560B2 (en) Semiconductor device and system
KR101008993B1 (en) Pipe latch circuit and semiconbductor memory device using the same
JP2008305350A (en) Memory system, memory device, and method for controlling memory device
KR100832020B1 (en) Reset control circuit in semiconductor memory device
US8483005B2 (en) Internal signal generator for use in semiconductor memory device
US10475492B1 (en) Circuit and method for read latency control
KR100718038B1 (en) Circuit for selecting bank in semiconductor memory apparatus
JP4848564B2 (en) Reset control circuit for semiconductor memory device
KR100748461B1 (en) Circuit and method for inputting data in semiconductor memory apparatus
JP5042260B2 (en) Semiconductor memory device
JP4759717B2 (en) Synchronous nonvolatile memory and memory system
JP2009026370A (en) Synchronous type storage device and its control method
JP2008181614A (en) Semiconductor memory
JP4558438B2 (en) Pass gate circuit that operates stably in transition period of input signal, self-refresh circuit including the same, and control method of pass gate circuit
KR100656469B1 (en) Apparatus for controlling power down of semiconductor memory
US8059483B2 (en) Address receiving circuit for a semiconductor apparatus
JP2003288202A (en) Display control semiconductor integrated circuit with single-port ram built therein
KR100924017B1 (en) Auto precharge circuit and method for auto precharge
JP2008310371A (en) Synchronous memory controller, synchronous memory, and its control method
KR101735082B1 (en) Circuit and method for delaying internal write signal of memory device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20090327

A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A712

Effective date: 20100609

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110830

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20111026

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20120221

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20120312

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20120703

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20120710

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20150720

Year of fee payment: 3

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

LAPS Cancellation because of no payment of annual fees