JPH05303445A - Semiconductor integrated circuit - Google Patents
Semiconductor integrated circuitInfo
- Publication number
- JPH05303445A JPH05303445A JP4109610A JP10961092A JPH05303445A JP H05303445 A JPH05303445 A JP H05303445A JP 4109610 A JP4109610 A JP 4109610A JP 10961092 A JP10961092 A JP 10961092A JP H05303445 A JPH05303445 A JP H05303445A
- Authority
- JP
- Japan
- Prior art keywords
- circuit
- clock
- standby
- semiconductor integrated
- system clock
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- Y—GENERAL 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
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE 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/00—Energy efficient computing, e.g. low power processors, power management or thermal management
Landscapes
- Power Sources (AREA)
- Microcomputers (AREA)
- Information Transfer Systems (AREA)
Abstract
(57)【要約】
【目的】1チップ・マイコンにおいて、スタンバイモー
ドの時にスタンバイ状態になる回路ブロックを製品状態
でプログラムすることを可能とし、ユーザーの用途に応
じて所望の回路ブロックのみがスタンバイ状態になるよ
うに最適な設定を可能とし、消費電力の最小化を図る。
【構成】複数個の回路ブロック12、13、14と、複
数個の回路ブロックに供給するためのシステムクロック
信号φ1 、φ2 を発生するクロック発生回路11と、ク
ロック発生回路と複数個の回路ブロックのうちの少なく
とも2つの回路ブロックとの間の各システムクロック供
給経路にそれぞれ対応して挿入され、ユーザーによるプ
ログラム可能なスタンバイ制御信号に応じてシステムク
ロック信号の供給の有効/無効を制御するクロック制御
回路16、17とを具備することを特徴とする。
(57) [Abstract] [Purpose] In a one-chip microcomputer, it is possible to program the circuit block that goes into the standby state in the standby mode in the product state, and only the desired circuit block goes into the standby state according to the user's application. The optimum setting is made possible to minimize the power consumption. A plurality of circuit blocks (12, 13, 14), a clock generation circuit (11) for generating system clock signals (φ1, φ2) for supplying to the plurality of circuit blocks, a clock generation circuit and a plurality of circuit blocks. A clock control circuit which is inserted corresponding to each system clock supply path between at least two circuit blocks of the circuit blocks and controls enable / disable of supply of the system clock signal according to a standby control signal programmable by a user. 16 and 17 are provided.
Description
【0001】[0001]
【産業上の利用分野】本発明は、半導体集積回路に係
り、特に例えば1チップ・マイクロコンピュータ(1チ
ップ・マイコン)に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a semiconductor integrated circuit, and more particularly to, for example, a one-chip microcomputer (one-chip microcomputer).
【0002】[0002]
【従来の技術】従来の1チップ・マイコンは、スタンバ
イ状態ではハードウェハで決められた所定の回路ブロッ
クに対してシステムクロックの供給を停止するようなス
タンバイ機能を有する。このスタンバイ機能は、スタン
バイ状態になる回路ブロックがハードウェハで固定され
ているので、多くのユーザーの要求に応えることはでき
なかった。例えばタイマー回路部およびシリアル回路部
を内蔵した1チップ・マイコンのスタンバイ機能とし
て、あるユーザーはCPU部のほかにタイマー回路部の
みをスタンバイ状態にすることを要求し、別のユーザー
はCPU部のほかにシリアル回路部のみをスタンバイ状
態にすることを要求することがある。この場合、通常
は、各ユーザーの仕様に合わせた製品(この例では2種
類)をメーカーが提供しているが、タイマー回路部もシ
リアル回路部もそれぞれスタンバイ状態にならない製品
を各ユーザーが我慢して使用する場合もあった。図5
は、従来の1チップ・マイコンの一例を示すブロック図
である。2. Description of the Related Art A conventional one-chip microcomputer has a standby function of stopping supply of a system clock to a predetermined circuit block determined by a hard wafer in a standby state. This standby function cannot meet the demands of many users because the circuit block to be in the standby state is fixed on the hard wafer. For example, as a standby function of a one-chip microcomputer that incorporates a timer circuit unit and a serial circuit unit, one user requests that only the timer circuit unit be put in the standby state in addition to the CPU unit, and another user needs the CPU unit and others. May request to put only the serial circuit unit into the standby state. In this case, normally, the manufacturer provides products (two types in this example) that match the specifications of each user, but each user has to put up with a product in which neither the timer circuit unit nor the serial circuit unit is in the standby state. Sometimes used. Figure 5
FIG. 7 is a block diagram showing an example of a conventional one-chip microcomputer.
【0003】この1チップ・マイコンにおいて、51は
クロック発生回路、52はCPU(中央処理装置)部、
53はタイマー回路部、54はシリアルポートに接続さ
れているシリアル回路部である。55は上記クロック発
生回路に接続される共振子であり、1チップ・マイコン
に外付けされる。上記クロック発生回路51は、二相の
システムクロック信号φ1a、φ2aおよび二相のシステム
クロック信号φ1b、φ2bを発生する。In this one-chip microcomputer, 51 is a clock generation circuit, 52 is a CPU (central processing unit),
Reference numeral 53 is a timer circuit section, and 54 is a serial circuit section connected to a serial port. Reference numeral 55 denotes a resonator connected to the clock generation circuit, which is externally attached to the one-chip microcomputer. The clock generation circuit 51 generates two-phase system clock signals φ1a and φ2a and two-phase system clock signals φ1b and φ2b.
【0004】この1チップ・マイコンでは、通常動作時
には、CPU部52およびシリアル回路部54にそれぞ
れクロック信号φ1a、φ2aが供給され、タイマー回路部
53にクロック信号φ1b、φ2bが供給される。そして、
スタンバイモードの時には、CPU部52およびシリア
ル回路部54は、クロックφ1a、φ2aの供給が停止され
るのでスタンバイ状態になるが、タイマー回路部53は
クロック信号φ1b、φ2bが供給されるのでスタンバイ状
態にはならない。図6は、従来の1チップ・マイコンの
他の例を示すブロック図である。In this one-chip microcomputer, the clock signals φ1a and φ2a are supplied to the CPU section 52 and the serial circuit section 54, respectively, and the clock signals φ1b and φ2b are supplied to the timer circuit section 53 during normal operation. And
In the standby mode, the CPU section 52 and the serial circuit section 54 are in the standby state because the supply of the clocks φ1a and φ2a is stopped, but the timer circuit section 53 is in the standby state because the clock signals φ1b and φ2b are supplied. Don't FIG. 6 is a block diagram showing another example of a conventional one-chip microcomputer.
【0005】この1チップ・マイコンは、図5の1チッ
プ・マイコンと比べて次の点が異なる。即ち、通常動作
時には、CPU部52およびタイマー回路部53にそれ
ぞれクロック信号φ1a、φ2aが供給され、シリアル回路
部54にクロック信号φ1b、φ2bが供給される。そし
て、スタンバイモードの時には、CPU部52およびタ
イマー回路部53は、クロックφ1a、φ2aの供給が停止
されるのでスタンバイ状態になるが、シリアル回路部5
4はクロック信号φ1b、φ2bが供給されるのでスタンバ
イ状態にはならない。This one-chip microcomputer differs from the one-chip microcomputer shown in FIG. 5 in the following points. That is, during normal operation, the clock signals φ1a and φ2a are supplied to the CPU unit 52 and the timer circuit unit 53, respectively, and the clock signals φ1b and φ2b are supplied to the serial circuit unit 54. Then, in the standby mode, the CPU section 52 and the timer circuit section 53 are in the standby state because the supply of the clocks φ1a and φ2a is stopped, but the serial circuit section 5
The clock signal 4 is supplied with the clock signals φ1b and φ2b, so that it does not enter the standby state.
【0006】[0006]
【発明が解決しようとする課題】上記したように従来の
1チップ・マイコンのスタンバイ機能は、スタンバイ状
態になる回路ブロックがハードウェハで固定されている
ので、多くのユーザーの要求に応えることはできないと
いう問題があった。As described above, the standby function of the conventional one-chip microcomputer cannot meet the demands of many users because the circuit block to be in the standby state is fixed on the hard wafer. There was a problem.
【0007】本発明は上記の問題点を解決すべくなされ
たもので、スタンバイモードの時にスタンバイ状態にな
る回路ブロックを製品状態で選択制御することが可能に
なり、ユーザーの用途に応じて所望の回路ブロックのみ
がスタンバイ状態になるように最適な設定が可能とな
り、消費電力の最小化を図り得る半導体集積回路を提供
することを目的とする。The present invention has been made to solve the above problems, and it becomes possible to selectively control a circuit block which is in a standby state in a standby mode in a product state, and it is possible to select a desired circuit block according to a user's application. It is an object of the present invention to provide a semiconductor integrated circuit that can be optimally set so that only a circuit block is in a standby state and that power consumption can be minimized.
【0008】[0008]
【課題を解決するための手段】本発明の半導体集積回路
は、複数個の回路ブロックと、この複数個の回路ブロッ
クに供給するためのシステムクロック信号を発生するク
ロック発生回路と、このクロック発生回路と前記複数個
の回路ブロックのうちの少なくとも2つの回路ブロック
との間の各システムクロック供給経路にそれぞれ対応し
て挿入され、ユーザーによるプログラム可能なスタンバ
イ制御信号に応じてシステムクロック信号の供給の有効
/無効を制御するクロック制御回路とを具備することを
特徴とする。A semiconductor integrated circuit according to the present invention includes a plurality of circuit blocks, a clock generation circuit for generating a system clock signal to be supplied to the plurality of circuit blocks, and the clock generation circuit. And corresponding at least two circuit blocks among the plurality of circuit blocks are inserted corresponding to the respective system clock supply paths, and the system clock signal is effectively supplied according to a user programmable standby control signal. / A clock control circuit for controlling invalidation.
【0009】[0009]
【作用】製品状態での通常動作時には、各クロック制御
回路はそれぞれシステムクロック信号を通過させるの
で、各対応する回路ブロックにシステムクロック信号が
供給される。In the normal operation in the product state, each clock control circuit passes the system clock signal, so that the system clock signal is supplied to each corresponding circuit block.
【0010】これに対して、製品状態でのスタンバイモ
ードの時に一部の回路ブロックのみをスタンバイ状態に
設定するためには、ユーザーによるプログラム可能なス
タンバイ制御信号を一部のクロック制御回路に与え、前
記一部の回路ブロックに対するクロック信号の供給が無
効な状態となるようにクロック制御回路を制御すればよ
い。この場合、残りの回路ブロックはスタンバイ状態に
はならない。On the other hand, in order to set only some circuit blocks to the standby state in the standby mode in the product state, a programmable standby control signal by the user is given to some clock control circuits. The clock control circuit may be controlled so that the supply of the clock signal to the part of the circuit blocks becomes invalid. In this case, the remaining circuit blocks do not enter the standby state.
【0011】これにより、ユーザーの用途に応じて所望
の回路ブロックのみがスタンバイ状態になるように最適
な設定が可能となり、消費電力の最小化を図ることが可
能になる。As a result, it is possible to make an optimum setting so that only the desired circuit block enters the standby state according to the user's application, and it is possible to minimize power consumption.
【0012】[0012]
【実施例】以下、図面を参照して本発明の実施例を詳細
に説明する。図1は、本発明の一実施例に係る1チップ
・マイコンのブロック構成を示している。Embodiments of the present invention will now be described in detail with reference to the drawings. FIG. 1 shows a block configuration of a one-chip microcomputer according to one embodiment of the present invention.
【0013】この1チップ・マイコンにおいて、クロッ
ク発生回路11は、二相のシステムクロック信号φ1 、
φ2 を発生し、システムクロック供給経路を介して複数
個の回路ブロックにシステムクロック信号を供給する。
本例では、上記複数個の回路ブロックは、CPU部1
2、タイマー回路部13、シリアルポートに接続されて
いるシリアル回路部14である。上記クロック発生回路
11に接続される共振子15は、1チップ・マイコンに
外付けされる。In this one-chip microcomputer, the clock generation circuit 11 has a two-phase system clock signal φ 1,
φ2 is generated, and the system clock signal is supplied to a plurality of circuit blocks via the system clock supply path.
In this example, the plurality of circuit blocks are the CPU unit 1
2, a timer circuit unit 13, and a serial circuit unit 14 connected to the serial port. The resonator 15 connected to the clock generation circuit 11 is externally attached to the one-chip microcomputer.
【0014】さらに、前記クロック発生回路11と複数
個の回路ブロックのうちの少なくとも2個の回路ブロッ
ク(マクロセル)との間の各システムクロック供給経路
にそれぞれ対応してクロック制御回路が挿入されてい
る。本例では、クロック発生回路11とタイマー回路部
13との間のシステムクロック供給経路に第1のクロッ
ク制御回路16が挿入されており、前記クロック発生回
路11とシリアル回路部14との間のシステムクロック
供給経路に第2のクロック制御回路17が挿入されてい
る。Further, a clock control circuit is inserted corresponding to each system clock supply path between the clock generation circuit 11 and at least two circuit blocks (macro cells) of a plurality of circuit blocks. .. In this example, the first clock control circuit 16 is inserted in the system clock supply path between the clock generation circuit 11 and the timer circuit unit 13, and the system between the clock generation circuit 11 and the serial circuit unit 14 is inserted. The second clock control circuit 17 is inserted in the clock supply path.
【0015】これらのクロック制御回路16および17
は、ユーザーによるプログラム可能なスタンバイ制御信
号SCに応じてシステムクロック信号φ1 、φ2 の供給
の有効/無効を制御するするものである。These clock control circuits 16 and 17
Controls the enable / disable of the supply of the system clock signals .phi.1 and .phi.2 in response to a user programmable standby control signal SC.
【0016】図1の1チップ・マイコンにおいて、製品
状態での通常動作時には、各クロック制御回路16およ
び17はそれぞれシステムクロック信号φ1 、φ2 の供
給を有効な状態に制御するので、CPU部12、タイマ
ー回路部13およびシリアル回路部14はそれぞれシス
テムクロック信号φ1 、φ2 が供給される。In the one-chip microcomputer of FIG. 1, during normal operation in the product state, the clock control circuits 16 and 17 control the supply of the system clock signals φ1 and φ2 to the effective state, so that the CPU section 12, The system clock signals φ1 and φ2 are supplied to the timer circuit unit 13 and the serial circuit unit 14, respectively.
【0017】これに対して、製品状態でのスタンバイモ
ードの時に、タイマー回路部13のみをスタンバイ状態
に設定するためには、スタンバイ制御信号(マクロセル
停止信号)を第1のクロック制御回路16に与え、タイ
マー回路部13に対するシステムクロック信号φ1 、φ
2 の供給が無効な状態となるように第1のクロック制御
回路16を制御すればよい。この場合、シリアル回路部
14は、システムクロック信号φ1 、φ2 が供給される
ので、スタンバイ状態にはならない。On the other hand, in the standby mode in the product state, in order to set only the timer circuit section 13 in the standby state, a standby control signal (macrocell stop signal) is given to the first clock control circuit 16. , System clock signals φ 1, φ for the timer circuit unit 13
The first clock control circuit 16 may be controlled so that the supply of 2 is invalid. In this case, since the system clock signals φ1 and φ2 are supplied to the serial circuit section 14, the serial circuit section 14 does not enter the standby state.
【0018】また、上記スタンバイモードの時に、シリ
アル回路部14のみをスタンバイ状態に設定するために
は、ユーザーによるプログラム可能な制御信号を第2の
クロック制御回路17に与え、シリアル回路部14に対
するシステムクロック信号φ1 、φ2 の供給が無効な状
態となるように第2のクロック制御回路17を制御すれ
ばよい。この場合、タイマー回路部13は、システムク
ロック信号φ1 、φ2が供給されるので、スタンバイ状
態にはならない。Further, in order to set only the serial circuit section 14 to the standby state in the standby mode, a user programmable control signal is applied to the second clock control circuit 17 so that the system for the serial circuit section 14 can be controlled. The second clock control circuit 17 may be controlled so that the supply of the clock signals φ1 and φ2 becomes invalid. In this case, the timer circuit unit 13 does not enter the standby state because the system clock signals φ1 and φ2 are supplied.
【0019】さらに、上記スタンバイモードの時に、タ
イマー回路部13およびシリアル回路部14のそれぞれ
に対してスタンバイ状態に設定するためには、ユーザー
によるプログラム可能な制御信号を各クロック制御回路
16、17に与え、タイマー回路部13およびシリアル
回路部14のそれぞれに対するシステムクロック信号φ
1 、φ2 の供給が無効な状態となるように各クロック制
御回路16、17を制御すればよい。Further, in the standby mode, in order to set the timer circuit unit 13 and the serial circuit unit 14 to the standby states, a user programmable control signal is supplied to each clock control circuit 16 and 17. System clock signal φ for each of the timer circuit unit 13 and the serial circuit unit 14
The clock control circuits 16 and 17 may be controlled so that the supply of 1 and φ2 becomes invalid.
【0020】即ち、上記実施例の1チップ・マイコンに
よれば、製品状態での通常動作時には、各クロック制御
回路16、17は各対応するタイマー回路部13および
シリアル回路部14に対するシステムクロック信号φ1
、φ2 の供給が有効な状態となっているので、タイマ
ー回路部13およびシリアル回路部14は動作状態な
る。 これに対して、製品状態でのスタンバイモードの
時に一部の回路ブロック13または14のみをスタンバ
イ状態に設定するためには、ユーザーによるプログラム
可能な制御信号を一部のクロック制御回路16または1
7に与え、前記一部の回路ブロック13または14に対
するクロック信号φ1 、φ2 の供給が無効な状態となる
ように上記クロック制御回路16または17を制御すれ
ばよい。この場合、残りの回路ブロックはスタンバイ状
態にはならない。That is, according to the one-chip microcomputer of the above embodiment, during the normal operation in the product state, the clock control circuits 16 and 17 cause the system clock signal φ 1 to the corresponding timer circuit section 13 and serial circuit section 14 respectively.
, Φ2 is in the valid state, the timer circuit section 13 and the serial circuit section 14 are in the operating state. On the other hand, in order to set only some of the circuit blocks 13 or 14 to the standby state when in the standby mode in the product state, the user programmable control signal is set to some of the clock control circuits 16 or 1.
7 to control the clock control circuit 16 or 17 so that the supply of the clock signals .phi.1 and .phi.2 to the partial circuit block 13 or 14 becomes invalid. In this case, the remaining circuit blocks do not enter the standby state.
【0021】これにより、ユーザーの用途に応じて所望
の回路ブロックのみがスタンバイ状態になるように最適
な設定が可能となり、消費電力の最小化を図ることが可
能になる。図2は、図1中の各クロック制御回路16、
17の一例について1個を代表的に示す回路図である。As a result, the optimum setting can be made so that only the desired circuit block is in the standby state according to the user's application, and the power consumption can be minimized. FIG. 2 shows each clock control circuit 16 in FIG.
17 is a circuit diagram representatively showing one of 17 examples. FIG.
【0022】このクロック制御回路は、スタンバイモー
ドの時に、対応する回路ブロックに供給する二相のシス
テムクロックφ1 、φ2 がそれぞれ非活性レベル“L”
となるように、スタンバイ制御信号SCによってマスク
することにより、前記タイマー回路部13(またはシリ
アル回路部14)に対するシステムクロックφ1 、φ2
の供給を無効にするように構成されている。In this clock control circuit, in the standby mode, the two-phase system clocks φ1 and φ2 supplied to the corresponding circuit block are inactive level "L".
So that the system clocks φ1 and φ2 for the timer circuit unit 13 (or the serial circuit unit 14) are masked by the standby control signal SC.
Is configured to disable the supply of.
【0023】即ち、クロック発生回路11から供給され
るシステムクロックφ1 、φ2 がそれぞれ対応して2個
のアンドゲート21、22の各一方の入力端に入力し、
スタンバイ制御信号がインバータ回路23により反転さ
れ、この反転制御信号が上記2個のアンドゲート21、
22の各他方の入力端に入力し、この2個のアンドゲー
ト21、22の各出力が前記タイマー回路部13(また
はシリアル回路部14)に供給される。That is, the system clocks φ1 and φ2 supplied from the clock generation circuit 11 are input to the respective one input terminals of the two AND gates 21 and 22, respectively,
The standby control signal is inverted by the inverter circuit 23, and the inverted control signal is applied to the two AND gates 21,
It is input to the other input terminal of 22 and the respective outputs of the two AND gates 21 and 22 are supplied to the timer circuit section 13 (or the serial circuit section 14).
【0024】このクロック制御回路において、スタンバ
イ制御信号が非活性状態(“L”レベル)の時には、イ
ンバータ回路23の出力信号が“H”レベルになり、シ
ステムクロックφ1 、φ2 が通過する。これに対して、
スタンバイ制御信号が活性状態(“H”レベル)の時に
は、インバータ回路23の出力信号が“L”レベルにな
り、2個のアンドゲート21、22の各出力が“L”レ
ベルになり、前記タイマー回路部13(またはシリアル
回路部14)がスタンバイ状態になる。図3は、図1中
の各クロック制御回路16、17の他の例について1個
を代表的に示す回路図である。In this clock control circuit, when the standby control signal is in the inactive state ("L" level), the output signal of the inverter circuit 23 becomes "H" level, and the system clocks φ1 and φ2 pass. On the contrary,
When the standby control signal is in the active state (“H” level), the output signal of the inverter circuit 23 becomes “L” level, each output of the two AND gates 21 and 22 becomes “L” level, and the timer The circuit unit 13 (or the serial circuit unit 14) enters the standby state. FIG. 3 is a circuit diagram representatively showing another example of each of the clock control circuits 16 and 17 in FIG.
【0025】このクロック制御回路は、スタンバイモー
ドの時に、スタンバイ制御データを所定の論理レベルに
設定し、これをクロックφ1 、φ2 入力に同期してラッ
チすることによりスタンバイ制御信号SCを生成する。
そして、このクロック制御回路に対応する回路ブロック
に供給する二相のクロックφ1 、φ2 出力が互いに相補
的な論理レベルとなるように、上記スタンバイ制御信号
SCによってマスクすることにより、前記タイマー回路
部13(またはシリアル回路部14)に対するシステム
クロックφ1 、φ2 の供給を無効にするように構成され
ている。In the standby mode, the clock control circuit sets the standby control data to a predetermined logic level and latches it in synchronization with the clocks φ1 and φ2 to generate the standby control signal SC.
The timer circuit section 13 is masked by the standby control signal SC so that the outputs of the two-phase clocks φ1 and φ2 supplied to the circuit block corresponding to the clock control circuit have complementary logic levels. The supply of the system clocks φ1 and φ2 to (or the serial circuit unit 14) is disabled.
【0026】即ち、クロック発生回路11から供給され
るシステムクロックφ1 、φ2 がそれぞれ対応して第1
のアンドゲート31およびオアゲート32の各一方の入
力端に入力する。また、書込み制御信号およびクロック
φ1 入力が第2のアンドゲート34でアンドがとられて
ラッチ制御信号が生成される。マスター・フリップフロ
ップ回路33は、1チップ・マイコンの内部テータバス
から入力するスタンバイ制御データがデータ入力端Dに
入力し、そのラッチ制御入力端LEには前記ラッチ制御
信号が入力し、そのデータ出力端Qの出力はスレーブ・
フリップフロップ回路35のデータ入力端Dに入力す
る。このスレーブ・フリップフロップ回路35は、ラッ
チ制御入力端LEにクロックφ2 入力が入力し、そのデ
ータ出力端Qの出力が前記スタンバイ制御信号SCとな
る。このスタンバイ制御信号SCは、直接に前記オアゲ
ート32の他方の入力端に入力すると共に、インバータ
回路36により反転されて前記第1のアンドゲート31
の他方の入力端に入力する。そして、上記第1のアンド
ゲート31およびオアゲート32の各出力が前記タイマ
ー回路部13(またはシリアル回路部14)に供給され
る。図4は、図3のクロック制御回路の動作例を示すタ
イミング波形図である。次に、図3のクロック制御回路
の動作例を説明する。That is, the system clocks φ1 and φ2 supplied from the clock generation circuit 11 correspond to the first clocks, respectively.
Is input to one of the input terminals of the AND gate 31 and the OR gate 32. The write control signal and the clock .phi.1 input are ANDed by the second AND gate 34 to generate the latch control signal. In the master flip-flop circuit 33, standby control data input from the internal data bus of the one-chip microcomputer is input to the data input terminal D, the latch control signal is input to the latch control input terminal LE, and the data output terminal thereof is output. Q output is slave
The data is input to the data input terminal D of the flip-flop circuit 35. In this slave flip-flop circuit 35, the clock φ 2 input is input to the latch control input terminal LE, and the output of the data output terminal Q thereof becomes the standby control signal SC. The standby control signal SC is directly input to the other input terminal of the OR gate 32 and is inverted by the inverter circuit 36 to be input to the first AND gate 31.
Input to the other input terminal of. Then, the outputs of the first AND gate 31 and the OR gate 32 are supplied to the timer circuit unit 13 (or the serial circuit unit 14). FIG. 4 is a timing waveform diagram showing an operation example of the clock control circuit of FIG. Next, an operation example of the clock control circuit of FIG. 3 will be described.
【0027】スタンバイモードの開始時に、書込み制御
信号が活性レベル“H”になる。この書込み制御信号が
“H”レベルの間に、クロックφ1 入力が活性レベル
“H”になると、第2のアンドゲート34の出力(ラッ
チ制御信号)が活性レベル“H”になる。この時に、ス
タンバイ制御データが活性レベル“H”に設定されてい
ると、上記“H”レベルがマスター・フリップフロップ
回路33によりラッチされ、この後、クロックφ2 入力
が活性レベル“H”になると、マスター・フリップフロ
ップ回路33の出力データ(“H”レベル)がスレーブ
・フリップフロップ回路35によりラッチされ、スレー
ブ・フリップフロップ回路35の出力データQ(スタン
バイ制御信号SC)が活性レベル“H”になる。At the start of the standby mode, the write control signal becomes active level "H". If the clock φ1 input becomes active level "H" while the write control signal is at "H" level, the output (latch control signal) of the second AND gate 34 becomes active level "H". At this time, if the standby control data is set to the active level "H", the above "H" level is latched by the master flip-flop circuit 33, and thereafter, when the clock φ2 input becomes the active level "H", The output data (“H” level) of the master flip-flop circuit 33 is latched by the slave flip-flop circuit 35, and the output data Q (standby control signal SC) of the slave flip-flop circuit 35 becomes the active level “H”. ..
【0028】スタンバイモードの終了時には、書込み制
御信号およびクロックφ1 入力が活性レベル“H”にな
って第2のアンドゲート34の出力(ラッチ制御信号)
が活性レベル“H”になる。この時に、スタンバイ制御
データが非活性レベル“L”に設定されていると、上記
“L”レベルがマスター・フリップフロップ回路33に
よりラッチされ、この後、クロックφ2 入力が活性レベ
ル“H”になると、マスター・フリップフロップ回路3
3の出力データ(“L”レベル)がスレーブ・フリップ
フロップ回路35によりラッチされ、スレーブ・フリッ
プフロップ回路35の出力データ(スタンバイ制御信号
SC)が非活性レベル“L”になる。At the end of the standby mode, the write control signal and the clock φ1 input become active level "H", and the output of the second AND gate 34 (latch control signal).
Becomes the active level "H". At this time, if the standby control data is set to the inactive level "L", the "L" level is latched by the master flip-flop circuit 33, and thereafter, when the clock φ2 input becomes the active level "H". , Master flip-flop circuit 3
3 is latched by the slave flip-flop circuit 35, and the output data (standby control signal SC) of the slave flip-flop circuit 35 becomes the inactive level "L".
【0029】[0029]
【発明の効果】上述したように本発明によれば、スタン
バイモードの時にスタンバイ状態になる回路ブロックを
製品状態で選択制御することが可能になり、ユーザーの
用途に応じて所望の回路ブロックのみがスタンバイ状態
になるように最適な設定が可能となり、消費電力の最小
化を図り得る半導体集積回路を実現できる。As described above, according to the present invention, it becomes possible to selectively control the circuit blocks that are in the standby state in the standby mode in the product state, and only the desired circuit block can be selected according to the user's application. It is possible to realize a semiconductor integrated circuit that can be optimized so as to be in a standby state and can minimize power consumption.
【図1】本発明の第1実施例に係る1チップ・マイコン
を示すブロック図。FIG. 1 is a block diagram showing a one-chip microcomputer according to a first embodiment of the present invention.
【図2】図1中のクロック制御回路の一例を示す回路
図。FIG. 2 is a circuit diagram showing an example of a clock control circuit in FIG.
【図3】図1中のクロック制御回路の他の例を示す回路
図。FIG. 3 is a circuit diagram showing another example of the clock control circuit in FIG.
【図4】図3のクロック制御回路の動作例を示すタイミ
ング波形図。4 is a timing waveform chart showing an operation example of the clock control circuit of FIG.
【図5】従来の1チップ・マイコンの一例を示すブロッ
ク図。FIG. 5 is a block diagram showing an example of a conventional one-chip microcomputer.
【図6】従来の1チップ・マイコンの他の例を示すブロ
ック図。FIG. 6 is a block diagram showing another example of a conventional one-chip microcomputer.
11…クロック発生回路、12…CPU部、13…タイ
マー回路部、14…シリアル回路部、16…第1のクロ
ック制御回路、17…第2のクロック制御回路、21、
22、31、34…アンドゲート、23、36…インバ
ータ回路、32…オアゲート、33、35…フリップフ
ロップ回路、φ1 、φ2 …二相のシステムクロック信
号。11 ... Clock generation circuit, 12 ... CPU section, 13 ... Timer circuit section, 14 ... Serial circuit section, 16 ... First clock control circuit, 17 ... Second clock control circuit, 21,
22, 31, 34 ... AND gate, 23, 36 ... Inverter circuit, 32 ... OR gate, 33, 35 ... Flip-flop circuit, .phi.1, .phi.2 ... Two-phase system clock signal.
Claims (5)
ロック信号を発生するクロック発生回路と、 このクロック発生回路と前記複数個の回路ブロックのう
ちの少なくとも2つの回路ブロックとの間の各システム
クロック供給経路にそれぞれ対応して挿入され、ユーザ
ーによるプログラム可能なスタンバイ制御信号に応じて
システムクロック信号の供給の有効/無効を制御するク
ロック制御回路とを具備することを特徴とする半導体集
積回路。1. A plurality of circuit blocks, a clock generation circuit for generating a system clock signal to be supplied to the plurality of circuit blocks, and at least two of the clock generation circuit and the plurality of circuit blocks. And a clock control circuit that is inserted corresponding to each system clock supply path between the two circuit blocks and that controls enable / disable of supply of the system clock signal according to a standby control signal programmable by a user. A semiconductor integrated circuit characterized by the above.
て、 前記複数個の回路ブロックは、中央処理装置部、タイマ
ー回路部、シリアル回路部を有し、 上記タイマー回路部およびシリアル回路部にそれぞれ対
応するシステムクロック供給経路に前記クロック制御回
路が挿入されていることを特徴とする半導体集積回路。2. The semiconductor integrated circuit according to claim 1, wherein the plurality of circuit blocks include a central processing unit section, a timer circuit section, and a serial circuit section, which correspond to the timer circuit section and the serial circuit section, respectively. The semiconductor integrated circuit, wherein the clock control circuit is inserted in a system clock supply path for the system.
て、 前記スタンバイ制御信号は、スタンバイモードの時に、
スタンバイ制御データを前記システムクロックに同期し
てラッチすることにより生成されることを特徴とする半
導体集積回路。3. The semiconductor integrated circuit according to claim 1, wherein the standby control signal is in a standby mode.
A semiconductor integrated circuit generated by latching standby control data in synchronization with the system clock.
半導体集積回路において、 前記クロック制御回路は、スタンバイモードの時に、対
応する回路ブロックに対する二相のシステムクロック入
力がそれぞれ非活性レベルとなるようにマスクすること
を特徴とする半導体集積回路。4. The semiconductor integrated circuit according to claim 1, wherein, in the clock control circuit, a two-phase system clock input to a corresponding circuit block is in an inactive level in a standby mode. A semiconductor integrated circuit characterized by masking so that
半導体集積回路において、 前記クロック制御回路は、対応する回路ブロックに対す
る二相のシステムクロック入力が互いに相補的な論理レ
ベルとなるようにマスクすることを特徴とする半導体集
積回路。5. The semiconductor integrated circuit according to claim 1, wherein the clock control circuit is configured so that two-phase system clock inputs to corresponding circuit blocks have complementary logic levels. A semiconductor integrated circuit characterized by being masked.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP4109610A JPH05303445A (en) | 1992-04-28 | 1992-04-28 | Semiconductor integrated circuit |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP4109610A JPH05303445A (en) | 1992-04-28 | 1992-04-28 | Semiconductor integrated circuit |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH05303445A true JPH05303445A (en) | 1993-11-16 |
Family
ID=14514659
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP4109610A Pending JPH05303445A (en) | 1992-04-28 | 1992-04-28 | Semiconductor integrated circuit |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH05303445A (en) |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| KR100710942B1 (en) * | 2001-04-25 | 2007-04-24 | 엘지전자 주식회사 | Device Clock Controller Connected to PCI Bus |
| JP2007535031A (en) * | 2004-04-06 | 2007-11-29 | フリースケール セミコンダクター インコーポレイテッド | State retention in data processing systems |
-
1992
- 1992-04-28 JP JP4109610A patent/JPH05303445A/en active Pending
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| KR100710942B1 (en) * | 2001-04-25 | 2007-04-24 | 엘지전자 주식회사 | Device Clock Controller Connected to PCI Bus |
| JP2007535031A (en) * | 2004-04-06 | 2007-11-29 | フリースケール セミコンダクター インコーポレイテッド | State retention in data processing systems |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP2625633B2 (en) | How to reduce logic macro power consumption. | |
| JPH10161767A (en) | Device and method for automatically sequencing clock within data processing system in starting and finishing power saving state | |
| JP2008135065A (en) | Device and its method for switching among various clock sources in data processing system | |
| JP3670738B2 (en) | Feedback latch and method | |
| US5625311A (en) | System clock generating circuit having a power saving mode capable of maintaining a satisfactory processing speed | |
| JP3304399B2 (en) | Semiconductor integrated logic circuit | |
| US11068018B2 (en) | System and method for power management of a computing system with a plurality of islands | |
| EP0316943A2 (en) | Semiconductor integrated circuit having a plurality of oscillation circuits | |
| JPH05303445A (en) | Semiconductor integrated circuit | |
| JP2643579B2 (en) | Microcomputer | |
| JPH11145786A (en) | Flip-flop reset circuit | |
| JPH10116131A (en) | Circuit and system for clock signal control | |
| JP4831899B2 (en) | Semiconductor integrated circuit and clock control method | |
| US5587675A (en) | Multiclock controller | |
| JP2001035148A (en) | Data processor | |
| JP3166239B2 (en) | Clock signal supply device | |
| JPH1049248A (en) | Microcomputer | |
| JP3727670B2 (en) | Microcontroller | |
| CN110362187B (en) | System and method for power management | |
| JP3310482B2 (en) | Microcomputer | |
| JP3189875B2 (en) | State machine | |
| TW202339400A (en) | Semiconductor device and method of operating a semiconductor device | |
| JPH04167113A (en) | Information processor | |
| JPS60251418A (en) | Operating frequency switching control circuit of arithmetic unit | |
| JP2738159B2 (en) | Clock signal control circuit |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20001017 |