JPH11232885A - Semiconductor memory - Google Patents

Semiconductor memory

Info

Publication number
JPH11232885A
JPH11232885A JP2828698A JP2828698A JPH11232885A JP H11232885 A JPH11232885 A JP H11232885A JP 2828698 A JP2828698 A JP 2828698A JP 2828698 A JP2828698 A JP 2828698A JP H11232885 A JPH11232885 A JP H11232885A
Authority
JP
Japan
Prior art keywords
memory cell
signal
rewriting
address
eeprom
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.)
Withdrawn
Application number
JP2828698A
Other languages
Japanese (ja)
Inventor
Takaaki Kodama
隆明 児玉
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.)
Oki Electric Industry Co Ltd
Oki Micro Design Miyazaki Co Ltd
Original Assignee
Oki Electric Industry Co Ltd
Oki Micro Design Miyazaki 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 Oki Electric Industry Co Ltd, Oki Micro Design Miyazaki Co Ltd filed Critical Oki Electric Industry Co Ltd
Priority to JP2828698A priority Critical patent/JPH11232885A/en
Publication of JPH11232885A publication Critical patent/JPH11232885A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Read Only Memory (AREA)

Abstract

PROBLEM TO BE SOLVED: To prevent rewriting from exceeding the number of rewriting times of EEPROM in a semiconductor memory provided with an electrically erasable programmable ROM (EEPROM). SOLUTION: A counter 11 counts the number of rewriting times in each memory cell in an EEPROM 10 from an address (Address) and a write-enable signal (Write Enable/), when th number of times of rewriting reaches the limit in either of memory cells, a warning signal OVF is generated. When the warning signal OVF is generated an OR gate 12 set forcibly a level of a write-enable signal (Write Enable/) to the EEPROM 10 to invalid 'H' level. Thereby, rewriting in the EEPROM 10 is prohibited.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、電気的に消去及び
書替えが可能なプログラマブルROM(以下、EEPR
OMという)を備えた半導体記憶装置に関するものであ
る。
The present invention relates to an electrically erasable and rewritable programmable ROM (hereinafter referred to as EEPR).
OM).

【0002】[0002]

【従来の技術】従来、この分野の技術としては、例え
ば、次の文献ようなに記載された示されたものがあっ
た。 文献1;特開平7−254290号公報 文献2;特開平7−307095号公報 文献3;特開平8−241599号公報 EEPROMにおける書替え可能回数には限界があり、
104 回程度である。それ以上の書替えを行うと、書込
んだデータがEEPROM内で変化し、書込んだデータ
と読出したデータとが異なる可能性がある。前記文献1
〜3には、EEPROMの書替え回数をカウンタを用い
て計算し、ある一定の回数(例えば104 回)以上の書
替えが行われたら、警告信号を発生する半導体記憶装置
が示されている。
2. Description of the Related Art Conventionally, as a technique in this field, there is a technique described in the following document, for example. Reference 1: Japanese Patent Application Laid-Open No. 7-254290 Document 2: Japanese Patent Application Laid-Open No. 7-307095 Reference 3: Japanese Patent Application Laid-Open No. 8-241599 The number of rewritable times in an EEPROM has a limit.
10 is about four times. If further rewriting is performed, the written data changes in the EEPROM, and the written data may differ from the read data. Reference 1
3 shows a semiconductor memory device which calculates the number of times of rewriting of the EEPROM using a counter, and generates a warning signal when the number of times of rewriting is more than a certain number of times (for example, 10 4 times).

【0003】[0003]

【発明が解決しようとする課題】しかしながら、従来の
文献1〜3に示された半導体記憶装置では、次のような
課題があった。EEPROMに対する書替え回数が限界
を越えて、警告信号を発生しても、それが見落とされ
て、さらにEEPROMの書替えが継続して行われた場
合、そのとき書込んだデータがEEPROM内で変化
し、書込んだデータとは異なるデータを読出す可能性が
あり、正確さを要求される情報処理の信頼性が失われる
という課題があった。
However, the semiconductor memory devices disclosed in the prior art documents 1 to 3 have the following problems. Even if the number of rewrites to the EEPROM exceeds the limit and a warning signal is generated, the warning signal is overlooked, and if the rewriting of the EEPROM is continued, the data written at that time changes in the EEPROM, There is a possibility that data different from the written data may be read, and there has been a problem that the reliability of information processing requiring accuracy is lost.

【0004】[0004]

【課題を解決するための手段】前記課題を解決するため
に、本発明のうちの第1及び第2の発明は、情報をそれ
ぞれ格納する複数のメモリセルを有すると共に、メモリ
セルを指定するアドレスと該メモリセルに対するアクセ
スを指示する制御信号とが与えられたEEPROMを備
えた半導体記憶装置において、次のような構成にしてい
る。即ち、アドレスを入力して、各メモリセルにおける
消去及び書替えの回数を計数し、その消去及び書替えの
回数が所定の値以上になった場合には警告信号を発生す
るカウンタと、この警告信号が発生したときに、複数の
メモリセルに対する消去及び書替えを強制的に無効にす
る禁止手段とを設けている。
In order to solve the above-mentioned problems, a first and a second invention of the present invention have a plurality of memory cells each storing information and an address for designating the memory cells. And a control signal instructing access to the memory cell, the semiconductor memory device including the EEPROM has the following configuration. That is, an address is input, the number of erasures and rewrites in each memory cell is counted, and a counter that generates a warning signal when the number of erasures and rewrites is equal to or greater than a predetermined value. Prohibiting means is provided for forcibly invalidating erasure and rewriting of a plurality of memory cells when an error occurs.

【0005】第3及び第4の発明は、第1のEEPRO
Mを備えた半導体記憶装置において、次のような構成に
している。即ち、情報をそれぞれ格納する複数のメモリ
セルを有すると共に、第1のEEPROMと共通のアド
レスと制御信号とが与えられた第2のEEPROMと、
アドレスを入力し、第1のEEPROM中の各メモリセ
ルにおける消去及び書替えの回数を計数し、この消去及
び書替え回数が所定の値以上になった場合には警告信号
を発生するカウンタと、警告信号が発生したときには、
第1のEEPROM中の複数のメモリセルに対する消去
及び書替えと読出しとを無効とし、第2のEEPROM
中の各メモリセルに対する消去及び書替えと読出しのみ
を可能にする選択手段とを、設けている。
The third and fourth inventions are directed to a first EEPRO.
The semiconductor memory device provided with M has the following configuration. That is, a second EEPROM having a plurality of memory cells each storing information and having a common address and a control signal applied to the first EEPROM,
An address is input, the number of erasures and rewrites in each memory cell in the first EEPROM is counted, and when the number of erasures and rewrites exceeds a predetermined value, a counter for generating a warning signal; Occurs,
Erasing, rewriting and reading of a plurality of memory cells in the first EEPROM are invalidated, and the second EEPROM
There is provided selection means for enabling only erasing, rewriting, and reading of each of the memory cells therein.

【0006】第5の発明は、第1のEEPROMを備え
た半導体記憶装置において、次のような構成にしてい
る。即ち、アドレスを入力し、前記第1のEEPROM
中の各メモリセルにおける消去及び書替えの回数を計数
し、該消去及び書替え回数が所定の値以上になった場合
には警告信号を発生する第1のカウンタと、第1のカウ
ンタが警告信号を発生したときには、第1のEEPRO
M中の複数のメモリセルに対する消去及び書替えと読出
しとを無効にする第1の禁止手段と、第1のEEPRO
Mと共通の制御信号とアドレスを入力する任意数段の第
2のEEPROMと、任意数段の第2のEEPROMに
対応してそれぞれ設けられ、アドレスとスタート信号と
を入力し、そのスタート信号が与えられた後の対応する
該第2のEEPROM中の各メモリセルの消去及び書替
え回数を計数し、この消去及び書替え回数が所定の値以
上になった場合には、警告信号を発生する任意数段の第
2のカウンタと、任意数段の第2のEEPROMに対応
してそれぞれ設けられ、対応する第2のカウンタが警告
信号を発生したときには、対応する該第2のEEPRO
M中の複数のメモリセルに対する消去及び書替えと読出
しとを無効にする任意数段の第2の禁止手段とを設けて
いる。そして、任意数段の第2のカウンタのうちの初段
のカウンタは、第1のカウンタの警告信号をスタート信
号としてそれぞれ入力し、任意数段の第2のカウンタの
うち他のカウンタは、前段の第2のカウンタの警告信号
をスタート信号として入力する構成にしている。
According to a fifth aspect of the present invention, a semiconductor memory device having a first EEPROM has the following configuration. That is, an address is input and the first EEPROM is input.
A first counter for generating a warning signal when the number of times of erasing and rewriting is equal to or more than a predetermined value, and a first counter for generating a warning signal when the number of times of erasing and rewriting exceeds a predetermined value. When it occurs, the first EEPRO
First prohibiting means for invalidating erasing, rewriting, and reading of a plurality of memory cells in M;
M and an arbitrary number of stages of second EEPROM for inputting a control signal and an address common to M and an arbitrary number of stages of second EEPROM are provided corresponding to the address, a start signal, and the start signal is input. The number of erasures and rewrites of each memory cell in the second EEPROM corresponding to the given number is counted, and when the number of erasures and rewrites exceeds a predetermined value, a warning signal is generated. The second EEPROM of each stage is provided corresponding to the second EEPROM of an arbitrary number of stages, and when the corresponding second counter generates a warning signal, the corresponding second EEPROM is provided.
An arbitrary number of stages of second prohibiting means for invalidating erasing, rewriting and reading of a plurality of memory cells in M are provided. The first counter of the arbitrary number of second counters receives the warning signal of the first counter as a start signal, and the other of the arbitrary number of second counters receives the warning signal of the first counter. The warning signal of the second counter is input as a start signal.

