JPH03255528A - Microprogram controller - Google Patents

Microprogram controller

Info

Publication number
JPH03255528A
JPH03255528A JP5406390A JP5406390A JPH03255528A JP H03255528 A JPH03255528 A JP H03255528A JP 5406390 A JP5406390 A JP 5406390A JP 5406390 A JP5406390 A JP 5406390A JP H03255528 A JPH03255528 A JP H03255528A
Authority
JP
Japan
Prior art keywords
instruction
register
interrupt processing
flip
control
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
JP5406390A
Other languages
Japanese (ja)
Inventor
Takayuki Noguchi
野口 孝行
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 JP5406390A priority Critical patent/JPH03255528A/en
Publication of JPH03255528A publication Critical patent/JPH03255528A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To suppress the increase of the hardware quantity and to execute the speed control of a microprogram by one microprogram by setting the data corresponding to necessity of two flip-flops and one register from an external device. CONSTITUTION:The controller is provided with a first and a second flip-flops 3, 4 to which a state value can be set from an external device, registers 1, 2 to which a micro-instruction containing a next precedent control processing start instruction and a next instruction/interruption processing execution start instruction can be set from the external device, and control circuits 5 - 7. Accordingly, this controller works as a circuit for changing the kind of a micro- instruction for executing the next instruction/interruption processing execution start instruction for executing the speed control of a microprogram and a speed control circuit and a debug circuit for checking whether an interference is generated between each instruction/interruption processing execution control microprogram or not. In such a way, the hardware quantity decreases, the design manhour decreases, the reliability is improved, and the device cost can be reduced.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明はマイクロプログラム制御装置に関し、特にマイ
クロプログラムの調速機能・デバグ機能を有するマイク
ロプログラム制御装置に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a microprogram control device, and more particularly to a microprogram control device having a speed regulating function and a debugging function for a microprogram.

〔従来の技術〕[Conventional technology]

従来、この種のマイクロプログラム制御装置は、マイク
ロプログラムの調速を行う為次命令・割込み処理実行開
始指示を行うマイクロ命令を複数個用意し、このマイク
ロ命令の種類により次命令・割込み処理実行開始指示を
演算実行装置に実際指示するまでのマシンサイクル数を
変えるような制御となっていた。又、各命令・割込み処
理実行制御マイクロプログラム間での干渉が発生してい
ないかをチエツクするデバグ回路は、マイクロプログラ
ムの調速回路とは全く別に有するような構成となってい
た。
Conventionally, this type of microprogram control device prepares multiple microinstructions for instructing the start of execution of the next instruction/interrupt processing in order to control the speed of the microprogram, and depending on the type of these microinstructions, the execution of the next instruction/interrupt processing is started. Control was such as to change the number of machine cycles until an instruction is actually given to the arithmetic execution unit. Furthermore, a debug circuit for checking whether interference has occurred between the instruction/interrupt processing execution control microprograms is completely separate from the speed regulating circuit of the microprograms.

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

上述した従来のマイクロフログラム制御装置は、マイク
ロプログラムの調速を行う為には、次命令・割込み処理
実行開始指示を行うマイクロ命令の種類を変更する必要
があるので、調速を行いたい種類分マイクロプログラム
を準備しておく必要が生じマイクロプログラム管理を多
重に行わなければならないという欠点と、マイクロプロ
グラムの調速回路と各命令・割込み処理実行制御マイク
ロプログラム間での干渉が発生していないかをチエツク
するデバグ回路とを全く別に有していた為にハードウェ
ア量が多く設計工数の増大・信頼性の低下・装置原価の
高騰を招いてしまうという欠点とがある。
In the conventional microprogram control device described above, in order to control the speed of a microprogram, it is necessary to change the type of microinstruction that instructs the start of execution of the next instruction/interrupt process. The disadvantage is that microprograms must be prepared and microprogram management must be performed multiple times, and there is no interference between the microprogram's speed regulating circuit and each instruction/interrupt processing execution control microprogram. Since it has a completely separate debug circuit for checking, it has the disadvantage that it requires a large amount of hardware, leading to an increase in design man-hours, a decrease in reliability, and a rise in equipment costs.

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

