JP2000357023A - Clock control system - Google Patents

Clock control system

Info

Publication number
JP2000357023A
JP2000357023A JP11169744A JP16974499A JP2000357023A JP 2000357023 A JP2000357023 A JP 2000357023A JP 11169744 A JP11169744 A JP 11169744A JP 16974499 A JP16974499 A JP 16974499A JP 2000357023 A JP2000357023 A JP 2000357023A
Authority
JP
Japan
Prior art keywords
power consumption
clock
low power
processor
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.)
Withdrawn
Application number
JP11169744A
Other languages
Japanese (ja)
Inventor
Takeshi Takamiya
健 高宮
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
Original Assignee
Toshiba 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 filed Critical Toshiba Corp
Priority to JP11169744A priority Critical patent/JP2000357023A/en
Publication of JP2000357023A publication Critical patent/JP2000357023A/en
Withdrawn legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To provide a clock control system for appropriately controlling whether or not a clock signal is to be supplied to a processor corresponding to the operating state of a device. SOLUTION: A device 1 for periodically accessing a system memory outputs a signal under Device operation showing a state under operating and a Device Request signal for requesting operation start to a device state monitoring circuit 3. On the other hand, the device state monitoring circuit 3 asserts an Enable signal during the operation of the device or asserts a Disable signal in the other case. When Stop Grant is asserted, a clock control circuit 5 asserts only STOPCLK for stopping only the internal clock of the processor and when the Stop Clock is asserted, PCLKSTP is asserted for stopping this STOPCLK and an external clock.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】この発明は、システムメモリ
内のデータを一時的に格納するためのキャッシュメモリ
を内蔵するプロセッサを備えた低消費電力動作可能なコ
ンピュータシステムに適用して好適なクロック制御シス
テムに係り、特に、プロセッサからの起動コマンドに応
答してシステムメモリへのアクセスを実行するデバイス
や、プロセッサからの起動コマンドを受け付けた後、シ
ステムメモリへのアクセスを定期的に発生させるデバイ
スが実装されたコンピュータシステムにおいても、プロ
セッサに対するクロック信号の供給有無を適切に制御す
ることを可能とするクロック制御システムに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a clock control system suitable for a low power consumption operable computer system including a processor having a cache memory for temporarily storing data in a system memory. In particular, a device that executes access to the system memory in response to a start command from the processor and a device that periodically generates access to the system memory after receiving the start command from the processor are implemented. The present invention also relates to a clock control system capable of appropriately controlling whether a clock signal is supplied to a processor in a computer system.

【0002】[0002]

【従来の技術】近年、デスクトップタイプやノートブッ
クタイプなどと称される個人向けコンピュータ(パーソ
ナルコンピュータ)が種々開発されている。この種のコ
ンピュータの中には、低消費電力化を目的として、プロ
セッサ内部のクロックを部分的に停止させたりプロセッ
サ外部からのクロック供給を一時停止させる機能を持つ
ものも多い。
2. Description of the Related Art In recent years, various personal computers (personal computers) called desktop type or notebook type have been developed. Many computers of this type have a function of partially stopping the clock inside the processor or temporarily stopping the clock supply from outside the processor for the purpose of reducing power consumption.

【0003】特に、プロセッサに対するクロック供給を
停止した場合の消費電力低下は効果が高く、バッテリ駆
動可能なノートブックタイプのパーソナルコンピュータ
における可動時間を左右する。システムにカレントジョ
ブが存在せず、キーボードなどの入力装置からの入力も
発生していない状態などで、このクロック制御がなされ
るわけであるが、その検出およびクロック停止の制御は
専用のソフトウェアである低消費電力ドライバによって
行なわれる。この低消費電力ドライバは、現在システム
がアイドルなのか動作中であるかを常に監視し、アイド
ルであればクロック停止機能を働かせる。
[0003] In particular, the reduction in power consumption when the clock supply to the processor is stopped is highly effective, and affects the operating time of a notebook-type personal computer that can be driven by a battery. This clock control is performed when the current job does not exist in the system and no input from an input device such as a keyboard occurs, but the detection and the clock stop control are dedicated software. This is done by a low power driver. This low power driver constantly monitors whether the system is currently idle or in operation, and if idle, activates the clock stop function.

【0004】また、プロセッサの内部にはPLL(Ph
ase Locked Loop)回路が存在してお
り、このPLL回路が内部クロックを作成している。こ
の内部クロックは、少なくとも外部から供給されるクロ
ックの数倍の周波数で動作している。
A PLL (Ph) is internally provided in the processor.
There is an “ase locked loop” circuit, and this PLL circuit creates an internal clock. This internal clock operates at least several times the frequency of a clock supplied from the outside.

