JPH01180024A - Control system for synchronous logic circuit - Google Patents

Control system for synchronous logic circuit

Info

Publication number
JPH01180024A
JPH01180024A JP63004302A JP430288A JPH01180024A JP H01180024 A JPH01180024 A JP H01180024A JP 63004302 A JP63004302 A JP 63004302A JP 430288 A JP430288 A JP 430288A JP H01180024 A JPH01180024 A JP H01180024A
Authority
JP
Japan
Prior art keywords
processing
logic circuit
circuit
input
gate
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
JP63004302A
Other languages
Japanese (ja)
Inventor
Kazuyuki Norita
法田 和行
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.)
Denso Ten Ltd
Original Assignee
Denso Ten 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 Denso Ten Ltd filed Critical Denso Ten Ltd
Priority to JP63004302A priority Critical patent/JPH01180024A/en
Publication of JPH01180024A publication Critical patent/JPH01180024A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To decrease energy consumption of the title circuit being in a stand-by state by causing the oscillating frequency of a clock pulse oscillating means to be low while a synchronous logic circuit is in the stand-by state. CONSTITUTION:The logic circuit executes a logic processing with synchronizing to a clock pulse from an oscillating means 20 which is composed of an oscillating circuit 1 and a dividing circuit 3. The dividing circuit 3 extracts a standard clock signal CLKA from a terminal QA to supply to a line 4, and the signal is fed to an AND gate 5. Then, a low speed clock signal CLKB is extracted from a terminal QB and fed to the AND gate 5. The logic circuit executes back-up processing such as the reception of an input or a time processing but while in the standy state in which the original processing is not executed, the processing can be executed at low speed clock since the processing quantity is small. The higher a clock frequency becomes, the larger the energy consumption quantity becomes and the narrower the operating voltage range of the logic circuit becomes. Thus, AND gates 5 and 7 are selected through an FF8, and during in the stand-by state, the processing is executed with use of the low speed clock signal CLKB. Then, the energy consumption quantity is decreased.

Description

【発明の詳細な説明】 技術分野 本発明は、演算処理の行われる通常の電源の遮断時にお
いても、たとえば入力の受付や時計処理などのために待
機するバックアップ処理の必要なマイクロコンピュータ
等に好適に実施される同期式論理回路の制御方式に関す
る。
DETAILED DESCRIPTION OF THE INVENTION Technical Field The present invention is suitable for microcomputers, etc. that require backup processing to standby for example, input reception, clock processing, etc. even when power is cut off during normal arithmetic processing. The present invention relates to a control method for a synchronous logic circuit implemented in the present invention.

背景技術 従来からマイクロコンピュータでは、演算処理を休止し
ている待機中において、入力の受付や時計処理などのバ
ックアップ処理の必要がない場合には、電源を遮断した
り、あるいはランダムアクセスメモリ(RAMと略称す
る)のみに電力を供給するようにして、省電力化が図ら
れている。しかしながら前述のようなバックアップ処理
の必要な場合には、そのようなバックアップ処理にかな
りの電力を消費してしまう、したがってバックアップ処
理の行われる待機中の電力消費量を低減することができ
る構成が所望されていた。
BACKGROUND ART Traditionally, microcomputers have been known to shut off the power or use random access memory (RAM) when there is no need for backup processing such as input reception or clock processing during standby when arithmetic processing is suspended. In order to save power, power is supplied only to the However, when backup processing is required as described above, such backup processing consumes a considerable amount of power. Therefore, it is desirable to have a configuration that can reduce power consumption during standby while backup processing is performed. It had been.

発明が解決すべき問題点 本発明の目的は、待機中の電力消費量を低減することが
できるようにした同期式論理回路の制御方式を提供する
ことである。
Problems to be Solved by the Invention An object of the present invention is to provide a control method for a synchronous logic circuit that can reduce power consumption during standby.

問題点を解決するための手段 本発明は、発振手段から出力されるクロックパルスに同
期して論理処理を行う同期式論理回路の制御方式におい
て、 同期式論理回路が該同期式論理回路の本来行うべき処理
を行っていない待機中には、前記発振手段の発振周波数
を低くすることを特徴とする同期式論理回路の制御方式
である。
Means for Solving the Problems The present invention provides a control method for a synchronous logic circuit that performs logic processing in synchronization with a clock pulse output from an oscillation means. This control method for a synchronous logic circuit is characterized in that the oscillation frequency of the oscillation means is lowered during standby when no processing is being performed.