本発明のマイクロプログラム制御装置は、外部装置より
それぞれ別々に状態値を設定できる第1および第2のフ
リップフロップと、 次に実行する先行制御処理を開始するよう先行制御装置
に指示する次先行制御処理開始指示と、次に実行する命
令あるいは割込み処理を開始するよう演算実行装置に指
示する次命令・割込み処理実行開始指示とを含むマイク
ロ命令を外部装置より設定できるレジスタと、 前記第1のフリップフロップの保持する状態値がセット
状態であると、前記レジスタに保持された次先行制御処
理開始指示を真の次先行制御処理開始指示とみなし、他
の次先行制御処理開始指示を無効化し、前記第1のフリ
ップフロップの保持する状態値がリセット状態であると
、全ての次先行制御処理開始指示を有効とする第1の制
御回路と、 前記第2のフリップフロップの保持する状態値がセット
状態であると、前記レジスタに保持された次命令・割込
み処理実行開始指示を、真の次命令・割込み処理実行開
始指示とみなし、他の次命令・割込み処理実行開始指示
を無効化し、前記第2のフリップフロップの保持する状
態値がリセット状態であると、全ての次命令・割込み処
理実行開始指示を有効とする第2の制御回路と、前記第
1および第2の制御回路により、前記次先行制御処理開
始指示または前記次命令・割込み処理実行開始指示が無
効化された場合に、現在実行中の命令・割込み処理実行
制御マイクロフログラムの最終ステップ実行後に前記レ
ジスタに保持されたマイクロ命令を実行するよう制御す
る第3の制御回路とを備えて構成される。
The microprogram control device of the present invention includes first and second flip-flops whose state values can be set separately from an external device, and a next preceding control device that instructs the preceding control device to start the preceding control process to be executed next. a register in which an external device can set a microinstruction including a processing start instruction and a next instruction/interrupt processing execution start instruction for instructing an arithmetic execution unit to start the next instruction to be executed or interrupt processing; When the state value held by the register is set, the next preceding control processing start instruction held in the register is regarded as a true next preceding control processing start instruction, the other next preceding control processing start instructions are invalidated, and the above-mentioned next preceding control processing start instruction is invalidated. When the state value held by the first flip-flop is in the reset state, the first control circuit validates all next preceding control processing start instructions, and the state value held by the second flip-flop is in the set state. Then, the next instruction/interrupt processing execution start instruction held in the register is regarded as the true next instruction/interrupt processing execution start instruction, other next instruction/interrupt processing execution start instructions are invalidated, and the second instruction/interrupt processing execution start instruction is invalidated. When the state value held by the flip-flop of When the control processing start instruction or the next instruction/interrupt processing execution start instruction is invalidated, the microinstruction held in the register is executed after the last step of the currently executing instruction/interrupt processing execution control microphrogram is executed. and a third control circuit for controlling the device.

〔実施例〕〔Example〕

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

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

まず、本実施例のマイクロプログラムでは、処理の最終
ステップで次命令・割込み処理実行開始指示が発行され
るものとして考える。
First, in the microprogram of this embodiment, it is assumed that an instruction to start executing the next instruction/interrupt process is issued at the final step of the process.

レジスタ1は、信号線100より供給された実行すべき
マイクロ命令を保持するレジスタで、レジスタ2は外部
装置よりいわゆるスキャン制御により信号線200を介
して設定されたマイクロ命令を保持するレジスタであり
、フリップフロップ3・4は外部装置よりいわゆるスキ
ャン制御によりそれぞれ信号線201・202を介して
設定された状態値を保持するフリップフロップである。
Register 1 is a register that holds a microinstruction to be executed that is supplied from a signal line 100, and register 2 is a register that holds a microinstruction that is set via a signal line 200 by an external device by so-called scan control. Flip-flops 3 and 4 are flip-flops that hold state values set via signal lines 201 and 202, respectively, by so-called scan control from an external device.

