JPH0498558A - Microcomputer - Google Patents

Microcomputer

Info

Publication number
JPH0498558A
JPH0498558A JP2216810A JP21681090A JPH0498558A JP H0498558 A JPH0498558 A JP H0498558A JP 2216810 A JP2216810 A JP 2216810A JP 21681090 A JP21681090 A JP 21681090A JP H0498558 A JPH0498558 A JP H0498558A
Authority
JP
Japan
Prior art keywords
clock
cycle
cpu
frequency
data
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
JP2216810A
Other languages
Japanese (ja)
Inventor
Hirokazu Tsukamoto
塚本 宏和
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 JP2216810A priority Critical patent/JPH0498558A/en
Publication of JPH0498558A publication Critical patent/JPH0498558A/en
Pending legal-status Critical Current

Links

Landscapes

  • Microcomputers (AREA)
  • Information Transfer Systems (AREA)

Abstract

PURPOSE:To improve the control efficiency of an external memory, an external I/O, etc., by adjusting the control time width of the bus cycle of a microcomputer for integral fraction of CPU operating cycle time. CONSTITUTION:A clock source signal CF of double as high as the frequency of a CPU operating clock is inputted to a clock unit CKU 4 from an external clock frequency source. The signal CF is shaped into a desired clock waveform by a clock generator CG 41. The frequency of the shaped signal CF is halved by a half frequency divider 42, i.e., the cycle of the signal CF is doubled. This signal CF is supplied as an operating clock of an EXU 1. Furthermore the output signals of the divider 42 are partly inputted to a double multiplier 43 with the double frequency, i.e., the half frequency. These multiplied signals are supplied as the operating clocks of a BCU 2 and an interface 3. Therefore the BCU 2 works in a half unit of the CPU operating clock. At the same time, the interface 3 holds the data in a half clock unit.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明はマイクロコンピュータに関し、特に同期方式の
バス制御方式のマイクロコンピュータに関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a microcomputer, and particularly to a synchronous bus control microcomputer.

〔従来の技術〕[Conventional technology]

従来のマイクロコンピュータでは、命令のフェッチ、デ
ータのリードライトなど、外部メモリ、外部I10を制
御するバスコントロールユニット(BCU)の動作は、
CPUの1クロツクを動作単位とし、内部演算ユニット
と完全に同期していた。
In conventional microcomputers, the operations of the bus control unit (BCU) that controls external memory and external I10, such as fetching instructions and reading/writing data, are as follows:
The unit of operation was one CPU clock, and it was completely synchronized with the internal processing unit.

そのため、CPUバスサイクルより遅い外部メモリや、
外部I10を制御するためには、1りロック羊位でウェ
イトを挿入し、制御時間を延ばすことによって対応して
いた。
Therefore, external memory that is slower than the CPU bus cycle,
In order to control the external I10, a weight was inserted in the single-lock sheep position and the control time was extended.

従来のマイクロコンピュータの一例を第6図に示す。An example of a conventional microcomputer is shown in FIG.

第6図において、従来のマイクロコンピュータは、内部
演算ユニット(EXU)1と、バスコントロールユニッ
ト(BCU)2と、クロックユニット(CKU)4とか
ら構成されていた。
In FIG. 6, the conventional microcomputer is comprised of an internal arithmetic unit (EXU) 1, a bus control unit (BCU) 2, and a clock unit (CKU) 4.

EXUlは、さらに、算術演算ユニット(ALU)11
と、汎用レジスタ12と、インストラクションデコード
ユニット(IDU)13から構成されていた。
EXUl further includes an arithmetic operation unit (ALU) 11
, a general-purpose register 12 , and an instruction decode unit (IDU) 13 .

BCU2は、さらに、ブリフェッチポインタ(PPP)
21と、ブリフェッチキュー(QUEUE)22から構
成されていた。
BCU2 further includes a brief fetch pointer (PPP)
21 and a brief fetch queue (QUEUE) 22.

CKU4は、さらに、クロックゼネレータ(CG)41
と、二分周回路(1/2DIV)42とから構成されて
いた。
CKU4 further includes a clock generator (CG) 41.
and a frequency divider circuit (1/2DIV) 42.

次に、従来のマイクロコンピュータの動作について説明
する。
Next, the operation of a conventional microcomputer will be explained.

