JPH07312096A - Nonvolatile memory - Google Patents

Nonvolatile memory

Info

Publication number
JPH07312096A
JPH07312096A JP10352394A JP10352394A JPH07312096A JP H07312096 A JPH07312096 A JP H07312096A JP 10352394 A JP10352394 A JP 10352394A JP 10352394 A JP10352394 A JP 10352394A JP H07312096 A JPH07312096 A JP H07312096A
Authority
JP
Japan
Prior art keywords
memory
block
address data
data
address
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP10352394A
Other languages
Japanese (ja)
Inventor
Satoshi Murakami
聡 村上
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.)
Fujifilm Holdings Corp
Fujifilm Microdevices Co Ltd
Original Assignee
Fujifilm Microdevices Co Ltd
Fuji Photo Film Co 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 Fujifilm Microdevices Co Ltd, Fuji Photo Film Co Ltd filed Critical Fujifilm Microdevices Co Ltd
Priority to JP10352394A priority Critical patent/JPH07312096A/en
Publication of JPH07312096A publication Critical patent/JPH07312096A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To enable defective memory to be equivalent in its use to nondefective memory by allocating a defective memory block in the user memory region to the memory block in the spare memory region using a substitution table. CONSTITUTION:The substitution table 1 previously stores substitution address data or nonsubstitution address data in accordance with each memory block in the user memory region 4. It outputs substitution address data or nonsubstitution address data in accordance with input address data A8 to A15. When the substitution table 1 outputs nonsubstitution address data, a selector 2 outputs input address data A8 to A15, and when the substitution table 1 outputs substituion address data, the selector 2 outputs substitution address data. Consequently the nonvolatile memory 6 conducts data access to the memory block directed by the address data which the selector 2 outputs.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、不揮発性メモリに関す
る。
FIELD OF THE INVENTION The present invention relates to a non-volatile memory.

【0002】[0002]

【従来の技術】フラッシュメモリ(EEPROM)は、
メモリセルの高密度化に伴い、大容量のメモリ容量を持
つものが提供されている。しかし、メモリチップの歩留
りは未だ低く、製造時において部分的に欠陥メモリセル
が生成されることが多々ある。メモリチップメーカは、
多少の欠陥メモリセルが含まれている場合であっても、
メモリチップをユーザに供給しているのが現状である。
2. Description of the Related Art Flash memory (EEPROM) is
As the density of memory cells has increased, a memory cell having a large memory capacity has been provided. However, the yield of memory chips is still low, and defective memory cells are often partially generated during manufacturing. Memory chip makers
Even if it contains some defective memory cells,
The current situation is to supply memory chips to users.

【0003】[0003]

【発明が解決しようとする課題】メモリチップ内の欠陥
メモリセルは使用することができないので、欠陥メモリ
セルの物理アドレス指定を回避する必要がある。
Since the defective memory cells in the memory chip cannot be used, it is necessary to avoid the physical addressing of the defective memory cells.

【0004】本発明の目的は、欠陥メモリセルを有する
不揮発性メモリを無欠陥の不揮発性メモリと同等なもの
として使用することができる不揮発性メモリを提供する
ことである。
It is an object of the present invention to provide a non-volatile memory which can use a non-volatile memory having defective memory cells as an equivalent to a non-defective non-volatile memory.

【0005】[0005]

【課題を解決するための手段】本発明の不揮発性メモリ
は、外部から供給される入力アドレスデータ(A8〜A
15)に応じてデータのアクセスを行う不揮発性メモリ
であって、データを記憶することができる複数のメモリ
ブロックを有するユーザメモリ領域と該ユーザメモリ領
域内のメモリブロックに代替えて使用するための予備の
メモリブロックを有する予備メモリ領域を有するメモリ
ブロックアレイと、入力アドレスデータに応じて、ユー
ザメモリ領域内のメモリブロックに対して代替えを行う
予備メモリ領域内のメモリブロックを示す代替アドレス
データ、または該メモリブロックの代替えを行わないこ
とを示す不代替アドレスデータのいずれかの代替データ
を出力する代替テーブル(1)と、代替テーブルが出力
する代替データが不代替アドレスデータのときには入力
アドレスデータを出力し、代替データが代替アドレスデ
ータのときには代替アドレスデータを出力するセレクタ
とを有し、セレクタが出力するアドレスデータに応じて
メモリブロックアレイへのアクセスを行う。
The nonvolatile memory of the present invention is provided with input address data (A8 to A8) supplied from the outside.
15) A non-volatile memory for accessing data according to 15), a user memory area having a plurality of memory blocks capable of storing data, and a spare to be used in place of the memory block in the user memory area. A memory block array having a spare memory area having a memory block, and alternative address data indicating a memory block in the spare memory area for replacing the memory block in the user memory area according to the input address data, or A substitute table (1) that outputs one of the substitute data of the non-replacement address data indicating that the replacement of the memory block is not performed, and outputs the input address data when the substitute data output by the substitute table is the non-replacement address data. , If the alternative data is alternative address data, And a selector for outputting the address data, and accesses the memory block array in accordance with the address data selector outputs.

【0006】[0006]

