JPH07200106A - Power source control circuit - Google Patents

Power source control circuit

Info

Publication number
JPH07200106A
JPH07200106A JP5337752A JP33775293A JPH07200106A JP H07200106 A JPH07200106 A JP H07200106A JP 5337752 A JP5337752 A JP 5337752A JP 33775293 A JP33775293 A JP 33775293A JP H07200106 A JPH07200106 A JP H07200106A
Authority
JP
Japan
Prior art keywords
power supply
peripheral device
processor
power
signal
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
JP5337752A
Other languages
Japanese (ja)
Inventor
Toshiyuki Uehara
利之 上原
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 JP5337752A priority Critical patent/JPH07200106A/en
Priority to CA 2136701 priority patent/CA2136701A1/en
Publication of JPH07200106A publication Critical patent/JPH07200106A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To suppress the power consumption by employing a circuit constitution which performs supply and stop control over a power source for a peripheral device corresponding to various operation modes of a processor. CONSTITUTION:A decoder 3 once receiving an enable signal 10 from the processor 1 activates a device select signal 12 to the power which of a peripheral device Dev(r)6 and inactivates selects signals 11 to 13 to the power switches 8 of Dev(1)5-Dev(n)7. Consequently, to the Dev(r)6 and the bus driver 4 which is connected thereto electric power is supplied. The enable signal 10 is inactivated at the end of a CPU write cycle and the select signal 12 to the power switch 8 of the Dev(r)6 is inactivated to stop the power supply. Only to the peripheral device that the processor accesses, the electric power is supplied, so unnecessary consumption of the power source is reducible.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】この発明はプロセッサ制御により
周辺デバイスへの電源供給をコントロールする電源制御
回路に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a power supply control circuit for controlling power supply to peripheral devices under processor control.

【0002】[0002]

【従来の技術】図6は従来例における電源制御回路のブ
ロック図である。図において1はプロセッサ、2はプロ
セッサのシステムバス、4はプロセッサのシステムバス
のドライバ、5〜7はプロセッサのシステムバスに接続
される周辺デバイスDev[1]〜Dev[r]〜De
v[n](1≦r≦n:nは正の整数)、9は供給電源
である。
2. Description of the Related Art FIG. 6 is a block diagram of a power supply control circuit in a conventional example. In the figure, 1 is a processor, 2 is a system bus of the processor, 4 is a driver of the system bus of the processor, 5 to 7 are peripheral devices Dev [1] to Dev [r] to De connected to the system bus of the processor.
v [n] (1 ≦ r ≦ n: n is a positive integer), and 9 is a power supply.

【0003】次に動作について説明する。図6におい
て、プロセッサ1はプログラムからの指示によって指定
されたデバイスをアクセスする為に、デバイス選択に必
要とされるコマンドをリード・ライトサイクルに基づい
て、システムバス2経由でバスドライバ4に直結した周
辺デバイス5〜7に対し送出することによって、上記プ
ログラムで指定されたデバイスに対するアクセス動作を
実行していた。
Next, the operation will be described. In FIG. 6, the processor 1 directly connects the command required for device selection to the bus driver 4 via the system bus 2 based on the read / write cycle in order to access the device designated by the instruction from the program. By sending to the peripheral devices 5 to 7, the access operation to the device designated by the program is executed.

【0004】上記プロセッサの動作中、供給電源9はプ
ロセッサの周辺デバイスに対するデータアクセスとは無
関係に常時周辺デバイスDev[1]〜Dev[r]〜
Dev[n]に対して電源電流を連続して供給してい
た。
During the operation of the processor, the power supply 9 constantly supplies peripheral devices Dev [1] to Dev [r] to irrespective of data access to the peripheral devices of the processor.
The power supply current was continuously supplied to Dev [n].

【0005】[0005]

【発明が解決しようとする課題】従来の電源制御回路は
以上のように構成されていたので、プロセッサの各種動
作モードとは無関係に常時電源が周辺デバイスに供給さ
れ続けるため、電力が大量に消費されるという問題点が
あった。
Since the conventional power supply control circuit is constructed as described above, a large amount of power is consumed because the power supply is continuously supplied to the peripheral devices regardless of the various operation modes of the processor. There was a problem that was done.

【0006】この発明は上記のような問題点を解消する
ためになされたもので、プロセッサの各種動作モードに
対応して周辺デバイスに対する電源の供給、停止制御を
行うことにより、無駄な電力消費を抑えた、効率のよい
電源制御回路を提供することを目的とする。
The present invention has been made to solve the above problems, and wasteful power consumption is achieved by controlling the supply and stop of power supply to peripheral devices corresponding to various operation modes of a processor. An object is to provide a suppressed and efficient power supply control circuit.

【0007】[0007]

