JPS63249246A - Memory system - Google Patents

Memory system

Info

Publication number
JPS63249246A
JPS63249246A JP62084205A JP8420587A JPS63249246A JP S63249246 A JPS63249246 A JP S63249246A JP 62084205 A JP62084205 A JP 62084205A JP 8420587 A JP8420587 A JP 8420587A JP S63249246 A JPS63249246 A JP S63249246A
Authority
JP
Japan
Prior art keywords
memory
voltage
decoder
power supply
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.)
Pending
Application number
JP62084205A
Other languages
Japanese (ja)
Inventor
Wataru Fushimi
渉 伏見
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 JP62084205A priority Critical patent/JPS63249246A/en
Publication of JPS63249246A publication Critical patent/JPS63249246A/en
Pending legal-status Critical Current

Links

Landscapes

  • Techniques For Improving Reliability Of Storages (AREA)

Abstract

PURPOSE:To surely protect the contents of a memory at the time of ON or OFF of a power source or at the time of instantaneous stop of the power source by inhibiting the operation of a decoder for selecting the memory by a threshold circuit during the transient period of voltage at the time of ON/OFF of the power source to prevent the memory from being selected. CONSTITUTION:During the transient period of a power supply voltage, a reset IC 4 turns the voltage of an enable G 1 terminal in a decoder 3 to 'L' to inhibit the decoder 3 from selecting the memory 1, and during the inhibition, a 'H' signal is inputted to a chip selecting terminal S in the memory 1 by a backup power source to inhibit the writing and reading operation in/from the memory 1. Only when the 'H' signal is inputted to the enable G 1 terminal in the decoder 3, the writing and reading operation in/from the memory 1 can be executed. Consequently, the contents of the memory 1 can be protected.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 この発明は、メモリ・システムに関するものである。[Detailed description of the invention] [Industrial application field] TECHNICAL FIELD This invention relates to memory systems.

〔従来の技術〕[Conventional technology]

第3図は従来のメモリ・システムを示す構成図である。 FIG. 3 is a block diagram showing a conventional memory system.

第3図に示すメモリ・システムでは、メモリに三菱電機
■製のCMOSスタテックRAMのM5M5117Pを
一例として用いている。図に示すようζこ、メモリ1に
はCPU(中央処理装置!り2からアドレスバスAO〜
A10.データバスDQ1〜DQ8が接続されており、
また、メモリ1はCPU2からのメモリ1に対する制御
入力であるアウトプットイネーブルOE、ライトイネー
ブルWEの各端子、及びデコーダ3からの出力であるチ
ップセレクトSの端子を備えている。ダイオ−)’Di
〜D3とコンデンサCを組み合わせた電源バックアップ
回路より成る電源はメモリ1の電源電圧VCCの端子に
接続され、また、上記電源は抵抗Rを通してメモリ1の
チップセレクトSの端子に接続されている。
In the memory system shown in FIG. 3, a CMOS static RAM M5M5117P manufactured by Mitsubishi Electric Corporation is used as an example of the memory. As shown in the figure, memory 1 is connected to the CPU (central processing unit) and address bus AO to memory 2.
A10. Data buses DQ1 to DQ8 are connected,
The memory 1 also includes output enable OE and write enable WE terminals, which are control inputs from the CPU 2 to the memory 1, and a chip select S terminal, which is an output from the decoder 3. Dio-)'Di
A power source consisting of a power backup circuit combining ~D3 and a capacitor C is connected to the power supply voltage VCC terminal of the memory 1, and the power source is connected to the chip select S terminal of the memory 1 through a resistor R.

第4図は第3図のメモリ・システムにおける電源のON
@OFF時での電圧のタイムチャートを示す図である。
Figure 4 shows how the power is turned on in the memory system shown in Figure 3.
It is a figure which shows the time chart of the voltage at the time of @OFF.

次に、上記従来のメモリ・システムの動作について説明
する。電源のOFF時、及び停電中などのバックアップ
電源の使用中、又はCPU2がメモリ1をアクセスして
いない時は、メモリ1の電源電圧V。C,チップセレク
トSの各端子にはrHJが入力しており、これによりメ
モリ1はスタンバイモードとなり、書込み、読出し動作
が禁止された状態になる。一方、CPU2がメモリ1を
アクセスする時は、メモリ1のチップセレクトSの端子
をrLJとなし、これによりメモIJ 1は書込み。
Next, the operation of the above conventional memory system will be explained. When the power is off, when a backup power source is in use during a power outage, or when the CPU 2 is not accessing the memory 1, the power supply voltage of the memory 1 is V. rHJ is input to each terminal of C and chip select S, so that the memory 1 enters a standby mode, and write and read operations are prohibited. On the other hand, when the CPU 2 accesses the memory 1, the chip select S terminal of the memory 1 is set to rLJ, thereby writing the memo IJ 1.