作  用 本発明に従えば、論理回路は発振手段からのクロックパ
ルスに同期して論理処理を行う、−最に、論理回路が本
来行うべき処理を行っておらず、たとえば入力の受付け
や時計処理などのバックアップ処理を行っている待機中
では、通常処理時と比べて処理量が少なく、したがって
低速のクロックでも処理が可能である。またタロツク周
波数が高いほど電力消費量は大きく、かつ論理回路の動
作電圧範囲が狭い。
According to the present invention, the logic circuit performs logic processing in synchronization with the clock pulse from the oscillation means.Furthermore, the logic circuit does not perform the processing that it should originally perform, such as accepting input or clock processing. During standby when backup processing is being performed, the amount of processing is smaller than during normal processing, and therefore processing can be performed even with a low-speed clock. Furthermore, the higher the tarok frequency, the greater the power consumption, and the narrower the operating voltage range of the logic circuit.

このため待機中に発振手段の発振周波数が低くされ、こ
れによって待機中の電力消費量を低減することができる
とともに、論理回路の動作電圧範囲を広くすることがで
きる。
Therefore, the oscillation frequency of the oscillation means is lowered during standby, thereby making it possible to reduce power consumption during standby and widening the operating voltage range of the logic circuit.

実施例 第1図は、本発明の一実施例のブロック図である。水晶
発振子31および能動化回路32.33を含んで構成さ
れる発振回路1からの一定周波数のパルス信号CLKは
、ライン2を介して、たとえばカウンタなどによって実
現される分周回路3に与えられる1発振回路1と分周回
路3とは、発振手段20を構成する0分周回路3は、出
力端子QAからライン4に標準のクロック信号CLKA
を導出してANDゲート5の一方の入力に与え、また出
力端子QBからライン6に低速のクロック信号CLKB
を導出してANDゲート7の一方の入力に与える。
Embodiment FIG. 1 is a block diagram of an embodiment of the present invention. A constant frequency pulse signal CLK from an oscillation circuit 1 including a crystal oscillator 31 and activation circuits 32 and 33 is given via a line 2 to a frequency dividing circuit 3 realized by, for example, a counter. 1 oscillation circuit 1 and frequency divider circuit 3, 0 frequency divider circuit 3 constituting oscillation means 20 outputs standard clock signal CLKA from output terminal QA to line 4.
is derived and applied to one input of AND gate 5, and a low-speed clock signal CLKB is applied to line 6 from output terminal QB.
is derived and applied to one input of AND gate 7.

ライン2に導出される発振回路1からの信号CLKはま
た、フリップ70ツブ8のクロック入力端子CLKに与
えられる。このフリップフロップ8の入力端子りには、
ORゲート9からの出力が与えられる。ORゲート9の
一方の入力には、電源スィッチ10が導通されると、抵
抗11およびバッファ12からライン17を介して、電
源15からのハイレベルの入力が与えられる。
The signal CLK from the oscillation circuit 1 led out on line 2 is also applied to the clock input terminal CLK of flip 70 tube 8. The input terminal of this flip-flop 8 is
An output from OR gate 9 is given. When the power switch 10 is turned on, one input of the OR gate 9 receives a high level input from the power supply 15 from the resistor 11 and the buffer 12 via the line 17.

フリップフロップ8の出力端子Qからの出力はライン1
3を介してANDゲート5の他方の入力に与えられてお
り、また出力端子Qからの出力はライン14を介してA
NDゲート7の他方の入力に与えられる。ANDゲート
5.7からの出力は、論理回路であるマイクロコンピュ
ータ21のクロック入力端子EXに与えられる。この入
力端子EXは、抵抗22を介して、バックアップ電源で
ある電池23に接続される。マイクロコンピュータ21
は、クロック入力端子Eχから入力されるクロック信号
に同期して、論理処理を行う。フリップフロップ8の入
力端子Rは、異なったレベルを有するライン19に接続
される。
The output from the output terminal Q of flip-flop 8 is line 1.
3 to the other input of AND gate 5, and the output from output terminal Q is applied to A via line 14.
It is applied to the other input of ND gate 7. The output from the AND gate 5.7 is applied to the clock input terminal EX of the microcomputer 21, which is a logic circuit. This input terminal EX is connected via a resistor 22 to a battery 23 which is a backup power source. microcomputer 21
performs logical processing in synchronization with the clock signal input from the clock input terminal Eχ. The input terminal R of the flip-flop 8 is connected to a line 19 with different levels.

マイクロコンピュータ21に関連してリセット信号発生
回路24が設けられており、このリセット信号発生回路
24からの出力は、ライン18を介してマイクロコンピ
ュータ21のリセット入力端子RESETに与えられる
とともに、反転されてフリップフロップ8の入力端子P
に入力される。
A reset signal generation circuit 24 is provided in association with the microcomputer 21, and the output from the reset signal generation circuit 24 is applied to the reset input terminal RESET of the microcomputer 21 via the line 18 and is inverted. Input terminal P of flip-flop 8
is input.

