[go: up one dir, main page]

JPH033037A - Microprogram control system - Google Patents

Microprogram control system

Info

Publication number
JPH033037A
JPH033037A JP13816689A JP13816689A JPH033037A JP H033037 A JPH033037 A JP H033037A JP 13816689 A JP13816689 A JP 13816689A JP 13816689 A JP13816689 A JP 13816689A JP H033037 A JPH033037 A JP H033037A
Authority
JP
Japan
Prior art keywords
microprogram
microinstructions
register
control
storing
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.)
Granted
Application number
JP13816689A
Other languages
Japanese (ja)
Other versions
JP3055139B2 (en
Inventor
Tomoji Nukiyama
抜山 知二
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 JP1138166A priority Critical patent/JP3055139B2/en
Publication of JPH033037A publication Critical patent/JPH033037A/en
Application granted granted Critical
Publication of JP3055139B2 publication Critical patent/JP3055139B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Abstract

PURPOSE:To shorten processing time without increasing the number of hardwares by providing a system with a registering means for storing a microinstruction and controlling the updating, storage and generation of the microinstruction stored in the register means to execute a microprogram. CONSTITUTION:The system is constituted of a microprogram control part 8 provided with a microprogram storing area 1 storing microinstructions, a microsequence control mechanism 2 for reading out the microinstructions in the previously set order and a register 3 for storing the read microinstructions and a controlled part 7 provided with D latches 4 to 6. The microprogram is executed by controlling the register 3 storing the contents of microinstructions mu4 to mu6 and the microinstructions mu4 to mu6 stored in the register 3 by microinstructions mu2, mu3. Consequently, the overhead or the like of processing time following the call branch and restoration of a subsequence in a microflow is reduced and rapid microprogram control can be attained by the compact constitution.

Description

【発明の詳細な説明】 産業上の利用分野 本発明は、マイクロプログラム制御方式に関する。より
詳細には、デジタル論理回路制御方式に関し、特に組合
せや順序論理回路を実現する手段としてゲートの開閉や
手順と言った基本動作、いわゆるマイクロオペレーショ
ンに対応するコード化された情報であるマイクロ命令を
予め記憶装置内に格納し、処理手順に従い読出されたマ
イクロ命令列であるマイクロプログラムに基づき回路動
作を規定するマイクロプログラム制御方式の構成に関す
る。
DETAILED DESCRIPTION OF THE INVENTION Field of the Invention The present invention relates to microprogram control systems. More specifically, regarding digital logic circuit control methods, micro instructions, which are coded information corresponding to so-called micro operations, are used as a means to realize combinational and sequential logic circuits. The present invention relates to the configuration of a microprogram control system that defines circuit operations based on a microprogram, which is a sequence of microinstructions stored in a storage device in advance and read out according to a processing procedure.

従来の技術 マイクロプログラム制御方式は、データ処理等に伴う一
連の動作、いわゆるマクロ動作をさらに細かな動作であ
るマイクロ動作に分解し、これらマイクロ動作を規定す
る情報コードであるマイクロ命令を定義し、このマイク
ロ命令を処理の順序に従って配列、実行することで手順
を要する処理など大きな動作を規定する手段である。
Conventional microprogram control methods break down a series of operations associated with data processing, so-called macro operations, into micro operations that are more detailed, and define micro instructions, which are information codes that specify these micro operations. By arranging and executing these microinstructions in accordance with the order of processing, it is a means of specifying large operations such as processing that requires steps.

ここで、定義されるマイクロ命令は種々の処理を実現す
る意味で共通性が望ましく、組合せや順序についても融
通できるよう形式化されている。
Here, it is desirable that the defined microinstructions have commonality in the sense of realizing various processes, and are formalized so that combinations and orders can be flexible.

従って、マイクロ命令は、基本単位動作を規定するばか
りか、マイクロ命令のそのものの順序を規定するものも
一般に含んでいる。
Therefore, microinstructions not only define basic unit operations, but also generally include those that define the order of the microinstructions themselves.

一方、種々のマクロ動作を同一のマイクロプログラム制
御機構で実現するには、実行しようとするマクロ動作に
対し、このマクロ動作を規定するマイクロプログラム列
、すなわちマイクロシーケンスに引込むことから始めら
れる。
On the other hand, in order to realize various macro operations using the same microprogram control mechanism, the macro operation to be executed must be drawn into a microprogram sequence that defines the macro operation, that is, a micro sequence.

このことは−船釣には、相当するマクロ動作を実現する
ため規定されたマイクロプログラム格納領域、いわゆる
マイクロプログラム記憶装置の先頭番地(以後エン) 
IJイ番地と言う)を与えることで行われる。そして、
これに続く順序は、マイクロプログ・ラム自体が制御す
るよう構成されており、処理はマイクロシーケンスに従
い実行されていく。
This means that in boat fishing, a specified microprogram storage area is specified to implement the corresponding macro operation, the first address of the so-called microprogram storage device (hereinafter referred to as en).
This is done by giving the IJ address. and,
The subsequent order is configured to be controlled by the microprogram itself, and processing is executed according to the microsequence.