読出しモードとなり、CPU2からのメモリ1に対する
制御入力であるアウトプットイネーブルOE、ライトイ
ネーブルWEの各端子への入力によって操作され、メモ
リ1は書込み、読出し動作を行う。
The read mode is entered, and the memory 1 is operated by inputs from the CPU 2 to the output enable OE and write enable WE terminals, which are control inputs to the memory 1, and the memory 1 performs write and read operations.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

上記のような従来のメモリ・システムでは、CPU2に
かかる電圧は、第4図ζこ示すように電源の08時ある
いは電源のOFF時以降に定常状態になるまでにある時
間がかかる。すなわち、CPU2はある電圧vt(時間
Tt −T*時の電圧)以下では動作が保証されておら
ず、電源の0NeOFF時での電圧の過渡期(時間T、
〜T□、T、〜T。
In the conventional memory system as described above, as shown in FIG. 4, it takes a certain amount of time for the voltage applied to the CPU 2 to reach a steady state after 08:00 or when the power is turned off. In other words, the operation of the CPU 2 is not guaranteed below a certain voltage vt (voltage at time Tt - T*), and the voltage transition period (time T,
~T□, T, ~T.

の期間)では動作が不、安定となり、メモリ1の内容を
書き換えてしまう恐れがあり、このためにメモリ1を保
護しようとすると、メモリ1におけるチップセレクトS
の端子が2つ必要になるなどの問題点があった〇 この発明は、かかる問題点を解決するためになされたも
ので、電源のON@OFF時での1圧の過渡期にメモリ
の内容を破壊しないメモり・システムを得ることを目的
とする。
period), the operation becomes unstable and stable, and the contents of memory 1 may be rewritten.
There were problems such as the need for two terminals. This invention was made to solve these problems, and the contents of the memory are The purpose is to obtain a memory system that does not destroy the memory.

〔問題点を解決するための手段〕[Means for solving problems]

この発明に係るメモリ・システムは、閾値回路を設け、
この閾値回路により電源の0N−OFF時での電圧の過
渡期にはメモリをセレクトするデコーダの動作を禁止し
、メモリがセレクトされるのを防止したものである。
A memory system according to the present invention includes a threshold circuit,
This threshold circuit inhibits the operation of the decoder that selects the memory during the voltage transition period when the power supply is turned on and off, thereby preventing the memory from being selected.

〔作用〕[Effect]

この発明のメモリ・システムにおいては、閾値回路は、
電源のON@OFF時での1圧の過渡期にCPUの動作
が不安定になる時に、メモリをセレクトするためのデコ
ーダのイネーブル入力をrLJにしてメモリがセレクト
されるのを禁止し、電圧が安定状態になった時に、デコ
ーダのイネーブル入力をrHJにしてメモリがセレクト
されるのを可能にする。
In the memory system of this invention, the threshold circuit is
When the CPU operation becomes unstable during the transition period of 1 voltage when the power is turned on and off, the enable input of the decoder for selecting the memory is set to rLJ to prohibit the memory from being selected and the voltage is When stable, the enable input of the decoder is brought to rHJ to allow the memory to be selected.

〔実施例〕〔Example〕

第1図はこの発明の一実施例であるメモリ・システムを
示す構成図で、第3図と同−又は相当部分は同一符号を
もって表示してあり、その詳細な説明は省略する。第1
図は1源バックアップ回路付きのメモリ・システムであ
り、保饅回路としての閾値回路の一つであるリセットI
C4が設けられている。ここで、リセット IC4とし
てはI!を源電圧検出、遅延タイプシステムのリセット
ICを用いた一例を示している。
FIG. 1 is a block diagram showing a memory system according to an embodiment of the present invention. The same or equivalent parts as in FIG. 3 are designated by the same reference numerals, and detailed explanation thereof will be omitted. 1st
The figure shows a memory system with a one-source backup circuit, and a reset I which is one of the threshold circuits as a protection circuit.
C4 is provided. Here, reset IC4 is I! An example of using a reset IC for power supply voltage detection and delay type system is shown.

第2図は第1図のメモリ・システムにおける電源の0N
11OFF時での電圧のタイムチャートと、それに対応
してリセットICがデコーダに対して出力する信号のタ
イムチャートを示す図である。
Figure 2 shows the 0N power supply in the memory system in Figure 1.
11 is a diagram illustrating a time chart of voltage when OFF and a time chart of a signal outputted from the reset IC to the decoder correspondingly. FIG.

