JPS61136115A - Basic clock generating circuit of microcomputer system - Google Patents

Basic clock generating circuit of microcomputer system

Info

Publication number
JPS61136115A
JPS61136115A JP59258976A JP25897684A JPS61136115A JP S61136115 A JPS61136115 A JP S61136115A JP 59258976 A JP59258976 A JP 59258976A JP 25897684 A JP25897684 A JP 25897684A JP S61136115 A JPS61136115 A JP S61136115A
Authority
JP
Japan
Prior art keywords
clock
signal
basic clock
microprocessor
instruction
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
JP59258976A
Other languages
Japanese (ja)
Inventor
Kunihiko Sakurai
桜井 邦彦
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 JP59258976A priority Critical patent/JPS61136115A/en
Publication of JPS61136115A publication Critical patent/JPS61136115A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To decrease the power consumption of a system where plural processing programs are carried out just with a single microprocessor, by securing an automatic switch to a basic clock which is slow enough to satisfy the requested performance when a processing program which suffices for a low speed is carried out. CONSTITUTION:A clock signal e0 on a signal line 10 produced from a clock oscillation circuit 4 is supplied to a dividing circuit 5. Then clock signals e1-en of (n) types of frequencies (n: integer) are delivered from the circuit 5. The signal e1 has the highest speed for actuation of this microcomputer system; while the signal e- has the lowest speed. When an instruction is delivered from a microprocessor 1, the state of this instruction is set to a clock selection register 7 by a data bus signal (a) on a signal line 14 and a clock selection register set instruction signal (g) on a signal line 13 decoded by an instruction decoder 8.

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明は、マイクロコンピュータシステムに使用される
基本クロック発生回路に閏する。
DETAILED DESCRIPTION OF THE INVENTION (Field of Industrial Application) The present invention relates to a basic clock generation circuit used in a microcomputer system.

(従来の技術) 同一のDo 路構D2のマイクロコンピュータシステム
における消*M、力は、一般にマイクロプロセサの命令
サイクルが短かくなるほど、すなわち高速動作となるほ
ど増加する。命令サイクルは、マイクロプロセサに与え
られる基本クロックサイクルに比例する。この傾向は、
ダイナミックB、 A Mや0M0SロジツクICなど
の使用が多くなっている現在では、より顕著になってい
る。マイクロコンピュータシステムの基本クロックは、
使用するマイクロプロセサの規格、メモリのアクセス時
間、あるいは周辺回路の動作規格などのいろいろな制限
内で可能な限り速くなるような値を選ぶのが一般的であ
る。そのシステムに要求される種々の処理のなかで、高
速性が要求される処理では、処理時間の短かさが高性能
さを決定する要因となる。
(Prior Art) In general, the power in a microcomputer system with the same Do path structure D2 increases as the instruction cycle of the microprocessor becomes shorter, that is, as the operation speed increases. Instruction cycles are proportional to the basic clock cycles presented to the microprocessor. This trend is
This is becoming more prominent now that dynamic B, AM and 0M0S logic ICs are being used more and more. The basic clock of a microcomputer system is
It is common to choose values that will be as fast as possible within various limitations such as the microprocessor standard, memory access time, and peripheral circuit operating standards. Among the various types of processing required of the system, in processing that requires high speed, short processing time is a factor that determines high performance.

同じシステムにおいても、高速性が要求されない処理の
実行も存在するのが普通である。その時には、それに見
合った基本クロックサイクルで動作させることができれ
ば、上記システムの消費電力を減らすことができるわ叶
である。
Even in the same system, there are usually processes that do not require high speed. At that time, it would be possible to reduce the power consumption of the above system if it could be operated at a basic clock cycle commensurate with that.

斯かる従来のマイクロコンピュータシステムには、例ズ
げマイクロプロセサ1と、メモリおよび入出力デバイス
2と、イニシャルリセット発生回路3と、クロック発生
回路4とにより構成したものである。
Such a conventional microcomputer system includes a typical microprocessor 1, a memory and input/output device 2, an initial reset generation circuit 3, and a clock generation circuit 4.

(発明が解決しようとする問題点) しかし、上記のような従来のマイクロコンピュータシス
テムでは基本クロックを切替える手段を有するものはき
わめて少なく、また斯かる手段を有していてもスイッチ
などによ)マイクロプロセサの動作を停止させて指定す
る方法が採用され、動作実行中に切替わるものではない
と云う欠点があった。
(Problem to be Solved by the Invention) However, very few of the conventional microcomputer systems as described above have a means for switching the basic clock, and even if such a means is provided, it is not possible to switch the basic clock (using a switch, etc.). The disadvantage is that a method is adopted in which the operation of the processor is stopped and specified, and the change cannot be made while the operation is being executed.