上記のマイクロシーケンスの順序制御方式には、分岐が
発生したときだけ分岐先番地を指定し、通常はカウンタ
により順次次のマイクロ命令の番地ヲ示スマイクロプロ
グラムカウンタ方式や、第5図に示すような命令の中に
必ず次の命令の番地を伴うネタストアドレス方式などが
ある。しかしながら、マイクロ命令が一般に開放されな
いことが多いことや性能を重視するために形式化を問わ
ないことから、制御ビット幅を増大させるが分岐に伴う
空き期間が発生しないネタストアドレス方式%式% 発明が解決しようとする課題 上記のマイクロプログラムの制御方式においては、処理
性能の面からは、効率のため分岐などに伴うオーバヘッ
ドをできるだけ軽減することが要請され、規模の観点か
らは、種々のマイクロフロラの一部でもできるだけ共有
化しようとする要請が生じる。フロラの共有化は、一般
のプログラム手法におけるサブルーチンのコール分岐に
類似するが、コール分岐やサブルーチンから元のシーケ
ンスへの復帰(以後リターンと言う)に相当する動作を
マイクロシーケンスに挿入すると、そのオーバヘッドの
ため処理シーケンスは長くみえる。
The above microsequence order control methods include the microprogram counter method, in which a branch destination address is specified only when a branch occurs, and the address of the next microinstruction is normally indicated sequentially by a counter, and the microprogram counter method, as shown in Figure 5. Among these instructions, there is a netast address method in which the address of the next instruction is always included. However, because microinstructions are often not made available to the general public and formalization is not a concern due to emphasis on performance, the netast address method, which increases the control bit width but does not generate idle periods associated with branches, is an invention. In the microprogram control method described above, from the perspective of processing performance, it is required to reduce the overhead associated with branching as much as possible for efficiency, and from the perspective of scale, it is necessary to reduce the overhead associated with branching as much as possible. There is a demand to share as much as possible, even as much as possible. Flora sharing is similar to subroutine call branching in general programming methods, but when an operation corresponding to call branching or returning from a subroutine to the original sequence (hereinafter referred to as return) is inserted into a microsequence, the overhead is Therefore, the processing sequence appears long.

つまり、性能と規模の両立を困難にしている。In other words, it is difficult to achieve both performance and scale.

エントリイアドレスの生成および処理に移行するまでの
時間短縮とフロラの共通化とを考えた場合、特に高速性
が要請される処理をマイクロプログラム方式で実現する
と、エントリイアドレスを加工したり、分離したりする
時間は殆どない。従って、フロラの種類を引当てるまで
のプリデコードやパイプライン処理等でオーバヘッドは
隠し込む手法が採られてきた。その理由を第6図を参照
して説明する。
When considering shortening the time required to generate and process the entry address and standardizing the flora, if processing that requires particularly high speed is realized using a microprogram method, it will be easier to process or separate the entry address. I don't have much time to do it. Therefore, methods have been adopted to hide the overhead through pre-decoding, pipeline processing, etc. until the type of flora is assigned. The reason for this will be explained with reference to FIG.

第6図に、マイクロプログラムのフロラの概念図を示す
。第6図に示すように、−船釣フロウは、各マクロ処理
に固有なシーケンスといくつかのフロラで共通の部分と
からできている。いま、n種類のマクロ処理に対してn
種類のエントリイアドレスを一意的に与えたとすると、
M+ 、M2 、M3等最初のシーケンスから共通な処
理に入るフロラ群も存在する。このフロラ群の最初のス
テップはこれら共通シーケンス(サブシーケンスと言う
)の先頭番地SIへのコール分岐だけになる。これは前
述のエントリイアドレスの生成および処理に移行するま
での時間短縮に対しては障害となる。
FIG. 6 shows a conceptual diagram of the microprogram flora. As shown in FIG. 6, the boat fishing flow is made up of sequences unique to each macro process and parts common to several flora. Now, for n types of macro processing, n
Given a unique entry address for a type,
There are also flora groups such as M+, M2, and M3 that enter common processing from the first sequence. The first step of this flora group is simply a call branch to the first address SI of these common sequences (referred to as subsequences). This becomes an obstacle to shortening the time required to generate and process the entry address described above.