制御回路5は、フリップフロップ3が状態値論理“1”
を保持している場合はレジスタ1に次先行制御処理開始
指示が保持されても信号線108を用いてこの指示を無
効化してしまい、かつ信号線110を介してこの指示を
無効化したことを通知し、フリップフロップ3が状態値
論理“0″を保持している場合は何の動作も行なわない
制御回路である。制御回路6は、フリップフロップ4が
状態値論理“1”を保持している場合は、レジスタ1に
次命令・割込み処理実行開始指示が保持されても信号線
109を用いてこの指示を無効化してしまい、かつ信号
線111を介してこの指示を無効化したことを通知し、
フリップフロップ4が状態値論理“0”を保持している
場合は、信号線111を介してマイクロプログラムの一
処理の最終ステップが実行されたことを通知する制御回
路である。また制御回路7は、信号線110を介して次
先行制御処理開始指示が無効化された通知を受は取ると
信号線1.11を介して次命令・割込み処理実行開始指
示が無効化された通知もしくはマイタラブルグラムの一
処理の最終ステップが実行された通知を受は取った次の
マシンサイクルではレジスタ2に保持されたマイクロ命
令が真に実行すべきマイクロ命令であることを信号線1
12に出力する。
In the control circuit 5, the flip-flop 3 has a state value logic “1”.
is held, even if the next preceding control processing start instruction is held in register 1, the signal line 108 is used to invalidate this instruction, and the signal line 110 is used to invalidate this instruction. This is a control circuit that notifies the control circuit and does not perform any operation when the flip-flop 3 holds the state value logic "0". When the flip-flop 4 holds the state value logic "1", the control circuit 6 uses the signal line 109 to invalidate the next instruction/interrupt processing execution start instruction even if the next instruction/interrupt processing execution start instruction is held in the register 1. and notifies via signal line 111 that this instruction has been invalidated,
When the flip-flop 4 holds the state value logic "0", it is a control circuit that notifies via the signal line 111 that the final step of one process of the microprogram has been executed. Further, when the control circuit 7 receives a notification via the signal line 110 that the instruction to start the next preceding control process is invalidated, the instruction to start executing the next instruction/interrupt process is invalidated via the signal line 1.11. In the next machine cycle after receiving a notification or a notification that the final step of one processing of a miterable program has been executed, signal line 1 is sent to indicate that the microinstruction held in register 2 is the microinstruction that should truly be executed.
Output to 12.

続いて制御回路6について更に述べる。信号線113・
114を介して制御回路5・6が次のマシンサイクルで
は次先行制御処理開始指示および次命令・割込み処理実
行開始指示を無効化しないように指示し、信号線111
を介して次命令・割込み処理実行開始指示が無効化され
た通知を受は取ると、次のマシンサイクルではレジスタ
2に保持されたマイクロ命令が真に実行すべきマイクロ
命令であることを信号線112に出力し、信号線113
・114を介して制御回路5・6が次のマシンサイクル
では次先行制御処理開始指示および次命令・割込み処理
実行開始指示を無効化しなうよう指示する制御回路であ
る。選択器8は信号線112を介してレジスタ2に保持
されたマイクロ命令が真に実行すべきマイクロ命令であ
ると指示されない限りレジスタ1を選択する選択器であ
る。
Next, the control circuit 6 will be further described. Signal line 113・
The control circuits 5 and 6 instruct the control circuits 5 and 6 not to invalidate the next preceding control processing start instruction and the next instruction/interrupt processing execution start instruction in the next machine cycle via the signal line 114.
When receiving a notification that the next instruction/interrupt processing execution start instruction has been disabled via the 112, signal line 113
This is a control circuit that instructs the control circuits 5 and 6 via 114 not to invalidate the next preceding control processing start instruction and the next instruction/interrupt processing execution start instruction in the next machine cycle. The selector 8 is a selector that selects the register 1 unless it is instructed via the signal line 112 that the microinstruction held in the register 2 is the microinstruction to be truly executed.

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

いま、フリップフロップ3・4とも論理“1”が設定さ
れており、レジスタ2に次先行制御処理開始指示と次命
令・割込み処理実行開始指示を含むマイクロ命令が設定
されているものとする。また、レジスタ1には次先行制
御処理開始指示を含むマイクロ命令が保持されており、
次に実行するマイクロ命令として次命令・割込み処理実
行開始指示を含むマイクロ命令が、信号線100を介し
て次マシンサイクルにレジスタlに供給される状態であ
るとする。
It is now assumed that both flip-flops 3 and 4 are set to logic "1", and the register 2 is set with a microinstruction including an instruction to start the next preceding control process and an instruction to start executing the next instruction/interrupt process. In addition, register 1 holds a microinstruction including an instruction to start the next preceding control process.
Assume that a microinstruction to be executed next, including a next instruction/interrupt processing execution start instruction, is supplied to the register l via the signal line 100 in the next machine cycle.

