JPH0358207A - Microcomputer - Google Patents

Microcomputer

Info

Publication number
JPH0358207A
JPH0358207A JP1195454A JP19545489A JPH0358207A JP H0358207 A JPH0358207 A JP H0358207A JP 1195454 A JP1195454 A JP 1195454A JP 19545489 A JP19545489 A JP 19545489A JP H0358207 A JPH0358207 A JP H0358207A
Authority
JP
Japan
Prior art keywords
circuit
system clock
frequency
oscillation
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
Application number
JP1195454A
Other languages
Japanese (ja)
Inventor
Tetsuo Kanai
金井 徹郎
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.)
NEC Corp
Original Assignee
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP1195454A priority Critical patent/JPH0358207A/en
Publication of JPH0358207A publication Critical patent/JPH0358207A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To reduce power consumption as a whole by providing a selection circuit which selects and outputs one of plural system clocks from a frequency division circuit, and enabling the system clock supplied to each functional unit to be selected. CONSTITUTION:An oscillation circuit 1 oscillating with a prescribed frequency, the frequency division circuit which frequency-divides an oscillation clock from the oscillation circuit 1 and generates plural system clocks CL1-CL4, and the select9ion circuits 31A-31N which select and output one of the system clocks CL1-CL4 with a write signal WR from a CPU 4 according to written data are provided. Furthermore, plural functional blocks 3A-3N provided with internal circuits 32A-32N operated with the system clocks outputted from the selection circuits 31A-31N correspondingly, and perform prescribed functions are provided. Thereby, it is possible to supply the system clock suitable for each functional unit, and to reduce the power consumption as a whole.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明はマイクロコンピュータに関し、特に内部にシス
テムクロック発生回路を備えたマイクロフンビュータに
関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a microcomputer, and more particularly to a microcomputer equipped with an internal system clock generation circuit.

〔従来の技術〕[Conventional technology]

相補性MOS(以下CMOSと略す)で構成されている
マイクロコンピュータに於いて、内部で使用するシステ
ムクロック信号のスピードが速いとマイクロコンピュー
タの消費電力が増すという特徴がある。そのためにマイ
クロコンピュータ内部で特定の機能ユニットに供給する
システムクロックのスピードを遅くする事により全体の
消費電力を減らす手段がとられている。
A microcomputer configured with complementary MOS (hereinafter abbreviated as CMOS) has a characteristic that the power consumption of the microcomputer increases as the speed of the system clock signal used internally increases. To this end, measures have been taken to reduce the overall power consumption by slowing down the speed of the system clock supplied to specific functional units within the microcomputer.

従来のマイクロコンピュータの一例を示すプロ,ク図を
第5図に、そのクロック信号の波形図を第6図に示す。
A program diagram showing an example of a conventional microcomputer is shown in FIG. 5, and a waveform diagram of its clock signal is shown in FIG.

複数の機能ユニツ}3a〜3n,中央処理装置4A(以
下OPU4Aと略す),発振回路1及び発振クロックC
LOを複数のシステムクロックCL1,CL2に分周す
る分周回路2Aを有しているマイクロコンピュータに於
いて、分周された低い周波数のシステムクロックCL2
を特定の機能ユニッ}3aに供給し、CPU4Aを含め
たその他の機能ユニット3b〜3nに高い周波数のシス
テムクロックCL1を供給することで機能ユニット3a
の消費電力を減らすことによりマイクロコンピュータの
全体の消費電力を減らしていた。また、システムクロッ
クCLIあるいはシステムクロックCL2のどちらか一
方を停止させても、停止されないシステムクロックを供
給している機能ユニットは動作が可能である。
Multiple functional units} 3a to 3n, central processing unit 4A (hereinafter abbreviated as OPU4A), oscillation circuit 1, and oscillation clock C
In a microcomputer that has a frequency dividing circuit 2A that divides LO into a plurality of system clocks CL1 and CL2, the divided low frequency system clock CL2
is supplied to a specific functional unit} 3a, and a high frequency system clock CL1 is supplied to other functional units 3b to 3n including the CPU 4A.
By reducing the power consumption of the microcomputer, the overall power consumption of the microcomputer was reduced. Furthermore, even if either the system clock CLI or the system clock CL2 is stopped, the functional units that supply the system clock that is not stopped can continue to operate.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

しかし、上述した従来マイクロコンピュータは、各機能
ユニッ}3a〜3nに供給されるシステムクロックは固
定であるために、高速動作を必要としない機能ユニット
に対しても高い周波数のシステムクロックが供給されて
しまうという問題や、機能ユニットによっては動作の途
中で高速あるいは低速で動作させたい場合が生じた時に
、システムクロックを選択することは不可能であり、各
機能ユニットに対して適切なシステムクロックを逐次選
択することができないという問題がある。
However, in the conventional microcomputer described above, since the system clock supplied to each functional unit 3a to 3n is fixed, a high frequency system clock is supplied even to functional units that do not require high-speed operation. It is impossible to select a system clock when there is a problem that the system clock is running at high speed or low speed during operation depending on the functional unit. The problem is that you can't choose.