また、前述のネクストアドレス方式を採る場合、Slへ
の分岐は、!vL 、M2 、M3のネタストアドレス
制御部にS、を記述するだけでよいが、第6図のR1、
R2、R1への復帰(リターンと言う)のための情報を
セーブしなければならないため、マイクロプログラム制
御フィールドに付加的な、リターン情報を示す領域が必
要となる。これらがハードウェア量を増大させる結果に
なっていた。
Furthermore, when using the above-mentioned next address method, branching to Sl is ! It is sufficient to simply write S in the netast address control section of vL, M2, and M3, but R1 and
Since information for returning to R2 and R1 (referred to as return) must be saved, an additional area indicating return information is required in the microprogram control field. These results resulted in an increase in the amount of hardware.

そこで、本発明の目的は、上記従来技術の問題点を解決
した処理時間が短く、ハードウェアを増大させないマイ
クロプログラム制御方式を提供することにある。
SUMMARY OF THE INVENTION Accordingly, an object of the present invention is to provide a microprogram control method that solves the problems of the prior art, has a short processing time, and does not require an increase in hardware.

課題を解決するための手段 本発明に従うと、マイクロ命令が記憶されている記憶手
段から所定の順にマイクロ命令を読み出し、マイクロプ
ログラムに基づいて各種回路動作を制御するマイクロプ
ログラム制御方式において、前記記憶手段中のマイクロ
命令の読み出し順序を規定するマイクロプログラム順序
制御手段と、読み1出されたマイクロ命令を格納するレ
ジスタ手段と、前記レジスタ手段の内容更新の是非およ
び内容保持を規定する第1の制御手段と、前記レジスタ
手段に格納されたマイクロ命令を発効するか否かを制御
する第2の制御手段を具備し、前記マイクロプログラム
順序制御手段により前記第1および第2の制御手段を制
御することでマイクロプログラムを実行することを特徴
とするマイクロプログラム制御方式が提供される。
Means for Solving the Problems According to the present invention, in a microprogram control method in which microinstructions are read out in a predetermined order from a storage device in which the microinstructions are stored and various circuit operations are controlled based on the microprogram, the storage device microprogram order control means for defining the order in which microinstructions are read out; register means for storing the read microinstructions; and first control means for determining whether or not to update the contents of the register means and whether to retain the contents. and a second control means for controlling whether or not the microinstruction stored in the register means takes effect, and the first and second control means are controlled by the microprogram order control means. A microprogram control method is provided that is characterized by executing a microprogram.

作用 本発明のマイクロプログラム制御方式は、マイクロ命令
を格納するレジスタ手段を具備し、このレジスタ手段に
格納されたマイクロ命令の更新、保持、発効等を制御す
ることでマイクロプログラムを実行するところにその主
要な特徴がある。
Operation The microprogram control system of the present invention includes register means for storing microinstructions, and controls the updating, retention, activation, etc. of the microinstructions stored in the register means, thereby controlling the microprogram execution. There are main characteristics.

さらに前記レジスタに格納するマイクロ命令を、マイク
ロプログラム格納領域の読出し情報以外の情報であるマ
イクロプログラム順序設定情報と同一の情報コード等と
することもできる。この構成によると、第6図に示す復
帰先のアドレス情報R,、R2、R3ではなくM+ 、
M2 、M3固有の制御情報をレジスタ手段にセーブす
ることが可能になる。そして、復帰時にこの内容を有効
化する制御を行うことで、復帰のための情報を指定する
マイクロプログラムフィールドに付加的な領域やセーブ
する領域を必要とせず、さらにコール分岐やリターン実
行に伴うオーバヘッドも軽減される。
Furthermore, the microinstruction stored in the register may be the same information code as the microprogram order setting information, which is information other than the readout information of the microprogram storage area. According to this configuration, instead of the return destination address information R,, R2, and R3 shown in FIG. 6, M+,
It becomes possible to save control information specific to M2 and M3 in register means. By performing control to enable this content at the time of return, there is no need for an additional area or save area in the microprogram field that specifies the information for return, and there is no overhead associated with call branching or return execution. is also reduced.

