JP2813229B2 - Semiconductor storage device with data protection function - Google Patents

Semiconductor storage device with data protection function

Info

Publication number
JP2813229B2
JP2813229B2 JP2072360A JP7236090A JP2813229B2 JP 2813229 B2 JP2813229 B2 JP 2813229B2 JP 2072360 A JP2072360 A JP 2072360A JP 7236090 A JP7236090 A JP 7236090A JP 2813229 B2 JP2813229 B2 JP 2813229B2
Authority
JP
Japan
Prior art keywords
write enable
enable signal
input
serial
write
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.)
Expired - Fee Related
Application number
JP2072360A
Other languages
Japanese (ja)
Other versions
JPH03272091A (en
Inventor
紀夫 原田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP2072360A priority Critical patent/JP2813229B2/en
Publication of JPH03272091A publication Critical patent/JPH03272091A/en
Application granted granted Critical
Publication of JP2813229B2 publication Critical patent/JP2813229B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

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

ノイズや誤動作による誤書き込みを防止するデータ保
護機能付半導体記憶装置に関し、 書き込み動作を容易にし、しかも、書き込み制御端子
が1つで足りるようにすることを目的とし、 読み書き可能なメモリセルアレイと、直列信号である
シリアルライトイネーブル信号を入力し該信号を解読し
てライトイネーブル信号を生成し出力するライトイネー
ブル解読回路と、該ライトイネーブル信号を含む入出力
制御信号が入力され、該メモリセルアレイに対するデー
タの入出力を制御する入出力制御回路とを備えて構成す
る。
A semiconductor memory device with a data protection function for preventing erroneous writing due to noise or malfunctioning is intended to facilitate a writing operation and to provide a single write control terminal. A write enable decoding circuit that receives a serial write enable signal as a signal, decodes the signal, generates and outputs a write enable signal, and an input / output control signal including the write enable signal. An input / output control circuit for controlling input / output.

【産業上の利用分野】[Industrial applications]

本発明は、ノイズや誤動作による誤書き込みを防止す
るデータ保護機能付半導体記憶装置に関する。
The present invention relates to a semiconductor memory device with a data protection function for preventing erroneous writing due to noise or malfunction.

【従来の技術】[Prior art]

半導体記憶装置では、例えばデータ読み出し中に、ノ
イズや誤動作によりライトイネーブル信号▲▼が発
生して誤書き込みを行うと、データが破壊され、特に長
期間データを保持しこれを使用する場合には、大問題を
引き起こす原因にもなる。このような誤書き込みを防止
するために、従来の半導体記憶装置では、次のような誤
書き込み防止対策を施していた。 (1)半導体記憶装置の特定のアドレスに、書き込み動
作を禁止/許可するワードを確保し、通常はこのワード
に書き込み禁止を設定しておき、ライトイネーブル信号
▲▼が不用意に半導体記憶装置に供給されないよう
にする。 (2)ライトイネーブル端子を電源端子に直接接続して
高レベルに固定し、書き込み禁止状態にする。 (3)複数の書き込み制御信号を半導体記憶装置に供給
し、半導体記憶装置内でその制御信号の論理値組合せに
より、書き込み許可/禁止を判定する。
In a semiconductor memory device, for example, during data reading, if a write enable signal ▲ ▼ is generated due to noise or malfunction and erroneous writing is performed, the data is destroyed, especially when data is held for a long time and used. It can cause major problems. In order to prevent such erroneous writing, the following semiconductor memory device has taken the following erroneous writing prevention measures. (1) A word for prohibiting / permitting a write operation is secured at a specific address of the semiconductor memory device. Normally, write prohibition is set for this word, and a write enable signal ▲ ▼ is inadvertently sent to the semiconductor memory device. Do not supply. (2) The write enable terminal is directly connected to the power supply terminal, fixed at a high level, and put in a write-protected state. (3) A plurality of write control signals are supplied to the semiconductor memory device, and writing permission / inhibition is determined in the semiconductor memory device based on a logical value combination of the control signals.

【発明が解決しようとする課題】[Problems to be solved by the invention]

しかし、上記(1)の方式では、データ書き込み毎
に、書き込む前に書き込み禁止状態を解除し、書き込み
後に書き込み動作を禁止する設定を行わなければならな
いので、書き込み動作が煩雑である。上記(2)の方式
では、書き換えができない。また、上記(3)の方式で
は、半導体記憶装置の外部端子数が多くなる。 本発明の目的は、このような問題点に鑑み、書き込み
動作が容易であり、しかも、書き込み制御端子が1つで
足りるデータ保護機能付半導体記憶装置を提供すること
にある。
However, in the above method (1), every time data is written, the write-protection state must be released before writing, and the setting to prohibit the write operation after writing must be performed, so that the write operation is complicated. Rewriting cannot be performed by the method (2). In the method (3), the number of external terminals of the semiconductor memory device increases. SUMMARY OF THE INVENTION An object of the present invention is to provide a semiconductor memory device with a data protection function in which a write operation is easy and a single write control terminal is sufficient in view of such problems.

【課題を解決するための手段】[Means for Solving the Problems]

本発明の原理構成を、実施例図面第1図を参照して説
明する。 図中、12はメモリセルアレイであり、読み書き可能と
なっている。 16はライトイネーブル解読回路であり、直列信号であ
るシリアルライトイネーブル信号▲▼を入力し、
この信号を解読してライトイネーブル信号▲▼を生
成し出力する。 14は入出力制御回路であり、このライトイネーブル信
号▲▼を含む入出力制御信号が入力され、メモリセ
ルアレイ12に対するデータの入出力を制御する。
The principle configuration of the present invention will be described with reference to FIG. In the figure, reference numeral 12 denotes a memory cell array, which is readable and writable. 16 is a write enable decoding circuit, which receives a serial write enable signal ▲ ▼ which is a serial signal,
This signal is decoded to generate and output a write enable signal ▲ ▼. An input / output control circuit 14 receives an input / output control signal including the write enable signal ラ イ ト, and controls input and output of data to and from the memory cell array 12.

【作用】[Action]

ノイズや誤動作によりシリアルライトイネーブル信号
▲▼のレベルが変化しても、シリアルライトイネ
ーブル信号▲▼が予め決められたある一定の波形
にならない限り、ライトイネーブル解読回路16はこれを
ライトイネーブル信号▲▼と解読しない。 したがって、ノイズや誤動作による半導体記憶装置へ
の誤書き込みが防止される。 また、シリアルライトイネーブル信号▲▼は予
め決められたある一定の波形であるので、書き込み毎に
シリアルライトイネーブル信号生成コードをプログラム
で設定する必要がなく、書き込み動作は容易である。 さらに、シリアルライトイネーブル信号▲▼が
直列信号であるので、書き込み制御端子は1つで足り
る。
Even if the level of the serial write enable signal ▲ ▼ changes due to noise or malfunction, the write enable decoding circuit 16 outputs this signal unless the serial write enable signal ▲ ▼ has a predetermined waveform. Do not decode. Therefore, erroneous writing to the semiconductor memory device due to noise or malfunction is prevented. Further, since the serial write enable signal ▼ has a predetermined fixed waveform, it is not necessary to set a serial write enable signal generation code by a program every time writing is performed, and the writing operation is easy. Further, since the serial write enable signal ▼ is a serial signal, one write control terminal is sufficient.

【実施例】【Example】

以下、図面に基づいて本発明の一実施例を説明する。 (1)第1実施例 第1図はRAM10の概略構成を示す。 RAM10は、メモリセルアレイ12、入出力制御回路14及
びライトイネーブル解読回路16を備えている。このライ
トイネーブル解読回路16は、第3図(A)及び(B)に
示すシリアルライトイネーブル信号▲▼及びチッ
プイネーブル信号▲▼を受け、同図(C)に示すラ
イトイネーブル信号信号▲▼を生成して、入出力制
御回路14へ供給する。入出力制御回路14は、チップイネ
ーブル信号▲▼、ライトイネーブル信号▲▼、
クロックCK及びアドレスを用いて、外部とメモリセルア
レイ12との間のデータ入出力を制御する。 第2図に示す如く、ライトイネーブル解読回路16は非
同期式で、4進カウンタ18とナンドゲート20とを備えて
いる。4進カウンタ18のクロック入力端子CKには、シリ
アルライトイネーブル信号▲▼が供給され、ナン
ドゲート20の入力端子には、チップイネーブル信号▲
▼、4進カウンタ18の計算値の第0ビットQ0及び第1
ビットQ1が供給される。ナンドゲート20からは、ライト
イネーブル信号▲▼が取り出される。 次に、上記の如く構成された本実施例の動作を、第3
図を参照して説明する。 不図示のマイクロプロセッサが、RAM10に対する書き
込み命令の実行を開始すると、チップイネーブル信号▲
▼が低レベルにされ(第3図(B))、入出力制御
回路14にアドレスが供給され(第3図(E))、シリア
ルライトイネーブル信号▲▼がライトイネーブル
解読回路16に供給され(第3図(A))、入出力制御回
路14に書き込みデータが供給される(第3図(D))。 4進カウンタ18は、シリアルライトイネーブル信号▲
▼の立ち上がりを計数し、計数値が3、すなわち
出力ビットQ0及びQ1が高レベルになると、ライトイネー
ブル信号▲▼が高レベルから低レベルに変化する
(第3図(C))。これにより、メモリセルアレイ12は
データ書き込み状態となり、入出力制御回路14を介しメ
モリセルアレイ12の指定アドレスにデータが書き込まれ
る。次に、シリアルライトイネーブル信号▲▼が
高レベルになると、4進カウンタ18の出力ビットQ0及び
Q1が低レベルになり、ライトイネーブル信号▲▼が
高レベルになる。 ノイズや誤動作により、シリアルライトイネーブル信
号▲▼のレベルが変化しても、シリアルライトイ
ネーブル信号▲▼が予め決められた第3図(A)
に示す波形にならない限り、ライトイネーブル解読回路
16はこれをライトイネーブル信号▲▼と解読しない
ので、ノイズや誤動作によるRAM10への誤書き込みが防
止される。 また、シリアルライトイネーブル信号▲▼は予
め決められたある一定の波形であるので、書き込み毎に
シリアルライトイネーブル信号生成コードをプログラム
で設定する必要がなく、書き込み動作は容易である。 さらに、シリアルライトイネーブル信号▲▼が
直列信号であるので、書き込み制御端子は1つで足り
る。 (2)第2実施例 第4図は第2実施例のライトイネーブル解読回路26を
示す。 このライトイネーブル解読回路26は、クロックCKに基
づいて動作する同期式であり、また、製造段階で固定的
に設定されるモード設定フラグ28を備えている。 モード設定フラグ28に0(ノーマルモード)が設定さ
れている場合には、アンドゲート30が開かれ、シリアル
ライトイネーブル信号▲▼がそのままアンドゲー
ト30及びオアゲート32を通り、ライトイネーブル信号▲
▼として出力される。 モード設定フラグ28に1(データ保護モード)が設定
されている場合には、アンドゲート30が閉じられ、アン
ドゲート34が開かれる。コード設定器36には、ライトイ
ネーブルコード、例えば10110が製造段階で固定的に設
定され、これは一致判定回路38の一方の入力端子に供給
されている。一致判定回路38の他方の入力端子には、シ
フトレジスタ40の内容が供給されている。シフトレジス
タ40には、最上位ビットにシリアルライトイネーブル信
号▲▼が供給され、全ビットにクロックCKが供給
される。クロックCKの立ち上がりに同期して、シフトレ
ジスタ40の最上位ビットにシリアルライトイネーブル信
号▲▼が取り込まれかつシフトレジスタ40の内容
が1ビット下位側にシフトされる。一致判定回路38は、
シフトレジスタ40の内容とコード設定器36の内容とが一
致すると、出力を高レベルにしてRSフリップフロップ42
をセット状態にする。このRSフリップフロップ42は、シ
リアルライトイネーブル信号▲▼の立ち上がりで
リセットされる。RSフリップフロップ42の反転出力Q
は、アンドゲート34及びオアゲート32を通り、ライトイ
ネーブル信号▲▼として取り出される。 次に、上記の如く構成された本実施例の動作を、第5
図を参照して説明する。 第5図(A)及び(B)に示すようなクロックCK及び
シリアルライトイネーブル信号▲▼をシフトレジ
スタ40に供給し、シフトレジスタ40の内容が01101とな
ると、一致判定回路38から同図(C)に示すような一致
信号が出力され、RSフリップフロップ42がセット状態に
なって、ライトイネーブル信号▲▼が同図(D)に
示す如く低レベルになる。次に、シリアルライトイネー
ブル信号▲▼が低レベルになった後、高レベルに
遷移すると、その立ち上がりでRSフリップフロップ42が
リセットされて、ライトイネーブル信号▲▼が高レ
ベルになる。 他の点は第1実施例と同一である。 なお、コード設定器36に設定されるコードを秘密にし
ておき、書き込み命令実行の際には、不図示のレジスタ
に設定したコードを直列データに変換してシリアルライ
トイネーブル信号▲▼を生成するようにし、例え
ば電源オン後1回しかコード設定できないように構成し
てもよい。この場合、特定のユーザのみ書き込み可能と
なるので、データ保護機能が強化される。
Hereinafter, an embodiment of the present invention will be described with reference to the drawings. (1) First Embodiment FIG. 1 shows a schematic configuration of a RAM 10. The RAM 10 includes a memory cell array 12, an input / output control circuit 14, and a write enable decoding circuit 16. The write enable decoding circuit 16 receives the serial write enable signal ▼ and the chip enable signal ▼ shown in FIGS. 3A and 3B, and generates the write enable signal ▲ shown in FIG. Then, the data is supplied to the input / output control circuit 14. The input / output control circuit 14 includes a chip enable signal ▲ ▼, a write enable signal ▲ ▼,
The data input / output between the outside and the memory cell array 12 is controlled using the clock CK and the address. As shown in FIG. 2, the write enable decoding circuit 16 is asynchronous and includes a quaternary counter 18 and a NAND gate 20. A serial write enable signal の is supplied to a clock input terminal CK of the quaternary counter 18, and a chip enable signal ▲ is supplied to an input terminal of the NAND gate 20.
▼ The 0th bit Q 0 and the 1st bit of the calculated value of the quaternary counter 18
Bit Q 1 is supplied. From the NAND gate 20, a write enable signal ▼ is extracted. Next, the operation of the present embodiment configured as described above will be described in the third.
This will be described with reference to the drawings. When a microprocessor (not shown) starts executing a write command to the RAM 10, a chip enable signal ▲
Is set to a low level (FIG. 3B), an address is supplied to the input / output control circuit 14 (FIG. 3E), and a serial write enable signal イ ネ ー ブ ル is supplied to the write enable decoding circuit 16 (FIG. 3B). (FIG. 3A), write data is supplied to the input / output control circuit 14 (FIG. 3D). The quaternary counter 18 outputs the serial write enable signal ▲
The rising edge of ▼ is counted, and when the count value is 3, that is, when the output bits Q 0 and Q 1 become high level, the write enable signal ▼ changes from high level to low level (FIG. 3 (C)). As a result, the memory cell array 12 enters a data write state, and data is written to the designated address of the memory cell array 12 via the input / output control circuit 14. Next, when the serial write enable signal ▲ ▼ goes high, the output bits Q 0 and
Q 1 is becomes low level, the write enable signal ▲ ▼ goes high. Even if the level of the serial write enable signal ▼ changes due to noise or malfunction, the serial write enable signal ▼ is determined in advance in FIG.
Unless the waveform shown in the figure is reached, the write enable decoding circuit
16 does not decode this as a write enable signal ▼, so that erroneous writing to the RAM 10 due to noise or malfunction is prevented. Further, since the serial write enable signal ▼ has a predetermined fixed waveform, it is not necessary to set a serial write enable signal generation code by a program every time writing is performed, and the writing operation is easy. Further, since the serial write enable signal ▼ is a serial signal, one write control terminal is sufficient. (2) Second Embodiment FIG. 4 shows a write enable decoding circuit 26 of a second embodiment. The write enable decoding circuit 26 is of a synchronous type that operates based on a clock CK, and has a mode setting flag 28 that is fixedly set in a manufacturing stage. When the mode setting flag 28 is set to 0 (normal mode), the AND gate 30 is opened, and the serial write enable signal ▼ passes through the AND gate 30 and the OR gate 32 as it is, and the write enable signal ▲
Output as ▼. When the mode setting flag 28 is set to 1 (data protection mode), the AND gate 30 is closed and the AND gate 34 is opened. A write enable code, for example, 10110, is fixedly set in the code setting unit 36 at the manufacturing stage, and is supplied to one input terminal of the coincidence determination circuit 38. The content of the shift register 40 is supplied to the other input terminal of the match determination circuit 38. To the shift register 40, the serial write enable signal ▼ is supplied to the most significant bit, and the clock CK is supplied to all bits. In synchronization with the rise of the clock CK, the serial write enable signal ▲ is taken into the most significant bit of the shift register 40, and the content of the shift register 40 is shifted by one bit lower. The match determination circuit 38
When the content of the shift register 40 matches the content of the code setting device 36, the output is set to a high level and the RS flip-flop 42
To the set state. The RS flip-flop 42 is reset at the rise of the serial write enable signal ▼. Inverted output Q of RS flip-flop 42
Is passed through an AND gate 34 and an OR gate 32 and is taken out as a write enable signal ▼. Next, the operation of the present embodiment configured as described above will be described in the fifth.
This will be described with reference to the drawings. The clock CK and the serial write enable signal ▼ shown in FIGS. 5A and 5B are supplied to the shift register 40, and when the content of the shift register 40 becomes 01101, the coincidence determination circuit 38 outputs the signal (C). ) Is output, the RS flip-flop 42 is set, and the write enable signal ▼ becomes low as shown in FIG. Next, when the serial write enable signal ▼ changes to low level and then changes to high level, the rising edge thereof resets the RS flip-flop 42, and the write enable signal ▼ changes to high level. Other points are the same as the first embodiment. It should be noted that the code set in the code setting unit 36 is kept secret, and when a write instruction is executed, the code set in a register (not shown) is converted into serial data to generate a serial write enable signal ▲ ▼. For example, the code may be set only once after the power is turned on. In this case, since only a specific user can write, the data protection function is enhanced.