【作用】代替テーブルには、ユーザメモリ領域の各メモ
リブロックに対応して、代替アドレスデータまたは不代
替アドレスデータが予め格納されている。例えば、対応
するユーザメモリ領域のメモリブロックに欠陥があると
きには、そのメモリブロックに代えて使用するための予
備メモリ領域のメモリブロックを示すアドレスデータを
代替アドレスデータとして代替テーブルに登録し、対応
するユーザメモリ領域のメモリブロックが正常であると
きには、メモリブロックの代替えを行わずにそのメモリ
ブロックを使用することを示す不代替アドレスデータを
代替テーブルに登録する。
In the alternative table, alternative address data or non-alternative address data is stored in advance for each memory block in the user memory area. For example, when the memory block of the corresponding user memory area is defective, the address data indicating the memory block of the spare memory area to be used in place of the memory block is registered in the alternative table as alternative address data, and the corresponding user is registered. When the memory block in the memory area is normal, non-replacement address data indicating that the memory block is used without replacement is registered in the replacement table.

【0007】代替テーブルは、外部から供給される入力
アドレスデータに応じて、代替アドレスデータまたは不
代替アドレスデータを出力する。セレクタは、代替テー
ブルが不代替アドレスデータを出力するときには入力ア
ドレスデータを出力し、代替テーブルが代替アドレスデ
ータを出力するときにはその代替アドレスデータを出力
する。不揮発性メモリは、セレクタから出力されるアド
レスデータが指示するメモリブロックに対してデータの
アクセスが行われる。
The substitute table outputs substitute address data or non-replacement address data according to input address data supplied from the outside. The selector outputs the input address data when the alternative table outputs the non-alternative address data, and outputs the alternative address data when the alternative table outputs the alternative address data. In the nonvolatile memory, data access is performed to the memory block designated by the address data output from the selector.

【0008】[0008]

【実施例】図1は、本発明の実施例によるフラッシュメ
モリチップの構成を示すブロック図である。
1 is a block diagram showing the structure of a flash memory chip according to an embodiment of the present invention.

【0009】フラッシュメモリ6はEEPROMであ
り、ユーザエリア4と予備エリア5のメモリ領域を有す
る。ユーザエリア4は、ユーザが通常使用することがで
きるメモリ領域である。予備エリア5は、ユーザエリア
4内に欠陥メモリセルが存在するときに、その欠陥メモ
リセルを含むメモリブロックに代替えて使用するための
メモリ領域である。
The flash memory 6 is an EEPROM and has memory areas of a user area 4 and a spare area 5. The user area 4 is a memory area that a user can normally use. The spare area 5 is a memory area for use when a defective memory cell exists in the user area 4 instead of the memory block including the defective memory cell.

【0010】ユーザエリア4と予備エリア5は、共に複
数のメモリブロック領域を有する。各メモリブロック
は、例えば256バイトのメモリ領域を有する。ユーザ
エリア4と予備エリア5を含むフラッシュメモリ6は、
アドレス信号A0〜A7とY8〜Y15により物理アド
レスが指定される。
Both the user area 4 and the spare area 5 have a plurality of memory block areas. Each memory block has a memory area of 256 bytes, for example. The flash memory 6 including the user area 4 and the spare area 5 is
A physical address is designated by the address signals A0 to A7 and Y8 to Y15.

【0011】アドレス信号Y8〜Y15は、フラッシュ
メモリ6内の複数のメモリブロックの内の1つを指定す
るためのアドレス信号であり、アドレス信号A0〜A7
は、メモリブロック内のメモリセルを指定するためのア
ドレス信号である。
Address signals Y8 to Y15 are address signals for designating one of a plurality of memory blocks in flash memory 6, and address signals A0 to A7.
Is an address signal for designating a memory cell in a memory block.

【0012】ユーザエリア4内に欠陥メモリセルを含む
メモリブロックがあるときには、そのメモリブロックの
代わりに予備エリア5内のメモリブロックを使用する。
つまり、メモリブロック単位でメモリの代替えを行う。
When there is a memory block containing a defective memory cell in the user area 4, the memory block in the spare area 5 is used instead of the memory block.
That is, the memory is replaced in memory block units.

【0013】ユーザエリア4内の欠陥メモリセルは、フ
ラッシュメモリチップ製造時に行う検査により発見され
る。発見された欠陥メモリセルの情報は、代替テーブル
1に登録される。代替テーブル1は、例えばバイト書換
え可能なEEPROMにより構成される。
The defective memory cell in the user area 4 is found by an inspection performed at the time of manufacturing the flash memory chip. Information on the found defective memory cell is registered in the substitution table 1. The substitution table 1 is composed of, for example, a byte-rewritable EEPROM.

【0014】図2(A)は、図1に示すフラッシュメモ
リ6の構成例を示す概略図である。フラッシュメモリ6
は、ユーザエリア4と予備エリア5を有する。ユーザエ
リア4は、例えばメモリブロック21,22,23,・
・・を有し、予備エリア5は、メモリブロック31,・
・・を有する。
FIG. 2A is a schematic diagram showing a configuration example of the flash memory 6 shown in FIG. Flash memory 6
Has a user area 4 and a spare area 5. The user area 4 includes, for example, memory blocks 21, 22, 23, ...
.. and the spare area 5 has the memory block 31 ,.
・ Has

【0015】ユーザエリア4内のメモリブロック21
は、アドレス0000hが先頭の物理アドレスである。
ここで、アドレスの末尾のhは16進数表現を意味す
る。また、メモリブロック22は、アドレス0100h
より開始し、メモリブロック23は、アドレス0200
hより開始する。
Memory block 21 in the user area 4
Is an initial physical address at address 0000h.
Here, h at the end of the address means hexadecimal notation. The memory block 22 has an address of 0100h.
Starting from the memory block 23, the address 0200
Start from h.