【0007】第6の発明は、第1のEEPROMを備え
た半導体装置において、次のような構成にしている。即
ち、第1のEEPROMと共通の制御信号とアドレスと
を入力する第2のEEPROMと、そのアドレスを入力
し、第1のEEPROM中の各メモリセルにおける消去
及び書替え回数をそれぞれ計数し、該各メモリセルにお
ける消去及び書替え回数が所定の値以上になった場合に
は、その各メモリセル毎に警告信号を発生するカウンタ
と、各メモリセル毎の警告信号に基づき、アドレスで指
定される第1のEEPROM中のメモリセルが消去及び
書替えが可能かどうかを示す選択信号を発生する選択回
路と、選択信号に基づき、第1のEEPROM中のアド
レスによって指定されたメモリセルの消去及び書替え回
数が所定の値以上になっていない場合には、該第1のE
EPROMに制御信号をそのまま与えると共に第2のE
EPROM中に与える該制御信号を無効に設定し、アド
レスによって指定されたメモリセルの消去及び書替え回
数がその所定の値以上になった場合には、第2のEEP
ROMに制御信号をそのまま与えると共にその第1のE
EPROM中に与える制御信号を無効に設定する切替回
路とを、設けている。
According to a sixth aspect of the present invention, a semiconductor device having the first EEPROM has the following configuration. That is, a second EEPROM for inputting a control signal and an address common to the first EEPROM, an address for the second EEPROM, and the number of erase and rewrite operations in each memory cell in the first EEPROM are counted. When the number of times of erasing and rewriting in a memory cell becomes equal to or more than a predetermined value, a counter for generating a warning signal for each memory cell and a first address specified by an address based on the warning signal for each memory cell. And a selection circuit for generating a selection signal indicating whether the memory cell in the EEPROM can be erased and rewritten. The number of times of erasing and rewriting of the memory cell designated by the address in the first EEPROM is determined based on the selection signal. Is not equal to or greater than the value of the first E
The control signal is directly supplied to the EPROM and the second E
When the control signal given to the EPROM is invalidated, and the number of erasures and rewrites of the memory cell specified by the address exceeds a predetermined value, the second EEPROM is set.
The control signal is supplied to the ROM as it is and the first E
And a switching circuit for invalidating a control signal given to the EPROM.

【0008】第1及び第2の発明によれば、以上のよう
に半導体記憶装置を構成したので、EEPROM中のメ
モリセルでの書替えの回数が限界に達したことが、カウ
ンタで計数され、警告信号が発せられる。警告信号が発
生したときには、禁止手段により、EEPROM中の各
メモリセルに対する書替えが禁止される。第3及び第4
の発明によれば、第1のEEPROM中のメモリセルで
の書替えの回数が限界に達したことが、カウンタで計数
され、警告信号が発せられる。警告信号が発生したとき
には、選択手段により、第1のEEPROM中の各メモ
リセルに対する書替えが禁止され、以後第2のEEPR
OMに対して書替えと読出しが行われる。
According to the first and second aspects of the present invention, since the semiconductor memory device is configured as described above, it is counted by the counter that the number of rewrites in the memory cell in the EEPROM has reached the limit, and a warning is issued. A signal is emitted. When a warning signal is generated, rewriting of each memory cell in the EEPROM is prohibited by the prohibiting means. Third and fourth
According to the invention, the counter counts the fact that the number of rewrites in the memory cells in the first EEPROM has reached the limit, and issues a warning signal. When a warning signal is generated, the rewriting of each memory cell in the first EEPROM is inhibited by the selection means, and thereafter, the second EEPROM is rewritten.
Rewriting and reading are performed on the OM.

【0009】第5の発明によれば、第1のEEPROM
中のメモリセルでの書替えの回数が限界に達したこと
が、第1のカウンタで計数され、警告信号が発せられ
る。第1のカウンタで警告信号が発生したときに、第1
の禁止手段により、第1のEEPROMに対する書替え
が禁止され、以後任意数段の第2のEEPROMに対し
て書替えと読出しが行われる。第6の発明によれば、第
1のEEPROM中の各メモリセルでの書替えの回数が
限界に達したことが、カウンタでそれぞれ計数され、警
告信号が発せられる。第1のカウンタで警告信号が発生
したときに、その警告信号の対象となるメモリに対応す
る選択信号が選択回路から出力される。この選択信号に
より、書替え回数が限界を越えた第1のEEPROM中
のメモリセルに対する書替え及び読出しが禁止され、第
2のEEPROMの対応するメモリセルに対する書替え
と読出しとが行われる。従って、前記課題を解決できる
のである。
According to the fifth invention, the first EEPROM
The first counter counts that the number of rewrites in the middle memory cell has reached the limit, and issues a warning signal. When a warning signal is generated in the first counter, the first counter
The rewriting of the first EEPROM is prohibited by the prohibiting means, and thereafter, the rewriting and reading of the second EEPROM of an arbitrary number of stages are performed. According to the sixth aspect, the fact that the number of rewrites in each memory cell in the first EEPROM has reached the limit is counted by the counter, and a warning signal is issued. When a warning signal is generated by the first counter, a selection signal corresponding to the memory targeted by the warning signal is output from the selection circuit. With this selection signal, rewriting and reading of the memory cells in the first EEPROM whose rewriting frequency exceeds the limit are prohibited, and rewriting and reading of the corresponding memory cells of the second EEPROM are performed. Therefore, the above problem can be solved.

【0010】[0010]

【発明の実施の形態】第1の実施形態 図1は、本発明の第1の実施形態を示す半導体記憶装置
の構成図である。この半導体記憶装置は、情報を格納す
る複数のメモリセルを有するEEPROM10を備えて
いる。EEPROM10には、外部から与えられたアド
レスAddress を入力する端子ADと、チップイネーブル
信号Chip Enable/(但し、/ は“L”レベルが有効とな
る信号を示している。)を入力する端子CE/と、出力
イネーブル信号Output Enable/を入力する端子OE/
と、ライトイネーブル信号Write Enable/ を入力するW
E/と、メモリセルにアクセスする情報Dataを入出力す
る端子I/Oとが、設けられている。この半導体記憶装
置には、さらに、アドレスAddress と信号Write Enable
/ を入力し、アドレスAddress で指定されるEEPRO
M10中のメモリセルに対する書替えが何回行われたか
を計数し、いずれかのメモリセルで書替え回数が限界
(所定の値)に達した場合には、警告信号OVFを発生
するカウンタ11と、禁止手段である2入力ORゲート
12とが、設けられている。ORゲート12の一方の入
力端子には、カウンタ11の出力端子が接続され、他方
の入力端子には信号Write Enable/ が入力されており、
該ORゲート12の出力端子が、EEPROM10の端
子WE/に接続されている。
DESCRIPTION OF THE PREFERRED EMBODIMENTS First Embodiment FIG. 1 is a configuration diagram of a semiconductor memory device according to a first embodiment of the present invention. This semiconductor storage device includes an EEPROM 10 having a plurality of memory cells for storing information. The EEPROM 10 has a terminal AD for inputting an externally provided address Address, and a terminal CE / for inputting a chip enable signal Chip Enable / (where / indicates a signal at which the "L" level becomes valid). And a terminal OE / for inputting an output enable signal Output Enable /
And W for inputting the write enable signal Write Enable /
E / and a terminal I / O for inputting and outputting information Data for accessing the memory cell are provided. The semiconductor memory device further includes an address Address and a signal Write Enable.
Enter / to specify the EEPRO specified by the address Address.
The number of rewrites performed on the memory cell in M10 is counted, and when the number of rewrites reaches a limit (a predetermined value) in any one of the memory cells, a counter 11 for generating a warning signal OVF, A two-input OR gate 12, which is a means, is provided. The output terminal of the counter 11 is connected to one input terminal of the OR gate 12, and the signal Write Enable / is input to the other input terminal.
The output terminal of the OR gate 12 is connected to the terminal WE / of the EEPROM 10.

【0011】図2は、図1の動作を説明するタイムチャ
ートであり、この図2を参照しつつ、図1の半導体記憶
装置の動作を説明する。図2には、2つの期間T1,T
2における各端子AD,CE/,OE/,WE/,I/
O上の信号と、警告信号OVFの波形が示されている。
EEPROM10の各メモリセルの書替え可能回数は、
前述したように、例えば104 程度が限界であるが、そ
の期間T1は、例えばEEPROM中の複数のメモリセ
ルにおける書替え回数が、いずれも限界に達していない
期間を示している。期間T2は、例えばアドレスAddres
s で指定されるメモリセルが、限界に達する期間を示し
ている。期間T1において、外部から例えば“0”番の
アドレスAddress が与えられ、信号Chip Enable/が有効
な“L”になると、EEPROM10は、“0”番のメ
モリセルに格納した情報の書替え、またはそれの読出し
が可能な状態になる。ここで、信号Write Enable/ が有
効な“L”になると、カウンタ11がまだ警告信号OV
Fを発生していないので、ORゲート12は、信号Writ
e Enable/ をそのまま通してEEPROM10の端子W
E/に与える。EEPROM10は、有効な信号Write
Enable/ が与えられたことにより、端子I/Oに与えら
れた情報Dataを、アドレスAddress で指定された例えば
“0”のメモリセルに格納する。
FIG. 2 is a time chart for explaining the operation of FIG. 1. The operation of the semiconductor memory device of FIG. 1 will be described with reference to FIG. FIG. 2 shows two periods T1 and T
2, each terminal AD, CE /, OE /, WE /, I /
The waveforms of the signal on O and the warning signal OVF are shown.
The number of rewritable times of each memory cell of the EEPROM 10 is as follows.
As described above, for example, the limit is about 10 4 , and the period T1 indicates a period in which the number of rewrites in a plurality of memory cells in the EEPROM has not reached the limit. The period T2 is, for example, the address Addres
This indicates the period when the memory cell specified by s reaches the limit. In the period T1, for example, when the address “0” is externally given and the signal Chip Enable / becomes valid “L”, the EEPROM 10 rewrites or stores the information stored in the memory cell “0”. Is ready for reading. Here, when the signal Write Enable / becomes valid “L”, the counter 11 still outputs the warning signal OV.
Since no F is generated, the OR gate 12 outputs the signal Writ
e Enable / pass through the terminal W of EEPROM 10
Give to E /. The EEPROM 10 has a valid signal Write
When Enable / is given, the information Data given to the terminal I / O is stored in, for example, a memory cell of “0” designated by the address “Address”.