レジスタ1に保持されたマイクロ命令は信号線101を
介して選択器8に供給されるが、本マイクロ命令は処理
の途中の1ステツプであり、この場合は信号線112よ
りレジスタ2の出力である信号線104を選択するよう
指示は出されていないので、選択器8は信号線107に
レジスタ1の出力を出力する。この時、信号線102を
介して次先行制御処理開始指示がレジスタ1に存在する
ことが制御団結5に通知され、フリップフロップ3の状
態値論理“1”が信号線105を介して制御回路5に通
知されているので、制御回路5は信号線108を介して
次先行制御処理開始指示を無効化するとともに信号線1
10を介して次先行制御処理開始指示を無効化したこと
を制御回路7に通知する。これにより、制御回路7はこ
の通知を記憶しておく。制御回路6はレジスタ1に次命
令・割込み処理開始指示が存在しない為、何の動作も行
わない。
The microinstruction held in register 1 is supplied to selector 8 via signal line 101, but this microinstruction is one step in the middle of processing, and in this case, it is the output of register 2 from signal line 112. Since no instruction to select signal line 104 has been issued, selector 8 outputs the output of register 1 to signal line 107. At this time, the control circuit 5 is notified via the signal line 102 that the next preceding control processing start instruction exists in the register 1, and the state value logic "1" of the flip-flop 3 is transmitted to the control circuit 5 via the signal line 105. , the control circuit 5 invalidates the next preceding control process start instruction via the signal line 108 and
10, the control circuit 7 is notified that the instruction to start the next preceding control process has been invalidated. Thereby, the control circuit 7 stores this notification. Since the next instruction/interrupt processing start instruction is not present in the register 1, the control circuit 6 does not perform any operation.

次マシンサイクルでレジスタ1には、次命令・割込み処
理開始指示を含むマイクロ命令が保持される。レジスタ
lに保持されたマイクロ命令は信号線101を介して選
択器8に供給されるが、前マシンサイクル時同様信号線
112よりレジスタ2の出力である信号線104を選択
するよう指示は出されていないので、選択器8は信号線
107にレジスタ1の出力を出力する。この時、信号線
101を介して次命令・割込み処理実行開始指示がレジ
スタ1に存在することが制御回路6に通知され、フリッ
プフロップ4の状態値論理“1”が信号線106を介し
て制御回路6に通知されているので、制御回路6は信号
線109を介して次命令・割込み処理実行開始指示を無
効化するとともに信号線111を介して次命令・割込み
処理実行開始指示を無効化したことを制御回路7に通知
する。これにより、制御回路7は次マシンサイクルで信
号線112にレジスタ2の出力である信号線104を選
択するよう指示を出すとともに、信号線110・111
を介して制御回路5・6に対して次マシンサイクルでは
次先行制御処理開始指示および次命令・割込み処理実行
開始指示を無効化しないよう指示を出す。制御回路5は
、レジスタ1に次先行制御処理開始指示が存在しない為
、何の動作も行わない。
In the next machine cycle, register 1 holds a microinstruction including a next instruction/interrupt processing start instruction. The microinstruction held in register l is supplied to selector 8 via signal line 101, but as in the previous machine cycle, an instruction to select signal line 104, which is the output of register 2, is issued from signal line 112. Therefore, the selector 8 outputs the output of the register 1 to the signal line 107. At this time, the control circuit 6 is notified via the signal line 101 that the next instruction/interrupt processing execution start instruction exists in the register 1, and the state value logic "1" of the flip-flop 4 is controlled via the signal line 106. Since the control circuit 6 has been notified, the control circuit 6 invalidates the next instruction/interrupt processing execution start instruction via the signal line 109 and also invalidates the next instruction/interrupt processing execution start instruction via the signal line 111. The control circuit 7 is notified of this fact. As a result, the control circuit 7 instructs the signal line 112 to select the signal line 104, which is the output of the register 2, in the next machine cycle, and also instructs the signal line 110, 111
Instructs the control circuits 5 and 6 not to invalidate the next preceding control processing start instruction and the next instruction/interrupt processing execution start instruction in the next machine cycle. The control circuit 5 does not perform any operation because there is no instruction to start the next preceding control process in the register 1.