本発明の目的は、各機能ユニットに適したシステムクロ
ックを供給することができ、全体の消費電力を低減する
ことができるマイクロコンピュータを提供することにあ
る。
An object of the present invention is to provide a microcomputer that can supply a system clock suitable for each functional unit and reduce overall power consumption.

〔課題を解決するための手段〕[Means to solve the problem]

本発明のマイクロコンピュータは、所定の周波数で発振
する発振回路と、この発振回路の出力信号を分周してそ
れぞれ異なる周波数の複数のシステムクロックを発生す
る分周回路と、それぞれこの分周回路からの複数のシス
テムクロックのウチの一つを選択して出力する選択回路
及びこの選択回路からのシステムクロックにより動作す
る内部回路を備え所定の機能をはたす複数の機能ブロッ
クとを有している。
The microcomputer of the present invention includes an oscillator circuit that oscillates at a predetermined frequency, a frequency divider circuit that divides the output signal of this oscillation circuit to generate a plurality of system clocks each having a different frequency, and a frequency divider circuit that generates a plurality of system clocks each having a different frequency. The system has a selection circuit that selects and outputs one of the plurality of system clocks, and a plurality of functional blocks each having an internal circuit operated by the system clock from the selection circuit and performing a predetermined function.

〔実施例〕〔Example〕

次に、本発明の実施例について図面を参照して説明する
Next, embodiments of the present invention will be described with reference to the drawings.

第1図は本発明の第1の実施例を示すブロック図である
FIG. 1 is a block diagram showing a first embodiment of the present invention.

この実施例は、所定の周波数で発信し発振クロックCL
Oを出力する発振回路1と、この発振回路1からの発振
クロックCLOを分周してそれぞれ異なる周波数の複数
のシステムクロックOL1〜CL4を発生する分周回路
と、CPU4からの書込信号WRに従って内部にデータ
を書込み、この書込まれたデータに従ってシステムクロ
ックCLI〜CL4のうちの一つを選択して出力する選
択回路(31A〜31N)及びこの選択回路(31A〜
31N)から出力されるシステムクロックにより動作す
る内部回路(32A〜32N)をそれぞれ対応して備え
所定の機能をはたす複数の機能ブpツク3A〜3Nを、
内部回路42からの書込信号WRに従って内部にデータ
DTを書込み、この書込まれたデータDTに従ってシス
テムクロックaL1〜CL4のうちの一つを選択して出
力する選択回路41及びこの選択回路41から出力され
るシステムクロックに従って動作する内部回路42を備
え所定の機能をはたすCPU4とを有する構戒となって
いる。
In this embodiment, the oscillation clock CL is transmitted at a predetermined frequency.
An oscillation circuit 1 that outputs the clock signal CLO, a frequency divider circuit that divides the oscillation clock CLO from the oscillation circuit 1 to generate a plurality of system clocks OL1 to CL4 each having a different frequency, and a frequency divider circuit that generates a plurality of system clocks OL1 to CL4 having different frequencies, and Selection circuits (31A to 31N) that write data internally and select and output one of the system clocks CLI to CL4 according to the written data;
A plurality of functional blocks 3A to 3N each having a corresponding internal circuit (32A to 32N) operated by a system clock output from a system clock (31N) and performing a predetermined function,
A selection circuit 41 writes data DT internally in accordance with the write signal WR from the internal circuit 42, and selects and outputs one of the system clocks aL1 to CL4 according to the written data DT, and from this selection circuit 41. The system includes an internal circuit 42 that operates according to an output system clock, and a CPU 4 that performs predetermined functions.

第2図に、発振クロックCLO及びこの発振クロックC
LOを分周して生或されたシステムクロックCLI〜C
L4の波形図を示す。
FIG. 2 shows an oscillation clock CLO and this oscillation clock C
System clock CLI~C generated by frequency dividing LO
A waveform diagram of L4 is shown.

第3図はこの実施例の選択回路31A〜31N,41の
具体例を示す回路図である。
FIG. 3 is a circuit diagram showing a specific example of the selection circuits 31A to 31N, 41 of this embodiment.

レジスタ回路311の各レジスタREGI,REG2に
は、CPTJ4からの書込信号WRで、データバス5か
らのデータDT (DTI,DT2で構成されている。
Each register REGI, REG2 of the register circuit 311 receives data DT (consisting of DTI, DT2) from the data bus 5 in response to a write signal WR from CPTJ4.

)が書込まれる。) is written.