【0005】このPLL回路は、プロセッサに外部クロ
ックが供給され始めてから内部クロックを安定して発振
させるまでに数ms〜数十ms必要とする。したがっ
て、プロセッサへのクロックが停止制御によって停止さ
せられた場合(プロセッサクロック停止状態)、キー入
力などによって動作が再開されて内部クロックが再度安
定動作するまでシステムが数ms待たされることとな
る。
This PLL circuit requires several milliseconds to several tens of milliseconds after the external clock is supplied to the processor until the internal clock is oscillated stably. Therefore, when the clock to the processor is stopped by the stop control (processor clock stopped state), the operation is restarted by a key input or the like, and the system waits several milliseconds until the internal clock operates again stably.

【0006】ところで、近年のプロセッサは、キャッシ
ュメモリを内蔵するのが当然のこととなっているが、前
述したクロック停止とプロセッサ内蔵のキャッシュメモ
リとの関係に起因した問題も存在している。
[0006] By the way, it is natural that recent processors incorporate a cache memory, but there is also a problem due to the relationship between the above-mentioned clock stop and the cache memory built into the processor.

【0007】たとえばプロセッサクロックが停止してい
るときに、外部デバイスからプロセッサ内部にキャッシ
ングされている領域に対するメモリアクセスが発生した
場合には、プロセッサ内部のキャッシュ無効化処理(キ
ャッシュスヌープ)を行なわなければならない。しかし
ながら、プロセッサ内部クロックは停止しており、外部
クロックを動作させて内部クロックが安定動作するまで
の数msはその処理を待たせなければならない。したが
って、結果的に性能低下を招くという問題が存在する。
For example, when a memory access from an external device to an area cached in the processor occurs while the processor clock is stopped, a cache invalidation process (cache snoop) in the processor must be performed. No. However, the internal clock of the processor is stopped, and it is necessary to wait for a few ms until the internal clock operates stably by operating the external clock. Therefore, there is a problem that the performance is reduced as a result.

【0008】このような問題の回避策として、プロセッ
サに対するクロック供給は停止せずに、プロセッサの内
部クロックの一部をゲートして停止させる方法がある。
この方法では、プロセッサ内部の回路が一部停止してい
る状態から数クロックですべての回路を回復させること
ができる。こうすることで、たとえばプロセッサ以外の
デバイスが定期的にメモリアクセスを行なう際に、プロ
セッサ内部のキャッシュメモリを無効化する処理やシス
テムメモリアクセスも待たされることなく実行できる。
As a countermeasure against such a problem, there is a method in which a part of the internal clock of the processor is gated and stopped without stopping the clock supply to the processor.
According to this method, all circuits can be recovered in a few clocks from a state in which circuits in the processor are partially stopped. In this way, for example, when a device other than the processor periodically accesses the memory, the process of invalidating the cache memory inside the processor and the system memory access can be executed without waiting.

【0009】しかしながら、この方法では、稼動部分が
多くなるために消費電力が高くなり、バッテリ駆動時間
も短くなるという背反要素もある。
However, in this method, there are contradictory factors that the power consumption increases due to the increase in the number of operating parts and the battery driving time is shortened.

【0010】このようなことから、低消費電力ドライバ
は、システムに接続されているデバイスやその稼動状態
を把握した上で、図5に示すような規則でクロック制御
を行なっている。より具体的には、システムがアイドル
になった場合で、プロセッサのクロック停止が可能な場
合(すなわち、再動作まで数msの間システムが作動し
なくてもよいと判断した場合)、プロセッサに対してプ
ロセッサクロック停止命令を発行することにより、プロ
セッサのクロック停止動作(STOPCLOCK)を実
現する。
[0010] For this reason, the low power consumption driver controls the clock according to the rules shown in FIG. 5 after grasping the devices connected to the system and the operating states thereof. More specifically, when the system becomes idle and the clock of the processor can be stopped (that is, when it is determined that the system does not need to operate for a few milliseconds before re-operation), By issuing a processor clock stop instruction, a clock stop operation (STOPPCLOCK) of the processor is realized.

【0011】また、定期的に動作するデバイスが存在す
る場合、プロセッサに対してプロセッサクロック一部停
止の命令を発行することにより、プロセッサのクロック
一部停止動作(STOPGRANT)に遷移させる。
If there is a device that operates periodically, an instruction to partially stop the processor clock is issued to the processor to cause a transition to a partial clock stop operation (STOPGRANT) of the processor.

【0012】このように、STOPCLOCK/STO
PGRANT/通常供給状態については、ソフトウェア
である低消費電力ドライバがデバイスの接続状態を調査
した上でハードウェアの設定をダイレクトに切り替えて
動作させていた。
As described above, the STOPPCLOCK / STO
Regarding the PGRANT / normal supply state, the low power consumption driver, which is software, operates the device by directly switching the hardware setting after investigating the connection state of the device.

【0013】[0013]

