JPH0573297A - Microcomputer - Google Patents

Microcomputer

Info

Publication number
JPH0573297A
JPH0573297A JP3232771A JP23277191A JPH0573297A JP H0573297 A JPH0573297 A JP H0573297A JP 3232771 A JP3232771 A JP 3232771A JP 23277191 A JP23277191 A JP 23277191A JP H0573297 A JPH0573297 A JP H0573297A
Authority
JP
Japan
Prior art keywords
operand
register
arithmetic
level
control signal
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.)
Withdrawn
Application number
JP3232771A
Other languages
Japanese (ja)
Inventor
Kenji Yamada
賢次 山田
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.)
Fujitsu VLSI Ltd
Fujitsu Ltd
Original Assignee
Fujitsu VLSI Ltd
Fujitsu 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 Fujitsu VLSI Ltd, Fujitsu Ltd filed Critical Fujitsu VLSI Ltd
Priority to JP3232771A priority Critical patent/JPH0573297A/en
Publication of JPH0573297A publication Critical patent/JPH0573297A/en
Withdrawn legal-status Critical Current

Links

Abstract

PURPOSE:To make fast a microcomputer while the demand is reduced and a noise is reduced without making fast an action clock. CONSTITUTION:A controller 11 outputs a control signal C1 of an H level when an action clock T1 is an H level and a control signal C2 of an H level when an action clock T1 is an L level. Registers 4 and 6 hold the number of non- operations and the number of operations by a latch control signal LC1 based on the control signal C1 and the action clock T1 and registers 5 and 7 hold the number of non-operations and the number of operations by a latch control signal LC2 based on the control signal C2 and the action clock T1. Selectors 8 and 9 select the registers 5 and 7 when the action clock T1 is an H level and select the registers 4 and 6 when the action clock T1 is the L level. A computing element 10 performs the arithmetic operation based on the number of non-operations and the number of operations inputted from the selectors 8 and 9 and transfers the arithmetic result through a data bus DB3 to a register group 2.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明はマイクロコンピュータに
関する。近年のコンピュータシステムの高速化に対する
要求に伴い、マイクロコンピュータへの高速化の要求は
強い。そして、コンピュータの高速化には発振器(クロ
ックジェネレータ)の動作クロック即ち命令サイクルの
高速化が不可欠であるが、動作クロックを高速化すると
安定したクロックジェネレータの製作がむずかしくなる
とともに、クロックジェネレータの消費電力も増大し、
ノイズも多くなる。このため、動作クロックを高速化さ
せずに消費電力の低減及びノイズの低減を図りつつ、マ
イクロコンピュータを高速化させることが望まれてい
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a microcomputer. With the recent demand for high speed computer systems, there is a strong demand for high speed microcomputers. In order to speed up the computer, it is indispensable to speed up the operation clock of the oscillator (clock generator), that is, the instruction cycle. However, speeding up the operation clock makes it difficult to manufacture a stable clock generator, and the power consumption of the clock generator. Also increased,
There will be much noise. Therefore, it is desired to increase the speed of the microcomputer while reducing the power consumption and the noise without increasing the operation clock speed.

【0002】[0002]

【従来の技術】従来のマイクロコンピュータ30の概略
を図5に示す。コントローラ31は図示しない発振器
(クロックジェネレータ)から1命令サイクル毎に出力
される動作クロックT1を入力し、レジスタ群32を制
御して被演算数及び演算数をそれぞれデータバスDB
1,DB2を介して転送させるとともに、動作クロック
T1に同期した制御信号をC0を出力する。被演算数レ
ジスタ33及び演算数レジスタ34には動作クロックT
1とコントローラ31の制御信号C0とを入力するAN
D回路36,37が接続され、被演算数レジスタ33及
び演算数レジスタ34はAND回路36,37から出力
されるラッチ制御信号LC0に基づいて被演算数及び演
算数を保持し、その保持した被演算数及び演算数を演算
器35に出力する。演算器35は被演算数レジスタ33
及び演算数レジスタ34から出力された被演算数及び演
算数を入力して、所定の演算、例えば加算を行い、演算
結果をデータバスDB3を介してレジスタ群32に出力
する。
2. Description of the Related Art An outline of a conventional microcomputer 30 is shown in FIG. The controller 31 receives an operation clock T1 output from each oscillator (clock generator) (not shown) every instruction cycle, controls the register group 32, and calculates the operands and the operands respectively in the data bus DB.
1 and DB2, and outputs a control signal C0 in synchronization with the operation clock T1. The operation clock T is set in the operand number register 33 and the operand number register 34.
1 for inputting 1 and the control signal C0 of the controller 31
The D circuits 36 and 37 are connected, the operand number register 33 and the operand number register 34 hold the operand number and the operand number based on the latch control signal LC0 output from the AND circuits 36 and 37, and the retained operand numbers are retained. The calculated number and the calculated number are output to the calculator 35. The calculator 35 is the operand register 33.
Also, the operand and the operation number output from the operation number register 34 are input, a predetermined operation, for example, addition is performed, and the operation result is output to the register group 32 via the data bus DB3.