また、本発明のマイクロプログラム制御方式では、上記
の制御手段はハードウェアで実現されていても、また、
マイクロ命令で実現されていてもよい。
Further, in the microprogram control method of the present invention, even if the above control means is realized by hardware,
It may be realized by microinstructions.

従って、第6図の従来例ではFlにリターン命令を記述
しなければならなかったが、本発明のマイクロプログラ
ム制御方式では、Flでレジスタ内容の発効制御を行う
か、簡単なハードウェア制御を行うだけで処理が終了す
る。
Therefore, in the conventional example shown in FIG. 6, a return instruction had to be written in Fl, but in the microprogram control method of the present invention, Fl controls the register contents, or performs simple hardware control. The process ends with just that.

以下、本発明を実施例により、さらに詳しく説明するが
、以下の開示は本発明の単なる実施例に過ぎず、本発明
の技術的範囲をなんら制限するものではない。
EXAMPLES Hereinafter, the present invention will be explained in more detail with reference to Examples, but the following disclosure is merely an example of the present invention and does not limit the technical scope of the present invention in any way.

実施例1 第1図に、本発明のマイクロプログラム制御方式の一実
施例を実現する装置の論理ブロック図を、第2図に、動
作タイミングを表すタイミング図を示す。第1図の装置
は、記憶装置などで構成され、マイクロ命令を記憶して
いるマイクロプログラム格納領域l、マイクロ命令が予
め設定された順に読み出されるように制御するマイクロ
シーケンス制御機構2および読み出されたマイクロ命令
を保持するレジスタ3を具備するマイクロプログラム制
御部8と、Dラッチ4〜6を具備する被制御部7とから
構成されている。
Embodiment 1 FIG. 1 shows a logical block diagram of a device implementing an embodiment of the microprogram control system of the present invention, and FIG. 2 shows a timing diagram showing operation timing. The device shown in FIG. 1 is composed of a storage device and the like, and includes a microprogram storage area l that stores microinstructions, a microsequence control mechanism 2 that controls the microinstructions to be read out in a preset order, and a readout area L that stores microinstructions. The microprogram control section 8 includes a microprogram control section 8 that includes a register 3 for holding microinstructions, and a controlled section 7 that includes D latches 4 to 6.

本実施例では、Ml、M2、M3を以下のように定義す
る。
In this embodiment, M1, M2, and M3 are defined as follows.

M1→ AAB M2→ AA””E M3→ −7’rAB ただし、Aは、CまたはDであるが、M1〜M。M1 → AAB M2 → AA””E M3→-7'rAB However, A is C or D, but M1 to M.

においては共通にCである。また、Bは、EまたはAv
Eであるが、Ml ””−M3においては共通にAvE
である。
It is commonly C. Also, B is E or Av
E, but in Ml ""-M3, AvE
It is.

また、マイクロ命令μ。〜μ6を以下のように定義する
Also, the microinstruction μ. ~μ6 is defined as follows.

μ。  論理値“0”でD、“1”でCを選択する。μ. A logical value of “0” selects D, and a logical value of “1” selects C.

論理値“0”でE、“1″でAVE を選択する。Logic value “0” is E, “1” is AVE Select.

レジスタの内容を活性化する。Activate register contents.

μ2 μ μ3   μ4〜μ6コードをレジスタに取り込む。μ2 μ μ3 Load the μ4 to μ6 codes into the register.

μ、〜μ6ゲート制御。μ, ~ μ6 gate control.

上記のようにM1〜M3で規定するAおよび已に関する
処理において、AおよびAの関数であるBは共通である
。また、μ。〜μ6のマイクロフィールドを定義して、
マイクロプログラム制御部8および被制御部7で機能を
実現している。
As mentioned above, in the processing related to A and A specified by M1 to M3, B, which is a function of A and A, is common. Also, μ. ~Define the microfield of μ6,
The functions are realized by the microprogram control section 8 and the controlled section 7.

以下、第2図を参照して、上記の装置の動作を説明する
。マクロ動作を規定するコードは、マイクロプログラム
格納領域1のエントリイアドレスとして、同期信号CI
に同期してエントリイされる。エントリイアドレスM1
に記載されたプログラムの内容μ。〜μ6とNAとは、
次の同期信号C2でマイクロプログラム格納領域1から
出力される。
The operation of the above device will be explained below with reference to FIG. The code that defines the macro operation is sent to the synchronization signal CI as the entry address of the microprogram storage area 1.
Entries are made in synchronization with Entry address M1
The contents of the program described in μ. ~μ6 and NA are
The next synchronization signal C2 is output from the microprogram storage area 1.