【発明が解決しようとする課題】たとえばUSBのホス
トコントローラ(USB−HC)などのように、定期的
にメモり転送を行なう可能性のあるデバイスがシステム
上に接続されていた場合、プロセッサのクロック停止を
行なうと、USB−HCの定期的なアクセス時間よりも
プロセッサクロック停止からの回復時間の方が大きい
(PLLの安定動作問題)ために、USB−HCのハー
ド処理が実現できなくなる危険性がある。したがって、
この場合には、プロセッサに対するクロックの停止は行
なえず、STOPGRANTのみを使用しなければなら
なかった。
When a device, such as a USB host controller (USB-HC), which may periodically perform a memory transfer, is connected to the system, the clock of the processor is controlled. When the suspension is performed, the recovery time from the suspension of the processor clock is longer than the regular access time of the USB-HC (the problem of the stable operation of the PLL). is there. Therefore,
In this case, the clock for the processor could not be stopped, and only STOPGRANT had to be used.

【0014】また、このUSB−HCには、動作しない
ためのモードが定義されており、このモードのときには
USB−HCはメモリアクセスを行なわなくなる。しか
しながら、低消費電力ドライバがこれを検出する手段を
持たない場合には、たとえUSB−HCがメモリアクセ
スを行なわなくても、システムがアイドルであることを
判断できなかった。したがって、その動作状態に関わら
ずに、ただUSB−HCが存在するのみによって、プロ
セッサに対するクロックの停止は行なえず、STOPG
RANTのみを使用しなければならなかった。
A mode for not operating is defined in the USB-HC. In this mode, the USB-HC does not perform memory access. However, when the low power consumption driver does not have a means for detecting this, even if the USB-HC does not perform the memory access, it cannot be determined that the system is idle. Therefore, regardless of the operating state, the clock to the processor cannot be stopped only by the presence of the USB-HC, and the STOPG
Only RANT had to be used.

【0015】さらに、STOPCLOCK状態からST
OPGRANT状態に遷移する場合に、低消費電力ドラ
イバなどのソフトウェアで動作状態を検出していたため
に数百msの切り替え時間を浪費していた。
Further, from the STOPPCLOCK state, ST
When transiting to the OPGRANT state, several hundred ms of switching time was wasted because the operating state was detected by software such as a low power consumption driver.

【0016】この発明はこのような実情を考慮してなさ
れたものであり、プロセッサからの起動コマンドに応答
してシステムメモリへのアクセスを実行するデバイス
や、プロセッサからの起動コマンドを受け付けた後、シ
ステムメモリへのアクセスを定期的に発生させるデバイ
スが実装されたコンピュータシステムにおいても、プロ
セッサに対するクロック信号の供給有無を適切に制御す
ることを可能とするクロック制御システムを提供するこ
とを目的とする。
The present invention has been made in view of such circumstances, and has been described in connection with a device for executing access to a system memory in response to a start command from a processor, or after receiving a start command from a processor. It is an object of the present invention to provide a clock control system capable of appropriately controlling whether a clock signal is supplied to a processor even in a computer system in which a device for periodically generating access to a system memory is mounted.

【0017】[0017]

【課題を解決するための手段】前述した目的を達成する
ために、この発明は、たとえば一部のDMA装置のよう
なプロセッサからの起動コマンドに応答してシステムメ
モリへのアクセスを実行するデバイスに、プロセッサか
らの起動コマンドを受け付けてからシステムメモリへの
アクセスを終了するまでの間、システムメモリへのアク
セス動作中である旨を示す動作中信号を出力させ、この
動作中信号の出力有無をハードウェアで検知することに
よりプロセッサに対するクロック信号の供給有無を制御
するようにしたものであり、そのために、システムメモ
リ内のデータを一時的に格納するためのキャッシュメモ
リを内蔵するプロセッサを備えた低消費電力動作可能な
コンピュータシステムであって、前記プロセッサからの
起動コマンドに応答して前記システムメモリへのアクセ
スを実行するデバイスが実装されたコンピュータシステ
ムのクロック制御システムにおいて、前記デバイスに、
前記プロセッサからの起動コマンドを受け付けてから前
記システムメモリへのアクセスを終了するまでの間、前
記システムメモリへのアクセス動作中である旨を示す動
作中信号を出力する動作中信号出力手段を設け、前記コ
ンピュータシステムを低消費電力動作させるための低消
費電力動作要求信号を出力する低消費電力動作要求回路
と、前記デバイスからの動作中信号および前記低消費電
力動作要求回路からの低消費電力動作要求信号に応じて
前記コンピュータシステムの低消費電力動作を制御する
ための低消費電力制御信号を出力する低消費電力制御回
路と、前記低消費電力制御回路からの低消費電力制御信
号に応じて前記プロセッサに対するクロック信号の供給
有無を制御するためのクロック制御信号を出力するクロ
ック制御回路とを具備することを特徴とする。
SUMMARY OF THE INVENTION To achieve the above-mentioned object, the present invention is directed to a device, such as some DMA devices, that accesses system memory in response to a boot command from a processor. Between receiving the start command from the processor and ending the access to the system memory, outputting an in-operation signal indicating that the access to the system memory is being performed. The CPU controls whether or not a clock signal is supplied to the processor by detecting with hardware, and therefore, has a low power consumption including a processor with a built-in cache memory for temporarily storing data in the system memory. A power-operable computer system that responds to a start command from the processor. The clock control system of the computer system devices to perform the access to the system memory is implemented, the device,
Between receiving a start command from the processor and ending access to the system memory, providing an active signal output unit that outputs an active signal indicating that an access operation to the system memory is being performed, A low-power-consumption operation request circuit for outputting a low-power-consumption operation request signal for causing the computer system to perform a low-power consumption operation; an in-operation signal from the device; and a low-power consumption operation request from the low-power consumption operation request circuit. A low power consumption control circuit for outputting a low power consumption control signal for controlling a low power consumption operation of the computer system according to a signal; and the processor according to a low power consumption control signal from the low power consumption control circuit. A clock control circuit for outputting a clock control signal for controlling whether or not a clock signal is supplied to the Characterized in that it Bei.