【0003】そして、上記マイクロコンピュータ30に
おける演算の実行は、図6に示すように、各命令サイク
ルにおいて動作クロックT1の立ち上がりエッジで当該
命令サイクルの前の命令サイクルにおけるデータバスD
B1,DB2のデータが被演算数レジスタ33及び演算
数レジスタ34にラッチされて演算器35にて演算さ
れ、データバスDB1,DB2には新たな被演算数及び
演算数が転送される。従って、動作クロックT1の1つ
の周期の間に演算器35は1回の動作を行うようになっ
ていた。
The execution of the operation in the microcomputer 30 is performed by the data bus D in the instruction cycle before the instruction cycle at the rising edge of the operation clock T1 in each instruction cycle, as shown in FIG.
The data of B1 and DB2 are latched by the operand number register 33 and the operand number register 34, and are arithmetically operated by the arithmetic unit 35, and the new operand number and arithmetic number are transferred to the data buses DB1 and DB2. Therefore, the arithmetic unit 35 is designed to perform one operation during one cycle of the operation clock T1.

【0004】[0004]

【発明が解決しようとする課題】上記従来のマイクロコ
ンピュータ30では動作クロックT1の1つの周期の間
に演算器35は1回の動作を行うようになっているた
め、マイクロコンピュータを高速化するためには発振器
の動作クロックを高速化しなければならない。しかしな
がら、動作クロックを高速化すると安定した発振器の製
作がむずかしくなり、発振器の消費電力が増大するとと
もにノイズも多くなるという問題があった。
In the conventional microcomputer 30 described above, since the arithmetic unit 35 operates once during one cycle of the operation clock T1, in order to speed up the microcomputer. The operating clock of the oscillator must be speeded up. However, increasing the operating clock speed makes it difficult to manufacture a stable oscillator, resulting in an increase in power consumption of the oscillator and an increase in noise.

【0005】本発明は上記問題点を解決するためになさ
れたものであって、動作クロックを高速化させずに消費
電力の低減及びノイズの低減を図りつつ、マイクロコン
ピュータを高速化できることを目的とする。
The present invention has been made to solve the above problems, and an object of the present invention is to speed up a microcomputer while reducing power consumption and noise without speeding up an operation clock. To do.

【0006】[0006]

【課題を解決するための手段】上記目的を達成するた
め、第1発明は、被演算数を保持しその保持した被演算
数を出力する第1及び第2の被演算数レジスタと、演算
数を保持しその保持した演算数を出力する第1及び第2
の演算数レジスタと、第1又は第2の被演算数レジスタ
のいずれか一方を選択してそのレジスタに保持された被
演算数を出力する第1のセレクタと、第1又は第2の演
算数レジスタのいずれか一方を選択してそのレジスタに
保持された演算数を出力する第2のセレクタと、第1の
セレクタにて選択された被演算数と第2のセレクタにて
選択された演算数とを入力し算術演算を行う演算器と、
命令サイクルの前半及び後半において算術演算が行われ
るように演算器を制御し、それぞれ一方の被演算数レジ
スタ及び演算数レジスタが選択されるように第1及び第
2のセレクタを制御するとともに、第1及び第2のセレ
クタにて選択されない他方の被演算数レジスタ及び演算
数レジスタに別の被演算数及び演算数が保持されるよう
に他方の被演算数レジスタ及び演算数レジスタを制御す
るコントローラとを備えて構成した。
In order to achieve the above object, a first aspect of the present invention relates to first and second operand count registers for holding an operand and outputting the held operand, and an operand. And a second for holding the number and outputting the held number of operations
And a first selector for selecting one of the first and second operand numbers and outputting the operand held in the register, and the first or second operand A second selector that selects one of the registers and outputs the number of operations held in that register, an operand to be selected by the first selector, and an number of operations selected by the second selector. An arithmetic unit that inputs and to perform arithmetic operations,
The arithmetic unit is controlled so that the arithmetic operation is performed in the first half and the latter half of the instruction cycle, and the first and second selectors are controlled so that one of the operand number register and the arithmetic number register is selected, respectively. A controller that controls the other operand number register and the operand number register so that the other operand number and operand number that are not selected by the first and second selectors hold another operand number and operand number, respectively. It is configured with.

