JPH1173784A - Semiconductor memory device and data reading method in its device - Google Patents

Semiconductor memory device and data reading method in its device

Info

Publication number
JPH1173784A
JPH1173784A JP23258097A JP23258097A JPH1173784A JP H1173784 A JPH1173784 A JP H1173784A JP 23258097 A JP23258097 A JP 23258097A JP 23258097 A JP23258097 A JP 23258097A JP H1173784 A JPH1173784 A JP H1173784A
Authority
JP
Japan
Prior art keywords
write
address
read
erase
data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP23258097A
Other languages
Japanese (ja)
Inventor
Koji Hara
浩司 原
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.)
NEC Corp
Original Assignee
NEC Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Corp filed Critical NEC Corp
Priority to JP23258097A priority Critical patent/JPH1173784A/en
Publication of JPH1173784A publication Critical patent/JPH1173784A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To speed up a reading operation by enabling the reading operation for the address during operation even during the writing or erasing operation and executing the reading for the address of writing or erasing without needing to wait the finish of the writing or erasing operation. SOLUTION: Data and addresses of a writing address and an address within an erasing block are previously stored in a reading resistor 11 using a resistor control circuit 10 at the point in time starting the writing or erasing operation. Thus, if the reading operation for the operation address is generated during the writing or erasing operation, it is controlled with the resistor control circuit 10 so that above data stored at the point in time are substituted for the data output during writing or erasing.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、半導体記憶装置お
よび迅速データ読出し方法に関し、特にブロック単位で
データ消去が行われるフラッシュメモリ部を備える半導
体記憶装置および迅速データ読出し方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a semiconductor memory device and a rapid data reading method, and more particularly, to a semiconductor memory device having a flash memory unit in which data is erased in block units and a rapid data reading method.

【0002】[0002]

【従来の技術】図4は、従来例のフラッシュメモリ部を
備える半導体記憶装置のブロック図である。データの読
出し、書込みおよび消去のそれぞれの動作について説明
する。 (1)データの読出し動作 データの読出しの場合、まず読出し・書込み・消去制御
回路23に対して読出しのためのコントロール信号が加
えられ、同時にアドレスバッファ28に対して読出すア
ドレスのアドレス信号が加えられる。アドレス信号はア
ドレスラッチ29に貯えられ、メモリセル部31のアド
レスを選択するためのデコーダ30に入力する。読出し
・書込み・消去制御回路23は、コントロール信号によ
ってこの動作を読出し動作と判断し、デコーダ30を活
性化させ、メモリセル部31にある読出すアドレスのメ
モリセルを選択する。選択されたメモリセルはデータレ
ジスタ27にデータを出力し、そのデータが入出力バッ
ファ26を介して半導体記憶装置外部にデータ出力信号
として出力される。この読出しの動作速度は一般的に1
00ns前後である。 (2)データの書込み動作 データの書込みの単位はバイト単位が一般的である。
2. Description of the Related Art FIG. 4 is a block diagram of a conventional semiconductor memory device having a flash memory unit. The respective operations of reading, writing, and erasing data will be described. (1) Data read operation In the case of data read, a control signal for reading is first applied to the read / write / erase control circuit 23, and at the same time, an address signal of an address to be read is applied to the address buffer 28. Can be The address signal is stored in an address latch 29 and is input to a decoder 30 for selecting an address of the memory cell unit 31. The read / write / erase control circuit 23 determines this operation as a read operation by the control signal, activates the decoder 30, and selects the memory cell of the address to be read in the memory cell section 31. The selected memory cell outputs data to the data register 27, and the data is output to the outside of the semiconductor memory device via the input / output buffer 26 as a data output signal. The read operation speed is generally 1
00 ns. (2) Data Write Operation The data write unit is generally a byte unit.

【0003】データの書込みの場合は、まず読出し・書
込み・消去制御回路23に対してコマンド入力のための
コントロール信号が、またアドレスバッファ28に対し
て書込むアドレスのアドレス信号が、また入出力バッフ
ァ26に対して書込みのセットアップコマンドが加えら
れる。一方、読出し・書込・消去制御回路23は、コン
トロール信号によりコマンド入力動作であると判断し、
コマンドレジスタ24を活性化させる。この時、入出力
バッファ26に入力した書込みのセットアップコマンド
はデータレジスタ27に貯えられ、コマンドレジスタは
このデータレジスタ27が貯えている書込みのセットア
ップコマンドを受取り、読出し・書込み・消去制御回路
23に書込み動作である旨を伝達する。
In writing data, first, a control signal for inputting a command to a read / write / erase control circuit 23, an address signal of an address to be written to an address buffer 28, and an input / output buffer 26, a write setup command is added. On the other hand, the read / write / erase control circuit 23 determines that the operation is a command input operation based on the control signal,
The command register 24 is activated. At this time, the write setup command input to the input / output buffer 26 is stored in the data register 27. The command register receives the write setup command stored in the data register 27, and writes the write setup command to the read / write / erase control circuit 23. Inform that it is an action.

【0004】次に、読出し・書込み・消去制御回路23
対してコマンド入力のためのコントロール信号が加えら
れ、入出力バッファ26に対して書込みデータが加えら
れる。次に、この書込みデータはデータレジスタ27に
貯えられる。また、アドレスバッファ28に対して書込
むアドレスのアドレス信号が再度入力され、アドレスラ
ッチ29に貯えられ、メモリセル部31のアドレスを選
択するためのデコーダ30に入力する。一方、読出し・
書込み・消去制御回路23は、コントロール信号と前の
コマンドにより書込み動作開始の指示と判断し、デコー
ダ30によって選択されたメモリセル部31のメモリセ
ルに対し、データレジスタ27が貯えている書込みデー
タを伝え、書込み動作を開始する。この時コマンドレジ
スタ24はステータスレジスタ25に、現在ビジー状態
である旨を示すフラグを立てる。書込み動作が終了した
段階で、読出し・書込み・消去制御回路23はコマンド
レジスタ24を介してステータスレジスタ25に立てた
フラグを元に戻す。この書込みの動作速度は一般に10
μs程度である。 (3)消去動作 データの消去の場合、特定単位の複数アドレスを1つの
ブロックとして扱い、これを1つ消去ブロックとして消
去するのが一般的である。
Next, a read / write / erase control circuit 23
On the other hand, a control signal for command input is applied, and write data is applied to the input / output buffer 26. Next, the write data is stored in the data register 27. Further, an address signal of an address to be written to the address buffer 28 is input again, stored in an address latch 29, and input to a decoder 30 for selecting an address of the memory cell unit 31. On the other hand,
The write / erase control circuit 23 determines the start of the write operation by the control signal and the previous command, and writes the write data stored in the data register 27 to the memory cell of the memory cell unit 31 selected by the decoder 30. And start the write operation. At this time, the command register 24 sets a flag in the status register 25 to indicate that it is currently busy. When the write operation is completed, the read / write / erase control circuit 23 returns the flag set in the status register 25 via the command register 24 to the original state. The writing operation speed is generally 10
μs. (3) Erasing Operation In the case of erasing data, it is common to treat a plurality of addresses in a specific unit as one block and erase this as one erasing block.