このとき、最初のステップではM+ −M3に共通なネ
クストアドレスNAIとM1処理に固有な制御情報μ6
が有効である。AおよびBを生成しないとμ6は使用で
きず、AおよびBの生成手順は、M1〜M、で共通であ
るからNAIに続くシーケンスにプログラムされている
。そこで同時にレジスタフェッチ制御信号であるμ、が
活性化して制御情報であるμ4〜μ6の内容がレジスタ
3にセーブされる。
At this time, in the first step, the next address NAI common to M+-M3 and the control information μ6 specific to M1 processing are
is valid. μ6 cannot be used unless A and B are generated, and since the procedure for generating A and B is common to M1 to M, it is programmed in the sequence following NAI. At the same time, the register fetch control signal .mu. is activated, and the contents of the control information .mu.4 to .mu.6 are saved in the register 3.

続いて、マイクロシーケンス制御機構2で切替えられN
AIでアドレスされたマイクロプログラム格納記憶装置
1の内容であるネタストアドレス情報NA2およびμ。
Subsequently, the microsequence control mechanism 2 switches the N
Netast address information NA2 and μ which are the contents of the microprogram storage storage device 1 addressed by AI.

が次のC2で発効される。次にNA2でアドレスされた
ネタストアドレス情報N^3およびμmが発効されAお
よびBが生成される。
will take effect at the next C2. Next, the netast address information N^3 and μm addressed by NA2 are activated and A and B are generated.

最後にNA3に記述されていたμ2が活性化してレジス
タ3の出力が活性化される。ここではレジスタ3には最
初のステップのμ4〜μsの内容がセーブされていたか
ら論理値“100″でMlで規定する動作が実行される
。このステップでは、次のマクロエントリイのN^指定
が可能である。
Finally, μ2 written in NA3 is activated and the output of register 3 is activated. Here, since the contents of the first step .mu.4 to .mu.s have been saved in the register 3, the operation specified by Ml is executed with the logic value "100". In this step, it is possible to specify N^ for the next macro entry.

すなわち、本実施例においては、マイクロ命令μ2およ
びμ、でマイクロ命令μ4〜μ6の内容を保持するレジ
スタ3およびレジスタ3に保持されているマイクロ命令
を制御することで、本発明のマイクロプログラム制御方
式を実現している。
That is, in this embodiment, the microprogram control method of the present invention is implemented by controlling the register 3 that holds the contents of microinstructions μ4 to μ6 and the microinstructions held in register 3 using microinstructions μ2 and μ. has been realized.

実施例2 第3図に、本発明の第2の実施例を実現する装置の論理
ブロック図を、第4図にその動作タイミングを表すタイ
ミング図を示す。第3図の装置は、記憶装置などで構成
され、マイクロ命令を記憶しているマイクロプログラム
格納領域10、マイクロ命令が予め設定された順に読み
出されるように制御するマイクロシーケンス制御機構2
0および読み出されたマイクロ命令を保持するレジスタ
30を具備するマイクロプログラム制御部50と、被制
御部40とから構成されている。被制御部40は、実施
例1の被制御部7と全く同じである。本実施例では、マ
クロ動作を規定する情報コードであり、マイクロプログ
ラムのエントリイアドレスを示すM、〜M、Mlドをそ
れぞれ論理値“too”、“010”、“001”と設
定している。これは他のコードと分別が可能であり、マ
イクロフロラがマイクロプログラム格納領域10のどの
位置に格納されてもよいから任意に一意的コードを割振
ることができる。
Embodiment 2 FIG. 3 shows a logical block diagram of an apparatus implementing a second embodiment of the present invention, and FIG. 4 shows a timing diagram showing its operation timing. The device shown in FIG. 3 is composed of a storage device and the like, and includes a microprogram storage area 10 that stores microinstructions, and a microsequence control mechanism 2 that controls the microinstructions to be read out in a preset order.
The microprogram control section 50 includes a microprogram control section 50 having a register 30 for holding 0 and read microinstructions, and a controlled section 40. The controlled section 40 is exactly the same as the controlled section 7 of the first embodiment. In this embodiment, M, -M, and Ml, which are information codes that define macro operations and indicate entry addresses of microprograms, are set to logical values "too,""010," and "001," respectively. This code can be distinguished from other codes, and since the microflora can be stored at any position in the microprogram storage area 10, a unique code can be arbitrarily assigned.