【0018】この発明においては、プロセッサからの起
動コマンドに応答してシステムメモリへのアクセスを実
行するデバイスの動作状態に応じてプロセッサに対する
クロック信号の供給有無を制御するため、キャッシュメ
モリを内蔵するプロセッサを備えたコンピュータシステ
ムが、これらのデバイスの存在のみによりクロック制御
効率を悪化させることを防止し、また、ソフトウェア制
御であるがゆえのオーバヘッドをなくすことを実現す
る。
According to the present invention, a processor having a built-in cache memory for controlling whether or not a clock signal is supplied to a processor in accordance with an operation state of a device which accesses a system memory in response to a start command from the processor To prevent the clock control efficiency from deteriorating only due to the presence of these devices, and eliminate the overhead due to software control.

【0019】また、この発明は、たとえばUSB装置の
ようなプロセッサからの起動コマンドを受け付けた後、
システムメモリへのアクセスを定期的に発生させるデバ
イスに、システムメモリへのアクセスを要求してからシ
ステムメモリへのアクセスを終了するまでの間、システ
ムメモリへのアクセス動作中である旨を示す動作中信号
を出力させ、この動作中信号の出力有無をハードウェア
で検知することによりプロセッサに対するクロック信号
の供給有無を制御するようにしたものであり、そのため
に、システムメモリ内のデータを一時的に格納するため
のキャッシュメモリを内蔵するプロセッサを備えた低消
費電力動作可能なコンピュータシステムであって、前記
プロセッサからの起動コマンドを受け付けた後、前記シ
ステムメモリへのアクセスを定期的に発生させるデバイ
スが実装されたコンピュータシステムのクロック制御シ
ステムにおいて、前記デバイスに、前記システムメモリ
へのアクセスを要求してから前記システムメモリへのア
クセスを終了するまでの間、前記システムメモリへのア
クセス動作中である旨を示す動作中信号を出力する動作
中信号出力手段を設け、前記コンピュータシステムを低
消費電力動作させるための低消費電力動作要求信号を出
力する低消費電力動作要求回路と、前記デバイスからの
動作中信号および前記低消費電力動作要求回路からの低
消費電力動作要求信号に応じて前記コンピュータシステ
ムの低消費電力動作を制御するための低消費電力制御信
号を出力する低消費電力制御回路と、前記低消費電力制
御回路からの低消費電力制御信号に応じて前記プロセッ
サに対するクロック信号の供給有無を制御するためのク
ロック制御信号を出力するクロック制御回路とを具備す
ることを特徴とする。
Further, according to the present invention, after receiving a start command from a processor such as a USB device,
During operation indicating that access to the system memory is being performed from the time when the device that regularly accesses the system memory is requested to access the system memory to the time when the access to the system memory is completed. A signal is output and the presence / absence of the output of the signal during operation is detected by hardware to control the supply / non-supply of the clock signal to the processor. For this purpose, the data in the system memory is temporarily stored. A low power consumption operable computer system having a processor with a built-in cache memory for executing a command to periodically generate access to the system memory after receiving a start command from the processor. In the clock control system of the computer system An in-operation signal that outputs an in-operation signal indicating that an access operation to the system memory is being performed during a period from when the device requests access to the system memory to when the access to the system memory is completed. An output means for outputting a low power consumption operation request signal for operating the computer system at low power consumption; a low power consumption operation request signal from the device and a low power consumption operation request signal from the device; A low power consumption control circuit that outputs a low power consumption control signal for controlling a low power consumption operation of the computer system in response to a low power consumption operation request signal; and a low power consumption control signal from the low power consumption control circuit. Clock for outputting a clock control signal for controlling whether or not a clock signal is supplied to the processor according to Characterized by comprising a control circuit.

【0020】この発明においては、プロセッサからの起
動コマンドを受け付けた後、システムメモリへのアクセ
スを定期的に発生させるデバイスの動作状態に応じてプ
ロセッサに対するクロック信号の供給有無を制御するた
め、同様に、キャッシュメモリを内蔵するプロセッサを
備えたコンピュータシステムが、これらのデバイスの存
在のみによりクロック制御効率を悪化させることを防止
し、また、ソフトウェア制御であるがゆえのクロック制
御に要するオーバヘッドをなくすことを実現する。
According to the present invention, after the start command from the processor is received, the supply or non-supply of the clock signal to the processor is controlled in accordance with the operation state of the device for periodically generating access to the system memory. To prevent a computer system having a processor with a built-in cache memory from deteriorating clock control efficiency solely due to the presence of these devices, and to eliminate the overhead required for clock control due to software control. Realize.