【0016】これらのアドレスは16ビットの物理アド
レスであり、上位8ビットがアドレス信号Y8〜Y15
により指定され、下位8ビットがアドレス信号A0〜A
7により指定される。
These addresses are 16-bit physical addresses, and the upper 8 bits are address signals Y8 to Y15.
The lower 8 bits are specified by the address signals A0 to A
Specified by 7.

【0017】したがって、アドレス信号Y8〜Y15が
示すメモリブロックアドレスは、メモリブロック21に
おいては00hを示し、メモリブロック22では01h
を示し、メモリブロック23では02hを示す。
Therefore, the memory block address indicated by the address signals Y8 to Y15 indicates 00h in the memory block 21 and 01h in the memory block 22.
, And the memory block 23 shows 02h.

【0018】予備エリア5の先頭メモリブロック31
は、例えばアドレスF000hから始まり、その後上位
方向に向かってメモリブロックが複数並ぶ。フラッシュ
メモリ6の検査を行った結果、ユーザエリア4内のメモ
リブロック21,22は、欠陥メモリセルを含まず正常
であり、メモリブロック23は欠陥メモリセルを含む不
良であると判断されたとする。そして、予備エリア5内
のメモリセル31は、正常であるとする。
First memory block 31 of spare area 5
Starts from address F000h, and then a plurality of memory blocks are arranged in the upper direction. As a result of the inspection of the flash memory 6, it is assumed that the memory blocks 21 and 22 in the user area 4 are normal without any defective memory cells, and the memory block 23 is determined to be defective including the defective memory cells. The memory cell 31 in the spare area 5 is assumed to be normal.

【0019】以上の検査結果を基にして生成される代替
テーブル1の中身を次に示す。図2(B)は、代替テー
ブル1に格納される代替ブロックアドレスを示す概略図
である。
The contents of the substitute table 1 generated based on the above inspection results are shown below. FIG. 2B is a schematic diagram showing alternative block addresses stored in the alternative table 1.

【0020】代替テーブル1には、フラッシュメモリ6
のユーザエリア4内の各メモリブロックに対応した代替
ブロックアドレスが格納される。代替テーブル1に格納
される代替ブロックアドレスは、ユーザエリア4内のメ
モリブロックが正常であれば代替えを行う必要がないの
で、FFh(オール1)とし、メモリブロックが不良で
あれば予備エリア5内のメモリブロックのブロックアド
レスとする。
The alternative table 1 includes a flash memory 6
The substitute block address corresponding to each memory block in the user area 4 is stored. The alternative block address stored in the alternative table 1 is FFh (all 1) because replacement is not required if the memory block in the user area 4 is normal, and is set in the spare area 5 if the memory block is defective. The block address of the memory block.

【0021】代替テーブル1の先頭に位置する代替ブロ
ックアドレス欄41には、図2(A)のメモリブロック
21に対応する代替ブロックアドレスが格納される。対
応するメモリブロック21は正常であるので、代替ブロ
ックアドレス欄41にはFFhが格納される。同様に図
2(A)のメモリブロック22も正常であるので、代替
ブロックアドレス欄42には、FFhが格納される。
The alternative block address column 41 located at the head of the alternative table 1 stores an alternative block address corresponding to the memory block 21 of FIG. Since the corresponding memory block 21 is normal, FFh is stored in the alternative block address column 41. Similarly, since the memory block 22 in FIG. 2A is also normal, FFh is stored in the alternative block address column 42.

【0022】一方、図2(A)のメモリブロック23は
不良であるので、代替ブロックアドレス欄43には、予
備エリア5内のメモリブロック31のブロックアドレス
であるF0hが格納される。
On the other hand, since the memory block 23 in FIG. 2A is defective, the substitute block address column 43 stores the block address F0h of the memory block 31 in the spare area 5.

【0023】これにより、図2(A)において、物理ア
ドレス0000h,0100h指定されたときには、そ
れぞれメモリブロック21,22が使用され、物理アド
レス0200hが指定されたときには、メモリブロック
23の代わりにメモリブロック31が使用される。
Thus, in FIG. 2A, when the physical addresses 0000h and 0100h are designated, the memory blocks 21 and 22 are used, respectively, and when the physical address 0200h is designated, the memory block 23 is replaced by the memory block 23. 31 is used.

【0024】次に代替テーブル1の生成手順を示す。ま
ず、代替テーブル1の全ての領域を消去する。消去が行
われると、代替テーブル1の全領域はオール1(FF
h)になる。次に、フラッシュメモリ6の検査により発
見された欠陥メモリセルを含むメモリブロックに対応す
るテーブル欄のみに予備エリア5内のブロックアドレス
を書き込む。
Next, the procedure for generating the substitution table 1 will be described. First, the entire area of the substitution table 1 is erased. When erasing is performed, all areas of the substitution table 1 are all 1 (FF
h). Next, the block address in the spare area 5 is written only in the table column corresponding to the memory block including the defective memory cell found by the inspection of the flash memory 6.

【0025】このテーブルへの書き込みは、予備エリア
5内の最下位ブロック(例えば、ブロックアドレス=F
0h)から順番に代替メモリブロックを割り当てて、そ
のブロックアドレスを登録することにより行う。なお、
メモリブロックの割り当て順は、最下位ブロックから順
番である必要はなく、それ以外の順番でもよい。
Writing to this table is performed by writing the lowest block (for example, block address = F) in the spare area 5.
This is performed by sequentially allocating the alternative memory blocks from 0h) and registering the block address. In addition,
The allocation order of the memory blocks does not have to be from the lowest block, and may be in any other order.