次マシンサイクルで、選択器8は信号線112を介して
レジスタ2の出力である信号線104を選択して真に実
行すべきマイクロ命令としてレジスタ2の出力を信号線
107に出力する。これにより、レジスタ2に保持され
た次先行制御処理開始指示および次命令・割込み処理実
行開始指示を含むマイクロ命令が実行され、次光行制御
処理および次命令・割込み処理の実行が開始される。
In the next machine cycle, the selector 8 selects the signal line 104 which is the output of the register 2 via the signal line 112, and outputs the output of the register 2 to the signal line 107 as a microinstruction to be truly executed. As a result, the microinstructions including the next preceding control processing start instruction and the next instruction/interrupt processing execution start instruction held in the register 2 are executed, and the execution of the next optical row control processing and the next instruction/interrupt processing is started.

これは、次先行制御処理開始指示が2マシンサイクル後
に発行され、次命令・割込み処理実行開始指示が1マシ
ンサイクル後に発行されたことになるので、この命令・
割込み処理の次命令・割込み処理が開始されるのが、2
マシンサイクル遅れることになり、マイクロプログラム
を変更することなくマイクロプログラムの性能を変更す
ることができることを示す。
This means that the next preceding control processing start instruction was issued two machine cycles later, and the next instruction/interrupt processing execution start instruction was issued one machine cycle later.
The next instruction after interrupt processing/Interrupt processing starts at step 2.
This results in a machine cycle delay, indicating that the performance of the microprogram can be changed without changing the microprogram.

また、レジスタ2に設定するマイクロ命令に次先行制御
処理開始指示および次命令・割込み処理実行開始指示に
加えてマイクロプログラムおよび先行制御装置がメモリ
リクエストを発行するとメモリリクエストバッファに登
録し、メモリリクエストリプライをマイクロプログラム
が受けとるとメモリリクエストバッファから対応する登
録リクエストを末梢する制御を有するメモリリクエスト
バッファのバッファ中のリクエストが空になるまで待ち
合せる指示を設定しておくことにより、各命令・割込み
処理実行制御マイクロプログラムがメモリリクエストを
発行した分受けとらないで終了してしまうとこのステッ
プで待ち続けることになる為、いわゆるストール監視に
よりマイクロプログラムの異常検出をできることになり
デバグ回路としても使用することができる。
In addition, when the microprogram and advance control device issue a memory request to the microinstruction set in register 2 in addition to an instruction to start next advance control processing and an instruction to start execution of next instruction/interrupt processing, it is registered in the memory request buffer and a memory request reply is sent. When the microprogram receives the corresponding registration request from the memory request buffer, by setting an instruction to wait until the request in the memory request buffer becomes empty, each instruction/interrupt process can be executed. If the control microprogram terminates without receiving the memory request it issued, it will continue to wait at this step, so it can be used as a debug circuit because it can detect abnormalities in the microprogram by so-called stall monitoring. .

本実施例の一動作として、フリップフロップ3・4がと
もに論理“l”である場合について説明したが、その他
の場合についても簡単に説明する。
As one operation of this embodiment, the case where both the flip-flops 3 and 4 are at logic "1" has been described, but other cases will also be briefly described.

フリップフロップ3が論理“O”でフリップフロップ4
が論理“1”である場合はレジスタ2に次命令・割込み
処理実行開始指示を含むマイクロ命令を設定しておくと
、フリップフロップ3・4とも論理“1”である場合の
一例の1マシンサイクル目で次先行制御処理開始指示が
無効化されずそのまま発行され、2マシンサイクル目は
フリップフロップ3・4とも論理“1”である場合と同
様の動作がなされ、3マシンサイクル目に次命令・割込
み処理実行開始指示を含むマイクロ命令が真に実行され
るべきマイクロ命令として実行されることとなる。これ
より、この命令・割込み処理の次命令・割込み処理が開
始されるのが、1マシンサイクル遅れることとなる。
Flip-flop 3 is logic “O” and flip-flop 4
If the logic is "1", if a microinstruction containing the next instruction/interrupt processing execution start instruction is set in register 2, one machine cycle in the case where both flip-flops 3 and 4 are logic "1". The instruction to start the next preceding control process is not invalidated in the second machine cycle and is issued as is, and in the second machine cycle, the same operation as when flip-flops 3 and 4 are both logic "1" is performed, and in the third machine cycle, the next instruction is issued. The microinstruction including the interrupt processing execution start instruction is executed as the microinstruction that should actually be executed. As a result, the start of the next instruction/interrupt process after this instruction/interrupt process will be delayed by one machine cycle.