【0021】[0021]

【発明の実施の形態】以下、図面を参照してこの発明の
一実施形態を説明する。
An embodiment of the present invention will be described below with reference to the drawings.

【0022】図1は、この発明の実施形態に係るクロッ
ク制御システムの構成を示す図である。
FIG. 1 is a diagram showing a configuration of a clock control system according to an embodiment of the present invention.

【0023】図1において、Periodicアクセス
デバイス1は、たとえば定期的にシステムメモリをアク
セスし、プロセッサ内部のキャッシュ無効化処理を発生
させるようなデバイスである。このPeriodicア
クセスデバイス1は、‘1’をアサートするようなDe
vice動作中信号をその動作中にデバイス状態監視回
路3に出力し、また、動作開始要求のためのDevic
e Request信号をデバイス状態監視回路3に出
力する。
In FIG. 1, a periodic access device 1 is a device that accesses a system memory periodically, for example, and causes a cache invalidation process inside a processor. This Periodic access device 1 is a Dedicated device that asserts “1”.
A device in-operation signal is output to the device state monitoring circuit 3 during the operation, and a device for requesting an operation start is output.
e Request signal is output to the device state monitoring circuit 3.

【0024】Controlレジスタ2は、システムに
おける制御レジスタ群であり、クロック制御信号をプロ
セッサに伝えるかどうかのClock制御Enable
信号を出力している。
The Control register 2 is a group of control registers in the system, and is a Clock control enable for transmitting a clock control signal to the processor.
Signal is being output.

【0025】デバイス状態監視回路3は、デバイスが動
作中はEnable信号を、デバイスが動作中でないと
きはDisable信号をアサートする、デバイスの動
作状態を監視している回路である。なお、ここでは、デ
バイス状態監視回路3に対してPeriodicアクセ
スデバイス1のみが入力側に接続されているが、システ
ムにPeriodicアクセスデバイス1のようなPe
riodic回路や長期間動作するようなデバイスが多
数存在する場合、それらのデバイス動作ステータスをデ
バイス状態監視回路3に接続して監視管理下に置くこと
になる。
The device state monitoring circuit 3 is a circuit for monitoring the operation state of the device, which asserts the Enable signal when the device is operating and the Disable signal when the device is not operating. Here, only the Periodic access device 1 is connected to the input side of the device state monitoring circuit 3, but the system does not include the Periodic access device 1.
When there are a large number of riodic circuits and devices that operate for a long period of time, their device operation status is connected to the device state monitoring circuit 3 and placed under monitoring management.

【0026】Processorクロック停止要求生成
回路4は、定期的あるいはソフトウェアによるPORT
アクセスによってClock停止Request信号を
アサートする。
The processor clock stop request generation circuit 4 periodically or by software
The clock stop request signal is asserted by the access.