ます、第1に、PPP21か実行すべき命令のアドレス
を発生する。
First, the PPP 21 generates the address of the instruction to be executed.

第2に、PPP21か示す外部メモリのアトしスのデー
タIOを読出し、QUEUE22に一日その命令データ
を格納する。
Second, the data IO of the external memory indicated by the PPP 21 is read out, and the command data is stored in the QUEUE 22 for one day.

第3に、EXUlにおいて、前の命令の実行か終了した
時点で、QUEUE22からIDU13に格納していた
命令データを送る。
Thirdly, in EXU1, when the execution of the previous command is completed, the command data stored in the IDU 13 is sent from the QUEUE 22.

IDU13において、命令データを解釈し、その結果、
たとえば、以下のような命令を実行する。
The IDU 13 interprets the instruction data, and as a result,
For example, execute the following command:

第1に、外部メモリ、外部■/○から、IO倍信号して
、汎用レジスタ12にデータを転送する。
First, data is transferred from the external memory and external ■/○ to the general-purpose register 12 using an IO multiplication signal.

第2に、汎用レジスタ12から、IO倍信号して、外部
メモリ、外部I10にデータを転送する。
Second, the data is transferred from the general-purpose register 12 to the external memory, external I10, using an IO multiplication signal.

第3に、汎用レジスタ12、外部メモリ、外部I10を
ソースデータとして、ALUIIで演算を実行し、演算
算果を汎用レジスタ12、外部メモリ、あるいは、外部
I10のいずれかに書込む。
Third, an operation is executed in ALUII using the general-purpose register 12, external memory, and external I10 as source data, and the result of the operation is written to either the general-purpose register 12, external memory, or external I10.

クロックユニット(CKU)4は、外部のクロック周波
数源よりCPUの動作クロック周波数の2倍のクロック
源信号CFを入力され、クロックゼネレータ(CG)4
1により所要のクロック波形に整形される。
The clock unit (CKU) 4 receives a clock source signal CF that is twice the operating clock frequency of the CPU from an external clock frequency source, and generates a clock generator (CG) 4.
1, the clock waveform is shaped into the required clock waveform.

次に、整形されたクロック源信号は、二分周器42によ
り周波数を半分、すなわち、周期を2倍にしてEXUl
およびBCU2の動作クロックとしてそれぞれに供給し
ていた。
Next, the frequency of the shaped clock source signal is halved by the frequency divider 42, that is, the period is doubled, and the EXU1
and BCU2 as an operating clock.

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

上述した従来のマイクロコンピュータでは、内部演算ユ
ニットとバスコントロールユニットは、共に、CPUの
1クロック単位で動作する。
In the conventional microcomputer described above, both the internal arithmetic unit and the bus control unit operate in units of one clock of the CPU.

したがって、CPUのバスサイクルより遅い外部メモリ
や外部I10を制御するためには、CPUの1クロック
単位でウェイトを挿入し、アクセス時間を延長して対応
する必要があるという欠点があった。
Therefore, in order to control an external memory or an external I10 that is slower than the CPU's bus cycle, there is a drawback that it is necessary to insert a wait in units of one CPU clock and extend the access time.

たとえば、CPUバスサイクルが2クロツクで、ノーウ
ェイトではアクセス時間が若干不足する場合、1ウエイ
トを挿入すると、アクセス時間は3クロツクとなる。バ
ス制御時間はウェイト不゛用の場合と比較して1.5倍
となり、大幅に処理時間が増加するという欠点となった
For example, if the CPU bus cycle is 2 clocks and the access time is slightly insufficient with no wait, if 1 wait is inserted, the access time becomes 3 clocks. The bus control time is 1.5 times that of the case without waits, resulting in a disadvantage that the processing time is significantly increased.

バス制御時間の増加は、当然、CPU全体の処理時間を
増大させるという欠点を生した。
The increase in bus control time naturally has the disadvantage of increasing the overall CPU processing time.

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

本発明のマイクロコンピュータは、CPUクロックと、
バスコントロールユニット動作用の周期が前記CPUク
ロックの周期の整数分の一である整数分の一周期クロッ
クを供給するクロック供給回路を有するものである。
The microcomputer of the present invention includes a CPU clock;
The bus control unit has a clock supply circuit that supplies a one-cycle clock whose cycle is an integer fraction of the CPU clock cycle.

〔実施例〕〔Example〕