【0005】データの消去の場合、読出し・書込み・消
去制御回路23対してコマンド入力のためのコントロー
ル信号が、またアドレスバッファ28に対して消去する
消去ブロックのブロックアドレスのアドレス信号が、ま
た入出力バッファ26に対して消去のセットアップコマ
ンドが加えられる。一方、読出し・書込み・消去制御回
路23は、コントロール信号によりコマンド入力動作で
あると判断し、コマンドレジスタ24を活性化させる。
In the case of erasing data, a control signal for command input to the read / write / erase control circuit 23, an address signal of a block address of an erase block to be erased to an address buffer 28, and an input / output An erase setup command is added to the buffer 26. On the other hand, the read / write / erase control circuit 23 determines that the operation is a command input operation based on the control signal, and activates the command register 24.

【0006】この時、入出力バッファ26に入力した消
去のセットアップコマンドはこのデータレジスタ27に
貯えられ、コマンドレジスタ24はこのデータレジスタ
27が貯えている消去のセットアップコマンドを受取
り、読出し・書込み・消去制御回路23に消去動作であ
る旨伝達する。
At this time, the erase setup command input to the input / output buffer 26 is stored in the data register 27, and the command register 24 receives the erase setup command stored in the data register 27, and reads, writes, and erases. The erase operation is transmitted to the control circuit 23.

【0007】次に読出し・書込み・消去の制御回路23
に対してコマンド入力のためのコントロール信号が加え
られ、入出力バッファに26対して消去スタートコマン
ドが加えられる。この消去スタートコマンドはデータレ
ジスタ27に貯えられる。また、アドレスバッファ28
に対して消去ブロックアドレスのアドレス信号が再度入
力され、アドレスラッチ29に貯えられ、メモリセル部
31のアドレスを選択するためのデコーダ30に入力す
る。一方、コマンドレジスタ24はデータレジスタ27
に貯えられ消去スタートコマンドを受取って、読出し・
書込み・消去制御回路23に消去動作開始の指示を出
す。これを受けた読出し・書込み・消去制御回路23
は、デコーダ30によって選択されたメモリセル部の消
去ブロックに対し消去動作を開始する。この時コマンド
レジスタ24はステータスレジスタ25に、現在ビジー
状態である旨を示すフラグを立てる。消去動作が終了し
た段階で、読出し・書込み・消去制御回路23はコマン
ドレジスタ24を介して、ステータスレジスタ25に立
てたフラグを元に戻す。この消去の動作速度は一般に数
ns程度である。
Next, a read / write / erase control circuit 23
, A control signal for command input is applied, and an erase start command is applied to the input / output buffer 26. This erase start command is stored in the data register 27. The address buffer 28
, The address signal of the erase block address is input again, stored in the address latch 29, and input to the decoder 30 for selecting the address of the memory cell unit 31. On the other hand, the command register 24 is
Received the erase start command and read it out.
An instruction to start the erase operation is issued to the write / erase control circuit 23. Read / write / erase control circuit 23 receiving this
Starts an erase operation on the erase block of the memory cell section selected by the decoder 30. At this time, the command register 24 sets a flag in the status register 25 to indicate that it is currently busy. When the erase operation is completed, the read / write / erase control circuit 23 returns the flag set in the status register 25 via the command register 24 to the original state. The erasing operation speed is generally about several ns.

【0008】(1)〜(3)で説明したように、従来の
ブロック単位でデータ消去が行われるフラッシュメモリ
部を備える半導体記憶装置では、書込み、消去等の動作
をコマンド入力によって制御しており、フラッシュメモ
リ部に対する動作としては読出し、書込みおよび消去が
あるが、読出し速度は100ns、書込み速度は10μ
s、消去速度は数ns程度と、読出し動作に比して書込
みまたは消去の動作には膨大な時間がかかる。また、一
般に1つの書込みアドレス、消去ブロックアドレスに対
して、読出し、書込みおよび消去の各々の動作は独立し
ており、2つ以上の動作を併行して行うことはできな
い。
As described in (1) to (3), in a conventional semiconductor memory device having a flash memory unit in which data is erased in block units, operations such as writing and erasing are controlled by command input. There are read, write and erase operations for the flash memory unit, but the read speed is 100 ns and the write speed is 10 μm.
The s and erasing speeds are about several ns, and the writing or erasing operation takes an enormous amount of time as compared with the reading operation. In general, each operation of reading, writing, and erasing is independent of one write address and one erase block address, and two or more operations cannot be performed in parallel.

【0009】[0009]

【発明が解決しようとする課題】このように、従来のブ
ロック単位でデータ消去が行われるフラッシュメモリ部
を備える半導体記憶装置では、フラッシュメモリ部に対
していったん書込みまたは消去の動作に入ると書込みま
たは消去の動作が完了するまで書込みまたは消去の当該
アドレスデータの読出し動作が不可能となる。また、読
出し速度は100ns、書込み速度は10μs、消去速
度は数ns程度と、読出し動作に比して書込みまたは消
去の動作には膨大な時間が掛かり、書込みまたは消去の
当該アドレスのデータが判明していながら、書込みまた
は消去動作から書込みまたは消去の当該アドレスデータ
の読出し動作を完了するまでに時間が掛かるという欠点
を有する。
As described above, in a conventional semiconductor memory device having a flash memory unit in which data is erased in units of blocks, once writing or erasing operation is performed on the flash memory unit, writing or erasing is started. Until the erasing operation is completed, the reading operation of the address data for writing or erasing becomes impossible. In addition, the reading speed is 100 ns, the writing speed is 10 μs, and the erasing speed is about several ns. It takes an enormous amount of time for the writing or erasing operation as compared with the reading operation, and the data at the address of the writing or erasing is found. However, there is a disadvantage that it takes time from the writing or erasing operation to the completion of the reading operation of the address data of writing or erasing.

【0010】そこで、本発明の目的は、書込みまたは消
去の動作中に書込みまたは消去の当該アドレスに対する
読出し動作を可能にし、書込みまたは消去の動作中の終
了まで待たずとも書込みまたは消去の当該アドレスに対
する読出しを可能にすることにより、読出し動作の高速
化を図ることである。
SUMMARY OF THE INVENTION It is an object of the present invention to make it possible to perform a read operation on a write or erase address during a write or erase operation, and to perform a write or erase operation on the address without waiting for the end of the write or erase operation. An object of the present invention is to speed up a read operation by enabling a read operation.

【0011】[0011]

【課題を解決するための手段】本発明の半導体記憶装置
は、ブロック単位でデータ消去が行われるフラッシュメ
モリ部を備えた半導体記憶装置において、データ格納部
と、アドレス格納部と、データの書込み動作状態中か否
かおよび消去動作状態中か否かを示すフラグを格納する
書込み・消去状態フラグ部と、から構成される読出しレ
ジスタを含むレジスタ部と、通常時にレジスタ部を制御
して読出し、書込み及び制御を行う読出し・書込み・消
去制御回路と、書込みまたは消去の動作中に当該動作対
象アドレスへの読出しがあった場合に読出しレジスタか
らデータを出力させるレジスタ制御回路と、から構成さ
れる制御回路部と、を備えたことを特徴としている。
According to the present invention, there is provided a semiconductor memory device having a flash memory unit in which data is erased in units of a block, a data storage unit, an address storage unit, and a data write operation. A write / erase state flag section for storing a flag indicating whether the state is in the erase state or in the erase operation state; a register section including a read register formed of a read / write state; And a read / write / erase control circuit for performing control and a register control circuit for outputting data from a read register when a read is performed to the operation target address during a write or erase operation. And a unit.