【0027】クロック制御回路5に入力されている2つ
の制御信号(Stop GrantRequest,
Stop Clock Request)は、図1に示
す回路構成により、図2のようなマトリクスでアサート
されている。このクロック制御回路5は、Stop G
rantがアサートされた場合、STOPCLKのみを
アサートし、一方、Stop Clockがアサートさ
れた場合、STOPCLKとPCLKSTPとの双方を
アサートする。
The two control signals (Stop Grant Request,
Stop Clock Request is asserted in a matrix as shown in FIG. 2 by the circuit configuration shown in FIG. This clock control circuit 5 has Stop G
If rand is asserted, only STOPCLK is asserted, while if Stop Clock is asserted, both STOPCLK and PCLKSTP are asserted.

【0028】Processorクロック受信部6は、
STOPCLKを受信した後、プロセッサをプロセッサ
定義の低消費電力モードに遷移させる。
The processor clock receiving unit 6
After receiving the STOPCLK, the processor transitions to the processor-defined low power consumption mode.

【0029】そして、クロックジェネレータ7は、PC
LKSTOP信号がアサートされるとプロセッサに供給
するクロックを停止させる。
The clock generator 7 is connected to a PC
When the LKSTOP signal is asserted, the clock supplied to the processor is stopped.

【0030】図3および図4に、STOPCLKとPC
LKSTOPとのアサートおよびデアサートのタイミン
グを示す。
FIGS. 3 and 4 show STOPCLK and PC.
The timing of assertion and deassertion with LKSTOP is shown.

【0031】まず、図3を参照しながらStop Gr
antサイクルのタイミングについて説明するデバイス
が動作していないことが検出されると、Stop Gr
ant Requestがアサートされる(図3の
(1))。
First, referring to FIG. 3, Stop Gr
When it is detected that the device that describes the timing of the ant cycle is not operating, Stop Gr
The ant Request is asserted ((1) in FIG. 3).

【0032】このStop Grant Reques
tがアサートされてからしばらくすると、今度はSTO
PCLKがアサートされ、システムはStop Gra
ntサイクルに遷移する(図3の(2))。
This Stop Grant Requests
Some time after t was asserted, this time STO
PCLK is asserted and the system stops at Stop Gra.
Transition to the nt cycle ((2) in FIG. 3).

【0033】この状態でデバイスが動作開始を要求(D
evice Request)すると、それを受けてS
top Grant Requestがデアサートされ
る(図3の(3))。
In this state, the device requests operation start (D
device Request), and S
The top Grant Request is deasserted ((3) in FIG. 3).

【0034】続いて、このStop Grant Re
questデアサートを受けて、STPCLOCKがデ
アサートされる(図3の(4))。
Subsequently, the Stop Grant Re
In response to the quest deassertion, STPCLOCK is deasserted ((4) in FIG. 3).

【0035】また、このSTPCLOCKデアサートを
受けて、デバイスが動作を開始する(図3の(5))。
In response to the STPCLOCK deassertion, the device starts operating (FIG. 3, (5)).

【0036】そして、デバイスは、動作を開始できたの
で、Device Requestをデアサートする
(図3の(6))。
Then, since the device has started its operation, it deasserts Device Request ((6) in FIG. 3).

【0037】このStop Grantサイクルでは、
PCLKSTOPはアサートされないので、プロセッサ
へのクロック供給も停止しない。
In this Stop Grant cycle,
Since PCLKSTOP is not asserted, the clock supply to the processor is not stopped.

【0038】次に、図4を参照しながらStop Cl
ockサイクルのタイミングについて説明する。
Next, referring to FIG.
The timing of the ock cycle will be described.

【0039】デバイスが動作していないことが検出され
ると、Stop Clock Requestがアサー
トされる(図4の(1))。
When it is detected that the device is not operating, the Stop Clock Request is asserted ((1) in FIG. 4).

【0040】このStop Clock Reques
tがアサートされてからしばらくすると、今度はSTO
PCLKがアサートされる(図4の(2))。
This Stop Clock Requests
Some time after t was asserted, this time STO
PCLK is asserted ((2) in FIG. 4).

【0041】また、このSTOPCLKのアサートを受
けてPCLKSTOPがアサートされ、システムはSt
op Clockステートに遷移する。すなわち、PC
LKSTOPアサート時にプロセッサへのクロック(P
CLK)は停止する(図4の(3))。
Further, in response to the assertion of STOPCLK, PCLKSTOP is asserted, and the system operates at St.
The state transits to the op Clock state. That is, PC
When LKSTOP is asserted, the clock (P
CLK) stops ((3) in FIG. 4).

【0042】この状態でデバイスが動作を開始するため
のDevice Requestをアサートすると、そ
れを受けてStop Clock Requestがデ
アサートされる(図4の(4))。
In this state, when the Device Request for starting the operation of the device is asserted, the Stop Clock Request is deasserted in response to the assertion ((4) in FIG. 4).

【0043】続いて、このStop Clock Re
questデアサートを受けて、PCLKSTPがデア
サートされる(図4の(5))。この時、プロセッサへ
のクロックが復帰する。
Subsequently, the Stop Clock Re
In response to the quest deassertion, PCLKSTP is deasserted ((5) in FIG. 4). At this time, the clock to the processor returns.

【0044】このPCLKSTPのデアサート後、ST
OPCLKがデアサートされる(図4の(6))。
After deassertion of PCLKSTP, STCLK
OPCLK is deasserted ((6) in FIG. 4).

【0045】また、このSTOPCLKデアサートを受
けて、デバイスが動作を開始する(図4の(7))。
In response to the STOPCLK deassertion, the device starts operating (FIG. 4 (7)).

【0046】そして、デバイスは、動作を開始できたの
で、Device Requestをデアサートする
(図4の(8))。
Then, since the device can start the operation, it deasserts Device Request ((8) in FIG. 4).

【0047】このように、デバイスが出力するDevi
ce動作中信号とDevice Request信号と
をデバイス状態監視回路3が監視し、このデバイス状態
監視回路3の監視結果に応じて、ハードウェアであるク
ロック制御回路5がプロセッサに対するクロック供給有
無を制御することにより、ソフトウェア制御のようなオ
ーバヘッドを発生させることもなく、定期的にアクセス
が発生するようなデバイスがシステム上に存在しても適
切なクロック制御を実現できる。
As described above, the device output from the device
The device status monitoring circuit 3 monitors the ce operation signal and the Device Request signal, and the clock control circuit 5 as hardware controls the clock supply to the processor according to the monitoring result of the device status monitoring circuit 3. Accordingly, appropriate clock control can be realized even if there is a device in which access is periodically generated in the system without generating overhead such as software control.

【0048】[0048]

【発明の効果】以上詳述したように、この発明によれ
ば、ハードウェアによりデバイスの動作状態を監視し、
プロセッサに対するクロック供給有無を制御するため
に、デバイスの動作状態や動作開始の状態を詳細に知る
ことが不可能であったことから、定期的にアクセスが発
生するようなデバイスがシステム上に存在するだけでク
ロック制御効率が悪く、また、ソフトウェア制御である
がゆえにオーバーヘッドが大きくならざるを得ないとい
った、従来のソフトウェアによるクロック制御が抱えて
いた問題を解決する。
As described in detail above, according to the present invention, the operating state of a device is monitored by hardware,
In order to control the clock supply to the processor, it was not possible to know in detail the operation state and the operation start state of the device, so there are devices in the system where access occurs periodically. This solves the problems of conventional clock control by software, such as poor clock control efficiency and increased overhead due to software control.

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

【図1】この発明の実施形態に係るクロック制御システ
ムの構成を示す図。
FIG. 1 is a diagram showing a configuration of a clock control system according to an embodiment of the present invention.

【図2】同実施形態のクロック制御回路に入力される2
つの制御信号(Stop Grant Reques
t, Stop Clock Request)のアサ
ートのマトリクスを示す図。
FIG. 2 is a diagram showing a signal input to a clock control circuit according to the embodiment;
Control signals (Stop Grant Requests)
FIG. 9 is a diagram illustrating a matrix of asserts of t, Stop Clock Request).

