JPS60150137A - Microcomputer system - Google Patents

Microcomputer system

Info

Publication number
JPS60150137A
JPS60150137A JP59005101A JP510184A JPS60150137A JP S60150137 A JPS60150137 A JP S60150137A JP 59005101 A JP59005101 A JP 59005101A JP 510184 A JP510184 A JP 510184A JP S60150137 A JPS60150137 A JP S60150137A
Authority
JP
Japan
Prior art keywords
circuit
speed
cpu2
cpu
address
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
JP59005101A
Other languages
Japanese (ja)
Inventor
Satoru Suzaki
須崎 悟
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.)
Panasonic Electric Works Co Ltd
Original Assignee
Matsushita Electric Works Ltd
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 Matsushita Electric Works Ltd filed Critical Matsushita Electric Works Ltd
Priority to JP59005101A priority Critical patent/JPS60150137A/en
Publication of JPS60150137A publication Critical patent/JPS60150137A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Executing Machine-Instructions (AREA)

Abstract

PURPOSE:To reduce the variations of the circuit state inside a microcomputer system consisting of a CMOS.IC and to reduce the power consumption, by reducing the speed of the clock which is given to a CPU while an idle routine is executed. CONSTITUTION:An address monitor circuit 5 decides the execution of an idle routine and delivers this execution mode to an AND gate 10 when the address which is presently executed by a CPU2 is within the upper and lower address ranges set by dip switches 8A and 8B. Thus an address bus 4 of the CPU2 is monitored by the circuit 5 and at the same time high-speed and low-speed clocks are produced from a clock generating circuit 6 according to the monitor result. In other words, a switch circuit 7 which switches the output of the circuit 6 is controlled by the output of the circuit 5. Then the speed of the clock supplied to the CPU2 is reduced while the CPU2 is executing a program of a low priority like a case where the CPU2 is executing an idle routine. This can reduce the variations of the circuit state as well as the power consumption.

Description

【発明の詳細な説明】 (技術分野) 本発明は、CPU及びその周辺回路部で構成されたマイ
クロコンピュータシステムに関するものである。
DETAILED DESCRIPTION OF THE INVENTION (Technical Field) The present invention relates to a microcomputer system comprised of a CPU and its peripheral circuitry.

(背景技術) 一般のマイクロコンピュータシステムでハ通常、その周
辺回路をTTLで構成しているが、低消費電力化を達成
するためには、CPUを含めてその周辺回路をCM′0
8−ICで構成するととが良−く行なわれている。この
ようなCMO8・ICを使用した場合、その特徴として
電圧駆動であることから、ある状態を維持するのにはほ
とんど電力を消費せず、低消費電力化の目的を良く達成
することができるのであるが、反面、回路内部の状態が
変化する場合には割合大きな電力を消費する問題がある
(Background Art) In a general microcomputer system, its peripheral circuits are usually configured with TTL, but in order to achieve low power consumption, the peripheral circuits including the CPU must be configured with CM'0.
8-IC is commonly used. When such a CMO8 IC is used, since it is voltage-driven, it consumes almost no power to maintain a certain state, and the goal of reducing power consumption can be effectively achieved. However, on the other hand, there is a problem in that a relatively large amount of power is consumed when the internal state of the circuit changes.