【0012】なお、本発明の半導体記憶装置のレジスタ
制御回路は、読出し・書込み・消去制御回路をも制御す
る構造を有することが望ましく、また、本装置の読出し
レジスタの格納データの容量は消去ブロックの容量と同
一とすることができるものであることが望ましく、な
お、本装置の読出しレジスタの数が複数備えられたもの
が一層望ましい。
It is preferable that the register control circuit of the semiconductor memory device of the present invention has a structure for controlling the read / write / erase control circuit, and the capacity of the data stored in the read register of the present device is the erase block. It is preferable that the number of read registers of the present device is plural.

【0013】さらに、本発明の半導体記憶装置のデータ
読出し方法は、書込みまたは消去の動作開始時に、レジ
スタ制御回路によって読出しレジスタに書込みまたは消
去の当該アドレスのデータを格納して置き、書込みまた
は消去動作中に書込みまたは消去の当該アドレスへの読
出し動作が行われた場合に、レジスタ制御回路が読み出
しレジスタに格納してある当該データを読出しデータと
して出力することにより、書込みまたは消去の動作完了
前に、書込みまたは消去当該アドレスデータの読出しが
可能であることを特徴としている。
Further, in the data reading method of the semiconductor memory device according to the present invention, at the start of the writing or erasing operation, the register control circuit stores and stores the data of the address of the writing or erasing in the read register to perform the writing or erasing operation. When a read operation to the relevant address of writing or erasing is performed during this time, the register control circuit outputs the data stored in the read register as read data, so that before the completion of the writing or erasing operation, It is characterized in that writing or erasing of the address data is possible.

【0014】また、複数の読み出しレジスタを備えた半
導体記憶装置の読出し方法は、新書込み動作のアドレス
が現書込み動作中のアドレスでなく、かつ同じ消去ブロ
ック内のアドレスでなかった場合、新消去動作の消去ブ
ロックアドレスが現書込み動作中のアドレスを含まなか
った場合、新書込み動作のアドレスが現消去動作中のブ
ロックアドレスに含まれていなかった場合、またはデー
タの現消去動作中に新消去動作があった場合において
も、禁止動作の設定なく、併行して動作を行うことがで
きることを特徴としている。
A method of reading a semiconductor memory device having a plurality of read registers includes a method for reading a new erase operation when the address of the new write operation is not the address of the current write operation and is not the address in the same erase block. If the erase block address does not include the address during the current write operation, if the address of the new write operation is not included in the block address during the current erase operation, or if a new erase operation occurs during the current erase operation of data. In this case, the operation can be performed in parallel without setting the prohibited operation.

【0015】[0015]

【発明の実施の形態】次に、本発明の実施の形態につい
て図面を参照して説明する。
Next, embodiments of the present invention will be described with reference to the drawings.

【0016】図1は、本発明の半導体記憶装置の一実施
形態例のブロック図、図2は、図1の読出しレジスタの
構成図である。
FIG. 1 is a block diagram of an embodiment of a semiconductor memory device according to the present invention, and FIG. 2 is a configuration diagram of a read register of FIG.

【0017】読出し・書込み・消去制御回路1、コマン
ドレジスタ2、ステータスレジスタ3、入出力バッファ
4、データレジスタ5、アドレスバッファ6、アドレス
ラッチ7、デコーダ8、メモリセル部9は従来のフラッ
シュメモリ部を備える半導体記憶装置と同一である。こ
れらに加えて本発明では、レジスタ制御回路10および
読出しレジスタ11を備えている。この読出しレジスタ
11は、図2に示すように、データを格納するデータ格
納部32、そのデータのアドレスを格納するアドレス格
納部33、そのデータが書込み中か否かおよび消去中か
否かを示すフラグを格納する書込み・消去フラグ部34
から構成されている。
The read / write / erase control circuit 1, command register 2, status register 3, input / output buffer 4, data register 5, address buffer 6, address latch 7, decoder 8, and memory cell unit 9 are conventional flash memory units. This is the same as a semiconductor memory device having In addition to these, the present invention includes a register control circuit 10 and a read register 11. As shown in FIG. 2, the read register 11 stores a data storage section 32 for storing data, an address storage section 33 for storing the address of the data, and indicates whether the data is being written or erased. Write / erase flag section 34 for storing flags
It is composed of

【0018】書込みまたは消去動作中に当該書込みまた
は消去動作対象アドレスに対し読出し動作が行われた場
合に、書込みまたは消去動作を開始する時点でレジスタ
制御回路10を用いて、予め書込みアドレスや消去の消
去ブロック内アドレスのデータとアドレスを読出しレジ
スタ11に貯えて置き、読出し動作が起きた時点で読出
しレジスタ11に貯えたデータで、書込みまたは消去中
のアドレスのデータ出力を代替わりするようにレジスタ
制御回路10で制御することにより、書込みまたは消去
動作の終了を待たずに書込みまたは消去動作中のアドレ
スに対する読出し動作を行うことができる。
When a read operation is performed on a write or erase operation target address during a write or erase operation, the register control circuit 10 uses the register control circuit 10 at the time of starting the write or erase operation. A register control circuit stores the data and the address of the address in the erase block in the read register 11, and replaces the data output of the address being written or erased with the data stored in the read register 11 when the read operation occurs. By controlling at 10, it is possible to perform a read operation on an address during a write or erase operation without waiting for the end of the write or erase operation.

【0019】さらに詳細に本実施形態例を説明する。The present embodiment will be described in more detail.

【0020】まず、構成について述べれば、図1におい
て、読出しレジスタ11は、書込みまたは消去動作中に
読出し動作が行われた場合に、予め書込み中のアドレス
や消去中の消去ブロック内アドレスのデータとアドレス
を貯えて置き、書込みまたは消去中のアドレスのデータ
出力を代替わりするためのレジスタである。また、レジ
スタ制御回路10は、データ入出力信号、アドレス信号
およびステータスレジスタを監視し、読出しレジスタ1
1のデータを制御し、読出し・書込・消去制御回路1に
各動作の指示を与える回路である。
First, the configuration will be described. In FIG. 1, when a read operation is performed during a write or erase operation, the read register 11 stores data of an address being written or an address in an erase block being erased in advance. This is a register for storing addresses and replacing data output of addresses being written or erased. Further, the register control circuit 10 monitors the data input / output signal, the address signal, and the status register, and
1 is a circuit that controls the data of 1 and gives an instruction of each operation to the read / write / erase control circuit 1.

【0021】読出しレジスタ11は、図2に示すよう
に、データを格納するデータ格納部32、そのデータの
アドレスを格納するアドレス格納部33、そのデータが
書込み中か否かおよび消去中か否かを示すフラグを格納
する書込み・消去フラグ部から構成されている。このレ
ジスタ11のアドレスの深さnは、消去ブロック単位で
データ消去が行われるフラッシュメモリ部を備える半導
体記憶装置の消去ブロックの深さと同一である構成とな
っている。
As shown in FIG. 2, the read register 11 includes a data storage section 32 for storing data, an address storage section 33 for storing the address of the data, and whether or not the data is being written or erased. And a write / erase flag section for storing a flag indicating the flag. The depth n of the address of the register 11 is the same as the depth of an erase block of a semiconductor memory device having a flash memory unit in which data is erased in erase block units.

【0022】次に、実際の動作について詳細に説明す
る。
Next, the actual operation will be described in detail.