【0007】又、第2発明は、被演算数と演算数とを入
力し算術演算を行う演算器と、演算器の演算結果を保持
しその保持した演算結果を出力する第1及び第2の出力
レジスタと、命令サイクルの前半及び後半においてそれ
ぞれ算術演算が行われるように演算器を制御するととも
に、命令サイクルの前半及び後半における演算結果が異
なる出力レジスタに保持されるように第1及び第2の出
力レジスタを制御するコントローラとを備えて構成し
た。
The second aspect of the present invention is directed to an arithmetic unit for inputting an operand and an arithmetic number to perform arithmetic operation, and first and second units for holding the arithmetic result of the arithmetic unit and outputting the held arithmetic result. The output unit and the arithmetic unit are controlled so that arithmetic operations are performed in the first and second halves of the instruction cycle, respectively, and the first and second units are arranged so that the operation results in the first and second halves of the instruction cycle are held in different output registers. And a controller for controlling the output register of.

【0008】[0008]

【作用】第1発明では、命令サイクルの前半及び後半に
おいて、一方の被演算数レジスタ及び演算数レジスタに
被演算数及び演算数が転送され、それと同時に他方の被
演算数レジスタ及び演算数レジスタの出力が第1及び第
2のセレクタにより選択され演算器により演算されるの
で、1命令サイクルで演算器が2回動作することとな
り、マイクロコンピュータのスピードが高速化される。
In the first aspect of the invention, the operand and the operand are transferred to one operand and the operand in the first half and the latter half of the instruction cycle, and at the same time, the other operand and the operand of the other register are transferred. Since the output is selected by the first and second selectors and operated by the arithmetic unit, the arithmetic unit operates twice in one instruction cycle, and the speed of the microcomputer is increased.

【0009】又、第2発明では、命令サイクルの前半及
び後半において演算器により演算が実行され、それらの
演算結果は命令サイクルの前半及び後半で異なる出力レ
ジスタに保持されるので、1命令サイクルにおいて2回
の演算結果を出力することが可能となり、マイクロコン
ピュータのスピードが高速化される。
In the second aspect of the invention, the arithmetic operation unit executes the arithmetic operation in the first half and the second half of the instruction cycle, and the arithmetic operation results are held in different output registers in the first half and the latter half of the instruction cycle. It is possible to output the results of two calculations, and the microcomputer speed is increased.

【0010】[0010]

【実施例】【Example】

[第1実施例]以下、本発明を具体化した第1実施例を
図1,図2に従って説明する。
[First Embodiment] A first embodiment of the present invention will be described below with reference to FIGS.

【0011】図1は本実施例のマイクロコンピュータ1
を示し、レジスタ群2の出力側は複数のスイッチバッフ
ァ3を介してデータバスDB1,DB2に接続されると
ともに、レジスタ群2の入力側はデータバスDB3に接
続されている。データバスDB1には第1及び第2の被
演算数レジスタ4,5が接続され、データバスDB2に
は第1及び第2の演算数レジスタ6,7が接続されてい
る。そして、第1及び第2の被演算数レジスタ4,5に
はそれぞれAND回路12,13が接続され、各レジス
タ4,5はAND回路12,13から出力されるラッチ
制御信号LC1,LC2に基づいて被演算数を保持す
る。又、第1及び第2の演算数レジスタ6,7にはそれ
ぞれAND回路14,15が接続され、各レジスタ6,
7はAND回路14,15から出力されるラッチ制御信
号LC1,LC2に基づいて演算数を保持する。
FIG. 1 shows a microcomputer 1 of this embodiment.
The output side of the register group 2 is connected to the data buses DB1 and DB2 via a plurality of switch buffers 3, and the input side of the register group 2 is connected to the data bus DB3. The data bus DB1 is connected to the first and second operand numbers registers 4 and 5, and the data bus DB2 is connected to the first and second operand numbers registers 6 and 7. AND circuits 12 and 13 are connected to the first and second operand numbers 4 and 5, respectively, and the registers 4 and 5 are based on the latch control signals LC1 and LC2 output from the AND circuits 12 and 13, respectively. Holds the operand. Further, AND circuits 14 and 15 are connected to the first and second operation number registers 6 and 7, respectively, and the respective register 6 and
Reference numeral 7 holds the number of operations based on the latch control signals LC1 and LC2 output from the AND circuits 14 and 15.