本発明の目的は、ひとつのマイクロプロセサで複数の処
理プログラムが実行されるシステムにおいて、低速処匪
でよい処理プログラムの実行中には、その要求性卵を満
足するのに必要、且つ、十分な遅い基本クロックに自動
的に切替えることにより上記欠点を除去し、高速性を要
する処理プログラムの処理時間を遅らさず、システム全
体の消費電力を低減できるように構成し六マイクロコン
ピュータシステムノ基本クロック発生回路を提供するこ
とにある。
An object of the present invention is to provide a system in which a plurality of processing programs are executed by a single microprocessor, and to perform processing that is necessary and sufficient to satisfy the requirements during the execution of a processing program that requires low speed processing. The six microcomputer system basic clocks are configured to eliminate the above drawbacks by automatically switching to a slower basic clock, do not delay the processing time of processing programs that require high speed, and reduce the power consumption of the entire system. The purpose is to provide a generating circuit.

(問題点を解決するための手0段) 本発明によるマイクロコンピュータシステムの基本クロ
ック発生回路は、マイクロプロセサに入力される基本ク
ロックによってマイクロプロセサの命令サイクル時間が
決定されるようなマイクロコンピュータシステムにおけ
るもので、クロック発振手段と、クロックセレクト手段
と、上記マイクロプロセサを含む処理手段とを具備して
構成したものである。
(No Means for Solving the Problems) A basic clock generation circuit for a microcomputer system according to the present invention is applicable to a microcomputer system in which the instruction cycle time of the microprocessor is determined by the basic clock input to the microprocessor. The device is configured to include clock oscillation means, clock selection means, and processing means including the above-mentioned microprocessor.

クロック発振手段は、基本クロックとして使用可卵な周
波数の鼻なる複数のクロックを発生するためのものであ
る。
The clock oscillation means is for generating a plurality of clocks having different frequencies that can be used as basic clocks.

クロックセレクト手段は、特定の命令を実行することに
より複数のクロックのうちの任意のひとつのクロックを
基本クロックとして選択するためのものである。
The clock selection means is for selecting any one of the plurality of clocks as a basic clock by executing a specific instruction.

処理手段はマイクロプロセサを含むものであって、割込
み要求を受付けた時に割込みアクノレッジ信号を送出し
て複数のクロックのうちの最も周波数の高いクロックを
基本クロックとして逼折するためのものである。
The processing means includes a microprocessor, and when an interrupt request is received, it sends out an interrupt acknowledge signal and uses the clock with the highest frequency among the plurality of clocks as the basic clock.

(実 施 例) 次に、本発明について図面を参照して詳細に説明する。(Example) Next, the present invention will be explained in detail with reference to the drawings.

第1図は、本発明によるマイクロコンピュータシステム
の基本クロック発生回路を適用したマイクロコンピュー
タシステムの実施例’k 示tブロック図である。、第
1図において、1〜4は第3図におけるものと同様な要
素でめり、5は分周回路、6けクロックセレクト回路、
7はクロックセレクトレジスタ回路、8は命令デコーダ
、9は割込みアクノレッジ検出回路である。
FIG. 1 is a block diagram showing an embodiment of a microcomputer system to which a basic clock generation circuit for a microcomputer system according to the present invention is applied. , in FIG. 1, 1 to 4 are the same elements as in FIG. 3, and 5 is a frequency divider circuit, a 6-digit clock select circuit,
7 is a clock select register circuit, 8 is an instruction decoder, and 9 is an interrupt acknowledge detection circuit.

第1図において、クロック発振回路4で発生した信号線
10上のクロック信丑C6は分周回路5に入力され、n
 fiII類(n:正整数)の晋波数のクロック信号e
l−enが分晋回路5より出力される。クロック償−’
j+ e Lはこのマイクロコンピュータシステムが動
作する最も速い基本り℃ツク、クロック信号enは最も
遅い基本クロックである。マイクロプロセサ1からクロ
ック信号e1〜enのうちの任意のひとつを選択するた
めの命令が出力されると、命令デコーダ8で解読された
信号線13上のクロックセレクトレジスタセット命令信
号gと信号線14上のデータバス信号aとによってクロ
ックセレクトレジスタ7にはマイクロプロセサ1から出
力された命令の状態が七ッ卜される。
In FIG. 1, the clock signal C6 on the signal line 10 generated by the clock oscillation circuit 4 is input to the frequency dividing circuit 5, and
Clock signal e of Shinbo number of fiII class (n: positive integer)
l-en is output from the divider circuit 5. Clock compensation-'
j+eL is the fastest basic clock with which this microcomputer system operates, and clock signal en is the slowest basic clock. When the microprocessor 1 outputs an instruction to select any one of the clock signals e1 to en, the instruction decoder 8 decodes the clock select register set instruction signal g on the signal line 13 and the signal line 14. The state of the instruction output from the microprocessor 1 is stored in the clock select register 7 by the above data bus signal a.