【課題を解決するための手段】この発明に係わる電源制
御回路は、プロセッサから発せられるコマンドデータに
基づいてアクセス対象とする周辺装置の選択信号を生成
する選択信号生成手段と、上記選択信号生成の結果得ら
れた選択信号を入力とし、該選択信号の状態に応じて供
給電源から該指定周辺装置に供給される電源をon、ま
たはoff制御するための電源スイッチ手段を備えたも
のである。また、この発明に係わる電源制御回路は、プ
ロセッサから発せられるコマンドデータに基づいてアク
セス対象とする周辺装置の選択信号を生成する選択信号
生成手段と、周辺装置に対し電源供給のon、offタ
イミング信号を生成する電源供給タイミング生成手段
と、周辺装置を指定するための上記選択信号と電源供給
タイミング信号を入力とし、指定装置に対する電源供給
のon、off制御信号を生成する電源制御回路手段
と、上記電源制御回路手段の出力信号を入力とし該出力
信号の状態に応じて供給電源から該指定周辺装置に供給
される電源をon、またはoff制御するための電源ス
イッチ手段を備えるようにしたものである。さらに、こ
の発明に係わる電源制御回路は、プロセッサから発せら
れるコマンドデータを受けて周辺装置に対する電源供給
群を指定するパターンを選択出力する少なくとも1個の
パターンジェネレータ生成手段と、上記パターンジェネ
レータ生成手段の出力信号を入力とし指定装置群に対す
る電源供給on、off制御信号を生成する指定パター
ン合成回路手段と、上記指定パターン合成回路手段の出
力信号を入力とし該出力信号の状態に応じて供給電源か
ら該指定周辺装置に供給される電源をon、またはof
f制御するための電源スイッチ手段を備えるようにした
ものである。
A power supply control circuit according to the present invention includes a selection signal generating means for generating a selection signal of a peripheral device to be accessed based on command data issued from a processor, and a selection signal generating means for generating the selection signal. It is provided with power switch means for inputting the resulting selection signal and for turning on or off the power supplied from the power supply to the designated peripheral device according to the state of the selection signal. The power supply control circuit according to the present invention includes a selection signal generating means for generating a selection signal for a peripheral device to be accessed based on command data issued from a processor, and an on / off timing signal for supplying power to the peripheral device. A power supply timing generating means for generating a power supply timing generating means, a power supply control circuit means for generating an on / off control signal for supplying power to a designated device by inputting the selection signal and the power supply timing signal for designating a peripheral device, A power supply switch circuit is provided for inputting an output signal of the power supply control circuit means and for turning on or off the power supply supplied from the power supply to the designated peripheral device according to the state of the output signal. . Further, the power supply control circuit according to the present invention includes at least one pattern generator generating means for receiving command data issued from the processor and selectively outputting a pattern designating a power supply group for peripheral devices, and the pattern generator generating means. Designated pattern synthesizing circuit means for generating power supply on / off control signals for the designated device group with the output signal as an input, and the output signal of the designated pattern synthesizing circuit means for inputting from the power source according to the state of the output signal. Turn on or off the power supplied to the specified peripheral device
The power switch means for controlling f is provided.

【0008】[0008]

【作用】この発明に係わる電源制御回路は、プロセッサ
からのコマンドデータに基づいて周辺デバイスに電源を
供給する電源スイッチのオン/オフ制御をするように動
作するので、プロセッサがアクセス対象とする周辺デバ
イスのみに電源供給を行うことができる。また、プロセ
ッサからのコマンドデータによってアクセス対象とする
任意の周辺デバイスを選択し、これとは独立にプロセッ
サからの指示によって上記指定の周辺デバイスに対する
電源オン/オフのタイミング制御を行うようにした。さ
らに、複数個のパターンジェネレータの組合せ出力結果
によって、周辺デバイスを任意に指定できる様にしたも
のである。
Since the power supply control circuit according to the present invention operates so as to control ON / OFF of the power supply switch for supplying power to the peripheral device based on the command data from the processor, the peripheral device targeted by the processor is accessed. Only the power can be supplied. In addition, an arbitrary peripheral device to be accessed is selected by command data from the processor, and independently of this, timing control of power-on / off of the specified peripheral device is performed by an instruction from the processor. Further, the peripheral device can be arbitrarily designated by the combined output result of a plurality of pattern generators.

【0009】[0009]

【実施例】【Example】