【0012】期間T2において、外部からアドレスAddr
ess が与えられ、信号Chip Enable/が有効な“L”にな
ると、期間T1の場合と同様に、EEPROM10は、
“0”番のメモリセルに格納した情報の書替えまたは読
出しが可能な状態になる。ここで、アドレスAddress を
入力するカウンタ11が、例えば該アドレスAddressで
指定される“0”番のメモリセルに対する書替え回数が
限界に達したことを検出すると、“H”レベルの警告信
号OVFを発生する。この警告信号OVFが与えられた
ORゲート12は、EEPROM10の端子WE/を強
制的に“H”に設定するので、信号Write Enable/ が
“L”になってもそれが無効化されて、該EEPROM
10での書替えが禁止される。
In a period T2, the address Addr is externally supplied.
When ess is given and the signal Chip Enable / becomes valid “L”, the EEPROM 10 operates similarly to the case of the period T1.
It becomes possible to rewrite or read the information stored in the “0” -th memory cell. Here, when the counter 11 for inputting the address "Address" detects, for example, that the number of rewrites for the "0" th memory cell specified by the address "Address" has reached a limit, an "H" level warning signal OVF is generated. I do. The OR gate 12 supplied with the warning signal OVF forcibly sets the terminal WE / of the EEPROM 10 to "H". Therefore, even if the signal Write Enable / becomes "L", it is invalidated and EEPROM
Rewriting at 10 is prohibited.

【0013】以上のように、この第1の実施形態では、
EEPROM10中のいずれかのメモリセルで、書替え
回数が限界に達したことを検出して警告信号OVFを発
生するカウンタ11と、警告信号OVFが発生した場合
には、このEEPROM10における書替えを無効にし
て禁止するORゲート12とを設けている。そのため、
警告を発するばかりでなく、EEPROM10に対する
書替えが行えないようになるので、例えば警告信号OV
Fを発生しているにもかかわらず、それを見落として誤
って情報の書替えを行うことがなくなる。
As described above, in the first embodiment,
In any one of the memory cells in the EEPROM 10, the counter 11 generates a warning signal OVF by detecting that the number of rewrites has reached the limit. When the warning signal OVF is generated, the rewriting in the EEPROM 10 is invalidated. An inhibiting OR gate 12 is provided. for that reason,
In addition to issuing a warning, rewriting of the EEPROM 10 cannot be performed.
Despite the occurrence of F, the information is not overlooked and erroneously rewritten.

【0014】第2の実施形態 図3は、本発明の第2の実施形態を示す半導体記憶装置
の構成図である。この半導体記憶装置は、共通のアドレ
スを入力する第1のEEPROM20と、そのEEPR
OM20と同様の構成の第2のEEPROM21と、第
1の実施形態におけるカウンタ11と同様の機能を有す
るカウンタ22と、該カウンタ22に接続された選択手
段23とを、備えている。各EEPROM20,21
は、情報を格納する複数のメモリセルをそれぞれ有し、
外部から与えられたアドレスAddress を入力する端子A
Dと、チップイネーブル信号Chip Enable/を入力する端
子CE1/,CE2/と、出力イネーブル信号Output E
nable/を入力する端子OE1/,OE2/と、ライトイ
ネーブル信号Write Enable/ を入力するWE1/,WE
2/と、メモリセルにアクセスする情報Dataを入出力す
る端子I/Oとが、それぞれ設けられている。各EEP
ROM20,21の端子ADには、アドレスAddress が
共通に入力され、該各EEPROM20,21の端子C
Eには、信号Chip Enable/が共通に入力されるようにな
っている。
Second Embodiment FIG. 3 is a configuration diagram of a semiconductor memory device according to a second embodiment of the present invention. This semiconductor memory device includes a first EEPROM 20 for inputting a common address, and an EEPROM
A second EEPROM 21 having the same configuration as the OM 20, a counter 22 having the same function as the counter 11 in the first embodiment, and a selection unit 23 connected to the counter 22 are provided. Each EEPROM 20, 21
Has a plurality of memory cells for storing information, respectively,
Terminal A for inputting an externally provided address Address
D, terminals CE1 / and CE2 / for inputting a chip enable signal Chip Enable /, and an output enable signal Output E
nable / input terminals OE1 /, OE2 // and write enable signal Write Enable / input WE1 /, WE
2 / and a terminal I / O for inputting / outputting information Data for accessing a memory cell are provided. Each EEP
Address AD is commonly input to the terminals AD of the ROMs 20 and 21, and the terminal C of each of the EEPROMs 20 and 21 is
A signal Chip Enable / is commonly input to E.

【0015】選択手段23は、カウンタ22の出力する
警告信号OVFを一方の入力端子にそれぞれ入力する第
1のゲート回路を形成する2個の2入力ORゲート23
a,23bと、警告信号OVFの論理を反転させた信号
を一方の入力端子に入力する第2のゲート回路を形成す
る構成する2個の2入力ORゲート23c,23dとで
構成されている。ORゲート23aの他方の端子には、
信号Output Enable/が入力される接続であり、該ORゲ
ート23aの出力端子が、EEPROM20の端子OE
1/に接続されている。ORゲート23bの他方の端子
には、信号Write Enable/ が入力される接続であり、該
ORゲート23bの出力端子が、EEPROM20の端
子WE1/に接続されている。ORゲート23cの他方
の端子には、信号Output Enable/ が入力される接続で
あり、該ORゲート23cの出力端子が、EEPROM
21の端子OE2/に接続されている。ORゲート23
dの他方の端子には、信号Write Enable/ が入力される
接続になっており、該ORゲート23dの出力端子が、
EEPROM21の端子WE2/に接続されている。
The selection means 23 comprises two two-input OR gates 23 forming a first gate circuit for inputting the warning signal OVF output from the counter 22 to one input terminal.
a and 23b, and two two-input OR gates 23c and 23d forming a second gate circuit for inputting a signal obtained by inverting the logic of the warning signal OVF to one input terminal. The other terminal of the OR gate 23a
This is a connection to which the signal Output Enable / is input. The output terminal of the OR gate 23a is connected to the terminal OE of the EEPROM 20.
Connected to 1 /. The other terminal of the OR gate 23b is a connection to which the signal Write Enable / is input, and the output terminal of the OR gate 23b is connected to the terminal WE1 / of the EEPROM 20. The other terminal of the OR gate 23c is connected to receive the signal Output Enable /, and the output terminal of the OR gate 23c is connected to the EEPROM.
21 terminal OE2 /. OR gate 23
The other terminal of d is connected to receive the signal Write Enable /, and the output terminal of the OR gate 23d is
It is connected to the terminal WE2 / of the EEPROM 21.

【0016】図4は、図3の動作を示すタイムチャート
であり、この図4を参照しつつ、図3の半導体記憶装置
の動作を説明する。図4には、2つの期間T3,T4に
おける各端子AD,CE/,OE1/,OE2/,WE
1/,WE2/,I/O上の信号と、警告信号OVFの
波形が示されている。EEPROM20の各メモリセル
の書替え可能回数は、例えば104程度が限界である
が、カウンタ22は、アドレスAddress と信号Write En
able/とから、EEPROM20の各メモリセルにおけ
る書替え回数を計数している。その期間T3は、例えば
EEPROM20中の複数のメモリセルにおける書替え
回数が、いずれも限界に達していない期間である。期間
T4は、例えばアドレスAddress で指定されるメモリセ
ルの書替え回数が、限界に達する期間を示している。
FIG. 4 is a time chart showing the operation of FIG. 3. The operation of the semiconductor memory device of FIG. 3 will be described with reference to FIG. FIG. 4 shows terminals AD, CE /, OE1 /, OE2 //, WE in two periods T3, T4.
The waveforms of the signals on 1 /, WE2 /, I / O and the warning signal OVF are shown. Rewritable times of the memory cells of the EEPROM20 is, for example, 10 about 4 is the limit, the counter 22, the address Address signal Write En
The number of rewrites in each memory cell of the EEPROM 20 is counted from “able /”. The period T3 is a period in which, for example, the number of rewrites in a plurality of memory cells in the EEPROM 20 has not reached the limit. The period T4 indicates a period in which the number of rewrites of the memory cell specified by the address “Address” reaches the limit, for example.

【0017】期間T3において、カウンタ22は“H”
レベルの警告信号OVFを発生せず、該カウンタ22の
出力信号は“L”レベルである。この状態で、外部から
例えば“0”番のアドレスAddress が与えられると共
に、信号Chip Enable/が有効な“L”になると、EEP
ROM20,21は、“0”番のメモリセルに格納した
情報の書替え、またはその情報の読出しが可能な状態に
なる。図4のように、信号Write Enable/ が有効の
“L”レベルになって与えられると、カウンタ22の出
力信号は“L”レベルなので、該信号Write Enable/ の
レベルがORゲート23bを介してEEPROM20の
端子WE1/に与えられ、このときに端子I/Oに与え
られた情報Dataが“0”番のメモリセルに書き込まれ
る。つまり、その“0”番のメモリセルにおける情報が
書替えられる。ところが、ORゲート23dは、カウン
タ22の出力信号が“L”レベルなので、有効な“L”
レベルの信号Write Enable/ をEEPROM21の端子
WE2/に与えない。即ち、選択手段23によって選択
されて、期間T3では、EEPROM21に対する書替
えは行われない。EEPROM20,21に対して読出
を行う場合には、信号Output Enable/が有効な“L”レ
ベルに設定されるが、この期間T3では、選択手段23
によって選択されて、EEPROM20中のメモリセル
に対する読出しは行われるが、EEPROM21中のメ
モリセルに対する読出しは、行われない。
In the period T3, the counter 22 outputs "H".
No level warning signal OVF is generated, and the output signal of the counter 22 is at "L" level. In this state, when the address “0”, for example, is given from the outside and the signal Chip Enable / becomes valid “L”, the EEP
The ROMs 20 and 21 are in a state where the information stored in the memory cell of the number “0” can be rewritten or the information can be read. As shown in FIG. 4, when the signal Write Enable / is given a valid "L" level and given, since the output signal of the counter 22 is at the "L" level, the level of the signal Write Enable / is supplied via the OR gate 23b. The data is given to the terminal WE1 / of the EEPROM 20, and the information Data given to the terminal I / O at this time is written to the memory cell of the number "0". That is, the information in the “0” -th memory cell is rewritten. However, since the output signal of the counter 22 is at the "L" level, the OR gate 23d outputs a valid "L" signal.
The level signal Write Enable / is not supplied to the terminal WE2 / of the EEPROM 21. That is, the data is not rewritten to the EEPROM 21 in the period T3 after being selected by the selection unit 23. When data is read from the EEPROMs 20 and 21, the signal Output Enable / is set to a valid "L" level.
, The read operation on the memory cell in the EEPROM 20 is performed, but the read operation on the memory cell in the EEPROM 21 is not performed.