【0023】(1)データの読出し動作を単独で行う場
合、従来例に示したデータの読出し動作と同等の動作を
行う。ただし、この時、レジスタ制御回路10はステー
タスレジスタ3および読出しレジスタ11の書込み・消
去状態フラグ34を参照し、書込みまたは消去動作中で
ないことを確認し、メモリセル部9からデータレジスタ
5へのデータの受渡しを行うだけで、読出しレジスタ1
1のデータ部32は参照しない。
(1) When the data read operation is performed independently, the same operation as the data read operation shown in the conventional example is performed. However, at this time, the register control circuit 10 refers to the status register 3 and the write / erase state flag 34 of the read register 11 to confirm that no write or erase operation is being performed, and to transmit data from the memory cell unit 9 to the data register 5. , The read register 1
1 is not referred to.

【0024】(2)データの書込み動作を単独で行う場
合、 まず、読出し・書込み・消去制御回路1に対してコマン
ド入力のためのコントロール信号が加えられ、そしてア
ドレスバッファ6に対して書込むアドレスのアドレス信
号が加えられ、そして入出力バッファ4に対して書込み
のセットアップコマンドが加えられる。
(2) In the case of independently performing the data write operation, first, a control signal for command input is applied to the read / write / erase control circuit 1 and the address to be written to the address buffer 6. , And a write setup command for the input / output buffer 4 is applied.

【0025】次に、読出し・書込み・消去制御回路1
は、コントロール信号によりコマンド入力動作であると
判断し、コマンドレジスタ2を活性化させる。また、ア
ドレスバッファ6に入力した書込むアドレスのアドレス
信号はデコーダ8に伝えられる。また、入出力バッファ
4に入力した書込みのセットアップコマンドはデータレ
ジスタ5に貯えられる。
Next, the read / write / erase control circuit 1
Determines that the command input operation is performed by the control signal, and activates the command register 2. The address signal of the address to be written input to the address buffer 6 is transmitted to the decoder 8. The write setup command input to the input / output buffer 4 is stored in the data register 5.

【0026】次に、レジスタ制御回路10は、書込み中
の読出し、書込みまたは消去の動作に備えるために、デ
ータレジスタ5に貯えられたデータとアドレスラッチ7
に貯えられた書込みデータのアドレスを参照し、これら
を読出しレジスタ11に貯える。この時、書込みデータ
はその書込みデータを含む消去ブロック内アドレスと同
じ読出しレジスタ11内のアドレスに書込む。
Next, the register control circuit 10 stores the data stored in the data register 5 and the address latch 7 in order to prepare for a read, write or erase operation during writing.
Are referred to, and these are stored in the read register 11. At this time, the write data is written to the same address in the read register 11 as the address in the erase block containing the write data.

【0027】次に、コマンドレジスタ2は、データレジ
スタ5が貯えている書込みのセットアップコマンドを受
取り、読出し・書込み・消去の制御回路1に書込み動作
である旨を伝達する。
Next, the command register 2 receives the write setup command stored in the data register 5 and notifies the read / write / erase control circuit 1 of the write operation.

【0028】次に、読出し・書込み・消去制御回路1に
対してコマンド入力のためのコントロール信号が加えら
れ、入出力バッファ4に対して書込みデータが加えられ
る。この書込みデータはデータレジスタ5に貯えられ
る。また、アドレスバッファ6に対して書込むアドレス
のアドレス信号が再度入力され、アドレスバッファ6に
貯えられ、メモリセル部のアドレスを選択するためのデ
コーダ8に入力する。
Next, a control signal for command input is applied to the read / write / erase control circuit 1, and write data is applied to the input / output buffer 4. This write data is stored in the data register 5. Further, an address signal of an address to be written to the address buffer 6 is input again, stored in the address buffer 6, and input to a decoder 8 for selecting an address of a memory cell portion.

【0029】次に、読出し・書込み・消去制御回路1
は、コントロール信号と前のコマンドにより書込み動作
開始の指示と判断し、デコーダ8によって選択されたメ
モリセル部9のメモリセルに対し、レジスタ制御回路1
0を介してデータレジスタ5が貯えている書込みデータ
を伝え、書込み動作を開始する。この時コマンドレジス
タ2はステータスレジスタ3に、現在ビジー状態である
旨を示すフラグを立て、レジスタ制御回路10は読出し
レジスタ11の書込み・消去状態フラグ34の当該書込
み対象アドレスが格納されている部分に書込み中のフラ
グを立てる。また、この時から書込みが終了するまでの
間、読出し・書込み・消去制御回路1やデコーダ8等の
回路は、書込み動作から開放される。
Next, the read / write / erase control circuit 1
Is determined to be an instruction to start the write operation by the control signal and the previous command, and the register control circuit 1 is applied to the memory cell of the memory cell section 9 selected by the decoder 8.
The write data stored in the data register 5 is transmitted via 0, and the write operation is started. At this time, the command register 2 sets a flag in the status register 3 to indicate that it is currently busy, and the register control circuit 10 sets the write / erase state flag 34 of the read register 11 in the portion where the write target address is stored. Set the writing flag. From this time until the end of the writing, the circuits such as the read / write / erase control circuit 1 and the decoder 8 are released from the writing operation.

【0030】最後に、書込み動作が終了した段階で、読
出し・書込み・消去制御回路1はコマンドレジスタ2を
介して、ステータスレジスタ3に立てた現在ビジー状態
である旨を示すフラグを元に戻す。また、レジスタ制御
回路10は読出しレジスタ11の書込み・消去状態フラ
グ34の当該書込み対象アドレスが格納されている部分
に立てた書込み中のフラグを元に戻す。
Finally, at the stage when the write operation is completed, the read / write / erase control circuit 1 returns the flag, which is set in the status register 3 to indicate the current busy state, via the command register 2 to the original state. Further, the register control circuit 10 restores the writing flag set at the portion where the write target address is stored in the write / erase state flag 34 of the read register 11 to the original state.

【0031】(3)データの消去動作を単独で行う場
合、 まず、読出し・書込み・消去制御回路1に対してコマン
ド入力のためのコントロール信号が、またアドレスバッ
ファ6に対して消去する消去ブロックのブロックアドレ
スのアドレス信号が、また入出力バッファ4に対して消
去のセットアップコマンドが加えられる。
(3) When performing the data erasing operation alone, first, a control signal for inputting a command to the read / write / erase control circuit 1 and a control signal for the erase block to be erased in the address buffer 6 An address signal of a block address and a setup command for erasing are added to the input / output buffer 4.

【0032】次に、読出し・書込み・消去制御回路1
は、コントロール信号によりコマンド入力動作であると
判断し、コマンドレジスタ2を活性化させる。また、入
出力バッファ4に入力した消去のセットアップコマンド
はデータレジスタ5に貯えられる。
Next, the read / write / erase control circuit 1
Determines that the command input operation is performed by the control signal, and activates the command register 2. The erase setup command input to the input / output buffer 4 is stored in the data register 5.

【0033】次に、レジスタ制御回路10は書込み中の
読出し、書込み動作に備えるため、アドレスラッチ7に
貯えられた消去ブロックのアドレスを参照し、消去ブロ
ック内の全アドレスとその各アドレスに対応した消去後
のデータ、すなわち全ピット“1”のデータを読出しレ
ジスタ11に貯える。
Next, in order to prepare for reading and writing operations during writing, the register control circuit 10 refers to the addresses of the erase blocks stored in the address latch 7, and corresponds to all the addresses in the erase blocks and their respective addresses. The erased data, that is, the data of all pits “1” is stored in the read register 11.