また、マイクロプロセサ1が割込み要求を受付けたこと
を示す信号Cがコントロールバス信量線17上に出力さ
れると、割込みアクルッジ検出回路9で劉込みアクノレ
ッジ信号りが信号線14上で検出される。割込みアクノ
レッジ信号りが出力された場合、あるいはイニシャルリ
セット信号dが出力された場合には、クロックセレクト
レジスタ7はクロックe1を選択するような状態にセッ
トされる。クロックセレクトレジスタ7にセットされた
クロックセレクト状態信号fl−f口は、クロックセレ
クト信号線に出力される。すhわち、クロックを選択す
る命令によってはfl−f、の任意のひとつがアクティ
ブとなり、割込みを受付けた時、およびイニシャルリセ
ットされ走時には、flがアクティブとなる。アクティ
ブとなったクロックセレクト信号によってクロックel
 −enのひとつがクロックセレクト回路6で選択され
、基本クロックeとして信号線12上に出力される。こ
の基本クロックeKよってマイクロプロセサ1が動作す
る。
Further, when a signal C indicating that the microprocessor 1 has accepted an interrupt request is output onto the control bus signal line 17, the interrupt acknowledge signal is detected on the signal line 14 by the interrupt acknowledge detection circuit 9. . When the interrupt acknowledge signal is output or when the initial reset signal d is output, the clock select register 7 is set to select the clock e1. The clock select state signal fl-f set in the clock select register 7 is output to the clock select signal line. That is, any one of fl-f becomes active depending on the instruction for selecting the clock, and fl becomes active when an interrupt is accepted and when running after initial reset. The clock el is activated by the active clock select signal.
-en is selected by the clock select circuit 6 and output onto the signal line 12 as the basic clock e. The microprocessor 1 operates according to this basic clock eK.

#′2図は、第1図の実施例における基本クロック発生
のタイミングを示す説明図である。第2図は、第1図に
示すクロックe1〜e、がel。
FIG. #'2 is an explanatory diagram showing the timing of basic clock generation in the embodiment of FIG. 1. In FIG. 2, the clocks e1 to e shown in FIG. 1 are el.

e2 + e3のn=3の例であり、クロックセレクト
信号f3によってクロックe3が基本クロックeとして
動作している状態から、クロックセレクト信号f!によ
ってクロックe1が基本クロックe1 となるタイミン
グを示している。
This is an example where n=3 of e2 + e3, and from a state where clock e3 is operating as the basic clock e due to clock select signal f3, clock select signal f! shows the timing at which the clock e1 becomes the basic clock e1.

(発明の効果) 以上説明したように本発明によれば、ひとつのマイクロ
プロセサで複数の処理プログラムが実行されるシステム
において、低速処理でよい処理プログラムの実行時には
、その要求性能を満足するのに必要、且つ、十分な遅い
基本クロックに自動的に切替えることにより、実行され
る処理プログラムの要求処理速度に対応して、マイクロ
コンピュータシステムの動作を停止すせる必要がなく、
マイクロプロセサに入力され        する基本
クロックの周波数をプログラムてよって選択することが
でき、低速動作時に消費電力を低減することができると
云う効果がある。
(Effects of the Invention) As explained above, according to the present invention, in a system in which a plurality of processing programs are executed by one microprocessor, when executing a processing program that requires low-speed processing, the required performance can be satisfied. By automatically switching to a necessary and sufficiently slow basic clock, there is no need to stop the operation of the microcomputer system in response to the required processing speed of the processing program to be executed.
The frequency of the basic clock input to the microprocessor can be selected by programming, which has the effect of reducing power consumption during low-speed operation.

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