実施例1.以下、この発明の一実施例を図について説明
する。図1において、1はプロセッサ、2はプロセッサ
のシステムバス、3はシステムバスからのアドレスをデ
コードしアクセス中の周辺デバイス選択信号のみをアク
ティブ状態にするデコーダ、4はプロセッサのシステム
バスのドライバ、5〜7はプロセッサのシステムバスに
接続される周辺デバイスDev[1]〜Dev[r]〜
Dev[n](1≦r≦n:nは正の整数)、8は電源
スイッチ、9は供給電源、10はプロセッサからのイネ
ーブル信号、11〜13は周辺デバイス電源供給用の選
択信号である。
Example 1. An embodiment of the present invention will be described below with reference to the drawings. In FIG. 1, 1 is a processor, 2 is a system bus of the processor, 3 is a decoder that decodes an address from the system bus and activates only a peripheral device selection signal being accessed, 4 is a driver of the processor system bus, 5 7 are peripheral devices Dev [1] to Dev [r] connected to the system bus of the processor.
Dev [n] (1 ≦ r ≦ n: n is a positive integer), 8 is a power switch, 9 is a power supply, 10 is an enable signal from the processor, and 11 to 13 are selection signals for supplying power to peripheral devices. .

【0010】次に動作について説明する。ここではプロ
セッサが周辺デバイス6を選択する場合を想定して説明
する。まず、プロセッサ1はシステムバス2およびバス
ドライバ4を経由して周辺デバイス群5〜7の中でアク
セスすべき周辺デバイスを指定するため必要なコマンド
データを送出する。次いで、デコーダ3はプロセッサ1
からのイネーブル信号10を受け付けるとプロセッサ初
期設定後のCPUライトサイクルの開始時に周辺デバイ
ス電源供給用選択信号をアクティブ(オン)状態にす
る。即ち、この場合においては、周辺デバイスDev
[r]6の電源スイッチ8に対する周辺デバイス選択信
号12をアクティブ状態とし、周辺デバイスDev
[r]6を除くDev[1]5〜Dev[n]7の周辺
デバイスの電源スイッチ8に対する選択信号11〜13
をノンアクティブ状態にする。この結果、周辺デバイス
選択信号12が電源スイッチ8をオン状態とするので周
辺デバイスDev[r]6及びこのデバイスDev
[r]6に接続されたバスドライバ4に電源が供給され
ることになる。一方周辺デバイス選択信号12を除く周
辺デバイス選択信号11〜13は、Dev[r]6を除
く周辺デバイスDev[1]5〜Dev[n]7の電源
スイッチ8をオフ状態とするので、Dev[r]6を除
く周辺デバイスDev[1]5〜Dev[n]7、及び
これらデバイス接続された各バスドライバへの電源供給
が停止されることになる。このようにしてデバイスDe
v[r]6に対するアクセスが終了した時、プロセッサ
1の指示によりデコーダ3はプロセッサ1のイネーブル
信号10をCPUライトサイクルの終了時にノンアクテ
ィブ(オフ)状態にし、それまでアクセスしていたデバ
イスDev[r]6の電源スイッチ8に対する周辺デバ
イス選択信号12をノンアクティブ(オフ)状態にす
る。その結果、周辺デバイス選択信号12は電源スイッ
チ8をオフにし、周辺デバイスDev[r]6およびD
ev[r]6につながるバスドライバ4への電源供給を
停止する。尚、イネーブル信号10はCPUのリード/
ライトサイクルにおいて、システムバス2上のアドレス
/データ信号の出力に同期したCPUアクセスの信号と
して出力される。デコーダ3は上記イネーブル信号がア
クティブ(オン)状態の期間のシステムバス2上のアド
レス出力信号をアドレスデコードし、該当する周辺デバ
イスの選択信号(11〜13)をアクティブ(オン)状
態にする。
Next, the operation will be described. Here, a case where the processor selects the peripheral device 6 will be described. First, the processor 1 sends via the system bus 2 and the bus driver 4 the command data necessary for designating the peripheral device to be accessed in the peripheral device groups 5 to 7. Then the decoder 3 is the processor 1
When the enable signal 10 is received, the peripheral device power supply selection signal is activated (turned on) at the start of the CPU write cycle after the processor initialization. That is, in this case, the peripheral device Dev
The peripheral device selection signal 12 for the power switch 8 of [r] 6 is activated, and the peripheral device Dev
Selection signals 11 to 13 for the power switches 8 of the peripheral devices Dev [1] 5 to Dev [n] 7 excluding [r] 6
To the inactive state. As a result, the peripheral device selection signal 12 turns on the power switch 8, so that the peripheral device Dev [r] 6 and this device Dev
Power is supplied to the bus driver 4 connected to [r] 6. On the other hand, the peripheral device selection signals 11 to 13 other than the peripheral device selection signal 12 turn off the power switches 8 of the peripheral devices Dev [1] 5 to Dev [n] 7 other than Dev [r] 6. Power supply to the peripheral devices Dev [1] 5 to Dev [n] 7 excluding r] 6 and the bus drivers connected to these devices is stopped. In this way the device De
When the access to v [r] 6 is completed, the decoder 3 sets the enable signal 10 of the processor 1 to the non-active (off) state at the end of the CPU write cycle according to the instruction of the processor 1, and the device Dev [ r] 6 sets the peripheral device selection signal 12 to the power switch 8 to the non-active (off) state. As a result, the peripheral device selection signal 12 turns off the power switch 8 and the peripheral devices Dev [r] 6 and D
The power supply to the bus driver 4 connected to ev [r] 6 is stopped. The enable signal 10 is read by the CPU /
In the write cycle, the signal is output as a CPU access signal synchronized with the output of the address / data signal on the system bus 2. The decoder 3 address-decodes the address output signal on the system bus 2 during the period when the enable signal is in the active (on) state, and brings the selection signals (11 to 13) of the corresponding peripheral device into the active (on) state.

