JPS6012660B2 - memory device - Google Patents

memory device

Info

Publication number
JPS6012660B2
JPS6012660B2 JP57107430A JP10743082A JPS6012660B2 JP S6012660 B2 JPS6012660 B2 JP S6012660B2 JP 57107430 A JP57107430 A JP 57107430A JP 10743082 A JP10743082 A JP 10743082A JP S6012660 B2 JPS6012660 B2 JP S6012660B2
Authority
JP
Japan
Prior art keywords
signal
input
chip
ram
terminal
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
Application number
JP57107430A
Other languages
Japanese (ja)
Other versions
JPS586568A (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.)
NEC Corp
Original Assignee
Nippon Electric 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 Nippon Electric Co Ltd filed Critical Nippon Electric Co Ltd
Priority to JP57107430A priority Critical patent/JPS6012660B2/en
Publication of JPS586568A publication Critical patent/JPS586568A/en
Publication of JPS6012660B2 publication Critical patent/JPS6012660B2/en
Expired legal-status Critical Current

Links

Landscapes

  • Storage Device Security (AREA)
  • Techniques For Improving Reliability Of Storages (AREA)
  • Memory System (AREA)
  • Read Only Memory (AREA)

Description

【発明の詳細な説明】 本発明はメモリ装置、特に読み出し書き込み可能メモリ
素子を含むメモリ装置に関する。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to memory devices, and more particularly to memory devices including readable and writable memory elements.

従来読み出し書き込み可能メモリ(以下RAMという)
ボード上に実装されたRAM素子を、プログラム開発時
にプ。
Conventional readable and writable memory (hereinafter referred to as RAM)
The RAM element mounted on the board can be programmed during program development.

グラム格納領域として使用しこのRAM群にプログラム
命令を書き込み、その後プログラムバック等を実行した
時プログラムにより予め決められた処理手順と異なった
処理手順を中央演算処理装置CPUが実行することがあ
る、これは主に雑音やプログラムミスによって書き込み
信号が加わる事に起因するのであるがこの雑音やプログ
ラムミスによってプログラム格納領域として使用してい
るRAMに書き込まれた正規のプログラムデータまでが
書き替えられてしまうという欠点があった。本発明の目
的は、RAM素子に書き込まれたプログラム命令が雑音
やプログラムミスにより誤ったプログラム情報に書き替
えられることがないRAM装置を提供することにある。
When a program command is written to this RAM group and then a program back is executed, the central processing unit CPU may execute a processing procedure different from the processing procedure predetermined by the program. This is mainly caused by the addition of write signals due to noise or programming errors, but it is said that even the regular program data written in the RAM used as the program storage area is rewritten due to this noise or programming errors. There were drawbacks. An object of the present invention is to provide a RAM device in which program instructions written in a RAM element are not rewritten to incorrect program information due to noise or programming errors.

本発明はメモリーボード上のRAMチップを非選択状態
にする制御回路を設け、この制御回路から非選択信号を
RAMチップに与えることにより、所定の書き込み時以
外にRAMチップにデータが書き込まれないようにする
ように構成される。
The present invention provides a control circuit that unselects a RAM chip on a memory board, and provides a non-selection signal to the RAM chip from this control circuit, thereby preventing data from being written to the RAM chip except during predetermined write times. configured to do so.

本発明によれば、所定の期間以外には制御回路からの非
選択信号によりRAMへのデータの書き込みが禁止され
るので、所定の期間にRAMに書き込まれた正規のプロ
グラムが雑音やプログラムミス等によって誤った情報に
書き替えられることはない。
According to the present invention, data writing to the RAM is prohibited by a non-selection signal from the control circuit outside of a predetermined period, so that a legitimate program written to the RAM during a predetermined period may be affected by noise, program errors, etc. will not be rewritten with incorrect information.

以下、図面を参照して本発明をより詳細に説明する。Hereinafter, the present invention will be explained in more detail with reference to the drawings.

第1図は本発明の一実施例を示すメモリ装置の一部を表
わすブロック図である。
FIG. 1 is a block diagram showing a part of a memory device showing one embodiment of the present invention.