【0012】第1及び第2の被演算数レジスタ4,5に
は第1のセレクタ8が接続され、第1及び第2の演算数
レジスタ6,7には第2のセレクタ9が接続されてい
る。第1及び第2のセレクタ8,9には図示しない発振
器(クロックジェネレータ)から1命令サイクル毎に出
力される動作クロックT1(図2参照)が入力され、各
セレクタ8,9は動作クロックT1がHレベルである命
令サイクルの前半においてそれぞれ第2の被演算数レジ
スタ5及び第2の演算数レジスタ7を選択し、動作クロ
ックT1がLレベルである命令サイクルの後半において
それぞれ第1の被演算数レジスタ4及び第1の演算数レ
ジスタ6を選択するようになっている。
A first selector 8 is connected to the first and second operand operand registers 4 and 5, and a second selector 9 is connected to the first and second operand registers 6 and 7. There is. An operation clock T1 (see FIG. 2) output for each instruction cycle from an oscillator (clock generator) not shown is input to the first and second selectors 8 and 9, and the operation clock T1 is supplied to each of the selectors 8 and 9. The second operand number register 5 and the second operand number register 7 are selected in the first half of the H-level instruction cycle, and the first operand number is selected in the latter half of the instruction cycle in which the operation clock T1 is the L level. The register 4 and the first operation number register 6 are selected.

【0013】第1及び第2のセレクタ8,9には演算器
10が接続され、演算器10は第1及び第2のセレクタ
8,9から入力された被演算数及び演算数に基づいて算
術演算、例えば加算を行い、その演算結果を前記データ
バスDB3を介してレジスタ群2に転送するようになっ
ている。
An arithmetic unit 10 is connected to the first and second selectors 8 and 9, and the arithmetic unit 10 arithmetically operates based on the operands and the arithmetic numbers input from the first and second selectors 8 and 9. An operation such as addition is performed, and the operation result is transferred to the register group 2 via the data bus DB3.

【0014】コントローラ11は前記動作クロックT1
を入力し、動作クロックT1がHレベルの時にLレベル
となる制御信号CB1と、動作クロックT1がLレベル
の時にLレベルとなる制御信号CB2とを各スイッチバ
ッファ3に出力し、被演算数及び演算数をそれぞれデー
タバスDB1,DB2を介して転送させる。又、コント
ローラ11は演算器10に動作クロックT1がHレベル
の時の演算モードと、動作クロックT1がLレベルの時
の演算モードとを指定する制御信号M1を出力し、1命
令サイクルにおいて演算器10に2回加算処理を行わせ
るようになっている。
The controller 11 uses the operation clock T1.
Is input, and the control signal CB1 which becomes L level when the operation clock T1 is H level and the control signal CB2 which becomes L level when the operation clock T1 is L level are output to each switch buffer 3, and the number of operands and The calculated number is transferred via the data buses DB1 and DB2, respectively. Further, the controller 11 outputs to the arithmetic unit 10 a control signal M1 designating the arithmetic mode when the operation clock T1 is at the H level and the arithmetic mode when the operation clock T1 is at the L level, and the arithmetic unit in one instruction cycle. 10 is made to perform addition processing twice.

【0015】又、コントローラ11は動作クロックT1
がHレベルの時にHレベルとなる制御信号C1と、動作
クロックT1がLレベルの時にHレベルとなる制御信号
C2とを出力するようになっている。
Further, the controller 11 uses the operation clock T1.
The control signal C1 which becomes H level when is at H level and the control signal C2 which becomes H level when the operation clock T1 is at L level are output.

【0016】前記AND回路12,14はコントローラ
11の制御信号C1と動作クロックT1とを入力し、両
信号C1,T1が共にHレベルのときラッチ制御信号L
C1を出力するようになっている。又、AND回路1
3,15はインバータ16にて反転された動作クロック
バーT1を入力するとともにコントローラ11の制御信
号C2を入力し、両信号C2,バーT1が共にHレベル
のときラッチ制御信号LC2を出力するようになってい
る。
The AND circuits 12 and 14 receive the control signal C1 of the controller 11 and the operation clock T1, and when both signals C1 and T1 are at the H level, the latch control signal L is generated.
It outputs C1. Also, AND circuit 1
3 and 15 input the operation clock bar T1 inverted by the inverter 16 and the control signal C2 of the controller 11 and output the latch control signal LC2 when both signals C2 and T1 are at the H level. Is becoming