フリップフロップ3が論理“1”でフリップフロップ4
が論理″O”である場合は、レジスタ2に次先行制御処
理開始指示を含むマイクロ命令を設定しておくと、フリ
ップフロップ3・4とモ論理“1”である場合の一例の
1マシンサイクル目と同様の動作がなされ、2マシンサ
イクル目ではフリップフロップ3・4とも論理“1″で
ある場合の一例と次命令・割込み処理実行開始指示が無
効化されないことと次命令・割込み処理実行開始指示を
無効化したこととを通知するかわりに、最終ステップが
実行されたこと制御回路7に通知することを除けば同様
の動作がなされ、3マシンサイクル目に次先行制御処理
開始指示を含むマイクロ命令が真に実行されるべきマイ
クロ命令として実行されることとなる。これより、この
命令・割込み処理の次命令・割込み処理が開始されるの
が、1マシンサイクル遅れることとなる。
Flip-flop 3 is logic “1” and flip-flop 4
When the logic is "O", by setting a microinstruction including the instruction to start the next preceding control process in register 2, one machine cycle of flip-flops 3 and 4 and the microinstruction when the logic is "1" is set. An example of a case where the same operation as in the second machine cycle is performed, and both flip-flops 3 and 4 are logic "1", the next instruction/interrupt processing execution start instruction is not invalidated, and the next instruction/interrupt processing execution start The same operation is performed except that instead of notifying that the instruction has been invalidated, the control circuit 7 is notified that the final step has been executed. The instruction will be executed as a microinstruction that should actually be executed. As a result, the start of the next instruction/interrupt process after this instruction/interrupt process will be delayed by one machine cycle.

フリップフロップ3・4とも論理“0”である場合は、
レジスタ1に保持されたマイクロ命令がいつも実行され
ることになり、通常のマイクロプログラム性能のままと
なる。
If both flip-flops 3 and 4 are logic “0”,
The microinstruction held in register 1 will always be executed, resulting in normal microprogram performance.

以上の一実施例での動作説明で示すように、フリップフ
ロップ3・4に設定する状態値とレジスタ2に設定する
マイクロ命令によって、マイクロプログラムの性能を可
変することが可能となる。
As shown in the explanation of the operation in the above embodiment, the performance of the microprogram can be varied by the state values set in the flip-flops 3 and 4 and the microinstructions set in the register 2.

〔発明の効果〕〔Effect of the invention〕

以上説明したように本発明は、外部装置より2つのフリ
ップフロップと1つのレジスタに必要に応じたデータを
設定することにより、マイクロプログラムの調速回路と
しても各命令・割込み処理実行制御マイクロプログラム
間での干渉が発生していないかをチエツクするデバグ回
路としても用いる事ができ、調速回路とデバグ回路を別
々に有する必要がなくなることになり、ハードウェア量
の増大を抑制でき設計工数の増大抑制・信頼性の低下の
抑制・装置原価の高騰抑制を可能とするとともに、1つ
のマイクロプログラムでマイクロプログラムの調速を可
能とすることができ、マイクロプログラム管理を容易に
することができるという効果がある。
As explained above, the present invention can also be used as a speed regulating circuit for a microprogram by setting data as necessary in two flip-flops and one register from an external device. It can also be used as a debug circuit to check for interference in The effect is that it is possible to suppress a decrease in reliability, suppress a rise in equipment costs, and also to be able to control the speed of a microprogram with one microprogram, making microprogram management easier. There is.

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

第1図は本発明の一実施例の構成を示すブロック図であ
る。 1・2・・・・・・レジスタ、3・4・・・・・・フリ
ップフロップ、5〜7・・・・・・制御回路、8・・・
・・・選択器、100〜114・・・・・・信号線、2
00〜202・・・・・・スキャン信号線。
FIG. 1 is a block diagram showing the configuration of an embodiment of the present invention. 1, 2...Register, 3, 4...Flip-flop, 5-7...Control circuit, 8...
... Selector, 100-114 ... Signal line, 2
00-202...Scan signal line.

Claims (1)