【0034】次に、コマンドレジスタ2はデータレジス
タ5が貯えている消去のセットアップコマンドを受取
り、読出し・書込み・消去制御回路1に消去動作である
旨を伝達する。
Next, the command register 2 receives the erase setup command stored in the data register 5 and notifies the read / write / erase control circuit 1 that the operation is an erase operation.

【0035】次に、読出し・書込み・消去制御回路1に
対してコマンド入力のためのコントロール信号が加えら
れ、入出力バッファ4に対して消去スタートコマンドが
加えられる。この消去スタートコマンドはデータレジス
タ5に貯えられる。また、アドレスバッファ6に対して
消去ブロックアドレスのアドレス信号が再度入力され、
アドレスバッファ6に貯えられ、メモリセル部のアドレ
スを選択するためのデコーダ8に入力する。
Next, a control signal for command input is applied to the read / write / erase control circuit 1, and an erase start command is applied to the input / output buffer 4. This erase start command is stored in the data register 5. Further, the address signal of the erase block address is input to the address buffer 6 again,
The data stored in the address buffer 6 is input to a decoder 8 for selecting an address of the memory cell portion.

【0036】次に、コマンドレジスタ2は、データレジ
スタ5に貯えられた消去スタートコマンドを受取り、読
出し・書込み・消去制御回路1は消去動作開始の指示を
出す。これを受けた読出し・書込み・消去制御回路1は
デコーダ8によって選択されたメモリセル部の消去ブロ
ックに対し消去動作を開始する。この時コマンドレジス
タ2はステータスレジスタ3に、現在ビジー状態である
旨を示すフラグを立て、レジスタ制御回路10は読出し
レジスタ11の書込み・消去状態フラグ34の全アドレ
スに消去中のフラグを立てる。また、この時から消去が
終了するまでの間、読出し・書込み・消去制御回路1や
デコーダ8等の回路は、消去動作から開放される。
Next, the command register 2 receives the erase start command stored in the data register 5, and the read / write / erase control circuit 1 issues an instruction to start the erase operation. In response to this, the read / write / erase control circuit 1 starts an erase operation on the erase block of the memory cell section selected by the decoder 8. At this time, the command register 2 sets a flag in the status register 3 to indicate that the current state is busy, and the register control circuit 10 sets an erasing flag in all addresses of the write / erase state flag 34 of the read register 11. From this time until the end of the erasure, the circuits such as the read / write / erase control circuit 1 and the decoder 8 are released from the erasing operation.

【0037】最後に、消去動作が終了した段階で、読出
し・書込み・消去制御回路1はコマンドレジスタ2を介
して、ステータスレジスタ3に立てた現在ビジー状態で
ある旨を示すフラグを元に戻す。また、レジスタ制御回
路10は読出しレジスタ11の書込み・消去状態フラグ
34の全アドレスに立てた消去中のフラグを元に戻す。
Finally, at the stage when the erasing operation is completed, the read / write / erase control circuit 1 restores the flag indicating the current busy state set in the status register 3 via the command register 2 to the original state. Further, the register control circuit 10 restores the erase-in-progress flag set at all addresses of the write / erase state flag 34 of the read register 11 to the original state.

【0038】(4)データの書込み動作中の読出し動作 本願の特徴とするデータの書込み動作中に読出し動作が
あった場合、まず、レジスタ制御回路10は、ステータ
スレジスタ3のレディー、ビジーのフラグと読出しレジ
スタ11のアドレス格納部33および書込み・消去状態
フラグ部34を参照し、読出し動作のアドレスが書込み
動作中のアドレスであるかチェックする。
(4) Read Operation During Data Write Operation When there is a read operation during the data write operation, which is a feature of the present invention, first, the register control circuit 10 sets the ready / busy flag of the status register 3 With reference to the address storage section 33 and the write / erase state flag section 34 of the read register 11, it is checked whether the address of the read operation is the address during the write operation.

【0039】次に、読出し動作のアドレスが書込み動作
中のアドレスでなかった場合、この読出し動作は通常の
読出し動作と同じく、メモリセル部から読出される。こ
の間、併行して書込み動作は継続される。
Next, when the address of the read operation is not the address during the write operation, this read operation is read from the memory cell portion in the same manner as a normal read operation. During this time, the write operation is continued.

【0040】次に、読出し動作のアドレスが書込み動作
中のアドレスだった場合、前述(2)の第3段の動作で
読出しレジスタ11に貯えられた書込み当該アドレスの
データをレジスタ制御回路10が読出し、データレジス
タ5と入出力バッファ4を介して入出力端子に出力され
る。この間、併行して書込み動作は継続される。
Next, when the address of the read operation is the address in the write operation, the register control circuit 10 reads the data of the write address stored in the read register 11 in the operation of the third stage (2). Are output to the input / output terminal via the data register 5 and the input / output buffer 4. During this time, the write operation is continued.

【0041】(5)データの書込み動作中の書込み動作 なお、データの書込み動作中に書込み動作があった場
合、まず、レジスタ制御回路10は、ステータスレジス
タ3のレディー、ビジーのフラグと読出しレジスタ11
のアドレス格納部33および書込み・消去フラグ部を参
照し、書込み動作のアドレスが書込み動作中のアドレス
であるか、また書込み動作のアドレスが書込み動作中の
アドレスでないならば、書込み動作のアドレスが書込み
動作中のアドレスと同じ消去ブロック内のアドレスかチ
ェックする。
(5) Write Operation During Data Write Operation If there is a write operation during the data write operation, first, the register control circuit 10 sets the ready / busy flag of the status register 3 and the read register 11
If the address of the write operation is an address during the write operation and the address of the write operation is not the address during the write operation, the address of the write operation is referred to as the write address. Check whether the address is in the same erase block as the address in operation.

【0042】次に、書込み動作のアドレスが書込み動作
中のアドレスでなく、かつ同じ消去ブロック内のアドレ
スでなかった場合、2つの書込み動作を併行して行うこ
とはできないため、消去動作は無視される。したがっ
て、この動作は予め、禁止動作として置く。
Next, if the address of the write operation is not the address during the write operation and is not the address in the same erase block, the erase operation is ignored because the two write operations cannot be performed simultaneously. You. Therefore, this operation is set in advance as a prohibited operation.

【0043】次に、書込み動作のアドレスが書込み動作
中のアドレスでなく、かつ同じ消去ブロック内のアドレ
スであった場合、レジスタ制御回路10は通常の書込み
動作と同じく前述(2)の第3段の動作を行う。この
時、書込み動作を併行して行うことはできないので、レ
ジスタ制御回路10はステータスレジスタ3を監視し、
前の書込み動作が終了したのを確認した後に、読出し・
書込み・消去制御回路1に、後から読出し、書込みおよ
び消去に貯えたアドレスの書込みの指令を出し、次の書
込み動作に入る。
Next, when the address of the write operation is not the address during the write operation and is the address in the same erase block, the register control circuit 10 performs the same operation as the normal write operation in the third stage of the above (2). The operation is performed. At this time, since the write operation cannot be performed concurrently, the register control circuit 10 monitors the status register 3 and
After confirming that the previous write operation has been completed,
The write / erase control circuit 1 is instructed to write an address stored in read, write and erase later, and the next write operation is started.