【0017】従って、上記マイクロコンピュータ1で
は、図2に示すように、動作クロックT1の立ち上がり
エッジが入力される各命令サイクルの前半においては、
第1の被演算数レジスタ4及び第1の演算数レジスタ6
にそれぞれ被演算数及び演算数が保持されるとともに、
第1及び第2のセレクタ8,9によりそれぞれ第2の被
演算数レジスタ5及び第2の演算数レジスタ7が選択さ
れる。そして、演算器10により被演算数レジスタ5の
被演算数と演算数レジスタ7の演算数とに基づいて算術
演算が実行される。
Therefore, in the microcomputer 1, as shown in FIG. 2, in the first half of each instruction cycle in which the rising edge of the operation clock T1 is input,
First operand number register 4 and first operand number register 6
The operands and operands are stored in
The second operand number register 5 and the second operand number register 7 are selected by the first and second selectors 8 and 9, respectively. Then, the arithmetic unit 10 executes an arithmetic operation based on the operand of the operand register 5 and the operand of the operand register 7.

【0018】又、動作クロックT1の立ち下がりエッジ
が入力される各命令サイクルの後半においては、第2の
被演算数レジスタ5及び第2の演算数レジスタ7にそれ
ぞれ被演算数及び演算数が保持されるとともに、第1及
び第2のセレクタ8,9によりそれぞれ第1の被演算数
レジスタ4及び第1の演算数レジスタ6が選択される。
そして、演算器10により被演算数レジスタ4の被演算
数と演算数レジスタ6の演算数とに基づいて算術演算が
実行される。
In the latter half of each instruction cycle when the falling edge of the operation clock T1 is input, the second operand number register 5 and the second operand number register 7 hold the operand number and the operand number, respectively. At the same time, the first and second selectors 8 and 9 select the first operand number register 4 and the first operand number register 6, respectively.
Then, the arithmetic unit 10 executes an arithmetic operation based on the operand of the operand register 4 and the operand of the operand register 6.

【0019】このように、本実施例では動作クロックT
1を高速化させなくても、各命令サイクルの前半及び後
半において2回の演算を実行でき、マイクロコンピュー
タ1を高速化することができる。又、動作クロックT1
を高速化させずに済むため、消費電力の低減及びノイズ
の低減を図ることができる。
As described above, in this embodiment, the operation clock T
Even if 1 is not speeded up, the operation can be performed twice in the first half and the second half of each instruction cycle, and the microcomputer 1 can be speeded up. Also, the operation clock T1
Since it is not necessary to increase the speed, it is possible to reduce power consumption and noise.

【0020】[第2実施例]次に第2実施例を図3,図
4に従って説明する。図3はマイクロコンピュータ20
を示し、本実施例におけるレジスタ群2の出力側はデー
タバスDB1,DB2に接続されるとともに、入力側は
データバスDB3に接続されている。演算器21はデー
タバスDB1,DB2に接続され、演算器21は両デー
タバスDB1,DB2を介してレジスタ群2から転送さ
れる被演算数A及び演算数Bに基づいて算術演算、例え
ば加算を行うようになっている。
[Second Embodiment] Next, a second embodiment will be described with reference to FIGS. FIG. 3 shows a microcomputer 20.
The output side of the register group 2 in this embodiment is connected to the data buses DB1 and DB2, and the input side is connected to the data bus DB3. The arithmetic unit 21 is connected to the data buses DB1 and DB2, and the arithmetic unit 21 performs arithmetic operation, for example addition, on the basis of the operand number A and the arithmetic number B transferred from the register group 2 via both data buses DB1 and DB2. I am supposed to do it.

【0021】コントローラ26は図示しない発振器(ク
ロックジェネレータ)から1命令サイクル毎に出力され
る動作クロックT1(図4参照)を入力し、動作クロッ
クT1がHレベルの時の演算モードと動作クロックT1
がLレベルの時の演算モードとを指定する制御信号M1
を演算器21に出力し、1命令サイクルにおいて演算器
10に2回加算処理を行わせるようになっている。
The controller 26 inputs an operation clock T1 (see FIG. 4) output for each instruction cycle from an oscillator (clock generator) not shown, and the operation mode and the operation clock T1 when the operation clock T1 is at H level.
Control signal M1 designating the operation mode when L is at L level
Is output to the arithmetic unit 21 to cause the arithmetic unit 10 to perform addition processing twice in one instruction cycle.