レジスタ8REG1の内容が“0″でレジスタREG2
の内容が“0”の時インバータINI,IN2の出力が
1とな’)ANDゲートANI〜AN4のうちAN4の
みが1となりトランスファーゲートTRI〜TR4のう
ちT.R1のみがオン状態になり、機能ユニット内のシ
ステムクロックCLKはシステムクロックCLIが選択
される。
The contents of register 8 REG1 are “0” and register REG2
When the content of the inverters INI and IN2 is "0", the outputs of the inverters INI and IN2 become 1.') Among the AND gates ANI to AN4, only AN4 becomes 1, and T. of the transfer gates TRI to TR4 becomes 1. Only R1 is turned on, and the system clock CLI is selected as the system clock CLK in the functional unit.

同様にして、レジスタREGIが“1″でレジスタRE
G2が“0”のときにはシステムクロックCL2がレジ
スタREGIが“O′でレジスタREG2が“1”のと
きはシステムクロックCL3がレジスタREGI,RE
G2が共に11111のときはシステムクロックCL4
が選択される。
Similarly, when register REGI is "1", register REGI
When G2 is "0", the system clock CL2 is set to register REGI, and when register REG2 is "1", the system clock CL3 is set to registers REGI, RE.
When both G2 are 11111, system clock CL4
is selected.

