JPH05134928A - Memory device - Google Patents

Memory device

Info

Publication number
JPH05134928A
JPH05134928A JP29398491A JP29398491A JPH05134928A JP H05134928 A JPH05134928 A JP H05134928A JP 29398491 A JP29398491 A JP 29398491A JP 29398491 A JP29398491 A JP 29398491A JP H05134928 A JPH05134928 A JP H05134928A
Authority
JP
Japan
Prior art keywords
area
address
data
word
memory
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
JP29398491A
Other languages
Japanese (ja)
Inventor
Tetsuhiko Inoue
哲彦 井上
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP29398491A priority Critical patent/JPH05134928A/en
Publication of JPH05134928A publication Critical patent/JPH05134928A/en
Pending legal-status Critical Current

Links

Landscapes

  • Storage Device Security (AREA)
  • Read Only Memory (AREA)

Abstract

PURPOSE:To provide a memory device which can reduce its installing space and also can perform the programming with high flexibility. CONSTITUTION:A memory cell array 2 is provided with a data storing area and a memory transistor serving as an access control area 10 equivalent to at least one bit and corresponding to the data storing area.

Description

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

【0001】[0001]

【産業上の利用分野】この発明は、例えば、電気的に書
き換え可能な不揮発性メモリ装置に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to, for example, an electrically rewritable nonvolatile memory device.

【0002】[0002]

【従来の技術】電気的に書き換え可能な不揮発性メモリ
装置において、誤書き換えからのメモリ保護の方法とし
て、従来例を図2に示す。図2において、1は不揮発性
メモリ装置、2は所定の単位のデータを記憶するための
領域であるワードにより構成されているメモリセルアレ
イ、2a、2bはそれぞれ誤書き換えから保護するため
にメモリセルアレイ2内に設けられた、保護するメモリ
領域の先頭を表すスタートアドレスを記憶するメモリ領
域と、終りを表すエンドアドレスを記憶するメモリ領域
である。次に、3はアドレス入力端子、4はアドレス入
力端子3より入力されたアドレスを保持するアドレスレ
ジスタ、5はアドレスレジスタ4に保持されたアドレス
を解読するアドレスデコーダである。そして、6は、ア
ドレスレジスタ4に保持されたアドレスと、メモリ領域
2a、2bに予め記憶されたスタートアドレス、エンド
アドレスとの大小を比較する比較回路、7は比較回路6
からの制御信号を判断して、書き換え、読み出し位置の
アドレスをコントロールするコントロール回路、8はデ
ータ入出力部、9はデータ入出力端子である。
2. Description of the Related Art FIG. 2 shows a conventional example as a method of protecting a memory from erroneous rewriting in an electrically rewritable nonvolatile memory device. In FIG. 2, reference numeral 1 is a non-volatile memory device, 2 is a memory cell array composed of words, which is an area for storing data of a predetermined unit, and 2a and 2b are memory cell array 2 for protecting each from erroneous rewriting. A memory area for storing a start address indicating the beginning of the protected memory area and a memory area for storing an end address indicating the end of the protected memory area. Next, 3 is an address input terminal, 4 is an address register for holding the address input from the address input terminal 3, and 5 is an address decoder for decoding the address held in the address register 4. Further, 6 is a comparison circuit for comparing the size of the address held in the address register 4 with the start and end addresses stored in advance in the memory areas 2a and 2b, and 7 is the comparison circuit 6
The control circuit 8 judges the control signal from the control circuit and controls the address of the rewriting / reading position.