【図3】同実施形態のStop Grantサイクルの
タイミングチャート。
FIG. 3 is a timing chart of a stop grant cycle of the embodiment.

【図4】同実施形態のStop Clockサイクルの
タイミングチャート。
FIG. 4 is a timing chart of a Stop Clock cycle of the embodiment.

【図5】従来の低消費電力ドライバによるクロック制御
を説明するための図。
FIG. 5 is a diagram for explaining clock control by a conventional low power consumption driver.

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

1…Periodicアクセスデバイス 2…Controlレジスタ 3…デバイス状態監視回路 4…Processorクロック停止要求生成回路 5…クロック制御回路 6…Processorクロック受信部 7…クロックジェネレータ DESCRIPTION OF SYMBOLS 1 ... Periodic access device 2 ... Control register 3 ... Device state monitoring circuit 4 ... Processor clock stop request generation circuit 5 ... Clock control circuit 6 ... Processor clock receiving part 7 ... Clock generator

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 システムメモリ内のデータを一時的に格
納するためのキャッシュメモリを内蔵するプロセッサを
備えた低消費電力動作可能なコンピュータシステムであ
って、前記プロセッサからの起動コマンドに応答して前
記システムメモリへのアクセスを実行するデバイスが実
装されたコンピュータシステムのクロック制御システム
において、 前記デバイスに、 前記プロセッサからの起動コマンドを受け付けてから前
記システムメモリへのアクセスを終了するまでの間、前
記システムメモリへのアクセス動作中である旨を示す動
作中信号を出力する動作中信号出力手段を設け、 前記コンピュータシステムを低消費電力動作させるため
の低消費電力動作要求信号を出力する低消費電力動作要
求回路と、 前記デバイスからの動作中信号および前記低消費電力動
作要求回路からの低消費電力動作要求信号に応じて前記
コンピュータシステムの低消費電力動作を制御するため
の低消費電力制御信号を出力する低消費電力制御回路
と、 前記低消費電力制御回路からの低消費電力制御信号に応
じて前記プロセッサに対するクロック信号の供給有無を
制御するためのクロック制御信号を出力するクロック制
御回路とを具備することを特徴とするクロック制御シス
テム。
1. A low power consumption operable computer system comprising a processor having a cache memory for temporarily storing data in a system memory, wherein the computer system is responsive to a start command from the processor. In a clock control system of a computer system in which a device for performing an access to a system memory is mounted, the system may be configured to receive a start command from the processor to end the access to the system memory. A low-power operation request for outputting a low-power operation request signal for causing the computer system to perform low-power operation; A circuit; an active signal from said device; A low power consumption control circuit that outputs a low power consumption control signal for controlling a low power consumption operation of the computer system according to a low power consumption operation request signal from the low power consumption operation request circuit; A clock control circuit, comprising: a clock control circuit that outputs a clock control signal for controlling whether a clock signal is supplied to the processor according to a low power consumption control signal from a control circuit.
【請求項2】 システムメモリ内のデータを一時的に格
納するためのキャッシュメモリを内蔵するプロセッサを
備えた低消費電力動作可能なコンピュータシステムであ
って、前記プロセッサからの起動コマンドを受け付けた
後、前記システムメモリへのアクセスを定期的に発生さ
せるデバイスが実装されたコンピュータシステムのクロ
ック制御システムにおいて、 前記デバイスに、 前記システムメモリへのアクセスを要求してから前記シ
ステムメモリへのアクセスを終了するまでの間、前記シ
ステムメモリへのアクセス動作中である旨を示す動作中
信号を出力する動作中信号出力手段を設け、 前記コンピュータシステムを低消費電力動作させるため
の低消費電力動作要求信号を出力する低消費電力動作要
求回路と、 前記デバイスからの動作中信号および前記低消費電力動
作要求回路からの低消費電力動作要求信号に応じて前記
コンピュータシステムの低消費電力動作を制御するため
の低消費電力制御信号を出力する低消費電力制御回路
と、 前記低消費電力制御回路からの低消費電力制御信号に応
じて前記プロセッサに対するクロック信号の供給有無を
制御するためのクロック制御信号を出力するクロック制
御回路とを具備することを特徴とするクロック制御シス
テム。
2. A low power consumption operable computer system comprising a processor having a built-in cache memory for temporarily storing data in a system memory, wherein the computer system receives a start command from the processor. In a clock control system of a computer system in which a device for periodically generating access to the system memory is mounted, from a request for access to the system memory to the device to a termination of access to the system memory. Operating signal output means for outputting an operating signal indicating that an access operation to the system memory is being performed, and outputting a low power consumption operation request signal for causing the computer system to operate at low power consumption. Low power consumption operation request circuit and operation from the device A low power consumption control circuit for outputting a low power consumption control signal for controlling a low power consumption operation of the computer system in response to a signal and a low power consumption operation request signal from the low power consumption operation request circuit; A clock control system comprising: a clock control circuit that outputs a clock control signal for controlling whether a clock signal is supplied to the processor in accordance with a low power consumption control signal from the power consumption control circuit.
【請求項3】 前記低消費電力動作要求回路は、前記コ
ンピュータシステムがアイドル状態であることが検出さ
れた際に前記低消費電力動作要求信号を出力すべく駆動
制御されるものであることを特徴とする請求項1または
2記載のクロック制御システム。
3. The low power consumption operation request circuit is driven and controlled to output the low power consumption operation request signal when the computer system is detected to be in an idle state. 3. The clock control system according to claim 1, wherein:
JP11169744A 1999-06-16 1999-06-16 Clock control system Withdrawn JP2000357023A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP11169744A JP2000357023A (en) 1999-06-16 1999-06-16 Clock control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP11169744A JP2000357023A (en) 1999-06-16 1999-06-16 Clock control system