【0026】代替テーブル1には、代替えが行われるメ
モリブロックについては、予備エリア5内のブロックア
ドレスが書き込まれ、代替えが行われない正常なメモリ
ブロックについては、書き込みが行われずFFhのまま
である。
In the substitution table 1, the block address in the spare area 5 is written in the memory block to be replaced, and the normal memory block in which the substitution is not executed is not written and remains in FFh. .

【0027】次に、代替テーブル1を用いてフラッシュ
メモリ6のアドレス指定を行う手順を示す。図1におい
て、フラッシュメモリチップの外部からアドレス信号A
0〜A15が供給される。アドレス信号A0〜A15
は、論理アドレスであり、上位8ビットのブロックアド
レス信号A8〜A15とブロック内アドレス信号A0〜
A7から構成される。
Next, the procedure for addressing the flash memory 6 using the substitution table 1 will be described. In FIG. 1, an address signal A is input from the outside of the flash memory chip.
0 to A15 are supplied. Address signals A0 to A15
Is a logical address, and the upper 8-bit block address signals A8-A15 and the intra-block address signals A0-
It is composed of A7.

【0028】代替テーブル1は、入力のブロックアドレ
ス信号A8〜A15を受けて、テーブル内に格納されて
いる代替ブロックアドレス信号B8〜B15を出力す
る。例えば、アドレス信号A8〜A15=00hが入力
されればアドレス信号B8〜B15=FFhが出力さ
れ、アドレス信号A8〜A15=01hが入力されれば
アドレス信号B8〜B15=FFhが出力され、アドレ
ス信号A8〜A15=02hが入力されればアドレス信
号B8〜B15=F0hが出力される。
The substitution table 1 receives the input block address signals A8 to A15 and outputs the substitution block address signals B8 to B15 stored in the table. For example, if the address signals A8 to A15 = 00h are input, the address signals B8 to B15 = FFh are output, if the address signals A8 to A15 = 01h are input, the address signals B8 to B15 = FFh are output, and the address signals When A8 to A15 = 02h is input, address signals B8 to B15 = F0h are output.

【0029】代替ブロックアドレス信号B8〜B15が
FFhのときにはメモリブロックの代替えを行う必要が
ないことを示し、アドレス信号B8〜B15がFFh以
外のときにはメモリブロックの代替えを行う必要がある
ことを示す。
When the alternative block address signals B8 to B15 are FFh, it means that the memory block need not be replaced, and when the address signals B8 to B15 are not FFh, it means that the memory block needs to be replaced.

【0030】AND回路3は、代替ブロックアドレス信
号B8〜B15と信号S0を入力信号として、入力信号
の論理積を出力する。入力信号S0は常に“1”
(“H”)であり、AND回路3はアドレス信号B8〜
B15の8ビットがオール1(FFh)のときのみ
“1”を出力する。AND回路3の出力信号は、セレク
タ2の選択端子SELに供給される。
The AND circuit 3 receives the alternative block address signals B8 to B15 and the signal S0 as input signals and outputs a logical product of the input signals. Input signal S0 is always "1"
(“H”), and the AND circuit 3 outputs the address signal B8 ...
"1" is output only when 8 bits of B15 are all 1 (FFh). The output signal of the AND circuit 3 is supplied to the selection terminal SEL of the selector 2.

【0031】セレクタ2は、2つの入力端子A,Bを有
する。入力端子Aには、フラッシュメモリチップの外部
から供給されるブロックアドレス信号A8〜A15が供
給され、入力端子Bには、代替テーブル1から供給され
るブロックアドレス信号B8〜B15が供給される。
The selector 2 has two input terminals A and B. Block address signals A8 to A15 supplied from the outside of the flash memory chip are supplied to the input terminal A, and block address signals B8 to B15 supplied from the substitution table 1 are supplied to the input terminal B.

【0032】セレクタ2の選択端子SELに“1”が供
給されると、入力端子Aのアドレス信号A8〜A15を
出力端子Yから出力し、選択端子SELに“0”が供給
されると、入力端子Bのアドレス信号B8〜B15を出
力端子Yから出力する。
When "1" is supplied to the selection terminal SEL of the selector 2, the address signals A8 to A15 of the input terminal A are output from the output terminal Y, and when "0" is supplied to the selection terminal SEL, the input signal is input. The address signals B8 to B15 of the terminal B are output from the output terminal Y.

【0033】セレクタ2は、代替テーブル1の出力ブロ
ックアドレス信号B8〜B15がFFhであれば選択端
子SELに“1”が供給されるので、入力端子Aの入力
ブロックアドレス信号A8〜A15を出力する。
When the output block address signals B8 to B15 of the alternative table 1 are FFh, the selector 2 outputs "1" to the selection terminal SEL and therefore outputs the input block address signals A8 to A15 of the input terminal A. .

【0034】一方、出力ブロックアドレス信号B8〜B
15がFFh以外であれば選択端子SELに“0”が供
給されるので、入力端子Bのブロックアドレス信号B8
〜B15を出力する。以下、セレクタ2の出力をアドレ
ス信号Y8〜Y15とする。
On the other hand, output block address signals B8 to B
If 15 is other than FFh, "0" is supplied to the selection terminal SEL, so the block address signal B8 of the input terminal B
~ B15 is output. Hereinafter, the outputs of the selector 2 will be referred to as address signals Y8 to Y15.

【0035】フラッシュメモリ6には、セレクタ2から
出力されるブロックアドレス信号Y8〜Y15とブロッ
ク内アドレス信号A0〜A7が物理アドレスとして供給
される。
The block address signals Y8 to Y15 and the intra-block address signals A0 to A7 output from the selector 2 are supplied to the flash memory 6 as physical addresses.

