JPH0738156B2 - Micro command controller - Google Patents

Micro command controller

Info

Publication number
JPH0738156B2
JPH0738156B2 JP63309457A JP30945788A JPH0738156B2 JP H0738156 B2 JPH0738156 B2 JP H0738156B2 JP 63309457 A JP63309457 A JP 63309457A JP 30945788 A JP30945788 A JP 30945788A JP H0738156 B2 JPH0738156 B2 JP H0738156B2
Authority
JP
Japan
Prior art keywords
input
output
microinstruction
bus
register
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.)
Expired - Fee Related
Application number
JP63309457A
Other languages
Japanese (ja)
Other versions
JPH02155035A (en
Inventor
幸也 東
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 JP63309457A priority Critical patent/JPH0738156B2/en
Publication of JPH02155035A publication Critical patent/JPH02155035A/en
Publication of JPH0738156B2 publication Critical patent/JPH0738156B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

【発明の詳細な説明】 産業上の利用分野 本発明は、独立な複数の外部バスを単一のマイクロ命令
制御機構により制御する装置に関するもので、特に複数
の外部バスに同一の処理を行う場合に好適なマイクロ命
令制御装置に関するものである。
Description: BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a device for controlling a plurality of independent external buses by a single micro-instruction control mechanism, and particularly when performing the same processing on a plurality of external buses. The present invention relates to a microinstruction control device suitable for.

従来の技術 独立な複数の外部バスを単一のマイクロプログラム制御
機構で制御する装置に関して直接記載された文献はない
が、従来の外部バスを制御するマイクロ命令制御装置と
しては、例えば、ナシヨナル テクニカル レポート
(National Technical Report)、Vol.29、p.116(198
3)に示されている。
2. Description of the Related Art Although there is no document directly describing a device for controlling a plurality of independent external buses by a single microprogram control mechanism, a conventional microinstruction control device for controlling an external bus is described in, for example, National Technical Report. (National Technical Report), Vol.29, p.116 (198
3).

第3図はこの従来のマイクロ命令制御装置のブロック図
を示すものであり、1は入出力命令を含む複数のマイク
ロ命令を格納する制御記憶部、2は制御記憶部1に格納
されたマイクロ命令のうちの1語を選択するアドレスレ
ジスタ、3は選択されたマイクロ命令を格納するデータ
レジスタ、4はデータレジスタ3に格納されたマイクロ
命令に従って制御信号を発生するデコーダ、5は外部バ
ス6に対して入出力を制御するバス制御装置(以下BTC
と称す)、7はバス制御装置に対する起動信号である。
FIG. 3 is a block diagram of this conventional microinstruction control device, in which 1 is a control storage unit for storing a plurality of microinstructions including input / output instructions, and 2 is a microinstruction stored in the control storage unit 1. An address register for selecting one of the words, 3 is a data register for storing the selected microinstruction, 4 is a decoder for generating a control signal according to the microinstruction stored in the data register 3, and 5 is for the external bus 6. A bus controller that controls input and output (hereinafter BTC
7) is a start signal to the bus control device.

以上のように構成された従来のマイクロ命令制御装置に
おいては、制御記憶部1からの入出力命令がデータレジ
スタ3に格納されるとデコーダ4はBTC5に対して信号7
を発生する。BTC5は信号7が入力されると外部バス6に
対して制御を行う。
In the conventional microinstruction control device configured as described above, when the input / output instruction from the control storage unit 1 is stored in the data register 3, the decoder 4 sends a signal 7 to the BTC 5.
To occur. The BTC 5 controls the external bus 6 when the signal 7 is input.

発明が解決しようとする課題 しかしながら上記のような構成では、独立な複数の外部
バスを制御する場合、デコーダ4からの信号とバス制御
装置が直結されているので、外部バスの種類だけの異な
った入出力用マイクロ命令を用意しなければならずマイ
クロ命令の1語の語長が長くなってしまうことに、外部
バス毎の入出力用のマイクロプログラムは異なったもの
が必要で制御記憶部の量が増大するという問題点を有し
ていた。
However, in the above-described configuration, when controlling a plurality of independent external buses, the signal from the decoder 4 and the bus control device are directly connected, and therefore only the types of external buses differ. Since I / O micro-instructions must be prepared and the word length of one word of the micro-instructions becomes long, different I / O micro-programs are required for each external bus, and the amount of control memory is large. Had the problem that

本発明はかかる従来技術の課題に鑑み、マイクロプログ
ラムを共有化することにより、複数の外部バスの入出力
制御に、少ないハードウェア量で対応できるマイクロ命
令制御装置を提供することを目的とする。
The present invention has been made in view of the above problems of the prior art, and it is an object of the present invention to provide a microinstruction control device capable of coping with input / output control of a plurality of external buses with a small amount of hardware by sharing microprograms.

課題を解決するための手段 本発明は、第1の外部バスとの入出力を制御する第1の
バス制御装置と、第2の外部バスとの入出力を制御する
第2のバス制御装置と、入出力命令を含む複数のマイク
ロ命令を格納する制御記憶部と、前記制御記憶部からの
出力を格納するデータレジスタと、前記データレジスタ
に格納されたマイクロ命令を解読し入出力命令の場合前
記第1、第2のバス制御装置に起動信号を発生するデコ
ーダと、前記起動信号は第1、第2のバス制御装置のい
ずれに対する起動信号であるのかを示すモードレジスタ
とを備え、モードレジスタは前記データレジスタの出力
に接続され、前記デコーダはマイクロ命令が前記モード
レジスタへのデータ格納命令であるときにはレジスタに
対して格納信号を発生するデコーダであることを特徴と
するマイクロ命令制御装置である。
Means for Solving the Problems The present invention provides a first bus control device for controlling input / output with a first external bus, and a second bus control device for controlling input / output with a second external bus. A control storage unit for storing a plurality of microinstructions including an input / output instruction, a data register for storing an output from the control storage unit, and a microinstruction stored in the data register for decoding the input / output instruction. The mode register includes a decoder for generating a start signal to the first and second bus control devices, and a mode register for indicating which of the first and second bus control devices is the start signal. The decoder is connected to the output of the data register and generates a storage signal to the register when the microinstruction is a data storage instruction to the mode register. Is a micro command controller.

作用 本発明は前記した構成により、入出力命令の実行が第
1、第2の外部バスのいずれに対するものであるかを示
す情報を予めモードレジスタに設定しておき、この値に
よって第1、第2のバス制御装置のいずれを起動するか
を入出力命令実行時に決めるので、第1、第2の外部バ
スに対する入出力動作も同じマイクロ命令を使用するこ
とができるマイクロプログラムの共用化が図れるので制
御記憶部が節約できる。
With the above-described configuration, the present invention sets information indicating whether the execution of the input / output instruction is for the first external bus or the second external bus in advance in the mode register. Since which of the two bus control devices is to be activated is decided at the time of executing the input / output instruction, it is possible to share the microprogram which can use the same microinstruction for the input / output operation for the first and second external buses. The control storage unit can be saved.

実施例 以下に、本発明の実施例を図面に基づいて説明する。Embodiment An embodiment of the present invention will be described below with reference to the drawings.

第1図は本発明の第1の実施例におけるマイクロ命令制
御装置のブロック図を示すものである。第1図におい
て、11は複数のマイクロ命令を格納する制御記憶部、12
は制御記憶部11に格納されたマイクロ命令のうちの1語
を選択するアドレスレジスタ、13は選択されたマイクロ
命令を格納するデータレジスタ、14はデータレジスタ13
に格納されたマイクロ命令に従って制御信号を発生する
デコーダ、15は第1の外部バス16に対して入出力を制御
する第1のバス制御装置(以下第1のBTCと称す)、17
はデータレジスタ13に格納された命令が入出力命令の時
に発生される起動信号、18は第2の外部バス19に対して
入出力を制御する第2のバス制御装置(以下第2のBTC
と称す)、20はモードレジスタ、21はモードレジスタ20
へのデータ線、22はモードレジスタへの格納信号、23、
24は第1のBTC15に対する第1の起動信号25、第2のBTC
18に対する第2の起動信号26を各々発生するANDゲート
である。
FIG. 1 is a block diagram of a microinstruction controller according to the first embodiment of the present invention. In FIG. 1, reference numeral 11 denotes a control storage unit for storing a plurality of microinstructions, and 12
Is an address register for selecting one of the microinstructions stored in the control storage unit 11, 13 is a data register for storing the selected microinstruction, and 14 is a data register 13
A decoder for generating a control signal in accordance with a microinstruction stored in a first bus controller (hereinafter referred to as a first BTC) 15 for controlling input / output with respect to a first external bus 16;
Is a start signal generated when the instruction stored in the data register 13 is an input / output instruction, and 18 is a second bus control device (hereinafter referred to as a second BTC) which controls input / output with respect to the second external bus 19.
, 20 is a mode register, 21 is a mode register 20.
To the data line, 22 is the signal stored in the mode register, 23,
24 is the first activation signal 25 for the first BTC 15 and the second BTC
An AND gate for generating a second activation signal 26 for each 18.

以上のように構成された本実施例のマイクロ命令制御装
置について、以下その動作を説明する。
The operation of the microinstruction control device of the present embodiment configured as described above will be described below.

デコーダ14は、モードレジスタ20へのデータ設定命令が
データレジスタ13に格納されると、モードレジスタ20に
格納信号22を発生しデータ線21を介して所望の値を設定
する。入出力命令がデータレジスタ13に格納された場
合、デコーダ14はBTCに対する起動信号17を発生する。
ゲート23は前記モードレジスタの状態が論理“1"のとき
で、起動信号17が活性化された時第1のBTC15に対して
第1の起動信号25を発生する。ゲート24は前記モードレ
ジスタの状態が論理“0"のときで、起動信号17が活性化
された時第1のBTC15に対して起動信号26を発生する。
When the data setting instruction for the mode register 20 is stored in the data register 13, the decoder 14 generates a storage signal 22 in the mode register 20 and sets a desired value via the data line 21. When the input / output instruction is stored in the data register 13, the decoder 14 generates the activation signal 17 for the BTC.
The gate 23 generates the first activation signal 25 to the first BTC 15 when the activation signal 17 is activated when the state of the mode register is logic "1". The gate 24 generates the activation signal 26 to the first BTC 15 when the activation signal 17 is activated when the state of the mode register is logic "0".

以上のように本実施例によれば、どちらの外部バスを使
用するかを示すモードレジスタを設けることにより、2
つの外部バスに対する入出力動作を単一のマイクロ命令
で制御できる。また、マイクロ命令の中にモードレジス
タへの格納命令を設けることで少ないハードウェア量で
モードレジスタの設定が行える。
As described above, according to the present embodiment, by providing the mode register indicating which external bus is used,
Input / output operations for two external buses can be controlled by a single microinstruction. In addition, by providing a storage instruction to the mode register in the micro instruction, the mode register can be set with a small amount of hardware.

第2図は本発明の第2の実施例におけるマイクロ命令制
御装置のブロック図である。同図において、11は複数の
マイクロ命令を格納する制御記憶部、12は制御記憶部11
に格納されたマイクロ命令のうちの1語を選択するアド
レスレジスタ、13は選択されたマイクロ命令を格納する
データレジスタ、15は第1の外部バス16に対して入出力
を制御する第1のBTC、18は第2の外部バス19に対して
入出力を制御する第2のBTC、20はモードレジスタ、21
はモードレジスタ20へのデータ線、22はモードレジスタ
への格納信号、23、24はANDゲートで、以上は第1図の
構成と同様なものである。第1図の構成と異なるのは、
27は第1の入出力命令の時に信号28を発生し、第2の入
出力命令の時に信号29を発生し、第3の入出力命令の時
に信号17を発生するデコーダである点と、ANDゲート23
の出力と信号28の論理和をとることで第1のBTC15に対
する第1の起動信号25を発生するORゲート30と、ANDゲ
ート24の出力と信号29の論理和をとることで第2のBTC1
8に対する起動信号26を発生するORゲート31を設けたた
点と、第2のBTC18は起動された時にマイクロ命令の実
行を待機させる信号32を発生する点である。
FIG. 2 is a block diagram of a microinstruction controller according to the second embodiment of the present invention. In the figure, 11 is a control storage unit that stores a plurality of microinstructions, and 12 is a control storage unit 11
Address register for selecting one word of the microinstructions stored in, a data register for storing the selected microinstruction, and a first BTC for controlling input / output with respect to the first external bus 16. , 18 is a second BTC for controlling input / output with respect to the second external bus 19, 20 is a mode register, 21
Is a data line to the mode register 20, 22 is a storage signal to the mode register, and 23 and 24 are AND gates. The above is the same as the configuration of FIG. The difference from the configuration of FIG. 1 is that
AND 27 is a decoder that generates a signal 28 at the time of the first input / output instruction, a signal 29 at the time of the second input / output instruction, and a signal 17 at the time of the third input / output instruction. Gate 23
OR gate 30 which generates the first activation signal 25 for the first BTC 15 by taking the logical OR of the output of and the signal 28, and the second BTC 1 by taking the logical OR of the output of the AND gate 24 and the signal 29.
The point is that an OR gate 31 for generating the activation signal 26 for 8 is provided, and the second BTC 18 generates a signal 32 for waiting the execution of the microinstruction when activated.

前記のように構成された第2の実施例のマイクロ命令制
御装置について、以下その動作を説明する。
The operation of the microinstruction control device of the second embodiment configured as described above will be described below.

第1の入出力命令がデータレジスタ13に格納されるとデ
コーダ27は信号28を発生し、ORゲート30を介して第1の
BTC15に起動信号25を与え外部バス16との入出力動作を
実行する。第2の入出力命令がデータレジスタ13に格納
されるとデコーダ27は信号29を発生し、ORゲート31を介
して第2のBTC18に起動信号26を与え外部バス19との入
出力動作を実行する。第3の入出力命令がデータレジス
タ13に格納されるとデコーダ27は信号17を発生し、前記
モードレジスタの状態が論理“1"の時は第1のBTC15に
対して起動信号25を発生し、前記モードレジスタの状態
が論理“0"の時は第2のBTC18に対して起動信号26を発
生する。第2のBTC18は起動信号26が入力されると外部
バス19での入出力動作が完了するまでマイクロ命令制御
機構が次のマイクロ命令の実行に移らないように待機信
号を発生する。
When the first input / output instruction is stored in the data register 13, the decoder 27 generates the signal 28, and the first signal is output via the OR gate 30.
The start signal 25 is given to the BTC 15 to execute the input / output operation with the external bus 16. When the second input / output instruction is stored in the data register 13, the decoder 27 generates a signal 29, gives a start signal 26 to the second BTC 18 via the OR gate 31, and executes an input / output operation with the external bus 19. To do. When the third input / output instruction is stored in the data register 13, the decoder 27 generates the signal 17, and when the state of the mode register is logical "1", the start signal 25 is generated to the first BTC 15. When the state of the mode register is logical "0", the activation signal 26 is generated for the second BTC 18. When the activation signal 26 is input, the second BTC 18 generates a wait signal so that the microinstruction control mechanism does not shift to the execution of the next microinstruction until the input / output operation on the external bus 19 is completed.

以上のように、第2の実施例によれば各外部バスに対す
る専用の入出力命令を設けることにより、モードレジス
タの設定を行わずに特定の外部バスに固有の処理も実行
できる。また、第2のBTC18からの待機信号32によって
必要なだけマイクロ命令の実行を待機させることで、速
度の異なる外部バスの制御も容易に行える。
As described above, according to the second embodiment, by providing a dedicated input / output instruction for each external bus, it is possible to execute the processing unique to the specific external bus without setting the mode register. Further, by waiting for the execution of the microinstruction as much as necessary by the waiting signal 32 from the second BTC 18, it is possible to easily control the external buses having different speeds.

なお、第1及び第2の実施例において外部バスは2組の
場合を示したが何組でもよい。
In addition, in the first and second embodiments, the case of two sets of external buses is shown, but any number of sets may be used.

発明の効果 以上説明したように、本発明によれば、少ないハードウ
ェア量で複数の独立した外部バスの入出力を制御でき、
その実用的効果は大きい。
Effects of the Invention As described above, according to the present invention, it is possible to control input / output of a plurality of independent external buses with a small amount of hardware,
Its practical effect is great.

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

第1図は本発明における第1の実施例のマイクロ命令制
御装置のブロック図、第2図は本発明における他の実施
例のマイクロ命令制御装置のブロック図、第3図は従来
のマイクロ命令制御装置のブロック図である。 11…制御記憶部、13…データレジスタ、14…デコーダ、
15…第1のBTC、17…BTC起動信号、18…第2のBTC、20
…モードレジスタ。
1 is a block diagram of a microinstruction control device according to the first embodiment of the present invention, FIG. 2 is a block diagram of a microinstruction control device according to another embodiment of the present invention, and FIG. 3 is a conventional microinstruction control. It is a block diagram of an apparatus. 11 ... Control storage unit, 13 ... Data register, 14 ... Decoder,
15 ... First BTC, 17 ... BTC activation signal, 18 ... Second BTC, 20
… Mode register.

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】第1の外部バスとの入出力を制御する第1
のバス制御装置と、第2の外部バスとの入出力を制御す
る第2のバス制御装置と、入出力命令を含む複数のマイ
クロ命令を格納する制御記憶部と、前記制御記憶部から
の出力を格納するデータレジスタと、前記データレジス
タに格納されたマイクロ命令を解読し入出力命令の場合
前記第1、第2のバス制御装置に起動信号を発生するデ
コーダと、前記起動信号は第1、第2のバス制御装置の
いずれに対する起動信号であるのかを示すモードレジス
タとを備え、モードレジスタは前記データレジスタの出
力に接続され、前記デコーダはマイクロ命令が前記モー
ドレジスタへのデータ格納命令であるときにはレジスタ
に対して格納信号を発生するデコーダであることを特徴
とするマイクロ命令制御装置。
1. A first for controlling input / output to / from a first external bus
Bus controller, a second bus controller for controlling input / output to / from the second external bus, a control storage unit for storing a plurality of microinstructions including input / output instructions, and an output from the control storage unit. A data register for storing the data, a decoder that decodes the microinstruction stored in the data register, and generates an activation signal to the first and second bus control devices in the case of an input / output instruction, and the activation signal is the first, A mode register for indicating to which of the second bus control devices the activation signal is sent, the mode register is connected to the output of the data register, and the decoder is a microinstruction for storing a data in the mode register. A microinstruction control device, characterized in that it is sometimes a decoder that generates a store signal for a register.
【請求項2】制御記憶部に格納されるマイクロ命令は第
1、第2、第3の入出力命令を含み、第1の入出力命令
は前記第1のバス制御装置に対する入出力命令であり、
第2の入出力命令は前記第2のバス制御装置に対する入
出力命令であり、第3の入出力命令は、前記モードレジ
スタの内容に従って前記第1、第2のバス制御装置のい
ずれかに対する入出力命令であることを特徴とする請求
項1記載のマイクロ命令制御装置。
2. A microinstruction stored in a control storage unit includes first, second and third input / output instructions, and the first input / output instruction is an input / output instruction for the first bus controller. ,
The second input / output instruction is an input / output instruction for the second bus controller, and the third input / output instruction is an input / output instruction for either the first or second bus controller according to the contents of the mode register. The microinstruction control device according to claim 1, wherein the microinstruction control device is an output instruction.
JP63309457A 1988-12-07 1988-12-07 Micro command controller Expired - Fee Related JPH0738156B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63309457A JPH0738156B2 (en) 1988-12-07 1988-12-07 Micro command controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63309457A JPH0738156B2 (en) 1988-12-07 1988-12-07 Micro command controller

Publications (2)

Publication Number Publication Date
JPH02155035A JPH02155035A (en) 1990-06-14
JPH0738156B2 true JPH0738156B2 (en) 1995-04-26

Family

ID=17993222

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63309457A Expired - Fee Related JPH0738156B2 (en) 1988-12-07 1988-12-07 Micro command controller

Country Status (1)

Country Link
JP (1) JPH0738156B2 (en)

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61157941A (en) * 1984-12-28 1986-07-17 Matsushita Electric Ind Co Ltd Transfer address controller

Also Published As

Publication number Publication date
JPH02155035A (en) 1990-06-14

Similar Documents

Publication Publication Date Title
JPH0346850B2 (en)
JPS5911921B2 (en) numerical control device
JPS5824954A (en) Address controlling system
JPH0394303A (en) Timing generator
JPS58129673A (en) Data processor
JPH0738156B2 (en) Micro command controller
JPS6146552A (en) Information processor
JP2731618B2 (en) emulator
JPS62130427A (en) Memory read/write system
JPH0766357B2 (en) I / O control method
JPS6218934B2 (en)
JPS61175834A (en) Data processor provided with microprogram debug function
JPS6293734A (en) Information processor
JPS60105048A (en) Microprogram control system
JPS6218933B2 (en)
JPS63244237A (en) Information processor
JPH0727466B2 (en) Service processor Command processing method
JPH02183330A (en) Data processor
JPS60189060A (en) Multiprocessor system
JPS619728A (en) Microprogram controller
JPS63279351A (en) Dma transfer controller
JPS62248043A (en) Memory switching circuit for fetching microcomputer instruction
JPH03257572A (en) Multiprocessor system
JPS6136657B2 (en)
JPH0239812B2 (en)

Legal Events

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