【0011】実施例2.上記実施例では周辺デバイス選
択信号を生成するために、プロセッサ1のシステムバス
2入力による専用のデコーダを用いた電源制御回路を示
したが、図2に示すように、プロセッサ1のポート出力
信号14を直接選択信号の入力とするセレクタ回路15
を備えた電源制御回路によっても同様の動作を期待でき
る。ここで、セレクタ回路15はプロセッサ1から出力
される各周辺デバイスの選択信号(11〜13)に一対
一で対応するポート出力信号14とその各ポート出力信
号14のイネーブル/ディセーブルを決定するイネーブ
ル信号10をゲート入力とする論理積の結果を、最終的
に各周辺デバイスに対する選択信号(11〜13)とし
て出力する。
Embodiment 2. In the above embodiment, the power supply control circuit using the dedicated decoder by the input of the system bus 2 of the processor 1 is shown to generate the peripheral device selection signal. However, as shown in FIG. Selector circuit 15 for directly inputting selection signal
A similar operation can be expected by a power supply control circuit equipped with. Here, the selector circuit 15 has a port output signal 14 that corresponds to the selection signals (11 to 13) of each peripheral device output from the processor 1 on a one-to-one basis and an enable that determines enable / disable of each port output signal 14. The result of the logical product using the signal 10 as a gate input is finally output as a selection signal (11 to 13) for each peripheral device.

【0012】実施例3.また、本発明の第3の実施例に
ついて図3について説明する。図3において、プロセッ
サ1からの周辺デバイス指示信号22と、プロセッサ1
が要求する任意のタイミングで出力するイネーブル信号
10が周辺デバイス選択回路17に対して供給される。
即ち、周辺デバイス5〜7に1対1に対応する周辺デバ
イス指示信号22は、上記イネーブル信号10がアクテ
ィブ(オン)状態の期間において有効となり、周辺デバ
イス選択回路17からはプロセッサの周辺デバイス5〜
7に対するアクセスとは無関係にプロセッサ1が指示す
る周辺デバイスのみを選択するための電源供給指示信号
20が出力される。一方プロセッサ1から任意のCPU
タイミングで出力されるポート出力信号16がイニシャ
ルリセット回路18に供給される回路構成とすることに
より、該イニシャルリセット回路からは上記イネーブル
信号10とは無関係にアクティブ(オン)/ノンアクテ
ィブ(オフ)状態を決定する為の選択装置のセット・リ
セット信号21が生成される。次いで、これら電源供給
指示信号20と、選択装置セット・リセット信号21は
セレクタ回路19に供給され、ここで指定デバイスに対
する最終的なON、OFF制御を行う為の電源供給選択
信号11〜13が生成される。これによって周辺デバイ
スに対するアクセスの手順が予め決まっている場合、プ
ロセッサ1の任意の要求タイミングにて周辺デバイスへ
の電源供給を自由にオン/オフできる。例えば、プロセ
ッサ1がデバイスDev[r]6へ電源供給制御を行う
場合、イネーブル信号10がアクティブ(オン)状態の
期間に周辺デバイス指示信号22によりデバイスDev
[r]6をアクティブ(オン)状態にする電源供給指示
信号20がセレクタ回路19に入力される。一方プロセ
ッサ1が予め決めたシーケンスに基づくCPUタイミン
グで、ポート出力信号16がイニシャル回路18に入力
されて適宜アクティブ(オン)/ノンアクティブ(オ
フ)状態をとる選択装置セット・リセット信号21がセ
レクタ回路19に入力される。その結果、セレクタ回路
19は電源供給指示信号20で指定された周辺デバイス
に対して、選択装置セット・リセット信号21がノンア
クティブ(オフ)状態の期間該当する周辺デバイスDe
v[r]6の選択信号12をアクティブ(オン)状態に
して周辺デバイスDev[r]6の電源スイッチ8をオ
ンし、Dev「r]6に電源が供給される。
Embodiment 3. A third embodiment of the present invention will be described with reference to FIG. In FIG. 3, the peripheral device instruction signal 22 from the processor 1 and the processor 1
Is supplied to the peripheral device selection circuit 17 at an arbitrary timing required by the.
That is, the peripheral device instruction signal 22 corresponding to the peripheral devices 5 to 7 is valid while the enable signal 10 is in the active (on) state, and the peripheral device selection circuit 17 causes the peripheral device 5 to 5 of the processor.
The power supply instruction signal 20 for selecting only the peripheral device instructed by the processor 1 is output regardless of the access to 7. On the other hand, from processor 1 to any CPU
With the circuit configuration in which the port output signal 16 output at timing is supplied to the initial reset circuit 18, the initial reset circuit is in an active (on) / non-active (off) state regardless of the enable signal 10. A set / reset signal 21 of the selection device for determining Next, the power supply instruction signal 20 and the selection device set / reset signal 21 are supplied to the selector circuit 19, where the power supply selection signals 11 to 13 for final ON / OFF control of the designated device are generated. To be done. With this, when the access procedure to the peripheral device is predetermined, the power supply to the peripheral device can be freely turned on / off at an arbitrary request timing of the processor 1. For example, when the processor 1 controls the power supply to the device Dev [r] 6, the device Dev is activated by the peripheral device instruction signal 22 while the enable signal 10 is in the active (on) state.
A power supply instruction signal 20 that activates [r] 6 is input to the selector circuit 19. On the other hand, at the CPU timing based on a sequence determined in advance by the processor 1, the port output signal 16 is input to the initial circuit 18 and the selection device set / reset signal 21 that appropriately takes an active (on) / non-active (off) state is selected. It is input to 19. As a result, the selector circuit 19 responds to the peripheral device designated by the power supply instruction signal 20 while the selection device set / reset signal 21 is in the non-active (off) state.
The power switch 8 of the peripheral device Dev [r] 6 is turned on by setting the selection signal 12 of v [r] 6 to the active (on) state, and the power is supplied to the Dev [r] 6.