一方こノヨウナ従来のマイクロコンピュータシステムに
おいては、第1図に示すように、通常数MHzから早い
場合にけIOMHz程度のクロックをり0ツクジエネレ
・−タ(1)で発生し、このり0ツクジエネレータll
)の出力をCP U 121に供給し、このCP U 
f21の・データバス(3)やアトレオバス(4)を図
外の周辺回路部に結合するように構成している。このよ
うにCP U (21の入カクDツクが高速であること
からCP U (21の動作速度が速く、回路内部にお
ける状IΩ変化が類繁に行なわれることになるため、せ
つか<CMO5−ICを使用して回路を構成したとして
も、十分な低消費電力化を達成できない問題があった。
On the other hand, in a conventional microcomputer system, as shown in Fig. 1, a clock of about IOMHz is normally generated from a few MHz to IOMHz in the case of a fast clock.
) is supplied to the CPU 121, and this CPU
The data bus (3) and atreo bus (4) of f21 are configured to be coupled to a peripheral circuit section (not shown). In this way, since the input clock of the CPU (21) is fast, the operating speed of the CPU (21) is fast, and the state IΩ changes inside the circuit occurs frequently. Even if a circuit was constructed using the above, there was a problem in that it was not possible to achieve a sufficiently low power consumption.

(発り1の目的) 本発明は、CPUが優先度の低いプログラムを実行中、
例えばシステムが何もしていないときのアイドルルーチ
ンを実行中に、CPUに与えるりθツクの速度を低速に
することにより、CΔ■O8・ICで構成されたシステ
ム内部の回路状態の変化を少なくし、もって低消費電力
化を達成するようにしたマイクロコンピュータシステム
を提供することを目的とするものである。
(Purpose of Starting Point 1) The present invention provides a system for the purpose of
For example, by slowing down the speed of the θ torque applied to the CPU while executing an idle routine when the system is not doing anything, changes in the circuit state inside the system composed of CΔ■O8 ICs can be reduced. The object of the present invention is to provide a microcomputer system that achieves low power consumption.

(発明の開示) (実施例1) 第2図に示す本発明の実施例1は、CPU(21のアト
しスバス(4)をアドレス監視回路(5)で監視すると
ともに、高速及び低速の2種のクロックを発生するりD
ツク発生回路(6)を設け、上記、アドレス監視回路(
6)の出力でりDツク発生回路(6)出力を切替える切
替間1i’J[71を制御することにより”、アイドル
ルーチン実行中のようにCP U (21が優先度が低
いプログラムを実行中には、CPU(2)K入力するク
ロックを低速にするようにしたものである。アドレス監
視回路(5)は、夫々アドレス上限値及び下限値を設定
するデイッづスイッチ(8A)(8B)と、これらディ
ップスイッチ(8’A)(8B)の出力を夫々一方の入
力としてアドレスバス(4)上のアドレス値と比較する
コンパレ〜り(9A)(9B)S及びこれら両コンパし
一タ(9A)(9B)から出力を生じているときにのみ
出力を生じるアンドゲート(10)から構成されており
、アドレスバス(4)上の現在CP U [21が実行
中のアドレスが、両ディップスイッチ(8A)(8B)
で設定された上限及び下限のアドレス範囲内にあるとき
、CPU(2)がアイドルルーチンのような優先度の低
いづ0ジラムを実行中であることを判別し、アンドゲー
ト(10)に出力を生じるものである。次にりDツク発
生回路(6)は、前記従来例と同様のりDツクジェネレ
ータ(1)の出力をそのまま出力する他、このクロック
ジェネレータtl)の出力をカウンタ(川で分周して低
速度のりDツクを出力するように構成されており、この
クロック発生回路(6)の両出力は切替間btd7)に
人力される。9+替回路(7)はゲート回路θ匂03)
、!−インバータ(14)とにより構成され、前記アン
ドゲート[1(llに出力を生じているとき、即ちCP
 U (2+が優先度の低いプログラムを実行中に、C
PU(21にカウンタ(用出力の低速のりDツクを入力
し、CPU(2)を低速で作動させるものであり、それ
以外の場合dり0ツクジエネレータit)の出力をぞの
ま”! CP [1t2)に入力し、CP U t2)
は通常の動作速度で動作する。
(Disclosure of the Invention) (Embodiment 1) Embodiment 1 of the present invention shown in FIG. Generate a seed clock
A check generation circuit (6) is provided, and the address monitoring circuit (6) described above is provided.
By controlling the switching interval 1i'J[71 that switches the output of 6), the CPU (21 is running a program with a low priority) as if it were running an idle routine. In this case, the clock input to the CPU (2) K is slowed down.The address monitoring circuit (5) includes DZ switches (8A) and (8B) for setting the upper and lower limit values of the address, respectively. , comparators (9A), (9B) and S that compare the outputs of these dip switches (8'A) and (8B) with the address value on the address bus (4), respectively, and a comparator for both of them ( It consists of an AND gate (10) that produces an output only when an output is produced from 9A) (9B), and the address currently being executed by the CPU [21] on the address bus (4) is connected to both DIP switches. (8A) (8B)
When the address is within the upper and lower limit address range set in It is something that occurs. Next, the D-tock generation circuit (6) not only directly outputs the output of the D-tock generator (1) as in the conventional example, but also divides the output of this clock generator (tl) by a counter (river) to generate a low-speed clock. Both outputs of this clock generation circuit (6) are input to the switching interval btd7). 9+ replacement circuit (7) is gate circuit θ 03)
,! - an inverter (14);
U (While 2+ is running a program with low priority, C
The output of the PU (21 is input to the counter (low speed output), and the CPU (2) is operated at low speed; otherwise, the output of the d 0 output is input to the generator it). CP [ 1t2) and CPU t2)
operates at normal operating speed.

ここでアイドルルーチンについて説qする(+:、通常
コンピュータシステムのプログラムは、何らかの人力に
対して一連の作業をするように作られているのであるが
、何の入力もない場合例は、アイドルルーチンとして「
何もしない」というf。
Here, I will explain idle routines (+:, Normally, computer system programs are created to perform a series of tasks using some kind of human power, but for example, when there is no input, idle routines are as “
f. “I don’t do anything.”

クラムを実行しているようになっている。ところがこの
ようなアイドルルーチンの実行中においても、CPU(
21自体はこのアイドルルーチンによるづロクラム動作
を実行しているのであるから、何らかの実際上の処理動
作をしているときと同じ電力を消費している。零発明け
このアイドルルーチンのような優先度の低い′)0ジラ
ムを実行しているとき、通常時と同様の電力消費をさせ
ることは無駄であるだめ、クロックの速度を低減し、C
PU(2)の処理動作速度を遅くすることにより、消費
電力を低減したものである。
It looks like you are running Crum. However, even during the execution of such an idle routine, the CPU (
Since the 21 itself is performing a block operation based on this idle routine, it consumes the same amount of power as when it is performing some actual processing operation. When running low-priority idle routines like this idle routine, it is wasteful to consume the same amount of power as normal, so we reduce the clock speed and
Power consumption is reduced by slowing down the processing speed of the PU (2).

(実施例2) 第3図は本発明の実施例2を示し、前述の実施例1のも
のが、ディップスイッチ(8A)(8B)によシアイド
ルルーチンのような優先度の低い″jOシラ乙のアドレ
ス範囲を予め設定しておき、アドレスバス(4)上のア
ドレスがこのアドレス範囲内に入ったとき、CPU(2
+に入力するりDツクの速度を低減するようにしていた
のに対し、この実施例2のものにあっては、CPU(2
)のづOクラム動作そのものにより、アイドルルーチン
のような優先度の低いプOジラム範囲を設定し、このづ
ロジラム範囲のづ0ジラム動作をCP U f2+が行
うとき、CPU(21に入力するり0ツクを低減するよ
うにしたものである。しかして第3図に示す実施例2の
回W、にあっては、データバス(3)及びアドレスバス
(4)に結合されしかもCP U f21からWT倍信
号入力するI10ポート(15)を設け、上述の動作を
実現するようにしたものであり、結局アイドルルーチン
のような優先度の低い処理に入る直前に、CPU(21
自体のづロジラム動作でり0ツク切替信号を出し、この
処理が終る直前にこのり0ツク切替信号をなくすように
動作するものである。
(Embodiment 2) FIG. 3 shows Embodiment 2 of the present invention, in which the above-mentioned Embodiment 1 is replaced with a low-priority "jO sill" such as an idle routine when dip switches (8A) and (8B) are used. The address range of Party B is set in advance, and when the address on the address bus (4) falls within this address range, the CPU (2)
In contrast, in this second embodiment, the CPU (2
) NozuOjiram operation itself sets a programmable range with a low priority such as an idle routine, and when the CPU f2+ performs a zero programmation operation of the Konozurojiram range, it is input to the CPU (21). However, in the circuit W of the second embodiment shown in FIG. An I10 port (15) is provided to input the WT multiplier signal to realize the above operation.
The logic ram itself outputs a 0-switching signal, and immediately before this process ends, it operates to eliminate the 0-switching signal.

(実施例3) 第4図は不発り]の実施例3を示し、前述の実施例2の
ものにおいて、CPUf21に割込みが行なわれたとき
、この割込信号入力時から一定時間だけは、例えそのと
きが低速り0ツクの入力状態時であっても、り0ツクを
高速側に切替えるようにしたものである。しかしてこの
第4図回路において、CPU[2+に割込みが行なわれ
ると、このCPU(2)から出力される割込応答信号は
1ショット回路(+匂に入力されてその出力を所定時開
だけ%L“にする。このため仮にI10ボート(国の゛
出力がttH”で切替回路(7)を低速側に切替えてい
る場合にも、アンドゲート07)の出力は」1記1シ3
ット回路θ6)の出力が−L“の間だけ1L”となり、
従ってこの間だけはCP U f21に高速のり0ツク
が入力し、割込処理が高速度で行なわれることになるも
のである。
(Embodiment 3) FIG. 4 shows a third embodiment in which no occurrence occurred. In the above-mentioned embodiment 2, when an interrupt is made to CPUf21, for a certain period of time from the time when this interrupt signal is input, for example, Even if the input state is low speed and low speed, the low speed is switched to the high speed side. However, in the circuit shown in FIG. 4, when an interrupt is made to the CPU [2+], the interrupt response signal output from the CPU (2) is input to the one-shot circuit (+) and its output is opened only at a predetermined time. %L".For this reason, even if the I10 boat (the national output is ttH) and the switching circuit (7) is switched to the low speed side, the output of the AND gate 07 will be "1, 1, 3.
The output of the cut circuit θ6) becomes 1L only during -L“,
Therefore, only during this time, a high-speed signal is input to the CPU f21, and interrupt processing is performed at high speed.

(発明の効果) 本発明は上述のように、CPU及びその周辺回路をCM
O5−I Cで構成したマイクロコンピュータシステム
において、優先度の低いプロクラムの実行中にはCPU
に入力するりDツクを低速度のり0ツクとしてCPUの
動作処理速度を遅くしたもので、あるから、優先度の低
いづ0ジラムの実行中におけるシステム内回路の回路状
態の変化が少なくなり、低消費電力化を達成できる効果
を有するものである。
(Effects of the Invention) As described above, the present invention enables the CPU and its peripheral circuits to be CM
In a microcomputer system configured with O5-IC, the CPU is
The CPU's operation processing speed is slowed down by inputting D-tsku to low-speed 0-tsuku, which reduces the changes in the circuit state of the circuits in the system during execution of low-priority z0jiram. This has the effect of achieving lower power consumption.

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

第1図は従来例のづ0ツク図、第2図は本発明の実施例
1のブロック図、第3図は同上の実施例2のブロック図
、第4図は同上の実施例3のブロック図であり、(2)
はCPU1+41はアドレスバスである。 代理人 弁理士 石 1)長 七
Fig. 1 is a block diagram of the conventional example, Fig. 2 is a block diagram of Embodiment 1 of the present invention, Fig. 3 is a block diagram of Embodiment 2 of the above, and Fig. 4 is a block diagram of Embodiment 3 of the same. (2)
CPU1+41 is an address bus. Agent Patent Attorney Ishi 1) Choshichi

Claims (1)

【特許請求の範囲】[Claims] fl) CP U及びその周辺回路部をCMO8−IC
で構成したマイクロコンピュータシステムにおいて、C
PUのアドレスバスを監視してこ1cpuが実行中のプ
ロクラムの優先度を判別する手段と、高速及び低速のり
D”9りを発生するクロック発、土手段とを具備し、優
先度の低いつ6グラムの実行中には低速のり0ツクでC
PUを作動するようにして成ることを特徴さするマイク
ロコンピュータシステム。
fl) CPU and its peripheral circuitry are CMO8-IC
In a microcomputer system configured with C
It is equipped with a means for monitoring the address bus of the PU and determining the priority of the program being executed by the 1 CPU, and a means for generating a clock that generates high-speed and low-speed signals. While running the program, press C at low speed.
A microcomputer system characterized by operating a PU.
JP59005101A 1984-01-13 1984-01-13 Microcomputer system Pending JPS60150137A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP59005101A JPS60150137A (en) 1984-01-13 1984-01-13 Microcomputer system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP59005101A JPS60150137A (en) 1984-01-13 1984-01-13 Microcomputer system

Publications (1)

Publication Number Publication Date
JPS60150137A true JPS60150137A (en) 1985-08-07

Family

ID=11601977

Family Applications (1)

Application Number Title Priority Date Filing Date
JP59005101A Pending JPS60150137A (en) 1984-01-13 1984-01-13 Microcomputer system

Country Status (1)

Country Link
JP (1) JPS60150137A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH023809A (en) * 1988-06-21 1990-01-09 Canon Inc Computer equipment
JPH0243609A (en) * 1988-08-04 1990-02-14 Nec Corp Clock control system
JPH03291712A (en) * 1990-04-09 1991-12-20 Sharp Corp Computer
EP0565319A1 (en) * 1992-04-02 1993-10-13 Dia Semicon Systems Incorporated Power saving control system for computer system with feature of selective initiation of power saving control
EP0566395A1 (en) * 1992-04-16 1993-10-20 Dia Semicon Systems Incorporated Drive control system for microprocessor with conditional power saving
JPH0816389A (en) * 1994-06-28 1996-01-19 Nec Corp Arithmetic processor
US5585750A (en) * 1994-06-07 1996-12-17 Hitachi, Ltd. Logic LSI

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH023809A (en) * 1988-06-21 1990-01-09 Canon Inc Computer equipment
JPH0243609A (en) * 1988-08-04 1990-02-14 Nec Corp Clock control system
JPH03291712A (en) * 1990-04-09 1991-12-20 Sharp Corp Computer
EP0565319A1 (en) * 1992-04-02 1993-10-13 Dia Semicon Systems Incorporated Power saving control system for computer system with feature of selective initiation of power saving control
EP0566395A1 (en) * 1992-04-16 1993-10-20 Dia Semicon Systems Incorporated Drive control system for microprocessor with conditional power saving
US5585750A (en) * 1994-06-07 1996-12-17 Hitachi, Ltd. Logic LSI
JPH0816389A (en) * 1994-06-28 1996-01-19 Nec Corp Arithmetic processor

Similar Documents

Publication Publication Date Title
US5025387A (en) Power saving arrangement for a clocked digital circuit
EP0242010B1 (en) Clock circuit for a data processor
US5086387A (en) Multi-frequency clock generation with low state coincidence upon latching
US6397338B2 (en) Power management circuit that qualifies powergood disposal signal
US11558055B2 (en) Clock-gating synchronization circuit and method of clock-gating synchronization
US6269043B1 (en) Power conservation system employing a snooze mode
US6275842B1 (en) Low power multiplier for CPU and DSP
JPS60150137A (en) Microcomputer system
JPH07281782A (en) Clock control circuit
JPS5890226A (en) Synchronous data processor
US5793317A (en) Low power approach to state sequencing and sequential memory addressing in electronic systems
JPH0282306A (en) Power saving device for clock type digital circuit
US5848267A (en) Computer system speed control using memory refresh counter
JP2000039930A (en) Low power consumption system for electronic equipment
KR100272531B1 (en) Method for prohibitting exhaust of power source in electronic equipment
JPS58115513A (en) Frequency variable microcomputer
JPH0682310B2 (en) Operation frequency switching control circuit for arithmetic unit
JPH08272479A (en) Variable clock generation device
GB2304427A (en) Dynamic clock rate control
KR960014157B1 (en) Apparatus for power saving and method in.p.c.
JPH03228109A (en) Electronic device
KR100213801B1 (en) Interrupt generating circuit
KR20000002638A (en) Semiconductor integrated circuit with processor embedded
JPH025133A (en) Variable operation speed type computer system
JPH05324867A (en) Microcomputer