第1図は、本発明によるマイクロコンビエータシステム
の基本クロック発生回路を適用したマイクロコンピュー
タシステムの実施例を示スブロック図である。 第2図は、第1図における基本クロック発生のタイミン
グの実例を示す説明図である。 第3図は、従来技術による一般的々マイクロコンピュー
タシステムの実例を示すブロック図である。 1・・・マイクロプロセサ 2・・・メモリおよび入出力デバイス 3・・・イニシャルリセット発生回路 4・・・クロック発振回路  5・・・分周回路6・・
・クロックセレクト回路 7・・・クロックセレクトレジスタ 8・・・命令デコーダ 9・・・割込みアクルッジ検出回路 lO〜17・・・信号線
FIG. 1 is a block diagram showing an embodiment of a microcomputer system to which a basic clock generation circuit of a micro combinator system according to the present invention is applied. FIG. 2 is an explanatory diagram showing an example of the timing of basic clock generation in FIG. 1. FIG. 3 is a block diagram illustrating an example of a typical microcomputer system according to the prior art. 1... Microprocessor 2... Memory and input/output device 3... Initial reset generation circuit 4... Clock oscillation circuit 5... Frequency divider circuit 6...
・Clock select circuit 7...Clock select register 8...Instruction decoder 9...Interrupt accrual detection circuit lO~17...Signal line

Claims (1)

【特許請求の範囲】[Claims] マイクロプロセサに入力される基本クロックによつて前
記マイクロプロセサの命令サイクル時間が決定されるよ
うなマイクロコンピュータシステムの基本クロック発生
回路において、基本クロックとして使用可能な周波数の
異なる複数のクロックを発生するためのクロック発振手
段と、特定の命令を実行することにより前記複数のクロ
ックのうちの任意のひとつのクロックを基本クロックと
して選択するためのクロックセレクト手段と、割込み要
求を受付けた時に割込みアクノレッジ信号を送出して複
数のクロックのうちの最も周波数の高いクロックを基本
クロックとして選択するための前記マイクロプロセサを
含む処理手段とを具備して構成したことを特徴とするマ
イクロコンピュータシステムの基本クロック発生回路。
To generate a plurality of clocks with different frequencies usable as the basic clock in a basic clock generation circuit of a microcomputer system in which the instruction cycle time of the microprocessor is determined by the basic clock input to the microprocessor. clock oscillation means, clock selection means for selecting any one of the plurality of clocks as a basic clock by executing a specific instruction, and sending out an interrupt acknowledge signal when an interrupt request is accepted. 1. A basic clock generating circuit for a microcomputer system, comprising processing means including the microprocessor for selecting the clock with the highest frequency among a plurality of clocks as the basic clock.
JP59258976A 1984-12-07 1984-12-07 Basic clock generating circuit of microcomputer system Pending JPS61136115A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP59258976A JPS61136115A (en) 1984-12-07 1984-12-07 Basic clock generating circuit of microcomputer system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP59258976A JPS61136115A (en) 1984-12-07 1984-12-07 Basic clock generating circuit of microcomputer system

Publications (1)

Publication Number Publication Date
JPS61136115A true JPS61136115A (en) 1986-06-24

Family

ID=17327627

Family Applications (1)

Application Number Title Priority Date Filing Date
JP59258976A Pending JPS61136115A (en) 1984-12-07 1984-12-07 Basic clock generating circuit of microcomputer system

Country Status (1)

Country Link
JP (1) JPS61136115A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02242410A (en) * 1989-03-16 1990-09-26 Sanyo Electric Co Ltd Frequency division circuit
JPH0358207A (en) * 1989-07-27 1991-03-13 Nec Corp Microcomputer

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02242410A (en) * 1989-03-16 1990-09-26 Sanyo Electric Co Ltd Frequency division circuit
JPH0358207A (en) * 1989-07-27 1991-03-13 Nec Corp Microcomputer

Similar Documents

Publication Publication Date Title
KR950005217B1 (en) Clock signal control method and data processing system
US4090238A (en) Priority vectored interrupt using direct memory access
JPH07104842B2 (en) External storage interrupt control method
JPH02156334A (en) Information processor
JPS61136115A (en) Basic clock generating circuit of microcomputer system
JPS638493B2 (en)
JPH0573296A (en) Microcomputer
JPS62156738A (en) Program controller
JPS6230452B2 (en)
JPS6352241A (en) Microprocessor
JPH04192037A (en) Semiconductor integrated circuit
JPS60105048A (en) Microprogram control system
JPH0580089A (en) Timer device
JPS61187044A (en) Information processor
JPH04140810A (en) Information processor
JPS6250941A (en) Micro computer device
JPS6225358A (en) Varying device for interruption request level
JPH02252047A (en) Microprocessor
JPH0235552A (en) Interruption control circuit
EP0266799A2 (en) Single chip microcomputer having multi-timer function
JPS63269231A (en) Interruption priority control system
JPH0740213B2 (en) Computer system
JPH01189749A (en) Interruption control method
JPH0675765A (en) Processing speed controller
JPS63129426A (en) Timer module for data flow type computer