【0003】次に動作について説明する。書き換えのた
めにアクセスされたアドレスがアドレス入力端子3より
入力され、アドレスレジスタ4に保持される。そこで、
予めメモリ領域2a、2bに記憶されている保護すべき
領域のスタートアドレス、エンドアドレスと、アドレス
レジスタ4に保持されているアドレスとの大小比較を比
較回路6で行い、書き換え可能領域か否かの制御信号が
コントロール回路7に送られる。アクセスされたアドレ
スが書き換え可能領域の範囲であれば、通常通り書き換
えが行われ、不可能領域の範囲であれば、書き換えが行
われないように構成されている。なお、この保護すべき
領域のスタートアドレス、エンドアドレスの書き換え
は、通常処理では使用しないようなある端子に高電圧を
加えた場合のみ行えるようになっており、誤った書き換
えが出来ないようにしている。
Next, the operation will be described. The address accessed for rewriting is input from the address input terminal 3 and held in the address register 4. Therefore,
The comparison circuit 6 compares the start and end addresses of the areas to be protected stored in the memory areas 2a and 2b in advance with the addresses held in the address register 4 to determine whether the areas are rewritable areas. The control signal is sent to the control circuit 7. If the accessed address is within the rewritable area, rewriting is performed as usual, and if it is within the unrewritable area, rewriting is not performed. Note that the start address and end address of this protected area can be rewritten only when a high voltage is applied to a certain terminal that is not used in normal processing. There is.

【0004】[0004]

【発明が解決しようとする課題】従来の不揮発性メモリ
装置は、以上のように構成されており、メモリの領域単
位で保護をしていたので、メモリ装置内に保護すべき領
域のスタートアドレス、エンドアドレスを記憶するメモ
リ領域と、それらのアドレスと書き換えのためにアクセ
スされたアドレスとの大小を比較する比較回路を備える
ことが必要であった。そのため、ソフトをプログラミン
グするにあたって必ず比較回路を考慮しなければいけな
いという制約を受けたり、比較回路を設けるスペース等
が必要になるという問題があった。
Since the conventional non-volatile memory device is configured as described above and protects in units of memory areas, the start address of the area to be protected in the memory device, It was necessary to provide a memory area for storing the end address and a comparison circuit for comparing the size of these addresses with the addresses accessed for rewriting. Therefore, there are problems that the comparison circuit must be taken into consideration when programming software, and that a space for providing the comparison circuit is required.

【0005】この発明は、上記のような問題点を解消す
るためになされたもので、メモリ装置の構造に左右され
ない、柔軟性の高いプログラミングが可能なメモリ装置
を得ることを目的としている。
The present invention has been made in order to solve the above problems, and an object thereof is to obtain a highly flexible programmable memory device which is not affected by the structure of the memory device.

【0006】[0006]

【課題を解決するための手段】この発明に係るメモリ装
置は、例えば、メモリ領域において、1データを記憶す
るための領域である各ワードに対応して、データアクセ
ス制御情報を記憶する制御領域として、メモリトランジ
スタを少なくとも1ビット分設けたものである。
A memory device according to the present invention is, for example, as a control area for storing data access control information corresponding to each word which is an area for storing one data in a memory area. The memory transistor is provided for at least one bit.

【0007】[0007]

【作用】本発明に当っては、メモリ領域に対する書込み
のアクセスがあった場合、制御領域として各ワードに少
なくとも1ビット分のメモリトランジスタを設けたこと
で、所定のワードに対するメモリトランジスタの状態に
より、該当ワードへの書き込みが可能か否かの制御が行
えるものである。
According to the present invention, when there is a write access to the memory area, each word is provided with a memory transistor for at least one bit as a control area. It is possible to control whether or not writing to the corresponding word is possible.

【0008】[0008]

【実施例】【Example】

実施例1.以下、本発明をその実施例を図面に基づき具
体的に説明する。図1は、本発明に係る不揮発性メモリ
装置のブロック図であり、1は電気的に書き換え可能な
不揮発性メモリ装置を示している。2はデータを記憶す
るワードにより構成されているメモリアレイ、3はアド
レス入力端子、4はアドレスレジスタ、5はアドレスデ
コーダ、7はコントロール回路、8はデータ入出力部、
9はデータ入出力端子、10はデータのアクセス制御情
報を記憶するアクセス制御領域を示している。
Example 1. Embodiments of the present invention will be specifically described below with reference to the drawings. FIG. 1 is a block diagram of a nonvolatile memory device according to the present invention, in which 1 denotes an electrically rewritable nonvolatile memory device. 2 is a memory array composed of words for storing data, 3 is an address input terminal, 4 is an address register, 5 is an address decoder, 7 is a control circuit, 8 is a data input / output unit,
Reference numeral 9 indicates a data input / output terminal, and 10 indicates an access control area for storing data access control information.