【発明の効果】【The invention's effect】

以上説明した如く、本発明に係るデータ保護機能付半
導体記憶装置では、書き込み毎にシリアルライトイネー
ブル信号生成コードをプログラムで設定する必要がない
ので、書き込み動作が容易であり、そのうえ、シリアル
ライトイネーブル信号が直列信号であるので、書き込み
制御端子は1つで足りるという優れた効果を奏し、半導
体記憶装置を用いた装置の信頼性向上及び構成の簡単化
に寄与するところが大きい。
As described above, in the semiconductor memory device with the data protection function according to the present invention, the write operation is easy because the serial write enable signal generation code does not need to be set by the program for each write. Is a serial signal, which has an excellent effect that only one write control terminal is required, which greatly contributes to improvement in reliability and simplification of the configuration using the semiconductor memory device.

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

第1図乃至第3図は本発明に係るデータ保護機能付半導
体記憶装置の第1実施例に係り、 第1図はRAMの概略構成図、 第2図はライトイネーブル解読回路図、 第3図は第1図及び第2図の回路のタイミングチャート
である。 第4図及び第5図は本発明の第2実施例に係り、 第4図はライトイネーブル解読回路図、 第5図は第4図の回路のタイミングチャートである。 図中、 10はRAM 12はメモリセルアレイ 14は入出力制御回路 16、26はライトイネーブル解読回路 18は4進カウンタ 28はモード設定フラグ 36はコード設定器 38は一致判定回路 40はシフトレジスタ
1 to 3 relate to a first embodiment of a semiconductor memory device with a data protection function according to the present invention. FIG. 1 is a schematic configuration diagram of a RAM, FIG. 2 is a write enable decoding circuit diagram, FIG. 3 is a timing chart of the circuits shown in FIGS. 1 and 2. 4 and 5 relate to a second embodiment of the present invention, FIG. 4 is a write enable decoding circuit diagram, and FIG. 5 is a timing chart of the circuit of FIG. In the figure, 10 is a RAM 12 is a memory cell array 14 is an input / output control circuit 16, 26 is a write enable decoding circuit 18 is a quaternary counter 28 is a mode setting flag 36 is a code setter 38 is a match determination circuit 40 is a shift register

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】読み書き可能なメモリセルアレイ(12)
と、 直列信号であるシリアルライトイネーブル信号(▲
▼)を入力し、該信号を解読してライトイネーブル信
号(▲▼)を生成し出力するライトイネーブル解読
回路(16、26)と、 該ライトイネーブル信号を含む入出力制御信号が入力さ
れ、該メモリセルアレイに対するデータの入出力を制御
する入出力制御回路(14)と、 を有することを特徴とするデータ保護機能付半導体記憶
装置。
A readable and writable memory cell array (12)
And a serial write enable signal (▲
▼) is input, a write enable decoding circuit (16, 26) for decoding the signal to generate and output a write enable signal (▲ ▼), and an input / output control signal including the write enable signal are input. An input / output control circuit (14) for controlling input / output of data to / from the memory cell array. A semiconductor memory device with a data protection function, comprising:
JP2072360A 1990-03-20 1990-03-20 Semiconductor storage device with data protection function Expired - Fee Related JP2813229B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2072360A JP2813229B2 (en) 1990-03-20 1990-03-20 Semiconductor storage device with data protection function

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2072360A JP2813229B2 (en) 1990-03-20 1990-03-20 Semiconductor storage device with data protection function