メモリーボード上のRAMチップ4はデータバスDSの
入出力端子k及びアドレスバスABの入力端子iを有し
し鍵子1に書き込み信号S2が入力され、端子iにデコ
ーダ3のチップセレクト端子hからチップセレクト信号
が入力される。一方デコーダ3にはチップセレクト用の
アドレス信号の上位ビットAB′(本実施例では上位2
ビット)が端子f,gに入力ごZれる。端子eにはAN
Dゲート2の出力端子mからデコーダ制御信号が入力さ
れ、ANDゲート2の入力端子c,dは夫々ィンバータ
1の出力端子bと、データ読み出し信号S.に接続され
ィンバータ1の入力端子aは抵抗Rを介して十5Vの電
圧Zが印加されるとともにスイッチSWを介して接地さ
れる。かかる構成の本実施例によれば、スイッチSWが
OFF状態の時ィンバータの入力端子aは抵抗Rを介し
て十5Vにプルアツプされているので、2“1”レベル
が入力され、インバータ1の出力端子bからは“0”レ
ベルが出力され、この信号が2入力ANDゲート2の一
方の入力端子cに入る。
The RAM chip 4 on the memory board has an input/output terminal k for a data bus DS and an input terminal i for an address bus AB.A write signal S2 is input to the key 1, and a chip is input from the chip select terminal h of the decoder 3 to the terminal i. A select signal is input. On the other hand, the decoder 3 has the upper bit AB' (in this embodiment, the upper 2 bits) of the address signal for chip selection.
bit) is input to terminals f and g. AN to terminal e
A decoder control signal is input from the output terminal m of the D gate 2, and the input terminals c and d of the AND gate 2 are connected to the output terminal b of the inverter 1 and the data read signal S. A voltage Z of 15 V is applied to the input terminal a of the inverter 1 via a resistor R, and is grounded via a switch SW. According to this embodiment with such a configuration, when the switch SW is in the OFF state, the input terminal a of the inverter is pulled up to 15V via the resistor R, so a 2 "1" level is input, and the output of the inverter 1 is A "0" level is output from the terminal b, and this signal enters one input terminal c of the two-input AND gate 2.

即ち2入力ANDゲート2の出力端子mには“0”レベ
ルが出力され、この信号がデコーダ32のチップセレク
ト様子eに入るので、デコーダ3は能動状態になる。一
方、2入力ANDゲート2の入力端子cはスイッチSW
がOFFしている限り“0”レベルであるから、2入力
ANDゲート2のもう一方の入力端子dのデータ読み出
し信号S,が3“0”であるか“1”であるかに関係な
く常に端子mには“0”レベルが出力されるので、デコ
ーダ3は能動状態にある。能動状態にあるデコーダ3の
入力端子f,gには、各々上位ビットアドレス信号AB
′が入力され、入力される信号のレベル3の組み合せに
より、デコーダ3の複数出力端子の内上位アドレス信号
AB′で指定された1ケ所のチップセレクト信号出力端
子hから“0”レベルがRAM4のチップセレクト端子
jに入力され、RAMチップ4は能動状態になる。RA
Mアドレス4入力端子iにはCPUから出力されるアド
レス情報がアドレスバスABを通して入力され、RAM
4の入出力制御端子1へ入力されるデータ書き込み信号
S2のレベル状態(本実施例では“0”レベルの時)に
よりRAM4のデータ入力端子hヘデ−夕がデータバス
DBを介して入力される。一方、スイッチSWがON状
態になるとィンバータ1の入力端子aは“0”レベルに
なるのでィソバータ出力端子bは“1”レベルになり2
入力ANDゲート2の入力端子Cに入る。
That is, the "0" level is outputted to the output terminal m of the two-input AND gate 2, and this signal enters the chip selection state e of the decoder 32, so that the decoder 3 becomes active. On the other hand, the input terminal c of the 2-input AND gate 2 is connected to the switch SW.
As long as it is OFF, it is at the "0" level, so it is always at the "0" level regardless of whether the data read signal S at the other input terminal d of the two-input AND gate 2 is "0" or "1". Since the "0" level is output to the terminal m, the decoder 3 is in the active state. The input terminals f and g of the decoder 3 in the active state receive upper bit address signals AB, respectively.
' is input, and by the combination of level 3 of the input signals, the "0" level is output from the chip select signal output terminal h of one location designated by the upper address signal AB' among the plurality of output terminals of the decoder 3 of the RAM 4. The signal is input to the chip select terminal j, and the RAM chip 4 becomes active. R.A.
Address information output from the CPU is input to the M address 4 input terminal i through the address bus AB, and the RAM
Data is input to the data input terminal h of the RAM 4 via the data bus DB depending on the level state of the data write signal S2 input to the input/output control terminal 1 of the RAM 4 (in this embodiment, it is at the "0" level). Ru. On the other hand, when the switch SW is turned on, the input terminal a of the inverter 1 goes to the "0" level, so the isoverter output terminal b goes to the "1" level and the 2
It enters the input terminal C of the input AND gate 2.