【0009】メモリセルアレイ2内の各ワードには、一
連のアドレスが割り当てられており、所定のアドレスに
該当するワードへのアクセスは、そのアドレスをアドレ
ス入力端子3からアドレスレジスタ4へ入力することに
より行われるようになっている。アドレス入力端子3か
らアドレスレジスタ4に入力されたアドレスは、ここに
保持され、次いでアドレスデコーダ5により、解読され
た後、メモリセルアレイ2内の該当アドレスを指定する
ようになっている。コントロール回路7はデータの書き
込みのためのアクセスか、或は、データ読みだしのため
のアクセスかを判断し、書き込みの場合は、データ入出
力端子9から入力されたデータをデータ入出力部8を通
じて該当ワードに格納し、また、読みだしの場合は、該
当ワードに記憶されているデータをデータ入出力部8を
通じてデータ入出力端子9から外部へ出力するようにな
っている。
A series of addresses are assigned to each word in the memory cell array 2, and a word corresponding to a predetermined address can be accessed by inputting the address from the address input terminal 3 to the address register 4. It is supposed to be done. The address input from the address input terminal 3 to the address register 4 is held here, and after being decoded by the address decoder 5, the corresponding address in the memory cell array 2 is designated. The control circuit 7 determines whether it is an access for writing data or an access for reading data. When writing, the data input from the data input / output terminal 9 is passed through the data input / output unit 8. When the data is stored in the word and read out, the data stored in the word is output from the data input / output terminal 9 to the outside through the data input / output unit 8.

【0010】そして、本発明にあっては、メモリセルア
レイ2には、データを格納するワードの他に、メモリト
ランジスタである少なくとも1ビット分のアクセス制御
領域10を各ワードに設けることにする。このアクセス
制御領域10が書き込み状態か消去状態であるかによっ
て、所定のワードが書き換え可能か否かを判別でき、そ
の結果の制御信号がコントロール回路7へ出力される。
In the present invention, the memory cell array 2 is provided with an access control area 10 of at least 1 bit which is a memory transistor in each word, in addition to the word for storing data. Depending on whether the access control area 10 is in the written state or the erased state, it is possible to determine whether or not a predetermined word can be rewritten, and the resulting control signal is output to the control circuit 7.

【0011】アクセス制御領域10が消去状態の場合に
ついて説明する。アクセス制御領域10が消去状態の場
合は、アクセスされたアドレスは、書き換えを必要とし
ない特定データが格納されているワードを指し示してい
ることになる。そして、アクセス制御領域10の消去状
態が、書き換え不可能なワードであることをコントロー
ル回路7へ示す制御信号となり、それにより、コントロ
ール回路7はデータ入出力部8に対し、データの書き込
みが行われないように制御する。
A case where the access control area 10 is in the erased state will be described. When the access control area 10 is in the erased state, the accessed address points to a word in which specific data that does not require rewriting is stored. Then, the erased state of the access control area 10 becomes a control signal indicating to the control circuit 7 that it is a non-rewritable word, whereby the control circuit 7 writes data to the data input / output unit 8. Control not to.

【0012】アクセス制御領域10が書き込み状態の場
合について説明する。アクセス制御領域10が書き込み
状態の場合は、アクセスされたアドレスは書き換えを必
要としない特定データが格納されていないワードを指し
示している。そして、アクセス制御領域10の書き込み
状態が、書き換え可能なワードであることをコントロー
ル回路7へ示す制御信号となり、それにより、コントロ
ール回路7はデータ入出力部8に対してデータの書き込
みを行えるよう制御する。
The case where the access control area 10 is in the write state will be described. When the access control area 10 is in the write state, the accessed address points to a word in which specific data that does not require rewriting is stored. Then, the write state of the access control area 10 becomes a control signal indicating to the control circuit 7 that the word is a rewritable word, whereby the control circuit 7 controls the data input / output unit 8 to write data. To do.

