JPS62168234A - Microprogram controller using sequencer - Google Patents

Microprogram controller using sequencer

Info

Publication number
JPS62168234A
JPS62168234A JP1057486A JP1057486A JPS62168234A JP S62168234 A JPS62168234 A JP S62168234A JP 1057486 A JP1057486 A JP 1057486A JP 1057486 A JP1057486 A JP 1057486A JP S62168234 A JPS62168234 A JP S62168234A
Authority
JP
Japan
Prior art keywords
sequencer
microprogram
data
instruction
hardware
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
JP1057486A
Other languages
Japanese (ja)
Other versions
JPH0740223B2 (en
Inventor
Takeshi Kubo
毅 久保
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP61010574A priority Critical patent/JPH0740223B2/en
Publication of JPS62168234A publication Critical patent/JPS62168234A/en
Publication of JPH0740223B2 publication Critical patent/JPH0740223B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PURPOSE:To shorten the program processing time by attaining the input of signals to a mapping register from hardware as well. CONSTITUTION:Both the data of an instruction converting ROM 3 to be supplied to a switch circuit 7 and the hardware generating signal are supplied to a multiplexer 71. Then the data of the ROM 3 is outputted while the idle state signal of a sequencer 4 is inputted. While the hardware generating signal is outputted when no idle state signal is supplied. A mapping register 72 receives the output data of the multiplexer 71 and sends the input data to the sequencer 4 by the enable signal given from the sequencer 4 after the idle state signal or the hardware generating state signal is received. The sequencer 4 selects the address of a microprogram memory 5 and stores it in a data register 6.

Description

【発明の詳細な説明】 〔概要〕 マイクロプログラム制御装置であって、マイクロプロセ
ッサからシーケンサ4に命令を与えるマツピングレジス
タにハードウェアからの信号も入力可能とし、マツピン
グレジスタの活用によって、プログラム処理時間を短縮
する。
[Detailed Description of the Invention] [Summary] This is a microprogram control device in which signals from hardware can also be input to a mapping register that provides instructions from a microprocessor to a sequencer 4, and program processing is performed by utilizing the mapping register. Reduce time.

〔産業上の利用分野〕[Industrial application field]

本発明は、ハードウェアの発生信号もマイクロプログラ
ムのマツピング入力として入力可能としたシーケンサに
よるマイクロプログラム制御装置に関するものである。
The present invention relates to a microprogram control device using a sequencer in which signals generated by hardware can also be input as mapping inputs of the microprogram.

情報処理システムではマイクロプログラムによる装置制
御の分担と合理化を行って、システム処理性能の向上を
図っている。
In information processing systems, the system processing performance is improved by dividing and rationalizing device control using microprograms.

マイクロプロセッサがプログラム実行の一部を委託する
シーケンサは委託された所定のマイクロプログラムルー
チンを実行する。
The sequencer, to which the microprocessor delegates part of its program execution, executes the delegated predetermined microprogram routine.

シーケンサにマイクロプロセッサが委託する命令ヲ与え
るマンピングレジスタは、マイクロプロセッサからの命
令に対応するマイクロプログラムを起動すると、その命
令の実行中は待機状態にある。
When a microprogram corresponding to an instruction from the microprocessor is activated, the manping register, which provides the sequencer with instructions entrusted by the microprocessor, is in a standby state while the instruction is being executed.

これに着目し、マツピングレジスタの待機期間を利用し
て、ハードウェアが発生する信号を解析しプログラム処
理を行うもので、マツピングレジスタの効果的利用を図
るものである。
Focusing on this, the system uses the waiting period of the mapping register to analyze signals generated by the hardware and performs program processing, thereby making effective use of the mapping register.

〔従来の技術〕[Conventional technology]

第4図は従来のマイクロプログラムを実行するシーケン
サによるマイクロプログラム制御装置のブロック図であ
る。
FIG. 4 is a block diagram of a conventional microprogram control device using a sequencer that executes a microprogram.

マイクロプロセッサ1の実行プログラムの起動命令が命
令レジスタ2にロードされると、命令レジスタ2は起動
命令を実行するマイクロプログラムアドレスを格納して
いる命令変換ROM3から実行マイクロプログラムアド
レスを選択し、シーケンサ4に入力する。
When the startup instruction of the execution program of the microprocessor 1 is loaded into the instruction register 2, the instruction register 2 selects the execution microprogram address from the instruction conversion ROM 3 that stores the microprogram address for executing the startup instruction, and selects the execution microprogram address from the sequencer 4. Enter.

シーケンサ4はマイクロプログラムメモリ5にアドレス
を指定してデータを取り出し、情報処理の実行を制御す
る。
The sequencer 4 specifies an address in the microprogram memory 5, retrieves data, and controls the execution of information processing.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

この従来の方式では、マイクロプロセッサがシーケンサ
4に命令を与えるのは、シーケンサの動作が終了して、
待機状態、即ちアイドル状態の時のみである。
In this conventional method, the microprocessor issues instructions to the sequencer 4 only after the sequencer has finished its operation.
This is only in the standby state, that is, in the idle state.

本発明はこのような点に鑑みて創作されたものであって
、命令変換ROMとハードウェアの発生信号を切り換え
てマンピングレジスタに入力するようにしてマツピング
レジスタの活用と、それによるプログラム処理時間の短
縮を図ったマイクロプログラム制御装置を提供すること
を目的としている。
The present invention was created in view of the above points, and utilizes the mapping register by switching the signals generated by the instruction conversion ROM and the hardware and inputting them to the mapping register, and program processing using the mapping register. The purpose of this invention is to provide a microprogram control device that saves time.

〔問題点を解決するための手段〕[Means for solving problems]

第1図は本発明のシーケンサによるマイクロプログラム
制御装置の原理ブロック図を示す。
FIG. 1 shows a principle block diagram of a microprogram control device using a sequencer according to the present invention.

マイクロプロセッサ1のバスに命令レジスタ2が接続さ
れ、その命令レジスタ2の出力が命令変換ROM3に接
続され、その出力とハードウェア発生信号とをシーケン
サのアイドル信号によって切り換える切換回路7に接続
し、その切換回路7の出力はマツピングレジスタ72を
介してシーケンサ4に接続される。
An instruction register 2 is connected to the bus of the microprocessor 1, and the output of the instruction register 2 is connected to an instruction conversion ROM 3, which is connected to a switching circuit 7 that switches between the output and a hardware generated signal by an idle signal of the sequencer. The output of the switching circuit 7 is connected to the sequencer 4 via a mapping register 72.

シーケンサ4はマイクロプログラムメモリ5に接続され
、マイクロプログラムをアクセスして実行する。
Sequencer 4 is connected to microprogram memory 5 to access and execute microprograms.

命令変換ROM3の出力を直接マンピングレジスタ4に
入力することなく、切換回路7を挿入してハードウェア
発生信号も接続することができるような回路構成となっ
ている。
The circuit configuration is such that a switching circuit 7 can be inserted to connect hardware generated signals without directly inputting the output of the instruction conversion ROM 3 to the manipulating register 4.

〔作用〕[Effect]

マイクロプログラムエからの実行プログラムの起動命令
が命令レジスタ2にセットされると、その起動命令を変
換ROMアドレスとして命令変換ROM3からマイクロ
プログラムアドレスデータが選択され、切換回路7はシ
ーケンサ4がアイドル状態ならば、そのマイクロプログ
ラムアドレスデータを送出する。
When the start command of the execution program from the microprogram engine is set in the instruction register 2, microprogram address data is selected from the command conversion ROM 3 using the start command as a conversion ROM address, and the switching circuit 7 selects the start command when the sequencer 4 is in an idle state. For example, the microprogram address data is sent.

次いで、そのアドレスデータはシーケンサ4に入力され
、シーケンサ4はいくつかの入力アドレスの中からアド
レスを選択してマイクロプログラムメモリ5に出力し、
そのアドレスに格納されているデータが読み出されてデ
ータレジスタ6から送出される。
Next, the address data is input to the sequencer 4, which selects an address from among several input addresses and outputs it to the microprogram memory 5.
The data stored at that address is read out and sent out from the data register 6.

切換回路7は、シーケンサ4が動作中ならば、ハードウ
ェア発生信号を受入れ、シーケンサ4は命令変換ROM
3からのデータと同様の処理を行う。
If the sequencer 4 is in operation, the switching circuit 7 accepts the hardware generated signal, and the sequencer 4 receives the instruction conversion ROM.
Perform the same processing as the data from 3.

〔実施例〕〔Example〕

第1図の本発明のマイクロプログラム制御装置の原理ブ
ロック図と、第2図の本発明の一実施例の切換回路7の
ブロック図と、第3図、第4図のフローチャートを用い
て、本発明のシーケンサによるマイクロプログラム制御
装置を詳細に説明する。
Using the principle block diagram of the microprogram control device of the present invention shown in FIG. 1, the block diagram of the switching circuit 7 of one embodiment of the present invention shown in FIG. 2, and the flowcharts shown in FIGS. A microprogram control device using a sequencer according to the invention will be explained in detail.

なお、全図を通じて同一符号は同一対象物を示す。Note that the same reference numerals indicate the same objects throughout the figures.

切換回路7に入力する命令変換ROM3のデータとハー
ドウェア発生信号はマルチプレクサ71に入力し、シー
ケンサ4のアイドル状態信号が入力している時には命令
変換ROMのデータを出力し、アイドル状態信号が入力
していない時にはハードウェア発生信号を出力する。
The data of the instruction conversion ROM 3 and the hardware generated signal input to the switching circuit 7 are input to the multiplexer 71, and when the idle state signal of the sequencer 4 is input, the data of the instruction conversion ROM 3 is output, and the idle state signal is input. When not in use, outputs a hardware-generated signal.

マンピンダレジスタフ2は、入力データをアイドル状態
信号とハードウェア発生状態信号とオア回路73を介し
ていずれかの信号が人力することによってマルチプレク
サ71の出力データを受取り、シーケンサ4からのイネ
ーブル信号でデータをシーケンサ4に送出する。
The manpinder register 2 receives the output data of the multiplexer 71 by inputting the input data through an idle state signal, a hardware generated state signal, and either signal via the OR circuit 73, and receives the output data from the multiplexer 71 by inputting the input data with an idle state signal, a hardware generated state signal, and one of the signals via the OR circuit 73. Send the data to the sequencer 4.

シーケンサ4はそのデータによってマイクロプログラム
メモリ5のアドレスを選択し、データレジスタ6に格納
する。
Sequencer 4 selects an address in microprogram memory 5 based on the data and stores it in data register 6.

そしてそのデータは情報処理システムの実行データとし
て送出される。
The data is then sent as execution data to the information processing system.

更に具体的に説明すれば、シーケンサのアイドル時、切
換回路7は命令変換ROMの信号をマツピングレジスタ
に入力し、マイクロプロセッサ1が発する命令を例えば
、命令A(命令コード「01」)、命令B(命令コード
r02J)、、、等とし、そのいずれかの命令が命令レ
ジスタ2にセットされ、命令変換ROMによってそれぞ
れ[001J、ro02J、、、、等マイクロプログラ
ムアドレスに変換される。
More specifically, when the sequencer is idle, the switching circuit 7 inputs the signal of the instruction conversion ROM to the mapping register, and converts the instruction issued by the microprocessor 1 into, for example, instruction A (instruction code "01"), instruction B (instruction code r02J), .

変換されたマイクロプログラムアドレスによりマイクロ
プログラムを起動することができる。
The microprogram can be started using the converted microprogram address.

シーケンサ動作中には切換回路7はハードウェア発生信
号をマツピングレジスタ72に入力し、ハードウェア発
生によりマンピングレジスタ72にセットされた後、シ
ーケンサ4のジャンプマツプ命令が実行され、ハードウ
ェア信号によるシーケンサ制御が行われる。
During sequencer operation, the switching circuit 7 inputs a hardware-generated signal to the mapping register 72. After the hardware-generated signal is set in the mapping register 72, the jump map instruction of the sequencer 4 is executed, and the signal generated by the hardware signal is set in the mapping register 72. Sequencer control is performed.

マンピングレジスタ72にハードウェア発生信号がセン
トされる時、所定の変換がなされ、例えば入力データの
上位に所定のrxxJが付加され、「xxoIJがマイ
クロプログラムアドレスとしてマイクロプログラムメモ
リ5のアドレスを指示するデータとなる(rxxJはマ
イクロプログラムの制御テーブル領域を示し、「01」
はハードウェア発生信号を示す)。
When a hardware generated signal is sent to the manping register 72, a predetermined conversion is performed, for example, a predetermined rxxJ is added to the upper part of the input data, and "xxoIJ indicates the address of the microprogram memory 5 as a microprogram address. data (rxxJ indicates the microprogram control table area, "01"
indicates a hardware-generated signal).

マイクロプログラムメモリ5では、このマイクロプログ
ラムアドレスによって指示されたその実行プログラムア
ドレスのデータAを実行することにより、ハードウェア
発生信号によるシーケンサ4の制御を行う。
The microprogram memory 5 controls the sequencer 4 using hardware-generated signals by executing data A at the execution program address specified by the microprogram address.

因に、従来ではハードウェア発生信号によりシーケンサ
4の制御を行う場合には、複数回、分岐命令を実行して
いたため命令の種類が多いと、判断による処理時間がか
かっていた(第5図)。
By the way, in the past, when controlling the sequencer 4 using hardware-generated signals, branch instructions were executed multiple times, so if there were many types of instructions, the processing time required for judgment was required (Figure 5). .

しかるに本発明によると、1回の分岐命令でノー−ドウ
エア発生信号によるシーケンサ4の制御を可能にした。
However, according to the present invention, the sequencer 4 can be controlled by a nodeware generated signal with a single branch instruction.

なお、従来例では命令変換ROM3はマンピングレジス
タ72の機能をを備えている。
In the conventional example, the instruction conversion ROM 3 has the function of a manping register 72.

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

以上述べてきたように、本発明によれば、マンピングレ
ジスタを活用してハードウェア発生信号をマツピングレ
ジスタに入力することによりハードウェア発生信号によ
るシーケンサの制御を1回の分岐命令で実行することを
可能にし、システムの処理時間の短縮を可能にし、実用
的には極めて有用である。
As described above, according to the present invention, by utilizing the mapping register and inputting the hardware generated signal to the mapping register, the sequencer control using the hardware generated signal is executed with one branch instruction. This makes it possible to reduce the processing time of the system, and is extremely useful in practice.

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

第1図は本発明の原理ブロック図、 第2図は実施例の切換回路のブロック図、第3図は実施
例のフローチャート、 第4図は従来例のブロック図、 第5図は従来例のフローチャートである。 図において、 1はマイクロプロセッサ、 2は命令レジスタ、 3は命令変換ROM、 4はシーケンサ、 5はマイクロプログラムメモリ、 7は切換回路、 71はマルチプレクサ、 4阿J9刀め原理7・ロシア図 第1図 9!Jt45’lp C7)’frjJFfpV°Oy
7m第2図 ネ〃Lぢドブ列の7“D・ジクロ 第4図 隼【方をづりむ70−十v−ト @ 3 図 ■ 畷 4色表gゴー717か手ヤード 第 5 図
Fig. 1 is a block diagram of the principle of the present invention, Fig. 2 is a block diagram of the switching circuit of the embodiment, Fig. 3 is a flowchart of the embodiment, Fig. 4 is a block diagram of the conventional example, and Fig. 5 is the block diagram of the conventional example. It is a flowchart. In the figure, 1 is a microprocessor, 2 is an instruction register, 3 is an instruction conversion ROM, 4 is a sequencer, 5 is a microprogram memory, 7 is a switching circuit, 71 is a multiplexer, 4A J9 sword principle 7 Russian diagram No. 1 Figure 9! Jt45'lp C7)'frjJFfpV°Oy
7m Figure 2 Ne〃L〢Dob row 7"D/Jikro Figure 4 Hayabusa