【特許請求の範囲】 外部装置よりそれぞれ別々に状態値を設定できる第1お
よび第2のフリップフロップと、次に実行する先行制御
処理を開始するよう先行制御装置に指示する次先行制御
処理開始指示と、次に実行する命令あるいは割込み処理
を開始するよう演算実行装置に指示する次命令・割込み
処理実行開始指示とを含むマイクロ命令を外部装置より
設定できるレジスタと、 前記第1のフリップフロップの保持する状態値がセット
状態であると、前記レジスタに保持された次先行制御処
理開始指示を真の次先行制御処理開始指示とみなし、他
の次先行制御処理開始指示を無効化し、前記第1のフリ
ップフロップの保持する状態値がリセット状態であると
、全ての次先行制御処理開始指示を有効とする第1の制
御回路と、 前記第2のフリップフロップの保持する状態値がセット
状態であると、前記レジスタに保持された次命令・割込
み処理実行開始指示を、真の次命令・割込み処理実行開
始指示とみなし、他の次命令・割込み処理実行開始指示
を無効化し、前記第2のフリップフロップの保持する状
態値がリセット状態であると、全ての次命令・割込み処
理実行開始指示を有効とする第2の制御回路と、 前記第1および第2の制御回路により、前記次先行制御
処理開始指示または前記次命令・割込み処理実行開始指
示が無効化された場合に、現在実行中の命令・割込み処
理実行制御マイクロプログラムの最終ステップ実行後に
前記レジスタに保持されたマイクロ命令を実行するよう
制御する第3の制御回路とを備えて成ることを特徴とす
るマイクロプログラム制御装置。
[Claims] First and second flip-flops whose state values can be set separately by an external device, and a next preceding control process start instruction that instructs the preceding control device to start the next preceding control process. and a register in which an external device can set a microinstruction including a next instruction to be executed or a next instruction/interrupt processing execution start instruction for instructing the arithmetic execution unit to start interrupt processing; and a register for holding the first flip-flop. If the status value is set, the next preceding control processing start instruction held in the register is regarded as the true next preceding control processing start instruction, other next preceding control processing start instructions are invalidated, and the first preceding control processing start instruction is invalidated. If the state value held by the flip-flop is in the reset state, the first control circuit validates all next preceding control processing start instructions; and if the state value held by the second flip-flop is in the set state. , considers the next instruction/interrupt processing execution start instruction held in the register as a true next instruction/interrupt processing execution start instruction, invalidates the other next instruction/interrupt processing execution start instructions, and outputs the second flip-flop. When the state value held by is in the reset state, a second control circuit that validates all next instruction/interrupt processing execution start instructions, and the first and second control circuits start the next preceding control processing. When the instruction or the next instruction/interrupt processing execution start instruction is invalidated, the microinstruction held in the register is controlled to be executed after the final step of the currently executing instruction/interrupt processing execution control microprogram is executed. A microprogram control device comprising: a third control circuit.
JP5406390A 1990-03-05 1990-03-05 Microprogram controller Pending JPH03255528A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5406390A JPH03255528A (en) 1990-03-05 1990-03-05 Microprogram controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5406390A JPH03255528A (en) 1990-03-05 1990-03-05 Microprogram controller

Publications (1)

Publication Number Publication Date
JPH03255528A true JPH03255528A (en) 1991-11-14

Family

ID=12960160

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5406390A Pending JPH03255528A (en) 1990-03-05 1990-03-05 Microprogram controller

Country Status (1)

Country Link
JP (1) JPH03255528A (en)

Similar Documents

Publication Publication Date Title
US4392208A (en) Data processing system and diagnostic unit
GB1097449A (en) A digital electronic computer system
JP2005317023A (en) Breakpoint logic unit, debug logic, and breakpoint method for data processing apparatus
US5155821A (en) Command performing order change-over system in data processor
JPS6218936B2 (en)
US4259718A (en) Processor for a data processing system
JPS6019028B2 (en) information processing equipment
JPH03255528A (en) Microprogram controller
JP2653412B2 (en) How to set breakpoints
JPH0646380B2 (en) Information processing equipment
JPS60124746A (en) Data processing unit
KR920003909B1 (en) Debugging supporting circuit
JPS62145426A (en) Microprograms processing unit
JPS62197834A (en) Microprogram controller
JP2697695B2 (en) Adapter device
KR0162462B1 (en) Device and method for driving microprocessor
JP2558902B2 (en) Semiconductor integrated circuit device
JPH087679B2 (en) Microprocessor
JPS6015969B2 (en) Microinstruction address generation method
JPS62119663A (en) Information processing unit
JPS60193046A (en) Detecting system for instruction exception
JPH0642207B2 (en) Multi-level programming method
JPH0540666A (en) Interruption monitoring device for integrated circuit microprocessor
JPH04162150A (en) Watchdog timer control circuit
JPS5935250A (en) Program controller