【0044】次に、書込み動作のアドレスが書込み動作
中のアドレスだった場合、レジスタ制御回路10は読出
し・書込み・消去制御回路1に書込みの中止を指令し、
(2)の第3段の動作を行う。この時は読出しレジスタ
11の前のデータに新しいデータを上書きすることにな
る。次にレジスタ制御回路10はメモリセル部から書込
みアドレスを含む消去ブロックのデータのうち、書込み
アドレス以外のデータを読出しレジスタ11の対応する
アドレスに複写する。次に、データを複写し終った消去
ブロックに対して、消去動作を行うよう読出し・書込み
・消去制御回路1に指令する。次にステータスレジスタ
3を監視し消去動作が終了したら、読出しレジスタ11
に待避したデータを消去ブロック分だけ1アドレスごと
に書戻すよう読出し・書込み・消去制御回路1に指令し
ていく。
Next, when the address of the write operation is the address during the write operation, the register control circuit 10 instructs the read / write / erase control circuit 1 to stop the writing,
The operation of the third stage of (2) is performed. At this time, new data is overwritten on the previous data in the read register 11. Next, the register control circuit 10 reads the data other than the write address from the data of the erase block including the write address from the memory cell portion and copies the read data to the corresponding address of the register 11. Next, the read / write / erase control circuit 1 is instructed to perform an erase operation on the erase block in which data has been copied. Next, the status register 3 is monitored, and when the erase operation is completed, the read register 11
Then, the read / write / erase control circuit 1 is instructed to rewrite the data saved at the address for each erase block for each address.

【0045】(6)データの書込み動作中の消去動作 まず、データの書込み動作中に消去動作があった場合、
レジスタ制御回路10はステータスレジスタ3と読出し
レジスタ11のアドレス格納部33および書込み・消去
状態フラグ部34を参照し、消去動作の消去ブロックア
ドレスが書込み動作中のアドレスを含むかどうかチェッ
クする。
(6) Erasure Operation During Data Write Operation First, when an erase operation is performed during data write operation,
The register control circuit 10 refers to the address register 33 and the write / erase state flag unit 34 of the status register 3 and the read register 11 to check whether the erase block address of the erase operation includes the address during the write operation.

【0046】次に、消去動作の消去ブロックアドレスが
書込み動作中のアドレスを含まなかった場合、書込み動
作と消去動作を併行して行うことはできないので、消去
動作は無視される。したがって、この動作は予め、禁止
動作として置く。
Next, when the erase block address of the erase operation does not include the address during the write operation, the erase operation is ignored because the write operation and the erase operation cannot be performed simultaneously. Therefore, this operation is set in advance as a prohibited operation.

【0047】次に、消去動作の消去ブロックアドレスが
書込み動作中のアドレスを含んでいた場合、レジスタ制
御回路10は読出し・書込み・消去制御回路1に書込み
の中止を指令し、(3)の第3段の動作を行う。次に消
去ブロックに対して、消去動作を行うよう読出し・書込
み・消去制御回路1に指令する。
Next, when the erase block address of the erase operation includes the address during the write operation, the register control circuit 10 instructs the read / write / erase control circuit 1 to stop the writing, and A three-stage operation is performed. Next, the read / write / erase control circuit 1 is instructed to perform an erase operation on the erase block.

【0048】(7)データの消去動作中の読出し動作 まず、データの消去動作中に読出し動作があった場合、
レジスタ制御回路10はステータスレジスタ3と読出し
レジスタ11のアドレス格納部33および書込み・消去
状態フラグ部34を参照し、読出し動作のアドレスが消
去動作中の消去ブロックアドレスに含まれるかどうかチ
ェックする。
(7) Read Operation During Data Erase Operation First, when there is a read operation during the data erase operation,
The register control circuit 10 refers to the status register 3 and the address storage unit 33 and the write / erase state flag unit 34 of the read register 11 to check whether the address of the read operation is included in the erase block address during the erase operation.

【0049】次に、読出し動作のアドレスが消去動作中
のブロックアドレスに含まれていなかった場合、この読
出し動作は通常の読出し動作と同じく、メモリセル部か
ら読出される。この間、併行して書込み動作は継続され
る。
Next, when the address of the read operation is not included in the block address during the erase operation, this read operation is read from the memory cell portion, similarly to the normal read operation. During this time, the write operation is continued.

【0050】次に、読出し動作のアドレスが消去動作中
のブロックアドレスに含まれていた場合、(3)の第3
段の動作で読出しレジスタ11に貯えられた読出し当該
アドレスのデータ、すなわち全ピット“1”のデータを
レジスタ制御回路10が読出し、データレジスタ5と入
出力バッファ4を介して入出力端子に出力される。この
間、併行して消去動作は継続される。
Next, when the address of the read operation is included in the block address during the erase operation, the third address of (3)
The register control circuit 10 reads the data of the read address stored in the read register 11 by the operation of the stage, ie, the data of all pits “1”, and outputs the data to the input / output terminal via the data register 5 and the input / output buffer 4. You. During this time, the erasing operation is continued.

【0051】(8)データの消去動作中の書込み動作 まず、データの消去動作中に書込み動作があった場合、
レジスタ制御回路10はステータスレジスタ3と読出し
レジスタ11のアドレスデータおよび書込み・消去状態
フラグ部34を参照し、書込み動作のアドレスが消去動
作中のブロックアドレスに含まれているかどうかチェッ
クする。
(8) Write Operation During Data Erase Operation First, when there is a write operation during data erase operation,
The register control circuit 10 refers to the status register 3 and the address data of the read register 11 and the write / erase state flag section 34 to check whether the address of the write operation is included in the block address during the erase operation.

【0052】次に、書込み動作のアドレスが消去動作中
のブロックアドレスに含まれていなかった場合、消去動
作と書込み動作を併行して行うことができないので、書
込み動作は無視される。したがって、この動作は予め、
禁止動作として置く。
Next, if the address of the writing operation is not included in the block address during the erasing operation, the erasing operation and the writing operation cannot be performed simultaneously, so that the writing operation is ignored. Therefore, this operation is
Put as prohibited operation.

【0053】次に、書込み動作のアドレスが消去動作中
のブロックアドレスに含まれていた場合、レジスタ制御
回路10は通常の書込み動作と同じく(3)の第3段の
動作を行う。この時、消去動作と書込み動作を併行して
行うことはできないので、レジスタ制御回路10はステ
ータスレジスタ3を監視し、前の消去動作が終了したの
を確認した後に、読出し・書込み・消去制御回路1に、
後から読出し、書込みおよび消去のに貯えたアドレスの
書込み指令を出し、次の書込み動作に入る。
Next, when the address of the write operation is included in the block address during the erase operation, the register control circuit 10 performs the third stage operation (3) as in the normal write operation. At this time, since the erasing operation and the writing operation cannot be performed simultaneously, the register control circuit 10 monitors the status register 3 and confirms that the previous erasing operation has been completed. 1,
Thereafter, a write command for an address stored for reading, writing and erasing is issued, and the next writing operation is started.