【0018】期間T4において、外部から“0”番のア
ドレスAddress が与えられると共に、信号Chip Enable/
が有効な“L”になると、EEPROM20,21は、
“0”番のメモリセルに格納した情報の書替えまたは読
出しが可能な状態になるが、替え回数を計数しているカ
ウンタ22が、“0”番のメモリセルに対する書替え回
数が限界に達したこと検出して“H”レベルの警告信号
OVFを発生する。このときに、信号Write Enable/ が
有効“L”レベルになっても、ORゲート23bがそれ
を通さず、EEPROM20の端子WE1/は“H”レ
ベルに維持される。一方、ORゲート23dは、有効な
“L”レベルの信号Write Enable/ をEEPROM21
の端子WE2/に与える。そのため、このときにEEP
ROM21の端子I/Oに与えられた情報Dataにより、
該EEPROM21における“0”番のメモリセルが書
替えられる。以降、カウンタ22は“H”レベルの警告
信号OVFを出力し続けるので、EEPROM20の書
替えが行われることはない。EEPROM20,21に
対して読出を行う場合には、信号Output Enable/が有効
な“L”レベルに設定されるが、この期間T4以降で
は、選択手段23によって選択されて、EEPROM2
1中のメモリセルに対する読出しは行われるが、EEP
ROM20中のメモリセルに対する読出しは、行われな
い。
In a period T4, an address "0" is externally supplied and a signal Chip Enable /
Becomes effective "L", the EEPROMs 20 and 21
It becomes possible to rewrite or read the information stored in the memory cell of "0", but the counter 22 counting the number of rewrites indicates that the number of rewrites for the memory cell of "0" has reached the limit. Upon detection, an "H" level warning signal OVF is generated. At this time, even if the signal Write Enable / becomes valid "L" level, the OR gate 23b does not pass through it, and the terminal WE1 / of the EEPROM 20 is maintained at "H" level. On the other hand, the OR gate 23d outputs a valid “L” level signal Write Enable / to the EEPROM 21.
To the terminal WE2 /. Therefore, at this time EEP
By the information Data given to the terminal I / O of the ROM 21,
The “0” -th memory cell in the EEPROM 21 is rewritten. Thereafter, since the counter 22 continues to output the "H" level warning signal OVF, the EEPROM 20 is not rewritten. When data is read from the EEPROMs 20 and 21, the signal Output Enable / is set to a valid "L" level.
1 is read out, but the EEP
Reading from the memory cells in the ROM 20 is not performed.

【0019】以上のように、この第2の実施形態の半導
体記憶装置によれば、アドレスAddress で書替え及び読
出しが指定されるメモリセルを有するEEPROM20
の他に、EEPROM21を設けると共に、第1の実施
形態のカウンタ11と同様に機能するカウンタ22と、
ORゲート23a〜23dからなる選択手段23とを設
け、該EEPROM20におけるメモリセルの書替え回
数が限界に達っした場合には、EEPROM21に情報
を格納するようにしている。そのため、半導体記憶装置
に格納した情報Dataの書替え可能回数が、アドレスAddr
ess やチップイネーブル信号Chip Enable/の変更を行わ
なくても、従来や第1の実施形態の半導体記憶装置に比
べて2倍(例えば、104 ×2回)になる。
As described above, according to the semiconductor memory device of the second embodiment, the EEPROM 20 having the memory cells whose rewriting and reading are designated by the address Address is performed.
In addition to the above, an EEPROM 21 is provided, and a counter 22 that functions in the same manner as the counter 11 of the first embodiment,
A selection means 23 comprising OR gates 23a to 23d is provided, and when the number of times of rewriting of memory cells in the EEPROM 20 reaches a limit, information is stored in the EEPROM 21. Therefore, the number of rewritable times of the information Data stored in the semiconductor memory device is equal to the address Addr.
Even if the ess and the chip enable signal Chip Enable / are not changed, the number becomes twice (for example, 10 4 × 2) as compared with the semiconductor memory device of the related art and the first embodiment.

【0020】第3の実施形態 図5は、本発明の第3の実施形態を示す半導体記憶装置
の構成図である。この半導体記憶装置は、チップイネー
ブル信号Chip Enable/とアドレスAddress とを共通に入
力してそれらを共有する第1のEEPROM31及び第
2のEEPROM32と、第1のカウンタ33と、第1
の禁止手段34と、第2のカウンタ35と、第2の禁止
手段36とを備えている。EEPROM31,32とカ
ウンタ33は、第2の実施形態におけるEEPROM2
0,21及びカウンタ22と同様の構成になっている。
カウンタ35は、アドレスAddress と信号Write Enable
/ と、カウンタ32の出力する警告信号OVF1とを入
力し、その警告信号OVF1をスタート信号として、E
EPROM32中のメモリセルにおける書替え回数を計
数する構成になっている。カウンタ35は、EEPRO
M32中のメモリセルにおける書替え回数が限界になっ
た場合に警告信号OVF2を発生する機能を有してい
る。
Third Embodiment FIG. 5 is a configuration diagram of a semiconductor memory device according to a third embodiment of the present invention. In this semiconductor memory device, a first EEPROM 31 and a second EEPROM 32 which commonly receive and share a chip enable signal Chip Enable / and an address Address, a first counter 33, a first counter 33,
, A second counter 35, and a second prohibiting unit 36. The EEPROMs 31 and 32 and the counter 33 correspond to the EEPROM 2 in the second embodiment.
It has the same configuration as 0, 21 and the counter 22.
The counter 35 has an address Address and a signal Write Enable.
/ And the warning signal OVF1 output from the counter 32, and the warning signal OVF1 is
The configuration is such that the number of rewrites in the memory cells in the EPROM 32 is counted. The counter 35 is EEPRO
It has a function of generating a warning signal OVF2 when the number of rewrites in the memory cell in M32 reaches the limit.

【0021】第1の禁止手段34は、カウンタ33の出
力する警告信号OVF1を一方の入力端子にそれぞれ入
力するORゲート34a,34bで構成されている。O
Rゲート34aの他方の端子には、信号Output Enable/
が入力される接続であり、該ORゲート34aの出力端
子が、EEPROM31の端子OE1/に接続されてい
る。ORゲート34bの他方の端子には、信号Write En
able/ が入力される接続であり、該ORゲート34bの
出力端子が、EEPROM31の端子WE1/に接続さ
れている。第2の禁止手段36は、カウンタ35の出力
する警告信号OVF2を一方の入力端子にそれぞれ入力
するORゲート36a,36bで構成されている。OR
ゲート36aの他方の端子には、信号Output Enable/が
入力される接続であり、該ORゲート36aの出力端子
が、EEPROM32の端子OE2/に接続されてい
る。ORゲート36bの他方の端子には、信号Write En
able/ が入力される接続であり、該ORゲート36bの
出力端子が、EEPROM32の端子WE2/に接続さ
れている。
The first prohibiting means 34 comprises OR gates 34a and 34b for inputting the warning signal OVF1 output from the counter 33 to one input terminal. O
The other terminal of the R gate 34a has a signal Output Enable /
Is input, and the output terminal of the OR gate 34a is connected to the terminal OE1 / of the EEPROM 31. The signal Write En is connected to the other terminal of the OR gate 34b.
"able /" is input, and the output terminal of the OR gate 34b is connected to the terminal WE1 / of the EEPROM 31. The second prohibiting means 36 includes OR gates 36a and 36b for inputting the warning signal OVF2 output from the counter 35 to one input terminal. OR
The other terminal of the gate 36a is a connection to which the signal Output Enable / is input, and the output terminal of the OR gate 36a is connected to the terminal OE2 / of the EEPROM 32. The other terminal of the OR gate 36b has a signal Write En
"able /" is input, and the output terminal of the OR gate 36b is connected to the terminal WE2 / of the EEPROM 32.

【0022】図6は、図5の動作を示すタイムチャート
であり、この図6を参照しつつ、図5の半導体記憶装置
の動作を説明する。図6には、3つの期間T5,T6,
T7における各端子AD,CE/,OE1/,OE2,
WE1/,WE2/,I/O上の信号と、警告信号OV
F1,OVF2の波形が示されている。EEPROM3
1の各メモリセルの書替え可能回数は、例えば104
度が限界であるが、カウンタ33は、アドレスAddress
と信号Write Enable/ とから、EEPROM31の各メ
モリセルにおける書替え回数を計数している。図6の期
間T5は、例えばEEPROM31中の複数のメモリセ
ルにおける書替え回数が、いずれも限界に達していない
期間である。期間T6は、例えばアドレスAddress で指
定されるEEPROM31中のメモリセルが、書替え回
数の限界に達する期間を示している。期間T7は、EE
PROM31,32の両方で書替え回数の限界に達した
番地のメモリセルがある期間を示している。
FIG. 6 is a time chart showing the operation of FIG. 5, and the operation of the semiconductor memory device of FIG. 5 will be described with reference to FIG. FIG. 6 shows three periods T5, T6,
Each terminal AD, CE /, OE1 /, OE2 at T7
Signals on WE1 /, WE2 //, I / O and warning signal OV
The waveforms of F1 and OVF2 are shown. EEPROM3
The maximum number of rewrites of each memory cell is, for example, about 10 4.
The number of rewrites in each memory cell of the EEPROM 31 is counted from the signal Write Enable /. The period T5 in FIG. 6 is a period in which, for example, the number of rewrites in a plurality of memory cells in the EEPROM 31 has not reached the limit. The period T6 indicates a period in which, for example, the memory cell in the EEPROM 31 specified by the address “Address” reaches the limit of the number of rewrites. The period T7 is EE
In both the PROMs 31 and 32, there is a period in which there is a memory cell at an address where the number of rewrites has reached the limit.