マイクロコンピュータ21に関連してまた、リードオン
リメモリ(以下、ROMと略称する)25と、ランダム
アクセスメモリ(以下、RAMと略称する)26と、入
出力回路27とが設けられており、これらはアドレスバ
スAO〜Am、データパスDO〜Dm、および制御ライ
ン28を介して相互に接続される。マイクロコンピュー
タ21の電源入力端子VCCには、電池23からの電力
が供給される。
Also provided in connection with the microcomputer 21 are a read-only memory (hereinafter abbreviated as ROM) 25, a random access memory (hereinafter abbreviated as RAM) 26, and an input/output circuit 27. They are interconnected via address buses AO-Am, data paths DO-Dm, and control lines 28. Power from the battery 23 is supplied to the power input terminal VCC of the microcomputer 21 .

RAM26には電池23からの電力が供給されており、
これによって電源スィッチ10が遮断された場合でも、
その記憶内容は保持される。入出力回路27には、ライ
ン17.29を介して電源スィッチ10のスイッチング
態様を表すORゲート9の一方の入力と等しい信号が与
えられる。入出力回路27はまた、ライン30を介して
ORゲート9の他方の入力に接続される。
The RAM 26 is supplied with power from the battery 23,
Even if the power switch 10 is cut off by this,
Its memory contents are retained. The input/output circuit 27 is supplied with a signal equal to one input of the OR gate 9 representing the switching behavior of the power switch 10 via a line 17.29. Input/output circuit 27 is also connected via line 30 to the other input of OR gate 9.

上述のフリツブフロラ18の動作は、第1表で示される
The operation of the above-described frit tube flora 18 is shown in Table 1.

(以下余白) 第    1    表 なおこの第1表において、Pは入力端子Pの反転入力、
すなわちライン18のレベルを表し、Rは入力端子Rの
反転入力、すなわちライン19のレベルを表す、またこ
の第1表中において、*は冗長を表す。
(Left below) Table 1 In Table 1, P is the inverted input of input terminal P,
That is, it represents the level of line 18, and R represents the inverted input of input terminal R, that is, the level of line 19. In this first table, * represents redundancy.

したがってライン18、すなわち入力端子Pの反転入力
Pがローレベルであるときには、他の入力端子り、CL
K、Rの状態に拘わらず、出力端子Qはハイレベルとな
り、出力端子Qはローレベルとなる。またライン19、
すなわち入力端子Rの反転入力Rがローレベルであると
きには、他の入力端子り、CLK、Pの状態に拘わらず
、出力端子Qがローレベルとなり、出力端子Qがハイレ
ベルどなる。
Therefore, when line 18, the inverting input P of input terminal P, is at a low level, the other input terminals, CL
Regardless of the states of K and R, the output terminal Q is at high level and the output terminal Q is at low level. Also line 19,
That is, when the inverted input R of the input terminal R is at a low level, the output terminal Q becomes a low level and the output terminal Q becomes a high level, regardless of the states of the other input terminals, CLK, and P.

入力端子P、Rの反転入力P、Hの両方がハイレベルの
状態で入力端子りがローレベルであるときには、↓で示
される信号CLKの立下りを捉らえて出力端子Qはロー
レベルとなり、出力端子Qはハイレベルとなる。また反
転入力P、Rがハイレベルの状態で入力端子りがハイレ
ベルであるときには、信号CLKの立下りを捉らえて出
力端子Qはハイレベルとなり、出力端子Qはローレベル
となる。
When both the inverted inputs P and H of the input terminals P and R are at high level and the input terminal is at low level, the output terminal Q becomes low level by capturing the fall of the signal CLK shown by ↓, Output terminal Q becomes high level. Further, when the inverting inputs P and R are at a high level and the input terminal is at a high level, the fall of the signal CLK is captured and the output terminal Q becomes a high level, and the output terminal Q becomes a low level.

第2図は、動作を説明するための波形図である。FIG. 2 is a waveform diagram for explaining the operation.

発振回路1からの信号CLKが第2図(1)で示される
とき、分周回路3の出力端子QAからライン4には第2
図(2)で示されるクロック信号CLKAが導出され、
また出力端子QBからライン6には第2図(3)で示さ
れるクロック信号CLKBが導出される。
When the signal CLK from the oscillation circuit 1 is shown in FIG.
The clock signal CLKA shown in figure (2) is derived,
Further, a clock signal CLKB shown in FIG. 2(3) is derived from the output terminal QB to the line 6.