【0054】(9)データの消去動作中の消去動作 データの消去動作中に消去動作があった場合、2つの消
去動作を併行して行うことはできないので、後から入っ
た消去動作は無視される。したがって、この動作は予
め、禁止動作として置く。
(9) Erasing operation during data erasing operation If an erasing operation is performed during the data erasing operation, the two erasing operations cannot be performed simultaneously, so that the erasing operation entered later is ignored. You. Therefore, this operation is set in advance as a prohibited operation.

【0055】本実施形態例では(4)と(7)に示した
ように、書込みまたは消去動作中に、書込みまたは消去
動作中のアドレスに対し読出し動作が行われた場合に、
予め書込み中のアドレスや消去中の消去ブロック内アド
レスのデータとアドレスを読出しレジスタ11に貯えて
置き、書込みまたは消去中のアドレスのデータ出力を代
替わりするため、書込みまたは消去動作の終了を待たず
に書込みまたは消去動作中のアドレスに対する読出し動
作を行うことができる。
In this embodiment, as shown in (4) and (7), when a read operation is performed on an address being written or erased during a write or erase operation,
The data and the address of the address being written or the address in the erase block being erased are stored in the read register 11 in order to replace the data output of the address being written or erased without waiting for the end of the write or erase operation. A read operation can be performed on an address during a write or erase operation.

【0056】なお、この実施形態例では(1)、(2)
および(3)で示したように読出し、書込みおよび消去
の単一の各動作については従来のフラッシュメモリ部を
備える半導体記憶装置と同等の動作を行う。また、
(5)、(6)、(8)および(9)で示したように、
書込み動作中の書込み動作、書込み動作中の消去動作、
消去動作中の書込み動作、消去動作中の消去動作につい
ても、それぞれ効率よく処理できるような構成、処理手
順となっている。
In this embodiment, (1) and (2)
As shown in (3) and (3), the single operation of reading, writing and erasing is performed in the same manner as in a semiconductor memory device having a conventional flash memory unit. Also,
As shown in (5), (6), (8) and (9),
Write operation during write operation, erase operation during write operation,
The writing operation during the erasing operation and the erasing operation during the erasing operation are also configured and processed so that they can be efficiently processed.

【0057】次に本発明の第2の実施形態例を説明す
る。
Next, a second embodiment of the present invention will be described.

【0058】図3は、本発明の第2の実施形態例のブロ
ック図である。
FIG. 3 is a block diagram of a second embodiment of the present invention.

【0059】図3において、レジスタ制御回路21およ
び読出しレジスタを持つという構成は第1の実施形態例
と同じであるが、本実施形態例では読出しレジスタ群2
2として読出しレジスタを複数備えている。各レジスタ
の構成は第1の実施形態例の読出しレジスタと同一であ
る。また、動作的には、第1の実施形態例とは、(5)
の第2段、(6)の第2段、(8)の第2段および
(9)を除いて同じである。
In FIG. 3, the configuration having a register control circuit 21 and a read register is the same as that of the first embodiment.
2, a plurality of read registers are provided. The configuration of each register is the same as that of the read register of the first embodiment. Operationally, the first embodiment is described in (5)
Are the same except for the second stage of (6), the second stage of (6), the second stage of (8) and (9).

【0060】本実施形態例では、読出しレジスタを複数
備えて、読出しレジスタ群22としているので、前の動
作で使用している読出しレジスタを避け、使用していな
い読出しレジスタに次の動作のデータを入れて置き、前
の動作が終了した段階で次の動作を開始するようにレジ
スタ制御回路21が制御することにより、読出しレジス
タの個数分だけ、複数のコマンドを連続して実行でき、
第1の実施形態例では禁止動作であった(5)の第2
段、(6)の第2段、(8)の第2段および(9)の動
作を禁止しないので済むという利点を有する。
In the present embodiment, since a plurality of read registers are provided to form the read register group 22, the read registers used in the previous operation are avoided, and the data of the next operation is stored in the unused read registers. The register control circuit 21 controls such that the next operation is started when the previous operation is completed, so that a plurality of commands can be continuously executed by the number of read registers,
The second operation of (5), which was a prohibited operation in the first embodiment.
There is an advantage that the operation of the second stage of (6), the second stage of (8) and (9) is not prohibited.

【0061】[0061]

【発明の効果】書込みまたは消去の動作開始時に、レジ
スタ制御回路によってレジスタ部に書込みまたは消去の
当該アドレスのデータを格納して置き、書込みまたは消
去動作中に書込みまたは消去の当該アドレスへの読出し
動作が行われた場合に、レジスタ制御回路がレジスタ部
に格納した当該データを読出しデータとして出力するこ
とにより、書込みまたは消去の動作完了を待たずに、書
込みまたは消去の当該アドレスのデータの読出し動作が
可能となる。
At the start of the write or erase operation, the register control circuit stores and stores the data of the address of the write or erase in the register section, and the read operation of the write or erase to the address during the write or erase operation. Is performed, the register control circuit outputs the data stored in the register section as read data, so that the data read operation of the write or erase address can be performed without waiting for the completion of the write or erase operation. It becomes possible.

【0062】これにより、書込み動作中に当該書込み動
作対象アドレスへの読出し動作が起こった場合、従来1
0μs+100ns程度かかったものが、本発明では数
百ns程度で済ますことができるという効果がある。ま
た、消去動作中に消去動作当該ブロック内のアドレスへ
の読出し動作が起こった場合、従来数s+100ns程
度かかったものが、本発明では数百ns程度で済ますこ
とができるという効果がある。
Thus, when a read operation to the write operation target address occurs during the write operation, the conventional 1
The present invention has an effect that what takes about 0 μs + 100 ns can be completed in about several hundred ns in the present invention. Further, in the case where a read operation to an address in the block concerned in the erase operation occurs during the erase operation, the present invention takes about several s + 100 ns, but in the present invention, there is an effect that it can be done in several hundred ns.

【図面の簡単な説明】[Brief description of the drawings]

【図1】本発明の半導体記憶装置の一実施形態例のブロ
ック図である。
FIG. 1 is a block diagram of an embodiment of a semiconductor memory device according to the present invention.

【図2】図1の読出しレジスタの構成図である。FIG. 2 is a configuration diagram of a read register of FIG. 1;

【図3】本発明の第2の実施形態例のブロック図であ
る。
FIG. 3 is a block diagram of a second embodiment of the present invention.

【図4】従来例を示すブロック図である。FIG. 4 is a block diagram showing a conventional example.

【符号の説明】[Explanation of symbols]

1,12,23 読出し・書込み・消去制御回路 2,13,24 コマンドレジスタ 3,14,25 ステータスレジスタ 4,15,26 入出力バッファ 5,16,27 データレジスタ 6,17,28 アドレスブッハァ 7,18,29 アドレスラッチ 8,19,30 デコーダ 9,20,31 メモリセル部 10,21 レジスタ制御回路 11 読出しレジスタ 22 読出しレジスタ群 32 データ格納部 33 アドレス格納部 34 書込み・消去状態フラグ部 1, 12, 23 Read / write / erase control circuit 2, 13, 24 Command register 3, 14, 25 Status register 4, 15, 26 Input / output buffer 5, 16, 27 Data register 6, 17, 28 Address buffer 7 , 18, 29 Address latch 8, 19, 30 Decoder 9, 20, 31 Memory cell unit 10, 21 Register control circuit 11 Read register 22 Read register group 32 Data storage unit 33 Address storage unit 34 Write / erase state flag unit

Claims (7)