この時ANDゲート2の入力端子dにデータ読み出し信
号S.が入力された場合、(読み出し信号CPUがRA
M4の内容を読む動作時のみ“0”レベルになり、それ
0以外の動作時には“1”レベルの信号であるとする。
)ANDゲート出力端子mはCPUがメモリの内部を読
む動作時のみ、“0”レベルになりそれ以外の時は“1
”レベルの信号が出力されデコーダ3のチップセレクト
端子eへ入力これらる。チップセレクト端子eが“1”
レベル時即ちデータ読み出し期間以外ではデコーダ3は
禁止状態になり、デコーダ出力端子hからは“1”レベ
ルがRAM4のチップセレクト端子iに入力され、RA
Mメモリ4は禁止状態になる。また読み出し信号“0”
レベルが端子dに入力されるとデコーダ3のチップセレ
クト端子eには“0”レベルが出力され、デコーダ3は
能動状態になり、デコーダ出力端子hからはアドレス信
号上位ビットAB′により指定されたチップセレクト信
号ぐ0”レベル信号)が選択すべきRAMチップ4に出
力され、RAMメモリ4のチップセレクト端子iを“0
”レベルにするのでRAM4は能動状態となり、アドレ
ス信号ABで指定された番地に格納されているデータが
データバスDBを通して読み出される。RAM4の入力
制御端子1にはCPUがRAM4へデータを書き込む時
のみ“0”レベルが出力され、それ以外の動作時には。
“1”レベル信号S2が入力される。この信号が“0”
となってもRAM4のチップセレクト端子iが“1”レ
ベルである時、即ちスイッチがON状態で、かつ読み出
し信号S,が“1”レベルの時は、RAMチップ4は禁
止状態になるのでデータの書き込みが禁止される。従っ
てこの時はRAMチップ4は読み出し専用となる。以上
のように、本実施例によればRAMチップ4へのデータ
の書き込みはスイッチSWを○FFしている時に限られ
、スイッチON状態にするとRAMチップ4は読み出し
専用メモリとして動作する。
At this time, the data read signal S. is input, (read signal CPU is RA
It is assumed that the signal is at the "0" level only when reading the contents of M4, and is at the "1" level during operations other than 0.
) AND gate output terminal m is at “0” level only when the CPU reads the inside of the memory, and is “1” at other times.
” level signal is output and input to chip select terminal e of decoder 3. Chip select terminal e is “1”
At the time of level, that is, except during the data read period, the decoder 3 is in an inhibited state, and the "1" level is input from the decoder output terminal h to the chip select terminal i of the RAM 4, and the RA
M memory 4 becomes prohibited. Also read signal “0”
When the level is input to the terminal d, the "0" level is output to the chip select terminal e of the decoder 3, the decoder 3 becomes active, and the signal specified by the upper bit AB' of the address signal is output from the decoder output terminal h. The chip select signal (0" level signal) is output to the RAM chip 4 to be selected, and the chip select terminal i of the RAM memory 4 is set to "0".
” level, RAM4 becomes active, and the data stored at the address specified by the address signal AB is read out through the data bus DB.The input control terminal 1 of RAM4 is set only when the CPU writes data to RAM4. “0” level is output during other operations.
A “1” level signal S2 is input. This signal is “0”
Even so, when the chip select terminal i of the RAM 4 is at the "1" level, that is, when the switch is in the ON state and the read signal S is at the "1" level, the RAM chip 4 is in the inhibited state, so data cannot be processed. Writing is prohibited. Therefore, at this time, the RAM chip 4 becomes read-only. As described above, according to this embodiment, data can be written to the RAM chip 4 only when the switch SW is turned FF, and when the switch SW is turned on, the RAM chip 4 operates as a read-only memory.

