JP2008210513A - Semiconductor memory - Google Patents

Semiconductor memory Download PDF

Info

Publication number
JP2008210513A
JP2008210513A JP2008107982A JP2008107982A JP2008210513A JP 2008210513 A JP2008210513 A JP 2008210513A JP 2008107982 A JP2008107982 A JP 2008107982A JP 2008107982 A JP2008107982 A JP 2008107982A JP 2008210513 A JP2008210513 A JP 2008210513A
Authority
JP
Japan
Prior art keywords
signal
core
memory cell
circuit
control signal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2008107982A
Other languages
Japanese (ja)
Other versions
JP4900310B2 (en
Inventor
Kota Hara
浩太 原
Shinya Fujioka
伸也 藤岡
Waichiro Fujieda
和一郎 藤枝
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP2008107982A priority Critical patent/JP4900310B2/en
Publication of JP2008210513A publication Critical patent/JP2008210513A/en
Application granted granted Critical
Publication of JP4900310B2 publication Critical patent/JP4900310B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To operate an external access in an access time of apparently one time of memory core operation, even when a refresh operation conflicts an external access request. <P>SOLUTION: This semiconductor memory is equipped with: a memory core for dividing a plurality of bit data of the same address into a plurality of memory cell blocks and storing them; an internal commend generating circuit for outputting an internal command signal based on an external command; a first core control signal generating circuit for outputting the first core control signal to activate the memory core based on the internal command signal; and a control circuit which can control the refresh operation for the plurality of memory cell blocks independently of each other and controls one memory cell block and another memory cell block so that they perform the refresh operation with different timing. The control circuit outputs a second core control signal for activating the memory core based on the refresh request signal. <P>COPYRIGHT: (C)2008,JPO&INPIT

Description

本発明は、半導体記憶装置に関し、特にリフレッシュ動作を行う半導体記憶装置に関する。   The present invention relates to a semiconductor memory device, and more particularly to a semiconductor memory device that performs a refresh operation.

DRAM(dynamic random access memory)メモリコアを使用する限りはリフレッシュ動作を必要な時期に行わなければならない。リフレッシュ動作を行う間はその動作領域に対してのアクセスができない。その結果、リフレッシュ動作を行う際に、アクセスしたい場合はリフレッシュ動作が終了するまでアクセスすることを待たなくてはならない。   As long as a dynamic random access memory (DRAM) memory core is used, the refresh operation must be performed when necessary. During the refresh operation, the operation area cannot be accessed. As a result, when performing a refresh operation, if it is desired to access, it must wait until the refresh operation is completed.

もし、外部からリフレッシュ要求を入力しないSRAM(static random access memory)制御で動作させようとすると、内部で定期的にリフレッシュ要求を発生させることになる。この際に外部からアクセス要求があれば、リフレッシュ動作を行った後に要求されたアクセスを行うため、外見上1回のアクセスでも、メモリコア動作2回分の時間がかかるように見えてしまう。   If an attempt is made to operate with SRAM (static random access memory) control in which a refresh request is not input from the outside, a refresh request is periodically generated internally. At this time, if there is an access request from the outside, the requested access is performed after the refresh operation is performed, so that it seems that it takes time equivalent to two memory core operations even with one access.

特開2001−093277号公報JP 2001-093277 A 特開平04−132093号公報Japanese Patent Laid-Open No. 04-132093 特開2000−076891号公報Japanese Patent Laid-Open No. 2000-076871

本発明の目的は、リフレッシュ動作とその際の外部アクセス要求が競合した際にも、外見上メモリコア動作1回分のアクセス時間で外部アクセスを動作させることである。   An object of the present invention is to allow external access to operate with an access time equivalent to one memory core operation even when a refresh operation and an external access request at that time compete.

本発明の一観点によれば、同一アドレスの複数のビットデータを複数のメモリセルブロックに分散して記憶するためのメモリコアと、外部コマンドに基づいて、内部コマンド信号を出力する内部コマンド発生回路と、前記内部コマンド信号に基づいて、前記メモリコアを活性化するための第1のコア制御信号を出力する第1のコア制御信号発生回路と、前記複数のメモリセルブロックに対してそれぞれ独立にリフレッシュ動作を制御することができ、一のメモリセルブロックと他の一のメモリセルブロックとを異なるタイミングでリフレッシュ動作するように制御する制御回路とを備え、前記制御回路は、リフレッシュ要求信号に基づいて前記メモリコアを活性化するための第2のコア制御信号を出力する第2のコア制御信号発生回路を備え、リフレッシュ動作中のメモリセルブロックに対する読み込み要求信号が入力された場合は、前記リフレッシュ動作の終了後に前記第2のコア制御信号を非活性化として前記読み込み要求信号に基づいて読み出し動作を行うことを特徴とする半導体記憶装置が提供される。   According to one aspect of the present invention, a memory core for distributing and storing a plurality of bit data of the same address in a plurality of memory cell blocks, and an internal command generation circuit for outputting an internal command signal based on an external command And a first core control signal generating circuit for outputting a first core control signal for activating the memory core based on the internal command signal, and independently for each of the plurality of memory cell blocks A control circuit that can control a refresh operation and controls one memory cell block and another memory cell block to perform refresh operations at different timings, and the control circuit is based on a refresh request signal And a second core control signal generating circuit for outputting a second core control signal for activating the memory core. When a read request signal is input to a memory cell block during a refresh operation, the second core control signal is deactivated after the refresh operation is completed, and a read operation is performed based on the read request signal. A semiconductor memory device is provided.

本発明の他の観点によれば、同一アドレスの複数のビットデータを複数のメモリセルブロックに分散して記憶するためのメモリコアと、外部コマンドに基づいて、内部コマンド信号を出力する内部コマンド発生回路と、前記内部コマンド信号に基づいて、前記メモリコアを活性化するための第1のコア制御信号を出力する第1のコア制御信号発生回路と、リフレッシュ要求信号に基づいて前記メモリコアを活性化するための第2のコア制御信号を出力する第2のコア制御信号発生回路と、前記リフレッシュ要求信号に応じて、リフレッシュを行うメモリセルブロックを選択するセレクト信号をセレクタに出力するメモリセルブロック選択回路と、前記セレクト信号に基づいて第1の制御信号と前記第2のコア制御信号とを選択的に前記メモリコアに出力するセレクタとを備え、前記セレクタは、前記複数のメモリセルブロックの内の第1のメモリセルブロックに対するリフレッシュ動作においては前記第2のコア制御信号を前記第1のメモリセルブロックのメモリコアに供給し、前記第1のメモリセルブロック以外のメモリセルブロックに対する読み出し動作においては前記第1のコア制御信号を前記第1のメモリセルブロック以外のメモリセルブロックのメモリコアに供給することを特徴とする半導体記憶装置が提供される。   According to another aspect of the present invention, a memory core for distributing and storing a plurality of bit data of the same address in a plurality of memory cell blocks, and an internal command generation for outputting an internal command signal based on an external command A circuit, a first core control signal generating circuit for outputting a first core control signal for activating the memory core based on the internal command signal, and activating the memory core based on a refresh request signal A second core control signal generating circuit for outputting a second core control signal for generating a memory cell block, and a memory cell block for outputting a select signal for selecting a memory cell block to be refreshed to the selector in response to the refresh request signal A memory that selectively selects a first control signal and the second core control signal based on a selection circuit and the select signal; And a selector for outputting the second core control signal to the memory of the first memory cell block in a refresh operation for the first memory cell block of the plurality of memory cell blocks. And supplying the first core control signal to a memory core of a memory cell block other than the first memory cell block in a read operation for a memory cell block other than the first memory cell block. A featured semiconductor memory device is provided.

以上説明したように、複数のメモリセルブロックを独立にリフレッシュ動作させることができるので、外部からのアクセス要求とリフレッシュ動作を同時に処理することが可能になる。すなわち、同一タイミングで一部のメモリセルブロックに対してリフレッシュ動作を行い、他のメモリセルブロックに対して外部からアクセスすることが可能になる。これにより、メモリコア動作1回分の高速アクセスタイムで読み出し動作を実現できる。   As described above, since a plurality of memory cell blocks can be independently refreshed, an external access request and a refresh operation can be processed simultaneously. That is, it is possible to perform a refresh operation on some memory cell blocks at the same timing and to access other memory cell blocks from the outside. Thereby, a read operation can be realized with a high-speed access time for one memory core operation.

図1は、本発明の半導体記憶装置のメモリコアの概略図を示す。
メモリコアは、同一アドレスの複数のビットデータを複数のメモリセルブロック(以下、ブロックという)BLK1〜BLK4に分散して記憶する。例えば、同一アドレスに16ビットを記憶させることができ、4個のブロックBLK1〜BLK4はそれぞれ4ビットを記憶することができる。ブロックBLK1〜BLK4は、外部データを記憶するためのメモリセルアレイである。各ブロックBLK1〜BLK4は、メモリセル104、ワードデコーダ103、コラムデコーダ102、入力信号に対するセレクタ101を有する。各ブロックBLK1〜BLK4は、さらに複数のワードデコーダ103及びメモリセル104の組みに分割される。
FIG. 1 shows a schematic diagram of a memory core of a semiconductor memory device of the present invention.
The memory core stores a plurality of bit data at the same address in a plurality of memory cell blocks (hereinafter referred to as blocks) BLK1 to BLK4. For example, 16 bits can be stored in the same address, and each of the four blocks BLK1 to BLK4 can store 4 bits. Blocks BLK1 to BLK4 are memory cell arrays for storing external data. Each of the blocks BLK1 to BLK4 includes a memory cell 104, a word decoder 103, a column decoder 102, and a selector 101 for an input signal. Each block BLK1 to BLK4 is further divided into a set of a plurality of word decoders 103 and memory cells 104.

ブロックBLK5は、同一アドレスの複数のビットデータに対する演算結果を記憶するためのメモリセルアレイである。演算方法の詳細は、後に図2(A)〜(C)を参照しながら説明する。ブロックBLK5も、ブロックBLK1〜BLK4と同様に、メモリセル104、ワードデコーダ103、コラムデコーダ102、入力信号に対するセレクタ101を有する。   The block BLK5 is a memory cell array for storing operation results for a plurality of bit data having the same address. Details of the calculation method will be described later with reference to FIGS. Similarly to the blocks BLK1 to BLK4, the block BLK5 includes a memory cell 104, a word decoder 103, a column decoder 102, and a selector 101 for an input signal.

制御信号は、第1の制御信号SIG1と第2の制御信号SIG2との2系統があり、それぞれ各ブロックBLK1〜BLK5のセレクタ101に入力される。各セレクタ101には、セレクト信号SEL1〜SEL5がそれぞれ入力される。このセレクト信号SEL1〜SEL5がローレベルの場合はセレクタ101の出力は第1の制御信号SEL1になり、セレクト信号SEL1〜SEL5がハイレベルの場合はセレクタ101の出力が第2の制御信号SIG2となる。セレクト信号SEL1〜SEL5は、それぞれ独立した信号である。   There are two control signals, the first control signal SIG1 and the second control signal SIG2, which are respectively input to the selectors 101 of the blocks BLK1 to BLK5. Select signals SEL1 to SEL5 are input to each selector 101, respectively. When the select signals SEL1 to SEL5 are low level, the output of the selector 101 is the first control signal SEL1, and when the select signals SEL1 to SEL5 are high level, the output of the selector 101 is the second control signal SIG2. . The select signals SEL1 to SEL5 are independent signals.

制御信号SIG1及びSIG2は、それぞれ書き込み要求信号、読み出し要求信号、アドレス、データ等を含む。例えば、書き込み要求信号及び読み出し要求信号は、チップイネーブル及びライトイネーブル信号により表現される。   The control signals SIG1 and SIG2 include a write request signal, a read request signal, an address, data, and the like, respectively. For example, the write request signal and the read request signal are expressed by a chip enable signal and a write enable signal.

ワードデコーダ103は、セレクタ101から供給されるアドレスに応じてロウアドレスを特定する。カラムデコーダ102は、セレクタ101から供給されるアドレスに応じてカラムアドレスに特定する。メモリセル104は、特定されたロウアドレス及びカラムアドレスに対してデータを書き込んだり読み出すことができる。   The word decoder 103 specifies a row address according to the address supplied from the selector 101. The column decoder 102 specifies the column address according to the address supplied from the selector 101. The memory cell 104 can write / read data to / from the specified row address and column address.

通常時、第2の制御信号SIG2は非活性であり、第1の制御信号SIG1のみがメモリコアを制御する。通常読み出し時、セレクト信号SEL1〜SEL4はローレベル、セレクト信号SEL5はハイレベルとなり、ブロックBLK5は非活性となる。通常書き込み時、セレクト信号SEL1〜SEL5は全てローレベルとなり、全ブロックBLK1〜BLK5に書き込みがされる。   Normally, the second control signal SIG2 is inactive, and only the first control signal SIG1 controls the memory core. During normal reading, the select signals SEL1 to SEL4 are at a low level, the select signal SEL5 is at a high level, and the block BLK5 is inactive. During normal writing, all the select signals SEL1 to SEL5 are at a low level, and writing is performed to all the blocks BLK1 to BLK5.

リフレッシュ動作を行う場合は、ブロックBLK1〜BLK5を順番にブロック単位でリフレッシュし、そのブロックに対応するセレクト信号のみがハイレベルとなる。リフレッシュ動作は第2の制御信号SIG2で与えられ、セレクト信号がハイレベルのブロックのみリフレッシュ動作を行う。   When performing the refresh operation, the blocks BLK1 to BLK5 are sequentially refreshed in units of blocks, and only the select signal corresponding to the block becomes high level. The refresh operation is given by the second control signal SIG2, and only the block whose select signal is at a high level performs the refresh operation.

また、リフレッシュ以外の書き込み信号を、第1の制御信号SIG1と非同期で第2の制御信号SIG2に与えれば、セレクト信号がハイレベルのブロックだけ第2の制御信号SIG2に従って動作し、それ以外のブロックは第1の制御信号に従って動作する。   Further, if a write signal other than refresh is applied to the second control signal SIG2 asynchronously with the first control signal SIG1, only the block whose select signal is at the high level operates according to the second control signal SIG2, and the other blocks Operates according to the first control signal.

本実施形態では、ブロック毎に活性化して制御するための制御信号を複数系統有する。セレクタ101は、ブロック毎に制御信号の系統を選択することができる。また、複数のブロックを同一又は異なるタイミングの制御信号により複数活性化し、それぞれのブロックの活性化タイミング及び/又は活性化時間が異なるように制御することができる。   In the present embodiment, a plurality of control signals for activating and controlling each block are provided. The selector 101 can select a control signal system for each block. Further, a plurality of blocks can be activated by a control signal having the same or different timing, and the activation timing and / or activation time of each block can be controlled to be different.

図2(A)は、データ書き込み時のライトパリティ演算シーケンスの図を示す。
ブロックBLK1〜BLK4にそれぞれ1ビットデータDQ01〜DQ04を書き込む例を説明する。外部から入力される書き込みデータDQ01〜DQ04をそれぞれブロックBLK1〜BLK4に書き込む。
FIG. 2A shows a diagram of a write parity operation sequence at the time of data writing.
An example will be described in which 1-bit data DQ01 to DQ04 are written in the blocks BLK1 to BLK4, respectively. Write data DQ01 to DQ04 input from the outside are written to the blocks BLK1 to BLK4, respectively.

排他的論理和回路(Exclusive-OR)201は、データDQ01及びDQ02を入力し、排他的論理和を演算して出力する。排他的論理和回路202は、データDQ03及びDQ04を入力し、排他的論理和を演算して出力する。排他的論理和回路203は、排他的論理和回路201の出力及び排他的論理和回路202の出力を入力し、排他的論理和を演算して出力する。排他的論理和回路203の出力は、ブロックBLK5に書き込まれる。   The exclusive OR circuit (Exclusive-OR) 201 inputs data DQ01 and DQ02, calculates exclusive OR, and outputs the result. The exclusive OR circuit 202 inputs the data DQ03 and DQ04, calculates the exclusive OR, and outputs the result. The exclusive OR circuit 203 receives the output of the exclusive OR circuit 201 and the output of the exclusive OR circuit 202, calculates the exclusive OR, and outputs the result. The output of the exclusive OR circuit 203 is written in the block BLK5.

図2(B)は、排他的論理和回路201〜203の回路図を示す。第1の入力信号IN1は、論理否定回路(インバータ)211に入力される。インバータ212の入力は、インバータ211の出力に接続される。第2の入力信号IN2は、インバータ215に入力される。pチャネルMOSトランジスタ213は、ゲートがインバータ212の出力に接続され、ソースが第2の入力信号IN2の線に接続され、ドレインが出力信号OUTの線に接続される。nチャネルMOSトランジスタ214は、ゲートがインバータ211の出力に接続され、ドレインが第2の入力信号IN2の線に接続され、ソースが出力信号OUTの線に接続される。pチャネルMOSトランジスタ216は、ゲートがインバータ211の出力に接続され、ソースがインバータ215の出力に接続され、ドレインが出力信号OUTの線に接続される。nチャネルMOSトランジスタ217は、ゲートがインバータ212の出力に接続され、ドレインがインバータ215の出力に接続され、ソースが出力信号OUTの線に接続される。   FIG. 2B shows a circuit diagram of the exclusive OR circuits 201 to 203. The first input signal IN1 is input to a logic negation circuit (inverter) 211. The input of the inverter 212 is connected to the output of the inverter 211. The second input signal IN2 is input to the inverter 215. In the p-channel MOS transistor 213, the gate is connected to the output of the inverter 212, the source is connected to the line of the second input signal IN2, and the drain is connected to the line of the output signal OUT. The n-channel MOS transistor 214 has a gate connected to the output of the inverter 211, a drain connected to the line of the second input signal IN2, and a source connected to the line of the output signal OUT. In the p-channel MOS transistor 216, the gate is connected to the output of the inverter 211, the source is connected to the output of the inverter 215, and the drain is connected to the line of the output signal OUT. The n-channel MOS transistor 217 has a gate connected to the output of the inverter 212, a drain connected to the output of the inverter 215, and a source connected to the line of the output signal OUT.

図2(C)は、図2(B)に示す排他的論理和回路の真理値表を示す。出力信号OUTは、入力信号IN1及びIN2が同じときには0になり、異なるときには1になる。   FIG. 2C shows a truth table of the exclusive OR circuit shown in FIG. The output signal OUT becomes 0 when the input signals IN1 and IN2 are the same, and becomes 1 when they are different.

図2(A)において、2段階の2入力排他的論理和回路201〜203は、4ビットの入力データDQ01〜DQ04を基に1ビットの演算結果を出力する。この際、4ビットの入力データDQ01〜DQ04の中に、「1」データが奇数個あれば「1」を出力し、偶数個であれば「0」を出力する。以下、この演算結果をライトパリティと呼ぶ。   In FIG. 2A, two-stage 2-input exclusive OR circuits 201 to 203 output 1-bit operation results based on 4-bit input data DQ01 to DQ04. At this time, if there is an odd number of “1” data in the 4-bit input data DQ01 to DQ04, “1” is output, and if it is an even number, “0” is output. Hereinafter, this calculation result is referred to as write parity.

データDQ01〜DQ04は、例えば「0」、「1」、「0」、「0」である。この場合、排他的論理和回路201〜203は、それぞれ「1」、「0」、「1」を出力する。ブロックBLK5には、排他的論理和回路203の出力である「1」がライトパリティとして書き込まれる。   The data DQ01 to DQ04 are, for example, “0”, “1”, “0”, “0”. In this case, the exclusive OR circuits 201 to 203 output “1”, “0”, and “1”, respectively. In the block BLK5, “1” that is the output of the exclusive OR circuit 203 is written as a write parity.

図3(A)は、データ読み出し時のデータ補正シーケンスを示す。
ブロックBLK1〜BLK4からそれぞれ1ビットデータDQ01〜DQ04を読み出して補正する例を説明する。排他的論理和回路311の2入力は、ブロックBLK1のデータ線(ビット線)及びブロックBLK2のデータ線に接続される。排他的論理和回路312の2入力は、ブロックBLK3のデータ線及びブロックBLK4のデータ線に接続される。排他的論理和回路313の2入力は、排他的論理和回路311の出力及び排他的論理和回路312の出力に接続される。排他的論理和回路314の2入力は、排他的論理和回路313の出力及びブロックBLK5のデータ線に接続される。以下、排他的論理和回路313の出力をリードパリティと呼ぶ。排他的論理和回路314は、リードパリティ及びライトパリティの比較を行う。リードパリティ及びライトパリティは、共に排他的論理和回路を用いて同様の演算により求められる。
FIG. 3A shows a data correction sequence at the time of data reading.
An example will be described in which 1-bit data DQ01 to DQ04 are read out from the blocks BLK1 to BLK4 and corrected. Two inputs of the exclusive OR circuit 311 are connected to a data line (bit line) of the block BLK1 and a data line of the block BLK2. Two inputs of the exclusive OR circuit 312 are connected to the data line of the block BLK3 and the data line of the block BLK4. Two inputs of the exclusive OR circuit 313 are connected to the output of the exclusive OR circuit 311 and the output of the exclusive OR circuit 312. Two inputs of the exclusive OR circuit 314 are connected to the output of the exclusive OR circuit 313 and the data line of the block BLK5. Hereinafter, the output of the exclusive OR circuit 313 is referred to as read parity. The exclusive OR circuit 314 compares the read parity and the write parity. Both the read parity and the write parity are obtained by the same calculation using an exclusive OR circuit.

データ補正回路301について説明する。ブロックBLK3のデータ線307は、インバータ306の入力に接続される。3点スイッチ302は、共通端子303、第1の端子305及び第2の端子304を有する。第1の端子305は、ブロックBLK3のデータ線307に接続される。第2の端子304は、インバータ306の出力に接続される。インバータ306は、入力データの論理反転を行う反転回路である。共通端子303は、1ビットデータDQ03を出力する。スイッチ302は、排他的論理和回路314の出力信号308に応じて、共通端子303を第1の端子305又は第2の端子304のいずれかに接続する。   The data correction circuit 301 will be described. The data line 307 of the block BLK3 is connected to the input of the inverter 306. The three-point switch 302 has a common terminal 303, a first terminal 305, and a second terminal 304. The first terminal 305 is connected to the data line 307 of the block BLK3. The second terminal 304 is connected to the output of the inverter 306. The inverter 306 is an inverting circuit that performs logical inversion of input data. The common terminal 303 outputs 1-bit data DQ03. The switch 302 connects the common terminal 303 to either the first terminal 305 or the second terminal 304 in accordance with the output signal 308 of the exclusive OR circuit 314.

例えばブロックBLK3がリフレッシュを行っているときには、ブロックBLK1、BLK2、BLK4、BLK5に対して読み出しを行う。この際、ブロックBLK3からは読み出しデータが出力されず、データ線307は前にアクセスした際のレベルを保持している。よって、同一アドレスでそのビットのみ値が不確定となる。そこで、書き込み時に予めブロックBLK5に書き込んでおいた同一アドレスのライトパリティを同時に読み出す。排他的論理和回路314は、リードパリティとライトパリティとの比較を行う。リードパリティとライトパリティが一致していればデータ線307のデータをそのままデータDQ03として外部に出力する。不一致であればブロックBLK1〜BLK4のうちの1ビットだけデータが欠けている(不確定になっている)ことが判る。そのビットは、リフレッシュ動作を行っているブロックBL3のビットのはずである。そこで、ブロックBLK3のデータ線307のビットデータをデータ補正回路301により反転させてデータ補正を行ってデータDQ03として外部へ出力する。その他のデータDQ01、DQ02、DQ04は、ブロックBLK1、BLK2、BLK4から読み出されたデータである。   For example, when the block BLK3 is refreshing, reading is performed on the blocks BLK1, BLK2, BLK4, and BLK5. At this time, read data is not output from the block BLK3, and the data line 307 retains the level at the previous access. Therefore, the value of only that bit is uncertain at the same address. Therefore, the write parity of the same address previously written in the block BLK5 at the time of writing is simultaneously read. The exclusive OR circuit 314 compares the read parity and the write parity. If the read parity and the write parity match, the data on the data line 307 is output to the outside as data DQ03. If they do not match, it can be seen that only one bit of the blocks BLK1 to BLK4 is missing (indeterminate). That bit should be the bit of the block BL3 performing the refresh operation. Therefore, the bit data of the data line 307 of the block BLK3 is inverted by the data correction circuit 301 to perform data correction and output to the outside as data DQ03. The other data DQ01, DQ02, and DQ04 are data read from the blocks BLK1, BLK2, and BLK4.

例えば、ブロックBLK1〜BLK4にそれぞれ「0」、「1」、「0」、「0」が書き込まれているとする。これらのデータは、「1」の数が奇数個であるので、ブロックBLK5には「1」がライトパリティとして書き込まれている。ここで、ブロックBLK3のデータ線307は、不確定のデータ「1」を維持しているとする。この場合、排他的論理和回路313は、4本のデータ線のデータ「1」の数が奇数個であるので、リードパリティとして「0」を出力する。排他的論理和回路314は、リードパリティ及びライトパリティが異なるので、出力信号308として「1」を出力する。これにより、スイッチ302は、共通端子303及び第2の端子304を接続する。この結果、データ線307のデータ「1」は、インバータ306により論理反転され、データ「0」がデータDQ03として出力される。   For example, it is assumed that “0”, “1”, “0”, and “0” are written in the blocks BLK1 to BLK4, respectively. In these data, since the number of “1” is an odd number, “1” is written as write parity in the block BLK5. Here, it is assumed that the data line 307 of the block BLK3 maintains indefinite data “1”. In this case, the exclusive OR circuit 313 outputs “0” as the read parity because the number of data “1” on the four data lines is an odd number. Since the read parity and the write parity are different, the exclusive OR circuit 314 outputs “1” as the output signal 308. As a result, the switch 302 connects the common terminal 303 and the second terminal 304. As a result, the data “1” on the data line 307 is logically inverted by the inverter 306 and the data “0” is output as the data DQ03.

以上のように、ブロックBLK3がリフレッシュ中であり、ブロックBLK3からデータを読み出せなくても、ブロックBLK5からライトパリティを読み出して、必要に応じてブロックBLK3のデータDQ03を補正することにより、正しいデータDQ01〜DQ04を出力することができる。これにより、ブロックBLK3がリフレッシュ中であっても、読み出しが待たされることなく、高速に読み出しデータを外部に出力することができる。   As described above, even if the block BLK3 is being refreshed and data cannot be read from the block BLK3, the write parity is read from the block BLK5, and the correct data is corrected by correcting the data DQ03 of the block BLK3 as necessary. DQ01 to DQ04 can be output. Thereby, even when the block BLK3 is being refreshed, the read data can be output to the outside at high speed without waiting for the read.

なお、ライトパリティを書き込んであるブロックBLK5がリフレッシュ動作を行っている場合は、データ補正回路301はデータ補正を行わない。データDQ01〜DQ04は、ブロックBL1〜BL4から読み出したデータになる。   Note that when the block BLK5 in which the write parity is written is performing the refresh operation, the data correction circuit 301 does not perform data correction. The data DQ01 to DQ04 are data read from the blocks BL1 to BL4.

図3(B)は、データ補正回路301の具体的構成を示す回路図である。インバータ320は、セレクト信号SEL5の論理反転信号を出力する。否定論理積(NAND)回路321は、信号308、セレクト信号SEL3及びインバータ320の出力を入力し、否定論理積を出力する。インバータ322は、NAND回路321の論理反転信号を出力する。インバータ325の入力は、データ線307に接続される。pチャネルMOSトランジスタ323は、ゲートがインバータ322の出力に接続され、ソースがデータ線307に接続され、ドレインが出力データ線328に接続される。nチャネルMOSトランジスタ324は、ゲートがNAND回路321の出力に接続され、ドレインがデータ線307に接続され、ソースが出力データ線328に接続される。pチャネルMOSトランジスタ326は、ゲートがNAND回路321の出力に接続され、ソースがインバータ325の出力に接続され、ドレインが出力データ線328に接続される。nチャネルMOSトランジスタ327は、ゲートがインバータ322の出力に接続され、ドレインがインバータ325の出力に接続され、ソースが出力データ線328に接続される。出力データ線328は、データDQ03(図3(A))を出力する。   FIG. 3B is a circuit diagram illustrating a specific configuration of the data correction circuit 301. Inverter 320 outputs a logic inversion signal of select signal SEL5. A negative logical product (NAND) circuit 321 inputs the signal 308, the select signal SEL3, and the output of the inverter 320, and outputs a negative logical product. The inverter 322 outputs a logic inversion signal of the NAND circuit 321. The input of the inverter 325 is connected to the data line 307. The p-channel MOS transistor 323 has a gate connected to the output of the inverter 322, a source connected to the data line 307, and a drain connected to the output data line 328. The n-channel MOS transistor 324 has a gate connected to the output of the NAND circuit 321, a drain connected to the data line 307, and a source connected to the output data line 328. The p-channel MOS transistor 326 has a gate connected to the output of the NAND circuit 321, a source connected to the output of the inverter 325, and a drain connected to the output data line 328. The n-channel MOS transistor 327 has a gate connected to the output of the inverter 322, a drain connected to the output of the inverter 325, and a source connected to the output data line 328. The output data line 328 outputs data DQ03 (FIG. 3A).

図4は、メモリコアからの出力に係る制御信号発生回路のブロック図である。この制御信号発生回路は、図1のメモリコアの左に接続される。ブロックBLK1〜BLK4にはそれぞれデータ補正回路401が接続される。データ補正回路401は、図3(A)のデータ補正回路301に相当する。データ演算回路402は、図3(A)の排他的論理和回路311〜313に相当する。データ比較回路403は、図3(A)の排他的論理和回路314に相当する。各ブロックBLK1〜BLK4のデータ補正回路401は、セレクト信号SEL1〜SEL4に応じて、各ブロックBLK1〜BLK4のデータ線のデータ補正を行う。セレクト信号SEL1〜SEL4のうちでハイレベルになっているものに対応するブロックBLK1〜BLK4がリフレッシュを行っている。したがって、データ補正回路401は、入力されたセレクト信号がハイレベルであればデータ補正の対象とし、データ比較回路403の比較によりライトパリティとリードパリティとが不一致であればデータ補正を行う。データ補正回路401は、読み出しデータを外部へ出力する。   FIG. 4 is a block diagram of a control signal generation circuit related to the output from the memory core. This control signal generation circuit is connected to the left of the memory core in FIG. A data correction circuit 401 is connected to each of the blocks BLK1 to BLK4. The data correction circuit 401 corresponds to the data correction circuit 301 in FIG. The data operation circuit 402 corresponds to the exclusive OR circuits 311 to 313 in FIG. The data comparison circuit 403 corresponds to the exclusive OR circuit 314 in FIG. The data correction circuit 401 of each block BLK1 to BLK4 performs data correction of the data lines of each block BLK1 to BLK4 in response to the select signals SEL1 to SEL4. Among the select signals SEL1 to SEL4, the blocks BLK1 to BLK4 corresponding to the high level perform refresh. Therefore, the data correction circuit 401 is subject to data correction if the input select signal is at a high level, and performs data correction if the write parity and the read parity do not match by comparison of the data comparison circuit 403. The data correction circuit 401 outputs read data to the outside.

図5(A)は、半導体記憶装置の動作を示す概略図である。タイミングt1において、外部書き込みコマンドWR0が入力され、その後、タイミングt11で内部のリフレッシュ要求信号が発生した場合を説明する。リフレッシュ要求よりも書き込みコマンドWR0の方が早いので、書き込みコマンドWR0に従い、ブロックBLK1〜BLK4にはデータが書き込まれる。ブロックBLK5には、ライトパリティが書き込まれる。タイミングt11の後の期間T1では、リフレッシュ要求が保持される。この書き込み制御は、図1の制御信号SIG1により行われる。ブロックBLK2では、書き込みコマンドWR0の動作が終了すると、リフレッシュ動作501が開始する。   FIG. 5A is a schematic diagram illustrating the operation of the semiconductor memory device. A case where an external write command WR0 is input at timing t1 and an internal refresh request signal is generated at timing t11 will be described. Since the write command WR0 is earlier than the refresh request, data is written to the blocks BLK1 to BLK4 according to the write command WR0. Write parity is written in the block BLK5. In the period T1 after the timing t11, the refresh request is held. This write control is performed by the control signal SIG1 in FIG. In the block BLK2, the refresh operation 501 starts when the operation of the write command WR0 is completed.

その後、時刻t2,t3,t4でそれぞれ外部書き込みコマンドWR1,WR2、外部読み出しコマンドRD0が入力される。ブロックBLK1、BLK3〜BLK5は、外部コマンドWR1,WR2,RD0の動作を行う。ブロックBLK2は、リフレッシュ動作501が終了した後に、外部コマンドWR1,WR2の動作を行う。なお、読み出しコマンドRD0が入力されたときには、ブロックBLK2は書き込みコマンドWR2の動作中である。そこで、ブロックBLK5からライトパリティを読み出し、ライトパリティとリードパリティとが不一致であれば、ブロックBLK2のデータ線のデータを補正する。以下、このライトパリティ及びリードパリティを用いた読み出しを、擬似的読み出しという。   Thereafter, external write commands WR1, WR2 and external read command RD0 are input at times t2, t3, t4, respectively. Blocks BLK1, BLK3 to BLK5 perform operations of external commands WR1, WR2, RD0. The block BLK2 performs the operations of the external commands WR1 and WR2 after the refresh operation 501 is completed. When the read command RD0 is input, the block BLK2 is in the operation of the write command WR2. Therefore, the write parity is read from the block BLK5, and if the write parity and the read parity do not match, the data on the data line of the block BLK2 is corrected. Hereinafter, the reading using the write parity and the read parity is referred to as pseudo reading.

ブロックBLK2では、書き込みコマンドWR2の動作を行なった後に、ダミーリード502を行う。ダミーリード502は、後に説明する図6の制御信号発生回路において行うダミー動作であり、ブロックBLK2は読み出し動作を行わない。詳細は、後に説明する。以上のリフレッシュ動作501からダミーリード502までの期間T2は、ブロックBLK2のみが第2の制御信号SIG2により制御され、その他のブロックは第1の制御信号SIG1により制御される。   In block BLK2, dummy read 502 is performed after the write command WR2 is operated. The dummy read 502 is a dummy operation performed in the control signal generation circuit of FIG. 6 described later, and the block BLK2 does not perform a read operation. Details will be described later. In the period T2 from the above refresh operation 501 to the dummy read 502, only the block BLK2 is controlled by the second control signal SIG2, and the other blocks are controlled by the first control signal SIG1.

次に、タイミングt5で外部読み出しコマンドRD1が入力される場合を説明する。ブロックBLK2は、直前のダミーリード502が第2の制御信号SIG2により行われている。この際、タイミングt5で、読み出しコマンドRD1の開始を検出し、第2の制御信号SIG2から第1の制御信号SIG1に切り換えると、ブロックBLK2で誤動作が生じたり、動作遅延が生じてしまうことがある。そこで、読み出しコマンドRD1については、ブロックBLK2の読み出しを行わず、擬似的読み出しを行う。そして、読み出しコマンドRD1の動作終了を検出して、第2の制御信号SIG2から第1の制御信号SIG1への切り換えを行う。これにより、次のタイミングt6の読み出しコマンドRD2では、ブロックBLK1〜BLK4から高速かつ適切に読み出しを行うことができる。この詳細は、後に図9及び図10を参照しながら説明する。読み出し動作がリフレッシュ動作と競合しない場合には、演算結果記憶用ブロックBLK5を非活性にし、その他のメモリセルブロックから読み出しを行う。   Next, a case where the external read command RD1 is input at timing t5 will be described. In the block BLK2, the immediately preceding dummy read 502 is performed by the second control signal SIG2. At this time, if the start of the read command RD1 is detected at the timing t5 and the second control signal SIG2 is switched to the first control signal SIG1, a malfunction may occur in the block BLK2 or an operation delay may occur. . Therefore, for the read command RD1, pseudo reading is performed without reading the block BLK2. Then, the end of the operation of the read command RD1 is detected, and switching from the second control signal SIG2 to the first control signal SIG1 is performed. As a result, the read command RD2 at the next timing t6 can be read from the blocks BLK1 to BLK4 at high speed and appropriately. Details of this will be described later with reference to FIGS. If the read operation does not compete with the refresh operation, the operation result storage block BLK5 is deactivated and reading is performed from other memory cell blocks.

次に、タイミングt12で、内部リフレッシュ要求が発生し、ブロックBLK3がリフレッシュ動作503を行う。そのリフレッシュ動作503の間に、タイミングt7で外部読み出しコマンドRD3が入力される場合を説明する。この場合、擬似的読み出しを行い、必要に応じてブロックBLK3のデータ線のデータの補正を行う。ブロックBLK3では、リフレッシュ動作503の後に、ダミーリード504が行われる。リフレッシュ動作503からダミーリード504までの期間T3では、ブロックBLK3のみが第2の制御信号SIG2で制御される。   Next, at timing t12, an internal refresh request is generated, and the block BLK3 performs a refresh operation 503. A case where the external read command RD3 is input at the timing t7 during the refresh operation 503 will be described. In this case, pseudo reading is performed, and data of the data line of the block BLK3 is corrected as necessary. In the block BLK3, the dummy read 504 is performed after the refresh operation 503. In the period T3 from the refresh operation 503 to the dummy read 504, only the block BLK3 is controlled by the second control signal SIG2.

なお、擬似的読み出し動作を行っている間に、そのブロックBLK3に対する書き込み要求信号が入力された場合は、該書き込み要求信号を保持し、擬似的読み出し動作が終了した後に、保持していた書き込み要求信号に対応する動作を行う。   When a write request signal for the block BLK3 is input during the pseudo read operation, the write request signal is held, and the write request held after the pseudo read operation is completed. Perform the operation corresponding to the signal.

図5(B)は、半導体記憶装置の他の動作を示す概略図である。タイミングt21において、外部読み出しコマンドRD4が入力され、その後、タイミングt31で内部リフレッシュ要求が発生した場合を説明する。リフレッシュ要求よりも読み出しコマンドRD4の方が早いので、読み出しコマンドRD4に従い、ブロックBLK1〜BLK4からデータを読み出す。タイミングt31の後の期間T11では、リフレッシュ要求が保持される。ブロックBLK2では、読み出しコマンドRD4の動作が終了すると、リフレッシュ動作511が開始する。   FIG. 5B is a schematic diagram illustrating another operation of the semiconductor memory device. A case where an external read command RD4 is input at timing t21 and an internal refresh request is generated at timing t31 will be described. Since the read command RD4 is earlier than the refresh request, data is read from the blocks BLK1 to BLK4 according to the read command RD4. In the period T11 after the timing t31, the refresh request is held. In the block BLK2, the refresh operation 511 starts when the operation of the read command RD4 is completed.

その後、時刻t22,t23でそれぞれ外部読み出しコマンドRD5,RD6が入力される。ブロックBLK1、BLK3〜BLK5は、外部コマンドRD5,RD6に対応し、擬似的読み出しを行う。ブロックBLK2は、リフレッシュ動作511の終了後、2回のダミーリード512,513を行う。期間T12では、ブロックBLK2のみが第2の制御信号SIG2により制御される。   Thereafter, external read commands RD5 and RD6 are input at times t22 and t23, respectively. Blocks BLK1, BLK3 to BLK5 correspond to external commands RD5 and RD6 and perform pseudo reading. The block BLK2 performs two dummy reads 512 and 513 after the refresh operation 511 is completed. In the period T12, only the block BLK2 is controlled by the second control signal SIG2.

次に、タイミングt24で外部書き込みコマンドWR3が入力される場合を説明する。ブロックBLK1〜BLK4にはデータが書き込まれ、ブロックBLK5にはライトパリティが書き込まれる。   Next, a case where the external write command WR3 is input at timing t24 will be described. Data is written to the blocks BLK1 to BLK4, and write parity is written to the block BLK5.

次に、タイミングt32で、内部リフレッシュ要求が発生し、ブロックBLK3がリフレッシュ動作514を行う。そのリフレッシュ動作514の間に、タイミングt25で外部書き込みコマンドWR4が入力され、その後、タイミングt26,t27で外部書き込みコマンドWR5,WR6が入力される場合を説明する。この際、コマンドWR4,WR5,WR6に対応し、ブロックBLK1,BLK2,BLK4にデータを書き込み、ブロックBLK5にライトパリティを書き込む。ブロックBLK3では、リフレッシュ動作514が終了した後、書き込みコマンドWR4〜WR6に応じた書き込み動作を行う。外部書き込みコマンドWR4〜WR6の発生サイクル時間は、それに対応する各ブロックBLK1〜BLK5の実行サイクル時間よりも長い。したがって、ブロックBLK3では、コマンドWR4及びWR5の動作は他のブロックの動作よりも遅れるが、コマンドWR6の動作は他のブロックの動作に追いつく。リフレッシュ動作514を行っても、外部コマンドに遅れずに高速に書き込むことができる。期間T13では、ブロックBLK3のみが第2の制御信号SIG2により制御される。   Next, at timing t32, an internal refresh request is generated, and the block BLK3 performs a refresh operation 514. The case where the external write command WR4 is input at the timing t25 during the refresh operation 514 and then the external write commands WR5 and WR6 are input at the timings t26 and t27 will be described. At this time, corresponding to the commands WR4, WR5 and WR6, data is written to the blocks BLK1, BLK2 and BLK4, and write parity is written to the block BLK5. In the block BLK3, after the refresh operation 514 is completed, a write operation corresponding to the write commands WR4 to WR6 is performed. The generation cycle time of the external write commands WR4 to WR6 is longer than the execution cycle time of the corresponding blocks BLK1 to BLK5. Therefore, in the block BLK3, the operations of the commands WR4 and WR5 are delayed from the operations of the other blocks, but the operation of the command WR6 catches up with the operations of the other blocks. Even when the refresh operation 514 is performed, writing can be performed at high speed without delay from an external command. In the period T13, only the block BLK3 is controlled by the second control signal SIG2.

図6は、メモリコアへの入力に係る制御信号発生回路のブロック図を示す。この制御信号発生回路は、非同期型SRAMインターフェースを想定しており、図1のメモリコアの左に接続される。内部のリフレッシュ要求(OSC)信号発生回路604は、リングオシレータを用いて定期的にリフレッシュ要求を自動発生する。   FIG. 6 shows a block diagram of a control signal generation circuit related to the input to the memory core. This control signal generation circuit assumes an asynchronous SRAM interface and is connected to the left of the memory core in FIG. An internal refresh request (OSC) signal generation circuit 604 automatically generates a refresh request periodically using a ring oscillator.

通常の書き込み時は、外部コマンドEXTC、アドレスADR、マスク情報MSK、書き込みデータINDが外部から入力される。マスク情報MSKは、上位バイト及び/又は下位バイトを選択的に書き込み指示をするための情報である。外部コマンドEXTCは、内部コマンド発生回路601に入力される。内部コマンド発生回路601は、第1の内部コマンドINTC1を生成し、第1のコア制御信号発生回路602へ出力する。第1のコア制御信号発生回路602は、第1のコア制御信号COC1 (図1の第1の制御信号SIG1に相当)を発生し、セレクタ621(図1のセレクタ101と同一)へ出力し、メモリコアを制御する。   During normal writing, an external command EXTC, an address ADR, mask information MSK, and write data IND are input from the outside. The mask information MSK is information for selectively instructing an upper byte and / or a lower byte. The external command EXTC is input to the internal command generation circuit 601. The internal command generation circuit 601 generates a first internal command INTC1 and outputs it to the first core control signal generation circuit 602. The first core control signal generation circuit 602 generates a first core control signal COC1 (corresponding to the first control signal SIG1 in FIG. 1) and outputs it to the selector 621 (same as the selector 101 in FIG. 1). Control the memory core.

この時、各ブロックのセレクタ621は、図1で説明したように、全て第1のコア制御信号COC1を選択している。その際、第1のコア制御信号発生回路602は、第1のコア制御信号COC1でコアが活性化されている期間、第1のコア活性化状態信号COS1を出力する。マスク情報MSKは、その際の書きこみ動作を無効とする役目を持ち、バッファ607、第1のコア制御信号発生回路602に第1のマスク情報MSK1として供給される。第1のコア制御信号発生回路602は、内部コマンドINTC1及びマスク情報MSK1に応じて、コア制御信号COC1及びコア活性化状態信号COS1を出力する。アドレスADRは、バッファ607を介して第1のアドレスADR1としてセレクタ622に供給される。第1のアドレスADR1は、第1のコア制御信号COC1とセットであり、書き込みの際のアドレスを指定する。データ演算回路609は、入力データINDを入力し、ライトパリティ(図2(A)参照)を演算し、第1の入力データIND1をセレクタ623へ供給する。第1のアドレスADR1のメモリセルへ第1の入力データIND1が書き込まれる。この際、データ演算回路609は、入力データINDを基にライトパリティの演算を行い、その結果を演算用メモリセルブロックBLK5に書きこむ。   At this time, the selectors 621 of the respective blocks all select the first core control signal COC1 as described with reference to FIG. At this time, the first core control signal generation circuit 602 outputs the first core activation state signal COS1 while the core is activated by the first core control signal COC1. The mask information MSK has a role of invalidating the writing operation at that time, and is supplied to the buffer 607 and the first core control signal generation circuit 602 as the first mask information MSK1. The first core control signal generation circuit 602 outputs a core control signal COC1 and a core activation state signal COS1 according to the internal command INTC1 and mask information MSK1. The address ADR is supplied to the selector 622 as the first address ADR1 through the buffer 607. The first address ADR1 is a set with the first core control signal COC1, and designates an address at the time of writing. The data operation circuit 609 receives the input data IND, calculates the write parity (see FIG. 2A), and supplies the first input data IND1 to the selector 623. The first input data IND1 is written into the memory cell at the first address ADR1. At this time, the data operation circuit 609 performs the write parity operation based on the input data IND, and writes the result in the operation memory cell block BLK5.

セレクタ621は、セレクト信号SEL1〜SEL5に応じて、第1のコア制御信号COC1又は第2のコア制御信号COC2を選択し、メモリコアへ出力する。セレクタ622は、セレクト信号SEL1〜SEL5に応じて、第1のアドレスADR1又は第2のアドレスADR2を選択し、メモリコアへ出力する。セレクタ623は、セレクト信号SEL1〜SEL5に応じて、第1のデータIND1又は第2のデータIND2を選択し、メモリコアへ出力する。3つのセレクタ621〜623は、図1の1つのセレクタ101に相当する。3つのセレクタ621〜623の組みがブロックBLK1〜BLK5の数だけ存在する。   The selector 621 selects the first core control signal COC1 or the second core control signal COC2 according to the select signals SEL1 to SEL5, and outputs it to the memory core. The selector 622 selects the first address ADR1 or the second address ADR2 according to the select signals SEL1 to SEL5, and outputs it to the memory core. The selector 623 selects the first data IND1 or the second data IND2 according to the select signals SEL1 to SEL5, and outputs it to the memory core. The three selectors 621 to 623 correspond to one selector 101 in FIG. There are three sets of selectors 621 to 623 corresponding to the number of blocks BLK1 to BLK5.

次に、リフレッシュ動作について説明する。リフレッシュ要求(OSC)信号発生回路604は、定期的にリフレッシュ要求信号OSCをパルス出力する。内部コマンド発生回路601は、外部コマンドEXTCの入力時に信号ATDを出力する。この際に、リフレッシュ要求信号OSCと外部コマンドEXTCの実行との時期が重なる場合を想定して、コマンド-リフレッシュ比較回路603は、信号ATDと信号OSCとのどちらが早いかを常に判定する。   Next, the refresh operation will be described. A refresh request (OSC) signal generation circuit 604 periodically outputs a refresh request signal OSC. Internal command generation circuit 601 outputs signal ATD when external command EXTC is input. At this time, assuming that the timings of the refresh request signal OSC and the execution of the external command EXTC overlap, the command-refresh comparison circuit 603 always determines which of the signal ATD and the signal OSC is earlier.

コマンド-リフレッシュ比較回路603は、リフレッシュ要求信号OSCの方が早いと判定すれば、リフレッシュ要求信号REFを発生する。第2のコア制御信号発生回路606は、リフレッシュ要求信号REFが入力されると、第2のコア活性化状態信号COS2を出力し、第2のコア制御信号COC2(図1の第2の制御信号SIG2に相当)をセレクタ621に出力する。リフレッシュ要求信号REFは、同時にリフレッシュブロック選択回路611に入力される。リフレッシュブロック選択回路611は、セレクタ621,622,623に対するセレクト信号SEL1〜SEL5のうち、ひとつをハイレベルにする。こうしてセレクト信号SEL1〜SEL5により選ばれた1つのブロックBLK1〜BLK5のみがリフレッシュ動作を行う。リフレッシュは、例えばブロックBLK1〜BLK5が順番に行われる。コマンド-リフレッシュ比較回路603は、リフレッシュ要求信号OSCが外部コマンドEXTCより遅いと判定すれば、第1のコア活性化状態信号COS1がリセットされるまでリフレッシュ要求信号REFの出力を待つ。   If the command-refresh comparison circuit 603 determines that the refresh request signal OSC is earlier, it generates a refresh request signal REF. When the refresh request signal REF is input, the second core control signal generation circuit 606 outputs the second core activation state signal COS2 and outputs the second core control signal COC2 (the second control signal in FIG. 1). (Corresponding to SIG2) is output to the selector 621. The refresh request signal REF is input to the refresh block selection circuit 611 at the same time. The refresh block selection circuit 611 sets one of the select signals SEL1 to SEL5 for the selectors 621, 622, and 623 to a high level. Thus, only one block BLK1 to BLK5 selected by the select signals SEL1 to SEL5 performs the refresh operation. For example, the blocks BLK1 to BLK5 are sequentially refreshed. If it is determined that the refresh request signal OSC is later than the external command EXTC, the command-refresh comparison circuit 603 waits for the output of the refresh request signal REF until the first core activation state signal COS1 is reset.

次に、リフレッシュ中に外部から書きこみ要求コマンドEXTCがあった場合について説明する。リフレッシュ中は、第1のコア制御信号発生回路602と同様に、第2のコア制御信号発生回路606が第2のコア活性化状態信号COS2を出力する。第2のコア活性化状態信号COS2は、内部コマンド保持回路605に入力される。第2のコア活性化状態信号COS2が出力されている間は、内部コマンド保持回路605がリフレッシュ中に発生した第1の内部コマンドINTC1を保持する。内部コマンド保持回路605は、リフレッシュ動作が終了し、第2のコア活性化状態信号COS2がリセットされるのを受けて、保持していたコマンドを第2の内部コマンドINTC2として出力する。   Next, a case where there is a write request command EXTC from the outside during the refresh will be described. During the refresh, similarly to the first core control signal generation circuit 602, the second core control signal generation circuit 606 outputs the second core activation state signal COS2. The second core activation state signal COS2 is input to the internal command holding circuit 605. While the second core activation state signal COS2 is being output, the internal command holding circuit 605 holds the first internal command INTC1 generated during the refresh. The internal command holding circuit 605 outputs the held command as the second internal command INTC2 when the refresh operation is completed and the second core activation state signal COS2 is reset.

この際に、内部コマンド保持回路605は、保持していた内部コマンドINTC2を出力する時に、次の外部コマンドEXTCが発生し、これに対応する内部コマンドINTC1を保持しなければならない場合がある。1つの保持回路で2つのコマンドの出力と保持の両方を同時にできないので、保持回路は2つ用いる。カウンタは、保持するコマンドをカウントし、2つの保持回路のどちらに保持させるかを選択する。もう一つのカウンタは、出力信号をカウントし、次にどちらの保持回路から出力するかを選ぶ。   At this time, when the internal command holding circuit 605 outputs the held internal command INTC2, there is a case where the next external command EXTC is generated and the corresponding internal command INTC1 must be held. Since one holding circuit cannot simultaneously output and hold two commands, two holding circuits are used. The counter counts the held command and selects which of the two holding circuits holds it. The other counter counts the output signal and then selects which holding circuit to output from.

図7は2つの保持回路を含む内部コマンド保持回路605の回路図、図8はその動作波形を示す。内部コマンド保持回路605は、2つの保持回路701及び702を有する。カウンタ721は、第1の内部コマンドINTC1のパルス501,502が入力される度に状態反転する信号/CNTAを出力する。インバータ723は、信号/CNTAを論理反転した信号CNTAを出力する。カウンタ722は、第2の内部コマンドINTC2のパルス506,507が入力される度に状態反転する/CNTBを出力する。インバータ724は、信号/CNTBを論理反転した信号CNTBを出力する。   FIG. 7 is a circuit diagram of an internal command holding circuit 605 including two holding circuits, and FIG. 8 shows its operation waveform. The internal command holding circuit 605 has two holding circuits 701 and 702. The counter 721 outputs a signal / CNTA that inverts the state every time the pulses 501 and 502 of the first internal command INTC1 are input. Inverter 723 outputs signal CNTA obtained by logically inverting signal / CNTA. The counter 722 outputs / CNTB whose state is inverted every time the pulses 506 and 507 of the second internal command INTC2 are input. Inverter 724 outputs a signal CNTB obtained by logically inverting signal / CNTB.

まず、保持回路701について説明する。否定論理積回路(NAND)回路711は、第2のコア活性化状態信号COS2及び信号CNTBを入力し、否定論理積を出力する。NAND回路712は、第1の内部コマンドINTC1、信号CNTA、NAND回路711の出力を入力し、否定論理積を出力する。NAND回路713は、NAND回路712の出力及びNAND回路714の出力を入力し、信号n01を出力する。ディレイライン717は、信号n03を遅延させてNAND回路714に出力する。NAND回路714は、信号n01及びディレイライン717の出力を入力し、否定論理積を出力する。NAND回路715は、NAND回路711の出力及びNAND回路716の出力信号n03を入力し、否定論理積を出力する。NAND回路716は、信号n01及びNAND回路715の出力を入力し、信号n03を出力する。   First, the holding circuit 701 will be described. A NAND circuit (NAND) circuit 711 receives the second core activation state signal COS2 and the signal CNTB, and outputs a NAND. The NAND circuit 712 receives the first internal command INTC1, the signal CNTA, and the output of the NAND circuit 711, and outputs a negative logical product. The NAND circuit 713 receives the output of the NAND circuit 712 and the output of the NAND circuit 714 and outputs a signal n01. The delay line 717 delays the signal n03 and outputs it to the NAND circuit 714. The NAND circuit 714 inputs the signal n01 and the output of the delay line 717, and outputs a negative logical product. The NAND circuit 715 receives the output of the NAND circuit 711 and the output signal n03 of the NAND circuit 716, and outputs a negative logical product. The NAND circuit 716 receives the signal n01 and the output of the NAND circuit 715, and outputs a signal n03.

次に、保持回路702について説明する。保持回路702は、保持回路701と同様な構成を有する。保持回路702が保持回路701と異なる点を説明する。NAND回路711は、第2のコア活性化状態信号COS2及び信号/CNTBを入力する。NAND回路712は、第1の内部コマンドINTC1、信号/CNTA、NAND回路711の出力を入力する。NAND回路713の出力信号をn02とし、NAND回路716の出力信号をn04とする。   Next, the holding circuit 702 will be described. The holding circuit 702 has a configuration similar to that of the holding circuit 701. A difference between the holding circuit 702 and the holding circuit 701 will be described. The NAND circuit 711 receives the second core activation state signal COS2 and the signal / CNTB. The NAND circuit 712 receives the first internal command INTC1, the signal / CNTA, and the output of the NAND circuit 711. The output signal of the NAND circuit 713 is n02, and the output signal of the NAND circuit 716 is n04.

否定論理和(NOR)回路725は、信号n03及び信号n04を入力し、第2の内部コマンドINTC2を出力する。カウンタ721は、保持回路701及び702が交互にコマンドを保持するタイミングを制御する。カウンタ722は、保持回路701及び702が交互にコマンドを出力するタイミングを制御する。   A negative logical sum (NOR) circuit 725 receives the signal n03 and the signal n04 and outputs a second internal command INTC2. The counter 721 controls the timing at which the holding circuits 701 and 702 hold commands alternately. The counter 722 controls the timing at which the holding circuits 701 and 702 alternately output commands.

図8において、第1の内部コマンドINTC1は、パルス501及び502はそれぞれ例えば書き込みコマンドである。第2のコア活性化状態信号COS2において、期間503ではリフレッシュを行い、期間504では書き込みコマンド501に対応した書き込み動作を行い、期間505では書き込みコマンド502に対応した書き込み動作を行っている。   In FIG. 8, a first internal command INTC1, pulses 501 and 502 are, for example, write commands. In the second core activation state signal COS2, refresh is performed in the period 503, a write operation corresponding to the write command 501 is performed in the period 504, and a write operation corresponding to the write command 502 is performed in the period 505.

図7及び図8を参照しながら動作を説明する。第1の内部コマンドINTC1及び第2のコア活性化状態信号COS2が図6の内部コマンド保持回路605に入力される。信号CNTA、/CNTAは、第1の内部コマンドINTC1によってカウントされたカウンタ721の出力である。信号n03及びn04は、2つの保持回路701及び702のそれぞれの出力である。第2の内部コマンドINTC2は、信号n03及びn04をNOR回路725で合成した信号である。信号CNTB、/CNTBは、第2の内部コマンドINTC2によってカウントされたカウンタ722の出力である。第2のコア活性化状態信号COS2は、活性化期間ではローレベルの信号である。この信号がローレベルの間に第1の内部コマンドINTC1が発生すると、信号CNTA、/CNTAのいずれかがハイレベルとなる。ハイレベルとなった保持回路701又は702が第1の内部コマンドINTC1を保持し、信号n01又はn02がハイレベルとなる。その状態で第2のコア活性化状態信号COS2がハイレベルとなると、保持したコマンドが信号n03又はn04となり、第2の内部コマンドINTC2となる。第2の内部コマンドINTC2は、信号CNTB,/CNTBを反転させる。   The operation will be described with reference to FIGS. The first internal command INTC1 and the second core activation state signal COS2 are input to the internal command holding circuit 605 in FIG. Signals CNTA and / CNTA are the outputs of the counter 721 counted by the first internal command INTC1. Signals n03 and n04 are the outputs of the two holding circuits 701 and 702, respectively. The second internal command INTC2 is a signal obtained by synthesizing the signals n03 and n04 by the NOR circuit 725. Signals CNTB and / CNTB are outputs of the counter 722 counted by the second internal command INTC2. The second core activation state signal COS2 is a low level signal in the activation period. When the first internal command INTC1 is generated while this signal is at a low level, one of the signals CNTA and / CNTA becomes a high level. The holding circuit 701 or 702 that has become high level holds the first internal command INTC1, and the signal n01 or n02 becomes high level. In this state, when the second core activation state signal COS2 becomes high level, the held command becomes the signal n03 or n04 and becomes the second internal command INTC2. The second internal command INTC2 inverts the signals CNTB and / CNTB.

次に、図6を参照しながら説明する。第2のコア活性化状態信号COS2が出力されている間、アドレス及びマスク情報保持回路608は、第1の内部コマンドINTC1自身が使用するアドレスADR、マスク情報MSKを保持し、データ保持回路610は入力データINDを保持する。第2の内部コマンドINTC2が出力されると、それを受けてアドレス及びマスク情報保持回路608とデータ保持回路610が保持していた情報をそれぞれ第2のアドレスADR2、第2のマスク情報MSK2、第2のデータIND2として出力する。第2のコア制御信号発生回路606は、第2の内部コマンドINTC2及び第2のマスク情報MSK2に応じて、第2のコア制御信号COC2及び第2のコア活性化状態信号COS2を出力する。第2のコア活性化状態信号COS2が出力されている間は、リフレッシュブロック選択回路611がセレクト信号SEL1〜SEL5を維持して出力し続ける。セレクト信号SEL1〜SEL5で選択されたブロックBLK1〜BLK5は、リフレッシュ動作に続いて、第2の内部コマンドINTC2の動作を、第2のアドレスADR2、第2のマスク情報MSK、第2のデータIND2を用いて行う。   Next, a description will be given with reference to FIG. While the second core activation state signal COS2 is output, the address and mask information holding circuit 608 holds the address ADR and mask information MSK used by the first internal command INTC1 itself, and the data holding circuit 610 Holds input data IND. When the second internal command INTC2 is output, the information held in the address and mask information holding circuit 608 and the data holding circuit 610 is received as the second address ADR2, the second mask information MSK2, and the second mask information MSK2, respectively. 2 is output as data IND2. The second core control signal generation circuit 606 outputs a second core control signal COC2 and a second core activation state signal COS2 in response to the second internal command INTC2 and the second mask information MSK2. While the second core activation state signal COS2 is output, the refresh block selection circuit 611 maintains and outputs the select signals SEL1 to SEL5. Following the refresh operation, the blocks BLK1 to BLK5 selected by the select signals SEL1 to SEL5 perform the operation of the second internal command INTC2, the second address ADR2, the second mask information MSK, and the second data IND2. To do.

第2の内部コマンドINTC2の動作中に次の外部書きこみコマンドEXTCが発生した場合は、同様に各情報を保持し、その時実行中の動作が終了した後で、保持していた第2の内部コマンドINTC2を実行する。よって、第2のコア活性化状態信号COS2が出力されている間に外部書きこみコマンドEXTCが発生する限り、セレクト信号SEL1〜SEL5で選択されたブロックBLK1〜BLK5は第1の内部コマンドINTC1とは非同期に第2の内部コマンドINTC2を実行し続ける。第2の内部コマンドINTC2の実行サイクルが外部コマンドEXTCの発生サイクルより短ければ、いずれ第2の内部コマンドINTC2の実行も終わる(図5(B)参照)。   When the next external write command EXTC is generated during the operation of the second internal command INTC2, each information is similarly held, and after the operation being executed at that time is finished, the second internal write command EXTC is held. Command INTC2 is executed. Therefore, as long as the external write command EXTC is generated while the second core activation state signal COS2 is output, the blocks BLK1 to BLK5 selected by the select signals SEL1 to SEL5 are different from the first internal command INTC1. The second internal command INTC2 is continuously executed asynchronously. If the execution cycle of the second internal command INTC2 is shorter than the generation cycle of the external command EXTC, the execution of the second internal command INTC2 will eventually end (see FIG. 5B).

読み出し時について説明する。メモリコアに制御信号が入力するまでは、書き込み時とほぼ同じである。異なる点は、書き込み時の第2のコア制御信号COC2に相当する信号はリフレッシュ動作時以外は出力しない。この際、第2のコア制御信号発生回路606自体は動作している。この状態がダミーリード(図5(A)及び(B)参照)である。また、第2のコア活性化状態信号COS2が出力されない期間、リフレッシュブロック選択回路611は、演算結果書き込み用ブロックBLK5に対するセレクト信号SEL5を非選択状態にする。   The reading time will be described. Until the control signal is input to the memory core, it is almost the same as that at the time of writing. The difference is that a signal corresponding to the second core control signal COC2 at the time of writing is not output except during the refresh operation. At this time, the second core control signal generation circuit 606 itself is operating. This state is a dummy lead (see FIGS. 5A and 5B). In addition, during the period when the second core activation state signal COS2 is not output, the refresh block selection circuit 611 puts the select signal SEL5 for the operation result writing block BLK5 into a non-selected state.

次に、図5(A)の動作について説明する。ブロックBLK2では、リフレッシュ動作501の後の第2のコア制御信号COC2による書き込み動作を行う。その後に、ブロックBLK2を制御する信号を、第2のコア制御信号COC2から第1のコア制御信号COC1に切り換える場合を考える。その後、タイミングt5で、すぐに外部から読み出しコマンドRD1が発生した場合、通常は読み出しコマンドからメモリコアへのアクセスは最速で行わなくてはならないため、コア制御信号の切り換えが間に合わない場合がある。   Next, the operation of FIG. 5A will be described. In the block BLK2, a write operation by the second core control signal COC2 after the refresh operation 501 is performed. Then, consider a case where the signal for controlling the block BLK2 is switched from the second core control signal COC2 to the first core control signal COC1. After that, when the read command RD1 is generated immediately from the outside at timing t5, normally, the access from the read command to the memory core must be performed at the fastest speed, so that the core control signal may not be switched in time.

そこで、図6のリフレッシュブロック選択回路611を図9のように構成する。この構成によれば、次の1回の読み出しコマンドRD1が終了するまで、第2のコア制御信号COC2でブロックBLK2を制御する。   Therefore, the refresh block selection circuit 611 in FIG. 6 is configured as shown in FIG. According to this configuration, the block BLK2 is controlled by the second core control signal COC2 until the next one read command RD1 is completed.

図9は、リフレッシュブロック選択回路611の回路図であり、図10はその動作波形を示す。図9を参照しながら、回路構成を説明する。ディレイライン901は、第2のコア活性化状態信号COS2を遅延させる。NAND回路902は、第2のコア活性化状態信号COS2及びディレイライン901の出力を入力し、否定論理積を出力する。インバータ903は、NAND回路902の出力を論理反転し、信号n01を出力する。   FIG. 9 is a circuit diagram of the refresh block selection circuit 611, and FIG. 10 shows its operation waveform. The circuit configuration will be described with reference to FIG. The delay line 901 delays the second core activation state signal COS2. The NAND circuit 902 inputs the second core activation state signal COS2 and the output of the delay line 901, and outputs a negative logical product. The inverter 903 logically inverts the output of the NAND circuit 902 and outputs a signal n01.

RSフリップフロップ904は、NAND回路905及び906により構成される。インバータ907は、信号CLを論理反転する。NAND回路905は、信号n01及びNAND回路906の出力を入力し、否定論理積を出力する。NAND回路906は、NAND回路905の出力及びインバータ907の出力を入力し、否定論理積を出力する。インバータ908は、NAND回路905の出力を入力し、信号n02を出力する。   The RS flip-flop 904 includes NAND circuits 905 and 906. Inverter 907 logically inverts signal CL. The NAND circuit 905 receives the signal n01 and the output of the NAND circuit 906, and outputs a negative logical product. The NAND circuit 906 receives the output of the NAND circuit 905 and the output of the inverter 907 and outputs a negative logical product. The inverter 908 receives the output of the NAND circuit 905 and outputs a signal n02.

NAND回路909は、信号RS及び信号n02を入力し、否定論理積を出力する。NAND回路910は、信号WR及びNAND回路909の出力を入力し、否定論理積を出力する。NAND回路911は、信号n01及びNAND回路910の出力を入力し、否定論理積を出力する。   The NAND circuit 909 receives the signal RS and the signal n02 and outputs a negative logical product. The NAND circuit 910 receives the signal WR and the output of the NAND circuit 909 and outputs a negative logical product. The NAND circuit 911 inputs the signal n01 and the output of the NAND circuit 910, and outputs a negative logical product.

RSフリップフロップ912は、NAND回路913及び914により構成される。NAND回路913は、信号n03及びNAND回路911の出力を入力し、否定論理積を出力する。NAND回路914は、信号REF及びNAND回路913の出力を入力し、信号n03を出力する。   The RS flip-flop 912 includes NAND circuits 913 and 914. The NAND circuit 913 inputs the signal n03 and the output of the NAND circuit 911, and outputs a negative logical product. The NAND circuit 914 receives the signal REF and the output of the NAND circuit 913, and outputs a signal n03.

NAND回路919は、信号n03及び信号PSEL1を入力し、インバータ922に出力する。インバータ922は、セレクト信号SEL1を出力する。NAND回路920は、信号n03及び信号PSEL4を入力し、インバータ923に出力する。インバータ923は、セレクト信号SEL4を出力する。   The NAND circuit 919 receives the signal n03 and the signal PSEL1 and outputs them to the inverter 922. The inverter 922 outputs the select signal SEL1. The NAND circuit 920 receives the signal n03 and the signal PSEL4 and outputs them to the inverter 923. The inverter 923 outputs the select signal SEL4.

インバータ915は、信号PSEL5の論理反転信号を出力する。NAND回路917は、信号n03及びインバータ915の出力を入力し、否定論理積を出力する。NOR回路916は、信号n03及び信号RDを入力し、インバータ918へ出力する。NAND回路921は、NAND回路917の出力及びインバータ918の出力を入力し、インバータ924へ出力する。インバータ924は、セレクト信号SEL5を出力する。   Inverter 915 outputs a logic inversion signal of signal PSEL5. The NAND circuit 917 receives the signal n03 and the output of the inverter 915 and outputs a negative logical product. The NOR circuit 916 receives the signal n03 and the signal RD and outputs them to the inverter 918. The NAND circuit 921 receives the output of the NAND circuit 917 and the output of the inverter 918 and outputs the input to the inverter 924. The inverter 924 outputs a select signal SEL5.

次に、回路の動作を説明する。信号RSは、第1のコア制御信号COC1のコアリセット信号であり、ハイレベルになるとメモリコアをリセットする。コア動作中では、信号RSがローレベルになる。信号WRは、第1のコア制御信号COC1の書きこみ時にローレベルとなる状態信号である。信号CLは、第1のコア制御信号COC1のCL信号(メモリセルのデータを読み出し、センスアンプで増幅した後にそのデータをセンスアンプから取り出すパルス)である。信号REFは、リフレッシュ要求信号である。信号RDは、第1のコア制御信号COC1の読み出し時にハイレベルとなる状態信号であり、書き込み要求が発生するまで状態を保持する。信号PSEL1〜PSEL5は、リフレッシュを行うブロックを示す信号であり、内部カウンタおよびデコーダから出力される。最終的にセレクタに入力される信号は、セレクト信号SEL1〜SEL5である。   Next, the operation of the circuit will be described. The signal RS is a core reset signal of the first core control signal COC1, and resets the memory core when it becomes high level. During the core operation, the signal RS becomes low level. The signal WR is a state signal that becomes a low level when the first core control signal COC1 is written. The signal CL is a CL signal of the first core control signal COC1 (a pulse for reading data from the memory cell and amplifying the data from the sense amplifier after being amplified by the sense amplifier). The signal REF is a refresh request signal. The signal RD is a state signal that is at a high level when the first core control signal COC1 is read, and holds the state until a write request is generated. Signals PSEL1 to PSEL5 are signals indicating blocks to be refreshed, and are output from the internal counter and the decoder. The signals finally input to the selector are select signals SEL1 to SEL5.

ここで、信号PSEL1がハイレベル、信号PSEL2〜PSEL5がローレベルであるとする。タイミングt1のリフレッシュ要求信号REFでリフレッシュ動作が開始すると、信号n03がハイレベルとなり、セレクト信号SEL1がハイレベルとして、ブロックBLK1の制御信号を第2のコア制御信号COC2に切り替える。第2のコア活性化状態信号COS2において、期間T1でリフレッシュを行い、期間T2で書き込みを行なっているとする。リフレッシュの期間T1中に外部から書き込み要求が発生すると、リフレッシュ動作の後、保持した書き込み動作をブロックBLK1に対して行う。   Here, it is assumed that the signal PSEL1 is at a high level and the signals PSEL2 to PSEL5 are at a low level. When the refresh operation is started by the refresh request signal REF at timing t1, the signal n03 becomes high level, the select signal SEL1 becomes high level, and the control signal of the block BLK1 is switched to the second core control signal COC2. In the second core activation state signal COS2, it is assumed that refresh is performed in the period T1 and writing is performed in the period T2. When a write request is generated from the outside during the refresh period T1, the held write operation is performed on the block BLK1 after the refresh operation.

第2のコア活性化状態信号COS2は、ディレイライン901によって信号n01のような一つの状態信号に合成される。信号n01は、RSフリップフロップ904をセットし、さらにリフレッシュ要求信号REFがハイレベルになる前にRSフリップフロップ912の状態を保持する。   The second core activation state signal COS2 is synthesized by the delay line 901 into one state signal such as the signal n01. The signal n01 sets the RS flip-flop 904 and holds the state of the RS flip-flop 912 before the refresh request signal REF becomes high level.

信号RSにおいて、期間T3及びT4ではそれぞれ読み出しを行っているとする。フリップフロップ904の出力信号n02は、タイミングt2で、次の読み出し動作の第1のコア制御信号COC1の信号CLが出力されるまで状態を保持する。信号CLは、必ず信号RSがローレベルの期間に出力するようにタイミングを設定してある。信号n02が信号CLを受けてハイレベルになった後、タイミングt3で、信号RSがハイレベルに遷移したのを受けて信号n03がローレベルとなり、セレクト信号SEL1がローレベルになる。その後に書き込み要求が発生しなければ、信号RDがハイレベルなのでセレクト信号SEL5がハイレベルとして、ライトパリティブロックBLK5を非活性とする。こうして、第2のコア制御信号COC2の動作が終了した後も次の読み出し1回は、演算結果を用いたデータ補正を行う。第2のコア制御信号COC2の動作が終了した後に書き込み要求が発生した場合は、信号WRによりセレクト信号SEL1は1回も待たずにローレベルになる。もちろんこれは、書き込み動作が、読み出し動作ほど高速化する必要がないことが条件となる。書き込みを高速化するため、読み出しと同様に、制御信号の系統を切り換えないで書き込みを行ってもよい。   In the signal RS, it is assumed that reading is performed in the periods T3 and T4. The output signal n02 of the flip-flop 904 holds the state until the signal CL of the first core control signal COC1 of the next read operation is output at the timing t2. The timing of the signal CL is set so that the signal CL is always output during a period when the signal RS is at a low level. After the signal n02 receives the signal CL and becomes high level, at time t3, the signal RS changes to high level, the signal n03 becomes low level, and the select signal SEL1 becomes low level. If no write request is subsequently generated, since the signal RD is at a high level, the select signal SEL5 is set at a high level and the write parity block BLK5 is deactivated. Thus, even after the operation of the second core control signal COC2 is completed, data correction using the calculation result is performed for the next reading once. When a write request is generated after the operation of the second core control signal COC2 is completed, the select signal SEL1 is set to the low level without waiting once by the signal WR. Of course, this requires that the write operation does not have to be as fast as the read operation. In order to speed up writing, writing may be performed without switching the control signal system, as in reading.

図11は、図1の1つのブロックを構成するワードデコーダ103及びメモリセル104の他の構成例を示す。図6のマスク情報MSKを用いることにより、上位バイト及び/又は下位バイトを選択的にアクセスすることができる。1つのブロックは、メインワードデコーダ1101、サブワードデコーダ1102、上位バイトメモリセル1103、サブワードデコーダ1104及び下位バイトメモリセル1105を有する。   FIG. 11 shows another configuration example of the word decoder 103 and the memory cell 104 constituting one block of FIG. By using the mask information MSK in FIG. 6, the upper byte and / or the lower byte can be selectively accessed. One block includes a main word decoder 1101, a sub word decoder 1102, an upper byte memory cell 1103, a sub word decoder 1104, and a lower byte memory cell 1105.

同一アドレスに16ビットのデータを記憶するための4つのブロックBLK1〜BLK4を有する場合を考える。1つのブロックは、同一アドレスにつき4ビットデータを記憶する。同一アドレスにおいて、上位バイトは上位8ビットであり、下位バイトは下位8ビットである。上位バイトメモリセル1103は、上位バイト中の2ビットを記憶する。下位バイトメモリセル1105は、下位バイト中の2ビットを記憶する。   Consider a case where there are four blocks BLK1 to BLK4 for storing 16-bit data at the same address. One block stores 4-bit data for the same address. In the same address, the upper byte is the upper 8 bits and the lower byte is the lower 8 bits. The upper byte memory cell 1103 stores two bits in the upper byte. The lower byte memory cell 1105 stores two bits in the lower byte.

メインワードデコーダ1101は、外部から供給されるロウアドレスに応じてデコードする。サブワードデコーダ1102は、メインワードデコーダ1101の出力に応じて、上位バイトメモリセル1103のロウアドレスを特定する。サブワードデコーダ1104は、メインワードデコーダ1101の出力に応じて、下位バイトメモリセル1105のロウアドレスを特定する。上位バイトと下位バイトは、別制御で読み書きすることができる。1つのブロックでは、上位バイトメモリセル1103及び下位バイトメモリセル1105に対して同時にリフレッシュ動作を行うことができる。   The main word decoder 1101 decodes according to a row address supplied from the outside. The sub word decoder 1102 specifies the row address of the upper byte memory cell 1103 according to the output of the main word decoder 1101. The sub word decoder 1104 specifies the row address of the lower byte memory cell 1105 according to the output of the main word decoder 1101. The upper byte and the lower byte can be read and written by separate control. In one block, the upper byte memory cell 1103 and the lower byte memory cell 1105 can be simultaneously refreshed.

上位バイトメモリセル1103及び下位バイトメモリセル1105のそれぞれについて、メインワードデコーダを設けると、レイアウト面積が大きくなる。メインワードデコーダ1101及びサブワードデコーダ1102,1104によりワード線を階層化し、メインワードデコーダ1101のメインワード線を共有させることにより、メインワードデコーダ1101の面積を減らすことができる。   If a main word decoder is provided for each of the upper byte memory cell 1103 and the lower byte memory cell 1105, the layout area increases. By layering word lines by the main word decoder 1101 and the sub word decoders 1102 and 1104 and sharing the main word line of the main word decoder 1101, the area of the main word decoder 1101 can be reduced.

以上のように、本実施形態によれば、外部からのアクセス要求と内部リフレッシュ動作を同時に処理することが可能となり、外部からリフレッシュ要求を入力しないSRAMインターフェースなどでも、メモリコア動作1回分の高速アクセスタイムで読み出し動作を実現できる。   As described above, according to the present embodiment, an external access request and an internal refresh operation can be processed at the same time, and even a SRAM interface that does not receive an external refresh request can be accessed at a high speed for one memory core operation. Read operation can be realized in time.

また、メモリコアの活性化領域を分割し、1回のリフレッシュ領域を限定する。メモリコアの制御信号を複数系統用意し、リフレッシュブロックとそれ以外のブロックとで、異なる系統の制御信号を用いる。これにより同一アドレスのビットをその存在するブロックに応じて異なる制御ができる。外見上メモリコア動作1回分のアクセスタイムでの読み出し動作が可能になる。   Also, the activation area of the memory core is divided to limit one refresh area. A plurality of control signals for the memory core are prepared, and control signals of different systems are used for the refresh block and the other blocks. As a result, different control can be performed on the bits of the same address depending on the block in which they exist. Apparently, a read operation can be performed with an access time equivalent to one memory core operation.

なお、メモリコア内の複数のブロックは、ロウアドレス方向若しくはカラムアドレス方向、又はその両方のアドレス方向に分割してもよい。   A plurality of blocks in the memory core may be divided in the row address direction, the column address direction, or both address directions.

上記実施形態は、何れも本発明を実施するにあたっての具体化の例を示したものに過ぎず、これらによって本発明の技術的範囲が限定的に解釈されてはならないものである。すなわち、本発明はその技術思想、またはその主要な特徴から逸脱することなく、様々な形で実施することができる。   The above-described embodiments are merely examples of implementation in carrying out the present invention, and the technical scope of the present invention should not be construed as being limited thereto. That is, the present invention can be implemented in various forms without departing from the technical idea or the main features thereof.

本発明の実施形態は、例えば以下のように種々の適用が可能である。
(付記1)同一アドレスの複数のビットデータを複数のメモリセルブロックに分散して記憶するためのメモリコアと、
前記複数のメモリブロックに対してそれぞれ独立にリフレッシュ動作を制御することができ、一のメモリセルブロックと他の一のメモリセルブロックとを異なるタイミングでリフレッシュ動作するように制御する制御回路と
を有する半導体記憶装置。
(付記2)前記制御回路は、同一のタイミングにおいて前記複数のメモリセルブロックのうちの一のメモリセルブロックに対してリフレッシュ動作を行わせ、他の一のメモリセルブロックに対してデータの書き込み又は読み出しを行わせるように制御することができる付記1記載の半導体記憶装置。
(付記3)前記メモリコアは、同一アドレスに対して外部入力可能なビット数より多いビット数のデータを記憶することができ、
前記制御回路は、外部入力の複数のビットデータを前記メモリコアに書き込むと共に、外部入力の複数のビットデータを基に論理演算を行い、該演算結果を前記メモリコアに書き込む付記1記載の半導体記憶装置。
(付記4)前記メモリコア内の複数のメモリセルブロックは、ロウアドレス方向若しくはカラムアドレス方向、又はその両方のアドレス方向に分割され、同一アドレスの複数のビットが複数のメモリセルブロックに分散して存在し、
前記制御回路は、前記複数のメモリブロックをそれぞれ独立に制御することができる付記1記載の半導体記憶装置。
(付記5)前記制御回路は、同一のロウアドレス又はカラムアドレスで複数のメモリセルブロックを活性化して制御することができる付記1記載の半導体記憶装置。
(付記6)前記制御回路は、前記メモリセルブロック毎に活性化して制御するための制御信号を複数系統有し、前記メモリセルブロック毎に前記制御信号の系統を選択する選択回路を有する付記1記載の半導体記憶装置。
(付記7)前記制御回路は、前記メモリセルブロック毎に活性化して制御するための制御信号を複数系統有し、各メモリセルブロックに対する制御信号のタイミングはすべて同一になる場合の他、すべて又は一部が異なる場合がある付記1記載の半導体記憶装置。
(付記8)前記制御回路は、前記複数のメモリセルブロックを同一又は異なるタイミングの制御信号により複数活性化し、それぞれのメモリセルブロックの活性化タイミング及び/又は活性化時間が異なるように制御することができる付記1記載の半導体記憶装置。
(付記9)前記メモリコアは、同一アドレスについて複数のビットデータを記憶するための複数のメモリセルブロックの他、演算結果を記憶するための演算結果記憶用メモリセルブロックを有し、
前記制御回路は、データ書き込み時に同一アドレスの複数ビットの書き込みデータのハイレベル又はローレベルのビット数が偶数個又は奇数個を示す演算結果データを演算する演算回路を有し、該演算結果データを前記演算結果記憶用メモリセルブロックに書き込む付記1記載の半導体記憶装置。
(付記10)前記制御回路は、データ読み出し時に同一アドレスの複数ビットの読み出しデータのハイレベル又はローレベルのビット数が偶数個又は奇数個を示す演算結果データを演算する演算回路と、該演算した演算結果データと前記演算結果記憶用メモリセルブロックから読み出した演算結果データを比較する比較回路とを有する付記9記載の半導体記憶装置。
(付記11)前記制御回路は、読み出し又は書き込みにより複数のメモリセルブロックを活性化した際に活性化中の一部のメモリセルブロックに対してリフレッシュ要求が発生した場合は、その活性化の動作終了後、次の読み出し又は書き込みの要求が発生しても、リフレッシュ動作を優先して行うように制御する付記1記載の半導体記憶装置。
(付記12)前記制御回路は、リフレッシュ動作中のメモリセルブロックに対する読み出し要求信号が入力された場合は、そのメモリセルブロックからデータを読み出さず、前記比較回路の比較により両方の演算結果データが不一致であれば、リフレッシュ動作中のメモリセルブロックのデータ線のデータを反転させるための反転回路を有する付記10記載の半導体記憶装置。
(付記13)前記制御回路は、リフレッシュ動作中のメモリセルブロックに対する書き込み要求信号が入力された場合は、該書き込み要求信号を保持し、リフレッシュ動作が終了した後に前記保持していた書き込み要求信号に対応する書き込み動作を行う付記12記載の半導体記憶装置。
(付記14)前記制御回路は、前記保持していた書き込み要求信号に対応する書き込み動作を実行中に、次の書き込み要求信号が入力された場合には該書き込み要求信号を保持する付記13記載の半導体記憶装置。
(付記15)前記制御回路は、前記書き込み動作の実行中に出力される活性化信号がリセットされた時点で前記保持していた書き込み要求信号に対応する書き込み動作を開始する付記14記載の半導体記憶装置。
(付記16)前記制御回路は、前記メモリセルブロック毎に活性化して制御するための制御信号を複数系統有し、前記メモリセルブロック毎に前記制御信号の系統を選択する選択回路を有し、
前記選択回路は、前記保持していた書き込み要求信号の書き込み動作中に、そのメモリセルブロックに対して次の書き込み要求信号が入力されなければ、その時点で実行していた書き込み動作が終了した時点で、リフレッシュ動作以前の制御信号の系統を選択する付記13記載の半導体記憶装置。
(付記17)前記制御回路は、リフレッシュ動作中のメモリセルブロックに対する書き込み要求信号が入力された場合は、該書き込み要求信号を保持し、リフレッシュ動作が終了した後に前記保持していた書き込み要求信号に対応する書き込み動作を行い、該書き込み動作中にそのメモリセルブロックに対する読み出し要求信号が入力された場合は、前記反転回路は前記比較回路の比較結果に応じてデータの反転を行う付記12記載の半導体記憶装置。
(付記18)前記制御回路は、リフレッシュ動作中に読み出し要求信号が入力された場合は前記反転回路が前記比較回路の比較結果に応じてデータ反転を行い、該読み出し要求信号を保持し、リフレッシュ動作が終了した後に読み出し動作を行う際、そのメモリセルブロックからデータを読み出さず、前記反転回路が前記比較回路の比較結果に応じてデータ反転を行うことにより擬似的読み出し動作を行う付記13記載の半導体記憶装置。
(付記19)前記制御回路は、前記擬似的読み出し動作を行っている間に、そのメモリセルブロックに対する書き込み要求信号が入力された場合は、該書き込み要求信号を保持し、前記擬似的読み出し動作が終了した後に前記保持していた書き込み要求信号に対応する動作を行う付記18記載の半導体記憶装置。
(付記20)前記制御回路は、前記擬似的読み出し動作を行っている間に、そのメモリセルブロックに対する読み出し要求信号が入力された場合は、該読み出し要求信号を保持し、前記擬似的読み出し動作が終了した後に前記保持していた読み出し要求信号に対応し、そのメモリセルブロックからデータを読み出さず、前記反転回路が前記比較回路の比較結果に応じてデータ反転を行う付記18記載の半導体記憶装置。
(付記21)前記制御回路は、前記メモリセルブロック毎に活性化して制御するための制御信号を複数系統有し、前記メモリセルブロック毎に前記制御信号の系統を選択する選択回路を有し、
前記保持していた書き込み要求信号に対応する書き込み動作中に、そのメモリセルブロックに対して次の書き込み要求信号が入力されない場合でも次の1回の読み出し動作は前記反転回路が前記比較結果に応じてデータ反転を行うことによる擬似的読み出しを行い、
前記選択回路は、前記擬似的読み出し動作が終了した時点で、リフレッシュ動作以前の制御信号の系統を選択する付記13記載の半導体記憶装置。
(付記22)前記各メモリセルブロックは、上位バイト及び下位バイトによりワード線が階層化され、メインのワード線で上位バイト及び下位バイトの両方を同時に選択することができる付記1記載の半導体記憶装置。
(付記23)前記各メモリセルブロックは、上位バイト及び下位バイトに対して同時にリフレッシュ動作を行う付記22記載の半導体記憶装置。
(付記24)前記制御回路は、読み出し動作がリフレッシュ動作と競合しない場合には前記演算結果記憶用メモリセルブロックを非活性にし、その他のメモリセルブロックから読み出しを行う付記9記載の半導体記憶装置。
(付記25)前記複数のメモリセルブロックは、それぞれワードデコーダを有する付記1記載の半導体記憶装置。
(付記26)前記制御回路は、入力される書き込み要求信号又は読み出し要求信号を保持するための2個の保持回路を有する付記12記載の半導体記憶装置。
(付記27)前記2個の保持回路は、カウンタを用いて交互に前記要求信号を記憶する付記26記載の半導体記憶装置。
(付記28)前記制御回路は、前記2個の保持回路に対して信号を保持する時と保持した信号を出力する時とを異なるカウンタで制御することにより、該2個の保持回路を交互に使用する付記27記載の半導体記憶装置。
The embodiment of the present invention can be applied in various ways as follows, for example.
(Supplementary note 1) a memory core for distributing and storing a plurality of bit data of the same address in a plurality of memory cell blocks;
A refresh circuit can be controlled independently for each of the plurality of memory blocks, and has a control circuit for controlling one memory cell block and another memory cell block to perform refresh operations at different timings Semiconductor memory device.
(Supplementary Note 2) The control circuit causes one memory cell block of the plurality of memory cell blocks to perform a refresh operation at the same timing and writes data to the other memory cell block or The semiconductor memory device according to appendix 1, which can be controlled to perform reading.
(Supplementary Note 3) The memory core can store data having a larger number of bits than the number of bits that can be externally input to the same address,
The semiconductor memory according to claim 1, wherein the control circuit writes a plurality of bit data of an external input to the memory core, performs a logical operation based on the plurality of bit data of an external input, and writes the operation result to the memory core. apparatus.
(Appendix 4) A plurality of memory cell blocks in the memory core are divided in the row address direction and / or the column address direction, and a plurality of bits at the same address are distributed to the plurality of memory cell blocks. Exists,
The semiconductor memory device according to appendix 1, wherein the control circuit can independently control the plurality of memory blocks.
(Supplementary note 5) The semiconductor memory device according to supplementary note 1, wherein the control circuit can activate and control a plurality of memory cell blocks with the same row address or column address.
(Supplementary Note 6) The control circuit has a plurality of control signals for activating and controlling each memory cell block, and includes a selection circuit that selects the control signal system for each memory cell block. The semiconductor memory device described.
(Supplementary Note 7) The control circuit has a plurality of control signals for activating and controlling each memory cell block, and all or the timings of the control signals for each memory cell block are the same, or The semiconductor memory device according to appendix 1, wherein a part thereof may be different.
(Supplementary Note 8) The control circuit activates a plurality of the memory cell blocks by a control signal having the same or different timing, and controls the activation timing and / or activation time of each memory cell block to be different. The semiconductor memory device according to appendix 1, wherein
(Supplementary Note 9) The memory core includes a memory cell block for storing an operation result in addition to a plurality of memory cell blocks for storing a plurality of bit data for the same address,
The control circuit includes a calculation circuit that calculates calculation result data indicating that the number of high-level or low-level bits of a plurality of bits of write data of the same address at the time of data writing is an even number or an odd number. The semiconductor memory device according to appendix 1, wherein the memory cell block for storing the operation result is written.
(Additional remark 10) The said control circuit calculated the calculation result data which shows the number of high level or low level bits of the read data of the several bits of the same address at the time of data reading even number or odd number, and this calculation The semiconductor memory device according to appendix 9, further comprising a comparison circuit that compares the operation result data with the operation result data read from the operation result storage memory cell block.
(Supplementary Note 11) When a plurality of memory cell blocks are activated by reading or writing, the control circuit performs an activation operation when a refresh request is generated for some of the activated memory cell blocks. 2. The semiconductor memory device according to appendix 1, wherein control is performed so that the refresh operation is preferentially performed even if a next read or write request occurs after completion.
(Supplementary Note 12) When a read request signal is input to the memory cell block in the refresh operation, the control circuit does not read the data from the memory cell block, and the two operation result data do not match due to the comparison by the comparison circuit. If there is, the semiconductor memory device according to appendix 10, which has an inversion circuit for inverting the data of the data line of the memory cell block during the refresh operation.
(Supplementary Note 13) When a write request signal for a memory cell block during a refresh operation is input, the control circuit holds the write request signal, and adds the write request signal held after the refresh operation is completed. 13. The semiconductor memory device according to appendix 12, which performs a corresponding write operation.
(Supplementary note 14) The control circuit according to supplementary note 13, wherein when the next write request signal is input during execution of the write operation corresponding to the held write request signal, the control circuit holds the write request signal. Semiconductor memory device.
(Supplementary note 15) The semiconductor memory according to supplementary note 14, wherein the control circuit starts a write operation corresponding to the held write request signal when an activation signal output during execution of the write operation is reset. apparatus.
(Supplementary Note 16) The control circuit has a plurality of control signals for activating and controlling each memory cell block, and has a selection circuit for selecting the control signal system for each memory cell block,
When the next write request signal is not input to the memory cell block during the write operation of the held write request signal, the selection circuit ends the write operation being performed at that time 14. The semiconductor memory device according to appendix 13, wherein the control signal system before the refresh operation is selected.
(Supplementary Note 17) When a write request signal for a memory cell block during a refresh operation is input, the control circuit holds the write request signal, and adds the write request signal held after the refresh operation is completed. 14. The semiconductor according to appendix 12, wherein the inversion circuit inverts data in accordance with a comparison result of the comparison circuit when a corresponding write operation is performed and a read request signal for the memory cell block is input during the write operation. Storage device.
(Supplementary Note 18) When a read request signal is input during a refresh operation, the control circuit inverts data in accordance with the comparison result of the comparison circuit, holds the read request signal, and performs a refresh operation. 14. The semiconductor according to appendix 13, wherein when the read operation is performed after the data is terminated, data is not read from the memory cell block, and the inversion circuit performs the data inversion according to the comparison result of the comparison circuit. Storage device.
(Supplementary Note 19) When a write request signal is input to the memory cell block while the pseudo read operation is being performed, the control circuit holds the write request signal, and the pseudo read operation is performed. 19. The semiconductor memory device according to appendix 18, wherein an operation corresponding to the held write request signal is performed after completion.
(Supplementary Note 20) If a read request signal is input to the memory cell block while the pseudo read operation is being performed, the control circuit holds the read request signal, and the pseudo read operation is performed. 19. The semiconductor memory device according to appendix 18, wherein, in response to the read request signal held after completion, data is not read from the memory cell block, and the inversion circuit performs data inversion according to a comparison result of the comparison circuit.
(Supplementary note 21) The control circuit has a plurality of control signals for activating and controlling each memory cell block, and has a selection circuit for selecting the control signal system for each memory cell block,
During the write operation corresponding to the held write request signal, even if the next write request signal is not input to the memory cell block, the next one read operation is performed by the inverting circuit according to the comparison result. Pseudo-reading by performing data inversion,
14. The semiconductor memory device according to appendix 13, wherein the selection circuit selects a control signal system before the refresh operation when the pseudo read operation is completed.
(Supplementary note 22) The semiconductor memory device according to supplementary note 1, wherein each of the memory cell blocks has a word line hierarchized by an upper byte and a lower byte, and both the upper byte and the lower byte can be simultaneously selected by a main word line. .
(Additional remark 23) The said memory cell block is a semiconductor memory device of Additional remark 22 which performs refresh operation | movement simultaneously with respect to a high-order byte and a low-order byte.
(Supplementary note 24) The semiconductor memory device according to supplementary note 9, wherein when the read operation does not compete with the refresh operation, the control circuit inactivates the memory cell block for storing the operation result and reads from the other memory cell block.
(Supplementary note 25) The semiconductor memory device according to supplementary note 1, wherein each of the plurality of memory cell blocks has a word decoder.
(Supplementary note 26) The semiconductor memory device according to supplementary note 12, wherein the control circuit has two holding circuits for holding an input write request signal or read request signal.
(Supplementary note 27) The semiconductor memory device according to supplementary note 26, wherein the two holding circuits store the request signal alternately using a counter.
(Supplementary note 28) The control circuit controls the two holding circuits alternately by controlling the holding of the signals to the two holding circuits and the time of outputting the held signals with different counters. 28. The semiconductor memory device according to appendix 27, which is used.

メモリコア概略図である。It is a memory core schematic diagram. 図2(A)〜(C)はライトパリティ演算シーケンスを示す図である。2A to 2C are diagrams showing a write parity calculation sequence. 図3(A)、(B)はデータ補正シーケンスを示す図である。3A and 3B are diagrams showing a data correction sequence. メモリコアからの出力に係る制御信号発生回路のブロック図である。It is a block diagram of a control signal generation circuit related to an output from a memory core. 図5(A)、(B)は半導体記憶装置の全体動作を示す概略図である。5A and 5B are schematic views showing the overall operation of the semiconductor memory device. メモリコアへの入力に係る制御信号発生回路のブロック図である。3 is a block diagram of a control signal generation circuit related to an input to a memory core. FIG. 内部コマンド保持回路の回路図である。It is a circuit diagram of an internal command holding circuit. 内部コマンド保持回路の動作波形図である。It is an operation | movement waveform diagram of an internal command holding circuit. リフレッシュブロック選択回路の回路図である。It is a circuit diagram of a refresh block selection circuit. リフレッシュブロック選択回路の動作波形図である。It is an operation waveform diagram of the refresh block selection circuit. メモリコアのブロックの構成を示す図である。It is a figure which shows the structure of the block of a memory core.

符号の説明Explanation of symbols

101 セレクタ
102 カラムデコーダ
103 ワードデコーダ
104 メモリセル
SIG1 第1の制御信号
SIG2 第2の制御信号
SEL1〜SEL5 セレクト信号
BLK1〜BLK5 メモリセルブロック
101 selector 102 column decoder 103 word decoder 104 memory cell SIG1 first control signal SIG2 second control signals SEL1 to SEL5 select signals BLK1 to BLK5 memory cell block

Claims (7)

同一アドレスの複数のビットデータを複数のメモリセルブロックに分散して記憶するためのメモリコアと、
外部コマンドに基づいて、内部コマンド信号を出力する内部コマンド発生回路と、
前記内部コマンド信号に基づいて、前記メモリコアを活性化するための第1のコア制御信号を出力する第1のコア制御信号発生回路と、
前記複数のメモリセルブロックに対してそれぞれ独立にリフレッシュ動作を制御することができ、一のメモリセルブロックと他の一のメモリセルブロックとを異なるタイミングでリフレッシュ動作するように制御する制御回路と
を備え、
前記制御回路は、
リフレッシュ要求信号に基づいて前記メモリコアを活性化するための第2のコア制御信号を出力する第2のコア制御信号発生回路を備え、
リフレッシュ動作中のメモリセルブロックに対する読み込み要求信号が入力された場合は、前記リフレッシュ動作の終了後に前記第2のコア制御信号を非活性化として前記読み込み要求信号に基づいて読み出し動作を行うこと
を特徴とする半導体記憶装置。
A memory core for distributing and storing a plurality of bit data of the same address in a plurality of memory cell blocks;
An internal command generation circuit for outputting an internal command signal based on the external command;
A first core control signal generating circuit for outputting a first core control signal for activating the memory core based on the internal command signal;
A control circuit capable of independently controlling a refresh operation for each of the plurality of memory cell blocks, and controlling the refresh operation of one memory cell block and the other memory cell block at different timings; Prepared,
The control circuit includes:
A second core control signal generating circuit for outputting a second core control signal for activating the memory core based on a refresh request signal;
When a read request signal is input to a memory cell block during a refresh operation, the second core control signal is deactivated after the refresh operation is completed, and a read operation is performed based on the read request signal. A semiconductor memory device.
リフレッシュ要求信号を出力するリフレッシュ要求信号発生回路と、
前記外部コマンドと前記リフレッシュ要求信号の何れが早いかを判定し、リフレッシュ要求信号が早いと判断した場合には、リフレッシュ要求信号を前記第2のコア制御信号発生回路に出力するコマンド−リフレッシュ比較回路と
を備えることを特徴とする請求項1に記載の半導体記憶装置。
A refresh request signal generating circuit for outputting a refresh request signal;
A command-refresh comparison circuit that determines which of the external command and the refresh request signal is early and outputs the refresh request signal to the second core control signal generation circuit when it is determined that the refresh request signal is early The semiconductor memory device according to claim 1, further comprising:
前記第1のコア制御信号と前記第2のコア制御信号とを選択的に前記メモリコアに出力するセレクタを備えること
を特徴とする請求項1又は請求項2に記載の半導体記憶装置。
The semiconductor memory device according to claim 1, further comprising a selector that selectively outputs the first core control signal and the second core control signal to the memory core.
前記制御回路は、
前記リフレッシュ要求信号に応じて、リフレッシュを行うメモリセルブロックを選択するセレクト信号を前記セレクタに出力するメモリセルブロック選択回路を備えること
を特徴とする請求項3に記載の半導体記憶装置。
The control circuit includes:
The semiconductor memory device according to claim 3, further comprising: a memory cell block selection circuit that outputs a select signal for selecting a memory cell block to be refreshed to the selector in response to the refresh request signal.
前記制御回路は、
リフレッシュ動作中のメモリセルブロックに対する書き込み要求信号が入力された場合には、前記書き込み要求信号を保持し、前記保持していた書き込み要求信号に対応する書き込み動作中に、次の書き込み要求信号が入力された場合には、前記書き込み要求信号を保持すること
を特徴とする請求項1に記載の半導体記憶装置。
The control circuit includes:
When a write request signal is input to the memory cell block during the refresh operation, the write request signal is held, and the next write request signal is input during the write operation corresponding to the held write request signal. The semiconductor memory device according to claim 1, wherein the write request signal is held when the write request signal is received.
同一アドレスの複数のビットデータを複数のメモリセルブロックに分散して記憶するためのメモリコアと、
外部コマンドに基づいて、内部コマンド信号を出力する内部コマンド発生回路と、
前記内部コマンド信号に基づいて、前記メモリコアを活性化するための第1のコア制御信号を出力する第1のコア制御信号発生回路と、
リフレッシュ要求信号に基づいて前記メモリコアを活性化するための第2のコア制御信号を出力する第2のコア制御信号発生回路と、
前記リフレッシュ要求信号に応じて、リフレッシュを行うメモリセルブロックを選択するセレクト信号をセレクタに出力するメモリセルブロック選択回路と、
前記セレクト信号に基づいて第1の制御信号と前記第2のコア制御信号とを選択的に前記メモリコアに出力するセレクタと
を備え、
前記セレクタは、
前記複数のメモリセルブロックの内の第1のメモリセルブロックに対するリフレッシュ動作においては前記第2のコア制御信号を前記第1のメモリセルブロックのメモリコアに供給し、
前記第1のメモリセルブロック以外のメモリセルブロックに対する読み出し動作においては前記第1のコア制御信号を前記第1のメモリセルブロック以外のメモリセルブロックのメモリコアに供給すること
を特徴とする半導体記憶装置。
A memory core for distributing and storing a plurality of bit data of the same address in a plurality of memory cell blocks;
An internal command generation circuit for outputting an internal command signal based on the external command;
A first core control signal generating circuit for outputting a first core control signal for activating the memory core based on the internal command signal;
A second core control signal generating circuit for outputting a second core control signal for activating the memory core based on a refresh request signal;
A memory cell block selection circuit that outputs a select signal for selecting a memory cell block to be refreshed to the selector in response to the refresh request signal;
A selector that selectively outputs the first control signal and the second core control signal to the memory core based on the select signal;
The selector is
In the refresh operation for the first memory cell block among the plurality of memory cell blocks, the second core control signal is supplied to the memory core of the first memory cell block;
In a read operation for a memory cell block other than the first memory cell block, the first core control signal is supplied to a memory core of a memory cell block other than the first memory cell block. apparatus.
前記リフレッシュ動作中に前記第1のメモリセルブロックに対する読み出し要求が入力された場合には、前記リフレッシュ動作の終了後に前記第1のコア制御信号を非活性化すること
を特徴とする請求項6に記載の半導体記憶装置。
7. The first core control signal is deactivated after completion of the refresh operation when a read request is input to the first memory cell block during the refresh operation. The semiconductor memory device described.
JP2008107982A 2008-04-17 2008-04-17 Semiconductor memory device Expired - Fee Related JP4900310B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008107982A JP4900310B2 (en) 2008-04-17 2008-04-17 Semiconductor memory device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008107982A JP4900310B2 (en) 2008-04-17 2008-04-17 Semiconductor memory device

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2001367053A Division JP4159280B2 (en) 2001-08-03 2001-11-30 Semiconductor memory device

Publications (2)

Publication Number Publication Date
JP2008210513A true JP2008210513A (en) 2008-09-11
JP4900310B2 JP4900310B2 (en) 2012-03-21

Family

ID=39786675

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008107982A Expired - Fee Related JP4900310B2 (en) 2008-04-17 2008-04-17 Semiconductor memory device

Country Status (1)

Country Link
JP (1) JP4900310B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012141161A1 (en) * 2011-04-12 2012-10-18 ルネサスエレクトロニクス株式会社 Semiconductor memory circuit, method for operating semiconductor memory circuit, and method for designing semiconductor memory circuit
CN112102859A (en) * 2019-06-17 2020-12-18 华邦电子股份有限公司 Pseudo static random access memory and data writing method thereof

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6120292A (en) * 1984-07-05 1986-01-29 Toshiba Corp Semiconductor memory
JPS6129489A (en) * 1984-07-20 1986-02-10 Olympus Optical Co Ltd Controll system of dynamic memory
JPS6199999A (en) * 1984-10-19 1986-05-19 Hitachi Ltd Semiconductor storage device
JPS6212990A (en) * 1985-07-09 1987-01-21 Fujitsu Ltd Dynamic type semiconductor storage device
JPS62259295A (en) * 1986-05-06 1987-11-11 Hitachi Ltd Refresh control system
JPS63204593A (en) * 1987-02-19 1988-08-24 Hitachi Ltd Method for accessing dynamic memory
JPH04132093A (en) * 1990-09-21 1992-05-06 Toshiba Corp Semiconductor memory device
JPH1011348A (en) * 1996-06-24 1998-01-16 Ricoh Co Ltd Controller for dram, and the dram
JP2001093277A (en) * 1999-09-22 2001-04-06 Fujitsu Ltd Semiconductor integrated circuit and its control method
JP2001243765A (en) * 2000-02-29 2001-09-07 Fujitsu Ltd Semiconductor storage device

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6120292A (en) * 1984-07-05 1986-01-29 Toshiba Corp Semiconductor memory
JPS6129489A (en) * 1984-07-20 1986-02-10 Olympus Optical Co Ltd Controll system of dynamic memory
JPS6199999A (en) * 1984-10-19 1986-05-19 Hitachi Ltd Semiconductor storage device
JPS6212990A (en) * 1985-07-09 1987-01-21 Fujitsu Ltd Dynamic type semiconductor storage device
JPS62259295A (en) * 1986-05-06 1987-11-11 Hitachi Ltd Refresh control system
JPS63204593A (en) * 1987-02-19 1988-08-24 Hitachi Ltd Method for accessing dynamic memory
JPH04132093A (en) * 1990-09-21 1992-05-06 Toshiba Corp Semiconductor memory device
JPH1011348A (en) * 1996-06-24 1998-01-16 Ricoh Co Ltd Controller for dram, and the dram
JP2001093277A (en) * 1999-09-22 2001-04-06 Fujitsu Ltd Semiconductor integrated circuit and its control method
JP2001243765A (en) * 2000-02-29 2001-09-07 Fujitsu Ltd Semiconductor storage device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012141161A1 (en) * 2011-04-12 2012-10-18 ルネサスエレクトロニクス株式会社 Semiconductor memory circuit, method for operating semiconductor memory circuit, and method for designing semiconductor memory circuit
CN112102859A (en) * 2019-06-17 2020-12-18 华邦电子股份有限公司 Pseudo static random access memory and data writing method thereof
CN112102859B (en) * 2019-06-17 2023-08-15 华邦电子股份有限公司 Pseudo-static random access memory and data writing method thereof

Also Published As

Publication number Publication date
JP4900310B2 (en) 2012-03-21

Similar Documents

Publication Publication Date Title
JP4159280B2 (en) Semiconductor memory device
US11361808B2 (en) Apparatuses and methods for selective row refreshes
JP3244340B2 (en) Synchronous semiconductor memory device
US7304908B2 (en) SRAM device capable of performing burst operation
US9373379B2 (en) Active control device and semiconductor device including the same
JP2006294216A (en) Semiconductor memory apparatus
US20100103762A1 (en) Memory device and method
TWI646542B (en) Semiconductor memory device
JP2008108417A (en) Low power dram and its driving method
JP2000306379A (en) Semiconductor memory
KR100510491B1 (en) Semiconductor memory device, having partial activation structure, capable page mode operation and Operation method there-of
JP2004134069A (en) Semiconductor memory device having partial activation structure and enabling page mode operation, and method for operating the same
JP2011048876A (en) Semiconductor memory device and method for controlling the same
US7180822B2 (en) Semiconductor memory device without decreasing performance thereof even if refresh operation or word line changing operation occur during burst operation
JP4900310B2 (en) Semiconductor memory device
KR20050034402A (en) Semiconductor memory device capable of controlling burst length without resetting mode of operation and memory system including the same
US10714161B2 (en) Semiconductor device
JP2007272981A (en) Semiconductor memory device
JPH1145570A (en) Semiconductor memory device
JP2004185686A (en) Semiconductor storage device
JP2004206850A (en) Semiconductor storage device
US20230077701A1 (en) Processing-in-memory(pim) device
US20230215483A1 (en) Semiconductor memory device and memory system including the same
KR100599411B1 (en) SRAM with storage capacitor cell
JP4100403B2 (en) Refresh control and internal voltage generation in semiconductor memory devices

Legal Events

Date Code Title Description
A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A712

Effective date: 20080731

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20081204

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20101220

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110125

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

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20111219

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20150113

Year of fee payment: 3

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313111

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

LAPS Cancellation because of no payment of annual fees