JP5514095B2 - Semiconductor memory device - Google Patents

Semiconductor memory device Download PDF

Info

Publication number
JP5514095B2
JP5514095B2 JP2010287858A JP2010287858A JP5514095B2 JP 5514095 B2 JP5514095 B2 JP 5514095B2 JP 2010287858 A JP2010287858 A JP 2010287858A JP 2010287858 A JP2010287858 A JP 2010287858A JP 5514095 B2 JP5514095 B2 JP 5514095B2
Authority
JP
Japan
Prior art keywords
mode
signal
command
data
state
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2010287858A
Other languages
Japanese (ja)
Other versions
JP2011086375A (en
Inventor
立 真壁
正樹 築出
広利 佐藤
真一 小林
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 Electronics Corp
Original Assignee
Renesas Electronics 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 Electronics Corp filed Critical Renesas Electronics Corp
Priority to JP2010287858A priority Critical patent/JP5514095B2/en
Publication of JP2011086375A publication Critical patent/JP2011086375A/en
Application granted granted Critical
Publication of JP5514095B2 publication Critical patent/JP5514095B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Description

この発明は、半導体記憶装置に関し、特に、スタティック・ランダム・アクセス・メモリ(SRAM)と互換性を有するSRAM代替メモリに関する。より特定的には、この発明は、SRAM代替メモリの特定モードエントリのための構成に関する。   The present invention relates to a semiconductor memory device, and more particularly to an SRAM alternative memory that is compatible with a static random access memory (SRAM). More specifically, the present invention relates to a configuration for a specific mode entry of an SRAM alternative memory.

携帯機器の用途においては、内部メモリとして高速動作性のためにSRAM(スタティック・ランダム・アクセス・メモリ)が利用されている。しかしながら、SRAMはメモリセルが、4個のトランジスタと2個の負荷素子とで構成されており、その占有面積が大きく、限られた面積内で大記憶容量のメモリを実現するのが困難である。   In applications of portable devices, SRAM (Static Random Access Memory) is used as an internal memory for high speed operation. However, the SRAM has a memory cell composed of four transistors and two load elements, which occupies a large area, and it is difficult to realize a memory with a large storage capacity within a limited area. .

携帯機器の高機能化により、画像データおよび音声データを処理する必要があり、その処理データ量が膨大なものとなり、この携帯機器の記憶装置として、大記憶容量のメモリが要求される。SRAMを用いた場合、この大記憶容量のメモリを小占有面積で低減するのが困難であり、高機能携帯機器の小型軽量化の要求を満たすことができなくなる。   Due to the high functionality of portable devices, it is necessary to process image data and audio data, and the amount of processed data becomes enormous, and a memory having a large storage capacity is required as a storage device of this portable device. When an SRAM is used, it is difficult to reduce the memory with a large storage capacity with a small occupation area, and it becomes impossible to satisfy the demand for reducing the size and weight of high-performance portable devices.

ダイナミック・ランダム・アクセス・メモリ(DRAM)は、メモリセルが1個のトランジスタと1個のキャパシタとで構成されており、メモリセルの占有面積が、SRAMに比べて小さいという利点を有している。すなわち、DRAMは、小占有面積で大記憶容量のメモリを構成するのには適している。しかしながら、DRAMは、データをキャパシタに記憶しているため、リーク電流により記憶データが消失するため、定期的に記憶データの保持をするためのリフレッシュを行なう必要がある。このリフレッシュの実行時においては、プロセッサなどの外部装置は、DRAMへアクセスすることができず、ウェイト状態となるため、システムの処理効率が低下する。   A dynamic random access memory (DRAM) has an advantage that a memory cell is composed of one transistor and one capacitor, and the area occupied by the memory cell is smaller than that of an SRAM. . That is, the DRAM is suitable for constituting a memory having a small occupation area and a large storage capacity. However, since DRAM stores data in a capacitor, the stored data is lost due to a leak current. Therefore, it is necessary to periodically refresh the stored data. When this refresh is executed, an external device such as a processor cannot access the DRAM and enters a wait state, so that the processing efficiency of the system decreases.

また、DRAMは、携帯機器における待ち受け時間などにおいては、スリープモードが指定され、スタンバイ状態に保持される。しかしながら、このようなスリープモード時においても、記憶データを保持する必要があり、定期的にリフレッシュを行なう必要がある。このため、スリープモード時において仕様などにより要求されるμAオーダの超低スタンバイ電流条件を満たすことができなくなる。   In addition, the DRAM is designated as a sleep mode during a standby time in a portable device and is held in a standby state. However, even in such a sleep mode, it is necessary to retain stored data, and it is necessary to periodically refresh. For this reason, the ultra-low standby current condition of μA order required by the specification or the like in the sleep mode cannot be satisfied.

大記憶容量のメモリを、小占有面積で増大させるためには、DRAMベースのメモリを利用する必要がある。しかしながら、このようなDRAMベースのメモリ(以下、SRAM代替メモリと称す)を使用する場合、従来のシステム構成を大幅に変更することなく、メモリの置換をすることが要求される。すなわち、ピンの互換性が要求される。ここで「メモリ」とは、ピン端子を介して外部のプロセッサなどの装置に接続される記憶装置を示す。   In order to increase a memory having a large storage capacity with a small occupied area, it is necessary to use a DRAM-based memory. However, when such a DRAM-based memory (hereinafter referred to as an SRAM alternative memory) is used, it is required to replace the memory without significantly changing the conventional system configuration. That is, pin compatibility is required. Here, the “memory” indicates a storage device connected to a device such as an external processor via a pin terminal.

また、SRAMは、システムクロックなどのクロック信号に同期して動作するクロック同期型メモリと異なり、外部制御信号に従ってスタティックに動作している。したがって、SRAM代替メモリも、外部プロセサの負荷を増大させるのを防止するために、SRAMと同じ動作条件(信号タイミング)で動作することが要求される。   The SRAM operates statically according to an external control signal, unlike a clock synchronous memory that operates in synchronization with a clock signal such as a system clock. Accordingly, the SRAM alternative memory is also required to operate under the same operating conditions (signal timing) as the SRAM in order to prevent an increase in the load on the external processor.

特に、SRAM代替メモリにおいてさまざまな動作モードを指定する場合、ピンの互換性から、従来のSRAMに準備されている信号を利用して設定する必要がある。特に、従来のSRAMにおいて準備されていない動作モードを指定する場合、SRAMにおいて使用される信号は、通常、チップイネーブル信号CE、出力イネーブル信号OE、および書き込みイネーブル信号WEであり、ある特定の動作モードエントリのために複雑な信号タイミング関係を使用することはできない。また、通常のSRAMに用いられている信号のタイミングと異なる信号のタイミング関係により特定の動作モードを指定する場合、メモリコントローラなどの外部装置に新たな機能を設ける必要があり、従来のSRAMとの互換性を維持することができず、また外部装置の負荷が増大する。   In particular, when various operation modes are designated in the SRAM alternative memory, it is necessary to set using a signal prepared in the conventional SRAM because of pin compatibility. In particular, when an operation mode not prepared in the conventional SRAM is specified, signals used in the SRAM are usually a chip enable signal CE, an output enable signal OE, and a write enable signal WE, and a specific operation mode. Complex signal timing relationships cannot be used for entry. In addition, when a specific operation mode is designated by a signal timing relationship different from the signal timing used in a normal SRAM, it is necessary to provide a new function in an external device such as a memory controller. Compatibility cannot be maintained, and the load on the external device increases.

それゆえ、この発明の目的は、SRAMとピンの互換性のあるSRAM代替メモリを提供することである。   Therefore, it is an object of the present invention to provide an SRAM alternative memory that is pin-compatible with SRAM.

この発明の他の目的は、SRAMと同様の信号を利用して内部動作モードを指定することのできる半導体記憶装置を提供することである。   Another object of the present invention is to provide a semiconductor memory device capable of specifying an internal operation mode using a signal similar to that of an SRAM.

この発明のさらに他の目的は、クロック信号と非同期で特定の動作モードをピン端子数を増設することなく指定することのできる半導体記憶装置を提供することである。   Still another object of the present invention is to provide a semiconductor memory device capable of designating a specific operation mode asynchronously with a clock signal without increasing the number of pin terminals.

この発明のさらに他の目的は、SRAMと互換性のあるインターフェイスを用いて、特定の動作モードを指定するコマンドエントリモードを設定する回路を備える半導体記憶装置を提供することである。   Still another object of the present invention is to provide a semiconductor memory device including a circuit for setting a command entry mode for designating a specific operation mode using an interface compatible with SRAM.

この発明に係る半導体記憶装置は、通常動作モード時、複数の外部信号端子に入力される所定の信号パターンに従ってアクセスされる半導体記憶装置であり、複数の外部信号端子に該所定の信号パターンと異なる信号パターンを入力されることに応じて通常動作モードからコマンドモードに遷移させる信号を生成し、該コマンドモードにおいて、複数の外部信号端子のアドレスおよびデータ端子から入力される第1の信号パターンをデコードして、内部を低消費電力状態に設定する信号を生成し、該アドレスおよびデータ端子から入力される第1の信号パターンと異なる第2の信号パターンをデコードして半導体記憶装置をコマンドモードのコマンドを受け付けるコマンドスタンバイ状態から通常動作モードに遷移させる信号を生成するモード制御回路を含む。 The semiconductor memory device according to the present invention is a semiconductor memory device that is accessed according to a predetermined signal pattern input to a plurality of external signal terminals in a normal operation mode, and the plurality of external signal terminals are different from the predetermined signal pattern. in response to the input signal patterns to generate a signal to transition from the normal operation mode to the command mode, in the command mode, the first signal pattern input from the address and data terminals of the external signal terminals multiple A signal for setting the inside to a low power consumption state is generated by decoding, and a second signal pattern different from the first signal pattern inputted from the address and data terminals is decoded to make the semiconductor memory device in the command mode. motor for generating a signal to transition to the normal operation mode from the command standby state to accept commands And a control circuit.

好ましくは、モード制御回路は、コマンドスタンバイ状態の他に、内部電源の供給の遮断を指定するパワーダウンモード、このパワーダウンモードを完了させるウェイクアップモード、内部を初期状態にセットするリセットモード、データ保持モード時におけるデータ保持領域の指定をするモード、およびコマンドモードから通常モードへ遷移させるイグジットモードのいずれかを活性化する。 Preferably, the mode control circuit includes, in addition to the command standby state, a power down mode for designating interruption of the supply of internal power, a wake up mode for completing the power down mode, a reset mode for setting the interior to an initial state, data Either the mode for designating the data holding area in the holding mode or the exit mode for transitioning from the command mode to the normal mode is activated.

特定モードは、この通常動作モード時に行なわれるアクセスシーケンスと異なるアクセスシーケンスが行なわれたときに指定される。   The specific mode is specified when an access sequence different from the access sequence performed in the normal operation mode is performed.

特定の外部信号の状態に従って内部状態を設定することにより、従来のSRAMの信号を利用して、内部状態を所望の状態に設定することができ、従来のSRAMと互換性を有する半導体記憶装置を実現することができる。   By setting the internal state in accordance with the state of a specific external signal, the internal state can be set to a desired state using the signal of the conventional SRAM, and a semiconductor memory device compatible with the conventional SRAM is provided. Can be realized.

また、連続して特定の状態が所定回数繰返し実行されたときに特定モードに入るように構成することにより、通常モード時に誤ってこの特定モードに入るのを防止でき、安定に動作する半導体記憶装置を実現することができる。   Further, by configuring so that the specific mode is entered when a specific state is repeatedly executed a predetermined number of times in succession, it is possible to prevent erroneous entry into the specific mode during the normal mode, and to operate stably. Can be realized.

以上のように、通常動作モード時に使用されないシーケンスに従って特定の動作モードを指定しており、特定の動作モード指定のために新たなピン端子を設ける必要がなく、従来のSRAMとピンの互換性を維持することのできるSRAM代替の半導体記憶装置を実現することができる。   As described above, a specific operation mode is designated according to a sequence not used in the normal operation mode, and there is no need to provide a new pin terminal for designating a specific operation mode, so that compatibility between the conventional SRAM and the pin is achieved. It is possible to realize an alternative semiconductor memory device of SRAM that can be maintained.

すなわち、予め定められた組の外部信号を特定の論理状態の組合せで連続して所定回数印加し、これにより特定モードを設定することにより、外部信号として、通常モード時に使用される信号を使用することができ、ピン端子数を増加させることなく、また、システムクロックなどのクロック信号を使用することなく、非同期で特定モードを設定することができる。   That is, a predetermined set of external signals are continuously applied a predetermined number of times in a specific logic state combination, thereby setting a specific mode, thereby using a signal used in the normal mode as an external signal. The specific mode can be set asynchronously without increasing the number of pin terminals and without using a clock signal such as a system clock.

また、この外部信号として、アドレス信号を使用することにより、数多くの信号を用いて正確にある状態を設定する事ができ、確実に、特定モード設定のためのシーケンスを設定することができる。   In addition, by using an address signal as the external signal, a certain state can be accurately set using a large number of signals, and a sequence for setting a specific mode can be surely set.

また、このアドレス信号を特定のアドレスを指定する状態とすることにより、通常モード時において、特定アドレスを連続アクセスする回数よりもより数多くの回数アクセスすることにより、確実に、通常動作モード時に悪影響を及ぼすことなく特定モードの設定を行なうことができる。   In addition, by setting this address signal to a state in which a specific address is designated, in the normal mode, the specific address is accessed more times than the number of times of continuous access, so that adverse effects can be ensured in the normal operation mode. It is possible to set a specific mode without affecting.

またこの特定アドレスとして最終アドレスを使用することにより、容易に、通常モード時においてそれほど使用されないアドレスへのアクセスにより、確実に、特定モードエントリのモードと、通常モードとの区別を行なうことができる。   Further, by using the last address as the specific address, it is possible to easily and reliably distinguish the mode of the specific mode entry from the normal mode by accessing an address that is not so used in the normal mode.

さらに、動作モード指示信号を使用して、特定のデータの書込または読出を外部信号を用いて使用することにより、正確に、システムクロックなどのクロックと非同期で、アクセスが行なわれたことを検出して、特定モードへエントリすることができる。   In addition, by using the operation mode instruction signal and writing or reading specific data using an external signal, it is accurately detected that access has been performed asynchronously with a clock such as the system clock. Then, it is possible to enter the specific mode.

この動作モードとして、データ読出を指示する読出モードを使用することにより、たとえ特定アドレスのデータが通常モード時使用される場合であっても、そのデータの破壊を生じることなく、特定モードに入ることができる。   By using a read mode that instructs data reading as this operation mode, even if the data at a specific address is used in the normal mode, the specific mode can be entered without causing destruction of the data. Can do.

また、特定アドレスが連続して所定回数アクセスすることにより特定モードを設定し、この特定モード時に、内部状態を所定状態に設定するモード手段を動作可能とすることにより、容易に、通常アクセスと異なるアクセスシーケンスで特定モードを設定して内部状態を、余分の信号を追加することなく所定の状態に設定することができる。   In addition, a specific mode is set by continuously accessing a specific address a predetermined number of times, and in this specific mode, mode means for setting the internal state to a predetermined state can be operated, thereby easily different from normal access. A specific mode can be set in the access sequence to set the internal state to a predetermined state without adding an extra signal.

また、このモード手段を、外部からの複数ビットのコマンドをデコードして動作モード指示信号を生成する構成とすることにより、コマンドモードエントリ時において、確実に、外部からの複数ビットの信号により動作状態を設定することができる。   In addition, this mode means is configured to generate an operation mode instruction signal by decoding a command of a plurality of bits from the outside, so that the operation state can be ensured by a signal of a plurality of bits from the outside during command mode entry. Can be set.

また、特定モード時に、複数の所定の外部信号をデコードして内部を所定の状態に設定する信号を生成するコマンドデコーダを設けることにより、このスタンバイ状態時に関連する動作を通常の外部信号を使用して設定することができ、新たにこのスタンバイ状態に関連する動作を、特定のピン端子を用いて設定する必要がなく、ピンの互換性を有する半導体記憶装置を実現することができる。   In addition, by providing a command decoder that generates a signal that decodes a plurality of predetermined external signals and sets the internal state to a predetermined state in a specific mode, the operation related to this standby state uses normal external signals. It is not necessary to newly set an operation related to the standby state using a specific pin terminal, and a semiconductor memory device having pin compatibility can be realized.

また、コマンドデコーダが、内部電源供給が遮断指定するパワーダウンモード、パワーダウンモードを完了されるウェイクアップモード、内部を初期状態にセットするリセットモードおよびデータ保持モードにおけるデータ保持モードにおけるデータ保持領域の指定およびコマンドモードの完了を指定するイグジットモードのいずれかを活性化することにより、これらの、通常動作時に使用されるピン端子を用いて、所望の動作モードを設定することができる。   In addition, the command decoder has a data holding area in the data holding mode in the power holding mode in which the internal power supply is cut off, the wake up mode in which the power down mode is completed, the reset mode in which the internal is set to the initial state, and the data holding mode. By activating either the designation mode or the exit mode designating completion of the command mode, a desired operation mode can be set using these pin terminals used during normal operation.

また、この特定モードを通常動作モード時に行なわれるアクセスシーケンスと異なるシーケンスでアクセスが行なわれたときに指定することにより、追加の専用の信号を利用することなく、この特定モードを設定することができる。この特定モードを、予め定められたアドレスが連続して所定回数アクセスされたときにすることにより、確実に、通常動作モードに悪影響を及ぼすことなく特定モードの設定を行なうことができる。   Further, by specifying this specific mode when access is performed in a sequence different from the access sequence performed in the normal operation mode, this specific mode can be set without using an additional dedicated signal. . By setting this specific mode when a predetermined address is continuously accessed a predetermined number of times, it is possible to reliably set the specific mode without adversely affecting the normal operation mode.

また、予め定められた組の外部信号が特定の論理状態の組合せで連続して所定回数印加されたときに、特定のモードに入り、この特定のモード時、外部信号のうちの所定の複数外部信号をデコードして、内部を所定の状態に設定することにより、何ら新たな追加の信号を利用することなく、内部を所望の状態に設定することができる。   In addition, when a predetermined set of external signals are continuously applied a predetermined number of times in a specific logic state combination, a specific mode is entered. By decoding the signal and setting the inside to a predetermined state, the inside can be set to a desired state without using any new additional signals.

また、連続アクセスとして、特定のアドレスをアクセスすることにより、容易に、特定モードに設定することができる。   In addition, as a continuous access, a specific mode can be easily set by accessing a specific address.

また、コマンドにより、内部状態を初期状態に設定するソフトウェアリセットモード、内部の所定の回路に対する電源供給を停止するパワーダウンモード、およびこのパワーダウンを停止させるウェイクアップモードおよび内部リセット、データ保持領域の指定および、コマンドモードの完了のいずれかを行なうことにより、通常のアクセス時に使用される外部信号を使用して、内部状態を所望の状態に設定することができる。   Also, a software reset mode for setting the internal state to an initial state by a command, a power-down mode for stopping power supply to a predetermined internal circuit, a wake-up mode for stopping this power-down and an internal reset, and a data holding area By performing either designation or completion of the command mode, it is possible to set the internal state to a desired state using an external signal used during normal access.

また、指定された動作モードに従って内部状態を設定する回路を設ける事により、確実にコマンドにより指定された状態を設定する事ができる。   In addition, by providing a circuit for setting the internal state in accordance with the designated operation mode, the state designated by the command can be reliably set.

また、外部信号が所定の条件を満たすときに、内部状態を特定の状態に指定する信号を生成する事により、確実に内部状態してのためのコマンドと他の信号とを識別する事ができ、高信頼度で、内部状態を所定の状態に設定する事ができる。   In addition, when an external signal satisfies a predetermined condition, a signal for designating the internal state to a specific state can be generated, so that the command for setting the internal state and other signals can be reliably identified. The internal state can be set to a predetermined state with high reliability.

この発明の実施の形態1に従う半導体記憶装置の全体の構成を概略的に示す図である。1 schematically shows an entire configuration of a semiconductor memory device according to a first embodiment of the invention. FIG. 図1に示す半導体記憶装置のデータ読出動作を示す信号波形図である。FIG. 2 is a signal waveform diagram representing a data read operation of the semiconductor memory device shown in FIG. 1. 図1に示す半導体記憶装置のデータ書込時の動作を示す信号波形図である。FIG. 3 is a signal waveform diagram representing an operation during data writing of the semiconductor memory device shown in FIG. 1. 図1に示すモード制御回路の構成を概略的に示す図である。FIG. 2 is a diagram schematically showing a configuration of a mode control circuit shown in FIG. 1. (A)は、図4に示すコマンドモード検出回路の構成を概略的に示し、(B)は、図5(A)に示すシフトレジスタの構成を概略的に示す図である。(A) schematically shows a configuration of the command mode detection circuit shown in FIG. 4, and (B) schematically shows a configuration of the shift register shown in FIG. 5 (A). 図5(A)および(B)に示すコマンドモード検出回路の動作を示すタイミング図である。FIG. 6 is a timing chart showing an operation of the command mode detection circuit shown in FIGS. 5 (A) and 5 (B). コマンドモードエントリ時の状態遷移を示す図である。It is a figure which shows the state transition at the time of command mode entry. 図4に示すモードデコード回路の構成を概略的に示す図である。FIG. 5 schematically shows a configuration of a mode decoding circuit shown in FIG. 4. 図8に示すモードデコード回路の動作を示すタイミング図である。FIG. 9 is a timing chart showing an operation of the mode decoding circuit shown in FIG. 8. 図8に示すシフトレジスタおよびコマンドデコーダおよびコマンドセット回路の構成の一例を具体的に示す図である。FIG. 9 is a diagram specifically illustrating an example of a configuration of a shift register, a command decoder, and a command set circuit illustrated in FIG. 8. この発明に従う半導体記憶装置のコマンドモードの状態遷移を示す図である。It is a figure which shows the state transition of the command mode of the semiconductor memory device according to this invention. この発明に従う半導体記憶装置のウェイクアップシーケンスを示すフロー図である。FIG. 7 is a flowchart showing a wake-up sequence of the semiconductor memory device according to the present invention. この発明に従う半導体記憶装置の電源投入シーケンスを示すフロー図である。FIG. 7 is a flowchart showing a power-on sequence of the semiconductor memory device according to the present invention. 図1に示す状態制御回路のパワーダウンに関連する部分の構成を概略的に示す図である。It is a figure which shows schematically the structure of the part relevant to the power down of the state control circuit shown in FIG. 図1に示す状態制御回路のソフトウェアリセットに関連する部分の構成を概略的に示す図である。It is a figure which shows schematically the structure of the part relevant to the software reset of the state control circuit shown in FIG. 図15に示す状態制御回路の動作を示す信号波形図である。FIG. 16 is a signal waveform diagram illustrating an operation of the state control circuit illustrated in FIG. 15. この発明に従う半導体記憶装置のメモリセルアレイの構成を概略的に示す図である。1 schematically shows a configuration of a memory cell array of a semiconductor memory device according to the present invention. FIG. 図1に示す内部制御信号発生回路のリフレッシュに関連する部分の構成を概略的に示す図である。FIG. 2 schematically shows a configuration of a portion related to refresh of the internal control signal generation circuit shown in FIG. 1. 図18に示すリフレッシュブロックアドレス発生回路の構成を概略的に示す図である。FIG. 19 schematically shows a configuration of a refresh block address generation circuit shown in FIG. 18. 図19に示すバイパス機能付シフトレジスタの1段のレジスタ段の構成を概略的に示す図である。FIG. 20 is a diagram schematically showing a configuration of one register stage of the shift register with a bypass function shown in FIG. 19. 図19に示すブロックアドレスレジスタ回路の構成を概略的に示す図である。FIG. 20 schematically shows a configuration of a block address register circuit shown in FIG. 19. この発明の実施の形態2のコマンドモード検出回路の要部の構成を概略的に示す図である。It is a figure which shows schematically the structure of the principal part of the command mode detection circuit of Embodiment 2 of this invention.

[実施の形態1]
図1は、この発明の実施の形態1に従う半導体記憶装置の全体の構成を概略的に示す図である。図1において、半導体記憶装置1は、行列状に配列される複数のメモリセルを有するメモリセルアレイ2と、外部からのアドレス信号ビットA7−A19を受けて内部行アドレス信号RAを生成する行アドレスバッファ3と、外部からのアドレス信号ビットA0−A6を受けて内部列アドレス信号CAを生成する列アドレスバッファ4と、内部行アドレス信号RAをデコードし、メモリセルアレイ2の行を選択する行デコーダ5と、内部列アドレス信号CAをデコードして、メモリセルアレイ2の列を選択するための列選択信号を生成する列デコーダ6と、行デコーダ5により選択された行上のメモリセルのデータを検知し増幅しかつラッチするセンスアンプと、列デコーダ6からの列選択信号に従ってメモリセルアレイ2の選択列を内部データ線(IO線)に結合するIOゲートを含む。図1においては、これらのセンスアンプおよびIOゲートを、1つのブロック7で示す。
[Embodiment 1]
FIG. 1 schematically shows an overall configuration of the semiconductor memory device according to the first embodiment of the present invention. In FIG. 1, a semiconductor memory device 1 includes a memory cell array 2 having a plurality of memory cells arranged in a matrix, and a row address buffer that receives internal address signal bits A7-A19 and generates an internal row address signal RA. 3, a column address buffer 4 that receives external address signal bits A 0 to A 6 and generates an internal column address signal CA, and a row decoder 5 that decodes the internal row address signal RA and selects a row of the memory cell array 2. The column decoder 6 that decodes the internal column address signal CA to generate a column selection signal for selecting a column of the memory cell array 2 and the data in the memory cells on the row selected by the row decoder 5 are detected and amplified. The selected column of the memory cell array 2 is internally deselected according to the sense amplifier for latching and the column selection signal from the column decoder 6. Including IO gate for coupling to the data line (IO line). In FIG. 1, these sense amplifiers and IO gates are indicated by one block 7.

半導体記憶装置1は、さらに、データ書込時下位バイトデータDQ0−DQ7を書込む下位入力バッファ8と、データ読出時、下位バイトデータを外部へ出力する下位出力バッファ9と、データ書込時、上位バイトデータDQ8−DQ15を取込み内部書込データを生成する上位入力バッファ10と、データ読出時、上位バイトデータDQ8−DQ15を出力する上位出力バッファ11と、外部からの制御信号、すなわちチップイネーブル信号CE♯、出力イネーブル信号OE♯、書込イネーブル信号WE♯、下位バイトイネーブル信号LB♯、および上位バイトイネーブル信号UB♯に従って各種内部動作を制御する信号を生成する内部制御信号発生回路12を含む。   Semiconductor memory device 1 further includes a lower input buffer 8 for writing lower byte data DQ0 to DQ7 at the time of data writing, a lower output buffer 9 for outputting lower byte data to the outside at the time of data reading, A high-order input buffer 10 that takes in the high-order byte data DQ8 to DQ15 and generates internal write data, a high-order output buffer 11 that outputs high-order byte data DQ8 to DQ15 when reading data, and an external control signal, that is, a chip enable signal CE #, output enable signal OE #, write enable signal WE #, lower byte enable signal LB #, and upper byte enable signal UB #, an internal control signal generating circuit 12 that generates signals for controlling various internal operations.

チップイネーブル信号CE♯は、Lレベルのときに、この半導体記憶装置1が選択されたことを示し、このチップイネーブル信号CE♯がLレベルのときに、この半導体記憶装置1に対しアクセスすることができる。出力イネーブル信号OE♯は、Lレベルのときに、データ読出モードを指定する。書込イネーブル信号WE♯は、Lレベルのときに、データ書込動作を指定する。下位バイトイネーブル信号LB♯は、Lレベルのときに、下位バイトデータDQ0−DQ7が有効であることを示し、上位バイトイネーブル信号UB♯は、上位バイトデータDQ8−DQ15が有効であることを示す。   When chip enable signal CE # is at L level, it indicates that semiconductor memory device 1 is selected. When chip enable signal CE # is at L level, semiconductor memory device 1 can be accessed. it can. Output enable signal OE # designates the data read mode when L level. Write enable signal WE # designates a data write operation when L level. Lower byte enable signal LB # indicates that lower byte data DQ0-DQ7 is valid when L level, and upper byte enable signal UB # indicates that upper byte data DQ8-DQ15 is valid.

内部制御信号発生回路12は、このチップイネーブル信号CE♯、出力イネーブル信号OE♯および書込イネーブル信号WE♯に従って、行アドレスバッファ3、列アドレスバッファ4、行デコーダ5、列デコーダ6、およびセンスアンプ/IOゲートブロック7の動作を制御する。この内部制御信号発生回路12は、さらに、上位バイトイネーブル信号UB♯および下位バイトイネーブル信号LB♯に従って、動作モードに応じて、下位入力バッファ8、下位出力バッファ9、上位入力バッファ10、上位出力バッファ11の活性/非活性を制御する。   Internal control signal generation circuit 12 is responsive to chip enable signal CE #, output enable signal OE #, and write enable signal WE # to provide row address buffer 3, column address buffer 4, row decoder 5, column decoder 6, and sense amplifier. / Controls the operation of the IO gate block 7. Internal control signal generation circuit 12 further includes lower input buffer 8, lower output buffer 9, upper input buffer 10, and upper output buffer according to the operation mode in accordance with upper byte enable signal UB # and lower byte enable signal LB #. 11 activity / inactivity is controlled.

半導体記憶装置1は、さらに、外部からの制御信号CE♯、OE♯およびWE♯とアドレス信号A0−A19とデータビットDQ0−DQ15を受け、この半導体記憶装置1を特定の動作モードに設定するモード制御回路20と、モード制御回路20からのモード設定信号MDに従って、この半導体記憶装置1の内部状態を指定された状態に設定する状態制御回路22を含む。   Semiconductor memory device 1 further receives external control signals CE #, OE # and WE #, address signals A0-A19 and data bits DQ0-DQ15, and sets the semiconductor memory device 1 to a specific operation mode. A control circuit 20 and a state control circuit 22 for setting the internal state of the semiconductor memory device 1 to a designated state according to a mode setting signal MD from the mode control circuit 20 are included.

モード制御回路20は、その構成は後に詳細に説明するが、通常アクセスモード時に、使用されないアクセスシーケンスでこの半導体記憶装置1へアクセスが行なわれたときに、この半導体記憶装置1は、コマンドモードに入り、特定の内部状態を指定するコマンドを受付ける状態となる。この状態において、特定のアドレスを指定して、データビットDQ0−DQ15を用いて内部状態を指定するコマンドを与える。このコマンドのデコード結果に従って内部状態設定信号(モード設定信号)MDが生成される。   The mode control circuit 20 will be described in detail later, but when the semiconductor memory device 1 is accessed in an access sequence that is not used in the normal access mode, the semiconductor memory device 1 enters the command mode. Enters and accepts commands that specify a particular internal state. In this state, a specific address is designated and a command for designating the internal state is given using data bits DQ0 to DQ15. An internal state setting signal (mode setting signal) MD is generated according to the decoding result of this command.

状態制御回路22は、モード制御回路20からの状態制御信号MDに従って内部状態を、たとえば初期状態、およびパワーダウン状態などの状態に設定する。この状態制御回路22は、内部状態としては、スタンバイ状態などの低消費電力が要求される動作モードに関連する内部状態を設定する。これらの構成については後に詳細に説明する。内部状態の設定のために外部からのコマンドを利用することにより、パワーダウンなどの状態の指定のために、専用のピン端子を利用する必要がない。また、データアクセスを行なう通常動作モード時と同じ信号のタイミング関係で所望の動作モードを指定することができ、外部のメモリコントローラなどは、プログラムの変更のみで所望の動作モードを指定することができ、従来の外部装置の内部構成を大幅に変更する必要がなく、従来のメモリとの互換性を容易に維持することができる。   State control circuit 22 sets the internal state to a state such as an initial state and a power-down state, for example, according to state control signal MD from mode control circuit 20. The state control circuit 22 sets an internal state related to an operation mode in which low power consumption is required, such as a standby state, as the internal state. These configurations will be described in detail later. By using a command from the outside for setting the internal state, it is not necessary to use a dedicated pin terminal for specifying a state such as power down. In addition, the desired operation mode can be specified with the same signal timing relationship as in the normal operation mode for data access, and the external memory controller can specify the desired operation mode only by changing the program. Therefore, it is not necessary to significantly change the internal configuration of the conventional external device, and compatibility with the conventional memory can be easily maintained.

図2は、図1に示す半導体記憶装置1のデータ読出時の動作を示す信号波形図である。図2において、チップイネーブル信号CE♯をLレベルに設定し、また、上位バイトデータおよび下位バイトデータを指定する上位バイトイネーブル信号UB♯および下位バイトイネーブル信号LB♯を読出すデータビットに応じてLレベルに設定する。この状態で、アドレス信号ビットA0−A19を設定し、続いて、出力イネーブル信号OE♯をLレベルに設定する。ライトイネーブル信号WE♯はHレベルに維持する。   FIG. 2 is a signal waveform diagram representing an operation at the time of data reading of semiconductor memory device 1 shown in FIG. In FIG. 2, chip enable signal CE # is set at L level, and upper byte enable signal UB # designating upper byte data and lower byte data and L byte according to data bits for reading lower byte enable signal LB # are read out. Set to level. In this state, address signal bits A0 to A19 are set, and subsequently output enable signal OE # is set to L level. Write enable signal WE # is maintained at the H level.

出力イネーブル信号OE♯のLレベルへの立下がりをトリガとして、内部制御信号発生回路12の制御の下に、行アドレスバッファ3および列アドレスバッファ4が外部からのアドレス信号ビットA19−A0を取込み、内部行アドレス信号RAおよび内部列アドレス信号CAをそれぞれ生成する。これらの内部行アドレス信号RAおよび内部列アドレス信号CAに従って行デコーダ5および列デコーダ6が、内部制御信号発生回路12の制御の下に、それぞれ所定のタイミングでデコード動作を行なって、メモリセルの選択を行なって、選択メモリセルのデータを読出す。   Triggered by the fall of output enable signal OE # to L level, row address buffer 3 and column address buffer 4 take in external address signal bits A19-A0 under the control of internal control signal generation circuit 12, Internal row address signal RA and internal column address signal CA are generated. In accordance with internal row address signal RA and internal column address signal CA, row decoder 5 and column decoder 6 perform decoding operations at predetermined timings under the control of internal control signal generation circuit 12, respectively, to select memory cells. To read the data in the selected memory cell.

上位バイトイネーブル信号UB♯がHレベルのときには、上位バイトデータDQ8−DQ15はハイインピーダンス状態となり、下位バイトイネーブル信号LB♯をLレベルに設定すると、下位バイトデータDQ0−DQ7に、有効データが読出される。外部データは、出力イネーブル信号OE♯がHレベルに立上がってから、出力回路がディスエーブル状態と設定されるまでの期間、有効状態を維持する。   When the upper byte enable signal UB # is at the H level, the upper byte data DQ8 to DQ15 are in a high impedance state, and when the lower byte enable signal LB # is set to the L level, valid data is read into the lower byte data DQ0 to DQ7. The The external data is kept valid for a period from when the output enable signal OE # rises to the H level until the output circuit is set to the disabled state.

図3は、図1に示す半導体記憶装置1のデータ書込時の動作を示す信号波形図である。図3に示すように、データ書込時においても、上位バイトイネーブル信号UB♯および下位バイトイネーブル信号LB♯に従って、上位バイトデータおよび下位バイトデータの有効/無効が指定される。チップイネーブル信号CE♯がLレベルになると、この半導体記憶装置1に対するアクセスが可能である。データ書込時においては、ライトイネーブル信号WE♯をLレベルに立下げる。このライトイネーブル信号WE♯の立下がりをトリガとして、外部からのアドレス信号ビットA19−A0が内部に取込まれ、内部行アドレス信号RAおよび内部列アドレス信号CAが生成され、図1に示す行デコーダ5および列デコーダ6により、メモリセルの選択動作が行なわれる。この外部からのデータビットDQ0−DQ15が、上位バイトイネーブル信号UB♯および下位バイトイネーブル信号LB♯に従って、選択的に内部に書込まれる。   FIG. 3 is a signal waveform diagram representing an operation during data writing of semiconductor memory device 1 shown in FIG. As shown in FIG. 3, the validity / invalidity of the upper byte data and the lower byte data is designated in accordance with the upper byte enable signal UB # and the lower byte enable signal LB # even during data writing. When the chip enable signal CE # becomes L level, the semiconductor memory device 1 can be accessed. At the time of data writing, write enable signal WE # is lowered to L level. Triggered by the fall of write enable signal WE #, external address signal bits A19-A0 are taken in to generate internal row address signal RA and internal column address signal CA, and the row decoder shown in FIG. 5 and column decoder 6 perform a memory cell selection operation. These external data bits DQ0-DQ15 are selectively written internally in accordance with upper byte enable signal UB # and lower byte enable signal LB #.

データビットDQ0−DQ15は、ライトイネーブル信号WE♯の立上がりに対しセットアップ時間tsuおよびホールド時間thdが要求される。図1に示す半導体記憶装置1は、DRAMベースの半導体記憶装置であり、内部で、行選択動作および列選択動作が、時分割的に実行されている。したがって、ライトイネーブル信号WE♯またはリードイネーブル信号OE♯によりデータアクセスが指定されたとき、外部からのアドレス信号に従って内部で行および列アドレス信号が生成される。このメモリセルの選択時において、まず行選択動作が行なわれて、センスアンプによりメモリセルデータがラッチされる。続いて列選択動作が行なわれ、選択メモリセルのデータの読出または選択メモリセルへのデータの書込が実行される。   Data bits DQ0-DQ15 require setup time tsu and hold time thd for the rise of write enable signal WE #. A semiconductor memory device 1 shown in FIG. 1 is a DRAM-based semiconductor memory device, in which row selection operations and column selection operations are performed in a time division manner. Therefore, when data access is designated by write enable signal WE # or read enable signal OE #, a row and column address signal is generated internally in accordance with an external address signal. When this memory cell is selected, a row selection operation is first performed, and the memory cell data is latched by the sense amplifier. Subsequently, a column selecting operation is performed, and data reading from the selected memory cell or data writing to the selected memory cell is executed.

したがって、この列選択動作が行なわれるまでの期間ライトイネーブル信号WE♯は、Lレベルを維持する必要があり、またこの列選択動作により、選択メモリセルへデータを書込むために、外部のデータビットDQ0−DQ15に対し、セットアップ時間tsuが要求される。ホールド時間thdは、したがって最小0ns(ナノ秒)であってもよい。   Therefore, write enable signal WE # must be maintained at the L level during the period until this column selection operation is performed, and an external data bit is used to write data to the selected memory cell by this column selection operation. A setup time tsu is required for DQ0 to DQ15. The hold time thd may therefore be a minimum of 0 ns (nanoseconds).

図2および図3のタイミング図に示すように、図1に示す半導体記憶装置1は、チップイネーブル信号CE♯、出力イネーブル信号WE♯および書込イネーブル信号WE♯に従って、外部からのアドレス信号を取込み、データの書込/読出を行なっている。したがって、これらの半導体記憶装置1において用いられる制御信号は、SRAMと同じであり、半導体記憶装置1のインターフェイスは、SRAMと互換性を有している。   2 and FIG. 3, semiconductor memory device 1 shown in FIG. 1 takes in an external address signal in accordance with chip enable signal CE #, output enable signal WE # and write enable signal WE #. Data writing / reading is performed. Therefore, the control signals used in these semiconductor memory devices 1 are the same as those of the SRAM, and the interface of the semiconductor memory device 1 is compatible with the SRAM.

モード制御回路20は、外部からの制御信号CE♯、OE♯およびWE♯とアドレス信号ビットA0−A19に従って、通常のアクセスシーケンスと異なるシーケンスでアクセスが実行されたときに、特定の動作モードを指定するモード(コマンドモード)が指定されたと判断し、そのコマンドモードに入ると外部からの信号(コマンド)に従って内部動作状態を制御する。すなわち、ある特定のアクセスシーケンスが実行された時に、コマンドモードが設定され、外部からのコマンドを受付ける状態となる。このコマンドモードにおいて、外部からのデータビットなどの信号を特定のアドレスを指定して書き込むと、これらの外部信号がコマンドとして取り込まれ、このコマンドが指定する状態に内部が設定される。   Mode control circuit 20 designates a specific operation mode when an access is executed in a sequence different from a normal access sequence in accordance with external control signals CE #, OE # and WE # and address signal bits A0-A19. It is determined that the mode to be performed (command mode) is designated, and when the command mode is entered, the internal operation state is controlled in accordance with an external signal (command). That is, when a specific access sequence is executed, the command mode is set and a command from the outside is accepted. In this command mode, when a signal such as an external data bit is written by designating a specific address, these external signals are taken in as a command, and the inside is set to a state designated by this command.

図4は、図1に示すモード制御回路20の構成を概略的に示す図である。図4において、モード制御回路20は、外部からの制御信号CE♯、OE♯およびWE♯とアドレス信号ビットA19−A0を受け、予め定められたシーケンスでこれらの信号が与えられたときに、コマンドモードエントリ信号CMERYを生成するコマンドモード検出回路30と、コマンドエントリ信号CMERYの活性化時活性化され、データビットDQ0−DQ15の所定のビットをコマンドとして受けてデコードし、このデコード結果に従ってモード指定信号MDを生成するモードデコード回路32を含む。   FIG. 4 schematically shows a configuration of mode control circuit 20 shown in FIG. In FIG. 4, mode control circuit 20 receives external control signals CE #, OE # and WE # and address signal bits A19-A0, and when these signals are applied in a predetermined sequence, Command mode detection circuit 30 for generating mode entry signal CMERY, activated when command entry signal CMERY is activated, receives predetermined bits of data bits DQ0 to DQ15 as commands, decodes the mode designation signal according to the decoding result A mode decode circuit 32 for generating MD is included.

コマンドモード検出回路30は、アドレス信号ビットA19−A0が特定のアドレスを指定して、連続して所定回数アクセスが行なわれると、コマンドモードエントリ信号CMERYを活性化する。具体的に、一例として、このコマンドモード検出回路30は、最終アドレス(FFFFFH)に対し、連続して4回データ読出が実行されると、コマンドモードエントリ信号CMERYを活性化する。このコマンドモードエントリ信号CMERYが活性化されると、モードデコード回路32が、外部からのコマンドの受付可能状態になる。   The command mode detection circuit 30 activates the command mode entry signal CMERY when the address signal bits A19 to A0 specify a specific address and are continuously accessed a predetermined number of times. Specifically, as an example, the command mode detection circuit 30 activates the command mode entry signal CMERY when data reading is continuously executed four times for the final address (FFFFFH). When the command mode entry signal CMERY is activated, the mode decode circuit 32 becomes ready to accept commands from the outside.

通常動作モード時において、同一アドレスに対し連続して4回データの読出が行なわれる事は、殆どない。特に最終アドレスは一般に使用される事は少ない。このような通常アクセスモード時と異なるアクセスシーケンスでアクセスが行なわれたときにコマンドモードを設定する事により、複雑な信号タイミング関係を利用することなく、通常動作モード時と同じ信号タイミング関係だけで確実にコマンドモードを指定する事ができる。   In the normal operation mode, data is hardly read four times continuously from the same address. In particular, the final address is rarely used. By setting the command mode when access is performed in an access sequence different from that in the normal access mode, the same signal timing relationship as in the normal operation mode can be ensured without using a complicated signal timing relationship. The command mode can be specified for.

また、例え最終アドレスに有効データが格納されている場合であっても、読出モードを指定しているだけであり、このコマンドモードエントリ時において、最終アドレスの格納データが読み出されるだけであり、格納データの破壊は生じない。   Even if valid data is stored at the final address, only the read mode is specified, and the stored data at the final address is only read at the time of command mode entry. There is no data corruption.

図5(A)は、図4に示すコマンドモード検出回路30の構成の一例を概略的に示す図である。図5(A)において、コマンドモード検出回路30は、アドレス信号ビットA0−A19をデコードするデコード回路30aと、出力イネーブル信号OE♯とチップイネーブル信号CE♯とを受けてデータ読出モードが指定されたとき読出モード指示信号φrzを活性化する読出モード検出回路30bと、チップイネーブル信号CE♯と書込イネーブル信号WE♯とを受け、データ書込が指定されたとき書込モード指示信号φwzをLレベルに駆動する書込モード検出回路30cと、読出モード検出回路30bからの読出モード指示信号φrzに従って、アドレスデコード回路30aの出力信号FADを順次転送するシフタ30dと、シフタ30dの出力ビットQ1−Q4をデコードするシーケンスデコード回路30eと、シーケンスデコード回路30eの出力信号がHレベルのときセットされるフリップフロップ30fを含む。このフリップフロップ30fから、コマンドモードエントリ信号CMERYが生成される。   FIG. 5A schematically shows an example of the configuration of command mode detection circuit 30 shown in FIG. In FIG. 5A, command mode detection circuit 30 receives a decode circuit 30a for decoding address signal bits A0-A19, an output enable signal OE # and a chip enable signal CE #, and designates a data read mode. In response to read mode detection circuit 30b activating read mode instruction signal φrz, chip enable signal CE # and write enable signal WE #, write mode instruction signal φwz is set to L level when data writing is designated. The write mode detection circuit 30c that is driven at the same time, the shifter 30d that sequentially transfers the output signal FAD of the address decode circuit 30a in accordance with the read mode instruction signal φrz from the read mode detection circuit 30b, and the output bits Q1-Q4 of the shifter 30d Sequence decoding circuit 30e for decoding and sequence decoding And a flipflop 30f of the output signal of the road 30e is set at the H level. A command mode entry signal CMERY is generated from the flip-flop 30f.

アドレスデコード回路30aは、アドレス信号ビットA19−A0がすべて“1”のとき、そのデコード信号FADをHレベルに立上げる。すなわち、最終アドレス“FFFFFH”が指定されたときに、このデコード信号FADがHレベルに設定される。読出モード検出回路30bは、出力イネーブル信号OE♯およびチップイネーブル信号CE♯がともにLレベルの活性状態のときに、読出モード指示信号φrzをLレベルに設定する。書込モード検出回路30cは、書込イネーブル信号WE♯とチップイネーブル信号CE♯がともにLレベルの活性状態となると書込モード指示信号φwzをLレベルに設定する。   Address decode circuit 30a raises decode signal FAD to H level when all address signal bits A19-A0 are "1". That is, when the final address “FFFFFH” is designated, the decode signal FAD is set to the H level. Read mode detection circuit 30b sets read mode instruction signal φrz to L level when output enable signal OE # and chip enable signal CE # are both in an active state of L level. Write mode detection circuit 30c sets write mode instruction signal φwz to L level when both write enable signal WE # and chip enable signal CE # are in the active state of L level.

シフタ30dは、図5(B)に示すように、4段の縦続接続されるDラッチ30da−30deを含む。これらのDラッチ30da−30deの各々は、読出モード指示信号φrzがLレベルとなると、その入力に与えられた信号を取込み、読出モード指示信号φrzがHレベルとなると、その取込んだ信号をラッチ指かつ出力するラッチ状態となる。これらのDラッチ30da−30deは、書込モード指示信号φwzがLレベルとなると、その出力データビットQ1−Q4が“0”にリセットされる。   As shown in FIG. 5B, the shifter 30d includes D latches 30da-30de that are cascaded in four stages. Each of these D latches 30da-30de takes in the signal applied to its input when read mode designating signal φrz attains L level, and latches the fetched signal when read mode designating signal φrz attains H level. It becomes a latch state to output with a finger. These D latches 30da-30de have their output data bits Q1-Q4 reset to "0" when the write mode instruction signal φwz becomes L level.

シーケンスデコード回路30eは、このシフタ30dの出力ビットQ1−Q4がすべてHレベルとなると、その出力信号をHレベルに立上げてセット/リセットフリップフロップ30fをセットし、コマンドモードエントリ信号CMERYをHレベルに駆動する。セット/リセットフリップフロップ30fは、たとえばコマンドモードイグジットコマンドなどが与えられたときに生成されるリセット信号RSTによりリセットされる。   When all output bits Q1-Q4 of shifter 30d attain H level, sequence decode circuit 30e raises its output signal to set set / reset flip-flop 30f and sets command mode entry signal CMERY to H level. To drive. Set / reset flip-flop 30f is reset by a reset signal RST generated when, for example, a command mode exit command is given.

フリップフロップ30fを利用するのは、このコマンドモードエントリ時において指定される動作モードとして、後に説明するように、データ保持ブロックに指定されたメモリブロックを示すデータを読出すモードがあり、データ読出が指定される場合があり、コマンドエントリモードにおいては、常に、コマンドの書込が行なわれるとは限らないためである。   The flip-flop 30f is used as an operation mode specified at the time of command mode entry, as will be described later, there is a mode for reading data indicating a memory block specified as a data holding block. This is because the command may not always be written in the command entry mode.

図6は、図5(A)および図5(B)に示すコマンドモード検出回路30の動作を示すタイミング図である。以下、図5(A)および図5(B)および図6を参照して、コマンドモード検出回路30の動作について説明する。   FIG. 6 is a timing chart showing the operation of the command mode detection circuit 30 shown in FIGS. 5 (A) and 5 (B). Hereinafter, the operation of the command mode detection circuit 30 will be described with reference to FIG. 5A, FIG. 5B, and FIG.

アドレス信号ビットA0−A19をすべてHレベルに設定し、最終アドレスFFFFFHを指定する。次いで、出力イネーブル信号OE♯をLレベルに設定し、データ読出を指示する。チップイネーブル信号CE♯はLレベルである。したがって、このデータ読出モードが指定されると、読出モード検出回路30bからの読出モード指示信号φrzがLレベルとなり、シフタ30dが、デコード回路30aからのデコード信号FADを取込む。出力イネーブル信号OE♯が一旦Hレベルに設定されると、データ読出モードが完了する。   Address signal bits A0-A19 are all set to H level, and final address FFFFFH is designated. Next, output enable signal OE # is set to L level to instruct data reading. Chip enable signal CE # is at L level. Therefore, when this data read mode is designated, read mode instruction signal φrz from read mode detection circuit 30b attains an L level, and shifter 30d takes in decode signal FAD from decode circuit 30a. Once output enable signal OE # is set to H level, the data read mode is completed.

ここで、この図1に示す半導体記憶装置はDRAMベースの半導体記憶装置であり、出力イネーブル信号OE♯により、行選択および列選択を行なう1つのアクセスサイクルが規定される。1つのアクセスサイクルを完了させるために、この出力イネーブル信号OE♯を一旦Hレベルに立上げる。出力イネーブル信号OE♯がHレベルに立上がると、読出モード検出回路30bからの読出モード指示信号φrzがHレベルとなり、シフタ30dが、シフト動作を行ない、その出力ビットQ1をHレベルに立上げる。すなわち、図5(B)に示すDラッチ30ba−30deは、それぞれ、読出モード検出信号φrzがLレベルのときに、その入力に与えられた信号を取込み、この読出モード指示信号φrzがHレベルとなると、その出力に取込んだ信号を出力し、かつラッチ状態となる。   Here, the semiconductor memory device shown in FIG. 1 is a DRAM-based semiconductor memory device, and one access cycle for performing row selection and column selection is defined by output enable signal OE #. In order to complete one access cycle, output enable signal OE # is once raised to H level. When output enable signal OE # rises to H level, read mode instruction signal φrz from read mode detection circuit 30b attains H level, and shifter 30d performs a shift operation to raise its output bit Q1 to H level. That is, D latches 30ba-30de shown in FIG. 5B each take in the signal applied to its input when read mode detection signal φrz is at L level, and read mode instruction signal φrz is at H level. Then, the signal taken in at the output is output and the latch state is entered.

以降、この最終アドレスFFFFFHに対するデータ読出動作を、4回行なうと、この読出モード検出信号φrzの立上がりに応答して、シフタ30dの出力ビットQ1−Q4がすべてHレベルとなり、応じてセット/リセットフリップフロップ30fがセットされ、コマンドモードエントリ信号CMERYがHレベルとなる。これにより、この半導体記憶装置がコマンドモードに設定される。   Thereafter, when the data read operation for the final address FFFFFH is performed four times, all the output bits Q1-Q4 of the shifter 30d become H level in response to the rise of the read mode detection signal φrz, and the set / reset flip-flops accordingly. 30f is set, and the command mode entry signal CMERY becomes H level. Thereby, the semiconductor memory device is set to the command mode.

最終アドレスFFFFFHは、通常動作モード時には、それほどアクセスされない。また、同一アドレスに対し4回連続してデータ読出を行なうことも通常の動作モード時においては行なわれない。最大、考えられるのは、上位バイトデータおよび下位バイトデータをそれぞれ最終アドレスから読出すモードが考えられるだけである。この場合でも、最終アドレスに対し連続して2回データ読出が行なわれるだけであり、したがって、この4回連続して最終アドレスに対しデータ読出を行なうことは、通常の動作サイクルでは行なわれておらず、確実に、この半導体記憶装置を、通常動作モード時の動作に悪影響を及ぼすことなくコマンドモードに設定することができる。   The final address FFFFFH is not so accessed in the normal operation mode. Further, data reading for the same address four times in succession is not performed in the normal operation mode. The most conceivable mode is only to read the upper byte data and lower byte data from the final address. Even in this case, data reading is performed only twice consecutively for the final address. Therefore, data reading for the final address for four consecutive times is not performed in a normal operation cycle. Therefore, the semiconductor memory device can be surely set to the command mode without adversely affecting the operation in the normal operation mode.

また、このコマンドモードエントリ時においてデータ書込が指定された場合には、書込モード指示信号φwzがLレベルとなり、シフタ30bがリセットされ、その出力ビットQ1−Q4がすべてLレベルとなる。この場合には、再度コマンドモードエントリ動作を最初から実行する必要がある。   When data writing is designated at the time of command mode entry, write mode instruction signal φwz is at L level, shifter 30b is reset, and all its output bits Q1-Q4 are at L level. In this case, it is necessary to execute the command mode entry operation again from the beginning.

また、このコマンドモードエントリ時において、最終アドレスと異なるアドレスを指定してデータ読出を行なった場合、アドレスデコード回路30aの出力するデコード信号FADはLレベルとなる。この場合、シフタ30dのビットQ1−Q4において、以降、最終アドレスに対し連続して4回読出が行なわれるまで1つのビットがLレベルとなる。したがって、常に、最終アドレスに対し4回連続してデータ読出が行なわれたときのみ、コマンドモードエントリ信号CMERYをHレベルに設定することができる。これにより、通常動作モード時と異なるシーケンスでのアクセスを識別して、コマンドモードを指定する事ができる。   In the command mode entry, when data reading is performed by designating an address different from the final address, the decode signal FAD output from the address decode circuit 30a becomes L level. In this case, in the bits Q1-Q4 of the shifter 30d, one bit is kept at the L level thereafter until four consecutive readings are performed on the final address. Therefore, command mode entry signal CMERY can always be set to the H level only when data reading is continuously performed four times with respect to the final address. Thereby, it is possible to identify the access in a sequence different from that in the normal operation mode and designate the command mode.

また、SRAMと同様の信号、すなわちチップイネーブル信号CE♯、出力イネーブル信号OE♯および書込イネーブル信号WE♯とアドレス信号とを用いてコマンドモードを設定しており、システムクロック信号などのクロック信号と非同期で、このコマンドモードを設定することができ、SRAMと互換性のあるインターフェイスを利用してコマンドモードを設定することができる。   A command mode is set using the same signals as SRAM, that is, chip enable signal CE #, output enable signal OE #, write enable signal WE #, and an address signal, and a clock signal such as a system clock signal This command mode can be set asynchronously, and the command mode can be set using an interface compatible with SRAM.

なお、デコード回路30aに与えられるアドレス信号ビットA0-A19は、ず1に示す行アドレスバッファ3および列アドレスバッファ4からの信号であってもよい。出力イネーブル信号OE♯がLレベルとなると、これらのアドレスバッファ3および4がアドレス取り込みを行なって、内部アドレス信号を生成する。また、このデコ−ド回路30aに対するアドレス信号ビットA0−A19は、単なる入力バッファ回路を介して生成される信号であっても良い。   Note that the address signal bits A0 to A19 supplied to the decode circuit 30a may be signals from the row address buffer 3 and the column address buffer 4 shown in FIG. When output enable signal OE # goes low, address buffers 3 and 4 take in addresses and generate internal address signals. Further, the address signal bits A0 to A19 for the decode circuit 30a may be a signal generated via a simple input buffer circuit.

図7は、この発明の実施の形態1に従う半導体記憶装置のコマンドモードエントリ時の状態遷移を示す図である。以下、図7を参照して、コマンドモードエントリ時の状態遷移について簡単に説明する。   FIG. 7 shows a state transition at the time of command mode entry in the semiconductor memory device according to the first embodiment of the present invention. Hereinafter, with reference to FIG. 7, the state transition at the time of command mode entry will be briefly described.

通常のデータの読出/書込が行なわれる通常リード/ライト状態ST0において、アドレスFFFFFH(Hex.)に対しデータ読出を指示する。この最終アドレスに対するデータ読出により、コマンドモードセットアップ状態ST1に状態が遷移する。このコマンドモードセットアップ状態ST1において再び、最終アドレスに対しデータ読出を実行すると、次のコマンドモードセットアップ状態ST2に状態が移行する。再び、最終アドレスに対しデータ読出を指示すると、最終コマンドモードセットアップ状態ST3に移行する。この最終のコマンドモードセットアップ状態ST3において再び最終アドレスに対しデータ読出を行なうと、この半導体記憶装置1がコマンドモードに入り、コマンドを待ち受けるコマンドスタンバイ状態ST4となる。   In normal read / write state ST0 in which normal data reading / writing is performed, data reading is instructed to address FFFFFH (Hex.). The state transitions to the command mode setup state ST1 by reading the data for the final address. When data reading is executed again for the final address in this command mode setup state ST1, the state shifts to the next command mode setup state ST2. When data read is instructed again for the final address, the final command mode setup state ST3 is entered. When data is read again from the final address in the final command mode setup state ST3, the semiconductor memory device 1 enters the command mode and enters a command standby state ST4 where the command is waited.

これらのセットアップ状態ST1−ST3において、最終アドレスに対するデータ読出と異なるアクセスを行なった場合には、このコマンドモードセットアップがリセットされ、通常リード/ライト状態ST0に、その状態が復帰する。   In these setup states ST1 to ST3, when an access different from the data reading for the final address is performed, the command mode setup is reset, and the state returns to the normal read / write state ST0.

図8は、図4に示すモードデコード回路32の構成を概略的に示す図である。図8において、このモードデコード回路32の前段に、外部データDQ0−DQ7を入出力する入出力バッファ40と、外部の制御信号CE♯、WE♯およびOE♯を入力する入力バッファ41が設けられる。入出力バッファ40は、図1に示す入力バッファ8および出力バッファ9に対応する。入力バッファ41は、外部のチップイネーブル信号CE♯、書込イネーブル信号WE♯および出力イネーブル信号OE♯をそれぞれバッファ処理して内部チップイネーブル信号CE、内部書込イネーブル信号WE、および内部出力イネーブル信号OEを生成する。これらの内部チップイネーブル信号CE、内部書込イネーブル信号WE、および内部出力イネーブル信号OEは、すべて、活性化時Hレベルに設定される。   FIG. 8 schematically shows a structure of mode decode circuit 32 shown in FIG. In FIG. 8, an input / output buffer 40 for inputting / outputting external data DQ0-DQ7 and an input buffer 41 for inputting external control signals CE #, WE #, and OE # are provided in the preceding stage of mode decode circuit 32. The input / output buffer 40 corresponds to the input buffer 8 and the output buffer 9 shown in FIG. Input buffer 41 buffers external chip enable signal CE #, write enable signal WE #, and output enable signal OE #, respectively, and performs internal chip enable signal CE, internal write enable signal WE, and internal output enable signal OE. Is generated. Internal chip enable signal CE, internal write enable signal WE, and internal output enable signal OE are all set to H level when activated.

モードデコード回路32は、内部チップイネーブル信号CEと内部書込イネーブル信号WEを受けるNAND回路42と、内部チップイネーブル信号CEと内部出力イネーブル信号OEを受けるNAND回路43と、NAND回路42および43の出力信号を受けるNAND回路44と、NAND回路44の出力信号とコマンドモードエントリ信号CMERYを受けてパルス信号PLSを生成するAND回路45と、パルス信号PLSに従って与えられたデータを順次転送するシフトレジスタ47と、コマンドモードエントリ信号CMERYに従って入出力バッファ40を内部書込/読出回路とシフトレジスタ47の一方に結合するバス切換回路46と、シフトレジスタ47から出力されるデータをデコードするコマンドデコーダ48と、図5(A)に示すアドレスデコード回路からのデコード信号FADとパルス信号PLSに従ってコマンドデコーダ48の出力信号をラッチして内部動作モード指示信号を生成するコマンドセット回路49を含む。   Mode decode circuit 32 includes NAND circuit 42 that receives internal chip enable signal CE and internal write enable signal WE, NAND circuit 43 that receives internal chip enable signal CE and internal output enable signal OE, and outputs of NAND circuits 42 and 43. NAND circuit 44 that receives the signal, AND circuit 45 that receives the output signal of NAND circuit 44 and command mode entry signal CMERY to generate pulse signal PLS, and shift register 47 that sequentially transfers the data applied in accordance with pulse signal PLS In accordance with command mode entry signal CMERY, bus switching circuit 46 for coupling input / output buffer 40 to one of the internal write / read circuit and shift register 47, command decoder 48 for decoding data output from shift register 47, It includes a command set circuit 49 for generating an internal operation mode instruction signal output signal by latching the command decoder 48 in accordance with the decode signal FAD and the pulse signal PLS from the address decoding circuit shown in (A).

コマンドモード時においては、下位バイトデータDQ0−DQ7がコマンドとして利用され、上位バイトデータDQ8−DQ15は使用されない。また、このコマンドモード時においては、コマンドが与えられたことを、デコード信号FADにより検出する。したがって、たとえば最終アドレス以外のアドレスを指定して、コマンドモード時にデータの書込が行なわれたときには、コマンドの取込みは行なわれない。   In the command mode, the lower byte data DQ0 to DQ7 are used as commands, and the upper byte data DQ8 to DQ15 are not used. In this command mode, the fact that a command is given is detected by the decode signal FAD. Therefore, for example, when an address other than the final address is designated and data is written in the command mode, the command is not taken.

内部書込/読出回路は、プリアンプおよびライトドライバを含み、メモリセルアレイの選択メモリセルと内部データの授受を行なう。コマンドモードが指定されると、内部書込読出回路は、入出力バッファから切離され、メモリセルアレイに対するデータの書込/読出は行なわれない。このコマンドモード時において、行および列選択動作が禁止されても良い。この構成においては、コマンドモードエントリ信号CMERYにより、行および列選択動作を禁止する。ただし、アドレス信号およびデータの取込みを行なう回路は動作可能とされる。これに代えて、データビットDQ0−DQ7およびアドレス信号ビットA0−A19を単なるバッファ回路を介して受けて、これらのコマンドモードエントリおよびコマンドモード設定をする場合には、これらのバッファ回路は、外部制御信号と非同期で動作するため、コマンドモード時においては、行および列選択に関連する通常アクセスを実行する回路をすべて、コマンドモードエントリ信号CMERYに従って動作停止状態(スタンバイ状態)に設定されても良い。   The internal write / read circuit includes a preamplifier and a write driver, and exchanges internal data with selected memory cells of the memory cell array. When the command mode is designated, the internal write / read circuit is disconnected from the input / output buffer, and data is not written / read to / from the memory cell array. In this command mode, row and column selection operations may be prohibited. In this configuration, row and column selection operations are prohibited by the command mode entry signal CMERY. However, the circuit that takes in the address signal and data is operable. Instead, when data bits DQ0 to DQ7 and address signal bits A0 to A19 are received through a simple buffer circuit and these command mode entry and command mode setting are performed, these buffer circuits are externally controlled. Since the circuit operates asynchronously with the signal, in the command mode, all the circuits that execute normal access related to row and column selection may be set to the operation stop state (standby state) according to the command mode entry signal CMERY.

コマンドセット回路49は、コマンドデコーダ48の出力信号に従って、コマンドモードを終了させて通常動作モードに移行するイグジット指示信号EXIT、内部回路への電源の供給を遮断するパワーダウン指示信号PWD、このパワーダウンモードを完了させるウェイクアップ指示信号WKU、データ保持領域を指定するデータ保持ブロック設定信号DHBS、データ保持ブロック領域についての情報を読出すデータ保持領域読出指示信号DHBR、および内部を初期状態にセットするソフトウェアリセット信号SFRSTを生成する。   In accordance with the output signal of the command decoder 48, the command set circuit 49 exits the command mode and shifts to the normal operation mode, exit command signal EXIT for shutting off the supply of power to the internal circuit, this power down Wake-up instruction signal WKU for completing the mode, data holding block setting signal DHBS for designating the data holding area, data holding area reading instruction signal DHBR for reading information about the data holding block area, and software for setting the interior to the initial state A reset signal SFRST is generated.

これらのパワーダウンモード、ソフトウェアリセットモード、およびデータ保持領域指定は、この半導体記憶装置のスタンバイ状態に関連する状態を指定する。データ保持領域を特定することにより、長期にわたってスタンバイ状態に保持される場合、このデータ保持領域のデータが保持される。ただし、パワーダウンモードが設定された場合には、データの保持は行なわれない。   These power down mode, software reset mode, and data holding area designation designate a state related to the standby state of the semiconductor memory device. By specifying the data holding area, when the data holding area is held for a long time, the data in the data holding area is held. However, no data is held when the power down mode is set.

これらのコマンドセット回路49から出力される内部モード指定信号が、図1に示すモード設定信号MDに対応する。   The internal mode designation signals output from these command set circuits 49 correspond to the mode setting signal MD shown in FIG.

図9は、図8に示すモードデコード回路32の動作を示すタイミング図である。以下、図9に示すタイミング図を参照して、図8に示すモードデコード回路32の動作について簡単に説明する。   FIG. 9 is a timing chart showing an operation of mode decode circuit 32 shown in FIG. The operation of the mode decode circuit 32 shown in FIG. 8 will be briefly described below with reference to the timing chart shown in FIG.

図9においては、1つの動作モードを指定するコマンドが、3バイトのデータD0−D2により構成される場合が一例として示される。   In FIG. 9, a case where a command designating one operation mode is constituted by 3-byte data D0-D2 is shown as an example.

コマンドモード時においては、コマンドモードエントリ信号CMERYはHレベルである。コマンドスタンドバイステージST4において、最終アドレスFFFFFHが指定されて、データ書込が行なわれる。書込イネーブル信号WE♯が活性化されると、図8に示すNAND回路42の出力信号はLレベルとなり、応じて、NAND回路42の出力信号がHレベルとなる。コマンドモードエントリ信号CMERYはHレベルであるため、AND回路45からのパルス信号PLSがHレベルとなる。このパルス信号PLSに従ってシフトレジスタ47がシフト動作を行ない、バス切換回路46から与えられるデータビットDQ7−DQ0を取込む。   In the command mode, command mode entry signal CMERY is at H level. In command standby stage ST4, final address FFFFFH is designated and data writing is performed. When write enable signal WE # is activated, the output signal of NAND circuit 42 shown in FIG. 8 becomes L level, and accordingly, the output signal of NAND circuit 42 becomes H level. Since command mode entry signal CMERY is at H level, pulse signal PLS from AND circuit 45 is at H level. Shift register 47 performs a shift operation in accordance with pulse signal PLS, and takes in data bits DQ7 to DQ0 applied from bus switching circuit 46.

ここで、バス切換回路46は、このコマンドモードエントリ信号CMERYの活性化時、入出力バッファ40をシフトレジスタ47に接続しており、内部の書込/読出回路は、入出力バッファ40と分離されている。すなわち、このコマンドモードエントリ時においては、メモリセルへのデータの書込/読出が行なわれない。これは、前述のように、単にコマンドモードエントリ信号CMERYに従って、図1に示す内部制御信号発生回路12の動作を停止させることにより容易に実現される。   Here, the bus switching circuit 46 connects the input / output buffer 40 to the shift register 47 when the command mode entry signal CMERY is activated, and the internal write / read circuit is separated from the input / output buffer 40. ing. That is, at the time of this command mode entry, data is not written / read to / from the memory cell. As described above, this is easily realized by simply stopping the operation of the internal control signal generation circuit 12 shown in FIG. 1 according to the command mode entry signal CMERY.

最終アドレスを指定して、所定回数データの書込が行なわれると、シフトレジスタ47において、データD0、D1およびD2が格納される。コマンドデコーダ48は、シフトレジスタ47の格納データを、常時デコードしており、このデータD0−D2のデータパターンに従って、コマンドデコーダ48は、特定の動作モードを指定するコマンドが与えられたと判定し、その対応の内部モード指定信号をHレベルに駆動する。   When the final address is designated and data is written a predetermined number of times, data D0, D1, and D2 are stored in shift register 47. The command decoder 48 always decodes the data stored in the shift register 47. According to the data pattern of the data D0-D2, the command decoder 48 determines that a command designating a specific operation mode is given, and The corresponding internal mode designation signal is driven to the H level.

コマンドセット回路49は、パルス信号PLSが与えられ、かつ最終アドレスが特定されたことを示すアドレスデコード信号FADがHレベルとなると、コマンドデコーダ48の出力信号に従って対応の内部モード指定信号をHレベルの活性状態へ駆動する。   When the pulse signal PLS is applied and the address decode signal FAD indicating that the final address has been specified becomes H level, the command set circuit 49 sets the corresponding internal mode designation signal to H level according to the output signal of the command decoder 48. Drive to active state.

データ読出が、このコマンドモード設定時に指定された場合においても、パルス信号PLSが活性化される。この場合には、シフトレジスタ47がシフト動作を行ない、バス切換回路46を介して与えられるデータを取込み転送する。したがって、この場合、データ保持領域読出コマンド以外では、コマンドと全く異なるデータがシフトレジスタ47に取込まれたことになり、コマンドデコーダ48の出力信号は、非活性状態を維持する。   Even when data reading is designated when the command mode is set, pulse signal PLS is activated. In this case, the shift register 47 performs a shift operation and takes in and transfers the data supplied via the bus switching circuit 46. Therefore, in this case, except for the data holding area read command, data completely different from the command is taken into the shift register 47, and the output signal of the command decoder 48 maintains the inactive state.

データ読出モード時においてもパルス信号PLSを発生するのは、データ保持ブロックリードモードDHBRが指定された場合、読出モードを指定して出力バッファ回路を介して、図示しないレジスタに格納されたデータ保持ブロック特定信号を読出すためである。シフトレジスタ47のシフト動作により、コマンドデコーダ48にデータ保持領域読出コマンドが与えられ、データ保持領域読出指示信号DHBRがHレベルとなり、これに応答して、データ保持領域特定データを格納するレジスタの格納データが読出される。   Even in the data read mode, the pulse signal PLS is generated when the data holding block read mode DHBR is designated and the data holding block stored in a register (not shown) is designated via the output buffer circuit by designating the read mode. This is for reading a specific signal. By the shift operation of shift register 47, a data holding area read command is applied to command decoder 48, and data holding area read instruction signal DHBR becomes H level. In response to this, storage of a register for storing data holding area specifying data is stored. Data is read out.

図10は、図8に示すシフトレジスタ47、コマンドデコーダ48およびコマンドセット回路49の具体的構成の一例を示す図である。図10において、シフトレジスタ47は、それぞれが1バイトのレジスタ段を有するレジスタ回路47a−47cを含む。これらのレジスタ回路47a−47cは、パルス信号PLSに従ってバイト単位でシフト動作を行なう。これにより、図8に示すバス切換回路46からのデータビットDQ7−DQ0が、パルス信号PLSに従ってレジスタ回路47a、47b、および47cへ順次転送される。   FIG. 10 is a diagram showing an example of a specific configuration of shift register 47, command decoder 48, and command set circuit 49 shown in FIG. In FIG. 10, the shift register 47 includes register circuits 47a to 47c each having a 1-byte register stage. These register circuits 47a-47c perform a shift operation in byte units in accordance with pulse signal PLS. Thereby, data bits DQ7-DQ0 from bus switching circuit 46 shown in FIG. 8 are sequentially transferred to register circuits 47a, 47b, and 47c in accordance with pulse signal PLS.

コマンドデコーダ48は、各動作モード指定信号に対応して設けられるデコード回路48aを含む。この図10においては、デコード回路48aは、レジスタ回路47a−47cのデータビットを受け、これらはそれぞれ特定の所定の組合せのときに、その出力信号をHレベルに設定する。指定される動作モードにおいては、このコマンドがバイトデータで構成される場合、および2バイトデータで構成される場合があり、それぞれのコマンドの構成に応じて、このデコード回路が設けられる。   Command decoder 48 includes a decode circuit 48a provided corresponding to each operation mode designation signal. In FIG. 10, decode circuit 48a receives the data bits of register circuits 47a-47c, and sets the output signal to the H level when they are in a specific predetermined combination. In the designated operation mode, this command may be composed of byte data or 2-byte data, and this decoding circuit is provided according to the configuration of each command.

コマンドセット回路49は、最終アドレスの指定を示すデコード信号FADとパルス信号PLSとに従って、トリガ信号を生成するトリガ信号発生回路49aと、このトリガ信号発生回路49aの出力信号に従って、対応のコマンドデコード回路48aの出力信号を取込みラッチするラッチ回路49bを含む。トリガ信号発生回路49aは、たとえば、AND回路で構成され、デコード信号FADおよびパルス信号PLSがHレベルのときにHレベルの信号を出力する。   The command set circuit 49 includes a trigger signal generation circuit 49a that generates a trigger signal according to the decode signal FAD indicating the designation of the final address and the pulse signal PLS, and a corresponding command decode circuit according to the output signal of the trigger signal generation circuit 49a. A latch circuit 49b is provided for latching the output signal 48a. Trigger signal generation circuit 49a is formed of, for example, an AND circuit, and outputs an H level signal when decode signal FAD and pulse signal PLS are at an H level.

ラッチ回路49bは、トリガ信号発生回路49aの出力信号に従って導通状態となる転送ゲート50aと、転送ゲート50aを介して与えられる対応のコマンドデコード信号を反転するインバータ50bと、インバータ50bの出力信号を反転してモード指定信号MDaを生成するインバータ50bと、インバータ50bの出力信号を反転してインバータ50bの入力に伝達するインバータ50cを含む。   Latch circuit 49b inverts a transfer gate 50a that becomes conductive in accordance with an output signal of trigger signal generation circuit 49a, an inverter 50b that inverts a corresponding command decode signal provided through transfer gate 50a, and an output signal of inverter 50b. Inverter 50b for generating mode designation signal MDa and inverter 50c for inverting the output signal of inverter 50b and transmitting the inverted signal to the input of inverter 50b.

したがって、このラッチ回路49bは、トリガ信号発生回路49aの出力信号がHレベルとなると、スルー状態となり、対応のコマンドデコード回路48aの出力信号を取込みラッチして、モード指定信号MDaを活性状態のHレベルへ駆動する。したがって、このラッチ回路49bを、各モード指定信号EXIT、PWD、WKU、BHBS、DHBR、およびSFRSTそれぞれに対応して設けることにより、各モード指定信号を設定することができる。   Therefore, latch circuit 49b enters a through state when the output signal of trigger signal generating circuit 49a attains an H level, takes in and latches the output signal of corresponding command decode circuit 48a, and sets mode designation signal MDa in an active state of H. Drive to level. Therefore, each mode designation signal can be set by providing this latch circuit 49b corresponding to each mode designation signal EXIT, PWD, WKU, BHBS, DHBR, and SFRST.

トリガ信号発生回路49aを、これらの複数のモード指定信号に対し共通に設けても、同時に2つの動作モードが実行されることはなく、たとえばパワーダウンモードを完了するためには、イグジットコマンドを与えてイグジットモード指定信号EXTを活性化する必要があり、その場合は、パワーダウンモード指定信号PWDが非活性化される。したがって、特に問題は生じない。   Even if the trigger signal generation circuit 49a is provided in common for the plurality of mode designation signals, the two operation modes are not executed simultaneously. For example, in order to complete the power down mode, an exit command is given. Thus, exit mode designation signal EXT needs to be activated. In this case, power down mode designation signal PWD is deactivated. Therefore, no particular problem occurs.

各コマンドに対応してフリップフロップが配置され、対応のコマンドが与えられた時このフリップフロップがセットされても良い。例えば、フリップフロップのリセットは、ウェイクアップコマンド、イグジットコマンドまたはリセットコマンドの印加、または、コマンドモードの終了の指定により行なわれればよい。   A flip-flop may be arranged corresponding to each command, and this flip-flop may be set when a corresponding command is given. For example, the flip-flop may be reset by applying a wakeup command, an exit command or a reset command, or designating the end of the command mode.

すなわち、この図10に示すコマンドセット回路49において、ラッチ回路49bに代えて、セット/リセットフリップフロップが用いられてもよい。例えば、イグジットコマンドが与えられたとき、またはソフトウェアリセットコマンドSFRSTが与えられたときに、このコマンドセット回路49がリセットされる。各モードが指定する動作モードに応じて、適当なコマンドの印加時に、フリップフロップがリセットされれば良い。   That is, in the command set circuit 49 shown in FIG. 10, a set / reset flip-flop may be used instead of the latch circuit 49b. For example, the command set circuit 49 is reset when an exit command is given or when a software reset command SFRST is given. The flip-flop only needs to be reset when an appropriate command is applied according to the operation mode specified by each mode.

図11は、コマンドモード設定時の内部状態の遷移を示す図である。図11において、コマンドの設定は、最終アドレスFFFFFHへのデータの書込の指定により行なわれるため、図11においては、コマンドを構成する示すデータのみを示す。コマンドスタン(ド)バイ状態ST4において、最終アドレスを指定してデータB1Hを書込んだ場合、ソフトウェアパワーダウンセットアップ状態ST5に状態が移行する。コマンドモード時であり、メモリセルアレイに対するデータの書込は行なわれない(メモリアレイは、スタンバイ状態に保持される)。   FIG. 11 is a diagram showing the transition of the internal state when the command mode is set. In FIG. 11, since the setting of the command is performed by designating the writing of data to the final address FFFFFH, only the data indicating the command is shown in FIG. In the command stand-by state ST4, when data B1H is written by designating the final address, the state shifts to the software power-down setup state ST5. In the command mode, data is not written to the memory cell array (the memory array is held in a standby state).

次いで、再び最終アドレスを指定して、所定のデータDOHが書込まれると、ソフトウェアパワーダウン状態ST6に状態が移行する。このソフトウェアパワーダウン状態ST6においては、コマンドセット回路からのパワーダウン指定信号PWDが活性状態となり、内部回路への電源供給が遮断される。パワーダウンが完了すると、この状態において、次のコマンドを待ち受けるコマンドスタンバイ状態ST7に移行する。このコマンドスタンバイ状態ST7は、パワーダウン状態であり、図1に示すモード制御回路22(入力バッファ回路を含む)を除く回路に対する電源供給が遮断される。   Next, when the final address is designated again and predetermined data DOH is written, the state shifts to the software power down state ST6. In the software power down state ST6, the power down designation signal PWD from the command set circuit is activated, and the power supply to the internal circuit is cut off. When the power-down is completed, in this state, a transition is made to a command standby state ST7 that waits for the next command. This command standby state ST7 is a power-down state, and power supply to circuits other than the mode control circuit 22 (including the input buffer circuit) shown in FIG. 1 is cut off.

このコマンドスタンバイ状態ST7において最終アドレスを指定してデータFAHを書込んだ場合、ウェイクアップ状態ST8に状態が移行する。このウェイクアップ状態ST8においては、パワーダウンが完了し、電源供給が遮断された内部回路に対する電源供給が行なわれる。電源供給が回復した後、このウェイクアップ状態ST8から、次のコマンドを待ち受けるコマンドスタンバイ状態ST4に移行する。ウェイクアップ動作完了後、ウェイクアップ状態ST8から通常のリード/ライト状態ST0へ状態が移行しないのは、内部状態を初期化する必要があり、このためのコマンドを実行する必要があるためである。   When data FAH is written by designating the final address in the command standby state ST7, the state shifts to the wakeup state ST8. In this wake-up state ST8, power is supplied to the internal circuit where the power-down is completed and the power supply is cut off. After the power supply is restored, the state shifts from the wake-up state ST8 to the command standby state ST4 that waits for the next command. The reason why the state does not shift from the wake-up state ST8 to the normal read / write state ST0 after completion of the wake-up operation is that the internal state needs to be initialized and a command for this needs to be executed.

コマンドスタンバイ状態ST4において、最終アドレスを指定してデータD2Hを書込んだ場合、ソフトウェアリセットセットアップ状態ST9に状態が移行する。このソフトウェアリセットセットアップ状態ST9において、再び、最終アドレスを指定して、データDOHを書込むと、ソフトウェアリセット状態ST10に状態が移行する。このソフトウェアリセット状態ST10においては、内部周辺回路が初期化される。このソフトウェアリセット状態ST10において内部状態の初期化が完了すると、再び、コマンドスタンバイ状態ST4へ状態が移行する。このソフトウェアリセット状態において、電源投入時と同様に、電源投入検出信号に従って内部ノードが所定の電位レベルに初期化される。しかしながら、この初期化時において、通常のDRAMにおいて行なわれているように、所定回数ダミーサイクルが実行されて内部回路を動作させて、内部状態を確実にスタンバイ状態に設定する事が行なわれても良い。   In the command standby state ST4, when data D2H is written by designating the final address, the state shifts to the software reset setup state ST9. In the software reset setup state ST9, when the final address is designated again and the data DOH is written, the state shifts to the software reset state ST10. In this software reset state ST10, the internal peripheral circuit is initialized. When the initialization of the internal state is completed in the software reset state ST10, the state again shifts to the command standby state ST4. In this software reset state, the internal node is initialized to a predetermined potential level in accordance with the power-on detection signal, similarly to when the power is turned on. However, at the time of this initialization, a dummy cycle is executed a predetermined number of times as is done in a normal DRAM, and the internal circuit is operated to reliably set the internal state to the standby state. good.

このコマンドスタンバイ状態ST4において、最終アドレスを指定してデータFFHを書込むと、イグジット状態ST11に状態が移行する。このイグジット状態ST11においては、先の図5(A)に示すリセット信号RSTがリセットされ、コマンドモードエントリ信号CMERYが非活性状態となり、コマンドモードCMが完了し、通常リード/ライト状態ST0へ状態が移行する。これにより、以降、通常のデータの書込/読出が可能となる。このとき、また再び、コマンドモードをセットアップすることもできる。   In this command standby state ST4, when data FFH is written by designating the final address, the state shifts to the exit state ST11. In the exit state ST11, the reset signal RST shown in FIG. 5A is reset, the command mode entry signal CMERY is deactivated, the command mode CM is completed, and the state is changed to the normal read / write state ST0. Transition. As a result, normal data can be written / read out thereafter. At this time, the command mode can be set up again.

一方、コマンドスタンバイ状態ST7において、最終アドレスを指定して、データFFHを書込んだ場合、再びイグジット状態ST11に移行し、パワーダウン状態を完了させて、通常のリード/ライト状態ST0へ状態が移行する。この場合、内部の初期化が行なわれていないため、新たにソフトウェアリセットを実行することが必要である。   On the other hand, when the last address is specified and data FFH is written in the command standby state ST7, the state shifts again to the exit state ST11, the power-down state is completed, and the state shifts to the normal read / write state ST0. To do. In this case, since internal initialization has not been performed, it is necessary to newly perform a software reset.

一方、コマンドスタンバイ状態ST4において、最終アドレスを指定してデータD3Hを書込むと、DHB選択セットアップ状態ST12へ状態が移行する。このDHB選択セットアップ状態ST12において、再び最終アドレスを指定して、データ保持ブロック領域を指定するデータDHBを指定することにより、DHB選択セットアップ状態ST13に状態が移行する。   On the other hand, when the data D3H is written by designating the final address in the command standby state ST4, the state shifts to the DHB selection setup state ST12. In the DHB selection setup state ST12, the final address is designated again, and the data DHB designating the data holding block area is designated, whereby the state shifts to the DHB selection setup state ST13.

この状態ST13において、再度、最終アドレスを指定してデータDOHを書込むと、データ保持ブロックの領域がデータDHBに従って設定され、DHBライト状態ST14へ状態が移行する。この状態ST14において、データ保持領域を特定するデータの書込が行なわれ、データ保持領域が指定される。   In this state ST13, when the data DOH is written again by designating the final address, the data holding block area is set according to the data DHB, and the state shifts to the DHB write state ST14. In this state ST14, data for specifying the data holding area is written, and the data holding area is designated.

この状態ST14によるデータ保持ブロックの設定が完了すると、再び、コマンドスタンバイ状態ST4へ状態が移行する。   When the setting of the data holding block in this state ST14 is completed, the state again shifts to the command standby state ST4.

一方、コマンドスタンバイ状態ST4において、最終アドレスを指定して、データ7DHを書込むと、DHBリードセットアップ状態ST15へ状態が移行する。このDHBリードセットアップ状態ST15により、データ保持ブロックの内容を読出す状態の設定が行なわれる。この状態ST15において、データ読出を実行すると、DHBリード状態ST16に移行し、各データ保持ブロック情報が呼出される。このDHBリード状態ST16が完了すると、再び、コマンドスタンバイ状態ST4へ状態が移行する。このDHBリードを行なうことにより、データ保持が指定されているメモリブロックを確認することができる。   On the other hand, when the last address is designated and data 7DH is written in the command standby state ST4, the state shifts to the DHB read setup state ST15. In this DHB read setup state ST15, the state for reading the contents of the data holding block is set. When data reading is executed in this state ST15, the state shifts to the DHB read state ST16, and each data holding block information is called. When this DHB read state ST16 is completed, the state again shifts to the command standby state ST4. By performing this DHB read, it is possible to confirm a memory block in which data retention is designated.

これらのセットアップ状態において、各内部状態設定に要求される最終アドレスへのデータDOHの書込または最終アドレスのデータ読出を指定するアクセスと異なるアクセスを行なった場合、再びコマンドスタンバイ状態ST4へ状態が移行する。   In these setup states, when an access different from the access designating the writing of data DOH to the final address or the data reading of the final address required for each internal state setting is performed, the state again shifts to the command standby state ST4. To do.

コマンドスタンバイ状態ST4において、外部から最終アドレスを指定してデータ端子を介してコマンドの書込を行なうことにより、容易にセットアップ状態から内部コマンド実行状態へ移行することができる。これにより、この半導体記憶装置の各種動作モード、特に初期化に関連する動作モードを通常のSRAMに対するピンの互換性を保持しつつ設定することができる。特に、このコマンドの設定に、下位バイトデータDQ0−DQ7を利用しており、下位バイトデータDQ0−DQ7に代えて上位バイトデータDQ8−DQ15を使用することができ、内部構成に応じて、上位バイトデータによるコマンドの設定および下位バイトデータによるコマンドの設定いずれをも容易に実現することができる。   In the command standby state ST4, it is possible to easily shift from the setup state to the internal command execution state by designating the final address from the outside and writing the command via the data terminal. As a result, various operation modes of the semiconductor memory device, in particular, operation modes related to initialization can be set while maintaining pin compatibility with a normal SRAM. In particular, the lower byte data DQ0 to DQ7 are used for setting this command, and the upper byte data DQ8 to DQ15 can be used in place of the lower byte data DQ0 to DQ7. Both command setting by data and command setting by lower byte data can be easily realized.

図12は、この図11に示す状態遷移図におけるパワーダウンを完了させるウェイクアップシーケンスを示すフロー図である。以下、このウェイクアップシーケンスについて簡単に説明する。   FIG. 12 is a flowchart showing a wake-up sequence for completing power-down in the state transition diagram shown in FIG. Hereinafter, this wake-up sequence will be briefly described.

今、図11に示すようにコマンドスタンバイ状態ST7においては、半導体記憶装置1は、ソフトウェアパワーダウン状態にある(ステップSTP0)。この状態において、図11に示す状態ST5およびST6を遷移して、ウェイクアップコマンドを実行する(ステップSTP1)。このウェイクアップコマンドの実行により、内部でのパワーダウン状態の回路がパワーアップされる(電源電圧が供給される)。単に電源供給が行なわれただけであり、内部状態は不定である。したがって、内部初期化のために、図11に示す状態ST9およびST10を遷移して、ソフトウェアリセットコマンドを実行する(ステップSTP2)。このソフトウェアリセットコマンドの実行により、内部状態が所定の状態に初期化される。   As shown in FIG. 11, in the command standby state ST7, the semiconductor memory device 1 is in the software power down state (step STP0). In this state, the state ST5 and ST6 shown in FIG. 11 are transitioned to execute the wakeup command (step STP1). By executing this wake-up command, the internal power-down circuit is powered up (power supply voltage is supplied). The power supply is merely performed, and the internal state is indefinite. Therefore, for internal initialization, the states ST9 and ST10 shown in FIG. 11 are transited and a software reset command is executed (step STP2). By executing this software reset command, the internal state is initialized to a predetermined state.

内部状態の初期化の後、図11に示す状態ST11へ移行し、イグジットコマンドを実行する(ステップSTP3)。このイグジットコマンドの実行により、コマンドモードが完了し、図7に示す通常書込/読出状態ST0に復帰する。したがって、次の動作を行なうステップSTP4においては、通常のリード/ライトのデータアクセスが行なわれてもよく、また、再びコマンドモードを設定するために最終アドレスへの連続リード動作が行なわれてもよい。   After initialization of the internal state, the process proceeds to state ST11 shown in FIG. 11, and an exit command is executed (step STP3). Execution of this exit command completes the command mode and returns to the normal write / read state ST0 shown in FIG. Therefore, in step STP4 in which the next operation is performed, normal read / write data access may be performed, and a continuous read operation to the final address may be performed in order to set the command mode again. .

一方、ソフトウェアパワーダウン状態ST7において、イグジットコマンドを実行した場合(ステップSTP5)、この場合でも、コマンドモードが完了し、パワーダウン状態の内部回路に対し、電源電圧が供給される。イグジットコマンドを実行した場合、単に、コマンドモードが完了し、パワーダウン状態が解除されて、図7に示す通常書込/読出状態ST0に移行するだけであり、この半導体記憶装置の内部状態は不定である。したがって、再び最終アドレスに対する連続リード動作を所定回数(4回)実行し、コマンドモードを設定する(ステップSTP6)。コマンドモードに入った後、再び、ステップSTP2へ入り、ソフトウェアリセットコマンドを実行し、以降のステップSTP3およびSTP4を実行する。   On the other hand, when the exit command is executed in the software power down state ST7 (step STP5), the command mode is completed even in this case, and the power supply voltage is supplied to the internal circuit in the power down state. When the exit command is executed, the command mode is completed, the power-down state is canceled, and only the transition to the normal write / read state ST0 shown in FIG. 7 is made. The internal state of this semiconductor memory device is undefined. It is. Therefore, the continuous read operation for the final address is again executed a predetermined number of times (four times) to set the command mode (step STP6). After entering the command mode, step STP2 is entered again, a software reset command is executed, and subsequent steps STP3 and STP4 are executed.

したがって、このパワーダウン状態からパワーアップ状態への移行時においても、単にコマンドの実行だけであり、外部から特定のピン端子を介して内部状態をハードウェア的に設定することは要求されず、また、特別な信号のタイミング関係は必要とされず、通常の動作時に用いられる端子群を利用して、通常動作時と同じ信号の論理レベルの状態設定で、この初期化のための動作を行なうことができる。   Therefore, even during the transition from the power-down state to the power-up state, only the command is executed, and it is not required to set the internal state by hardware via a specific pin terminal from the outside. No special signal timing is required, and the operation for this initialization is performed by setting the same signal logic level as in the normal operation by using the terminal group used in the normal operation. Can do.

図13は、電源投入時の動作シーケンスを示すフロー図である。電源投入が行なわれると(ステップSTP10)、電源電圧VCCが所定値以上に到達したか否かが判断される(ステップSTP11)。この電源電圧VCCが所定値に到達したか否かは、たとえば、内部の電源投入検出回路(POR検出回路)の出力する電源投入検出信号PORにより検出される。   FIG. 13 is a flowchart showing an operation sequence at power-on. When power is turned on (step STP10), it is determined whether or not power supply voltage VCC has reached a predetermined value or more (step STP11). Whether or not the power supply voltage VCC has reached a predetermined value is detected by, for example, a power-on detection signal POR output from an internal power-on detection circuit (POR detection circuit).

ステップSTP11において、電源電圧VCCが所定値以上に到達したと判断されると、次いで、内部状態が安定化するまで、たとえば500μsの所定時間経過するまで待機する(ステップSTP12)。この所定時間が経過すると、コマンドモードエントリ動作を実行し、コマンドモードに入る(ステップSTP13)。このコマンドモードエントリにより、図11に示すコマンドスタンバイ状態ST4に、図4に示すモードデコード回路32が入る。コマンドモードに入ると、ソフトウェアリセットコマンドが実行される(ステップSTP14)。このソフトウェアリセットコマンドの実行により、内部状態が初期化される。このソフトウェアリセットコマンドの実行により、電源投入検出信号PORを受けない周辺回路においても、その内部状態を確実に初期化する。   If it is determined in step STP11 that the power supply voltage VCC has reached a predetermined value or more, then it waits until the internal state is stabilized, for example, for a predetermined time of 500 μs (step STP12). When this predetermined time has elapsed, the command mode entry operation is executed, and the command mode is entered (step STP13). With this command mode entry, the mode decode circuit 32 shown in FIG. 4 enters the command standby state ST4 shown in FIG. When the command mode is entered, a software reset command is executed (step STP14). By executing this software reset command, the internal state is initialized. By executing the software reset command, the internal state of the peripheral circuit that does not receive the power-on detection signal POR is reliably initialized.

次いで、イグジットコマンドを実行し(ステップSTP15)、コマンドモードから通常モードに移行し、次の動作を実行する(ステップSTP16)。このステップSTP16により、電源投入後のノーマルモードの設定が完了する。   Next, an exit command is executed (step STP15), the command mode is shifted to the normal mode, and the next operation is executed (step STP16). This step STP16 completes the setting of the normal mode after the power is turned on.

したがって、電源投入後の内部状態の初期化においても、通常の信号を用いて内部を確実に初期状態に設定することができる。これは、電源遮断後の電源復帰時においても同様である。   Therefore, even when the internal state is initialized after the power is turned on, the internal state can be reliably set to the initial state using a normal signal. This is the same when power is restored after power is shut off.

図14は、図1に示す状態制御回路22のパワーダウンに関連する部分の構成を概略的に示す図である。図14において、状態制御回路22は、モード制御回路からのウェイクアップ指示信号WKUとモード制御回路20からのイグジット指示信号EXITを受けるOR回路60aと、モード制御回路20からのパワーダウン指示信号PWDの活性化時セットされかつOR回路60aの出力信号がHレベルのときにリセットされるセット/リセットフリップフロップ60bと、このセット/リセットフリップフロップ60bの出力Qからの信号に従って電源ノードを、メモリ回路50の電源線52に結合する電源トランジスタ60cを含む。この電源トランジスタ60cは、たとえばPチャネルMOSトランジスタで構成され、セット/リセットフリップフロップ60bがセット状態となると非導通状態となり、メモリ回路電源線52を電源ノードから分離する。このメモリ回路電源線は、メモリ回路50内の周辺回路とメモリセルアレイとに対して別々に設けられる電源線、すなわち、周辺電源線とアレイ電源線とを含む。   FIG. 14 schematically shows a configuration of a portion related to power down of state control circuit 22 shown in FIG. 14, the state control circuit 22 includes an OR circuit 60a that receives a wake-up instruction signal WKU from the mode control circuit and an exit instruction signal EXIT from the mode control circuit 20, and a power-down instruction signal PWD from the mode control circuit 20. A set / reset flip-flop 60b that is set when activated and reset when the output signal of the OR circuit 60a is at the H level, and a power supply node according to a signal from the output Q of the set / reset flip-flop 60b, the memory circuit 50 Power supply transistor 60c coupled to power supply line 52. Power supply transistor 60c is formed of, for example, a P channel MOS transistor, and becomes non-conductive when set / reset flip-flop 60b is set to isolate memory circuit power supply line 52 from the power supply node. The memory circuit power supply line includes power supply lines provided separately for the peripheral circuit in the memory circuit 50 and the memory cell array, that is, a peripheral power supply line and an array power supply line.

モード制御回路20に対しては、常時、電源電圧VCCが供給される。また、図示しない入出力回路(コマンドモード指定のために使用される入出力回路)に対しても、パワーダウンモード時においても電源電圧VCCが供給される。   The mode control circuit 20 is always supplied with the power supply voltage VCC. The power supply voltage VCC is also supplied to an input / output circuit (not shown) (an input / output circuit used for specifying a command mode) even in the power down mode.

この図14に示す状態制御回路22の構成において、パワーダウンモードに入ると、パワーダウン指示信号PWDがHレベルとなり、セット/リセットフリップフロップ60bがセットされて、その出力Qからの信号がHレベルとなる。応じて、電源トランジスタ60cが非導通状態となり、メモリ回路50に対する電源線52への電源電圧VCCの供給が遮断される。メモリ回路50は、図1に示すメモリセルアレイ2およびその周辺回路を含む。   In the state control circuit 22 shown in FIG. 14, when the power down mode is entered, the power down instruction signal PWD becomes H level, the set / reset flip-flop 60b is set, and the signal from the output Q becomes H level. It becomes. Accordingly, power supply transistor 60c is turned off, and supply of power supply voltage VCC to power supply line 52 for memory circuit 50 is interrupted. Memory circuit 50 includes memory cell array 2 shown in FIG. 1 and its peripheral circuits.

モード制御回路20に対しデータの書込/読出を示す信号が与えられたときに、入力バッファの動作が内部制御信号発生回路12により制御される場合には、この内部制御信号発生回路12の、入出力バッファ回路制御部に対しても電源電圧が供給される。メモリセルアレイの行および列選択に関連する部分は、メモリ回路50に含まれ、電源電圧の供給が遮断される。   When the operation of the input buffer is controlled by internal control signal generation circuit 12 when a signal indicating data writing / reading is supplied to mode control circuit 20, internal control signal generation circuit 12 The power supply voltage is also supplied to the input / output buffer circuit controller. A portion related to row and column selection of the memory cell array is included in the memory circuit 50, and the supply of the power supply voltage is cut off.

ウェイクアップコマンドが与えられると、ウェイクアップ指示信号WKUがHレベルとなり、OR回路60aの出力信号がHレベルとなり、セット/リセットフリップフロップ60bがリセットされ、その出力Qからの信号がLレベルとなり、電源トランジスタ60cが導通し、メモリ回路50に対し、電源電圧Vccが供給される。   When a wakeup command is given, the wakeup instruction signal WKU becomes H level, the output signal of the OR circuit 60a becomes H level, the set / reset flip-flop 60b is reset, and the signal from the output Q becomes L level, The power supply transistor 60 c is turned on, and the power supply voltage Vcc is supplied to the memory circuit 50.

イクジットコマンドが与えられると、イクジット指示信号EXITがHレベルとなり、OR回路60aの出力信号がHレベルとなり、同様、セット/リセットフリップフロップ60bがリセットされる。応じて、電源トランジスタ60cの導通により、メモリ電源線52が電源端子に結合されて電源電圧VCCを受ける。このメモリ電源線52の電圧の安定化および内部回路の状態の安定化までに、所定の時間が必要とされる。   When the exit command is given, the exit instruction signal EXIT becomes H level, the output signal of the OR circuit 60a becomes H level, and similarly, the set / reset flip-flop 60b is reset. Accordingly, power supply transistor 60c is turned on to couple memory power supply line 52 to the power supply terminal and receive power supply voltage VCC. A predetermined time is required until the voltage of the memory power supply line 52 is stabilized and the state of the internal circuit is stabilized.

図15は、図1に示す状態制御回路22のソフトウェアリセットに関連する部分の構成を概略的に示す図である。図15において、状態制御回路22は、電源電圧VCCが所定の電圧レベルに到達したか否かを検出する電源投入検出回路62aと、電源投入検出回路62aからの電源投入検出信号PORとソフトウェアリセット信号SFRSTとを受けてリセット信号RSTTを生成するゲート回路62bを含む。このゲート回路62bは、電源投入検出信号PORがLレベルであるかまたはソフトウェアリセット信号SFRSTがHレベルとなると、リセット信号RSTTをHレベルに駆動する。   FIG. 15 schematically shows a configuration of a portion related to software reset of state control circuit 22 shown in FIG. In FIG. 15, the state control circuit 22 includes a power-on detection circuit 62a that detects whether or not the power supply voltage VCC has reached a predetermined voltage level, a power-on detection signal POR and a software reset signal from the power-on detection circuit 62a. A gate circuit 62b that receives SFRST and generates a reset signal RSTT is included. The gate circuit 62b drives the reset signal RSTT to H level when the power-on detection signal POR is at L level or the software reset signal SFRST becomes H level.

メモリ回路50において、所定の内部ノード53に対しリセットトランジスタ54が設けられており、このリセット信号RSTTに従って所定の内部ノード53が接地電圧レベルに設定される。したがって、初期設定時において、この内部ノード53が電源電圧VCCレベルにリセットされる場合には、リセット用トランジスタとしてPチャネルMOSトランジスタが用いられて、導通時その所定の内部ノード53が、電源ノードに結合される。   In memory circuit 50, a reset transistor 54 is provided for a predetermined internal node 53, and predetermined internal node 53 is set to the ground voltage level in accordance with reset signal RSTT. Therefore, in the initial setting, when internal node 53 is reset to power supply voltage VCC level, a P-channel MOS transistor is used as a resetting transistor, and when conductive, predetermined internal node 53 becomes a power supply node. Combined.

なお、このソフトウェアリセット信号SFRSTに従って、内部でアレイ活性化信号が所定回数発生されて、行選択動作を実行するダミーサイクルが所定回数実行されて、内部状態が初期化されても良い。   In accordance with software reset signal SFRST, an array activation signal is internally generated a predetermined number of times, and a dummy cycle for executing a row selection operation is executed a predetermined number of times to initialize the internal state.

図16は、図15に示す状態制御回路22の動作を示す信号波形図である。以下、図16に示す信号波形図を参照して、図15に示す状態制御回路22の動作について簡単に説明する。電源投入後または電源遮断後の復帰時において、電源電圧VCCが供給されて、その電圧レベルが上昇する。電源電圧VCCが所定の電圧レベルに到達すると、電源投入検出回路62aからの電源投入検出信号PORが所定期間Lレベルとなり、応じてゲート回路62bからのリセット信号RSTTがHレベルとなる。これにより、電源投入時または電源遮断後の復帰時において内部ノード53が所定の電圧レベルにリセットされる。   FIG. 16 is a signal waveform diagram representing an operation of state control circuit 22 shown in FIG. The operation of the state control circuit 22 shown in FIG. 15 will be briefly described below with reference to the signal waveform diagram shown in FIG. At the time of recovery after power-on or power-off, the power supply voltage VCC is supplied and the voltage level rises. When the power supply voltage VCC reaches a predetermined voltage level, the power-on detection signal POR from the power-on detection circuit 62a becomes L level for a predetermined period, and accordingly, the reset signal RSTT from the gate circuit 62b becomes H level. Thereby, internal node 53 is reset to a predetermined voltage level when the power is turned on or when the power supply is restored after the power is turned off.

内部ノードの電圧レベルが安定化すると、次いでソフトウェアリセット信号SFRSTをソフトウェアリセットコマンドに従って活性状態に駆動する。この場合にも、ゲート回路62bにより、リセット信号RSTTがHレベルとなり、メモリ回路50において所定の内部ノード53が、接地電圧レベルに初期設定される。   When the voltage level of the internal node is stabilized, software reset signal SFRST is then driven to an active state according to the software reset command. Also in this case, the reset signal RSTT becomes H level by the gate circuit 62b, and the predetermined internal node 53 is initialized to the ground voltage level in the memory circuit 50.

このソフトウェアリセットコマンド(リセット指示信号)SFRSTを利用することにより、パワーダウンモード時において、内部での電源供給が遮断されており、外部からは電源電圧が供給されている場合においても、電源投入検出信号PORに代えて、内部ノードをリセットすることができる。また、内部ノードの電圧レベルが安定化した後に、ソフトウェアリセットを行なうことにより、確実に、内部ノードを所定電圧レベルに初期化することができる。これにより、スタンバイ状態時において内部ノードの初期化およびスタンバイ状態完了後の初期化を確実に行なうことができる。   By using this software reset command (reset instruction signal) SFRST, the power supply is detected even when the internal power supply is cut off in the power down mode and the power supply voltage is supplied from the outside. Instead of the signal POR, the internal node can be reset. Further, by performing a software reset after the voltage level of the internal node is stabilized, the internal node can be surely initialized to a predetermined voltage level. As a result, initialization of the internal node and initialization after completion of the standby state can be reliably performed in the standby state.

長期にわたってこの半導体記憶装置がスタンバイ状態に保持される場合、この半導体記憶装置は、データ保持モードに設定され、内部で所定間隔でセルフリフレッシュモードに従って記憶データのリフレッシュを実行する。このリフレッシュ時において、データ保持領域を特定することにより、必要な領域に対してのみリフレッシュを行ない、リフレッシュ回数を低減し、このデータ保持モード時における消費電流を低減する。   When the semiconductor memory device is held in a standby state for a long period of time, the semiconductor memory device is set to a data holding mode and internally refreshes stored data according to a self-refresh mode at a predetermined interval. By specifying the data holding area at the time of the refresh, only the necessary area is refreshed, the number of refreshes is reduced, and the current consumption in the data holding mode is reduced.

図17は、メモリセルアレイとデータ保持ブロック特定データとの対応関係を概略的に示す図である。図17において、メモリセルアレイ2は、8個のメモリアレイブロックMAB0−MAB7に分割される。これらのメモリブロックMAB0−MAB7が、それぞれ、データ保持ブロック特定ビットDHB0−DHB7により指定される。このデータ保持ブロック特定ビットDHB0−DHB7が、データ保持用レジスタ70に、DHB選択モード印加時、外部データDQ0−DQ7に従って設定される。   FIG. 17 is a diagram schematically showing a correspondence relationship between the memory cell array and the data holding block specifying data. In FIG. 17, memory cell array 2 is divided into eight memory array blocks MAB0-MAB7. These memory blocks MAB0 to MAB7 are designated by data holding block specific bits DHB0 to DHB7, respectively. The data holding block specific bits DHB0 to DHB7 are set in the data holding register 70 according to the external data DQ0 to DQ7 when the DHB selection mode is applied.

DHBリード時においては、このデータ保持用レジスタ70に格納されたデジタル保持ブロック特定ビットDHB0−DHB7が外部に読出される。すなわち、DHB選択コマンドが与えられ、図8に示すコマンドセット回路49からのDHB選択信号DHBSがHレベルとなると、シフトレジスタ47に格納されたデータ保持ブロック特定ビットDQ0−DQ7が、データ保持用レジスタ70に格納される。DHBリードコマンドが与えられ、図8に示すコマンドセット回路49からのDHBリード信号DHBRがHレベルの活性状態となると、データ保持用レジスタ70に格納されたデータが読出されて、図1に示すデータバス切換回路を介して出力バッファへ与えられて外部へ読出される。   At the time of DHB reading, the digital holding block specific bits DHB0 to DHB7 stored in the data holding register 70 are read out. That is, when a DHB selection command is given and the DHB selection signal DHBS from the command set circuit 49 shown in FIG. 8 becomes H level, the data holding block specific bits DQ0 to DQ7 stored in the shift register 47 are changed to the data holding register. 70. When a DHB read command is applied and DHB read signal DHBR from command set circuit 49 shown in FIG. 8 becomes H level active state, the data stored in data holding register 70 is read out and the data shown in FIG. It is supplied to the output buffer via the bus switching circuit and read out to the outside.

このデータ保持用レジスタ70は、各データ保持特定ビットそれぞれに対して設けられるラッチ回路で構成されてもよく、また、各データ保持ブロック特定ビットに対応して配置されるセット/リセットフリップフロップで構成されてもよい。   The data holding register 70 may be constituted by a latch circuit provided for each data holding specific bit, or by a set / reset flip-flop arranged corresponding to each data holding block specific bit. May be.

データ保持用レジスタ70の格納データが、図1に示す内部制御信号発生回路12に含まれるリフレッシュ制御回路へ与えられ、そのリフレッシュ領域が設定される。   Data stored in the data holding register 70 is applied to the refresh control circuit included in the internal control signal generation circuit 12 shown in FIG. 1, and the refresh area is set.

リフレッシュを行なってデータを保持する領域を特定する場合、データ保持領域の設定の態様(仕様)により、このリフレッシュアドレス領域の特定の方法が異なる。以下では、メモリブロックMAB0−MAB7個々に、データ保持を行なうか否かの設定をできる手法の一例について説明する。   When an area for holding data is specified by performing refresh, the method for specifying the refresh address area differs depending on the setting mode (specification) of the data holding area. In the following, an example of a method capable of setting whether to hold data for each of the memory blocks MAB0 to MAB7 will be described.

図18は、図1に示す内部制御信号発生回路12に含まれるリフレッシュ制御部の構成を概略的に示す図である。図18において、リフレッシュ制御部は、所定の間隔で、リフレッシュ活性化信号RRASを生成するリフレッシュ制御回路72と、このリフレッシュ制御回路72の制御の下に、そのカウント値が順次更新されるリフレッシュアドレスカウンタ74と、データ保持領域データ(データ保持ブロック特定ビット)DHB0−DHB7とリフレッシュアドレスカウンタ74からのカウントアップ信号CUPとに従って、リフレッシュブロックを特定するリフレッシュブロックアドレスを発生するリフレッシュブロックアドレス発生回路76と、リフレッシュアドレスカウンタ74の出力ビットとリフレッシュブロックアドレス発生回路76の出力ビットとに従って、リフレッシュアドレスREFADを生成するリフレッシュアドレス発生回路78を含む。   FIG. 18 schematically shows a structure of a refresh control unit included in internal control signal generation circuit 12 shown in FIG. In FIG. 18, the refresh control unit generates a refresh activation signal RRAS at predetermined intervals, and a refresh address counter whose count value is sequentially updated under the control of the refresh control circuit 72. 74, a refresh block address generating circuit 76 for generating a refresh block address for specifying a refresh block, in accordance with data holding area data (data holding block specifying bits) DHB0 to DHB7 and a count-up signal CUP from the refresh address counter 74; A refresh address generation circuit 7 for generating a refresh address REFAD according to the output bits of the refresh address counter 74 and the output bits of the refresh block address generation circuit 76 Including the.

リフレッシュ制御回路72からのリフレッシュ活性化信号RRASは、行デコーダ、センスアンプ、行アドレスバッファなどの行選択動作に関連する行系回路へ与えられる。リフレッシュアドレスカウンタ74は、メモリブロック内のワード線を特定するブロック内アドレス、すなわちリフレッシュワード線アドレスを生成する。   Refresh activation signal RRAS from refresh control circuit 72 is applied to a row related circuit related to a row selection operation such as a row decoder, a sense amplifier, a row address buffer, and the like. The refresh address counter 74 generates an in-block address that specifies a word line in the memory block, that is, a refresh word line address.

フレッシュカウンタ74は、リフレッシュ動作完了毎にそのカウント値が更新される。一つのメモリブロック内におけるメモリセルの記憶データのリフレッシュが完了すると、リフレッシュアドレスカウンタ74は、カウントアップ信号CUPを生成する。   The fresh counter 74 is updated every time the refresh operation is completed. When the refreshing of the data stored in the memory cells in one memory block is completed, the refresh address counter 74 generates a count up signal CUP.

リフレッシュブロックアドレス発生回路76は、データ保持領域データ(データ保持ブロック特定ビット)DHB0−DHB7に従って、先頭リフレッシュブロックアドレスを指定し、このカウントアップ信号CUPに従ってシフト動作を行なって順次データ保持ブロックを特定するリフレッシュブロックアドレスを生成する。このシフト動作時において、リフレッシュブロック特定ビットDHB0−DHB7に従って、データ保持領域と異なるメモリブロックに対してはそのシフト動作がバイパスされる。   Refresh block address generation circuit 76 designates the head refresh block address in accordance with data holding area data (data holding block specifying bits) DHB0 to DHB7, performs a shift operation in accordance with count-up signal CUP, and sequentially specifies data holding blocks. A refresh block address is generated. In this shift operation, the shift operation is bypassed for a memory block different from the data holding area according to refresh block specific bits DHB0 to DHB7.

したがって、データ保持ブロック特定ビットDHB0−DHB7が、たとえば“1”であり、対応のメモリブロックがデータ保持ブロックに指定されているときに、このリフレッシュブロックアドレス発生回路76が、データ保持領域のメモリブロックを特定するブロックアドレスを順次生成する。   Therefore, when the data holding block specific bits DHB0 to DHB7 are "1", for example, and the corresponding memory block is designated as the data holding block, the refresh block address generation circuit 76 uses the memory block in the data holding area. Are sequentially generated.

リフレッシュアドレス発生回路78は、タイミング調整のために、このリフレッシュアドレスカウンタ74からのリフレッシュワード線アドレスと、リフレッシュブロックアドレス発生回路76からのリフレッシュブロックアドレスとを受けて、リフレッシュアドレスREFADを生成する。このリフレッシュアドレスREFADは、行アドレスバッファを介して行デコーダへ与えられる。   The refresh address generation circuit 78 receives the refresh word line address from the refresh address counter 74 and the refresh block address from the refresh block address generation circuit 76 for timing adjustment, and generates a refresh address REFAD. This refresh address REFAD is applied to the row decoder via the row address buffer.

図19は、図18に示すリフレッシュブロックアドレス発生回路76の構成の一例を示す図である。図19において、リフレッシュブロックアドレス発生回路76は、データ保持ブロック特定ビットDBH0−DBH1のうち、最も上位の“1”のビット位置を検出する最上位位置検出回路80と、メモリブロックそれぞれに対応するレジスタ段を有し、最上位位置検出回路80により、初期設定されかつカウントアップ信号とデータ保持領域ビットDBH0−DBH1に従ってシフト動作を行なうバイパス機能付シフトレジスタ82と、このバイパス機能付シフトレジスタ82の出力信号に従ってブロックアドレスを順次選択してリフレッシュブロックアドレスRFBADを生成するブロックアドレスレジスタ回路84を含む。このバイパス機能つきシフトレジスタは、リング上にシフト動作を行なうように、最終段の出力が初段のレジスタ段の入力にフィードバックされる。   FIG. 19 shows an example of the configuration of refresh block address generation circuit 76 shown in FIG. In FIG. 19, the refresh block address generation circuit 76 includes a most significant position detection circuit 80 for detecting the most significant “1” bit position among the data holding block specific bits DBH0 to DBH1, and a register corresponding to each memory block. A shift register 82 with a bypass function that is initially set by the most significant position detection circuit 80 and performs a shift operation in accordance with the count-up signal and the data holding area bits DBH0 to DBH1, and an output of the shift register 82 with the bypass function It includes a block address register circuit 84 that sequentially selects block addresses in accordance with signals and generates a refresh block address RFBAD. In this shift register with a bypass function, the output of the final stage is fed back to the input of the first register stage so as to perform a shift operation on the ring.

最上位位置検出回路80は、通常の検出回路で構成され、ビットDBH0−DBH7のうち、最も上位の“1”の位置を検出する。これらのビットDBH0−DBH7が“1”のとき、対応のメモリブロックが、データ保持領域として指定される。   The most significant position detection circuit 80 is configured by a normal detection circuit, and detects the position of the highest “1” among the bits DBH0 to DBH7. When these bits DBH0 to DBH7 are “1”, the corresponding memory block is designated as a data holding area.

バイパス機能付シフトレジスタ82は、メモリブロックそれぞれに対応して配置されるレジスタ段を有し、このデータ保持ブロックのうちの最上位位置のメモリブロックに対応するレジスタ段が、“1”に初期設定される。このバイパス機能付シフトレジスタは、対応のビットDBH0−DBH7に従って選択的にシフト動作を実行する。すなわち、対応のメモリブロックがデータ保持領域に指定されていない場合には、その対応のレジスタ段をスキップして、データ保持領域に特定されたメモリブロックに対応するレジスタ段間でのシフト動作を実行する。   The shift register 82 with a bypass function has a register stage arranged corresponding to each memory block, and the register stage corresponding to the memory block at the highest position among the data holding blocks is initially set to “1”. Is done. This shift register with a bypass function selectively performs a shift operation according to the corresponding bits DBH0 to DBH7. In other words, if the corresponding memory block is not designated as the data holding area, the corresponding register stage is skipped and the shift operation is performed between the register stages corresponding to the memory block specified in the data holding area. To do.

ブロックアドレスレジスタ回路84は、メモリブロックそれぞれに対応するブロックアドレス(3ビット)を格納し、バイパス機能付シフトレジスタ82からの出力信号がHレベルとなると、対応のブロックアドレスを出力する。   The block address register circuit 84 stores a block address (3 bits) corresponding to each memory block, and outputs a corresponding block address when an output signal from the shift register 82 with a bypass function becomes H level.

図20は、バイパス機能付シフトレジスタ82の1段のレジスタ段の構成を概略的に示す図である。   FIG. 20 is a diagram schematically showing a configuration of one register stage of the shift register 82 with a bypass function.

なお、このバイパス機能付シフトレジスタ82は、その最終段のレジスタ段の出力は、その初段のレジスタ段へフィードバックされる。   In the shift register 82 with the bypass function, the output of the last register stage is fed back to the first register stage.

図20は、バイパス機能付シフトレジスタ82の1段のレジスタ段の構成を概略的に示す図である。図20において、レジスタ段は、データ保持ブロック特定ビットDBHiとカウントアップ信号CUPとを受けるAND回路82aと、AND回路82aの出力信号をクロック信号として転送動作を行ない、前段のレジスタ段から与えられたデータを取込み次段へ転送するラッチ回路82bと、データ保持ブロック特定ビットDBHiに従ってラッチ回路82bの入力と出力とを短絡するトランスファーゲート82cを含む。ここで、iは0から7の自然数であり、メモリブロックMBiを示す。   FIG. 20 is a diagram schematically showing a configuration of one register stage of the shift register 82 with a bypass function. In FIG. 20, the register stage performs transfer operation using the AND circuit 82a receiving the data holding block specific bit DBHi and the count-up signal CUP, and the output signal of the AND circuit 82a as a clock signal, and is supplied from the previous register stage. It includes a latch circuit 82b that takes in data and transfers it to the next stage, and a transfer gate 82c that short-circuits the input and output of the latch circuit 82b in accordance with the data holding block specific bit DBHi. Here, i is a natural number from 0 to 7, and indicates the memory block MBi.

ラッチ回路82bは、最上位位置検出回路80からの対応の最上位位置検出信号MHPiに従ってその内部がセットされ、対応の選択信号SELiが、セット時Hレベルに設定される。データ保持領域ビットDBHiがHレベル(“1”)のときには、転送ゲート82cはひ導通状態にあり、また、AND回路82aがカウントアップ信号CUPに従って出力信号を生成してラッチ回路へ与える。したがって、この場合にはラッチ回路82bが、信号の転送動作を行なう。一方、データ保持ブロック特定ビットDBHiが“0”(Lレベル)のときには、転送ゲート82cが導通状態となり、一方、AND回路82aの出力信号はLレベルであり、ラッチ回路82bは、この転送ゲート82cによりバイパスされて、シフト動作は行なわない。この場合、対応の最上位ビット位置検出信号MHPiはLレベルであり、選択信号SELiも常時Lレベルを維持する。これにより、データ保持ブロック特定ビットDBH0−DBH7が特定するデータ保持領域に対してのみ、ブロックアドレスを活性化することができる。   The latch circuit 82b is set in accordance with the corresponding highest position detection signal MHPi from the highest position detection circuit 80, and the corresponding selection signal SELi is set to the H level when set. When data holding area bit DBHi is at H level (“1”), transfer gate 82c is in a conductive state, and AND circuit 82a generates an output signal in accordance with count-up signal CUP and supplies it to the latch circuit. Therefore, in this case, latch circuit 82b performs a signal transfer operation. On the other hand, when the data holding block specific bit DBHi is “0” (L level), the transfer gate 82c becomes conductive, while the output signal of the AND circuit 82a is at L level, and the latch circuit 82b has the transfer gate 82c. So that the shift operation is not performed. In this case, the corresponding most significant bit position detection signal MHPi is at the L level, and the selection signal SELi always maintains the L level. As a result, the block address can be activated only for the data holding area specified by the data holding block specifying bits DBH0 to DBH7.

なお、この最上位位置検出回路80の出力信号に従ってバイパス機能付シフトレジスタ82を初期設定する場合、この初期設定は、ソフトウェアリセット動作時または、DBHライト動作時に実行される。これは、ソフトウェアリセット時またはDBHライト時に、ワンショットのパルスを発生し、最上位位置検出回路80の出力信号MHPiに従って、バイパス機能付シフトレジスタ82を初期設定する。   Note that when the shift function-added register 82 with the bypass function is initially set according to the output signal of the most significant position detection circuit 80, this initial setting is executed at the time of software reset operation or DBH write operation. This generates a one-shot pulse at the time of software reset or DBH write, and initializes the shift register 82 with a bypass function in accordance with the output signal MHPi of the highest position detection circuit 80.

図21は、図19に示すブロックアドレスレジスタ回路84の構成の一例を示す図である。図21において、ブロックアドレスレジスタ回路76は、メモリブロックMB0−MB7それぞれのブロックアドレスを格納するレジスタ回路RG0−RG7と、バイパス機能付シフトレジスタからの選択信号SEL1−SEL7に従ってレジスタ回路RG0−RG7の出力信号を選択して、リフレッシュブロックアドレスRFBADを生成する選択ゲートTX1−TX7を含む。これらの選択ゲートTX1−TX7は、それぞれレジスタ回路RG0−RG7に対応して設けられる。選択信号SEL1−SEL7の1つが、活性状態に維持され、レジスタ回路RG0−RG7に格納されたブロックアドレスのうちの一つが、リフレッシュブロックアドレスとして選択される。   FIG. 21 is a diagram showing an example of the configuration of block address register circuit 84 shown in FIG. In FIG. 21, block address register circuit 76 outputs register circuits RG0-RG7 according to selection signals SEL1-SEL7 from register circuits RG0-RG7 for storing the block addresses of memory blocks MB0-MB7 and a shift register with a bypass function. Select gates TX1-TX7 for selecting a signal and generating a refresh block address RFBAD are included. These select gates TX1-TX7 are provided corresponding to register circuits RG0-RG7, respectively. One of selection signals SEL1-SEL7 is maintained in the active state, and one of the block addresses stored in register circuits RG0-RG7 is selected as a refresh block address.

なお、上述の構成においては、ブロックアドレスレジスタ回路84によりリフレッシュブロックアドレスを生成し、行アドレスバッファを介して行デコーダへこのリフレッシュブロックアドレスを与えて、そこでデコード動作を行なっている。しかしながら、この選択信号SEL1−SEL7がそれぞれ、メモリ行ブロック選択信号として利用されてもよい。すなわち、行デコーダからの出力信号のうちのメモリブロックを特定する行ブロック選択信号に代えて、この選択信号SEL1−SEL7が、リフレッシュ用の行ブロック選択信号として利用され、選択メモリ行ブロックにおいてリフレッシュ行を選択するデコード動作が行なわれるように構成されてもよい。   In the above-described configuration, a refresh block address is generated by the block address register circuit 84, this refresh block address is given to the row decoder via the row address buffer, and a decoding operation is performed there. However, the selection signals SEL1-SEL7 may be used as memory row block selection signals, respectively. That is, instead of the row block selection signal for specifying the memory block in the output signal from the row decoder, the selection signals SEL1-SEL7 are used as the row block selection signal for refresh, and the refresh row is selected in the selected memory row block. It may be configured such that a decoding operation for selecting is performed.

[実施の形態2]
図22は、この発明の実施の形態2の要部の構成を概略的に示す図である。この図22においては、図5(A)に示すコマンドモード検出回路30の要部の構成を示す。
[Embodiment 2]
FIG. 22 schematically shows a configuration of a main part of the second embodiment of the present invention. FIG. 22 shows a configuration of a main part of command mode detection circuit 30 shown in FIG.

図22に示すコマンドモード検出回路30においては、図5(A)に示すシフトレジスタ30bに代えて、2ビットカウンタ30iが設けられる。このカウンタ30iが、デコード信号FADと読出モード指示信号φrzを受けるゲート回路30gの出力信号をカウントする。デコード信号FADおよび読出指示信号φrzを受けるゲート回路30mと、このゲート回路30mの出力信号と書込モード指示信号φwzを受けるゲート回路30nが、カウンタ30iをリセットするために設けられる。   In the command mode detection circuit 30 shown in FIG. 22, a 2-bit counter 30i is provided instead of the shift register 30b shown in FIG. Counter 30i counts the output signal of gate circuit 30g receiving decode signal FAD and read mode instruction signal φrz. Gate circuit 30m receiving decode signal FAD and read instruction signal φrz, and gate circuit 30n receiving the output signal of gate circuit 30m and write mode instruction signal φwz are provided for resetting counter 30i.

ゲート回路30gは、デコード信号FADがHレベルでありかつ読出指示信号φrzがLレベルのときにHレベルの信号を出力する。すなわち、ゲート回路30gは、最終アドレスに対するリードアクセスが行なわれる事を検出する。   Gate circuit 30g outputs an H level signal when decode signal FAD is at H level and read instruction signal φrz is at L level. That is, the gate circuit 30g detects that a read access to the final address is performed.

ゲート回路30mは、デコード信号FADがLレベルでありかつ読出指示信号がLレベルのときにHレベルの信号を出力する。すなわち、ゲート回路30mは、最終アドレス以外のアドレスへのリードアクセスが行なわれたときにHレベルの信号を出力する。   Gate circuit 30m outputs an H level signal when decode signal FAD is at L level and read instruction signal is at L level. That is, gate circuit 30m outputs an H level signal when a read access is made to an address other than the final address.

ゲート回路30nは、ゲート回路30mの出力信号がHレベルとなるかまたは書込指示信号φwzがLレベルとなると、Hレベルの信号を出力してカウンタ30iをリセットする。従って、カウンタ30iは、最終アドレス以外のアドレスに対する読出が行なわれるかまたはデータの書込が行なわれると、そのカウント値がリセットされる。   When the output signal of gate circuit 30m becomes H level or write instruction signal φwz becomes L level, gate circuit 30n outputs an H level signal and resets counter 30i. Therefore, counter 30i resets its count value when reading is performed on an address other than the final address or when data is written.

このカウンタ30iの桁上りビットCARが、図5(A)に示すレジスタ回路35(フリップフロップ)に格納される。   The carry bit CAR of the counter 30i is stored in the register circuit 35 (flip-flop) shown in FIG.

この図22に示す構成においては、ゲート回路30gは、デコード信号FADと読出モード指示信号φrzとに従って刺繍アドレスに対するリードアクセスを検出し、この最終アドレスに対するリードアクセスが行なわれるとき、Hレベルの信号を出力する。カウンタ30iは、このゲート回路30gの出力信号の立上がりをカウントする。したがって、最終アドレスへ連続してリードアクセスが行なわれた回数を、カウンタ30iがカウントする。   In the configuration shown in FIG. 22, gate circuit 30g detects a read access to the embroidery address in accordance with decode signal FAD and read mode instruction signal φrz, and outputs a signal at H level when the read access to this final address is performed. Output. The counter 30i counts the rising edge of the output signal of the gate circuit 30g. Therefore, the counter 30i counts the number of times that the read access is continuously performed to the final address.

一方、データ読出時において、デコード信号FADがLレベルのときには、ゲート回路30nの出力信号がHレベルとなり、カウンタ30iがリセットされる。また、データ書込が行われた場合、書込モード指示信号φwzがLレベルとなり、同様ゲート回路30nにより、カウンタ30iがリセットされる。   On the other hand, at the time of data reading, when decode signal FAD is at L level, the output signal of gate circuit 30n is at H level and counter 30i is reset. When data writing is performed, write mode instruction signal φwz becomes L level, and similarly, counter 30i is reset by gate circuit 30n.

したがって、この最終アドレスへ連続して所定回数読出アクセスが行なわれたときにカウンタ30iが、その桁上げビット(キャリービット)CARをHレベルとし、レジスタ(フリップフロップ)30fがセットされて、コマンドモードが設定される。   Therefore, when a read access is continuously made a predetermined number of times to this final address, counter 30i sets its carry bit (carry bit) CAR to H level, register (flip-flop) 30f is set, and command mode Is set.

この図22に示す構成の場合、カウンタ30iは、2段のDラッチで構成することができ、データレジスタを用いるデータレジスタを用いる構成に比べて回路占有面積を低減することができる。   In the case of the configuration shown in FIG. 22, the counter 30i can be configured by a two-stage D latch, and the circuit occupation area can be reduced as compared with a configuration using a data register using a data register.

[他の実施の形態]
上述の説明においては、コマンドモードに入るために、最終アドレスを連続4回リードしている。この場合、外部に、最終アドレスのデータが読出される。データの単なる読出が行なわれるだけであり、データの破壊は生じない。しかしながら、この最終アドレスの記憶データが破壊されてもよい場合には、このコマンドモードエントリ時の動作として、リードモードとライトモードとが、適当に組合せて所定回数行なわれるように構成されてもよい。コマンドモードエントリのために、通常動作モード時に行なわれる動作シーケンスと異なる動作シーケンスが実行されればよい。
[Other embodiments]
In the above description, the final address is read four times consecutively to enter the command mode. In this case, the data at the final address is read out to the outside. Data is simply read out, and no data destruction occurs. However, when the data stored at the final address may be destroyed, the read mode and the write mode may be appropriately combined and performed a predetermined number of times as the operation at the time of command mode entry. . For the command mode entry, an operation sequence different from the operation sequence performed in the normal operation mode may be executed.

また、特定アドレスとしては、最終アドレスに限定されず、任意のアドレスたとえば先頭アドレスまたは中間アドレスなどのアドレスであってもよい。最終アドレスは、通常動作モード時において使用される頻度が小さく、このような使用頻度の低いアドレスを所定回数連続アクセスする事により、容易にかつ確実にコマンドモードエントリモードと通常動作モードとを区別する事ができる。   Further, the specific address is not limited to the final address, and may be an arbitrary address such as a head address or an intermediate address. The final address is used less frequently in the normal operation mode, and the command mode entry mode and the normal operation mode can be easily and reliably distinguished by continuously accessing such an infrequently used address a predetermined number of times. I can do things.

また、この半導体記憶装置は、1ビットのデータを2つのDRAMセルで記憶する半導体記憶装置であってもよい。すなわち対をなすビット線に、常に相補なメモリセルデータを読出して、ビット線間読出電圧を、1ビットメモリセルを1ビットデータ記憶に用いる場合の2倍の大きさに設定する。この場合、リフレッシュ間隔をより長くすることができる。   The semiconductor memory device may be a semiconductor memory device that stores 1-bit data in two DRAM cells. In other words, complementary memory cell data is always read from the paired bit lines, and the read voltage between the bit lines is set to a value twice as large as when 1-bit memory cells are used for 1-bit data storage. In this case, the refresh interval can be made longer.

また、コマンドモードエントリとしては、最終アドレスを指定して、リードまたはライトのアクセスを行なうシーケンスに代えて、通常の動作モード時に使用されない任意の動作シーケンスが利用されてもよい。すなわち、特定のアドレス信号と特定のデータビットとをある組合せの状態に設定して、連続して、リードまたはライトが行なわれるシーケンスがコマンドモードエントリモードとして利用されてもよい。   As the command mode entry, an arbitrary operation sequence that is not used in the normal operation mode may be used instead of the sequence for designating the last address and performing read or write access. That is, a sequence in which a specific address signal and a specific data bit are set to a certain combination state and reading or writing is continuously performed may be used as the command mode entry mode.

1 半導体記憶装置、2 メモリセルアレイ、12 内部制御信号発生回路、20 モード制御回路、22 状態制御回路、30 コマンドモード検出回路、32 モードデコード回路、30a アドレスデコード回路、30d シフタ、30f レジスタ(フリップフロップ)、30b 読出モード検出回路、30c 書込モード検出回路、40 入出力バッファ、41 入力バッファ、42,43,44,45 NAND回路、46 バス切換回路、47 シフトレジスタ、48 コマンドデコーダ、49 コマンドセット回路、60a OR回路、60b セット/リセットフリップフロップ、60c 電源トランジスタ、62 メモリ電源線、62a 電源投入検出回路、52b ゲート回路、54 リセット用トランジスタ、70 データ保持用レジスタ、72 リフレッシュ制御回路、74 リフレッシュアドレスカウンタ、76 リフレッシュブロックアドレス発生回路。   DESCRIPTION OF SYMBOLS 1 Semiconductor memory device, 2 Memory cell array, 12 Internal control signal generation circuit, 20 mode control circuit, 22 State control circuit, 30 Command mode detection circuit, 32 Mode decode circuit, 30a Address decode circuit, 30d Shifter, 30f Register (flip-flop ), 30b Read mode detection circuit, 30c Write mode detection circuit, 40 I / O buffer, 41 Input buffer, 42, 43, 44, 45 NAND circuit, 46 Bus switching circuit, 47 Shift register, 48 Command decoder, 49 Command set Circuit, 60a OR circuit, 60b set / reset flip-flop, 60c power transistor, 62 memory power line, 62a power-on detection circuit, 52b gate circuit, 54 reset transistor, 70 data holding register Motor, 72 a refresh control circuit, 74 a refresh address counter, 76 a refresh block address generator.

Claims (3)

通常動作モード時、複数の外部信号端子に入力される所定の信号パターンに従ってアクセスされる半導体記憶装置であって、
前記複数の外部信号端子に前記所定の信号パターンと異なる信号パターンを入力されることに応じて前記通常動作モードからコマンドモードに遷移させる信号を生成し、前記コマンドモードにおいて前記複数の外部信号端子のアドレスおよびデータ端子から入力される第1の信号パターンをデコードして内部を低消費電力状態に設定する信号を生成し、前記アドレスおよびデータ端子から入力される第2の信号パターンをデコードして前記半導体記憶装置を前記コマンドモードにおいてコマンドを受付けるコマンドスタンバイ状態から前記通常モードに遷移させる信号を生成するモード制御回路を備える、半導体記憶装置。
A semiconductor memory device that is accessed according to a predetermined signal pattern input to a plurality of external signal terminals during a normal operation mode,
Generates a signal to transition to command mode from the normal operation mode in response to input of the predetermined signal pattern different signal patterns to said plurality of external signal terminals, external signal number before Kifuku in the Command Mode The first signal pattern input from the terminal address and the data terminal is decoded to generate a signal for setting the inside to a low power consumption state, and the second signal pattern input from the address and data terminal is decoded comprising a mode control circuit for generating a signal to transition to the normal mode the semiconductor memory device from the command standby state for accepting a command in the command mode Te, semiconductor memory device.
前記モード制御回路は、前記コマンドスタンバイ状態の他に、内部電源の供給の遮断を指定するパワーダウンモード、前記パワーダウンモードを完了させるウェイクアップモード、内部を初期状態にセットするリセットモード、データ保持モード時におけるデータ保持領域の指定をするモード、および前記コマンドモードから通常モードへ遷移させるイグジットモードのいずれかを活性化する、請求項1記載の半導体記憶装置。 In addition to the command standby state, the mode control circuit includes a power-down mode for specifying the interruption of internal power supply, a wake-up mode for completing the power-down mode, a reset mode for setting the internal state to an initial state, and data retention 2. The semiconductor memory device according to claim 1, wherein one of a mode for designating a data holding area in the mode and an exit mode for transitioning from the command mode to the normal mode are activated. 前記コマンドモードは、前記通常動作モード時に行なわれるアクセスシーケンスと異なるアクセスシーケンスが行なわれたときに指定される、請求項1記載の半導体記憶装置。 2. The semiconductor memory device according to claim 1, wherein said command mode is designated when an access sequence different from an access sequence performed in said normal operation mode is performed.
JP2010287858A 2010-12-24 2010-12-24 Semiconductor memory device Expired - Fee Related JP5514095B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2010287858A JP5514095B2 (en) 2010-12-24 2010-12-24 Semiconductor memory device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010287858A JP5514095B2 (en) 2010-12-24 2010-12-24 Semiconductor memory device

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2001129945A Division JP4707255B2 (en) 2001-04-26 2001-04-26 Semiconductor memory device

Publications (2)

Publication Number Publication Date
JP2011086375A JP2011086375A (en) 2011-04-28
JP5514095B2 true JP5514095B2 (en) 2014-06-04

Family

ID=44079187

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010287858A Expired - Fee Related JP5514095B2 (en) 2010-12-24 2010-12-24 Semiconductor memory device

Country Status (1)

Country Link
JP (1) JP5514095B2 (en)

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09167483A (en) * 1995-12-19 1997-06-24 Mitsubishi Electric Corp Operation mode setting circuit
JP3741534B2 (en) * 1998-03-24 2006-02-01 株式会社リコー Semiconductor memory
JP3883087B2 (en) * 1998-11-09 2007-02-21 富士通株式会社 Semiconductor memory device and semiconductor memory circuit
JP2001093275A (en) * 1999-09-20 2001-04-06 Mitsubishi Electric Corp Semiconductor integrated circuit device
JP3737437B2 (en) * 2001-02-01 2006-01-18 Necエレクトロニクス株式会社 Semiconductor memory and entry method of operation mode thereof
JP2002358800A (en) * 2001-05-28 2002-12-13 Mitsubishi Electric Corp Semiconductor device
JP2003317468A (en) * 2002-04-15 2003-11-07 Mitsubishi Electric Corp Semiconductor memory device

Also Published As

Publication number Publication date
JP2011086375A (en) 2011-04-28

Similar Documents

Publication Publication Date Title
JP4707255B2 (en) Semiconductor memory device
KR100618070B1 (en) Dynamic memory circuit with automatic refresh function
KR100779871B1 (en) Low power auto-refresh circuit and method for dynamic random access memories
US7466623B2 (en) Pseudo SRAM capable of operating in continuous burst mode and method of controlling burst mode operation thereof
JP4877560B2 (en) System and method for decoding commands based on command signals and operating conditions
US7433248B2 (en) System and method for enhanced mode register definitions
JP4516483B2 (en) Semiconductor memory device and information processing system
US7551495B2 (en) Semiconductor memory device with a data output circuit configured to output stored data during a first type of read operation and configured to output at least one data pattern during a second type of read operation and methods thereof
JP2001338489A (en) Semiconductor device
KR20080081042A (en) System and method for providing temperature data from a memory device having a temperature sensor
US7304908B2 (en) SRAM device capable of performing burst operation
US10573371B2 (en) Systems and methods for controlling data strobe signals during read operations
US7057959B2 (en) Semiconductor memory having mode register access in burst mode
JP4743999B2 (en) Semiconductor memory device
JP2000030456A (en) Memory device
JPH10162576A (en) Column selection line enable circuit for semiconductor memory device
JP5315739B2 (en) Memory device and memory control method
JP5514095B2 (en) Semiconductor memory device
JP4759717B2 (en) Synchronous nonvolatile memory and memory system
KR100512546B1 (en) Semiconductor memory device having control circuit
JP2004281002A (en) Semiconductor memory device
US10403330B1 (en) Power noise reduction technique for high density memory with gating
KR20080107559A (en) Semiconductor memory device

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20121205

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20121218

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20130116

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20130827

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20131001

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: 20140325

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20140328

R150 Certificate of patent or registration of utility model

Ref document number: 5514095

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

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