【0013】実施例2.実施例1において、アクセス制
御領域が消去状態の場合を書き換え不可能なワードであ
るとし、アクセス制御領域が書き込み状態の場合を書き
換え可能なワードとして説明したが、この逆として、消
去状態の場合を書き換え可能とし、書き込み状態の場合
を書き換え不可としてもよい。
Embodiment 2. In the first embodiment, the case in which the access control area is in the erased state is described as a non-rewritable word, and the case in which the access control area is in the written state is described as a rewritable word. It may be rewritable and may not be rewritable in the written state.

【0014】実施例3.実施例1において、アクセス制
御領域の消去、書き込み状態をコントロール回路への制
御信号とし、それにより実際に書き込みの制御が行われ
るとして説明したが、これに限らず、コントロール回路
を特に介さず、アクセス制御領域の情報を直接、書き込
み用の制御信号として用いても良い。
Example 3. In the first embodiment, the erasing / writing state of the access control area is used as the control signal to the control circuit, and the writing is actually controlled by the control signal. However, the present invention is not limited to this. The information in the control area may be directly used as a control signal for writing.

【0015】実施例4.実施例1では、アクセス制御情
報の状態が書き込み用の制御信号となっているが、アク
セス制御情報には、書き込み状態ならば1を、消去状態
ならば0をというように、なんらかの文字を利用しても
よい。または、フラグを利用してもよい。
Example 4. In the first embodiment, the state of the access control information is the control signal for writing, but the access control information uses some character such as 1 in the writing state and 0 in the erasing state. May be. Alternatively, a flag may be used.

【0016】実施例5.実施例1では、アクセス制御領
域はメモリセルアレイのワードに設けているが、アクセ
ス制御領域は所定のワードに対応してさえいれば、特に
ワードに密着して設ける必要はない。
Embodiment 5. In the first embodiment, the access control area is provided in the word of the memory cell array, but the access control area need not be provided in close contact with the word as long as it corresponds to a predetermined word.

【0017】実施例6.実施例1では、各ワードにアク
セス制御領域として1ビットのメモリトランジスタを設
けたが、アクセス制御領域は、1ビットでなくてもよ
く、また、メモリトランジスタでなくてもよい。
Embodiment 6. In the first embodiment, each word is provided with a 1-bit memory transistor as an access control area. However, the access control area need not be 1 bit, and may not be a memory transistor.

【0018】実施例7.実施例1では、データを記憶す
るための所定の領域をワードとしているが、バイト、あ
るいはニブルなどのその他のものでもよい。
Example 7. In the first embodiment, the predetermined area for storing the data is a word, but it may be a byte, nibble, or any other area.

【0019】[0019]

【発明の効果】以上のように、本発明に係るメモリ装置
によれば、データを記憶するための所定の領域により構
成されるメモリ領域において、その所定領域に対応し
て、データのアクセス制御情報を記憶する制御領域を設
けたことにより、特定データが記憶されている領域を保
護するので、誤書き換えなどによるデータの破壊などの
不都合を確実に防止し得ることになる。さらに比較回路
を必要としないので、省スペースの装置となり、且つ柔
軟性の高いプログラミングが可能となる。
As described above, according to the memory device of the present invention, in the memory area constituted by the predetermined area for storing the data, the access control information of the data is associated with the predetermined area. By providing the control area for storing the data, the area in which the specific data is stored is protected, so that inconvenience such as data destruction due to erroneous rewriting can be surely prevented. Further, since the comparison circuit is not required, the device becomes a space-saving device and highly flexible programming is possible.

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

【図1】本発明に係る不揮発性メモリ装置を示すブロッ
ク図である。
FIG. 1 is a block diagram illustrating a nonvolatile memory device according to an exemplary embodiment of the present invention.

【図2】従来の不揮発性メモリ装置を示すブロック図で
ある。
FIG. 2 is a block diagram illustrating a conventional nonvolatile memory device.

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