時刻t1において、第2図(4)で示されるように電源
スィッチ10が導通されると、フリッププロップ8は前
記信号CLKに同期して、出力端子Qは第2図(5)で
示されるようにハイレベルとなり、また出力端子Qは第
2図(6)で示されるようにローレベルとなる。これに
よってマイクロコンピュータ21のクロック入力端子E
Xには第2図(7)で示されるように、ANDゲート5
を介する標準のクロック信号CLKAが入力されて、マ
イクロコンピュータ21は本来行うべき通常の処理、た
とえばマイクロコンピュータ21が無線機に用いられて
いる場合には、同調動作などを行うことができる。
At time t1, when the power switch 10 is turned on as shown in FIG. 2 (4), the flip-flop 8 is turned on in synchronization with the signal CLK, and the output terminal Q is turned on as shown in FIG. 2 (5). The output terminal Q becomes a high level, and the output terminal Q becomes a low level as shown in FIG. 2 (6). As a result, the clock input terminal E of the microcomputer 21
As shown in FIG. 2 (7), there is an AND gate 5 at X.
When the standard clock signal CLKA is inputted to the microcomputer 21, the microcomputer 21 can carry out the normal processing that it should normally perform, such as a tuning operation if the microcomputer 21 is used in a radio device.

また時刻t2において、第2図(4)で示されるように
電源スィッチ10が遮断されると、フリップフロップ8
は前記信号CLKに同期して、第2図(5)で示される
ように出力端子Qをローレベルとし、第2図(6)で示
されるように出力端子Qをハイレベルとする。これによ
ってマイクロコンピュータ21のクロック入力端子EX
には第2図(7)で示されるように、ANDゲート7を
介する低速のクロック信号CLKDが入力され、たとえ
ば入力の受付けや時計処理などのバックアップ処理を行
って待機することができる。
Further, at time t2, when the power switch 10 is cut off as shown in FIG. 2(4), the flip-flop 8
In synchronization with the signal CLK, the output terminal Q is set to a low level as shown in FIG. 2 (5), and the output terminal Q is set to a high level as shown in FIG. 2 (6). As a result, the clock input terminal EX of the microcomputer 21
As shown in FIG. 2 (7), a low-speed clock signal CLKD is inputted through the AND gate 7, and it is possible to perform backup processing such as accepting input and clock processing, and then stand by.

このようにしてマイクロコンピュータ21のバックアッ
プ処理時には、通常処理時と比べて低速のクロック信号
CLKBによって処理が行われるようにしたので、電力
消費量を低減することができるとともに、動作電圧範囲
に余裕を持たせることができる。
In this way, during backup processing of the microcomputer 21, processing is performed using the clock signal CLKB, which is slower than during normal processing, making it possible to reduce power consumption and create a margin in the operating voltage range. You can have it.

以上の説明では、電源スィッチ10が導通されていない
時には、フリップフロップ8の入力端子りがローレベル
となって、バックアップ処理が行われたけれども、所望
とするときには、ライン2つを介してORゲート9の一
方の入力がローレベルとなったことを入出力回路27が
検出すると、マイクロコンピュータ21はソフトウェア
によって入出力回路27に出力を導出し、ライン30を
介してORゲート9の他方の入力をハイレベルとするよ
うに構成して、通常処理時と同様のクロック信号CLK
Aで処理を行うようにしてもよい。
In the above explanation, when the power switch 10 is not conductive, the input terminal of the flip-flop 8 is at a low level and backup processing is performed. When the input/output circuit 27 detects that one input of the OR gate 9 has become a low level, the microcomputer 21 outputs an output to the input/output circuit 27 by software, and outputs the other input of the OR gate 9 via the line 30. The clock signal CLK is configured to be at a high level and is the same as in normal processing.
Processing may be performed in A.

効  果 以上のように本発明によれば、論理回路の待機中には、
発振手段の発振周波数を低くするようにしたので、待機
中の電力消費量を低減することができるとともに、論理
回路の動作電圧範囲を広くすることができる。
Effects As described above, according to the present invention, while the logic circuit is on standby,
Since the oscillation frequency of the oscillation means is lowered, power consumption during standby can be reduced and the operating voltage range of the logic circuit can be widened.

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