また、マイクロ命令μ。〜μ2を以下のように定義する
Also, the microinstruction μ. ~μ2 is defined as follows.

μ。  論理値“0”でDl “1″でCを選択する。μ. Logic value “0” and Dl “1” select C.

μm  論理値“0”でEl “l”でAV’Eを選択
する。
μm Logic value “0” and El “1” selects AV'E.

μ2  論理値“0”でレジスタの内容を更新し、“1
″で保持する。
μ2 Update the contents of the register with logical value “0” and “1”
” to hold.

μm   レジスタの内容を活性化する。Activate the contents of the μm register.

μ0、μmは実施例1のそれと全く同意であり、μ2は
レジスタ30の更新を阻止する制御信号である。また、
μmは図示されていないが、実施例1のμ2と等しい。
μ0 and μm are completely the same as those in the first embodiment, and μ2 is a control signal that prevents updating of the register 30. Also,
Although μm is not shown, it is equal to μ2 in Example 1.

第4図を参照して、上記の装置の動作を説明する。マク
ロ動作を規定するコードは、マイクロプログラム格納領
域10のエントリイアドレスとして、同期信号CIに従
いエントリイされる。エントリイアドレスM1に記載さ
れたプログラムの内容μ。
The operation of the above device will be explained with reference to FIG. The code that defines the macro operation is entered as an entry address in the microprogram storage area 10 in accordance with the synchronization signal CI. Content μ of the program written in entry address M1.

〜μ2とN^は次の同期信号C2でマイクロプログラム
格納領域10から出力されるが、本実施例では、ネクス
トアドレスNAIとμ。、レジスタの内容更新を阻止す
るμ2が有効である。また、本実施例では、MI−M、
について、このマイクロスロウの第1ステツプは全く共
通である。つまりマイクロプログラム格納領域10の“
100”、“010”“001番地に同じ内容が記載さ
れている。
~μ2 and N^ are output from the microprogram storage area 10 with the next synchronization signal C2, but in this embodiment, the next address NAI and μ. , μ2, which prevents register contents from being updated, is effective. Furthermore, in this embodiment, MI-M,
, the first step of this micro-throw is quite common. In other words, “
The same content is written at addresses 100, 010, and 001.

初期状態では、同期信号C1に従うエン) IJイと同
時にμ2が通常“0”で、レジスタ30は更新可能状態
にある。従って、レジスタ30には、マクロ情報コード
であり、エントリイアドレスそのものである論理“10
0″がフェッチされる。続いて、マイクロシーケンス制
御機構20で切替えられ、NAIでアドレスされたマイ
クロプログラム格納領域IOの内容であるネタストアド
レス情報NA2およびμmが次の02で発効され、A、
Bが生成されていく。
In the initial state, μ2 is normally "0" at the same time as input according to the synchronizing signal C1, and the register 30 is in an updatable state. Therefore, the register 30 contains a logic "10" which is the macro information code and the entry address itself.
0" is fetched. Subsequently, the microsequence control mechanism 20 switches the netast address information NA2 and μm, which are the contents of the microprogram storage area IO addressed by NAI, into effect at the next 02, and A,
B is being generated.

この間、μ2はレジスタ30の内容の更新を禁止してい
るので、レジスタ30には“100”がセーブされてい
る。従って、被制御部40に対し第1の実施例のμ6〜
μ、に相当する制御信号を与えたことになり、処理が完
結する最後にNA2に記述されていたμmでレジスタが
次の処理に備えリリースされる。本実施例ではこの最後
のステップに関してもM1〜M3の処理フロラで共通で
ある。
During this time, since μ2 prohibits updating the contents of the register 30, "100" is saved in the register 30. Therefore, for the controlled unit 40, μ6~ of the first embodiment is
This means that a control signal corresponding to μ is given, and at the end of the process, the register is released in preparation for the next process at μm, which was written in NA2. In this embodiment, this last step is also common to the processing flora of M1 to M3.

すなわち、本実施例では、レジスタ30にマクロ情報コ
ードでありエントリイアドレスそのものを保持し、マイ
クロ命令μ2およびμ3で制御することで本発明のマイ
クロプログラム制御方式を実現している。
That is, in this embodiment, the microprogram control system of the present invention is realized by holding the entry address itself, which is a macro information code, in the register 30 and controlling it with micro instructions μ2 and μ3.