【0022】又、コントローラ26は動作クロックT1
がHレベルの時にLレベルとなる制御信号CB1をスイ
ッチバッファ24に出力するとともに、動作クロックT
1がLレベルの時にLレベルとなる制御信号CB2をス
イッチバッファ25に出力するようになっている。又、
コントローラ26は動作クロックT1がHレベルの時に
Hレベルとなる制御信号C1をAND回路27に出力す
るとともに、動作クロックT1がLレベルの時にHレベ
ルとなる制御信号C2をAND回路28に出力出力する
ようになっている。
Further, the controller 26 uses the operation clock T1.
Outputs a control signal CB1 which becomes L level when is at H level, and outputs the operation clock T
When 1 is L level, the control signal CB2 which becomes L level is output to the switch buffer 25. or,
The controller 26 outputs a control signal C1 which becomes H level when the operation clock T1 is H level to the AND circuit 27, and outputs a control signal C2 which becomes H level when the operation clock T1 is L level to the AND circuit 28. It is like this.

【0023】AND回路27はコントローラ26の制御
信号C1と動作クロックT1とを入力し、両信号C1,
T1が共にHレベルのときラッチ制御信号LC1を第1
の出力レジスタ22に出力する。又、AND回路28は
インバータ29にて反転された動作クロックバーT1を
入力するとともにコントローラ26の制御信号C2を入
力し、両信号C2,バーT1が共にHレベルのときラッ
チ制御信号LC2を第2の出力レジスタ23に出力する
ようになっている。
The AND circuit 27 inputs the control signal C1 of the controller 26 and the operation clock T1 and outputs both signals C1 and C1.
When both T1 are at the H level, the latch control signal LC1 is set to the first
To the output register 22 of. Further, the AND circuit 28 inputs the operation clock bar T1 inverted by the inverter 29 and the control signal C2 of the controller 26. When both the signals C2 and T1 are at the H level, the latch control signal LC2 is set to the second level. To the output register 23.

【0024】演算器21の出力側には第1及び第2の出
力レジスタ22,23が接続され、各出力レジスタ2
2,23はそれぞれスイッチバッファ24,25を介し
てデータバスDB3に接続されている。第1の出力レジ
スタ22はAND回路27からのラッチ制御信号LC1
に基づいて演算器21の演算結果を保持し、第2の出力
レジスタ23はAND回路28からのラッチ制御信号L
C2に基づいて演算器21の演算結果を保持するように
なっている。
First and second output registers 22 and 23 are connected to the output side of the computing unit 21, and each output register 2
2 and 23 are connected to the data bus DB3 via switch buffers 24 and 25, respectively. The first output register 22 receives the latch control signal LC1 from the AND circuit 27.
The second output register 23 holds the calculation result of the calculator 21 based on the
The calculation result of the calculator 21 is held based on C2.

【0025】スイッチバッファ24はコントローラ26
から入力される制御信号CB1がLレベルのとき、第1
の出力レジスタ22に保持された演算結果をデータバス
DB3を介してレジスタ群2に転送し、スイッチバッフ
ァ25はコントローラ26から入力される制御信号CB
2がLレベルのとき、第2の出力レジスタ23に保持さ
れた演算結果をデータバスDB3を介してレジスタ群2
に転送するようになっている。
The switch buffer 24 is a controller 26.
When the control signal CB1 input from the
Of the calculation result held in the output register 22 of the switch buffer 25 is transferred to the register group 2 via the data bus DB3, and the switch buffer 25 receives the control signal CB input from the controller 26.
2 is at the L level, the calculation result held in the second output register 23 is transferred to the register group 2 via the data bus DB3.
It is supposed to be transferred to.

【0026】従って、上記マイクロコンピュータ20で
は、図4に示すように、動作クロックT1の立ち上がり
エッジ及び立ち下がりエッジが入力される各命令サイク
ルの前半及び後半において演算器21により2回の算術
演算、例えば加算が実行される。
Therefore, in the microcomputer 20, as shown in FIG. 4, the arithmetic unit 21 performs two arithmetic operations in the first half and the second half of each instruction cycle in which the rising edge and the falling edge of the operation clock T1 are input. For example, addition is executed.