このため、プログラムデバック時等に生じる雑音やプロ
グラムミス等による、RAMチップへの誤ったデータの
書き込みはスイッチを○FFしておくことにより防止で
きる。尚、本実施例において、スイッチとして手敷スイ
ッチを使用したがプログラム制御によりデータの書き込
み状態の時のみOFF状態になるようなゲート回路であ
ってもよい。
Therefore, writing of erroneous data to the RAM chip due to noise generated during program debugging, program errors, etc. can be prevented by turning the switch OFF. In this embodiment, a hand-held switch is used as the switch, but a gate circuit that is turned off only when data is being written under program control may also be used.

又、本実施例ではデコーダのチップセレクト信号を制御
することによりRAMチップを禁止状態にしたが、デコ
ーダを介さず直接RAMチップを非選択にする信号を加
えてやってもよい。又、本発明の応用としてマイクロコ
ンピュータ・システムに於いてプログラム開発時のプロ
グラムやデータの格納領域として本発明のRAMチップ
及び制御回路を使用すれば、誤動作によって、格納して
いるプログラムが破壊される事がなくなるだけでなく、
キー入力等でプログラム内容が簡単に変更できEPRO
Mへの書換えの必要もなく能率が上る。
Further, in this embodiment, the RAM chip is disabled by controlling the chip select signal of the decoder, but a signal may be added to directly disable the RAM chip without going through the decoder. Furthermore, if the RAM chip and control circuit of the present invention are used as a storage area for programs and data during program development in a microcomputer system as an application of the present invention, the stored programs will be destroyed due to malfunction. Not only will things go away,
EPRO program contents can be easily changed by key input etc.
There is no need to rewrite to M, increasing efficiency.

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

第1図は本発明の一実施例によるメモリ装置の一部を示
すブロック図である。 1・・・・・・インバータ、2・・・・・・2入力AN
Dゲート、3….・・デコーダ、4・・・・・・RAM
メモリチップ、a・・・・・・インバータ入力様子、b
……インバータ出力端子、c・・・・・・2入力AND
ゲート入力端子、d・…・・2入力ANDゲート入力端
子、e・…・・デコーダ制御様子、i,g・・・・・・
上位ビットアドレス入力端子、h・・・・・・デコーダ
チップ・セレクト出力端子、i・・・・・・RAMメモ
リ・チップセレクト端子、j・・…・RAMメモリ・ア
ドレス入力端子、k・・・・・・RAMメモリデータ入
力端子、1・・・・・・RAM・メモリー書き込み制御
端子、m・・・・・・2入力ANDゲート出力端子、S
.・・・・・・読み出し信号、S2・・・・・・重さ込
み信号、AB……アドレス信号、AB′……上位ビット
アドレス信号、DB・・…・データ・バス、R…・・・
抵抗、SW・・・・・・スイッチ。
FIG. 1 is a block diagram showing a portion of a memory device according to an embodiment of the present invention. 1...Inverter, 2...2 input AN
D gate, 3…. ...Decoder, 4...RAM
Memory chip, a...Inverter input status, b
...Inverter output terminal, c...2 input AND
Gate input terminal, d...2 input AND gate input terminal, e...Decoder control status, i, g...
Upper bit address input terminal, h...Decoder chip select output terminal, i...RAM memory chip select terminal, j...RAM memory address input terminal, k... ...RAM memory data input terminal, 1...RAM/memory write control terminal, m...2 input AND gate output terminal, S
.. ...Read signal, S2... Weighting signal, AB... Address signal, AB'... Upper bit address signal, DB... Data bus, R...
Resistor, SW...Switch.

Claims (1)