発明の効果 以上、説明したように本発明のマイクロプログラム制御
方式によれば、マイクロスロウのサブシーケンスに対す
るコール分岐、復帰などに伴う分岐やアドレス情報のセ
ーブに要する処理時間のオーバヘッドやハードウェア上
の付加資産を軽減し、高速のマイクロプログラム制御を
小規模な構成で実現するのに著しい効果がある。
Effects of the Invention As explained above, the microprogram control method of the present invention reduces processing time overhead required for branching and saving address information associated with call branching and return to micro-throw subsequences, and reduces hardware costs. It is extremely effective in reducing additional assets and realizing high-speed microprogram control with a small-scale configuration.

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

第1図は、本発明のマイクロプログラム制御方式の一実
施1例を実現する装置の論理ブロック図であり、 第2図は、第1図の装置の動作タイミングを示すタイミ
ング図であり、 第3図は、本発明の第2の実施例を実現する装置の論理
ブロック図であり、 第4図は、第3図の装置の動作タイミングを示すタイミ
ング図であり、 第5図は、従来のマイクロプログラム制御機構を示すブ
ロック図であり、 第6図は、マイクロシーケンスを示す概念図である。 〔主な参照番号〕 110・・・マイクロプログラム格納領域、2.20・
・・マイクロシーケンス制御機構、3.30・・・レジ
スタ、 4〜6・°・・Dラッチ、 7.40・・・被制御部、
1 is a logical block diagram of a device that implements one embodiment of the microprogram control method of the present invention; FIG. 2 is a timing diagram showing the operation timing of the device of FIG. 1; 5 is a logical block diagram of a device that implements the second embodiment of the present invention, FIG. 4 is a timing diagram showing the operation timing of the device of FIG. 3, and FIG. 5 is a diagram of a conventional micro FIG. 6 is a block diagram showing a program control mechanism, and FIG. 6 is a conceptual diagram showing a micro sequence. [Main reference number] 110...Microprogram storage area, 2.20.
...Micro sequence control mechanism, 3.30...Register, 4-6...D latch, 7.40...Controlled section,

Claims (5)

【特許請求の範囲】[Claims] (1)マイクロ命令が記憶されている記憶手段から所定
の順にマイクロ命令を読み出し、マイクロプログラムに
基づいて各種回路動作を制御するマイクロプログラム制
御方式において、前記記憶手段中のマイクロ命令の読み
出し順序を規定するマイクロプログラム順序制御手段と
、読み出されたマイクロ命令を格納するレジスタ手段と
、前記レジスタ手段の内容更新の是非および内容保持を
規定する第1の制御手段と、前記レジスタ手段に格納さ
れたマイクロ命令を発効するか否かを制御する第2の制
御手段を具備し、前記マイクロプログラム順序制御手段
により前記第1および第2の制御手段を制御することで
マイクロプログラムを実行することを特徴とするマイク
ロプログラム制御方式。
(1) In a microprogram control method in which microinstructions are read out in a predetermined order from a storage means in which the microinstructions are stored and various circuit operations are controlled based on the microprogram, the reading order of the microinstructions in the storage means is defined. microprogram order control means for storing read microinstructions; first control means for determining whether or not to update the contents of the register means and whether to retain the contents; and register means for storing the read microinstructions; It is characterized by comprising a second control means for controlling whether or not an instruction is to take effect, and executing the microprogram by controlling the first and second control means by the microprogram order control means. Microprogram control method.
(2)前記レジスタ手段に格納するマイクロ命令を、前
記記憶手段の読み出し情報以外の情報とすることを特徴
とする請求項(1)に記載のマイクロプログラム制御方
式。
(2) The microprogram control method according to claim 1, wherein the microinstruction stored in the register means is information other than read information of the storage means.
(3)前記マイクロプログラム順序制御に関する情報を
修飾する手段および固定番地情報を設定する手段を具備
し、前記レジスタ手段に格納するマイクロ命令を、前記
マイクロプログラム順序設定情報と同一の情報コードと
することを特徴とする請求項(2)に記載のマイクロプ
ログラム制御方式。
(3) It comprises means for modifying information regarding the microprogram order control and means for setting fixed address information, and the microinstruction stored in the register means has the same information code as the microprogram order setting information. The microprogram control system according to claim 2, characterized in that:
(4)前記第1および第2の制御手段が、ハードウェア
で実現されていることを特徴とする請求項(1)〜(3
)のいずれか1項に記載のマイクロプログラム制御方式
(4) Claims (1) to (3) characterized in that the first and second control means are realized by hardware.
) The microprogram control method according to any one of the above.
(5)前記第1および第2の制御手段が、マイクロ命令
で実現されていることを特徴とする請求項(1)〜(3
)のいずれか1項に記載のマイクロプログラム制御方式
(5) Claims (1) to (3) characterized in that the first and second control means are realized by microinstructions.
) The microprogram control method according to any one of the above.
JP1138166A 1989-05-31 1989-05-31 Micro program control method Expired - Lifetime JP3055139B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1138166A JP3055139B2 (en) 1989-05-31 1989-05-31 Micro program control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1138166A JP3055139B2 (en) 1989-05-31 1989-05-31 Micro program control method