【0023】期間T5において、EEPROM31で書
替え回数の限界に達したメモリセルが無い場合、該EE
PROM31に対する書替え動作は、第2の実施形態と
同様である。カウンタ33が、その時の書替え回数を計
数する。期間T6において、カウンタ33が、EEPR
OM31中の例えば“0”のアドレスに対応するメモリ
セルが書替え回数の限界になったことを検出して、
“H”レベルの警告信号OVF1を発生する。その警告
信号OVF1がカウンタ35に与えられ、それまで
“H”レベルを出力していたカウンタ35が計数を開始
して、“L”レベルの信号を出力する。即ち、警告信号
OVF1がカウンタ35のスタート信号になる。カウン
タ33が“H”の警告信号OVF1を出力することによ
り、第1の禁止手段34は、EEPROM31の端子O
E1/,WE1/に与える信号Output Enable/,Write
Enable/ を強制的に無効の“H”レベルに設定し、書替
えと読出しを禁止する。逆に、カウンタ35が“L”の
信号を出力することにより、第2の禁止手段36は、E
EPROM32の端子OE2/,WE2/に与える信号
Output Enable/,Write Enable/ をそのまま端子OE2
/,WE2/に与える。そのため、EEPROM32に
対する書替えと読出しとが行われる。
In the period T5, if no memory cell in the EEPROM 31 has reached the limit of the number of rewrites,
The rewriting operation for the PROM 31 is the same as in the second embodiment. The counter 33 counts the number of rewrites at that time. In the period T6, the counter 33 sets the EEPR
Detecting that the memory cell corresponding to the address “0” in the OM 31 has reached the limit of the number of rewrites,
An "H" level warning signal OVF1 is generated. The warning signal OVF1 is given to the counter 35, and the counter 35 which has been outputting the "H" level starts counting and outputs an "L" level signal. That is, the warning signal OVF1 becomes a start signal of the counter 35. When the counter 33 outputs the warning signal OVF1 of “H”, the first prohibiting means 34 makes the terminal O of the EEPROM 31
Signal Output Enable /, Write to E1 /, WE1 /
Forcibly set Enable / to an invalid “H” level to prohibit rewriting and reading. Conversely, when the counter 35 outputs a signal of “L”, the second prohibiting means 36
Signal given to terminals OE2 // WE2 // of EPROM 32
Output Enable /, Write Enable / are connected to terminal OE2
/, WE2 /. Therefore, rewriting and reading of the EEPROM 32 are performed.

【0024】期間T7において、カウンタ35の計数に
よって、EEPROM32でも書替え回数が限界に達し
たメモリセルが検出された場合には、カウンタ35が
“H”レベルの警告信号OVF2を発生する。この状態
では、第2の禁止手段36は、EEPROM32の端子
OE2/,WE2/に与える信号Output Enable/,Writ
e Enable/ を強制的に無効の“H”レベルに設定し、書
替えと読出しとを禁止する。以上のように、この第3の
実施形態では、EEPROM32と、カウンタ33の警
告信号OVF1をスタート信号とするカウンタ35と、
これらに対応する禁止手段36を設けたので、第2の実
施形態と同様に、EEPROMの書替え可能回数が見掛
け上増加すると共に、EEPROM32で書替えができ
なくなった場合でも、警告信号OVF2を発生して書替
えを禁止できるようになる。
In the period T7, when the counter 35 detects a memory cell whose number of rewrites has reached the limit in the EEPROM 32, the counter 35 generates an "H" level warning signal OVF2. In this state, the second prohibiting means 36 outputs the signals Output Enable /, Writ to the terminals OE2 /, WE2 / of the EEPROM 32.
e Enable / is forcibly set to the invalid "H" level, and rewriting and reading are prohibited. As described above, in the third embodiment, the EEPROM 32, the counter 35 that uses the warning signal OVF1 of the counter 33 as a start signal,
Since the prohibiting means 36 corresponding to these is provided, similarly to the second embodiment, the number of times the EEPROM can be rewritten is apparently increased, and the warning signal OVF2 is generated even if the EEPROM 32 cannot be rewritten. Rewriting can be prohibited.

【0025】第4の実施形態 図7は、本発明の第4の実施形態を示す半導体記憶装置
の構成図である。この半導体記憶装置は、チップイネー
ブル信号Chip Enable/とアドレスAddress とを共通に入
力してそれらを共有する第2の実施形態と同様の第1の
EEPROM41及び第2のEEPROM42と、第2
の実施形態とは異なるカウンタ43と、該カウンタ43
の出力側に接続された選択回路44と、切替え回路であ
るゲート部45,46とを、備えている。カウンタ43
はEEPROM41中の各メモリセルに対応する複数の
出力端子を有し、信号Write Enable/ とアドレスAddres
s とを入力し、EEPROM43の各メモリセルにおけ
る書替え回数をそれぞれ計数し、書替え回数が限界に達
したメモリセルに関しては警告信号を出力端子から出力
し、限界に達していないメモリセルに対しては、警告信
号を発生しない構成になっている。選択回路44は、カ
ウンタ43の出力信号に基づき、その時点で与えられた
アドレスAddress に対応するメモリセルをEEPROM
41またはEEPROM42から選択させる選択信号を
出力するようになっている。
Fourth Embodiment FIG. 7 is a configuration diagram of a semiconductor memory device according to a fourth embodiment of the present invention. This semiconductor memory device includes a first EEPROM 41 and a second EEPROM 42 similar to those in the second embodiment, in which a chip enable signal Chip Enable / and an address Address are commonly input and shared.
A counter 43 different from the embodiment of FIG.
And a selection circuit 44, which is connected to the output side, and gate units 45 and 46 as switching circuits. Counter 43
Has a plurality of output terminals corresponding to each memory cell in the EEPROM 41, and outputs a signal Write Enable / and an address Addres.
s is input, the number of rewrites in each memory cell of the EEPROM 43 is counted, and a warning signal is output from an output terminal for a memory cell in which the number of rewrites has reached a limit. , No warning signal is generated. The selection circuit 44 stores the memory cell corresponding to the address “Address” given at that time based on the output signal of the counter 43 into the EEPROM.
A selection signal for selection is output from the EEPROM 41 or the EEPROM 42.

【0026】ゲート部45は、選択回路44の選択信号
を一方の入力端子にそれぞれ入力するORゲート45
a,45b,45cで構成されている。ORゲート45
aの他方の端子には、信号Chip Enable/が入力される接
続であり、該ORゲート45aの出力端子がEEPRO
M41の端子CE1/に接続されている。ORゲート4
5bの他方の端子には、信号Output Enable/が入力され
る接続であり、該ORゲート45bの出力端子が、EE
PROM41の端子OE1/に接続されている。ORゲ
ート45cの他方の端子には、信号Write Enable/ が入
力される接続であり、該ORゲート45cの出力端子
が、EEPROM41の端子WE1/に接続されてい
る。ゲート部46は、選択回路44の選択信号を反転し
て一方の入力端子にそれぞれ入力するORゲート46
a,46b,46cで構成されている。ORゲート46
aの他方の端子には、信号Chip Enable/が入力される接
続であり、該ORゲート46aの出力端子がEEPRO
M42の端子CE2/に接続されている。ORゲート4
6bの他方の端子には、信号Output Enable/が入力され
る接続であり、該ORゲート46bの出力端子が、EE
PROM42の端子OE2/に接続されている。ORゲ
ート46cの他方の端子には、信号Write Enable/ が入
力される接続であり、該ORゲート46cの出力端子
が、EEPROM42の端子WE2/に接続されてい
る。
The gate section 45 is an OR gate 45 for inputting a selection signal of the selection circuit 44 to one input terminal.
a, 45b and 45c. OR gate 45
The other terminal of the OR gate 45a is connected to receive the signal Chip Enable /, and the output terminal of the OR gate 45a is EEPRO
It is connected to the terminal CE1 / of M41. OR gate 4
5b is a connection to which the signal Output Enable / is input, and the output terminal of the OR gate 45b is connected to the EE
It is connected to the terminal OE1 / of the PROM 41. The other terminal of the OR gate 45c is a connection for inputting the signal Write Enable /, and the output terminal of the OR gate 45c is connected to the terminal WE1 / of the EEPROM 41. The gate unit 46 is an OR gate 46 that inverts the selection signal of the selection circuit 44 and inputs the inverted signal to one input terminal.
a, 46b and 46c. OR gate 46
is connected to receive the signal Chip Enable /, and the output terminal of the OR gate 46a is connected to the EEPRO
M42 is connected to terminal CE2 /. OR gate 4
The output terminal of the OR gate 46b is connected to the other terminal of the OR gate 46b.
It is connected to terminal OE2 / of PROM42. The other terminal of the OR gate 46c is a connection for inputting the signal Write Enable /, and the output terminal of the OR gate 46c is connected to the terminal WE2 / of the EEPROM 42.