Publications (2)

Publication Number Publication Date
JPH03272091A JPH03272091A (en) 1991-12-03
JP2813229B2 true JP2813229B2 (en) 1998-10-22

Family

ID=13487072

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2072360A Expired - Fee Related JP2813229B2 (en) 1990-03-20 1990-03-20 Semiconductor storage device with data protection function

Country Status (1)

Country Link
JP (1) JP2813229B2 (en)

Also Published As

Publication number Publication date
JPH03272091A (en) 1991-12-03

Similar Documents

Publication Publication Date Title
JP2597153B2 (en) Write protector
US4612640A (en) Error checking and correction circuitry for use with an electrically-programmable and electrically-erasable memory array
KR100255568B1 (en) Microcomputer having a reloadable non-volatile memory
JPH0812646B2 (en) Semiconductor integrated circuit
JPS61267846A (en) Integrated circuit device with memory
KR100299542B1 (en) Microcomputer using nonvolatile memory
US5243700A (en) Port expander architecture for mapping a first set of addresses to external memory and mapping a second set of addresses to an I/O port
JPH08124380A (en) Semiconductor memory and accessing method for semiconductor memory
JPH06202762A (en) Reset signal generating circuit with write data protecting function
JP2004038569A (en) Data protection system for nonvolatile memory
JP2813229B2 (en) Semiconductor storage device with data protection function
JP2002015584A (en) Read/protect circuit for non-volatile memory
JPH03204053A (en) Read-only memory
JPH0822422A (en) Memory device
US5355336A (en) Memory device and a method for prohibiting writing to the memory device
JPH11176174A (en) Writing circuit of non-volatile memory and non-volatile memory
GB2129586A (en) Improvements in or relating to memory systems
JP2854609B2 (en) Portable electronic devices
JP2659147B2 (en) Evaluation microcomputer
JP2854610B2 (en) Portable electronic devices
JPS62286143A (en) Semiconductor memory device
JP3695931B2 (en) Microcomputer
JPS61246997A (en) Electrically erasable and rewritable read only memory
JPH09282302A (en) Microcomputer
JP2809752B2 (en) Memory access circuit

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees