JPH0713755A - Instruction decoding device - Google Patents

Instruction decoding device

Info

Publication number
JPH0713755A
JPH0713755A JP15508193A JP15508193A JPH0713755A JP H0713755 A JPH0713755 A JP H0713755A JP 15508193 A JP15508193 A JP 15508193A JP 15508193 A JP15508193 A JP 15508193A JP H0713755 A JPH0713755 A JP H0713755A
Authority
JP
Japan
Prior art keywords
instruction
output
clock
state
microinstruction
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
JP15508193A
Other languages
Japanese (ja)
Inventor
Koichi Koga
弘一 古賀
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 Holdings Corp
Original Assignee
Matsushita Electric Industrial Co 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 Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP15508193A priority Critical patent/JPH0713755A/en
Publication of JPH0713755A publication Critical patent/JPH0713755A/en
Pending legal-status Critical Current

Links

Landscapes

  • Executing Machine-Instructions (AREA)

Abstract

PURPOSE:To reduce the power consumption of an instruction decoding device by using a clock output selector circuit which divides a microinstruction storing ROM into plural blocks and at the same time selects a relevant block out of the ROM when a microinstruction is carried out to supply a clock only to the selected block. CONSTITUTION:The instruction register output 5 and the state register output 6 serve as the address inputs of microinstruction storing ROM 3-1-3-n. The output 6 is also supplied to a clock output selector circuit 11, and the circuit 11 decodes the output 6 and selects an output destination corresponding to the state register value out of clock signals 12-1-12-n to supply it to a clock CK 9. The supply of clocks is continuously stopped to the clock output signals other than the selected one. Then an operating clock is supplied only to a microinstruction storing ROM 3-q corresponding to the executing state value by the signals 12-1-12-n.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、マイクロコンピュータ
内部の命令解読装置に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an instruction decoding device inside a microcomputer.

【0002】[0002]

【従来の技術】近年、産業、家電分野でのマイクロコン
ピュータ応用システムの設計においては、低消費電力化
が重要な問題の一つとなってきている。このシステムの
低消費電力化実現のためには、システムの中心となるマ
イクロコンピュータの低消費電力化が重要な鍵となる。
2. Description of the Related Art In recent years, low power consumption has become an important issue in the design of microcomputer application systems in the fields of industry and home appliances. In order to realize low power consumption of this system, low power consumption of the microcomputer, which is the center of the system, is an important key.

【0003】図4は、従来のマイクロコンピュータ内部
の命令解読装置の構成を示すブロック図である。図4
中、1は命令レジスタである。2は命令の実行ステート
値を保持するステートレジスタである。3は命令の動作
を記述するマイクロ命令を記憶するマイクロ命令格納R
OMである。4は命令レジスタへの命令入力信号であ
る。5は命令レジスタの出力信号である。6はステート
レジスタ出力である。前記命令レジスタ出力信号5と前
記ステートレジスタ出力6とによりマイクロ命令格納R
OM上のアドレスが指定される。7はマイクロ命令格納
ROMの出力信号でありマイクロコンピュータの他ブロ
ックの動作を指示するマイクロ命令出力信号である。8
もまたマイクロ命令格納ROMの出力信号であり、次の
実行ステートのステート値を示す次実行ステート信号で
ある。また9は命令解読部の動作クロックCKである。
前記次実行ステート信号8は前記動作クロックCK9に
同期して、前記ステートレジスタ2にラッチされる。ま
た10は命令ラッチ許可信号であり、前記ステートレジ
スタ2に命令の第1ステートを示すステートの初期値が
セットされたときのみオンとなる。
FIG. 4 is a block diagram showing the structure of a conventional instruction decoding device inside a microcomputer. Figure 4
Medium 1 is an instruction register. Reference numeral 2 is a state register that holds the execution state value of the instruction. 3 is a microinstruction storage R for storing microinstructions that describe the operation of the instruction
OM. Reference numeral 4 is an instruction input signal to the instruction register. Reference numeral 5 is an output signal of the instruction register. Reference numeral 6 is a state register output. The instruction register output signal 5 and the state register output 6 are used to store a micro instruction R
The address on the OM is specified. Reference numeral 7 is an output signal of the microinstruction storage ROM, which is a microinstruction output signal for instructing the operation of another block of the microcomputer. 8
Is also the output signal of the microinstruction storage ROM and the next execution state signal indicating the state value of the next execution state. Further, 9 is an operation clock CK of the instruction decoding unit.
The next execution state signal 8 is latched in the state register 2 in synchronization with the operation clock CK9. An instruction latch enable signal 10 is turned on only when the initial value of the state indicating the first state of the instruction is set in the state register 2.

【0004】また、図5は前記命令解読装置の命令格納
ROMのアドレス指定フィールド、出力フィールドの構
成を示した構成図である。アドレス指定フィールドはi
ビットの命令入力、jビットの実行ステート値、また出
力フィールドは、mビットのマイクロ命令出力、pビッ
トの次実行ステート値から成る。
FIG. 5 is a block diagram showing the structure of the address designation field and output field of the instruction storage ROM of the instruction decoding device. The addressing field is i
The instruction input of bits, the execution state value of j bits, and the output field consist of the microinstruction output of m bits and the next execution state value of p bits.

【0005】以上のように構成された従来の命令解読装
置について、以下その動作を説明する。
The operation of the conventional instruction decoder constructed as above will be described below.

【0006】一般にマイクロコンピュータに対する命令
は、マイクロコンピュータ内部では、基本クロックに同
期した複数のステートからなるマイクロ命令として実行
される。このマイクロ命令を記憶しているのが図4にお
いて、マイクロ命令格納ROM3であり、また実行ステ
ート値を記憶しているのがステートレジスタ2である。
今、ある命令が命令解読部で解読されているとすると、
その命令解読の最終ステートでマイクロ命令格納ROM
3の次実行ステート信号8には命令の第1ステートを示
すステートの初期値が出力される。この次実行ステート
信号8によりステートレジスタ2はクロックCK9に同
期して次ステートで初期値がセットされる。また、命令
ラッチ許可信号10はオンになり、この命令ラッチ許可
信号10により命令レジスタ1では命令入力信号4より
新しい命令をラッチする。また、マイクロ命令格納RO
M3では、マイクロ命令格納ROM全体に対して動作ク
ロックCK9が供給され、命令レジスタ出力5とステー
トレジスタ出力6により指定されるアドレス内容である
命令の最初のステートのマイクロ命令がクロックCK9
に同期してマイクロ命令出力7より出力される。同時
に、次実行ステート信号8に命令の第2ステートのステ
ート値が出力され、クロックCK9に同期して次サイク
ルにおいてステートレジスタ2にセットされる。次サイ
クルでは同様にマイクロ命令格納ROM3からその命令
の第2ステートのマイクロ命令が出力される。同様の動
作がその命令を形成するマイクロ命令のステート数の回
数繰り返される。
In general, an instruction to a microcomputer is executed as a microcomputer instruction having a plurality of states synchronized with a basic clock inside the microcomputer. In FIG. 4, the microinstruction is stored in the microinstruction storage ROM 3, and the state register 2 stores the execution state value.
Now, if an instruction is decoded by the instruction decoding unit,
Micro instruction storage ROM in the final state of instruction decoding
As the next execution state signal 8 of 3, the initial value of the state indicating the first state of the instruction is output. The next execution state signal 8 causes the state register 2 to set an initial value in the next state in synchronization with the clock CK9. Also, the instruction latch enable signal 10 is turned on, and the instruction latch enable signal 10 causes the instruction register 1 to latch a newer instruction than the instruction input signal 4. In addition, micro instruction storage RO
In M3, the operating clock CK9 is supplied to the entire microinstruction storage ROM, and the microinstruction in the first state of the instruction having the address contents designated by the instruction register output 5 and the state register output 6 is clocked by the clock CK9.
Is output from the microinstruction output 7 in synchronism with. At the same time, the state value of the second state of the instruction is output to the next execution state signal 8 and set in the state register 2 in the next cycle in synchronization with the clock CK9. In the next cycle, similarly, the microinstruction storing ROM 3 outputs the microinstruction in the second state of the instruction. The same operation is repeated as many times as the number of states of the microinstruction forming the instruction.

【0007】[0007]

【発明が解決しようとする課題】前記従来のプリチャー
ジ方式のマイクロ命令格納ROMを有する命令解読装置
は、マイクロ命令格納ROM全体に対して常時、動作ク
ロックCK9が供給されるため消費電力が大きくなると
いう課題があった。
In the instruction decoding device having the conventional precharge type micro instruction storage ROM, the operation clock CK9 is constantly supplied to the entire micro instruction storage ROM, resulting in a large power consumption. There was a problem.

【0008】本発明は前記従来の課題を解決するもの
で、プリチャージ方式のマイクロ命令格納ROMを有す
る命令解読装置の低消費電力化を実現することを目的と
する。
The present invention solves the above-mentioned conventional problems, and an object of the present invention is to realize low power consumption of an instruction decoding device having a precharge type micro instruction storage ROM.

【0009】[0009]

【課題を解決するための手段】本発明は前記目的を解決
するために、以下のような構成を有している。すなわ
ち、プリチャージ方式のマイクロ命令格納ROMを有す
るマイクロコンピュータの命令解読装置において、解読
される命令を保持する命令レジスタと、命令の実行ステ
ート値を保持するステートレジスタと、前記命令レジス
タの出力と前記ステートレジスタの出力とによりアドレ
ス指定される複数のブロックに分割されたマイクロ命令
格納ROMと、ステートレジスタの出力を解読するクロ
ック出力選択回路と、マイクロ命令実行時に前記マイク
ロ命令格納ROMから該当ブロックを選択し該当ブロッ
クにのみクロックを供給するクロック供給選択手段と、
クロックにより次マイクロ命令格納ブロック指定信号を
次のステート期間中保持するレジスタ回路とを備えるこ
とを特徴とする。具体的にはマイクロ命令格納ROMを
複数のブロックに分割し、かつマイクロ命令実行時にマ
イクロ命令格納ROMから該当ブロックを選択し該当ブ
ロックにのみクロックを供給するクロック出力選択回路
を備えた回路構成を採用したものである。またマイクロ
命令格納ROMのブロック分割手段は、命令の実行ステ
ート値毎に分割するブロック分割手段であり、クロック
供給選択手段は、命令の実行ステート値を保持するステ
ートレジスタの出力を解読するクロック供給選択手段で
あることを特徴とする。またマイクロ命令格納ROMの
ブロック分割手段は、マイクロ命令格納ROMの格納デ
ータ内に次マイクロ命令の格納してあるブロックを示す
フィールドを設けて分割を行なうブロック分割手段であ
り、クロック供給選択手段は、該フィールドの出力を保
持回路により保持し、次サイクルで内容を解読して選択
するクロック供給選択手段であることを特徴とする。
The present invention has the following constitution in order to solve the above-mentioned object. That is, in a microcomputer instruction decoding device having a precharge type micro instruction storage ROM, an instruction register holding an instruction to be decoded, a state register holding an execution state value of the instruction, an output of the instruction register and the A microinstruction storage ROM divided into a plurality of blocks addressed by the output of the state register, a clock output selection circuit that decodes the output of the state register, and a corresponding block is selected from the microinstruction storage ROM when the microinstruction is executed. And a clock supply selecting means for supplying a clock only to the corresponding block,
And a register circuit for holding the next microinstruction storage block designating signal during the next state period by a clock. Specifically, a circuit configuration is adopted in which the microinstruction storage ROM is divided into a plurality of blocks, and when the microinstruction is executed, the corresponding block is selected from the microinstruction storage ROM and a clock output selection circuit that supplies a clock only to the corresponding block is adopted. It was done. The block dividing means of the microinstruction storage ROM is a block dividing means that divides each instruction execution state value, and the clock supply selecting means decodes the output of the state register that holds the instruction execution state value. It is a means. The block dividing means of the microinstruction storing ROM is a block dividing means for dividing the stored data of the microinstruction storing ROM by providing a field indicating a block in which the next microinstruction is stored, and the clock supply selecting means is A clock supply selecting means for holding the output of the field by a holding circuit and decoding and selecting the contents in the next cycle.

【0010】[0010]

【作用】前記構成により、プリチャージ方式のマイクロ
命令格納ROMを有するマイクロコンピュータの命令解
読装置において、複数に分割されたマイクロ命令格納R
OMのうち該当ブロックにのみ動作クロックを供給し動
作させるため、低消費電力化が実現できる。
With the above construction, in the instruction decoding device of the microcomputer having the precharge type microinstruction storing ROM, the microinstruction storing R divided into a plurality of pieces.
Since the operation clock is supplied to only the corresponding block in the OM to operate, low power consumption can be realized.

【0011】またマイクロ命令格納ROMを複数のブロ
ックに分割し、マイクロ命令の実行ステート値を指示す
るステートレジスタの出力を解読することによりマイク
ロ命令格納ブロックの選択が可能となる。
Further, the microinstruction storage block can be selected by dividing the microinstruction storage ROM into a plurality of blocks and decoding the output of the state register which indicates the execution state value of the microinstruction.

【0012】また命令実行の2ステート目以降は、任意
の複数ブロックにマイクロ命令格納ROMの分割を行な
えることができ、該フィールドの出力を保持回路により
保持し、次サイクルでこの内容を解読することにより効
果的なマイクロ命令格納ROMの分割、及びマイクロ命
令格納ブロックの選択が可能となる。
After the second state of instruction execution, the microinstruction storing ROM can be divided into arbitrary plural blocks, the output of the field is held by the holding circuit, and the contents are decoded in the next cycle. This enables effective division of the micro instruction storage ROM and selection of the micro instruction storage block.

【0013】[0013]

【実施例】以下、本発明の一実施例について図面を参照
しながら説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to the drawings.

【0014】まず第1の実施例について説明する。図1
は本発明の第1の実施例の命令解読装置の構成を示すブ
ロック図である。図1において図4と同じものには、同
じ符号1、2、3、4、5、6、7、8、9、10を付
してある。ただし3-1〜3-nは各々ブロック分割され
たマイクロ命令格納ROM3(マイクロ命令格納ROM
3-1〜マイクロ命令格納ROM3-n)であり、実行ステ
ート毎にブロック分割されている。11は該当ブロック
を選択し該当ブロックにのみ動作クロックを供給するク
ロック出力選択回路である。12-1〜12-nはクロッ
ク出力選択回路11のクロック出力信号1〜クロック出
力信号1-nであり、各々マイクロ命令ROM1〜マイク
ロ命令ROM1-nの動作クロックとなる。7-1〜7-n
は各マイクロ命令格納ROMブロック(3-1〜3-n)
のマイクロ命令出力、8-1〜8-nは各マイクロ命令格
納ROMブロック(3-1〜3-n)の次実行命令信号で
ある。
First, the first embodiment will be described. Figure 1
FIG. 1 is a block diagram showing a configuration of an instruction decoding device according to a first embodiment of the present invention. 1, the same parts as those in FIG. 4 are designated by the same reference numerals 1, 2, 3, 4, 5, 6, 7, 8, 9, 10. However, 3-1 to 3-n are micro-instruction storage ROM 3 (micro-instruction storage ROM 3) divided into blocks
3-1 to ROM 3 -n) for storing microinstructions, which are divided into blocks for each execution state. Reference numeral 11 is a clock output selection circuit that selects a corresponding block and supplies an operation clock only to the corresponding block. 12-1 to 12-n are the clock output signal 1 to the clock output signal 1-n of the clock output selection circuit 11, which are the operation clocks of the microinstruction ROM 1 to the microinstruction ROM 1-n, respectively. 7-1 to 7-n
Is a micro instruction storage ROM block (3-1 to 3-n)
, 8-1 to 8-n are the next execution instruction signals of the micro instruction storing ROM blocks (3-1 to 3-n).

【0015】以上のように構成された本実施例に係る命
令解読部について、以下その動作を説明する。
The operation of the instruction decoding unit according to this embodiment having the above-described structure will be described below.

【0016】今、ある命令の第qステート目(q=1〜
n)が命令解読部で解読されているとする。命令レジス
タ出力5およびステートレジスタ出力6はマイクロ命令
格納ROM3-1〜マイクロ命令格納ROM3-nのアドレ
ス入力となる。また、ステートレジスタ出力6はクロッ
ク出力選択回路11に入力される。クロック出力選択回
路11は前記ステートレジスタ出力6を解読して、ステ
ートレジスタ値に対応する出力先をクロック出力信号1
2-1〜12-nの中から1つ選択し、クロックCK9を
供給する。前記選択されたクロック出力信号以外のクロ
ック出力信号についてはクロックの供給は停止したまま
である。このクロック出力信号12-1〜12-nによ
り、実行ステート値に対応した該当マイクロ命令格納R
OM3-qにのみ動作クロックが供給される。これによ
り、該当ブロックのみマイクロ命令および次実行ステー
ト信号が、各々マイクロ命令出力7-q、次実行ステー
ト信号8-qから出力される。また該当ブロック以外の
マイクロ命令格納ROM3のマイクロ命令出力、および
次実行ステート信号はハイインピーダンス状態となり、
マイクロ命令出力7-qがマイクロ命令出力7に、次実
行ステート信号8-qが次実行ステート信号8に出力さ
れる。
Now, the qth state (q = 1 ...
It is assumed that n) has been decoded by the instruction decoding unit. The instruction register output 5 and the state register output 6 serve as address inputs of the micro instruction storage ROM 3-1 to the micro instruction storage ROM 3-n. Further, the state register output 6 is input to the clock output selection circuit 11. The clock output selection circuit 11 decodes the state register output 6 and outputs the output destination corresponding to the state register value to the clock output signal 1
One is selected from 2-1 to 12-n and the clock CK9 is supplied. For clock output signals other than the selected clock output signal, clock supply is still stopped. By the clock output signals 12-1 to 12-n, the corresponding micro instruction storage R corresponding to the execution state value is stored.
The operation clock is supplied only to OM3-q. As a result, the microinstruction and the next execution state signal are output from the microinstruction output 7-q and the next execution state signal 8-q only for the corresponding block. In addition, the microinstruction output of the microinstruction storage ROM 3 other than the corresponding block and the next execution state signal are in the high impedance state,
The micro instruction output 7-q is output to the micro instruction output 7 and the next execution state signal 8-q is output to the next execution state signal 8.

【0017】次のステートにおいては、クロックCK9
入力により前ステートの次実行ステート値がステートレ
ジスタにセットされ、同様に該当ブロックにのみ動作ク
ロックが供給され、該当ブロックのみ動作する。
In the next state, the clock CK9
The next execution state value of the previous state is set in the state register by the input, and similarly, the operation clock is supplied only to the corresponding block and only the corresponding block operates.

【0018】そして、その命令の最終ステートにおい
て、次実行ステート信号8に命令の第1ステートを示す
ステートの初期値が出力さる。そして、クロックCK9
に同期してステートレジスタは第1ステート値に初期
化、また、命令ラッチ許可信号10はオンとなり、新し
い命令が命令入力信号4から、命令レジスタ1にセット
される。以降、同様に次の命令に対応した一連のマイク
ロ命令のシーケンスが実行される。このように、マイク
ロ命令の格納先のブロックがステートレジスタ値により
特定できるため、該当ブロックのみの読みだし動作が可
能となる。
Then, in the final state of the instruction, the initial value of the state indicating the first state of the instruction is output to the next execution state signal 8. And clock CK9
In synchronization with, the state register is initialized to the first state value, the instruction latch enable signal 10 is turned on, and a new instruction is set in the instruction register 1 from the instruction input signal 4. Thereafter, a sequence of microinstructions corresponding to the next instruction is similarly executed. In this way, the block in which the microinstruction is stored can be specified by the state register value, so that the read operation of only that block is possible.

【0019】次に本発明の第2の実施例について説明す
る。図2は本発明の第2の実施例の命令解読装置の構成
を示すブロック図である。図2において図1、図4と同
じものには、同じ符号1、2、3-1〜3-n、4、5、
6、7、7-1〜7-n、8、8-1〜8-n、9、11、
12-1〜12-n、10を付してある。13(13-1
〜13-n)はマイクロ命令格納ROMの出力であり、
次ステートの格納ブロックを表す次マイクロ命令格納ブ
ロック指定信号である。14はレジスタ回路であり、ク
ロックCK9により次マイクロ命令格納ブロック指定信
号13を次のステート期間中保持する。
Next, a second embodiment of the present invention will be described. FIG. 2 is a block diagram showing the configuration of the instruction decoding device according to the second embodiment of the present invention. 2 that are the same as those in FIGS. 1 and 4 have the same reference numerals 1, 2, 3-1 to 3-n, 4, 5,
6, 7, 7-1 to 7-n, 8, 8-1 to 8-n, 9, 11,
12-1 to 12-n and 10 are attached. 13 (13-1
13-n) is the output of the micro instruction storage ROM,
It is a next microinstruction storage block designating signal indicating a storage block in the next state. Reference numeral 14 is a register circuit, which holds the next micro instruction storage block designating signal 13 during the next state period by the clock CK9.

【0020】図3は前記命令解読装置の命令格納ROM
のアドレス指定フィールド、出力フィールドの構成を示
したものであり、アドレス指定フィールドはiビットの
命令入力、jビットの実行ステート値、また出力フィー
ルドは、mビットのマイクロ命令出力、nビットの次マ
イクロ命令格納ブロック指定ビット、pビットの次実行
ステート信号から成る。次マイクロ命令格納ブロック指
定ビットは次に実行するマイクロ命令の格納先ブロック
を指定するビットであり、命令の最終ステート(第kス
テート)においては、各命令で共通の第1ステートの格
納先ブロックを指定する。第1ステート〜第k-1ステ
ートにおいては、任意の次マイクロ命令格納先ブロック
を指定することが可能である。
FIG. 3 shows an instruction storage ROM of the instruction decoding device.
Of the address specification field and output field, the address specification field is i-bit instruction input, j-bit execution state value, and the output field is m-bit microinstruction output, n-bit next micro. An instruction storage block designating bit and a p-bit next execution state signal. The next microinstruction storage block designating bit is a bit that designates a storage destination block of a microinstruction to be executed next. In the final state (kth state) of the instruction, the storage destination block of the first state common to each instruction is set. specify. In the first state to the (k-1) th state, it is possible to specify an arbitrary next micro instruction storage destination block.

【0021】以上のように構成された本実施例に係る命
令解読部について、以下その動作を説明する。
The operation of the instruction decoding unit according to this embodiment having the above-described structure will be described below.

【0022】今、ある命令の第qステート目が命令解読
部で解読されているとする。命令レジスタ出力5および
ステートレジスタ出力6はマイクロ命令格納ROM3-1
〜マイクロ命令格納ROM3-nのアドレス入力となる。
またレジスタ回路14は一つ前の実行ステートの次マイ
クロ命令格納ブロック指定信号13の内容を保持してお
り、前記レジスタ回路14の出力がクロック出力選択回
路11に入力される。クロック出力選択回路11は前記
レジスタ回路14の出力を解読して、1ステート前の次
マイクロ命令格納ブロック指定ビット値に対応する出力
先をクロック出力信号12-1〜12-nの中から1つ選
択し、クロックCK9を供給する。前記選択されたクロ
ック出力信号以外のクロック出力信号についてはクロッ
クの供給は停止したままである。このクロック出力信号
12-1〜12-nにより、1ステート前の次マイクロ命
令格納ブロック指定信号に対応した該当マイクロ命令格
納ROMq(q=1〜n)にのみ動作クロックが供給さ
れる。これにより、該当ブロックのみマイクロ命令、次
マイクロ命令格納ブロック指定ビット、および次実行ス
テート信号が、各々マイクロ命令出力7-q、次マイク
ロ命令格納ブロック指定信号13-q、および次実行ス
テート信号8-qから出力、また該当ブロック以外のマ
イクロ命令格納ROM3のマイクロ命令出力、次マイク
ロ命令格納ブロック指定信号、および次実行ステート信
号はハイインピーダンス状態となる。よって、マイクロ
命令出力7-qがマイクロ命令出力7に、次マイクロ命
令格納ブロック指定信号13-qが次マイクロ命令格納
ブロック指定信号13に、そして次実行ステート信号8
-qが次実行ステート信号8に出力される。次のステー
トにおいては、クロックCK9入力により一つ前のステ
ートの次実行ステート信号8がステートレジスタにラッ
チされ、前記と同様に、該当ブロックにのみ動作クロッ
クが供給され、該当ブロックのみ動作する。
Now, it is assumed that the qth state of an instruction is decoded by the instruction decoding unit. The instruction register output 5 and the state register output 6 are the micro instruction storage ROM 3-1.
~ Address input to microinstruction storage ROM 3-n.
The register circuit 14 holds the content of the next micro instruction storage block designating signal 13 in the previous execution state, and the output of the register circuit 14 is input to the clock output selection circuit 11. The clock output selection circuit 11 decodes the output of the register circuit 14 and selects one of the clock output signals 12-1 to 12-n as the output destination corresponding to the bit value of the next microinstruction storage block designated by one state. Select and supply clock CK9. For clock output signals other than the selected clock output signal, clock supply is still stopped. By the clock output signals 12-1 to 12-n, the operation clock is supplied only to the corresponding microinstruction storage ROMq (q = 1 to n) corresponding to the next microinstruction storage block designating signal of one state before. As a result, the microinstruction, the next microinstruction storage block designating bit, and the next execution state signal only for the corresponding block are the microinstruction output 7-q, the next microinstruction storage block designating signal 13-q, and the next execution state signal 8-, respectively. The output from q, the microinstruction output of the microinstruction storage ROM 3 other than the corresponding block, the next microinstruction storage block designating signal, and the next execution state signal are in the high impedance state. Therefore, the microinstruction output 7-q becomes the microinstruction output 7, the next microinstruction storage block designating signal 13-q becomes the next microinstruction storage block designating signal 13, and the next execution state signal 8
-q is output to the next execution state signal 8. In the next state, the next execution state signal 8 of the previous state is latched in the state register by the input of the clock CK9, and the operation clock is supplied only to the corresponding block and only the corresponding block operates as described above.

【0023】そして、その命令の最終ステートにおい
て、次実行ステート信号8に命令の第1ステートを示す
ステートの初期値が出力される。また、次マイクロ命令
格納ブロック指定信号13は第1ステートの格納先ブロ
ックを出力する。そして次のステートにおいて次実行ス
テート信号8により、クロックCK9に同期してステー
トレジスタは初期化、また命令ラッチ許可信号10はオ
ンになり、新しい命令が命令入力信号4から命令レジス
タ1にセットされる。また、レジスタ回路14は第1ス
テートの格納先ブロック番号を出力し、クロック出力選
択回路11により第1ステートの格納先ブロックにのみ
動作クロックが供給され、該ブロックのみ動作する。
Then, in the final state of the instruction, the initial value of the state indicating the first state of the instruction is output to the next execution state signal 8. Further, the next micro instruction storage block designating signal 13 outputs the storage destination block in the first state. Then, in the next state, the state register is initialized by the next execution state signal 8 in synchronization with the clock CK9, the instruction latch enable signal 10 is turned on, and a new instruction is set in the instruction register 1 from the instruction input signal 4. . Further, the register circuit 14 outputs the storage block number of the first state, and the clock output selection circuit 11 supplies the operation clock only to the storage block of the first state, so that only the block operates.

【0024】以降、同様に次の命令に対応した一連のマ
イクロ命令のシーケンスが実行される。このように、命
令実行の2ステート目以降は、任意の複数ブロックにマ
イクロ命令格納ROMの分割を行なえることができ、該
フィールドの出力を保持回路により保持し、次サイクル
でこの内容を解読することにより効果的なマイクロ命令
格納ROMの分割、及びマイクロ命令格納ブロックの選
択が可能となる。
Thereafter, a sequence of micro-instructions corresponding to the next instruction is similarly executed. As described above, after the second state of instruction execution, the micro instruction storage ROM can be divided into arbitrary plural blocks, the output of the field is held by the holding circuit, and the contents are decoded in the next cycle. This enables effective division of the micro instruction storage ROM and selection of the micro instruction storage block.

【0025】[0025]

【発明の効果】以上の実施例から明らかなように、本発
明によればプリチャージ方式のマイクロ命令格納ROM
を有するマイクロコンピュータの命令解読装置におい
て、動作クロックをマイクロ命令格納ROM全体に供給
する必要がなく、該当ブロックにのみ供給することによ
り大幅な電力消費の低減を図ることが可能となる。
As is apparent from the above embodiments, according to the present invention, a precharge type micro instruction storage ROM is provided.
In the instruction decoding device of the microcomputer having the above, it is not necessary to supply the operation clock to the entire micro instruction storage ROM, and it is possible to significantly reduce the power consumption by supplying only the corresponding block.

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

【図1】本発明の第1の実施例の命令解読装置の構成を
示すブロック図
FIG. 1 is a block diagram showing a configuration of an instruction decoding device according to a first embodiment of the present invention.

【図2】本発明の第2の実施例の命令解読装置の構成を
示すブロック図
FIG. 2 is a block diagram showing a configuration of an instruction decoding device according to a second embodiment of the present invention.

【図3】本発明の第2の実施例の命令格納ROMのアド
レス指定フィールド、出力フィールドの構成を示す図
FIG. 3 is a diagram showing a configuration of an address designation field and an output field of an instruction storage ROM according to a second embodiment of the present invention.

【図4】従来の命令解読装置の回路構成を示すブロック
FIG. 4 is a block diagram showing a circuit configuration of a conventional instruction decoding device.

【図5】従来の命令格納ROMのアドレス指定フィール
ド、出力フィールドの構成を示す図
FIG. 5 is a diagram showing a configuration of an address designation field and an output field of a conventional instruction storage ROM.

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

1 命令レジスタ 2 ステートレジスタ 3 マイクロ命令格納ROM 4 命令入力信号 5 命令レジスタ出力信号 6 ステートレジスタ出力信号 7 マイクロ命令出力信号 8 次実行ステート信号 9 命令解読部動作クロックCK 10 命令ラッチ許可信号 11 クロック出力選択回路 12 クロック出力信号 13 次マイクロ命令格納ブロック指定信号 14 レジスタ回路 1 instruction register 2 state register 3 micro instruction storage ROM 4 instruction input signal 5 instruction register output signal 6 state register output signal 7 micro instruction output signal 8th execution state signal 9 instruction decoding unit operation clock CK 10 instruction latch enable signal 11 clock output Selection circuit 12 Clock output signal 13th micro instruction storage block designation signal 14 Register circuit

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】プリチャージ方式のマイクロ命令格納RO
Mを有するマイクロコンピュータの命令解読装置におい
て、解読される命令を保持する命令レジスタと、命令の
実行ステート値を保持するステートレジスタと、前記命
令レジスタの出力と前記ステートレジスタの出力とによ
りアドレス指定される複数のブロックに分割されたマイ
クロ命令格納ROMと、ステートレジスタの出力を解読
するクロック出力選択回路と、マイクロ命令実行時に前
記マイクロ命令格納ROMから該当ブロックを選択し該
当ブロックにのみクロックを供給するクロック供給選択
手段と、クロックにより次マイクロ命令格納ブロック指
定信号を次のステート期間中保持するレジスタ回路とを
備えることを特徴とする命令解読装置。
1. A precharge type micro instruction storage RO.
In a microcomputer instruction decoder having M, an instruction register holding an instruction to be decoded, a state register holding an execution state value of the instruction, an output of the instruction register and an output of the state register are addressed. Microinstruction storage ROM divided into a plurality of blocks, a clock output selection circuit for decoding the output of the state register, a corresponding block is selected from the microinstruction storage ROM when the microinstruction is executed, and a clock is supplied only to the corresponding block. An instruction decoding device comprising: a clock supply selecting means; and a register circuit which holds a next micro instruction storage block designating signal by a clock during a next state period.
JP15508193A 1993-06-25 1993-06-25 Instruction decoding device Pending JPH0713755A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP15508193A JPH0713755A (en) 1993-06-25 1993-06-25 Instruction decoding device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP15508193A JPH0713755A (en) 1993-06-25 1993-06-25 Instruction decoding device

Publications (1)

Publication Number Publication Date
JPH0713755A true JPH0713755A (en) 1995-01-17

Family

ID=15598244

Family Applications (1)

Application Number Title Priority Date Filing Date
JP15508193A Pending JPH0713755A (en) 1993-06-25 1993-06-25 Instruction decoding device

Country Status (1)

Country Link
JP (1) JPH0713755A (en)

Similar Documents

Publication Publication Date Title
CA2327606A1 (en) Count/address generation circuitry
JPS60167034A (en) Auxiliary control memory for upgrading performance of cpu pipeline
US4251862A (en) Control store organization in a microprogrammed data processing system
KR970066864A (en) Variable pipeline singular data processing unit
KR970005454B1 (en) Stored program controller with a conditional branch facility as for a video signal processor
US6826676B2 (en) Extending immediate operands across plural computer instructions with indication of how many instructions are used to store the immediate operand
US6643760B2 (en) Architecture to relax memory performance requirements
JPH04283834A (en) Address generator for data memory of processor
JPH0713755A (en) Instruction decoding device
JPH1091430A (en) Instruction decoding device
JP2979653B2 (en) Information processing device
JPS6391739A (en) Decoder for variable length instruction
AU623874B2 (en) Stored program controller with a conditional branch facility as for a video signal processor
JPH0713758A (en) Instruction decoding method
JP2004252556A (en) Information processor
JPH08237084A (en) Timing signal generating circuit
JP3517139B2 (en) Information processing equipment
JPH04305897A (en) Association memory device
JPH03288228A (en) Information processor
JPH06236680A (en) Memory device for serial address input and serial address generator
JPH09114779A (en) Wait control system for information processor
JPH0962505A (en) Address variable register
JPS62259145A (en) Generating device for algorithmic pattern
JPS63208942A (en) Microprogram memory circuit
JP2004199814A (en) Storage device, data processing device, and data processing method