第1図は本発明の一実施例のブロック図、第2図は動作
を説明するための波形図である。 1・・・発振回路、3・・・分周回路、5.7・・・A
NDゲート、8・・・フリップフロップ、9・・・OR
ゲート、10・・・電源スィッチ、20・・・発振手段
、21・・・マイクロコンピュータ、23・・・電池、
24・・・リセット信号発生回路、25・・・ROM、
26・・・RAM、27・・・入出力回路 代理人  弁理士 画数 圭一部
FIG. 1 is a block diagram of an embodiment of the present invention, and FIG. 2 is a waveform diagram for explaining the operation. 1... Oscillation circuit, 3... Frequency dividing circuit, 5.7... A
ND gate, 8...flip-flop, 9...OR
gate, 10... power switch, 20... oscillation means, 21... microcomputer, 23... battery,
24... Reset signal generation circuit, 25... ROM,
26...RAM, 27...Input/output circuit agent patent attorney number of strokes Keiichi

Claims (1)

【特許請求の範囲】 発振手段から出力されるクロックパルスに同期して論理
処理を行う同期式論理回路の制御方式において、 同期式論理回路が該同期式論理回路の本来行うべき処理
を行つていない待機中には、前記発振手段の発振周波数
を低くすることを特徴とする同期式論理回路の制御方式
[Claims] In a control method for a synchronous logic circuit that performs logic processing in synchronization with a clock pulse output from an oscillation means, the synchronous logic circuit performs the processing that the synchronous logic circuit is supposed to perform. 1. A control method for a synchronous logic circuit, characterized in that the oscillation frequency of the oscillation means is lowered during standby.
JP63004302A 1988-01-11 1988-01-11 Control system for synchronous logic circuit Pending JPH01180024A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63004302A JPH01180024A (en) 1988-01-11 1988-01-11 Control system for synchronous logic circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63004302A JPH01180024A (en) 1988-01-11 1988-01-11 Control system for synchronous logic circuit

Publications (1)

Publication Number Publication Date
JPH01180024A true JPH01180024A (en) 1989-07-18

Family

ID=11580714

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63004302A Pending JPH01180024A (en) 1988-01-11 1988-01-11 Control system for synchronous logic circuit

Country Status (1)

Country Link
JP (1) JPH01180024A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0358207A (en) * 1989-07-27 1991-03-13 Nec Corp Microcomputer
JPH0527864A (en) * 1991-07-24 1993-02-05 Matsushita Electric Works Ltd Power failure compensating structure for microcomputer equipment
JP2016508258A (en) * 2012-12-13 2016-03-17 コーヒレント・ロジックス・インコーポレーテッド Clock distribution network for multi-frequency multiprocessor systems.

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0358207A (en) * 1989-07-27 1991-03-13 Nec Corp Microcomputer
JPH0527864A (en) * 1991-07-24 1993-02-05 Matsushita Electric Works Ltd Power failure compensating structure for microcomputer equipment
JP2016508258A (en) * 2012-12-13 2016-03-17 コーヒレント・ロジックス・インコーポレーテッド Clock distribution network for multi-frequency multiprocessor systems.
US10007293B2 (en) 2012-12-13 2018-06-26 Coherent Logix, Incorporated Clock distribution network for multi-frequency multi-processor systems

Similar Documents

Publication Publication Date Title
EP1451666B1 (en) Glitch free clock selection switch
US6975145B1 (en) Glitchless dynamic multiplexer with synchronous and asynchronous controls
US5155840A (en) Single-chip mircocomputer with clock-signal switching function which can disable a high-speed oscillator to reduce power consumption
US5623223A (en) Glitchless clock switching circuit
US5291528A (en) Circuit for glitch-free switching of asynchronous clock sources
JPH07114348B2 (en) Logic circuit
EP0668592A1 (en) Internal timing method and circuit for programmable memories
JPH07319578A (en) Method and apparatus for generation of phase-controlled clock signal
US5167031A (en) Variable frequency clock pulse generator for microcomputer
US5606293A (en) Clock generator for microcomputer having reduced start-up time
US7109776B2 (en) Gating for dual edge-triggered clocking
JPH01180024A (en) Control system for synchronous logic circuit
US5568100A (en) Synchronous power down clock oscillator device
US5969548A (en) Frequency divider with low power consumption
US5467042A (en) Low power clocking apparatus and method
JPH0321928B2 (en)
JP2819877B2 (en) Oscillation circuit
US6614277B1 (en) Circuit for providing a minimum wake-up time in the wake-up logic circuits
US6092129A (en) Method and apparatus for communicating signals between circuits operating at different frequencies
US6496078B1 (en) Activating on-chip oscillator using ring oscillator
US6166574A (en) Circuit for turning on and off a clock without a glitch
US5459764A (en) Clock synchronization system
JPH0224712A (en) Data processing circuit
JP2001228936A (en) Microcomputer provided with internal reset signal generation circuit
JP3260169B2 (en) Pulse swallow type variable frequency divider