次に、本発明について図面を参照して説明する。 Next, the present invention will be explained with reference to the drawings.

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

第1図を参照すると、本発明のマイクロコンピユータは
、前述の従来例と同様の内部演算ユニット(EXU)1
と、ハスコントロールユニツ) (BCU)2と、クロ
ックユニット(CKU)4に加えて、インタフェース3
から構成されている。
Referring to FIG. 1, the microcomputer of the present invention has an internal arithmetic unit (EXU) 1 similar to the conventional example described above.
, hash control unit) (BCU) 2, clock unit (CKU) 4, and interface 3.
It consists of

EXUlは、さらに、算術演算ユニット(ALU)11
と、汎用レジスタ12と、インストラクションデコード
ユニット(IDU)1Bから構成されている。
EXUl further includes an arithmetic operation unit (ALU) 11
, a general-purpose register 12, and an instruction decode unit (IDU) 1B.

BCU2は、さらに、ブリフェッチポインタ(PFP)
21と、ブリフェッチキュー(QUEUE>22から構
成されている。
BCU2 further includes a brief fetch pointer (PFP)
21, and a brief fetch queue (QUEUE>22).

CKU4は、さらに、クロックゼネレータ(CG)41
と、二分周回路(1/2DIV)42とに加え、新たに
、二逓倍器43とから構成されている。
CKU4 further includes a clock generator (CG) 41.
In addition to the frequency divider circuit (1/2DIV) 42 and the frequency divider circuit (1/2DIV) 42, it also includes a doubler 43.

ここで、前述の従来例との相違点は、BCU2が、CP
U動作クロックの1/2単位で動作するよう構成されて
いることである。
Here, the difference from the conventional example described above is that the BCU2 is
It is configured to operate in units of 1/2 of the U operation clock.

インタフェース3は、1/2クロック単位でデータの保
持を行なう周知のラッチ回路で構成される。
The interface 3 is composed of a well-known latch circuit that holds data in 1/2 clock units.

次に、本実施例の動作について説明する。Next, the operation of this embodiment will be explained.

クロックユニット(CKU)4は、外部のクロック周波
数源よりCPUの動作クロック周波数の2倍のクロック
源信号CFを入力され、クロックゼネレータ(CG>4
1により所要のクロック波形に整形する。
The clock unit (CKU) 4 receives a clock source signal CF twice the operating clock frequency of the CPU from an external clock frequency source, and outputs a clock generator (CG>4).
1 to shape the clock waveform into the required clock waveform.

次に、整形されたクロック源信号は、二分周器42によ
り周波数を半分、すなわち、周期を2倍にしてEXUI
の動作クロックとして供給する。
Next, the frequency of the shaped clock source signal is halved by the frequency divider 42, that is, the period is doubled, and the EXUI
Supplied as the operating clock.

さらに、二分周器42の出力信号の一部は、二逓倍器4
3に入力し、その周波数を2倍、すなわち、周期を1/
2として、BCU2とインタフェース3の動作クロック
として、それぞれに供給する。
Further, a part of the output signal of the frequency divider 42 is transmitted to the frequency divider 42.
3 and double its frequency, i.e., its period by 1/
2, it is supplied to each of the BCU 2 and interface 3 as an operation clock.

第2図は、第1図で示す本実施例の回路のバスサイクル
のタイムチャートである。
FIG. 2 is a time chart of the bus cycle of the circuit of this embodiment shown in FIG.

第2図に示すように、AのCPU動作クロックに対し、
基本バスサイクルが2クロツクのマイクロコンピュータ
の場合、バスの基本動作はBのようにノーウェイトの状
態である。
As shown in Figure 2, for the CPU operation clock of A,
In the case of a microcomputer with a two-clock basic bus cycle, the basic bus operation is in a no-wait state as shown in B.

外部メモリや外部I10に対してアクセス時間が不足す
る場合、ウェイトを挿入する。
If there is insufficient access time to the external memory or external I10, a wait is inserted.

ウェイト挿入の単位は、CPUの動作クロックに対し、
1/2クロック単位で行なうことができる。
The unit of weight insertion is based on the CPU operating clock.
This can be done in 1/2 clock units.

Cは、1/2ウエイト挿入の場合を、Dは1ウエイト挿
入の場合をそれぞれ示す。
C indicates the case of 1/2 weight insertion, and D indicates the case of 1 weight insertion.

第3図は、第1図で示す本実施例のCPU動作のタイム
チャートである。
FIG. 3 is a time chart of the CPU operation of this embodiment shown in FIG.

AはCPU動作クロック、BはEXUlの動作タイミン
グ、CはBCUのクロックと同期している場合の動作タ
イミング、DはECUのクロックと非同期の場合の動作
タイミングをそれぞれ示す。
A indicates the CPU operating clock, B indicates the operating timing of EXUl, C indicates the operating timing when synchronized with the BCU clock, and D indicates the operating timing when not synchronized with the ECU clock.

命令のフェッチを行なう場合、ブリフェッチポインタ(
PPP)21が実行すべき命令のアドレスを発生する。
When fetching an instruction, the brief fetch pointer (
PPP) 21 generates the address of the instruction to be executed.

次に、PPP21が示す外部メモリのアドレスのデータ
■0をリードし、QUEUE22に一旦その命令データ
を格納するつ 以上の動作は、BCU2内で完結しているので、1/2
クロック単位で実行できる。
Next, the three or more operations of reading data 0 at the address of the external memory indicated by the PPP 21 and temporarily storing the command data in the QUEUE 22 are completed within the BCU 2, so 1/2
It can be executed in clock units.

しかし、ALUIIや汎用レジスタ12と、外部メモリ
や外部I10の間で、データ転送を実行する場合、BC
U2とEXUlとの間に動作がまたがるので、同期を考
慮する必要がある。
However, when executing data transfer between ALU II or general-purpose register 12 and external memory or external I10, BC
Since the operation spans between U2 and EXUl, synchronization must be considered.

EXUIは、CPUのクロック単位で動作しているため
、EXUlとBCU2間のデータの授受は必然的にCP
U動作クロックの後縁で行なわれなければならない。
Since EXUI operates in CPU clock units, data exchange between EXUl and BCU2 is necessarily performed by CPU.
Must be done on the trailing edge of the U-operation clock.

一方、BCU2は、1/2クロック単位で動作するので
、データの出力は、必ずしもCPU動作クロックの後縁
と一致するわけではないのでEXUlとBCU2間のデ
ータの授受ができない場合がありうる。
On the other hand, since the BCU2 operates in 1/2 clock units, the data output does not necessarily coincide with the trailing edge of the CPU operating clock, so there may be cases where data cannot be exchanged between the EXU1 and the BCU2.

一例をあげると、外部メモリからデータIOをBCU2
からEXUIの汎用レジスタ12に転送する場合、第3
図のCに示すように、バスサクルの後縁が、CPUクロ
ックの後縁と一致するときは、問題なくBCU2からE
XUIへのデータ授受かできる。しかし、第3図のDに
示すように、ハスサクルの後縁か、CPUクロックの中
間となる場合は、データの授受に1/2クロツク分の時
間的空白が発生する。
For example, data IO from external memory is sent to BCU2.
When transferring from the EXUI general register 12, the third
As shown in C in the figure, when the trailing edge of the bus cycle matches the trailing edge of the CPU clock, there is no problem from BCU2 to E.
It is possible to send and receive data to XUI. However, as shown at D in FIG. 3, if it is at the trailing edge of the hash cycle or in the middle of the CPU clock, a time gap of 1/2 clock occurs in data exchange.

この空白の時間にデータを保持するため、本実施例では
、インタフェース3をEXIJlとBCU2間に挿入す
る。
In order to hold data during this blank time, in this embodiment, interface 3 is inserted between EXIJl and BCU2.

前述のように、インタフェース3は、1/′t、クロッ
ク単位でデータの保持を行なうラッチ回路で構成される
As described above, the interface 3 is composed of a latch circuit that holds data in units of 1/'t, clocks.

したがって、BCU2からEXUlへのデータ授受は、
インタフェース3を介することにより最大1/2クロツ
クの遅れで完全に同期して実行されることになる。
Therefore, data transfer from BCU2 to EXUl is as follows:
Through the interface 3, the execution is completely synchronous with a maximum delay of 1/2 clock.

また、反対に、データをEXUlからBCU2へ転送す
る場合も、BCU2が他の命令を実行中の場合は、1/
2クロツクから数クロックの間は、データを保持する必
要があるので、インクフェース3によりこれを行なう。
Conversely, when transferring data from EXUl to BCU2, if BCU2 is executing another instruction, 1/
Since it is necessary to hold data for a period from 2 clocks to several clocks, this is done using ink face 3.

次に、本発明の第二の実施例について説明する。Next, a second embodiment of the present invention will be described.

第4図は、本発明の第二の実施例を示す回路のブロック
図である。
FIG. 4 is a block diagram of a circuit showing a second embodiment of the present invention.

従来例との相違点は、第一の実施例と同様、BCU2か
、CPU動作クロックの1/2単位で動作するよう構成
されていることである。
The difference from the conventional example is that, like the first example, it is configured to operate in units of BCU2 or 1/2 of the CPU operating clock.

第一の実施例との相違点は、インタフェース3がないこ
と、さらに、CKU4に、CPUの制御信号SWCによ
りBCU2のクロック周期、すなわち、バスサイクルを
CPUの1クロック単位または、1/2クロツク単位の
いずれかに切替えるための切替回路(SW)44が追加
されていることである。
The difference from the first embodiment is that there is no interface 3, and further, the clock cycle of the BCU2, that is, the bus cycle, is controlled by the CPU control signal SWC in the CKU4 in units of 1 CPU clock or 1/2 clock. A switching circuit (SW) 44 for switching to either one is added.

さらに、本実施例では、命令のブリフェッチやデータの
ライト時にはバスサイクルを1/2クロツク単位で制御
するが、データのリード時には1クロック単位で制御す
る。このバスサイクル制御単位の変更は、CPLI内部
で自動的に行なわれる。
Furthermore, in this embodiment, the bus cycle is controlled in units of 1/2 clock during instruction briftches and data writes, but is controlled in units of 1 clock during data reads. This change in bus cycle control unit is automatically performed within the CPLI.

次に、本実施例の動作について説明する。Next, the operation of this embodiment will be explained.

第5図は、本実施例のハスサイクル図である。FIG. 5 is a lotus cycle diagram of this embodiment.

AはCPU動作クロック、B、C,Dは、それぞれ、ノ
ーウェイト、1/2ウエイト、1ウエイトのときの外部
制御信号、EはEXUの動作タイミングである。
A is the CPU operation clock, B, C, and D are external control signals for no wait, 1/2 wait, and 1 wait, respectively, and E is the EXU operation timing.

第一の実施例同様、BCU2内に動作が限定される命令
のブリフェッチ等は、バスサイクルか1/2クロツク単
位でも問題はない。
As in the first embodiment, there is no problem in performing a brief fetch of an instruction whose operation is limited within the BCU 2 in units of a bus cycle or 1/2 clock.

また、汎用レジスタ12から外部メモリにデータを転送
する例のような、データのライト実行命令では、EXU
lからBCU2にデータが転送される。この場合、EX
Ulは1クロック単位で動作するのに対し、BCU2は
、1/2クロツク単位で動作するので、同期が外れるこ
とはないため問題はない。
In addition, in a data write execution instruction such as an example of transferring data from the general-purpose register 12 to external memory, EXU
Data is transferred from BCU2 to BCU2. In this case, EX
While Ul operates in units of 1 clock, BCU2 operates in units of 1/2 clock, so there is no problem because synchronization will not be lost.

しかし、メモリのリードの場合は、データバスの制御が
1/2クロツク単位で制御されるBCU2から、1クロ
ック単位で制御されるEXUIに移行する。
However, in the case of a memory read, control of the data bus shifts from the BCU 2, which is controlled in units of 1/2 clock, to the EXUI, which is controlled in units of 1 clock.

EXUIは、第5図のEに示すようにクロックの後縁で
データを受領しなければならないので、Cに示すように
バスサイクルがクロックの中間て終了する場合、BCU
2からEXUlへのデータの授受が不能となる。
Since the EXUI must receive data on the trailing edge of the clock, as shown in Figure 5E, if the bus cycle ends in the middle of the clock, as shown in Figure 5C, the BCU
It becomes impossible to send and receive data from 2 to EXUl.

このため、本実施例では前述のように、命令のブリフェ
ッチやデータのライト時にはバスサイクルを1/2クロ
ツク単位で制御するが、データのリード時には1クロッ
ク単位で制御する。このバスサイクル制御単位の変更は
、CPU内部で自動的に行なわれる。
Therefore, in this embodiment, as described above, the bus cycle is controlled in 1/2 clock units during instruction briftches and data writes, but is controlled in 1 clock units when data is read. This change in bus cycle control unit is automatically performed within the CPU.

次に、メモリリードの場合のフローの例について説明す
る。
Next, an example of the flow in the case of memory read will be described.

まず、ステップ1では、EXUlからBCU2にメモリ
リードの指示を発生する。
First, in step 1, a memory read instruction is generated from EXU1 to BCU2.

ステップ2で、EXUlがメモリリードを開始する。In step 2, EXUl starts reading memory.

ステップ3では、BCU2サイクルがEXUIサイクル
の途中で終了したかどうかを判定する。
In step 3, it is determined whether the BCU2 cycle has ended in the middle of the EXUI cycle.

イエスの場合はステップ4となり、クロック周期を1ク
ロック単位に切替えることにより、BCU2サイクルを
1/2クロック分延長する。
If YES, step 4 is reached, in which the clock period is switched in units of one clock, thereby extending the BCU2 cycle by 1/2 clock.

ノーの場合は、ステップ5に進む。If no, proceed to step 5.

ステップ5で、BCU2サイクルは終了し、EXUlに
データを引渡す。
At step 5, the BCU2 cycle ends and hands over the data to EXUl.

したがって、ユーザは、全ての外部メモリ、外部I10
に対して1/2クロック単位でウェイトを設定する。
Therefore, the user must remove all external memory, external I10
Waits are set in 1/2 clock units.

以上、本発明の詳細な説明したが、本発明は上記実施例
に限られることなく種々の変形か可能である。
Although the present invention has been described in detail above, the present invention is not limited to the above-mentioned embodiments and can be modified in various ways.

たとえば、実施例では、バスサイクルの制御車をCPU
動作クロックの1/2としているか、これに限ることな
く、CPU動作クロックの整数分の−ならば、本発明の
主旨を逸脱しない限り適用できることは勿論である。
For example, in the embodiment, the bus cycle is controlled by the CPU.
It goes without saying that it may be set to 1/2 of the operating clock, or may be an integral number of the CPU operating clock, without departing from the spirit of the present invention.

〔発明の効果〕 以上説明したように本発明は、マイクロコンピュータの
バスサイクルの制御時間幅を、CPUの動作周期の整数
分の一単位で調整することにより、外部メモリや外部I
lo等の制御を効率よく行なうことができるという効果
がある。
[Effects of the Invention] As explained above, the present invention adjusts the control time width of the bus cycle of the microcomputer in units of one integer of the operating cycle of the CPU.
This has the effect that lo etc. can be controlled efficiently.

また、システム全体の外部制御時間が削減されるので、
CPUの動作がバスにより左右される時間が減少し、C
PU本来の性能で動作することかでき、したがって、シ
ステムの処理時間か短縮できるという効果がある。
In addition, the external control time for the entire system is reduced, so
The time when CPU operation is affected by the bus is reduced, and the C
It is possible to operate with the original performance of the PU, which has the effect of shortening the system processing time.

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

第1図は本発明の一実施例を示す回路のブロック図、第
2図は第1図で示した回路のバスサイクルの動作タイム
チャート、第3図は第1図で示した回路の動作タイムチ
ャート、第4図は本発明の第二の実施例を示す回路のブ
ロック図、第5図は第4図で示した回路のバスサイクル
の動作タイムチャート、第6図は従来のマイクロコンピ
ュータの一例を示す回路のブロック図である。 1・・・内部演算ユニット(EXU)、2・・・バスコ
ントロールユニット(BCU)、3・・・インタフェー
ス、4・・・クロックユニット(CKU)、11・・・
算術演算ユニット(ALU)、12・・汎用レジスタ、
13・・・インストラクションデコードユニット(ID
U)、21・・・ブリフェッチポインタ(PFP)、2
2・・・ブリフェッチキュー(QUEUE)41・・・
クロックゼネレータ(CG)、42・・・−分周器、4
3・・・二逓倍器、44・・・切替回路(SW)。
Fig. 1 is a block diagram of a circuit showing an embodiment of the present invention, Fig. 2 is a bus cycle operation time chart of the circuit shown in Fig. 1, and Fig. 3 is an operation time of the circuit shown in Fig. 1. 4 is a block diagram of a circuit showing the second embodiment of the present invention, FIG. 5 is a bus cycle operation time chart of the circuit shown in FIG. 4, and FIG. 6 is an example of a conventional microcomputer. FIG. 2 is a block diagram of a circuit illustrating. 1... Internal processing unit (EXU), 2... Bus control unit (BCU), 3... Interface, 4... Clock unit (CKU), 11...
Arithmetic unit (ALU), 12... general-purpose registers,
13... Instruction decoding unit (ID
U), 21...Briefetch pointer (PFP), 2
2...Briefetch queue (QUEUE) 41...
Clock generator (CG), 42...-frequency divider, 4
3...Double multiplier, 44...Switching circuit (SW).

Claims (1)

【特許請求の範囲】 1、CPUクロックと、バスコントロールユニット動作
用の周期が前記CPUクロックの周期の整数分の一であ
る整数分の一周期クロックを供給するクロック供給回路
とを有することを特徴とするマイクロコンピュータ。 2、前記CPUと前記バスコントロールユニットとの間
のデータ転送用の前記整数分の一周期クロックにより動
作し、前記整数分の一クロック周期を単位としてデータ
の保持をするデータバッファ回路を有することを特徴と
する請求項1記載のマイクロコンピュータ。 3、前記バスコントロールユニットの動作サイクル後縁
と前記CPUの動作サイクル後縁を比較する手段と、前
記バスコントロールユニットの動作サイクル後縁が前記
CPUの動作サイクル後縁より前の場合前記バスコント
ロールユニットのクロックを前記CPUクロックに切替
えるクロック切替手段を有することを特徴とする請求項
1記載のマイクロコンピュータ。
[Scope of Claims] 1. A clock supply circuit that supplies a CPU clock and a one-cycle clock whose cycle is a one-integer fraction of the cycle of the CPU clock for operating the bus control unit. microcomputer. 2. A data buffer circuit that operates with the integer/one cycle clock for data transfer between the CPU and the bus control unit and holds data in units of the integer/one clock cycle. The microcomputer according to claim 1, characterized in that: 3. means for comparing the trailing edge of the operating cycle of the bus control unit with the trailing edge of the operating cycle of the CPU; and when the trailing edge of the bus control unit's operating cycle is before the trailing edge of the operating cycle of the CPU; 2. The microcomputer according to claim 1, further comprising clock switching means for switching the clock of the microcomputer to the CPU clock.
JP2216810A 1990-08-17 1990-08-17 Microcomputer Pending JPH0498558A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2216810A JPH0498558A (en) 1990-08-17 1990-08-17 Microcomputer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2216810A JPH0498558A (en) 1990-08-17 1990-08-17 Microcomputer

Publications (1)

Publication Number Publication Date
JPH0498558A true JPH0498558A (en) 1992-03-31

Family

ID=16694246

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2216810A Pending JPH0498558A (en) 1990-08-17 1990-08-17 Microcomputer

Country Status (1)

Country Link
JP (1) JPH0498558A (en)

Similar Documents

Publication Publication Date Title
US8195975B2 (en) Semiconductor integrated circuit device and clock control method
CN101593097B (en) Method for designing embedded, isomorphic, symmetric and dual-core microprocessor
CA2246252C (en) Apparatus and method for system control
JPH06139189A (en) Common bus arbitrating mechanism
JPS6243764A (en) Bus state control circuit
JP4412905B2 (en) Low power operation control device and program optimization device
JPH0721021A (en) Information processor
US5892965A (en) Pipeline processing method and device for instruction execution
JPS58182758A (en) Arithmetic controller
JPH0498558A (en) Microcomputer
JP3562215B2 (en) Microcomputer and electronic equipment
US9658857B2 (en) Method and apparatus for processor to operate at its natural clock frequency in the system
JP2007058331A (en) Processor system and multi-thread processor
JP4386852B2 (en) Signal processing device
JP3067253B2 (en) Data processing device
JP2721611B2 (en) Programmable controller
JPH03136136A (en) Instruction execution time control system
JP2000020309A (en) Digital signal processor
JP2721610B2 (en) Programmable controller
JP3996982B2 (en) Processor
US5109516A (en) Sequence controller for controlling next operating state with a short sequence
JPH03214252A (en) Microprocessor
JP2861234B2 (en) Instruction processing unit
JP2002123331A (en) Information processing system, clock control device, and clock control method
JPH10240496A (en) Register circuit