【0027】図8は、図7の動作を示すタイムチャート
であり、この図8を参照しつつ、図7の半導体記憶装置
の動作を説明する。図8には、3つの期間T8,T9,
T10における各端子AD,CE1/,CE2/,OE
1/,OE2/,WE1/,WE2/,I/O上の波形
が示されている。EEPROM41の各メモリセルの書
替え可能回数は、例えば104 程度が限界であるが、カ
ウンタ43は、アドレスAddress と信号Write Enable/
とから、EEPROM41の各メモリセルにおける書替
え回数をそれぞれ計数している。期間T8は、アドレス
Address で“0”番のメモリセルが指定され、かつ、そ
のEEPROM41の“0”番のメモリセルが、書替え
回数の限界に達していない状態を示している。その期間
T8では、EEPROM41中のアドレスAddress の
“0”番に対応するメモリセルが書替え可能なので、カ
ウンタ43は、そのメモリセルに対しては警告信号を発
生させていない。選択回路44は、カウンタ43の出力
信号に基づき、そのとき与えられたアドレスAddress の
“0”番に対応するメモリセルをEEPROM41から
選択するために“L”レベルの選択信号を各ORゲート
45a〜45cに与えると共に、“H”レベルの信号を
ORゲート46a〜46cに与える。この状態で信号Ch
ip Enable/とWrite Enable/ が有効な“L”レベルで与
えられると、端子WE1/は、“L”となり、端子WE
2は強制的に“H”に設定される。その結果、EEPR
OM41の“0”番のメモリセルに対して書替えが行わ
れる。
FIG. 8 is a time chart showing the operation of FIG. 7. The operation of the semiconductor memory device of FIG. 7 will be described with reference to FIG. FIG. 8 shows three periods T8, T9,
Each terminal AD, CE1 /, CE2 //, OE at T10
Waveforms on 1 /, OE2 //, WE1 /, WE2 //, I / O are shown. The number of rewrites of each memory cell of the EEPROM 41 is limited to, for example, about 10 4.
Thus, the number of rewrites in each memory cell of the EEPROM 41 is counted. The period T8 is an address
This shows a state where the memory cell of “0” is designated by Address and the memory cell of “0” of the EEPROM 41 has not reached the limit of the number of rewrites. In the period T8, since the memory cell corresponding to the address "0" in the EEPROM 41 can be rewritten, the counter 43 does not generate a warning signal for the memory cell. Based on the output signal of the counter 43, the selection circuit 44 applies an "L" level selection signal to each of the OR gates 45a to 45b in order to select a memory cell corresponding to "0" of the given address "Address" from the EEPROM 41 at that time. 45c and an "H" level signal to OR gates 46a-46c. In this state, the signal Ch
When ip Enable / and Write Enable / are given at a valid “L” level, the terminal WE1 / becomes “L” and the terminal WE
2 is forcibly set to "H". As a result, EEPR
Rewriting is performed on the “0” -th memory cell of the OM 41.

【0028】図8に示された期間T9は、すでに、EE
PROM41の“0”番のメモリセルが書替え回数の限
界に達している場合を示している。このときには、カウ
ンタ43は、計数の結果に基づき、EEPROM41の
“0”番のメモリセルに対して警告信号を発生してい
る。そのため、選択回路44は、カウンタ43の出力信
号に基づき、そのとき与えられたアドレスAddress の
“0”番に対応するメモリセルをEEPROM42から
選択するために“H”レベルの選択信号を各ORゲート
45a〜45cに与えると共に、“L”レベルの信号を
ORゲート46a〜46cに与える。この状態で信号Ch
ip Enable/とWrite Enable/ が有効な“L”レベルで与
えられると、端子WE1/は、強制的に“H”レベルと
なり、端子WE2は“L”レベルに設定される。その結
果、EEPROM42の“0”番のメモリセルに対して
書替えが行われる。
The period T9 shown in FIG.
This shows a case where the “0” -th memory cell of the PROM 41 has reached the limit of the number of rewrites. At this time, the counter 43 generates a warning signal for the “0” -th memory cell of the EEPROM 41 based on the counting result. Therefore, based on the output signal of the counter 43, the selection circuit 44 applies an "H" level selection signal to each OR gate in order to select a memory cell corresponding to the "0" of the given address "Address" from the EEPROM 42. 45A to 45c and an "L" level signal to OR gates 46a to 46c. In this state, the signal Ch
When ip Enable / and Write Enable / are given at a valid “L” level, the terminal WE1 / is forcibly set to the “H” level, and the terminal WE2 is set to the “L” level. As a result, rewriting is performed on the memory cell of the number “0” of the EEPROM 42.

【0029】期間T9の後の期間T10は、既に、EE
PROM41中の“0”番のメモリセルは書替え回数の
限界に達しているが、EEPROM41中の“1”番の
メモリセルは、まだ書替え回数の限界に達していなとき
に、アドレスAddress が“1”を指定した状態である。
この期間T10では、EEPROM41中のアドレスAd
dress の“1”番に対応するメモリセルが書替えが可能
なので、カウンタ43は、そのメモリセルに対しては警
告信号を発生させていない。選択回路44は、カウンタ
43の出力信号に基づき、そのとき与えられたアドレス
Address の“1”番に対応するメモリセルをEEPRO
M41から選択するため“L”レベルの選択信号を各O
Rゲート45a〜45cに与えると共に、“H”レベル
の信号をORゲート46a〜46cに与える。この状態
で信号Chip Enable/とWrite Enable/ が有効な“L”レ
ベルで与えられると、端子WE1/は、“L”となり、
端子WE2は強制的に“H”が設定される。その結果、
EEPROM41の“1”番のメモリセルに対して書替
えが行われ、該メモリセルにその時点で端子I/Oから
入力された情報Dataが書込まれる。アドレスAddress で
指定されてEEPROM41,42中のメモリセルから
情報Dataを読出す場合も、同様に、選択されたEEPR
OM41,42から情報Dataが読出される。
The period T10 after the period T9 has already been set to the EE
While the “0” memory cell in the PROM 41 has reached the limit of the number of rewrites, the “1” memory cell in the EEPROM 41 has the address “1” when the number of rewrites has not yet reached the limit. "Is specified.
In this period T10, the address Ad in the EEPROM 41 is
Since the memory cell corresponding to the number "1" of the dress is rewritable, the counter 43 does not generate a warning signal for that memory cell. The selection circuit 44 determines the address given at that time based on the output signal of the counter 43.
The memory cell corresponding to address “1” is EEPRO
To select from M41, an "L" level selection signal is applied to each O.
The signal is applied to R gates 45a to 45c and an "H" level signal is applied to OR gates 46a to 46c. In this state, when the signals Chip Enable / and Write Enable / are given at valid “L” levels, the terminal WE1 / becomes “L”,
The terminal WE2 is forcibly set to "H". as a result,
Rewriting is performed on the "1" th memory cell of the EEPROM 41, and the information Data input from the terminal I / O at that time is written in the memory cell. Similarly, when information Data is read from the memory cells in the EEPROMs 41 and 42 specified by the address Address, the selected EEPROM is similarly read.
Information Data is read from the OMs 41 and 42.

【0030】以上のように、この第4の実施形態では、
EEPROM41中のメモリセルの書替え回数を計数
し、各メモリセルごとに警告信号を発生するカウンタ4
3と、選択回路44と、ゲート部45,46からなる切
替え回路を設けたので、アドレスAddress が指定した
“0”番に対応するEEPROM41中のメモリセル
が、書替え回数の限界に達した場合のみに、EEPRO
M42が使用されることになり、EEPROM41中の
メモリセルを無駄なく使用できると共に、半導体記憶装
置全体の書替え可能回数を伸ばすことができる。
As described above, in the fourth embodiment,
A counter 4 for counting the number of rewrites of the memory cells in the EEPROM 41 and generating a warning signal for each memory cell
3, the selector circuit 44, and the switching circuit including the gate sections 45 and 46 are provided, so that the memory cell in the EEPROM 41 corresponding to the number "0" designated by the address "Address" only reaches the limit of the number of rewrites. And EEPRO
Since M42 is used, the memory cells in the EEPROM 41 can be used without waste, and the number of rewritable times of the entire semiconductor memory device can be increased.

【0031】なお、本発明は、上記実施形態に限定され
ず種々の変形が可能である。その変形例としては、例え
ば次のようなものがある。 (1) 第1の実施形態では、書替えを禁止する際に、
ORゲート12が信号Write Enable/ を強制的に無効の
“H”レベルにするが、信号Chip Enable/を強制的に
“H”にするようにしてもよい。 (2) 第3の実施形態では、EEPROM31に追加
するEEPROM32及びカウンタ35を1組としてい
るが、任意数段追加し、それぞれのカウンタ35が前段
の警告信号OVF2をスタート信号とする構成にしても
よい。この場合、半導体記憶装置における書替え回数の
限界が、その段数分だけ増加する。
The present invention is not limited to the above embodiment, but can be variously modified. For example, there are the following modifications. (1) In the first embodiment, when prohibiting rewriting,
Although the OR gate 12 forcibly sets the signal Write Enable / to the invalid “H” level, the signal Chip Enable / may be forcibly set to “H”. (2) In the third embodiment, the EEPROM 32 and the counter 35 to be added to the EEPROM 31 are one set. However, an arbitrary number of stages may be added, and each of the counters 35 may use the preceding warning signal OVF2 as a start signal. Good. In this case, the limit of the number of rewrites in the semiconductor memory device increases by the number of stages.

【0032】[0032]

【発明の効果】以上詳細に説明したように、第1及び第
2の発明によれば、消去及び書替えが可能であり、その
可能な回数には限界があるEEPROMを備えた半導体
記憶装置に、該EEPROMにおける書替えの回数を計
数し、それが所定の値以上になった場合には警告信号を
発生するカウンタと、警告信号が発生したときに、その
EEPROMの各メモリセルに対する消去及び書替えを
強制的に無効にする禁止手段とを設けたので、警告信号
を発生しているにもかかわらず、それを見落として誤っ
て情報の書替えを行うことがなくなる。第3及び第4の
発明によれば、消去及び書替えが可能であり、その可能
な回数には限界がある第1のEEPROMを備えた半導
体記憶装置に、第2のEEPROMと、第1のEEPR
OMにおける消去及び書替えの回数を計数し、それが所
定の値以上になった場合には警告信号を発生するカウン
タと、警告信号が発生したときには、第1のEEPRO
M中の各メモリセルに対する消去及び書替えと読出しと
を禁止し、第2のEEPROM中の各メモリセルに対し
てのみ消去及び書替えと読出氏とを可能にする選択手段
とを設けたので、第1の発明と同様に誤って情報を書替
えることがなくなると共に、半導体記憶装置に格納した
情報の書替え可能回数が、第1の発明よりも増加する。
As described above in detail, according to the first and second aspects of the present invention, there is provided a semiconductor memory device having an EEPROM which can be erased and rewritten and has a limited number of times. A counter that counts the number of rewrites in the EEPROM and generates a warning signal when the number of rewrites exceeds a predetermined value. When a warning signal is generated, erasing and rewriting of each memory cell in the EEPROM are forcibly performed. Since the prohibiting means for invalidating the warning signal is provided, it is possible to prevent the warning signal from being overlooked and erroneously rewriting the information even though the warning signal is generated. According to the third and fourth aspects of the present invention, erasing and rewriting are possible, and the number of possible erasing and rewriting is limited in the semiconductor memory device including the first EEPROM.
A counter for counting the number of times of erasing and rewriting in the OM, and generating a warning signal when the number becomes equal to or more than a predetermined value; and a first EEPROM when a warning signal is generated.
Since the erasing, rewriting, and reading of each memory cell in M are prohibited and the selecting means for enabling erasing, rewriting, and reading only for each memory cell in the second EEPROM are provided, As in the first invention, the information is not erroneously rewritten, and the number of times the information stored in the semiconductor memory device can be rewritten is increased as compared with the first invention.