【特許請求の範囲】[Claims] 【請求項1】 ブロック単位でデータ消去が行われるフ
ラッシュメモリ部を備えた半導体記憶装置において、 データ格納部と、アドレス格納部と、データの書込み動
作状態中か否かおよび消去動作状態中か否かを示すフラ
グを格納する書込み・消去状態フラグ部と、から構成さ
れる読出しレジスタを含むレジスタ部と、 通常時に前記レジスタ部を制御して読出し、書込み及び
制御を行う読出し・書込み・消去制御回路と、書込みま
たは消去の動作中に当該動作対象アドレスへの読出しが
あった場合に前記読出しレジスタからデータを出力させ
るレジスタ制御回路と、から構成される制御回路部と、 を備えたことを特徴とする半導体記憶装置。
In a semiconductor memory device having a flash memory unit in which data is erased in block units, a data storage unit, an address storage unit, and whether or not a data writing operation is being performed and whether an erasing operation is being performed are performed. A write / erase state flag section for storing a flag indicating whether the register section includes a read register; and a read / write / erase control circuit for controlling the register section for reading, writing, and controlling at normal times. A register control circuit configured to output data from the read register when data is read from the operation target address during a write or erase operation. Semiconductor storage device.
【請求項2】 レジスタ制御回路は、前記読出し・書込
み・消去制御回路をも制御する構造を有する、請求項1
記載の半導体記憶装置。
2. The register control circuit according to claim 1, wherein said register control circuit also controls said read / write / erase control circuit.
13. The semiconductor memory device according to claim 1.
【請求項3】 読出しレジスタの格納データの容量は消
去ブロックの容量と同一とすることができる、請求項2
記載の半導体記憶装置。
3. The capacity of data stored in a read register can be equal to the capacity of an erase block.
13. The semiconductor memory device according to claim 1.
【請求項4】 読出しレジスタの数が、複数備えられ
た、請求項2記載の半導体記憶装置。
4. The semiconductor memory device according to claim 2, wherein a plurality of read registers are provided.
【請求項5】 読出しレジスタの数が、複数備えられ
た、請求項3記載の半導体記憶装置。
5. The semiconductor memory device according to claim 3, wherein a plurality of read registers are provided.
【請求項6】 半導体記憶装置のデータ読出し方法にお
いて、 書込みまたは消去の動作開始時に、レジスタ制御回路に
よって読出しレジスタに書込みまたは消去の当該アドレ
スのデータを格納して置き、書込みまたは消去動作中に
書込みまたは消去の当該アドレスへの読出し動作が行わ
れた場合に、レジスタ制御回路が読み出しレジスタに格
納してある当該データを読出しデータとして出力するこ
とにより、書込みまたは消去の動作完了前に、書込みま
たは消去当該アドレスデータの読出しが可能であること
を特徴とするデータ読み出し方法。
6. A data read method for a semiconductor memory device, wherein at the start of a write or erase operation, a register control circuit stores and stores data of the write or erase address in a read register, and writes during a write or erase operation. Alternatively, when a read operation is performed on the relevant address for erasure, the register control circuit outputs the data stored in the read register as read data, so that the write or erase operation is performed before the completion of the write or erase operation. A data reading method, wherein the address data can be read.
【請求項7】 複数の読み出しレジスタを備えた半導体
記憶装置の読出し方法において、 新書込み動作のアドレスが現書込み動作中のアドレスで
なく、かつ同じ消去ブロック内のアドレスでなかった場
合、新消去動作の消去ブロックアドレスが現書込み動作
中のアドレスを含まなかった場合、新書込み動作のアド
レスが現消去動作中のブロックアドレスに含まれていな
かった場合、またはデータの現消去動作中に新消去動作
があった場合においても、禁止動作の設定なく、併行し
て動作を行うことができることを特徴とするデータ読出
し方法。
7. A read method for a semiconductor memory device having a plurality of read registers, wherein a new erase operation is performed when an address of a new write operation is not an address in a current write operation and is not an address in the same erase block. If the erase block address does not include the address during the current write operation, if the address of the new write operation is not included in the block address during the current erase operation, or if a new erase operation occurs during the current erase operation of data. A data reading method characterized in that even if there is a case, the operation can be performed in parallel without setting a prohibited operation.
JP23258097A 1997-08-28 1997-08-28 Semiconductor memory device and data reading method in its device Pending JPH1173784A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP23258097A JPH1173784A (en) 1997-08-28 1997-08-28 Semiconductor memory device and data reading method in its device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP23258097A JPH1173784A (en) 1997-08-28 1997-08-28 Semiconductor memory device and data reading method in its device

Publications (1)

Publication Number Publication Date
JPH1173784A true JPH1173784A (en) 1999-03-16

Family

ID=16941588

Family Applications (1)

Application Number Title Priority Date Filing Date
JP23258097A Pending JPH1173784A (en) 1997-08-28 1997-08-28 Semiconductor memory device and data reading method in its device

Country Status (1)

Country Link
JP (1) JPH1173784A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7564720B2 (en) 2006-07-18 2009-07-21 Spansion Llc Nonvolatile storage and erase control
JP2010267341A (en) * 2009-05-15 2010-11-25 Renesas Electronics Corp Semiconductor device
US11262943B2 (en) 2019-01-29 2022-03-01 Kioxia Corporation Memory system and method for controlling nonvolatile memory with a host memory buffer

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7564720B2 (en) 2006-07-18 2009-07-21 Spansion Llc Nonvolatile storage and erase control
JP2010267341A (en) * 2009-05-15 2010-11-25 Renesas Electronics Corp Semiconductor device
US11262943B2 (en) 2019-01-29 2022-03-01 Kioxia Corporation Memory system and method for controlling nonvolatile memory with a host memory buffer
US11656800B2 (en) 2019-01-29 2023-05-23 Kioxia Corporation Memory system and method for controlling nonvolatile memory with a host memory buffer

Similar Documents

Publication Publication Date Title
KR100292543B1 (en) Nonvolatile Memory Device
US6154808A (en) Method and apparatus for controlling data erase operations of a non-volatile memory device
JP3822081B2 (en) Data writing apparatus, data writing control method, and program
US6944060B2 (en) Non-volatile storage device and control method thereof
KR100754226B1 (en) Method for programming a non-volatile data storage and apparatus thereof
JP5175703B2 (en) Memory device
JPH064399A (en) Semiconductor memory device
JP4034971B2 (en) Memory controller and memory system device
JP3875139B2 (en) Nonvolatile semiconductor memory device, data write control method thereof, and program
JP2011018222A (en) Device and method for interleave control and memory system
JPH1173784A (en) Semiconductor memory device and data reading method in its device
KR100621637B1 (en) Flash memory device capable of reducing program time and program method thereof
JP4594944B2 (en) Memory control device
CN109147847B (en) Semiconductor device and flash memory control method
JP2003256266A (en) Memory device
JPH07160569A (en) Memory controller
JP2000148583A (en) Semiconductor storage device
JP2000276461A (en) Microcomputer
JPH11203885A (en) Storage device
JP4158934B2 (en) Semiconductor storage medium
JPH11242889A (en) Non-volatile semiconductor storage device and its erasing method
JP2008021335A (en) Nonvolatile storage device, writing method of nonvolatile storage memory and controller
JP2000276347A (en) Portable electronic apparatus
JP4102661B2 (en) Nonvolatile semiconductor memory device
JP2000276880A (en) Write-in circuit for non-volatile memory