Claims (1)

【特許請求の範囲】 マイクロプロセッサ(1)の起動命令をセットする命令
レジスタ(2)と、 該命令を実行するマイクロプログラムのアドレスを選択
する命令変換ROM(3)と、 該命令変換ROM(3)のデータとハードウェアが発信
するハードウェア信号とを切り換えるマルチプレクサ(
71)と、該マルチプレクサ(71)の出力に接続され
たマイクロプログラムのアドレスを指示するマッピング
レジスタ(72)とを備えた切換回路(7)と、 該マッピングレジスタ(71)の内容によってマイクロ
プログラムメモリ(5)のマイクロプログラムのアドレ
スを指示するシーケンサ(4)とを備えてなることを特
徴とするシーケンサによるマイクロプログラム制御装置
[Claims] An instruction register (2) for setting a startup instruction for a microprocessor (1), an instruction conversion ROM (3) for selecting an address of a microprogram that executes the instruction, and an instruction conversion ROM (3) for selecting an address of a microprogram that executes the instruction. ) and the hardware signal sent by the hardware.
71) and a mapping register (72) for indicating the address of the microprogram connected to the output of the multiplexer (71); (5) A sequencer-based microprogram control device comprising: (5) a sequencer (4) for instructing the address of the microprogram.
JP61010574A 1986-01-20 1986-01-20 Micro-program controller with sequencer Expired - Fee Related JPH0740223B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61010574A JPH0740223B2 (en) 1986-01-20 1986-01-20 Micro-program controller with sequencer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61010574A JPH0740223B2 (en) 1986-01-20 1986-01-20 Micro-program controller with sequencer