【0036】フラッシュメモリ6は、ブロックアドレス
信号Y8〜Y15によりメモリ内のメモリブロックが指
定され、ブロック内アドレス信号A0〜A7によりその
メモリブロック内のアドレスが指定される。
In the flash memory 6, the memory block in the memory is designated by the block address signals Y8 to Y15, and the address in the memory block is designated by the in-block address signals A0 to A7.

【0037】これにより、ユーザエリア4内のメモリブ
ロックが正常であればそのメモリブロックが指定され、
ユーザエリア4内のメモリブロックが不良であればその
メモリブロックに代えて予備エリア5内のメモリブロッ
クが指定されることになる。
As a result, if the memory block in the user area 4 is normal, that memory block is designated,
If the memory block in the user area 4 is defective, the memory block in the spare area 5 is designated instead of the memory block.

【0038】なお、メモリブロックが正常なときには、
代替テーブル1にFFhのデータを登録する場合につい
て以上述べてきたが、この方法ではブロックアドレスF
Fhの物理アドレスを指定することができなくなってし
まう。
When the memory block is normal,
The case where FFh data is registered in the substitution table 1 has been described above.
It becomes impossible to specify the physical address of Fh.

【0039】そこで、メモリブロックが正常なときに
は、FFh(オール1)の代わりに00h(オール0)
を代替テーブル1に登録するようにしてもよい。その際
には、AND回路3をOR回路とし、入力される信号S
0を常に“0”(“L”)にすればよい。OR回路は、
アドレス信号B8〜B15がオール0(00h)のとき
のみ“0”をセレクタ2に出力する。
Therefore, when the memory block is normal, instead of FFh (all 1), 00h (all 0).
May be registered in the substitution table 1. In that case, the AND circuit 3 is used as an OR circuit, and the input signal S
It is sufficient to always set 0 to “0” (“L”). The OR circuit is
Only when the address signals B8 to B15 are all 0 (00h), "0" is output to the selector 2.

【0040】その場合のセレクタ2は、選択端子SEL
に“0”が供給されるときに入力端子Aのアドレス信号
A8〜A15を出力し、選択端子SELに“1”が供給
されるときに入力端子Bのアドレス信号B8〜B15を
出力する。
In that case, the selector 2 has a selection terminal SEL.
The address signals A8 to A15 of the input terminal A are output when "0" is supplied to the input terminal, and the address signals B8 to B15 of the input terminal B are output when "1" is supplied to the selection terminal SEL.

【0041】図3は、他の実施例によるフラッシュメモ
リチップの構成を示すブロック図である。前述の実施例
と比べて、フラッシュメモリ6は同じであるが、代替テ
ーブル11が異なる。
FIG. 3 is a block diagram showing the structure of a flash memory chip according to another embodiment. The flash memory 6 is the same as that of the above-described embodiment, but the substitution table 11 is different.

【0042】図1の代替テーブル1は、8ビットの入力
アドレス信号A8〜A15を受けて、8ビットの入力ア
ドレス信号A8〜A15を出力するものであったが、本
実施例の代替テーブル11は、8ビットの入力アドレス
信号A8〜A15を受けて、9ビットの代替アドレス信
号B8〜B16を出力する。
The alternative table 1 of FIG. 1 receives 8-bit input address signals A8 to A15 and outputs 8-bit input address signals A8 to A15. , 8-bit input address signals A8-A15 are received, and 9-bit alternative address signals B8-B16 are output.

【0043】代替テーブル11には、フラッシュメモリ
6のユーザエリア4内の各メモリブロックに対応して、
9ビットの代替アドレスが格納されている。図4は、図
2(A)に示すフラッシュメモリ6に対応して生成され
る代替テーブル11の中身を示す概略図である。代替ア
ドレス欄51,52,53は、フラッシュメモリ6のメ
モリブロック21,22,23にそれぞれ対応する代替
アドレスを格納する。
The substitute table 11 corresponds to each memory block in the user area 4 of the flash memory 6,
A 9-bit alternative address is stored. FIG. 4 is a schematic diagram showing the contents of the substitution table 11 generated corresponding to the flash memory 6 shown in FIG. The alternative address columns 51, 52, 53 store the alternative addresses corresponding to the memory blocks 21, 22, 23 of the flash memory 6, respectively.

【0044】代替アドレス欄51(1FFh),52
(1FFh),53(0F0h)は、図2(B)の代替
アドレス欄41(FFh),42(FFh),43(F
0h)に対して最上位に1ビットの選択ビットB16を
追加したものである。選択ビットB16は、メモリブロ
ックが正常なときに“1”となり、メモリブロックが不
良のときに“0”となるビットである。
Alternative address columns 51 (1FFh), 52
(1FFh) and 53 (0F0h) are the alternative address columns 41 (FFh), 42 (FFh), and 43 (F) of FIG. 2B.
0h), a selection bit B16 of 1 bit is added to the highest order. The selection bit B16 is a bit which becomes "1" when the memory block is normal and becomes "0" when the memory block is defective.

【0045】代替アドレス欄51と52は、対応するメ
モリブロックが正常であるのでFFhの最上位に“1”
のビットを追加した1FFhを格納する。代替アドレス
欄53は、対応するメモリブロックが不良であるので予
備エリア5のメモリブロックアドレスF0hの最上位に
“0”のビットを追加した0F0hを格納する。
In the alternative address columns 51 and 52, since the corresponding memory block is normal, "1" is placed at the top of FFh.
1FFh to which the bit is added is stored. Since the corresponding memory block is defective, the alternative address column 53 stores 0F0h in which a "0" bit is added to the uppermost position of the memory block address F0h in the spare area 5.