【0013】実施例4.また、この発明の第4の実施例
について図4に基づいて説明する。周辺デバイスの電源
供給のオン/オフ設定パターンが予め幾つかに設定でき
る場合、図4に示すように、専用のパターンジェネレー
タ24、25を追加することにより、プロセッサ1から
のパターン指示信号23で、プロセッサからの最小限の
インタフェース制御信号数で一定の周辺デバイスに対す
る電源供給パターン選択信号を生成し、パターン選択回
路26を介して周辺デバイスに対する電源供給選択信号
11〜13を生成することにより、簡易な回路構成で電
源供給制御を実現できる。例えば、パターンジェネレー
タ24が周辺デバイスDev[r]6に対して電源供給
するようにパターン信号を出力する場合、まず、プロセ
ッサ1がパターンジェネレータ24をアクティブ(オ
ン)状態にするようにパターン指示信号23を出力す
る。このパターン指示信号23を受けて、パターンジェ
ネレータ24は、周辺デバイスDev[r]6を含む電
源供給グループを生成するようなパターン信号を出力す
る。次に、パターン選択回路26は、このパターンジェ
ネレータ24の出力するパターン信号と他のパターンジ
ェネレータ25のパターン信号との論理演算の結果を最
終的な電源供給周辺デバイスの選択信号(11〜13)
として出力する。この結果、周辺デバイスの選択信号1
2のみがアクティブ(オン)状態になり、周辺デバイス
Dev「r]6にのみ電源が供給される。
Embodiment 4. A fourth embodiment of the invention will be described with reference to FIG. When the ON / OFF setting patterns of the power supply of the peripheral device can be set in advance, as shown in FIG. 4, by adding dedicated pattern generators 24 and 25, the pattern instruction signal 23 from the processor 1 By generating a constant power supply pattern selection signal for peripheral devices with a minimum number of interface control signals from the processor and generating power supply selection signals 11-13 for peripheral devices via the pattern selection circuit 26 Power supply control can be realized by the circuit configuration. For example, when the pattern generator 24 outputs a pattern signal so as to supply power to the peripheral device Dev [r] 6, first, the processor 1 causes the pattern instruction signal 23 to activate the pattern generator 24. Is output. Upon receiving the pattern instruction signal 23, the pattern generator 24 outputs a pattern signal for generating a power supply group including the peripheral device Dev [r] 6. Next, the pattern selection circuit 26 determines the result of the logical operation between the pattern signal output from the pattern generator 24 and the pattern signal of the other pattern generator 25 as the final power supply peripheral device selection signal (11 to 13).
Output as. As a result, peripheral device selection signal 1
Only 2 becomes the active (on) state, and power is supplied only to the peripheral device Dev “r” 6.