【0033】第5の発明によれば、消去及び書替えが可
能であり、その可能な回数に限界がある第1のEEPR
OMを備えた半導体記憶装置に、該第1のEEPROM
中の各メモリセルにおける消去及び書替えの回数を計数
し、それが限界に達した場合には、警告信号を発生する
第1のカウンタと、第1のEEPROMに対する消去及
び書替えと読出しとを禁止する第1の禁止手段と、任意
数段の第2のEEPROMと、任意数段の第2のカウン
タと、第2の禁止手段とを設けたので、半導体記憶装置
における情報の書替え可能回数が見掛け上増加すると共
に、第2のEEPROMで書替えができなくなった場合
でも、警告信号を発生して書替えを禁止できるようにな
る。
According to the fifth aspect, erasing and rewriting are possible, and the first EEPR, which has a limited number of possible erasures.
A first EEPROM in a semiconductor memory device having an OM;
The number of erasures and rewrites in each of the memory cells therein is counted, and when the number of erasures and rewrites reaches a limit, a first counter for generating a warning signal and erasing, rewriting and reading of the first EEPROM are inhibited. Since the first prohibiting means, the arbitrary number of second EEPROMs, the arbitrary number of second counters, and the second prohibiting means are provided, the number of times the information can be rewritten in the semiconductor memory device is apparently increased. With the increase, even if rewriting cannot be performed in the second EEPROM, a warning signal is generated and rewriting can be prohibited.

【0034】第6の発明は、消去及び書替えが可能であ
り、その可能な回数に限界がある第1のEEPROMを
備えた半導体記憶装置に、第2のEEPROMと、第1
のEEPROMの各メモリセルにおける消去及び書替え
の回数を計数し、それが限界に達した場合には、各メモ
リごとに警告信号を発生する第1のカウンタと、選択回
路と、切替え回路とを設けたので、第1のEEPROM
で消去及び書替えの回数が限界に達したメモリセルのみ
に、第2のEEPROMが使用されることになり、第1
のEEPROMを無駄なく使用できると共に、半導体記
憶装置全体の書替え可能回数を伸ばすことができる。
According to a sixth aspect of the present invention, there is provided a semiconductor memory device having a first EEPROM, which is capable of erasing and rewriting, and has a limited number of possible times.
A first counter for generating a warning signal for each memory when the number of erasures and rewrites in each memory cell of the EEPROM reaches a limit, and a limit signal, a selection circuit, and a switching circuit are provided. So, the first EEPROM
As a result, the second EEPROM is used only for the memory cells for which the number of times of erasing and rewriting has reached the limit.
Can be used without waste, and the number of rewritable times of the entire semiconductor memory device can be increased.

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

【図1】本発明の第1の実施形態を示す半導体記憶装置
の構成図である。
FIG. 1 is a configuration diagram of a semiconductor memory device according to a first embodiment of the present invention.

【図2】図1の動作を示すタイムチャートである。FIG. 2 is a time chart showing the operation of FIG.

【図3】本発明の第2の実施形態を示す半導体記憶装置
の構成図である。
FIG. 3 is a configuration diagram of a semiconductor memory device according to a second embodiment of the present invention.

【図4】図3の動作を示すタイムチャートである。FIG. 4 is a time chart showing the operation of FIG. 3;

【図5】本発明の第3の実施形態を示す半導体記憶装置
の構成図である。
FIG. 5 is a configuration diagram of a semiconductor memory device according to a third embodiment of the present invention.

【図6】図5の動作を示すタイムチャートである。FIG. 6 is a time chart showing the operation of FIG.

【図7】本発明の第4の実施形態を示す半導体記憶装置
の構成図である。
FIG. 7 is a configuration diagram of a semiconductor memory device according to a fourth embodiment of the present invention.

【図8】図7の動作を示すタイムチャートである。FIG. 8 is a time chart showing the operation of FIG. 7;

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