【0046】図3において、代替テーブル11は、入力
アドレス信号A8〜A15を受けて、テーブルに格納さ
れている9ビットの代替アドレスB8〜B16を出力す
る。例えば、アドレス信号A8〜A15=00hが入力
されればアドレス信号B8〜B16=1FFhを出力
し、アドレス信号A8〜A15=01hが入力されれば
アドレス信号B8〜B16=1FFhを出力し、アドレ
ス信号A8〜A15=02hが入力されればアドレス信
号B8〜B16=0F0hを出力する。
In FIG. 3, the substitution table 11 receives the input address signals A8 to A15 and outputs the 9-bit substitution addresses B8 to B16 stored in the table. For example, when the address signals A8 to A15 = 00h are input, the address signals B8 to B16 = 1FFh are output, and when the address signals A8 to A15 = 01h are input, the address signals B8 to B16 = 1FFh are output, and the address signals When A8 to A15 = 02h is input, address signals B8 to B16 = 0F0h are output.

【0047】セレクタ2は、前述の実施例と同様に選択
端子SELに1が供給されれば、入力端子Aのアドレス
信号A8〜A15を出力端子Yから出力し、選択端子S
ELに0が供給されれば、入力端子Bのアドレス信号B
8〜B15を出力端子Yから出力する。
When 1 is supplied to the selection terminal SEL, the selector 2 outputs the address signals A8 to A15 of the input terminal A from the output terminal Y, and the selection terminal S
If 0 is supplied to EL, the address signal B of the input terminal B
8 to B15 are output from the output terminal Y.

【0048】セレクタ2の選択端子SELには、代替テ
ーブル11から出力される代替アドレス信号B8〜B1
6の最上位ビット信号B16が供給されるので、対応す
るメモリブロックが正常なときには入力アドレス信号A
8〜A15が出力され、対応するメモリブロックが不良
のときには代替アドレス信号B8〜B15が出力され
る。
Alternative address signals B8 to B1 output from the alternative table 11 are applied to the selection terminal SEL of the selector 2.
Since the most significant bit signal B16 of 6 is supplied, when the corresponding memory block is normal, the input address signal A
8 to A15 are output, and when the corresponding memory block is defective, alternative address signals B8 to B15 are output.

【0049】ここで、アドレス信号B8〜B15は、代
替テーブル11から出力される信号B8〜B16の下位
8ビットの信号である。フラッシュメモリ6は、セレク
タ2の出力端子Yから出力されたブロックアドレス信号
Y8〜Y15と外部から供給されるブロック内アドレス
信号A0〜A7によりアドレス指定される。
Here, the address signals B8 to B15 are lower 8-bit signals of the signals B8 to B16 output from the substitution table 11. The flash memory 6 is addressed by block address signals Y8 to Y15 output from the output terminal Y of the selector 2 and in-block address signals A0 to A7 supplied from the outside.

【0050】ブロックアドレス信号Y8〜Y15は、フ
ラッシュメモリ6内のメモリブロックを指定し、ブロッ
ク内アドレス信号A0〜A7はそのメモリブロック内の
アドレスを指定する。
The block address signals Y8 to Y15 specify a memory block in the flash memory 6, and the in-block address signals A0 to A7 specify an address in the memory block.

【0051】以上のように、代替テーブル11に選択ビ
ットB16を付加した代替アドレスB8〜B16を登録
することにより、AND回路を用いずにメモリブロック
の代替えを行うことができる。
As described above, by registering the alternative addresses B8 to B16 to which the selection bit B16 is added in the alternative table 11, the memory block can be replaced without using the AND circuit.

【0052】また、前述の実施例のように使用すること
ができないメモリブロック(FFh)が存在せず、全て
の予備エリア内のメモリブロックを使用することが可能
である。
Further, there is no memory block (FFh) that cannot be used as in the above-described embodiment, and it is possible to use the memory blocks in all spare areas.

【0053】なお、代替テーブル11に登録する選択ビ
ットB16は、代替アドレスB8〜B16の最上位ビッ
トに必ずしも設定する必要ななく、例えば最下位ビット
に設定してもよい。また、選択信号B16は1ビットで
ある必要はない。
The selection bit B16 registered in the alternative table 11 does not necessarily have to be set to the most significant bit of the alternative addresses B8 to B16, but may be set to the least significant bit, for example. The selection signal B16 does not have to be 1 bit.

【0054】以上の実施例では、ブロックアドレス信号
A8〜A15またはY8〜Y15が8ビットであり、ブ
ロック内アドレス信号A0〜A7が8ビットである場合
を例に説明したがこれに限定されず、種々のビット数の
アドレス信号に適用することができる。
In the above embodiments, the case where the block address signals A8 to A15 or Y8 to Y15 have 8 bits and the intra-block address signals A0 to A7 have 8 bits has been described as an example, but the present invention is not limited to this. It can be applied to address signals having various numbers of bits.