次に、上記この発明の一実施例であるメモリ・システム
の動作について説明する。ここで使用するリセットI 
C4’の動作は、第2因に示すように電圧VL以下では
動作をせずに、1圧vLから電圧vHまでの間は常にr
LJを出力し、電圧V□を越えて上がった時点から時間
td秒後にはrHJを出力する。このようなリセットI
C4の特性により、電源の08時の電圧が電圧vL以下
の時はデコーダ3のイネーブルG1の端子の電圧は電源
電圧の変化と同じであり、次に電圧VLから電圧vHま
ではrLJとなり、そして電圧vHを越えて時間td秒
後にはrHJとなる。電源が瞬時停止してその電圧が電
圧vH以下になると、リセット IC4はデコーダ3の
イネーブルG1の端子の電圧を常にrLJとし、電圧V
Hを越えて上がると時間td秒後にはrHJとする。ま
た、電源のOFF時は、その電源電圧が電圧vH以下に
なった時にデコーダ3のイネーブルG1の端子の電圧を
rLJにし、電圧vL以下になると電源電圧の変化と同
じになる。
Next, the operation of the memory system which is one embodiment of the present invention will be described. Reset I used here
As shown in the second factor, C4' does not operate below the voltage VL, but always operates at r from 1 voltage vL to the voltage vH.
LJ is output, and rHJ is output after time td seconds from the time when the voltage exceeds V□. Such a reset I
Due to the characteristics of C4, when the voltage at 08 o'clock of the power supply is less than the voltage vL, the voltage at the enable G1 terminal of the decoder 3 is the same as the change in the power supply voltage, and then from the voltage VL to the voltage vH becomes rLJ, and After a time td seconds after the voltage vH is exceeded, the voltage becomes rHJ. When the power supply stops momentarily and its voltage becomes lower than voltage vH, reset IC4 always sets the voltage at the enable G1 terminal of decoder 3 to rLJ, and keeps the voltage V
When it rises above H, it becomes rHJ after time td seconds. Further, when the power is turned off, when the power supply voltage becomes less than the voltage vH, the voltage at the enable G1 terminal of the decoder 3 is set to rLJ, and when it becomes less than the voltage vL, the change is the same as the change in the power supply voltage.

つまり、電源電圧が過渡期にある時は、リセットIC4
がデコーダ3のイネーブルG1の端子の電圧をrLJに
し、デコーダ3がメモリ1をセレクトするのを禁止し、
その間メモリ1のチップセレクトSの端子にはバックア
ップ電源によりrHJが入力され、書込み、読出し動作
が行えない状態になる。メモリ1に対して書込み、読出
し動作が可能になるのは、デコーダ3のイネーブルG1
の端子にrHJが入力されている時のみであり、これに
よりメモリ1の内容を保護するようにしている。
In other words, when the power supply voltage is in a transition period, the reset IC4
sets the voltage at the enable G1 terminal of decoder 3 to rLJ, prohibits decoder 3 from selecting memory 1,
During that time, rHJ is inputted to the chip select S terminal of the memory 1 by the backup power supply, so that writing and reading operations cannot be performed. Writing and reading operations to memory 1 are enabled by enable G1 of decoder 3.
This is only when rHJ is input to the terminal of , and thereby the contents of memory 1 are protected.

〔発明の効果〕〔Effect of the invention〕

この発明は以上説明したとおり、メモリ・システムにお
いて、閾値回路を設け、この閾値回路により電源の0N
eOFF時での電圧の過渡期にはメモリをセレクトする
デコーダの動作を禁止し、メモリがセレクトされるのを
防止した構成であるので、闇値回路としては既存のIC
などを用いて構成でき、回路構成が複雑にならず安価に
できると共に、電源の08時あるいはOFF時、又は電
源の瞬時停止時でも確実番こメモリの内容を保護できる
メモリ・システムが得られるという優れた効果を奏する
ものである。
As explained above, this invention provides a threshold circuit in a memory system, and uses this threshold circuit to
The structure prohibits the operation of the decoder that selects the memory during the voltage transition period at eOFF, preventing the memory from being selected, so it can be used as a dark value circuit using existing ICs.
It is said that it is possible to construct a memory system that can be configured using a memory card, etc., which does not make the circuit configuration complicated and inexpensive, and which can securely protect the contents of the memory even when the power is turned off at 8 o'clock or when the power is turned off, or when the power is momentarily stopped. It has excellent effects.

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