1 不揮発性メモリ装置 2 メモリセルアレイ 3 アドレス入力端子 4 アドレスレジスタ 5 アドレスデコーダ 6 比較回路 7 コントロール回路 8 データ入出力部 9 データ入出力端子 10 アクセス制御領域 1 non-volatile memory device 2 memory cell array 3 address input terminal 4 address register 5 address decoder 6 comparison circuit 7 control circuit 8 data input / output section 9 data input / output terminal 10 access control area

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 以下の要素を備えたメモリ装置 (a)データを記憶するための所定の領域により構成さ
れるメモリ領域、 (b)上記の所定の領域に対応して設けられ、データの
アクセス制御情報を記憶する制御領域。
1. A memory device comprising the following elements: (a) a memory area constituted by a predetermined area for storing data; (b) an access to data provided corresponding to the predetermined area. A control area that stores control information.
JP29398491A 1991-11-11 1991-11-11 Memory device Pending JPH05134928A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP29398491A JPH05134928A (en) 1991-11-11 1991-11-11 Memory device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP29398491A JPH05134928A (en) 1991-11-11 1991-11-11 Memory device

Publications (1)

Publication Number Publication Date
JPH05134928A true JPH05134928A (en) 1993-06-01

Family

ID=17801747

Family Applications (1)

Application Number Title Priority Date Filing Date
JP29398491A Pending JPH05134928A (en) 1991-11-11 1991-11-11 Memory device

Country Status (1)

Country Link
JP (1) JPH05134928A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH076595A (en) * 1993-01-05 1995-01-10 Texas Instr Inc <Ti> Smart erasing algorithm having protective system of flash memory
JPH07146820A (en) * 1993-04-08 1995-06-06 Hitachi Ltd Control method for flash memory and information processor using the same
JPH08235026A (en) * 1995-03-01 1996-09-13 Nec Corp Cpu operation abnormality detection system

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH076595A (en) * 1993-01-05 1995-01-10 Texas Instr Inc <Ti> Smart erasing algorithm having protective system of flash memory
JPH07146820A (en) * 1993-04-08 1995-06-06 Hitachi Ltd Control method for flash memory and information processor using the same
JPH08235026A (en) * 1995-03-01 1996-09-13 Nec Corp Cpu operation abnormality detection system

Similar Documents

Publication Publication Date Title
US5930826A (en) Flash memory protection attribute status bits held in a flash memory array
KR100375217B1 (en) Microcontroller incorporating an electrically rewritable non-volatile memory
US6088262A (en) Semiconductor device and electronic equipment having a non-volatile memory with a security function
JPH1050078A (en) Erasing method and program protecting method and device for electrically erasable and programmable read only memory
US5229972A (en) Nonvolatile semiconductor memory system
EP3057100B1 (en) Memory device and operating method of same
US6215717B1 (en) Semiconductor memory device for reducing a time needed for performing a protecting operation
JP2002015584A (en) Read/protect circuit for non-volatile memory
JP2001319484A (en) Non-volatile semiconductor memory
US6886087B2 (en) Semiconductor memory device
KR100310486B1 (en) Microcumputer
JP2842442B2 (en) Microcomputer, nonvolatile semiconductor memory device, and method for writing and erasing the same
JPH05134928A (en) Memory device
US5226015A (en) Semiconductor memory system
JP2002288999A (en) Semiconductor memory
JP4375935B2 (en) Semiconductor non-volatile memory with illegal read prevention function
JP2000276461A (en) Microcomputer
KR100309463B1 (en) Specific address memory block protection circuit
JPH11259357A (en) Semiconductor integrated device and nonvolatile memory writing system
KR960000771Y1 (en) A nonvolatile semiconductor device having a bank selecting
KR100504064B1 (en) Microcomputer
KR100437826B1 (en) flash memory
KR20020059158A (en) Single chip data processing apparatus including a non-volatile memory element and method of operating the same
JPH0765586A (en) Access system for eeprom
JP3824295B2 (en) Nonvolatile semiconductor memory device