JPH05282075A - Microcomputer - Google Patents
MicrocomputerInfo
- Publication number
- JPH05282075A JPH05282075A JP4074265A JP7426592A JPH05282075A JP H05282075 A JPH05282075 A JP H05282075A JP 4074265 A JP4074265 A JP 4074265A JP 7426592 A JP7426592 A JP 7426592A JP H05282075 A JPH05282075 A JP H05282075A
- Authority
- JP
- Japan
- Prior art keywords
- alu
- logic circuit
- microcomputer
- dynamic logic
- 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
Links
Landscapes
- Power Sources (AREA)
Abstract
Description
【0001】[0001]
【産業上の利用分野】本発明は、マイクロコンピュータ
に関し、特にダイナミック型論理回路を内蔵するマイク
ロコンピュータに関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a microcomputer, and more particularly to a microcomputer incorporating a dynamic logic circuit.
【0002】[0002]
【従来の技術】従来のマイクロコンピュータとしては、
算術論理演算を行なうALUを制御するユニットとして
ALUデコーダを備えるマイクロコンピュータがある。
ALUデコーダは、実行すべき命令が演算を必要とした
場合、その命令のμプログラムをデコードしてALUの
制御をする。種々の演算に対応するため、ALUデコー
ダの論理は複雑になることが多く、集積度を考慮してP
LAのようなダイナミック型の論理回路で設計されるこ
とが多い。2. Description of the Related Art As a conventional microcomputer,
There is a microcomputer provided with an ALU decoder as a unit for controlling an ALU that performs arithmetic logic operations.
When the instruction to be executed requires an arithmetic operation, the ALU decoder decodes the μ program of the instruction and controls the ALU. The logic of the ALU decoder is often complicated because it corresponds to various operations.
It is often designed with a dynamic logic circuit such as LA.
【0003】[0003]
【発明が解決しようとする課題】しかしながら、上述し
た従来のマイクロコンピュータでは、実行中の命令が演
算を必要としていないときにも、内蔵するALUデコー
ダはプリチャージ/サンプリングを繰り返しているた
め、その際消費する電力により、マイクロコンピュータ
全体における消費電力が必要以上に多くなってしまうと
いう問題点がある。However, in the above-described conventional microcomputer, the built-in ALU decoder repeats the precharge / sampling even when the instruction being executed does not require an operation. There is a problem that the power consumption of the entire microcomputer increases more than necessary due to the power consumption.
【0004】本発明はかかる問題点に鑑みてなされたも
のであって、ダイナミック型論理回路を内蔵するマイク
ロコンピュータにおいて、ダイナミック型論理回路にお
ける消費電力を削減することができて、マイクロコンピ
ュータ全体における消費電力を削減することができるマ
イクロコンピュータを提供することを目的とする。The present invention has been made in view of the above problems, and in a microcomputer incorporating a dynamic logic circuit, it is possible to reduce the power consumption in the dynamic logic circuit and to reduce the power consumption in the entire microcomputer. It is an object to provide a microcomputer that can reduce power consumption.
【0005】[0005]
【課題を解決するための手段】本発明に係るマイクロコ
ンピュータは、プリチャージ動作とディスチャージ動作
とをすることにより機能するダイナミック型論理回路を
有するマイクロコンピュータにおいて、前記ダイナミッ
ク型論理回路の出力データが必要とされたとき所定の信
号を発生する手段と、前記所定の信号により前記ダイナ
ミック型論理回路のプリチャージ動作を禁止する手段と
を有することを特徴とする。A microcomputer according to the present invention is a microcomputer having a dynamic logic circuit that functions by performing a precharge operation and a discharge operation, and the output data of the dynamic logic circuit is required. And a means for generating a predetermined signal when the above-mentioned is set, and a means for prohibiting the precharge operation of the dynamic logic circuit by the predetermined signal.
【0006】[0006]
【作用】本発明に係るマイクロコンピュータにおいて
は、ダイナミック型論理回路を内蔵するマイクロコンピ
ュータにおいて、ダイナミック型論理回路は、出力デー
タが必要とされたとき所定の信号を発生する手段と、こ
の所定の信号によりダイナミック型論理回路のプリチャ
ージ動作を禁止する手段とに制御されて、実行すべき命
令が演算を必要とするときに限ってμプログラムをデコ
ードしてALUの制御をする。従って、ダイナミック型
論理回路は、実行中の命令が演算を必要とするときに限
ってプリチャージ/サンプリングをするため、ダイナミ
ック型論理回路における消費電力を削減することがで
き、それにより本マイクロコンピュータ全体における消
費電力を削減することができる。In the microcomputer according to the present invention, in the microcomputer incorporating the dynamic logic circuit, the dynamic logic circuit includes means for generating a predetermined signal when output data is required, and the predetermined signal. Is controlled by the means for inhibiting the precharge operation of the dynamic logic circuit, and the μ program is decoded and the ALU is controlled only when the instruction to be executed requires an operation. Therefore, the dynamic logic circuit precharges / samps only when the instruction being executed requires an operation, so that the power consumption in the dynamic logic circuit can be reduced, and as a result, the entire microcomputer can be reduced. Power consumption can be reduced.
【0007】[0007]
【実施例】次に、本発明の実施例について添付の図面を
参照して説明する。Embodiments of the present invention will now be described with reference to the accompanying drawings.
【0008】図1は、本発明の第1の実施例に係るマイ
クロコンピュータにおける命令実行部を示すブロック図
である。FIG. 1 is a block diagram showing an instruction executing section in a microcomputer according to a first embodiment of the present invention.
【0009】図1に示すように命令実行部1は、命令実
行に必要なレジスタ群70と、算術論理演算をするAL
U90と、マイクロプログラムROM(以下μROMと
記す)20と、PSW65と、命令コードからμROM
20のアドレスを生成するμアドレス生成部10と、μ
ROM20の出力をラッチするμコード出力部30と、
μコード出力部30の出力をデコードするデコーダ40
と、デコーダ40の出力の一部をラッチするラッチ回路
45と、AND回路50及び55と、μコード出力部3
0の出力をラッチするラッチ回路60と、ラッチ回路6
0の出力をデコードしてALU90の制御をするALU
デコーダ80から構成されている。As shown in FIG. 1, the instruction execution unit 1 has a register group 70 required for instruction execution and an AL for performing arithmetic logic operation.
U90, micro program ROM (hereinafter referred to as μROM) 20, PSW 65, and instruction code to μROM
A μ address generation unit 10 for generating 20 addresses,
A μ code output section 30 for latching the output of the ROM 20, and
Decoder 40 for decoding the output of the μ code output unit 30
A latch circuit 45 for latching a part of the output of the decoder 40, AND circuits 50 and 55, and a μ code output unit 3
A latch circuit 60 for latching the output of 0, and a latch circuit 6
An ALU that controls the ALU 90 by decoding the output of 0
It is composed of a decoder 80.
【0010】μコード出力部30,ラッチ回路60,及
びデコーダ40はμコードバス32で、デコーダ40,
AND回路50及びラッチ回路45はデコード信号線4
1で、AND回路50,ラッチ回路60及びALUデコ
ーダ80はラッチ信号線52で、AND回路55及びA
LUデコーダ80はラッチ信号線56で夫々接続されて
いる。The μ code output section 30, the latch circuit 60, and the decoder 40 are the μ code bus 32, and the decoder 40,
The AND circuit 50 and the latch circuit 45 use the decode signal line 4
1, the AND circuit 50, the latch circuit 60 and the ALU decoder 80 are connected to the latch signal line 52 and the AND circuit 55 and the ALU decoder 80 are connected.
The LU decoders 80 are connected by the latch signal lines 56, respectively.
【0011】次に、上述の如く構成された本第1の実施
例に係るマイクロコンピュータにおける命令実行部1の
動作について説明する。μアドレス生成部10は、命令
コードバス11を介して命令コードを入力し、その命令
コードに基づいて実行すべき命令のμアドレスを生成す
る。μROM20は、μアドレス生成部10が生成した
μアドレスに対するμコードデータをμコード出力部3
0に出力する。μコード出力部30は、第1のクロック
信号線31上の信号に基づくタイミングでμコードデー
タをラッチし、μコードバス32に出力する。μコード
バス32に出力されたμコードデータは、2つのフィー
ルドに分割されており、一方はデータバスの制御をする
ためのフィールドである。他方は、演算命令等のALU
演算制御、又はPSW65等の内部状態によって分岐を
するための条件分岐命令等の分岐制御、又はPSW65
の操作及び割込み受付けの禁止等をするための内部制御
のフィールドであり、デコーダ40はこのフィールドに
ALU演算制御のコードが出力されているとき、デコー
ド信号線41をアクティブにする。AND回路50は、
ALU演算等を制御するデコード信号線41上の信号と
第2のクロック信号線51上の信号との論理積をして結
果をラッチ信号線52に出力する。ラッチ回路60は、
ラッチ信号線52上の信号のタイミングでμコードバス
32上のALU演算制御コードをラッチする。ここで、
AND回路55は、ラッチ回路45の出力と第1のクロ
ック信号線31上の信号との論理積をして結果をラッチ
信号線56に出力する。そして、ALUデコーダ80
は、ダイナミック型論理回路であるPLAで設計されて
おり、ラッチ信号線52上の信号で内部をプリチャージ
し、ラッチ信号線56上の信号に基づいてデコード結果
をラッチしてALU90に出力する。Next, the operation of the instruction executing section 1 in the microcomputer according to the first embodiment constructed as described above will be described. The μ address generation unit 10 inputs an instruction code via the instruction code bus 11 and generates a μ address of an instruction to be executed based on the instruction code. The μROM 20 outputs μcode data for the μaddress generated by the μaddress generation unit 10 to the μcode output unit 3
Output to 0. The μ code output unit 30 latches the μ code data at a timing based on the signal on the first clock signal line 31, and outputs the μ code data to the μ code bus 32. The μ code data output to the μ code bus 32 is divided into two fields, one of which is a field for controlling the data bus. The other is ALU such as arithmetic instruction
Branch control such as arithmetic control or conditional branch instruction for branching according to internal state of PSW65, or PSW65
Is a field of internal control for prohibiting the operation of the above and interruption acceptance, and the decoder 40 activates the decode signal line 41 when the code of the ALU operation control is output in this field. The AND circuit 50 is
A signal on the decode signal line 41 for controlling the ALU operation and the like and a signal on the second clock signal line 51 are ANDed and the result is output to the latch signal line 52. The latch circuit 60 is
The ALU operation control code on the μ code bus 32 is latched at the timing of the signal on the latch signal line 52. here,
The AND circuit 55 performs a logical product of the output of the latch circuit 45 and the signal on the first clock signal line 31, and outputs the result to the latch signal line 56. Then, the ALU decoder 80
Is designed by PLA which is a dynamic logic circuit, pre-charges the inside with the signal on the latch signal line 52, latches the decoding result based on the signal on the latch signal line 56, and outputs it to the ALU 90.
【0012】ALU90は、ALUデコーダ80が出力
するデコード結果に基づいて種々の算術演算をする。The ALU 90 performs various arithmetic operations based on the decoding result output by the ALU decoder 80.
【0013】これらのように、本第1の実施例に係るマ
イクロコンピュータにおける命令実行部1において、ダ
イナミック型論理回路で構成されるALUデコーダ80
は、ALU90が演算をするときに限ってプリチャージ
/サンプリングをするので、消費電力を削減することが
できる。As described above, in the instruction execution unit 1 of the microcomputer according to the first embodiment, the ALU decoder 80 composed of the dynamic type logic circuit is used.
Since the ALU 90 performs precharge / sampling only when the ALU 90 performs an operation, the power consumption can be reduced.
【0014】次に、本発明の第2の実施例に係るマイク
ロコンピュータについて説明する。図2は、本第2の実
施例に係るマイクロコンピュータにおける命令実行部2
を示すブロック図である。図2において、図1に示す第
1の実施例に係るマイクロコンピュータにおける命令実
行部1と同一の構成部には、同一符号を付して説明を省
略する。Next, a microcomputer according to the second embodiment of the present invention will be described. FIG. 2 shows an instruction execution unit 2 in the microcomputer according to the second embodiment.
It is a block diagram showing. 2, the same components as those of the instruction execution unit 1 in the microcomputer according to the first embodiment shown in FIG. 1 are designated by the same reference numerals and the description thereof will be omitted.
【0015】図2に示す本第2の実施例に係るマイクロ
コンピュータにおける命令実行部2において、図1に示
す第1の実施例に係るマイクロコンピュータにおける命
令実行部1に対して異なる構成部分は、デコード信号線
41の代りにラッチ信号線42が付加されている部分で
ある。μコード出力部30は、μコードバス32上にA
LU演算制御コードが出力されているときアクティブに
なる信号をラッチ信号線42に出力する。ラッチ信号線
42上の信号は、AND回路50及びラッチ回路45に
入力され、図1に示すデコード信号線41上の信号と等
価の働きをする。上述以外の点は、第1の実施例と同様
である。In the instruction execution unit 2 in the microcomputer according to the second embodiment shown in FIG. 2, the components different from the instruction execution unit 1 in the microcomputer according to the first embodiment shown in FIG. This is a portion in which a latch signal line 42 is added instead of the decode signal line 41. The μ-code output unit 30 puts A on the μ-code bus 32.
A signal that becomes active when the LU operation control code is output is output to the latch signal line 42. The signal on the latch signal line 42 is input to the AND circuit 50 and the latch circuit 45, and functions equivalent to the signal on the decode signal line 41 shown in FIG. The points other than the above are the same as those in the first embodiment.
【0016】[0016]
【発明の効果】以上説明したように本発明に係るマイク
ロコンピュータによれば、ダイナミック型論理回路を内
蔵するマイクロコンピュータにおいて、実行中の命令が
演算を必要とするときに限り、内蔵するダイナミック型
論理回路がプリチャージ/サンプリングをするため、ダ
イナミック型論理回路における消費電力を削減すること
ができ、それによりマイクロコンピュータ全体における
消費電力を削減することができる。As described above, according to the microcomputer of the present invention, in a microcomputer incorporating a dynamic logic circuit, the dynamic logic incorporated therein is provided only when an instruction being executed requires an operation. Since the circuit performs precharging / sampling, it is possible to reduce the power consumption in the dynamic logic circuit, thereby reducing the power consumption in the entire microcomputer.
【図1】本発明の第1の実施例に係るマイクロコンピュ
ータにおける命令実行部を示すブロック図である。FIG. 1 is a block diagram showing an instruction execution unit in a microcomputer according to a first embodiment of the present invention.
【図2】本発明の第2の実施例に係るマイクロコンピュ
ータにおける命令実行部を示すブロック図である。FIG. 2 is a block diagram showing an instruction execution unit in a microcomputer according to a second embodiment of the present invention.
1 ;命令実行部 10 ;μアドレス生成部 20 ;μROM 30 ;μコード出力部 40 ;デコーダ 45,60 ;ラッチ回路 50,55 ;AND回路 80 ;ALUデコーダ 90 ;ALU 1; instruction execution unit 10; μ address generation unit 20; μROM 30; μ code output unit 40; decoders 45, 60; latch circuits 50, 55; AND circuit 80; ALU decoder 90; ALU
Claims (1)
とをすることにより機能するダイナミック型論理回路を
有するマイクロコンピュータにおいて、前記ダイナミッ
ク型論理回路の出力データが必要とされたとき所定の信
号を発生する手段と、前記所定の信号により前記ダイナ
ミック型論理回路のプリチャージ動作を禁止する手段と
を有することを特徴とするマイクロコンピュータ。1. A microcomputer having a dynamic logic circuit which functions by performing a precharge operation and a discharge operation, and means for generating a predetermined signal when output data of the dynamic logic circuit is required. A means for inhibiting the precharge operation of the dynamic logic circuit by the predetermined signal.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP4074265A JPH05282075A (en) | 1992-03-30 | 1992-03-30 | Microcomputer |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP4074265A JPH05282075A (en) | 1992-03-30 | 1992-03-30 | Microcomputer |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH05282075A true JPH05282075A (en) | 1993-10-29 |
Family
ID=13542126
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP4074265A Pending JPH05282075A (en) | 1992-03-30 | 1992-03-30 | Microcomputer |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH05282075A (en) |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS544218A (en) * | 1977-06-10 | 1979-01-12 | Chiyomatsu Okamura | Desulfurizing agent for molten pig iron and steel |
JPS5414624A (en) * | 1977-07-06 | 1979-02-03 | Toshiba Corp | Integrated circuit device |
JPS5743238A (en) * | 1980-08-28 | 1982-03-11 | Fujitsu Ltd | Microprocessor |
-
1992
- 1992-03-30 JP JP4074265A patent/JPH05282075A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS544218A (en) * | 1977-06-10 | 1979-01-12 | Chiyomatsu Okamura | Desulfurizing agent for molten pig iron and steel |
JPS5414624A (en) * | 1977-07-06 | 1979-02-03 | Toshiba Corp | Integrated circuit device |
JPS5743238A (en) * | 1980-08-28 | 1982-03-11 | Fujitsu Ltd | Microprocessor |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR100423910B1 (en) | Method and apparatus for executing coprocessor instructions | |
GB1528331A (en) | Microprogramme data processing technique and apparatus | |
JPS61122747A (en) | Data processor | |
US20070288724A1 (en) | Microprocessor | |
JP2779557B2 (en) | Parallel processing unit | |
US5530659A (en) | Method and apparatus for decoding information within a processing device | |
JPH05282075A (en) | Microcomputer | |
US4959780A (en) | Microprogram processor with logic circuitry for combining signals from a microcode decoder and an instruction code decoder to produce a memory access signal | |
US6834339B2 (en) | Microprocessor | |
US5301345A (en) | Data processing system for performing a shifting operation and a constant generation operation and method therefor | |
JPH04359323A (en) | Microcomputer | |
JPS5860355A (en) | Information processing device | |
JPH08241296A (en) | Semiconductor integrated circuit | |
KR950014161B1 (en) | How to handle stage instruction pipeline in array processor | |
JPH1020959A (en) | Low power consumption micro processor | |
JPH05235747A (en) | Method of reducing power consumption of dynamic pla | |
JPH05334075A (en) | Digital processor | |
JPH08106383A (en) | Arithmetic processor | |
KR0182959B1 (en) | Multi-function arithmetic logic unit | |
JPH08101820A (en) | Microprocessor | |
JPH01320540A (en) | Semiconductor integrated circuit device | |
JPH04353927A (en) | Micro processor | |
JPH11175502A (en) | Semiconductor device | |
JPH07106950A (en) | Programmable logic array | |
JPH03147131A (en) | Microcomputer |