【0055】また、フラッシュメモリと代替テーブル
は、例えばEPROM等のEEPROM以外の不揮発性
メモリにより構成することもできる。本実施例のよう
に、フラッシュメモリチップ内に、欠陥メモリセルを有
するメモリブロックを代替えるための回路を設けること
により、ユーザは欠陥メモリセルに対して何の対策をと
らなくても正常なフラッシュメモリとして使用すること
ができる。
Further, the flash memory and the substitution table may be constituted by a non-volatile memory other than the EEPROM such as the EPROM. As in this embodiment, by providing a circuit for replacing a memory block having a defective memory cell in the flash memory chip, the user can perform a normal flash operation without taking any measures against the defective memory cell. It can be used as memory.

【0056】また、ユーザエリア内の欠陥メモリセルを
有するメモリブロックを予備エリアのメモリブロックを
代替えることにより、外部から連続した論理アドレス空
間を確保して指定することができる。
Further, by replacing the memory block having the defective memory cell in the user area with the memory block in the spare area, a continuous logical address space can be secured and specified from the outside.

【0057】セレクタを用いて、入力の論理ブロックア
ドレス信号A8〜A15または代替ブロックアドレス信
号B8〜B15のいずれかをブロックアドレス信号Y8
〜Y15としてフラッシュメモリに供給することによ
り、代替テーブルには全てのメモリブロックに対する代
替先ブロックアドレスを登録する必要がなく、不良のメ
モリブロックに対してのみ代替先ブロックアドレスを登
録すればよいので、代替テーブルの作成が容易である。
By using the selector, one of the input logical block address signals A8 to A15 or the alternative block address signals B8 to B15 is transferred to the block address signal Y8.
By supplying Y15 to the flash memory, it is not necessary to register the substitution destination block addresses for all the memory blocks in the substitution table, and it is sufficient to register the substitution destination block addresses only for the defective memory blocks. It is easy to create a substitute table.

【0058】以上実施例に沿って本発明を説明したが、
本発明はこれらに制限されるものではない。例えば、種
々の変更、改良、組み合わせ等が可能なことは当業者に
自明であろう。
The present invention has been described above with reference to the embodiments.
The present invention is not limited to these. For example, it will be apparent to those skilled in the art that various modifications, improvements, combinations, and the like can be made.

【0059】[0059]

【発明の効果】以上説明したように、本発明によれば、
代替テーブルを用いることにより例えばユーザメモリ領
域のメモリブロックに欠陥がある場合であっても、その
メモリブロックに代えて予備メモリ領域のメモリブロッ
クを割り当てることができるので、連続した論理アドレ
ス空間を確保することができる。
As described above, according to the present invention,
By using the substitution table, even if a memory block in the user memory area is defective, for example, a memory block in the spare memory area can be allocated instead of the memory block, so that a continuous logical address space is secured. be able to.

【0060】また、代替テーブルには、ユーザメモリ領
域の全てのメモリブロックに対しての物理アドレスを登
録する必要はなく、代替えを行うメモリブロックに対し
てのみの物理アドレスを登録し、代替えを行わないメモ
リブロックに対しては物理アドレスの登録を行う必要が
ないので、代替テーブルの作成が容易である。
Further, it is not necessary to register the physical addresses for all the memory blocks of the user memory area in the substitution table, but the physical addresses only for the memory blocks to be substituted are registered to perform the substitution. Since it is not necessary to register a physical address for a memory block that does not exist, it is easy to create a substitute table.

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

【図1】本発明の実施例によるメモリチップの構成を示
すブロック図である。
FIG. 1 is a block diagram showing a configuration of a memory chip according to an exemplary embodiment of the present invention.

【図2】図2(A)は、図1に示すフラッシュメモリの
構成例を示す概略図である。図2(B)は、図1に示す
代替テーブルに格納される代替ブロックアドレスを示す
概略図である。
FIG. 2A is a schematic diagram showing a configuration example of the flash memory shown in FIG. FIG. 2B is a schematic diagram showing alternative block addresses stored in the alternative table shown in FIG.

【図3】他の実施例によるメモリチップの構成を示すブ
ロック図である。
FIG. 3 is a block diagram showing a configuration of a memory chip according to another embodiment.

【図4】図2(A)に示すフラッシュメモリに対応して
生成される他の実施例による代替テーブルの中身を示す
概略図である。
FIG. 4 is a schematic diagram showing contents of a substitution table according to another embodiment generated corresponding to the flash memory shown in FIG.

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