【0027】そして、各命令サイクルの前半において第
1の出力レジスタ22に演算器21の演算結果が保持さ
れるとともに、第2の出力レジスタ23に保持された演
算結果がデータバスDB3を介してレジスタ群2に転送
される。又、各命令サイクルの後半において第2の出力
レジスタ23に演算器21の演算結果が保持されるとと
もに、第1の出力レジスタ22に保持された演算結果が
データバスDB3を介してレジスタ群2に転送される。
In the first half of each instruction cycle, the operation result of the arithmetic unit 21 is held in the first output register 22 and the operation result held in the second output register 23 is registered via the data bus DB3. Transferred to group 2. In the latter half of each instruction cycle, the operation result of the arithmetic unit 21 is held in the second output register 23, and the operation result held in the first output register 22 is stored in the register group 2 via the data bus DB3. Transferred.

【0028】このように、本実施例においても動作クロ
ックT1を高速化させずに各命令サイクルの前半及び後
半において2回の演算を実行でき、マイクロコンピュー
タ20を高速化することができる。又、動作クロックT
1を高速化させずに済むため、消費電力の低減及びノイ
ズの低減を図ることができる。
As described above, also in this embodiment, the operation can be performed twice in the first half and the second half of each instruction cycle without increasing the operation clock T1, and the microcomputer 20 can be increased in speed. Also, the operation clock T
1 does not need to be speeded up, so power consumption and noise can be reduced.

【0029】[0029]

【発明の効果】以上詳述したように、本発明によれば、
動作クロックを高速化させずに消費電力の低減及びノイ
ズの低減を図りつつ、マイクロコンピュータを高速化で
きる優れた効果がある。
As described in detail above, according to the present invention,
There is an excellent effect that the speed of the microcomputer can be increased while reducing the power consumption and the noise without increasing the speed of the operation clock.

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

【図1】第1実施例のマイクロコンピュータを示すブロ
ック図である。
FIG. 1 is a block diagram showing a microcomputer of a first embodiment.

【図2】第1実施例の作用を示すタイミングチャートで
ある。
FIG. 2 is a timing chart showing the operation of the first embodiment.

【図3】第2実施例のマイクロコンピュータを示すブロ
ック図である。
FIG. 3 is a block diagram showing a microcomputer of a second embodiment.

【図4】第2実施例の作用を示すタイミングチャートで
ある。
FIG. 4 is a timing chart showing the operation of the second embodiment.

【図5】従来のマイクロコンピュータを示すブロック図
である。
FIG. 5 is a block diagram showing a conventional microcomputer.

【図6】従来例の作用を示すタイミングチャートであ
る。
FIG. 6 is a timing chart showing the operation of the conventional example.

【符号の説明】[Explanation of symbols]