第1図はこの発明の一実施例であるメモリ・システムを
示す構成図、第2図は第1図のメモリーシステムにおけ
る電源の0N−OFF時での電圧のタイムチャートと、
それに対応してリセットICがデコーダに対して出力す
る信号のタイムチャートを示す図、第3図は従来のメモ
リ・システムを示す構成図、第4図は第3図のメモリ・
システムにおける電源のON−OFF時での電圧のタイ
ムチャートを示す図である。 図において、1・・・メモリ、2・・・CPU(中央処
理装置)、3・・・デコーダ、4・・・リセットIC(
閾値回路)である。 なお、各図中、同一符号は同一、又は相補部分を示す。
FIG. 1 is a configuration diagram showing a memory system according to an embodiment of the present invention, and FIG. 2 is a time chart of voltage when the power supply is turned on and off in the memory system of FIG.
A diagram showing a time chart of a signal that the reset IC outputs to a decoder in response to this, FIG. 3 is a block diagram showing a conventional memory system, and FIG. 4 is a diagram showing the memory system of FIG.
FIG. 2 is a diagram showing a time chart of voltage when power is turned on and off in the system. In the figure, 1...Memory, 2...CPU (Central Processing Unit), 3...Decoder, 4...Reset IC (
threshold circuit). In each figure, the same reference numerals indicate the same or complementary parts.

Claims (2)

【特許請求の範囲】[Claims] (1)CPUと、このCPUと接続されたデコーダ及び
メモリと、上記CPU、デコーダ、メモリと共通の電源
に接続され、入力電圧が所定の閾値以上か否かによりレ
ベルが反転する閾値回路とを備え、上記電源のON・O
FF時等の電源電圧が正常動作範囲に達しない期間にお
いて、上記メモリを書込み及び読出し禁止状態にしたこ
とを特徴とするメモリ・システム。
(1) A CPU, a decoder and memory connected to the CPU, and a threshold circuit connected to a common power supply with the CPU, decoder, and memory, and whose level is inverted depending on whether the input voltage is equal to or higher than a predetermined threshold. In preparation, turn on/off the above power supply.
A memory system characterized in that the memory is in a write and read prohibited state during a period when the power supply voltage does not reach a normal operating range, such as during FF.
(2)上記閾値回路は、リセットICで構成したことを
特徴とする特許請求の範囲第1項記載のメモリ・システ
ム。
(2) The memory system according to claim 1, wherein the threshold circuit is configured with a reset IC.
JP62084205A 1987-04-06 1987-04-06 Memory system Pending JPS63249246A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62084205A JPS63249246A (en) 1987-04-06 1987-04-06 Memory system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62084205A JPS63249246A (en) 1987-04-06 1987-04-06 Memory system

Publications (1)

Publication Number Publication Date
JPS63249246A true JPS63249246A (en) 1988-10-17

Family

ID=13823983

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62084205A Pending JPS63249246A (en) 1987-04-06 1987-04-06 Memory system

Country Status (1)

Country Link
JP (1) JPS63249246A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02264345A (en) * 1989-04-05 1990-10-29 Mitsubishi Electric Corp Memory card

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02264345A (en) * 1989-04-05 1990-10-29 Mitsubishi Electric Corp Memory card

Similar Documents

Publication Publication Date Title
US5382839A (en) Power supply control circuit for use in IC memory card
WO1990001189A1 (en) Apparatus for defined switching of a microcomputer to standby mode
JPS63249246A (en) Memory system
JP2003022670A (en) Semiconductor integrated circuit
JPH0430720Y2 (en)
JP2504864B2 (en) Memory system
JPH054039Y2 (en)
KR890001224B1 (en) Reset and data protecting circuit
JP2552316B2 (en) CMOS semiconductor integrated circuit
JPS5847599Y2 (en) semiconductor storage device
JPS6120077B2 (en)
JPS6073720A (en) Stand-by mode changeover circuit of random access memory
JPS62157955A (en) Memory protecting circuit
JPS58208999A (en) Memory device
JPH0210451A (en) Semiconductor storage device
JPH0561714B2 (en)
JP2903684B2 (en) Semiconductor integrated circuit
JPS6145494A (en) Semiconductor storage device
JPS5864700A (en) Storage protecting circuit
JPS6331143Y2 (en)
JPS5847598Y2 (en) Storage data protection device
JPH03276346A (en) Memory card
JPH03256108A (en) Reset circuit for digital system
JPS6231372B2 (en)
JPS6195426A (en) Control system of microprocessor