JPH05120158A - Back-up memory circuit - Google Patents
Back-up memory circuitInfo
- Publication number
- JPH05120158A JPH05120158A JP3283242A JP28324291A JPH05120158A JP H05120158 A JPH05120158 A JP H05120158A JP 3283242 A JP3283242 A JP 3283242A JP 28324291 A JP28324291 A JP 28324291A JP H05120158 A JPH05120158 A JP H05120158A
- Authority
- JP
- Japan
- Prior art keywords
- signal
- backup
- control signal
- power supply
- low
- 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
Links
Landscapes
- Techniques For Improving Reliability Of Storages (AREA)
Abstract
Description
【0001】[0001]
【産業上の利用分野】この発明は、データ保存のための
バックアップメモリ回路に関し、詳しくは、バックアッ
プ用RAMのチップセレクト信号をPLDにより出力す
るバックアップメモリ回路に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a backup memory circuit for storing data, and more particularly to a backup memory circuit for outputting a chip select signal of a backup RAM by PLD.
【0002】[0002]
【従来の技術】従来、NC装置やマイクロコンピュータ
を含む制御装置等においては、電源OFF時のデータ保
存のために、バッテリで駆動するバックアップ用RAM
を用いることが多かった。そして、これらバックアップ
のためのメモリ回路では、バックアップ用RAMを起動
するためのチップセレクト信号をCMOSゲートからな
るデコーダにより出力していた。2. Description of the Related Art Conventionally, in a control device including an NC device and a microcomputer, a backup RAM driven by a battery for storing data when the power is off.
Was often used. In these memory circuits for backup, a chip select signal for activating the backup RAM is output by a decoder composed of CMOS gates.
【0003】[0003]
【発明が解決しようとする課題】しかしながら、従来の
CMOSゲートは動作が遅いため、近年のCPUの高速
化には対応できないという難点がある。また、多品種少
量生産に対応するため、デコーダの仕様変更を簡単に行
いたいという要望が年々高まっているが、CMOSゲー
トは機能が固定化されているため、仕様変更には内部の
パターン接続を変えるなどの作業が必要となり、簡単に
は行えないという不便さがある。However, since the conventional CMOS gate operates slowly, it is difficult to cope with the recent increase in the CPU speed. Moreover, in order to support high-mix low-volume production, there is an increasing demand year after year to easily change the specifications of the decoder. However, since the CMOS gate has a fixed function, internal pattern connection is required to change the specifications. There is an inconvenience that it is necessary to change the work and it cannot be done easily.
【0004】このような問題点を解決するため、CMO
Sゲートの代わりにPLD(Programable
Logic Device)を使用することが考えられ
ているが、実際にはバッテリ電圧の3V付近で動作する
PLDがないため、実現は困難であった。In order to solve such a problem, the CMO
PLD (Programmable) instead of S gate
Although it is considered to use a Logic Device), it is difficult to realize it because there is no PLD that operates in the vicinity of the battery voltage of 3V in practice.
【0005】この発明は、バックアップ用RAMのチッ
プセレクト信号をPLDにより出力するようにしたバッ
クアップメモリ回路を提供することを目的とする。An object of the present invention is to provide a backup memory circuit in which a chip select signal for a backup RAM is output by a PLD.
【0006】[0006]
【課題を解決するための手段】上記課題を解決するた
め、この発明に係わるバックアップメモリ回路において
は、装置電源電圧とバックアップ電源電圧とを比較し
て、ロー又はハイの2種類のコントロール信号を出力す
る比較回路と、ローレベルのチップセレクト信号を出力
するPLDと、前記チップセレクト信号とロー又はハイ
のコントロール信号に基づいてバックアップRAMへの
出力信号を決定する論理回路とを具備するものである。In order to solve the above problems, in a backup memory circuit according to the present invention, two types of control signals, low or high, are output by comparing the device power supply voltage with the backup power supply voltage. And a PLD that outputs a low-level chip select signal, and a logic circuit that determines an output signal to the backup RAM based on the chip select signal and a low or high control signal.
【0007】[0007]
【作用】比較回路は装置電源電圧とバックアップ電源電
圧とを比較し、装置電源電圧がバックアップ電源電圧よ
り小さいときはハイレベルのコントロール信号を出力
し、装置電源電圧がバックアップ電源電圧より大きいか
あるいは等しいときはローレベルのコントロール信号を
出力する。電源投入時、論理回路にはローレベルのコン
トロール信号と同じくローレベルのチップセレクト信号
が入るため、論理和によりローレベルのチップセレクト
信号が出力信号としてバックアップRAMに供給され
る。一方、電源OFF時にはPLDは動作しないのでチ
ップセレクト信号は出力されず、論理回路にはハイレベ
ルのコントロール信号のみが入る。このため、論理和に
よりハイレベルの出力信号がバックアップRAMに供給
される。The comparator circuit compares the device power supply voltage with the backup power supply voltage, outputs a high level control signal when the device power supply voltage is lower than the backup power supply voltage, and the device power supply voltage is greater than or equal to the backup power supply voltage. When this is the case, a low level control signal is output. When the power is turned on, since the low level chip select signal is input to the logic circuit as well as the low level control signal, the low level chip select signal is supplied as an output signal to the backup RAM by the logical sum. On the other hand, when the power is off, the PLD does not operate, so the chip select signal is not output and only the high level control signal is input to the logic circuit. Therefore, a high level output signal is supplied to the backup RAM by the logical sum.
【0008】したがって、電源投入時にはローレベルの
チップセレクト信号によりバックアップRAMは起動
し、電源OFF時にはハイレベルの出力信号によりバッ
クアップRAM内部のデータは保持されることになる。Therefore, when the power is turned on, the backup RAM is activated by the low level chip select signal, and when the power is turned off, the data in the backup RAM is held by the high level output signal.
【0009】[0009]
【実施例】以下、この発明に係わるバックアップメモリ
回路の一実施例を図面を参照しながら説明する。DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of a backup memory circuit according to the present invention will be described below with reference to the drawings.
【0010】図1は、バックアップメモリ回路の構成を
示す回路図である。この回路は、装置電源電圧Vccと
バックアップ電源(バッテリ)電圧Vcbとを比較し
て、ロー又はハイレベルのコントロール信号を出力する
コンパレータ1と、チップセレクト信号を出力するPL
D2と、前記チップセレクト信号とロー又はハイレベル
のコントロール信号の論理和により、バックアップRA
M3への出力信号を決定するOR回路4とから構成され
ている。FIG. 1 is a circuit diagram showing the configuration of the backup memory circuit. This circuit compares a device power supply voltage Vcc with a backup power supply (battery) voltage Vcb and outputs a low or high level control signal, and a PL which outputs a chip select signal.
A backup RA is generated by the logical sum of D2 and the chip select signal and a low or high level control signal.
It is composed of an OR circuit 4 which determines an output signal to M3.
【0011】前記コンパレータ1、バックアップRAM
3、OR回路4はバックアップ電源電圧Vcb(3V)
により駆動され、PLD2は装置電源電圧Vcc(5
V)により駆動される。したがって、PLD2は電源投
入時に起動し、電源OFF時には動作しない。Comparator 1, backup RAM
3, the OR circuit 4 has a backup power supply voltage Vcb (3V)
PLD2 is driven by the device power supply voltage Vcc (5
Driven by V). Therefore, the PLD 2 is activated when the power is turned on and does not operate when the power is turned off.
【0012】図1の回路において、コンパレータ1はV
ccとVcbを比較し、Vcc≧Vcbのとき出力を
“ロー”、Vcc<Vcbのとき出力を“ハイ”とす
る。すなわち、電源投入時にはローレベルの信号が出力
され、電源OFF時にはハイレベルの信号が出力される
ことになる。そして、これらの信号(図中a)はコント
ロール信号として次段のOR回路4に加えられる。ま
た、電源投入時にはPLD2からローレベルのチップセ
レクト信号(図中b)が出力され、OR回路4に加えら
れる。In the circuit of FIG. 1, the comparator 1 has V
Comparing cc and Vcb, when Vcc ≧ Vcb, the output is “low”, and when Vcc <Vcb, the output is “high”. That is, a low level signal is output when the power is turned on, and a high level signal is output when the power is turned off. Then, these signals (a in the figure) are added as control signals to the OR circuit 4 in the next stage. When the power is turned on, a low level chip select signal (b in the figure) is output from the PLD 2 and added to the OR circuit 4.
【0013】OR回路4では、前記コントロール信号と
チップセレクト信号の論理和により、バックアップRA
M3への出力信号を決定する。すなわち、電源投入時
(Vcc≧Vcb)には、コンパレータ1からローレベ
ルのコントロール信号が出力され、PLD2からは同じ
くローレベルのチップセレクト信号が出力されるので、
2つの信号の論理和は“ロー”となる。この結果、バッ
クアップRAM3に供給される出力信号(図中c)はロ
ーレベルのチップセレクト信号となる。これに対して、
電源OFF時(Vcc<Vcb)には、コンパレータ1
からハイレベルのコントロール信号が出力されるが、P
LD2は動作しないため論理和は“ハイ”となる。この
結果、バックアップRAM3に供給される出力信号(図
中c)はハイレベルの信号となる。In the OR circuit 4, the backup RA is calculated by the logical sum of the control signal and the chip select signal.
Determine the output signal to M3. That is, when the power is turned on (Vcc ≧ Vcb), the comparator 1 outputs the low-level control signal and the PLD 2 also outputs the low-level chip select signal.
The logical sum of the two signals is "low". As a result, the output signal (c in the figure) supplied to the backup RAM 3 becomes a low level chip select signal. On the contrary,
When the power is off (Vcc <Vcb), the comparator 1
Outputs a high level control signal from P
Since the LD2 does not operate, the logical sum becomes "high". As a result, the output signal (c in the figure) supplied to the backup RAM 3 becomes a high level signal.
【0014】上記回路構成によれば、電源投入時にはチ
ップセレクト信号がバックアップRAM3に供給される
ので、所定のバックアップRAMを起動することができ
る。このとき、バックアップRAM3にはデータの書き
込みを行うことができる。また、電源OFF時にはハイ
レベルの信号がバックアップRAM3に供給されるの
で、データの書き込みを行うことはできず、内部のデー
タを保持することができる。According to the above circuit configuration, since the chip select signal is supplied to the backup RAM 3 when the power is turned on, a predetermined backup RAM can be activated. At this time, data can be written in the backup RAM 3. Further, since the high-level signal is supplied to the backup RAM 3 when the power is turned off, the data cannot be written and the internal data can be held.
【0015】なお、この実施例では論理回路としてOR
回路を用いているが、同等の機能を得ることができれ
ば、他の回路で構成してもよい。In this embodiment, an OR circuit is used as a logic circuit.
Although a circuit is used, another circuit may be used as long as an equivalent function can be obtained.
【0016】[0016]
【発明の効果】以上説明したように、この発明に係わる
バックアップメモリ回路においては、電源のON/OF
Fに対応してロー又はハイのコントロール信号を出力さ
せると共に、電源のONに対応してPLDからチップセ
レクト信号を出力させ、前記チップセレクト信号とロー
又はハイのコントロール信号に基づいてバックアップR
AMへの出力信号を決定するようにしたため、従来CM
OSゲートで実現していたバックアップRAMのチップ
セレクト信号をPLDで実現することができる。したが
って、CPUの高速化にも十分対応できるようになり、
各種の仕様変更も簡単に行うことができる。As described above, in the backup memory circuit according to the present invention, the power is turned on / off.
A low or high control signal is output corresponding to F, and a chip select signal is output from the PLD in response to power ON, and a backup R is performed based on the chip select signal and a low or high control signal.
Since the output signal to the AM is decided, the conventional CM
The backup RAM chip select signal realized by the OS gate can be realized by the PLD. Therefore, it becomes possible to sufficiently cope with the speedup of the CPU,
Various specifications can be changed easily.
【0017】また、PLDを装置電源電圧で駆動してい
るので、安定した動作を得ることができる。しかも、装
置電源電圧がOFFとなってもバックアップRAMには
ハイレベルの信号が供給されるので、書き込み等による
データの破壊を未然に防止することができる。Since the PLD is driven by the device power supply voltage, stable operation can be obtained. In addition, since the high-level signal is supplied to the backup RAM even when the device power supply voltage is turned off, it is possible to prevent data destruction due to writing or the like.
【図1】バックアップメモリ回路の構成を示す回路図。FIG. 1 is a circuit diagram showing a configuration of a backup memory circuit.
1…コンパレータ、2…PLD、3…バックアップRA
M、4…OR回路1 ... Comparator, 2 ... PLD, 3 ... Backup RA
M, 4 ... OR circuit
Claims (1)
較し、第1又は第2のコントロール信号を出力する比較
回路と、チップセレクト信号を出力するPLDと、前記
第1又は第2のコントロール信号とチップセレクト信号
に基づいてバックアップRAMへの出力信号を決定する
論理回路とを具備することを特徴とするバックアップメ
モリ回路。1. A comparison circuit for comparing a device power supply voltage with a backup power supply voltage and outputting a first or second control signal, a PLD for outputting a chip select signal, and the first or second control signal. And a logic circuit that determines an output signal to the backup RAM based on a chip select signal.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP3283242A JPH05120158A (en) | 1991-10-29 | 1991-10-29 | Back-up memory circuit |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP3283242A JPH05120158A (en) | 1991-10-29 | 1991-10-29 | Back-up memory circuit |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH05120158A true JPH05120158A (en) | 1993-05-18 |
Family
ID=17662933
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP3283242A Pending JPH05120158A (en) | 1991-10-29 | 1991-10-29 | Back-up memory circuit |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH05120158A (en) |
-
1991
- 1991-10-29 JP JP3283242A patent/JPH05120158A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8041975B2 (en) | Programmable I/O cell capable of holding its state in power-down mode | |
US8010819B2 (en) | Microcontroller unit (MCU) with power saving mode | |
US5541551A (en) | Analog voltage reference generator system | |
JP2850544B2 (en) | Integrated circuit device | |
US6778460B1 (en) | Semiconductor memory device and method for generation of core voltage | |
JPH10199278A (en) | Repair fuse circuit for flash memory device | |
US5804996A (en) | Low-power non-resetable test mode circuit | |
US6798276B2 (en) | Reduced potential generation circuit operable at low power-supply potential | |
JP2689768B2 (en) | Semiconductor integrated circuit device | |
US6614674B2 (en) | Regulator circuit for independent adjustment of pumps in multiple modes of operation | |
JPS5857838B2 (en) | decoding circuit | |
JPS6322387B2 (en) | ||
JPH05120158A (en) | Back-up memory circuit | |
JP4623494B2 (en) | Microcomputer | |
JPH0528768A (en) | Semiconductor device | |
JP3220595B2 (en) | IC memory card with backup power supply | |
KR100235967B1 (en) | Semiconductor device of noise reduction type | |
KR100224763B1 (en) | Power voltage supply circuit of semiconductor memory device | |
US5889706A (en) | Apparatus for and method of terminal setting of integrated circuit | |
JPH08190792A (en) | Static ram | |
JP2000113693A (en) | Nonvolatile memory and semiconductor integrated circuit | |
KR20010041910A (en) | Circuit for powering down unused configuration bits to minimize power consumption | |
KR100574979B1 (en) | Input buffer capable of detecting operation controlling voltage | |
JPH01205257A (en) | Integrated circuit | |
JPH06275076A (en) | Semiconductor memory device |