【特許請求の範囲】[Claims] 1 メモリチツプと、該メモリチツプにアドレスおよび
データを供給するための信号線と、チツプセレクトデー
タに基いてメモリチツプを選択するチツプセレクト信号
を発生するデコーダと、該デコーダからのチツプセレク
ト信号をメモリチツプに供給することにより、そのメモ
リチツプを活性化するためのチツプセレクト信号供給線
と、メモリチツプにデータ書き込み用の書込み制御信号
を供給する信号線と、書込み禁止信号および読出し制御
信号に応答し、前記書込み禁止信号の発生期間でかつ前
記読出し制御信号が発生されない期間前記デコーダを不
活性化し、前記書込み禁止信号の発生期間中でかつ前記
読み出し制御信号の発生期間は前記デコーダを活性化す
る信号を発生するゲート回路とを有することを特徴とす
るメモリ装置。
1. A memory chip, a signal line for supplying addresses and data to the memory chip, a decoder that generates a chip select signal for selecting a memory chip based on chip select data, and a chip select signal from the decoder for supplying the chip select signal to the memory chip. As a result, a chip select signal supply line for activating the memory chip, a signal line for supplying a write control signal for writing data to the memory chip, and a signal line for supplying a write control signal for writing data to the memory chip, and a signal line for supplying the write inhibit signal to the memory chip in response to the write inhibit signal and read control signal. a gate circuit that inactivates the decoder during a period in which the read control signal is generated and generates a signal that activates the decoder during the period in which the write inhibit signal is generated and the read control signal is generated; A memory device comprising:
JP57107430A 1982-06-22 1982-06-22 memory device Expired JPS6012660B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP57107430A JPS6012660B2 (en) 1982-06-22 1982-06-22 memory device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP57107430A JPS6012660B2 (en) 1982-06-22 1982-06-22 memory device

Publications (2)

Publication Number Publication Date
JPS586568A JPS586568A (en) 1983-01-14
JPS6012660B2 true JPS6012660B2 (en) 1985-04-02

Family

ID=14458939

Family Applications (1)

Application Number Title Priority Date Filing Date
JP57107430A Expired JPS6012660B2 (en) 1982-06-22 1982-06-22 memory device

Country Status (1)

Country Link
JP (1) JPS6012660B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS59152599A (en) * 1983-02-21 1984-08-31 Omron Tateisi Electronics Co Memory control circuit
JPS62138258U (en) * 1986-02-26 1987-08-31
JPH0715641B2 (en) * 1986-05-14 1995-02-22 松下電器産業株式会社 System parameter setting guard device

Also Published As

Publication number Publication date
JPS586568A (en) 1983-01-14

Similar Documents

Publication Publication Date Title
US5426763A (en) Memory cartridge including a key detector for inhibiting memory access and preventing undesirable write operations
JP3292864B2 (en) Data processing device
US5307470A (en) Microcomputer having EEPROM provided with detector for detecting data write request issued before data write operation responsive to preceding data write request is completed
US6510501B1 (en) Non-volatile memory read/write security protection feature selection through non-volatile memory bits
US6532529B1 (en) Microcomputer including flash memory overwritable during operation and operating method thereof
JPS6012660B2 (en) memory device
JP2842442B2 (en) Microcomputer, nonvolatile semiconductor memory device, and method for writing and erasing the same
JPH01296499A (en) Semiconductor integrated circuit device
KR920010469A (en) Single Chip Microcomputers and Multifunction Memory
JPH11184724A (en) In-circuit emulator and semiconductor integrated circuit
JP3028567B2 (en) Microcomputer with built-in EEPROM
JP2005317127A (en) Nonvolatile semiconductor storage device
JPH0434185B2 (en)
JPH0697442B2 (en) Micro computer
JPH05120891A (en) Semiconductor storage device
JP2732052B2 (en) Control circuit
JP2619671B2 (en) Memory control circuit
JP2581057B2 (en) Evaluation microcomputer
KR0170716B1 (en) Electrically erasable rom
JPS62224854A (en) Microcomputer
JPH04267448A (en) Microcomputer
JPS63317827A (en) Memory control circuit
JPS62251857A (en) Memory control system
JPH1185620A (en) Microcomputer with built-in non-volatile memory
JPS60196865A (en) Backup memory circuit