【0014】実施例5.またこの発明の第5の実施例に
ついて図5に基づいて説明する。図5に示すように、周
辺デバイスに対する電源供給選択信号11〜13の組合
せパターン対応のコマンドレジスタを内蔵するパターン
ジェネレータ27を備えた電源制御回路でも同様の動作
を期待できる。例えば、パターンジェネレータ27がプ
ロセッサ1のシステムバス2に対し周辺デバイスDev
[r]6のみをアクティブ(オン)状態にする出力コマ
ンドをシステムバス2を経由してパターンジェネレータ
27に出力すれば、パターンジェネレータ27はこの出
力コマンドを受けて周辺デバイス選択信号12のみをア
クティブ(オン)状態にし、その結果、周辺デバイスD
ev[r]6の電源供給選択信号12のみがアクティブ
(オン)状態となり、周辺デバイスDev[r]6にの
み電源が供給される。一方、プロセッサ1が周辺デバイ
スDev[r]6のみをノンアクティブ(オフ)状態に
する出力コマンドをシステムバス2を経由してパターン
ジェネレータ27に出力すれば、パターンジェネレータ
27はこの出力コマンドを受けて周辺デバイス選択信号
12のみをノンアクティブ(オフ)状態にし、その結
果、周辺デバイスDev[r]6の電源供給選択信号1
2がノンアクティブ(オフ)状態となり、周辺デバイス
Dev[r]6への電源供給が停止される。
Example 5. A fifth embodiment of the present invention will be described based on FIG. As shown in FIG. 5, the same operation can be expected in the power supply control circuit including the pattern generator 27 having the command register corresponding to the combination pattern of the power supply selection signals 11 to 13 for the peripheral devices. For example, the pattern generator 27 may add the peripheral device Dev to the system bus 2 of the processor 1.
If an output command that activates only [r] 6 is output to the pattern generator 27 via the system bus 2, the pattern generator 27 receives this output command and activates only the peripheral device selection signal 12 ( ON) state, resulting in peripheral device D
Only the power supply selection signal 12 of ev [r] 6 becomes active (on), and power is supplied only to the peripheral device Dev [r] 6. On the other hand, if the processor 1 outputs an output command to put only the peripheral device Dev [r] 6 into the non-active (off) state to the pattern generator 27 via the system bus 2, the pattern generator 27 receives this output command. Only the peripheral device selection signal 12 is set to the non-active (off) state, and as a result, the power supply selection signal 1 of the peripheral device Dev [r] 6
2 becomes a non-active (off) state, and the power supply to the peripheral device Dev [r] 6 is stopped.

【0015】[0015]

【発明の効果】以上の様にこの発明によれば、プロセッ
サがアクセス対象とする周辺デバイスに対してのみ電源
供給を行い、この他のアクセス対象としない周辺デバイ
ス及びアクセス動作の終了したデバイスに対しては電源
供給を停止可能とする様な電源制御回路としたので供給
電源の無駄な消費量を低減することができるという効果
がある。また、この発明によればアクセス対象とする周
辺デバイスのみを常時選択状態としておき、これとは別
に独立したコマンドデータによって該周辺デバイスに対
するアクティブ/ノンアクティブのタイミング制御を行
うようにしたので、きめ細かな電源オン/オフ制御を実
現できるという効果がある。さらに、この発明によれ
ば、複数個のパターンジェネレータ回路の組合せによっ
て最終的に目的とする周辺デバイスを選択する様にした
ので電源投入の対象とする複数の周辺デバイス群をプロ
グラムの制御内容に応じて任意のグループに分類したり
階層構造別に分割する事ができるという効果を奏する。
As described above, according to the present invention, the processor supplies power only to peripheral devices to be accessed, and to other peripheral devices not to be accessed and devices for which access operation has been completed. Since the power supply control circuit is configured to stop the power supply, the wasteful consumption of the power supply can be reduced. Further, according to the present invention, only the peripheral device to be accessed is kept in the selected state at all times, and the active / non-active timing control for the peripheral device is performed by the command data independent of the peripheral device. There is an effect that power on / off control can be realized. Further, according to the present invention, the target peripheral device is finally selected by combining a plurality of pattern generator circuits, so that a plurality of peripheral device groups to be turned on can be selected according to the control contents of the program. It is possible to classify them into arbitrary groups and divide them into hierarchical structures.

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

【図1】この発明の第1の実施例によるプロセッサ周辺
部電源制御回路のブロック図である。
FIG. 1 is a block diagram of a processor peripheral power supply control circuit according to a first embodiment of the present invention.

【図2】この発明の第2の実施例によるプロセッサ周辺
部電源制御回路のブロック図である。
FIG. 2 is a block diagram of a processor peripheral power supply control circuit according to a second embodiment of the present invention.