この第1の実施例においては、システムクロックソース
をOLI〜CL4としているが、n個のシステムクロッ
クソースでもレジスタをm(n≦2″′)個にし、デコ
ードすれば、同様にして選択が可能となることは明らか
である。
In this first embodiment, the system clock sources are OLI to CL4, but even n system clock sources can be selected in the same way by using m registers (n≦2''') and decoding them. It is clear that

第4図は本発明の第2の実施例の選択回路を示す回路図
である。
FIG. 4 is a circuit diagram showing a selection circuit according to a second embodiment of the present invention.

この第2の実施例の選択回路は、第1の実施例のレジス
タ回路3110代りにマスクパターンで変更可能なRO
MI,ROM2を備えたROM回路312を設けたもの
で、このROM回路312により、ユーザーが機能ユニ
ット毎に使用するシステムクロックをあらかじめ選択可
能とするようにしたものである。従って、データDTの
書込みがなくなるので回路が簡単になるという利点があ
る。
The selection circuit of this second embodiment is an RO that can be changed with a mask pattern instead of the register circuit 3110 of the first embodiment.
A ROM circuit 312 including MI and ROM2 is provided, and the ROM circuit 312 allows the user to select in advance the system clock to be used for each functional unit. Therefore, since there is no need to write data DT, there is an advantage that the circuit becomes simpler.

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

以上のように本発明は、各機能ユニットに供給されるシ
ステムクロックを選択可能とすることにより、機能ユニ
ットの動作スピードに適したシステムクロックを供給す
ることができ、全体の消費電力を低減することができる
効果がある。
As described above, by making it possible to select the system clock supplied to each functional unit, the present invention can supply a system clock suitable for the operating speed of the functional unit, thereby reducing overall power consumption. There is an effect that can be done.

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

第1図は本発明の第1の実施例を示すブロック図、第2
図及び第3図はそれぞれ本発明の第1の実施例の発振ク
ロック及びシステムクロックの波形図及び選択回路の具
体例を示す回路図、第4図は本発明の第2の実施例の選
択回路の具体例を示す回路図、第5図及び第6図はそれ
ぞれ従来のマイクロコンピュータの一例を示すブロック
図及びそのクロック信号の波形図である。 1・・・・・・発振回路、2,2A・・・・・・分周回
路、3A〜3N.3a〜3n・・・・・・機能ユニッ}
,4,4A・・・・・CPU,5・・・・・・データバ
ス、31A〜31N・・・・・・選択回路、42A〜4
2、・・・・・・内部回路、4l・・・・・・選択回路
、42・・・・・・内部回路、311・・・・・・レジ
スタ回路、312・・・・・・ROM回路、ANI〜A
N4・・・・・・ANDゲート、INI,IN2・・・
・・・インバータ、TRI〜TR4:・・・・・トラン
スファケート。
FIG. 1 is a block diagram showing a first embodiment of the present invention;
3 and 3 are waveform diagrams of the oscillation clock and system clock according to the first embodiment of the present invention, and a circuit diagram showing a specific example of the selection circuit, respectively, and FIG. 4 is a selection circuit according to the second embodiment of the present invention. FIGS. 5 and 6 are a block diagram showing an example of a conventional microcomputer and a waveform diagram of its clock signal, respectively. 1...Oscillation circuit, 2,2A...Divide circuit, 3A to 3N. 3a~3n・・・Functional unit}
, 4, 4A...CPU, 5...Data bus, 31A-31N...Selection circuit, 42A-4
2...Internal circuit, 4l...Selection circuit, 42...Internal circuit, 311...Register circuit, 312...ROM circuit , ANI~A
N4...AND gate, INI, IN2...
...Inverter, TRI~TR4: ...Transfer.

Claims (1)

【特許請求の範囲】[Claims] 所定の周波数で発振する発振回路と、この発振回路の出
力信号を分周してそれぞれ異なる周波数の複数のシステ
ムクロックを発生する分周回路と、それぞれこの分周回
路からの複数のシステムクロックのうちの一つを選択し
て出力する選択回路及びこの選択回路からのシステムク
ロックにより動作する内部回路を備え所定の機能をはた
す複数の機能ブロックとを有することを特徴とするマイ
クロコンピュータ。
An oscillation circuit that oscillates at a predetermined frequency, a frequency divider circuit that divides the output signal of this oscillation circuit to generate multiple system clocks each having a different frequency, and a frequency divider circuit that generates multiple system clocks each having a different frequency. 1. A microcomputer comprising: a selection circuit that selects and outputs one of the selection circuits; and a plurality of functional blocks each having an internal circuit operated by a system clock from the selection circuit and performing a predetermined function.
JP1195454A 1989-07-27 1989-07-27 Microcomputer Pending JPH0358207A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1195454A JPH0358207A (en) 1989-07-27 1989-07-27 Microcomputer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1195454A JPH0358207A (en) 1989-07-27 1989-07-27 Microcomputer

Publications (1)

Publication Number Publication Date
JPH0358207A true JPH0358207A (en) 1991-03-13

Family

ID=16341337

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1195454A Pending JPH0358207A (en) 1989-07-27 1989-07-27 Microcomputer

Country Status (1)

Country Link
JP (1) JPH0358207A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08179847A (en) * 1994-12-26 1996-07-12 Sony Corp Clock signal generator
US5774702A (en) * 1994-11-22 1998-06-30 Hitachi, Ltd. Integrated circuit having function blocks operating in response to clock signals

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5734245A (en) * 1980-08-09 1982-02-24 Shigeru Toyoshima Operation processing device
JPS61136115A (en) * 1984-12-07 1986-06-24 Nec Corp Basic clock generating circuit of microcomputer system
JPH01180024A (en) * 1988-01-11 1989-07-18 Fujitsu Ten Ltd Control system for synchronous logic circuit

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5734245A (en) * 1980-08-09 1982-02-24 Shigeru Toyoshima Operation processing device
JPS61136115A (en) * 1984-12-07 1986-06-24 Nec Corp Basic clock generating circuit of microcomputer system
JPH01180024A (en) * 1988-01-11 1989-07-18 Fujitsu Ten Ltd Control system for synchronous logic circuit

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5774702A (en) * 1994-11-22 1998-06-30 Hitachi, Ltd. Integrated circuit having function blocks operating in response to clock signals
JPH08179847A (en) * 1994-12-26 1996-07-12 Sony Corp Clock signal generator

Similar Documents

Publication Publication Date Title
US6611920B1 (en) Clock distribution system for selectively enabling clock signals to portions of a pipelined circuit
US6625740B1 (en) Dynamically activating and deactivating selected circuit blocks of a data processing integrated circuit during execution of instructions according to power code bits appended to selected instructions
US5317601A (en) Clock distribution system for an integrated circuit device
JP4566180B2 (en) Arithmetic processing device and clock control method
KR20070110400A (en) Controlling sequence of clock distribution to clock distribution domains
JPH06318123A (en) Semiconductor integrated circuit
JP2002055732A (en) Clock generator having deskew circuit
KR100247582B1 (en) Clock signal control system
JPH0358207A (en) Microcomputer
US6985041B2 (en) Clock generating circuit and method
JP3701100B2 (en) Clock generation circuit and clock generation method
JP2004206480A (en) Semiconductor integrated circuit
JP2623833B2 (en) Clock advance control system
JPH04262450A (en) Processor
JPS60195631A (en) Data processor
JPS6031652A (en) Microcomputer incorporating read-only memory
JP2739573B2 (en) Single chip microcomputer
JPS6283678A (en) Test pattern generator
JP3429790B2 (en) Time sharing control device for common bus
JPS6043757A (en) Microcomputer of one chip
JPH08249082A (en) Microprocessor peripheral circuit and operation clock mode setting method for this circuit
JPS58115513A (en) Frequency variable microcomputer
JPS62205411A (en) Microprocessor
JPS60134376A (en) Dma control lsi
JPH01211013A (en) Stand-by circuit for microprocessor