10,20,21,31,32,41,42 EEO
PROM 11,22,33,35,43 カウン
タ 12 禁止手
段(ゲート回路) 23 選択手
段 23a,23b 第1の
ゲート回路 23c,23d 第2の
ゲート回路 34 第1の
禁止手段 36 第2の
禁止手段 44 選択回
路 45,46 切替え
回路 Address アドレ
ス Chip Enable/ チップ
イネーブル信号 Output Enable/ 出力イ
ネーブル信号 Write Enable/ ライト
イネーブル信号 OVF,OVF1、OVF2 警告信
10, 20, 21, 31, 32, 41, 42 EEO
PROM 11, 22, 33, 35, 43 Counter 12 Inhibiting means (gate circuit) 23 Selecting means 23a, 23b First gate circuit 23c, 23d Second gate circuit 34 First inhibiting means 36 Second inhibiting means 44 Selection circuit 45, 46 Switching circuit Address Address Chip Enable / Chip enable signal Output Enable / Output enable signal Write Enable / Write enable signal OVF, OVF1, OVF2 Warning signal

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】 情報をそれぞれ格納する複数のメモリセ
ルを有すると共に、該メモリセルを指定するアドレスと
該メモリセルに対するアクセスを指示する制御信号とが
与えられ、該各メモリセルの情報が電気的に消去及び書
替え可能なプログラマブルROMを備えた半導体記憶装
置において、 前記アドレスを入力して、前記各メモリセルにおける前
記消去及び書替えの回数を計数し、該消去及び書替えの
回数が所定の値以上になった場合には警告信号を発生す
るカウンタと、 前記警告信号が発生したときに、前記複数のメモリセル
に対する前記消去及び書替えを強制的に無効にする禁止
手段とを、設けたことを特徴とする半導体記憶装置。
A plurality of memory cells each storing information; an address designating the memory cell; and a control signal designating access to the memory cell. The information of each memory cell is electrically connected. In the semiconductor memory device having a programmable ROM capable of erasing and rewriting, the address is input, the number of erasing and rewriting in each of the memory cells is counted, and the number of erasing and rewriting is equal to or more than a predetermined value. A counter that generates a warning signal when the warning signal is generated; and a prohibiting unit that forcibly invalidates the erasing and rewriting of the plurality of memory cells when the warning signal is generated. Semiconductor storage device.
【請求項2】 前記禁止手段は、前記警告信号が発生し
たときに、前記制御信号を強制的に無効にするゲート回
路で構成したことを特徴とする請求項1記載の半導体記
憶装置。
2. The semiconductor memory device according to claim 1, wherein said inhibiting means comprises a gate circuit for forcibly invalidating said control signal when said warning signal is generated.
【請求項3】 情報をそれぞれ格納する複数のメモリセ
ルを有すると共に、該メモリセルを指定するアドレスと
該メモリセルに対するアクセスを指示する制御信号とが
与えられ、該各メモリセルの情報が電気的に消去及び書
替え可能な第1のプログラマブルROMを備えた半導体
記憶装置において、 情報をそれぞれ格納する複数のメモリセルを有すると共
に、前記アドレスと前記制御信号とが与えられ、該各メ
モリセルの情報が電気的に消去及び書替え可能な第2の
プログラマブルROMと、 前記アドレスを入力し、前記第1のプログラマブルRO
M中の各メモリセルにおける前記消去及び書替えの回数
を計数し、該消去及び書替え回数が所定の値以上になっ
た場合には警告信号を発生するカウンタと、 前記警告信号が発生したときには、前記第1のプログラ
マブルROM中の複数のメモリセルに対する前記消去及
び書替えと読出しとを無効とし、前記第2のプログラマ
ブルROM中の各メモリセルに対する該消去及び書替え
と読出しのみを可能にする選択手段とを、設けたことを
特徴とする半導体記憶装置。
A plurality of memory cells each storing information; an address designating the memory cells; and a control signal designating access to the memory cells. The information of each memory cell is electrically stored. A semiconductor memory device having a first programmable ROM that can be erased and rewritten has a plurality of memory cells each storing information, the address and the control signal are provided, and the information of each memory cell is An electrically erasable and rewritable second programmable ROM, the address being input, and the first programmable RO
A counter that counts the number of times of erasing and rewriting in each memory cell in M, and generates a warning signal when the number of times of erasing and rewriting is equal to or greater than a predetermined value; Selecting means for invalidating the erase, rewrite, and read for a plurality of memory cells in the first programmable ROM, and enabling only the erase, rewrite, and read for each memory cell in the second programmable ROM; , A semiconductor memory device.
【請求項4】 前記選択手段は、 前記警告信号が発生する前には、前記第1のプログラマ
ブルROMに前記制御信号をそのまま与え、該警告信号
が発生したときには、該第1のプログラマブルROMに
与える該制御信号を強制的に無効にする第1のゲート回
路と、 前記警告信号が発生する前には、前記第2のプログラマ
ブルROMに与える前記制御信号を強制的に無効にし、
該警告信号が発生したときには、該制御信号をそのまま
該第2のプログラマブルROMに与える第2のゲート回
路とで、構成したことを特徴とする請求項3記載の半導
体記憶装置。
4. The selecting means supplies the control signal to the first programmable ROM as it is before the warning signal is generated, and supplies the control signal to the first programmable ROM when the warning signal is generated. A first gate circuit forcibly disabling the control signal; and forcibly disabling the control signal to be supplied to the second programmable ROM before the warning signal is generated.
4. The semiconductor memory device according to claim 3, wherein a second gate circuit that supplies the control signal to the second programmable ROM as it is when the warning signal is generated.
【請求項5】 情報をそれぞれ格納する複数のメモリセ
ルを有すると共に、該メモリセルを指定するアドレスと
該メモリセルに対するアクセスを指示する制御信号とが
与えられ、該各メモリセルの情報が電気的に消去及び書
替え可能な第1のプログラマブルROMを備えた半導体
記憶装置において、 前記アドレスを入力し、前記第1のプログラマブルRO
M中の各メモリセルにおける前記消去及び書替えの回数
を計数し、該消去及び書替え回数が所定の値以上になっ
た場合には警告信号を発生する第1のカウンタと、 前記第1のカウンタが前記警告信号を発生したときに
は、前記第1のプログラマブルROM中の複数のメモリ
セルに対する前記消去及び書替えと読出しとを無効にす
る第1の禁止手段と、 情報をそれぞれ格納する複数のメモリセルを有すると共
に、該メモリセルを指定する前記アドレスと前記制御信
号とが与えられ、該各メモリセルの情報が電気的に消去
及び書替え可能な任意数段の第2のプログラマブルRO
Mと、 前記任意数段の第2のプログラマブルROMに対応して
それぞれ設けられ、前記アドレスとスタート信号とを入
力し、該スタート信号が与えられた後の対応する該第2
のプログラマブルROM中の各メモリセルの前記消去及
び書替え回数を計数し、該消去及び書替え回数が所定の
値以上になった場合には、警告信号を発生する任意数段
の第2のカウンタと、 前記任意数段の第2のプログラマブルROMに対応して
それぞれ設けられ、対応する前記第2のカウンタが前記
警告信号を発生したときには、対応する該第2のプログ
ラマブルROM中の複数のメモリセルに対する前記消去
及び書替えと読出しとを無効にする任意数段の第2の禁
止手段とを設け、 前記任意数段の第2のカウンタのうちの初段のカウンタ
は、前記第1のカウンタの警告信号を前記スタート信号
として入力し、該任意数段の第2のカウンタのうち他の
カウンタは、前段の第2のカウンタの前記警告信号をス
タート信号として入力する構成にしたことを特徴とする
半導体記憶装置。
5. A memory cell having a plurality of memory cells each storing information, an address designating the memory cell and a control signal designating access to the memory cell are provided, and the information of each memory cell is electrically connected. A semiconductor memory device having a first programmable ROM that can be erased and rewritten in the first memory;
A first counter that counts the number of times of erasing and rewriting in each memory cell in M, and generates a warning signal when the number of times of erasing and rewriting is equal to or greater than a predetermined value; A first prohibiting means for invalidating the erasing, rewriting, and reading of a plurality of memory cells in the first programmable ROM when the warning signal is generated; and a plurality of memory cells each storing information. At the same time, the address designating the memory cell and the control signal are provided, and the information of each memory cell can be electrically erased and rewritten in any number of second programmable ROs.
M, respectively, corresponding to the second programmable ROM of the arbitrary number of stages, receiving the address and the start signal, and receiving the address and the start signal.
Counting the number of times of erasing and rewriting of each memory cell in the programmable ROM, and when the number of erasing and rewriting becomes a predetermined value or more, a second counter of an arbitrary number of stages for generating a warning signal; When the corresponding second counter generates the warning signal, the plurality of memory cells in the corresponding second programmable ROM are provided corresponding to the arbitrary number of second programmable ROMs. Arbitrary stages of second prohibiting means for invalidating erasure, rewriting, and reading are provided, and the first one of the arbitrary number of second counters outputs a warning signal of the first counter to the first counter. Input as a start signal, and the other of the arbitrary number of second counters input the warning signal of the preceding second counter as a start signal The semiconductor memory device characterized by the.
【請求項6】 情報をそれぞれ格納する複数のメモリセ
ルを有すると共に、該メモリセルを指定するアドレスと
該メモリセルに対するアクセスを指示する制御信号とが
与えられ、該各メモリセルの情報が消去及び書替え可能
な第1のプログラマブルROMを備えた半導体記憶装置
において、 情報をそれぞれ格納する複数のメモリセルを有すると共
に、該メモリセルを指定する前記アドレスと前記制御信
号とが与えられ、該各メモリセルの情報が消去及び書替
え可能な第2のプログラマブルROMと、 前記アドレスを入力し、前記第1のプログラマブルRO
M中の各メモリセルにおける前記消去及び書替え回数を
それぞれ計数し、該各メモリセルにおける消去及び書替
え回数が所定の値以上になった場合には、その各メモリ
セル毎に警告信号を発生するカウンタと、 前記各メモリセル毎の警告信号に基づき、前記アドレス
で指定される前記第1のプログラマブルROM中のメモ
リセルが前記消去及び書替えが可能かどうかを示す選択
信号を発生する選択回路と、 前記選択信号に基づき、前記第1のプログラマブルRO
M中の前記アドレスによって指定されたメモリセルの前
記消去及び書替え回数が前記所定の値以上になっていな
い場合には、該第1のプログラマブルROMに前記制御
信号をそのまま与えると共に前記第2のプログラマブル
ROM中に与える該制御信号を無効に設定し、該アドレ
スによって指定されたメモリセルの該消去及び書替え回
数がその所定の値以上になった場合には、該第2のプロ
グラマブルROMに前記制御信号をそのまま与えると共
に該第1のプログラマブルROM中に与える該制御信号
を無効に設定する切替回路とを、設けたことを特徴とす
る半導体記憶装置。
6. A plurality of memory cells each storing information, an address designating the memory cells and a control signal designating access to the memory cells are provided, and information in each of the memory cells is erased and erased. A semiconductor memory device having a rewritable first programmable ROM, comprising: a plurality of memory cells each storing information; receiving the address designating the memory cells and the control signal; And a second programmable ROM capable of erasing and rewriting the information of the first programmable RO.
A counter that counts the number of erasures and rewrites in each memory cell in M, and generates a warning signal for each memory cell when the number of erasures and rewrites in each memory cell exceeds a predetermined value; A selection circuit that generates a selection signal indicating whether a memory cell in the first programmable ROM designated by the address is erasable and rewritable, based on a warning signal for each of the memory cells; Based on a selection signal, the first programmable RO
If the number of times of erasing and rewriting of the memory cell designated by the address in M is not equal to or more than the predetermined value, the control signal is supplied to the first programmable ROM as it is and the second programmable ROM is When the control signal given to the ROM is invalidated, and the number of times of erasing and rewriting of the memory cell specified by the address becomes equal to or more than a predetermined value, the control signal is sent to the second programmable ROM. And a switching circuit that invalidates the control signal supplied to the first programmable ROM.
JP2828698A 1998-02-10 1998-02-10 Semiconductor memory Withdrawn JPH11232885A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2828698A JPH11232885A (en) 1998-02-10 1998-02-10 Semiconductor memory

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2828698A JPH11232885A (en) 1998-02-10 1998-02-10 Semiconductor memory

Publications (1)

Publication Number Publication Date
JPH11232885A true JPH11232885A (en) 1999-08-27

Family

ID=12244377

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2828698A Withdrawn JPH11232885A (en) 1998-02-10 1998-02-10 Semiconductor memory

Country Status (1)

Country Link
JP (1) JPH11232885A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006085868A (en) * 2004-09-17 2006-03-30 Fujitsu Ltd Rewrite limiting method and semiconductor device
KR100606974B1 (en) 2004-08-09 2006-08-01 엘지.필립스 엘시디 주식회사 Circuit for Driving Liquid Crystal Display Device
JP2010211595A (en) * 2009-03-11 2010-09-24 Renesas Electronics Corp Data processor

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100606974B1 (en) 2004-08-09 2006-08-01 엘지.필립스 엘시디 주식회사 Circuit for Driving Liquid Crystal Display Device
JP2006085868A (en) * 2004-09-17 2006-03-30 Fujitsu Ltd Rewrite limiting method and semiconductor device
JP2010211595A (en) * 2009-03-11 2010-09-24 Renesas Electronics Corp Data processor

Similar Documents

Publication Publication Date Title
KR100347450B1 (en) How to control software write protection of nonvolatile memory, memory card and information processing device and nonvolatile memory using it
KR940002754B1 (en) Control method in a semiconductor integrated circuit device
US7791953B2 (en) Fast erasable non-volatile memory
US5991849A (en) Rewriting protection of a size varying first region of a reprogrammable non-volatile memory
US5890191A (en) Method and apparatus for providing erasing and programming protection for electrically erasable programmable read only memory
JPH11232885A (en) Semiconductor memory
US6535442B2 (en) Semiconductor memory capable of debugging an incorrect write to or an incorrect erase from the same
EP1271551A2 (en) Semiconductor memory device and information device
US5355336A (en) Memory device and a method for prohibiting writing to the memory device
US6711055B2 (en) Nonvolatile semiconductor memory device of dual-operation type with data protection function
JP3882628B2 (en) Memory control device and serial memory
JP2005531842A (en) Non-volatile memory writing method and system for realizing the method
JP3028567B2 (en) Microcomputer with built-in EEPROM
JP3824295B2 (en) Nonvolatile semiconductor memory device
KR100325702B1 (en) Circuit and method of erasing a flash memeory cell
KR920003271B1 (en) Memory write protection circuit by microcomputer control
JPH0697442B2 (en) Micro computer
JP4349886B2 (en) Nonvolatile memory device
US20050063243A1 (en) Decoding circuit for memory device
JPH11184833A (en) Discrimination method for write termination of microcomputer
JPH11120778A (en) Nonvolatile memory built-in microcomputer
JP2002024090A (en) Semiconductor device
JP2008171565A (en) Nonvolatile semiconductor memory device
JPH07254290A (en) Eeprom circuit
JPH05120891A (en) Semiconductor storage device

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20050510