【図3】この発明の第3の実施例によるプロセッサ周辺
部電源制御回路のブロック図である。
FIG. 3 is a block diagram of a processor peripheral power supply control circuit according to a third embodiment of the present invention.

【図4】この発明の第4の実施例によるプロセッサ周辺
部電源制御回路のブロック図である。
FIG. 4 is a block diagram of a processor peripheral power supply control circuit according to a fourth embodiment of the present invention.

【図5】この発明の第5の実施例によるプロセッサ周辺
部電源制御回路のブロック図である。
FIG. 5 is a block diagram of a processor peripheral power supply control circuit according to a fifth embodiment of the present invention.

【図6】従来のプロセッサ周辺部電源制御回路のブロッ
ク図である。
FIG. 6 is a block diagram of a conventional processor peripheral power supply control circuit.

【符号の説明】[Explanation of symbols]

1 プロセッサ 2 システムバス 3 デコーダ回路 4 バスドライバ 5〜7 周辺デバイス群 8 電源スイッチ 9 供給電源 10 プロセッサのイネーブル信号 11〜13 周辺デバイス電源供給選択信号 14 プロセッサのポート出力信号 15 セレクタ回路 16 プロセッサのポート出力信号 17 周辺デバイス選択回路 18 イニシャルリセット回路 19 セレクタ回路 20 周辺デバイス電源供給選択信号 21 選択装置セット・リセット信号 22 周辺デバイス指示信号 23 パターン指示信号 24、25、27 パターンジェネレータ 26 パターン選択回路 1 Processor 2 System Bus 3 Decoder Circuit 4 Bus Driver 5-7 Peripheral Device Group 8 Power Switch 9 Power Supply 9 Processor Enable Signal 11-13 Peripheral Device Power Supply Selection Signal 14 Processor Port Output Signal 15 Selector Circuit 16 Processor Port Output signal 17 Peripheral device selection circuit 18 Initial reset circuit 19 Selector circuit 20 Peripheral device power supply selection signal 21 Selection device set / reset signal 22 Peripheral device instruction signal 23 Pattern instruction signal 24, 25, 27 Pattern generator 26 Pattern selection circuit

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 プロセッサに接続された周辺装置に電源
供給を行う電源制御回路において、 上記電源制御回路は、 プロセッサから発せられるコマンドデータに基づいてア
クセス対象とする周辺装置の選択信号を生成する選択信
号生成手段と、 上記選択信号生成の結果得られた選択信号を入力とし、
該選択信号の状態に応じて供給電源から該指定周辺装置
に供給される電源をon、またはoff制御するための
電源スイッチ手段と、を備えたことを特徴とする電源制
御回路。
1. A power supply control circuit for supplying power to a peripheral device connected to a processor, wherein the power supply control circuit generates a selection signal of a peripheral device to be accessed based on command data issued from the processor. A signal generation means and a selection signal obtained as a result of the selection signal generation are input,
A power supply control circuit, comprising: a power supply switch means for controlling on / off of power supplied from the power supply to the designated peripheral device in accordance with the state of the selection signal.
【請求項2】 プロセッサに接続された周辺装置に電源
供給を行う電源制御回路において、 上記電源制御回路は、 プロセッサから発せられるコマンドデータに基づいてア
クセス対象とする周辺装置の選択信号を生成する選択信
号生成手段と、 周辺装置に対し電源供給のon、offタイミング信号
を生成する電源供給タイミング生成手段と、 周辺装置を指定するための上記選択信号と上記電源供給
タイミング信号を入力とし、指定装置に対する電源供給
のon、off制御信号を生成する電源制御回路手段
と、 上記電源制御回路手段の出力制御信号を入力とし該出力
制御信号の状態に応じて供給電源から該指定周辺装置に
供給される電源をon、またはoff制御するための電
源スイッチ手段と、を備えたことを特徴とする電源制御
回路。
2. A power supply control circuit for supplying power to a peripheral device connected to a processor, wherein the power supply control circuit generates a selection signal for a peripheral device to be accessed based on command data issued from the processor. A signal generation means, a power supply timing generation means for generating an on / off timing signal for supplying power to the peripheral device, and the selection signal for designating the peripheral device and the power supply timing signal as inputs to the designated device. Power supply control circuit means for generating an on / off control signal for power supply, and power supplied from the supply power supply to the designated peripheral device in response to the state of the output control signal, the power supply control circuit means being an input. And a power switch means for controlling ON or OFF of the power supply.
【請求項3】 プロセッサに接続された周辺装置に電源
供給を行う電源制御回路において、 上記電源制御回路は、 プロセッサから発せられるコマンドデータを受けて周辺
装置に対する電源供給群を指定するためのパターンを選
択出力する少なくとも1個のパターンジェネレータ生成
手段と、 上記パターンジェネレータ生成手段の出力信号を入力と
し指定装置群に対する電源供給on、off制御信号を
生成するための指定パターン合成回路手段と、 上記指定パターン合成回路手段の出力制御信号を入力と
し該出力制御信号の状態に応じて供給電源から該指定周
辺装置に供給される電源をon、またはoff制御する
ための電源スイッチ手段と、を備えたことを特徴とする
電源制御回路。
3. A power supply control circuit for supplying power to a peripheral device connected to a processor, wherein the power supply control circuit receives a command data issued from the processor and specifies a pattern for designating a power supply group for the peripheral device. At least one pattern generator generating means for selectively outputting, designated pattern synthesizing circuit means for generating power supply on / off control signals for the designated device group by using the output signal of the pattern generator generating means as input, and the designated pattern A power supply switch means for inputting an output control signal of the synthesizing circuit means and for turning on or off the power supplied from the power supply to the designated peripheral device in accordance with the state of the output control signal. Characteristic power supply control circuit.
JP5337752A 1993-12-28 1993-12-28 Power source control circuit Pending JPH07200106A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP5337752A JPH07200106A (en) 1993-12-28 1993-12-28 Power source control circuit
CA 2136701 CA2136701A1 (en) 1993-12-28 1994-11-25 Power supply control circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5337752A JPH07200106A (en) 1993-12-28 1993-12-28 Power source control circuit