4 第1の被演算数レジスタ 5 第2の被演算数レジスタ 6 第1の演算数レジスタ 7 第2の演算数レジスタ 8 第1のセレクタ 9 第2のセレクタ 10,21 演算器 11,26 コントローラ 22 第1の出力レジスタ 23 第2の出力レジスタ 4 1st operand number register 5 2nd operand number register 6 1st operand number register 7 2nd operand number register 8 1st selector 9 2nd selector 10, 21 arithmetic unit 11, 26 controller 22 First output register 23 Second output register

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 被演算数を保持しその保持した被演算数
を出力する第1及び第2の被演算数レジスタ(4,5)
と、 演算数を保持しその保持した演算数を出力する第1及び
第2の演算数レジスタ(6,7)と、 第1又は第2の被演算数レジスタ(4,5)のいずれか
一方を選択してそのレジスタに保持された被演算数を出
力する第1のセレクタ(8)と、 第1又は第2の演算数レジスタ(6,7)のいずれか一
方を選択してそのレジスタに保持された演算数を出力す
る第2のセレクタ(9)と、 第1のセレクタ(8)にて選択された被演算数と第2の
セレクタ(9)にて選択された演算数とを入力し算術演
算を行う演算器(10)と、 命令サイクルの前半及び後半において算術演算が行われ
るように演算器(10)を制御し、それぞれ一方の被演
算数レジスタ及び演算数レジスタが選択されるように第
1及び第2のセレクタ(8,9)を制御するとともに、
第1及び第2のセレクタ(8,9)にて選択されない他
方の被演算数レジスタ及び演算数レジスタに別の被演算
数及び演算数が保持されるように他方の被演算数レジス
タ及び演算数レジスタを制御するコントローラ(11)
とを備えることを特徴とするマイクロコンピュータ。
1. A first and second operand number register (4, 5) for holding an operand and outputting the retained operand.
One of the first and second operation number registers (6, 7) that holds the operation number and outputs the held operation number, and either the first or second operand number register (4, 5) To select the first selector (8) for outputting the operand to be held in the register and the first or second operand register (6, 7) to select that register. A second selector (9) for outputting the held operation number, an operand to be selected by the first selector (8) and an operation number selected by the second selector (9) are input. And an arithmetic unit (10) for performing arithmetic operation and an arithmetic unit (10) for performing arithmetic operation in the first half and the latter half of the instruction cycle, and one operand number register and one arithmetic number register are selected respectively. When the first and second selectors (8, 9) are controlled as Moni,
The other operand number register and the operand number so that the other operand number and the operand number register not selected by the first and second selectors (8, 9) hold another operand number and operand number, respectively. Controller for controlling registers (11)
A microcomputer comprising:
【請求項2】 被演算数と演算数とを入力し算術演算を
行う演算器(21)と、 演算器の演算結果を保持しその保持した演算結果を出力
する第1及び第2の出力レジスタ(22,23)と、 命令サイクルの前半及び後半においてそれぞれ算術演算
が行われるように演算器(21)を制御するとともに、
命令サイクルの前半及び後半における演算結果が異なる
出力レジスタに保持されるように第1及び第2の出力レ
ジスタ(22,23)を制御するコントローラ(26)
とを備えることを特徴とするマイクロコンピュータ。
2. An arithmetic unit (21) for inputting an operand and an arithmetic number to perform an arithmetic operation, and first and second output registers for retaining an arithmetic result of the arithmetic unit and outputting the retained arithmetic result. (22, 23) and the arithmetic unit (21) is controlled so that arithmetic operations are performed in the first half and the second half of the instruction cycle, respectively, and
A controller (26) for controlling the first and second output registers (22, 23) so that the operation results in the first half and the second half of the instruction cycle are held in different output registers.
A microcomputer comprising:
JP3232771A 1991-09-12 1991-09-12 Microcomputer Withdrawn JPH0573297A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3232771A JPH0573297A (en) 1991-09-12 1991-09-12 Microcomputer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3232771A JPH0573297A (en) 1991-09-12 1991-09-12 Microcomputer

Publications (1)

Publication Number Publication Date
JPH0573297A true JPH0573297A (en) 1993-03-26

Family

ID=16944487

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3232771A Withdrawn JPH0573297A (en) 1991-09-12 1991-09-12 Microcomputer

Country Status (1)

Country Link
JP (1) JPH0573297A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8374606B2 (en) 2003-01-20 2013-02-12 Kyocera Corporation Wireless communication terminal and handoff determination method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8374606B2 (en) 2003-01-20 2013-02-12 Kyocera Corporation Wireless communication terminal and handoff determination method

Similar Documents

Publication Publication Date Title
US4592005A (en) Masked arithmetic logic unit
US4757444A (en) Vector processor capable of performing iterative processing
JPH02226336A (en) Digital signal processing device
KR0134659B1 (en) High speed test pattern generator
JPH0573297A (en) Microcomputer
JP2002229970A (en) Simd product sum operation method, sum of product sum arithmetic circuit and semiconductor integrated circuit device
JP2888206B2 (en) Data processing device
US6038660A (en) Method and apparatus for updating a program counter
JPH05282161A (en) Information processor
JPH0683618A (en) Flag control circuit
JPH04364525A (en) Parallel arithmetic unit
JPH06161708A (en) Floating point arithmetic unit
JPS607531A (en) Logical simulation device
JPH0661078B2 (en) Computer synchronization method
JPH04330519A (en) Multiplier
JPH05150944A (en) Digital signal processor
JPS58199495A (en) Data processor
JPS60107175A (en) Vector processor
JPS6320535A (en) Information processor
JPH06314253A (en) Data transfer circuit
JPS63303425A (en) Arithmetic unit
JPH05143289A (en) Adder circuit
JPH0520063A (en) Address calculation device for integrated circuit microprocessor
JPH1040168A (en) Data processor
JPH10143354A (en) Dsp, and maximum and minimum value detector suiting it

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 19981203