Publications (2)

Publication Number Publication Date
JPH033037A true JPH033037A (en) 1991-01-09
JP3055139B2 JP3055139B2 (en) 2000-06-26

Family

ID=15215573

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1138166A Expired - Lifetime JP3055139B2 (en) 1989-05-31 1989-05-31 Micro program control method

Country Status (1)

Country Link
JP (1) JP3055139B2 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05101106A (en) * 1991-05-16 1993-04-23 Internatl Business Mach Corp <Ibm> Question answer system
WO1996036583A1 (en) * 1995-05-17 1996-11-21 Kao Corporation Novel ether compound and process for producing the same
US6492902B2 (en) 2000-10-25 2002-12-10 Mitsubishi Denki Kabushiki Kaisha Ultrasonic obstacle detector

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5533238A (en) * 1978-08-30 1980-03-08 Toshiba Corp Microprogrm control system
JPS5644941A (en) * 1979-09-20 1981-04-24 Nec Corp Microprogram control unit
JPS5719842A (en) * 1980-07-09 1982-02-02 Nec Corp Microprogram control device
JPS62140141A (en) * 1985-12-16 1987-06-23 Matsushita Electric Ind Co Ltd Microprogram controller
JPS62157944A (en) * 1985-12-31 1987-07-13 Nec Corp Microprogram control device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5533238A (en) * 1978-08-30 1980-03-08 Toshiba Corp Microprogrm control system
JPS5644941A (en) * 1979-09-20 1981-04-24 Nec Corp Microprogram control unit
JPS5719842A (en) * 1980-07-09 1982-02-02 Nec Corp Microprogram control device
JPS62140141A (en) * 1985-12-16 1987-06-23 Matsushita Electric Ind Co Ltd Microprogram controller
JPS62157944A (en) * 1985-12-31 1987-07-13 Nec Corp Microprogram control device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05101106A (en) * 1991-05-16 1993-04-23 Internatl Business Mach Corp <Ibm> Question answer system
WO1996036583A1 (en) * 1995-05-17 1996-11-21 Kao Corporation Novel ether compound and process for producing the same
US6492902B2 (en) 2000-10-25 2002-12-10 Mitsubishi Denki Kabushiki Kaisha Ultrasonic obstacle detector

Also Published As

Publication number Publication date
JP3055139B2 (en) 2000-06-26

Similar Documents

Publication Publication Date Title
EP0061096B1 (en) Data processing system for parallel processing
JP3771273B2 (en) Method and apparatus for restoring a predicate register set
US4879646A (en) Data processing system with a pipelined structure for editing trace memory contents and tracing operations during system debugging
EP0213842A2 (en) Mechanism for performing data references to storage in parallel with instruction execution on a reduced instruction-set processor
JPS6239780B2 (en)
US4562538A (en) Microprocessor having decision pointer to process restore position
JPH0429093B2 (en)
JP2560988B2 (en) Information processing apparatus and processing method
US4484274A (en) Computer system with improved process switch routine
US5761467A (en) System for committing execution results when branch conditions coincide with predetermined commit conditions specified in the instruction field
US5390306A (en) Pipeline processing system and microprocessor using the system
US5586337A (en) Programmable controller with timing control
JPH033037A (en) Microprogram control system
EP0279953A2 (en) Computer system having mixed macrocode and microcode instruction execution
US6282632B1 (en) Information processor having duplicate operation flags
JP3554211B2 (en) Instruction control device and method using microprogram
US5812845A (en) Method for generating an object code for a pipeline computer process to reduce swapping instruction set
JPH0793152A (en) Microprocessor control unit
EP0183877B1 (en) Microcomputer for time dependent processes
JPH0222413B2 (en)
JPS63251835A (en) Vector processor
JP2838939B2 (en) Parallel instruction execution method
JPH07182165A (en) Processing method/device for instruction with committing condition
JP2927102B2 (en) Instruction string switching method and arithmetic processor using the same
JPS6250855B2 (en)