Publications (2)

Publication Number Publication Date
JPS62168234A true JPS62168234A (en) 1987-07-24
JPH0740223B2 JPH0740223B2 (en) 1995-05-01

Family

ID=11754004

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61010574A Expired - Fee Related JPH0740223B2 (en) 1986-01-20 1986-01-20 Micro-program controller with sequencer

Country Status (1)

Country Link
JP (1) JPH0740223B2 (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5943444A (en) * 1982-09-06 1984-03-10 Toshiba Corp Method and device for microprogram control

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5943444A (en) * 1982-09-06 1984-03-10 Toshiba Corp Method and device for microprogram control

Also Published As

Publication number Publication date
JPH0740223B2 (en) 1995-05-01

Similar Documents

Publication Publication Date Title
US5274831A (en) Microprocessor in response to an interrupt request for executing a microinstruction for sampling the mode of operation
JPS62168234A (en) Microprogram controller using sequencer
JPH0457003B2 (en)
JPS63142431A (en) Pipeline control system
JPS62286117A (en) Information processor
JPS61282946A (en) Programmable controller
JP2919841B2 (en) Testing method for data processing equipment
JPS5899843A (en) Condition branching device of microprogram
JPH01297728A (en) Microprogram start address generating system
JPS60254344A (en) Assigning method of memory address
JPS5971556A (en) Data collection system
JPH05334098A (en) Method and device for interruption control
JP2841405B2 (en) Microcomputer control circuit
JPS6293734A (en) Information processor
JPS62197834A (en) Microprogram controller
JPS61253567A (en) Data input and output system
JPS58225469A (en) Multi-processor controlling system
JPH03174638A (en) Data processor
JPS6232745A (en) Circuit processing system
JPS62260232A (en) Microprogram controller
JPH05233026A (en) Microcomputer circuit
JPS6224325A (en) Arithmetic processor
JPH01116737A (en) Power source controller
JPS62121543A (en) Microprogram controller
JPS5850046A (en) Information processing device

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees