JPS6243763A - Stand-by mode circuit - Google Patents

Stand-by mode circuit

Info

Publication number
JPS6243763A
JPS6243763A JP60183647A JP18364785A JPS6243763A JP S6243763 A JPS6243763 A JP S6243763A JP 60183647 A JP60183647 A JP 60183647A JP 18364785 A JP18364785 A JP 18364785A JP S6243763 A JPS6243763 A JP S6243763A
Authority
JP
Japan
Prior art keywords
signal
level
stand
circuit
mode
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.)
Granted
Application number
JP60183647A
Other languages
Japanese (ja)
Other versions
JPH0654504B2 (en
Inventor
Kazuyoshi Yoshida
和義 吉田
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.)
Toshiba Corp
Toshiba Electronic Device Solutions Corp
Original Assignee
Toshiba Corp
Toshiba Microelectronics 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 Toshiba Corp, Toshiba Microelectronics Corp filed Critical Toshiba Corp
Priority to JP60183647A priority Critical patent/JPH0654504B2/en
Publication of JPS6243763A publication Critical patent/JPS6243763A/en
Publication of JPH0654504B2 publication Critical patent/JPH0654504B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Power Sources (AREA)
  • Microcomputers (AREA)

Abstract

PURPOSE:To simplify the processing when the operation is switched to a stand-by mode by inhibiting the stand-by input signal by means of the software and a rewritable flag. CONSTITUTION:The reset signal RS and the power save signal PS are set at an L level (time point t2) and an H level (time point t4) respectively. When the output of an AND gate 18 is set at an L level, an oscillating circuit 19 restarts its oscillation. Then internal synchronizing signals phi1 and phi2 are produced. When the signal RS is set at an H level, the stand-by enable flag of a latch circuit 13 is set after the circuit 13 is reset. Thus the signal PS is inhibited. Here the signal PS is set at an L level and therefore the operation is not shifted to a stand-by mode. Then an interruption is produced and the operation can be shifted to the stand-by mode within an interruption routine. Thus the processing can be simplified when the operation is switched to the stand-by mode.

Description

【発明の詳細な説明】 この発明は,スタンドバイモードを備えたシングルチッ
プマイクロコンピュータ等のスタンドバイモード回路に
関する。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a standby mode circuit for a single-chip microcomputer or the like having a standby mode.

〔発明の技術的背景とその問題点〕[Technical background of the invention and its problems]

一般に、半導体集積回路においては、消費電力を極力少
すくシ,且つメモリのデータ等を保持する有効な手段と
して,内部回路の発振を停止させて回路に流れる電流を
μAオーダ以内抑える手法が用いられる。この時の発振
が停止している状態をスタンドバイモードと言う。
Generally, in semiconductor integrated circuits, as an effective means of reducing power consumption as much as possible and retaining data in memory, a method is used to stop the oscillation of the internal circuit and limit the current flowing through the circuit to within the μA order. . The state in which oscillation is stopped at this time is called standby mode.

ところで、従来は通常動作状態から上記スタンドバイモ
ードへ切換える場合には、外部からコントロール信号を
入力し,このコントロール信号によりて直接スタンドノ
童イモードヘ転移するようにしている.このため、例え
ばスタンドバイモードへ入るための条件?一夕のセーブ
等)が必要な場合には,事前にこのような処理を行なわ
なければならず,割込等の他の入力を必要とし,処理上
の手続きが複雑化する欠点がある。
By the way, conventionally, when switching from the normal operating state to the standby mode, a control signal is inputted from the outside, and the control signal causes a direct transition to the standby mode. For this reason, for example, the conditions for entering standby mode? If it is necessary to save the data overnight, etc., such processing must be performed in advance, requiring other inputs such as interrupts, and the processing procedure becomes complicated.

〔発明の目的〕[Purpose of the invention]

この発明は上記のような事情に鑑みてなされたもので,
その目的とするところは,スタンドバイモードへの切換
え時の処理を簡単化できるスタンドバイモード回路を提
供することである。
This invention was made in view of the above circumstances.
The purpose is to provide a standby mode circuit that can simplify processing when switching to standby mode.

〔発明の概要〕[Summary of the invention]

すなわち、この発明においては、上記の目的を達成する
ために、スタンドバイ入力信号をソフトウェアによ)書
き換え可能なフラグによりインヒビット可能にしたもの
である。
That is, in the present invention, in order to achieve the above object, the standby input signal can be inhibited by a flag that can be rewritten (by software).

〔発明の実施例〕[Embodiments of the invention]

以下、この発明の一実施例について図面を参照して説明
する。第1図における・母ワーセープ信号入力端子1ノ
から入力されるパワーセーブ信号(スタンドバイ入力信
号)下]は、負論理アン’p”r−)J、’の一方の入
力端に供給される。
An embodiment of the present invention will be described below with reference to the drawings. In FIG. 1, the power save signal (standby input signal) input from the mother power save signal input terminal 1 is supplied to one input terminal of the negative logic amplifier 'p''r-)J,'. .

上記アンドf −) J Jの他方の入力端には、ラッ
チ回路13の出力が供給される。このラッチ回路13に
は、データDINおよび書き込み信号WRが供給され、
リセット信号丁「によって9セツトされる。上記アンド
r−) 12の出力は、インノ々−夕14の入力端およ
び遅延回路150入力端にそれぞれ供給される。上記イ
ン・ぐ−タ14の出力は、負論理ノアダート16の一方
の入力端に供給される。このノアr−) 16の他方の
入力端には、リセット信号−11が供給される。そして
、このノアr −) 1 gの出力端から内部回路のリ
セット信号IR8を得る。また、上記遅延回路15の出
力は、インバータ17の入力端に供給され、このインバ
ータ17の出力が負論理アンドダート18の一方の入力
端に供給される。このアンドf −) I Fjの他方
の入力端には、上記/4ワーセープ信号Psが供給され
、その出力が発振回路19およびインバータ2゜に供給
される。上記発振回路190発撮出カけ。
The output of the latch circuit 13 is supplied to the other input terminal of the ANDf-) JJ. This latch circuit 13 is supplied with data DIN and write signal WR,
The outputs of the reset signal 12 are supplied to the input terminal of the inverter 14 and the input terminal of the delay circuit 150, respectively.The output of the inverter 14 is , is supplied to one input terminal of the negative logic NOR dart 16. A reset signal -11 is supplied to the other input terminal of this NOR r-) 16. Then, the output terminal of this NOR r-) 1 g The output of the delay circuit 15 is supplied to the input terminal of an inverter 17, and the output of the inverter 17 is supplied to one input terminal of the negative logic AND/DART 18. The other input terminal of the ANDf-)IFj is supplied with the /4 warp signal Ps, and its output is supplied to the oscillation circuit 19 and the inverter 2°.The oscillation circuit 190 starts shooting.

クロック分周回路21に供給され、このクロック分周回
路21による分周出力がナンドf−)22.23の一方
の入力端に供給される。これらナントゲート22.23
の他方の入力端にはそれぞれ、上記イン・ぐ−夕20の
出力が供給され、その出力端からクロック信号φ1.φ
、を得る。
The clock frequency divider circuit 21 supplies the frequency divided output from the clock frequency divider circuit 21 to one input terminal of the NAND f-) 22 and 23. These Nantes Gate 22.23
The outputs of the input gates 20 are supplied to the other input terminals of the inverters 20, respectively, and the clock signals φ1. φ
, get .

なお、上記/4’ワーセープ信号Psは、割込要求信号
INTとして内部回路に供給される。
The /4' war save signal Ps is supplied to the internal circuit as an interrupt request signal INT.

なお、上記遅延回路15は、例えば縦続接続されたクロ
ックドイン・々−夕から成り、これらクロックドインノ
ぐ一夕はそれぞれ上記アンにダート22.23から出力
されるクロック信号φ7.φ、が交互に供給されて制御
されるようになっている。
The delay circuit 15 is made up of, for example, cascade-connected clocked inputs, and each of these clocked inputs receives a clock signal φ7. φ, are alternately supplied and controlled.

次に、上記のような構成において第2図のタイミングチ
ャードを参照しつつ動作を説明する。
Next, the operation of the above configuration will be explained with reference to the timing chart of FIG.

時刻toにリセット信号−11がへイ(@H″)レベル
に設定されると、ラッチ回路13のスタンドバイイネー
ブルフラグは、クリ了された状態で、WR倍信号受けつ
け可能な状態になる。
When the reset signal -11 is set to the high (@H'') level at time to, the standby enable flag of the latch circuit 13 is cleared and becomes ready to accept the WR multiplied signal.

この時、リセット信号R8のt Hsレイルによりノア
r −ト16の出力IR8も1H#レベルとなる。次の
時刻t、にはノタヮーセーゾ信号Psがロー(@L”)
レベルとなると、アンド’r’  ) 12 ノ出力d
: ”″H#レベル、インバータ14の出力が″″L#
L#レベル、ノアr−)I6の出力IR8が@L#しく
ルとなって内部回路が初期化される1次に、遅鈷回路1
5による遅延時間Δtだけ遅れて上記アンドダート12
の@Hルベルがインバータ17を介してアンドf −)
 1 gの一方の入力端に伝達され、この時上記アンド
f’ −) I Nの他方の入力端に供給されるパワー
セーブ信号PSが′″ぴしせルであるので、アンドゲー
トI8の出力が@H”レベルとなる。これによって1発
振回路19を構成するノアf −) 19 aの出力が
@L”レベルとなって、この発振回路I9の発振が停止
される。
At this time, the output IR8 of the node 16 also goes to the 1H# level due to the tHs rail of the reset signal R8. At the next time t, the notaiseso signal Ps is low (@L”)
When it comes to the level, AND'r' ) 12 output d
: ""H# level, the output of inverter 14 is ""L#
L# level, Noah r-) The output IR8 of I6 becomes @L# and the internal circuit is initialized.
The above AND dart 12 is delayed by the delay time Δt due to 5.
@H Lebel is connected to andf −) through inverter 17.
Since the power save signal PS transmitted to one input terminal of the AND gate I8 and at this time supplied to the other input terminal of the AND gate I8 is a signal, the output of the AND gate I8 is @H” level. As a result, the output of the NOR f-) 19a constituting the 1 oscillation circuit 19 becomes @L'' level, and the oscillation of the oscillation circuit I9 is stopped.

この時、インバータ20の出力は1L”レベルとなり、
内部クロックφ1.φ、は″H”レベルに設定される(
時刻1.)。この処理中、dワーセーブ信号Psが@L
ルベルとなると割込みが発生するが、ノアf−ト16の
出力1128が@Ljレベルとなって内部回路が初期化
されるため、この割込要求は意味を持たない、なお、こ
の割込みに対しては1割込イネーブルフラグを設け、こ
のフラグと上記割込要求信号との論理積により割込要求
を発生するようにしても良い。
At this time, the output of the inverter 20 becomes 1L" level,
Internal clock φ1. φ is set to “H” level (
Time 1. ). During this process, the dwarp save signal Ps is @L
When the level is reached, an interrupt occurs, but this interrupt request has no meaning because the output 1128 of the Nord f-16 becomes @Lj level and the internal circuit is initialized. Alternatively, an interrupt enable flag may be provided, and an interrupt request may be generated by logical product of this flag and the above-mentioned interrupt request signal.

次に、ノ母ワーセーツモードの解除方法について説明す
る。まず、リセット信号R8を″L”レベルに設定しく
時刻t、)1次にパワーセーブ信号PSを’H”レベル
に設定する(時刻t4)IIこれによって、アンドゲー
ト18の出力が1L”レベルとなると、発啄回路19が
再び発振し始め、内部同期信号φ3.φ、が発生される
。その後、リセット信号丁1金“H″レベル設定する。
Next, a method of canceling the motherboard mode will be explained. First, the reset signal R8 is set to the "L" level (time t). Second, the power save signal PS is set to the "H" level (time t4) II. This causes the output of the AND gate 18 to become the 1L" level. Then, the oscillation circuit 19 starts oscillating again, and the internal synchronization signal φ3. φ is generated. After that, the reset signal D1 is set to the "H" level.

これによるラッチ回路13のリセット終了後、ラッチ回
路13のスタンドバイイネーブルフラグをセットし、・
々ワーセーブ信号PSをインヒビットする。この時、ノ
母ワーセーブ信号PSlk”L”レベルに設定すると、
スタンドバイモードへの遷移は起こらず割込みが発生す
る。
After the latch circuit 13 is reset by this, the standby enable flag of the latch circuit 13 is set, and
inhibits the power save signal PS. At this time, if the power save signal PSlk is set to "L" level,
A transition to standby mode does not occur and an interrupt occurs.

ユーザはこの割込みのルーチンで必要なデータの処理を
行表い、最後にソフトウェアによりスタンドバイイネー
ブルフラグをクリアする。
The user executes the necessary data processing in this interrupt routine, and finally clears the standby enable flag using software.

この時%)母ワーセープ信号PSが1L”レベルである
ので1割込み前の初期状態に戻る。
At this time, the mother war save signal PS is at the 1L'' level, so the process returns to the initial state before one interrupt.

なお、スタントノぐイモードの不必要なアプリケージ冒
ンでは、上記割込モードにおいてスタンドバイイネーブ
ルフラグ全セットしたまま;二することにより割込機能
のみ全利用できる。
Note that when unnecessary application cages are opened in the stunt power mode, only the interrupt function can be fully utilized by leaving the standby enable flag fully set in the interrupt mode.

このような構成によれば1次に記すような1々の効果が
j:)られる。
According to such a configuration, the following effects as described in the first order can be obtained.

まず、スタンドバイモード入力信号により割込みが発生
し、この割込みルーチン内でソフトウェアによりスタン
ドバイモードにM移できるので、モード遷移前の事前処
理を簡単化できる。
First, an interrupt is generated by a standby mode input signal, and a transition to standby mode can be made by software within this interrupt routine, so that preliminary processing before mode transition can be simplified.

また、スタンドバイモードの不必要なユーザは、割込処
理機能のみ全利用できる。
Further, users who do not need standby mode can fully utilize only the interrupt processing function.

さらに、リセット後、何の処理を行なわなくても従来と
同じ使い方ができる。
Furthermore, after resetting, it can be used in the same way as before without any processing.

また、割込処理後、スタンドバイモードに遷移できるた
め、割込み時にスタックポインタによりプログラムカウ
ンタ等をセーブできるマイクロコンビ1−夕の場合には
、スタックポインタ自身をメモリにセーブし、発振再開
時にスタックポインタを再ロードして、リターンクロム
インターラグト命令を実行することによりモード遷移直
後の命令から再スタートすることも容易にできる。
In addition, since it is possible to transition to standby mode after interrupt processing, in the case of a microcombi device that can save the program counter etc. using the stack pointer at the time of an interrupt, the stack pointer itself is saved in memory and the stack pointer is saved when oscillation is resumed. It is also possible to easily restart from the instruction immediately after the mode transition by reloading and executing the return chrome interrug instruction.

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

以上説明したようにこの発明によれば、スタンドバイモ
ードへの切換え時の処理を簡単化できるスタンドバイモ
ー2回路が得られる。
As described above, according to the present invention, a standby mode 2 circuit is obtained which can simplify the processing when switching to standby mode.

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

塩1図はこの発明の一実施例に係わるスタンドバイモー
ド回路?示す図、第2図は上記第1図の回路の動作を説
明するためのタイミングチャートである。 PS・・す9ワ一セーゾ信号(スタンド・9イ入力信号
)、R8・・・リセット信号、IR8・・・内部リセッ
ト信号、DfN・・・データ、WR・・・書き込み信号
、INT・・・割込要求信号、φ7.φ、・・・クロッ
ク信号、13・・・ラッチ回路%19・・・発振回路、
21・・・クロック分周回路。
Is Figure 1 a standby mode circuit according to an embodiment of this invention? The figure shown in FIG. 2 is a timing chart for explaining the operation of the circuit shown in FIG. 1. PS...S9W1 signal (stand/9I input signal), R8...Reset signal, IR8...Internal reset signal, DfN...Data, WR...Write signal, INT... Interrupt request signal, φ7. φ,...Clock signal, 13...Latch circuit%19...Oscillation circuit,
21...Clock frequency divider circuit.

Claims (2)

【特許請求の範囲】[Claims] (1)スタンドバイ入力信号に応答して発振回路を停止
せしめ、スタンドバイモードを実現するスタンドバイモ
ード回路において、スタンドバイ入力信号をソフトウェ
アにより書き換え可能なフラグによりインヒビット可能
に構成したことを特徴とするスタンドバイモード回路。
(1) In a standby mode circuit that stops an oscillation circuit in response to a standby input signal and implements a standby mode, the standby input signal is configured to be inhibitable by a flag that can be rewritten by software. standby mode circuit.
(2)前記スタンドバイ入力信号を割込要求信号として
も用いることを特徴とする特許請求の範囲第1項記載の
スタンドバイモード回路。
(2) The standby mode circuit according to claim 1, wherein the standby input signal is also used as an interrupt request signal.
JP60183647A 1985-08-21 1985-08-21 Stand-by mode circuit Expired - Fee Related JPH0654504B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60183647A JPH0654504B2 (en) 1985-08-21 1985-08-21 Stand-by mode circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60183647A JPH0654504B2 (en) 1985-08-21 1985-08-21 Stand-by mode circuit

Publications (2)

Publication Number Publication Date
JPS6243763A true JPS6243763A (en) 1987-02-25
JPH0654504B2 JPH0654504B2 (en) 1994-07-20

Family

ID=16139453

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60183647A Expired - Fee Related JPH0654504B2 (en) 1985-08-21 1985-08-21 Stand-by mode circuit

Country Status (1)

Country Link
JP (1) JPH0654504B2 (en)

Also Published As

Publication number Publication date
JPH0654504B2 (en) 1994-07-20

Similar Documents

Publication Publication Date Title
US4545030A (en) Synchronous clock stopper for microprocessor
US7639764B2 (en) Method and apparatus for synchronizing data between different clock domains in a memory controller
US7080269B2 (en) Method and apparatus for implementing power-saving sleep mode in design with multiple clock domains
JPH03266108A (en) Single-chip microcomputer
JPS6019220A (en) Microcomputer
US4409671A (en) Data processor having single clock pin
JPS6243763A (en) Stand-by mode circuit
US10055193B2 (en) Data transfer between clock domains
JPS61262827A (en) Semiconductor integrated circuit device
JPH035948Y2 (en)
JPS60129820A (en) Device for controlling suspension of execution
JP2867617B2 (en) Standby circuit
JPS6270924A (en) Data processor
US5974561A (en) Method and apparatus for generating a reset signal within an integrated circuit
JP4079653B2 (en) Clock control method and clock control circuit
JPH04365110A (en) Clock stop circuit
KR100314805B1 (en) A booting circuit for pipeline-controlled processor
JPS61245242A (en) Interruption input device
JPH0654457B2 (en) Data processing device
JP2830216B2 (en) Standby circuit
JPH0326112A (en) Integrated circuit device
JPH01137355A (en) Output circuit for one-chip microprocessor
JPH0232809B2 (en)
JPS6166571A (en) Gate pulse controller of thyristor inverter
Kitchin Synchronous clock stopper for microprocessor

Legal Events

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