Publications (1)

Publication Number Publication Date
JP2000357023A true JP2000357023A (en) 2000-12-26

Family

ID=15892052

Family Applications (1)

Application Number Title Priority Date Filing Date
JP11169744A Withdrawn JP2000357023A (en) 1999-06-16 1999-06-16 Clock control system

Country Status (1)

Country Link
JP (1) JP2000357023A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105071891A (en) * 2015-08-28 2015-11-18 Tcl移动通信科技(宁波)有限公司 Bluetooth clock control system and Bluetooth clock control method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105071891A (en) * 2015-08-28 2015-11-18 Tcl移动通信科技(宁波)有限公司 Bluetooth clock control system and Bluetooth clock control method

Similar Documents

Publication Publication Date Title
US5586332A (en) Power management for low power processors through the use of auto clock-throttling
US9870044B2 (en) Method and apparatus for a zero voltage processor sleep state
US5634131A (en) Method and apparatus for independently stopping and restarting functional units
US5623677A (en) Apparatus and method for reducing power consumption in a computer system
US7392413B2 (en) Changing of operating voltage in semiconductor integrated circuit
US6981163B2 (en) Method and apparatus for power mode transition in a multi-thread processor
US5931951A (en) Computer system for preventing cache malfunction by invalidating the cache during a period of switching to normal operation mode from power saving mode
RU2171490C2 (en) Multiprocessor computer system having coherent cash with reduced power consumption
US6085330A (en) Control circuit for switching a processor between multiple low power states to allow cache snoops
US5625807A (en) System and method for enabling and disabling a clock run function to control a peripheral bus clock signal
JPH0667768A (en) Method for operating processor of type including bus unit and executing unit, central processing unit, computer system and clock control device circuit
US7254724B2 (en) Power management system
KR19990076908A (en) Power Management Device and Method
JP2009514114A (en) Method and system for optimizing dynamic memory sizing latency
US20060143484A1 (en) Dynamic control of reduced voltage state of graphics controller component of memory controller
WO1998044405A1 (en) Automatic transitioning between acpi c3 and c2 states
JP4202754B2 (en) Power management method and configuration for bus-coupled circuit blocks
JP2003076952A (en) Sd memory card host controller and method for controlling clock
US7219248B2 (en) Semiconductor integrated circuit operable to control power supply voltage
JP2002140138A (en) Controller for transition to electric power saving, information processor, method for transition to electric power saving, and recording medium
CN113093899B (en) Cross-power domain data transmission method
US7565558B2 (en) Power saving method and system for a central processing unit disposed in a non-snooping sleep state when a peripheral device sends a bus master request
US20040215989A1 (en) Information processor, program, storage medium, and control method
CN101281416A (en) Method for ensuring system closedown completion
JP2000357023A (en) Clock control system

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20060217

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20060307

A761 Written withdrawal of application

Free format text: JAPANESE INTERMEDIATE CODE: A761

Effective date: 20060407