1,11 代替テーブル 2 セレクタ 3 AND回路 4 ユーザエリア 5 予備エリア 6 フラッシュメモリ 1, 11 Alternative table 2 Selector 3 AND circuit 4 User area 5 Spare area 6 Flash memory

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 外部から供給される入力アドレスデータ
(A8〜A15)に応じてデータのアクセスを行う不揮
発性メモリであって、 データを記憶することができる複数のメモリブロックを
有するユーザメモリ領域(4)と該ユーザメモリ領域内
のメモリブロックに代替えて使用するための予備のメモ
リブロックを有する予備メモリ領域(5)を有するメモ
リブロックアレイ(6)と、 入力アドレスデータに応じて、前記ユーザメモリ領域内
のメモリブロックに対して代替えを行う前記予備メモリ
領域内のメモリブロックを示す代替アドレスデータ、ま
たは該メモリブロックの代替えを行わないことを示す不
代替アドレスデータのいずれかの代替データを出力する
代替テーブル(1)と、 前記代替テーブルが出力する代替データが不代替アドレ
スデータのときには入力アドレスデータを出力し、代替
データが代替アドレスデータのときには代替アドレスデ
ータを出力するセレクタ(2)とを有し、前記セレクタ
が出力するアドレスデータに応じて前記メモリブロック
アレイへのアクセスを行う不揮発性メモリ。
1. A non-volatile memory for accessing data according to input address data (A8 to A15) supplied from the outside, and a user memory area having a plurality of memory blocks capable of storing data ( 4) and a memory block array (6) having a spare memory area (5) having a spare memory block for use in place of the memory block in the user memory area, and the user memory according to input address data. Outputs either alternative address data indicating a memory block in the spare memory area that substitutes for a memory block in the area or non-replacement address data indicating that the memory block is not substituted. The substitute table (1) and the substitute data output by the substitute table are non-substitute addresses. A selector (2) which outputs the input address data when the substitute data is the substitute data and outputs the substitute address data when the substitute data is the substitute address data. Non-volatile memory for access.
【請求項2】 データを記憶することができる複数のメ
モリブロックを有するユーザメモリ領域(4)と該ユー
ザメモリ領域内のメモリブロックに代替えて使用するた
めの予備のメモリブロックを有する予備メモリ領域
(5)を有する不揮発性メモリに対して、外部から供給
される入力アドレスデータ(A8〜A15)に応じたデ
ータのアクセスを行う方法であって、 入力アドレスデータに応じて、前記ユーザメモリ領域内
のメモリブロックに対して代替えを行う前記予備メモリ
領域内のメモリブロックを示す代替アドレスデータ、ま
たは該メモリブロックの代替えを行わないことを示す不
代替アドレスデータのいずれかの代替データを出力する
工程と、 前記代替データが不代替アドレスデータのときには入力
アドレスデータを出力アドレスデータとして出力し、代
替データが代替アドレスデータのときには代替アドレス
データを出力アドレスデータとして出力する工程と、 前記出力アドレスデータに応じて不揮発性メモリへのア
クセスを行う工程とを含む不揮発性メモリへのデータア
クセス方法。
2. A user memory area (4) having a plurality of memory blocks capable of storing data, and a spare memory area (4) having a spare memory block for replacing the memory block in the user memory area. A method of accessing data according to input address data (A8 to A15) supplied from the outside, to a nonvolatile memory having 5), wherein the user memory area in the user memory area is Outputting alternative data of either alternative address data indicating a memory block in the spare memory area that substitutes for the memory block or non-replacement address data indicating that the memory block is not substituted; When the alternative data is non-alternative address data, input address data is output address To the non-volatile memory, which includes a step of outputting the alternative address data as output address data when the alternative data is alternative address data, and a step of accessing the non-volatile memory according to the output address data. Data access method.
JP10352394A 1994-05-18 1994-05-18 Nonvolatile memory Pending JPH07312096A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10352394A JPH07312096A (en) 1994-05-18 1994-05-18 Nonvolatile memory

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10352394A JPH07312096A (en) 1994-05-18 1994-05-18 Nonvolatile memory

Publications (1)

Publication Number Publication Date
JPH07312096A true JPH07312096A (en) 1995-11-28

Family

ID=14356291

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10352394A Pending JPH07312096A (en) 1994-05-18 1994-05-18 Nonvolatile memory

Country Status (1)

Country Link
JP (1) JPH07312096A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6754115B2 (en) 2001-10-29 2004-06-22 Mitsubishi Denki Kabushiki Kaisha Nonvolatile semiconductor memory device with backup memory block
JP2009146548A (en) * 2007-12-18 2009-07-02 Toshiba Corp Nonvolatile semiconductor storage device
US9747058B2 (en) 2014-07-30 2017-08-29 Samsung Electronics Co., Ltd. Semiconductor memory device, memory system including the same, and method of operating the same

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6754115B2 (en) 2001-10-29 2004-06-22 Mitsubishi Denki Kabushiki Kaisha Nonvolatile semiconductor memory device with backup memory block
JP2009146548A (en) * 2007-12-18 2009-07-02 Toshiba Corp Nonvolatile semiconductor storage device
US9747058B2 (en) 2014-07-30 2017-08-29 Samsung Electronics Co., Ltd. Semiconductor memory device, memory system including the same, and method of operating the same

Similar Documents

Publication Publication Date Title
US7123512B2 (en) Contiguous block addressing scheme
US7962784B2 (en) Repairable block redundancy scheme
US6381668B1 (en) Address mapping for system memory
US4610000A (en) ROM/RAM/ROM patch memory circuit
US4319343A (en) Programmable digital memory circuit
US6418061B1 (en) Non-volatile semiconductor memory device permitting data-read operation performed during data-write/erase operation
JPH0574178A (en) Nonvolatile ic memory
KR970063276A (en) Semiconductor memory
JPS6318227B2 (en)
JP2001243110A (en) Memory controller, flash memory system and access method to flash memory
US6035381A (en) Memory device including main memory storage and distinct key storage accessed using only a row address
US6453380B1 (en) Address mapping for configurable memory system
JPH07254270A (en) Method and apparatus for control of plurality of banks of dram element
US5229972A (en) Nonvolatile semiconductor memory system
JPH07312096A (en) Nonvolatile memory
JP2000011693A (en) Apparatus and method for transfer of data as well as apparatus and method for test of memory device
KR20010106086A (en) Non-volatile semiconductor memory device
KR20080105800A (en) Flash memory device remapping bad blocks and bad bolck remapping method thereof
US5226015A (en) Semiconductor memory system
JP2007094765A (en) Memory system
US6622196B1 (en) Method of controlling semiconductor memory device having memory areas with different capacities
KR20030042013A (en) Data management method for memory device
JP2001236790A (en) Associative memory
JPH0520173A (en) Cache memory circuit
JPH10125080A (en) Semiconductor memory

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20021203