Publications (1)

Publication Number Publication Date
JPH07200106A true JPH07200106A (en) 1995-08-04

Family

ID=18311630

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5337752A Pending JPH07200106A (en) 1993-12-28 1993-12-28 Power source control circuit

Country Status (2)

Country Link
JP (1) JPH07200106A (en)
CA (1) CA2136701A1 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2004070594A1 (en) * 2003-02-10 2004-08-19 Sony Corporation Information processing device and consumption power control method
JP2006309596A (en) * 2005-04-28 2006-11-09 Toshiba Corp Information processor and power-saving control method
JP2008530631A (en) * 2005-02-16 2008-08-07 松下電器産業株式会社 Power supply control circuit and electronic circuit
JP2009237712A (en) * 2008-03-26 2009-10-15 Fujitsu Ltd Circuit system and program

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111522425A (en) * 2019-02-02 2020-08-11 华为技术有限公司 Power consumption control method of electronic equipment and electronic equipment

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2004070594A1 (en) * 2003-02-10 2004-08-19 Sony Corporation Information processing device and consumption power control method
US7412615B2 (en) 2003-02-10 2008-08-12 Sony Corporation Information processing equipment and power consumption control method
JP2008530631A (en) * 2005-02-16 2008-08-07 松下電器産業株式会社 Power supply control circuit and electronic circuit
JP2006309596A (en) * 2005-04-28 2006-11-09 Toshiba Corp Information processor and power-saving control method
US7936827B2 (en) 2005-04-28 2011-05-03 Kabushiki Kaisha Toshiba Information processing apparatus having receiving device that receives video data
JP2009237712A (en) * 2008-03-26 2009-10-15 Fujitsu Ltd Circuit system and program

Also Published As

Publication number Publication date
CA2136701A1 (en) 1995-06-29

Similar Documents

Publication Publication Date Title
US5652536A (en) Non-glitch clock switching circuit
JP3857052B2 (en) Microprocessor
US6653871B2 (en) Method of and circuit for controlling a clock
KR910006828A (en) Computer system with sleep function
US6255882B1 (en) Method and system of switching clock signal
JP2882426B2 (en) Address generator
JPH07334267A (en) Logic lsi
JPH07200106A (en) Power source control circuit
EP0499178A1 (en) System clock switching mechanism for microprocessor
JPH04255043A (en) Improved external-memory access control system
KR20030019071A (en) Semiconductor integrated circuit with function to start and stop supply of clock signal
JPS61285521A (en) Computer device of low power consumption
JPH01260517A (en) Microcomputer
US6795911B1 (en) Computing device having instructions which access either a permanently fixed default memory bank or a memory bank specified by an immediately preceding bank selection instruction
JPH0628243A (en) Semiconductor integrated circuit
JPH05173676A (en) Disk power source control system
JPH04373002A (en) Programmable controller
JP2648017B2 (en) Microcomputer
JPH07129735A (en) Memory device
US6154820A (en) Arrangement for storing program instructions and data in a memory device and method therefor
JPH06348587A (en) Address decoding circuit
JP2000022076A (en) Macro module control device and method
JPH03160690A (en) Memory system
JPH0561563A (en) Timing generator
JPS61169923A (en) Data processing system