JPS6135577B2 - - Google Patents
Info
- Publication number
- JPS6135577B2 JPS6135577B2 JP55183071A JP18307180A JPS6135577B2 JP S6135577 B2 JPS6135577 B2 JP S6135577B2 JP 55183071 A JP55183071 A JP 55183071A JP 18307180 A JP18307180 A JP 18307180A JP S6135577 B2 JPS6135577 B2 JP S6135577B2
- Authority
- JP
- Japan
- Prior art keywords
- memory
- instruction
- microprogram
- control
- instruction memory
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/22—Microcontrol or microprogram arrangements
- G06F9/223—Execution means for microinstructions irrespective of the microinstruction function, e.g. decoding of microinstructions and nanoinstructions; timing of microinstructions; programmable logic arrays; delays and fan-out problems
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
Description
【発明の詳細な説明】
本発明は、コンピユータハードウエアのマイク
ロプログラム制御方式に関し、ハードウエアの動
作の信頼性向上を図るものである。DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a microprogram control method for computer hardware, and is intended to improve the reliability of the operation of the hardware.
コンピユータのハードウエアの制御は、マイク
ロプログラムによつて行われる傾向にある。その
ためマイクロプログラムを格納するメモリーの容
量も増大して来るので、通常第1図に示されるよ
うに複数のROM(read only memory)M1,
M2,M3………を用いており、アドレスバス1に
よつて所要のROMを選択することにより、制御
バス2を介してマイクロ命令を読出し、マイクロ
命令実行レジスタ3に入力する構成に成つてい
る。このように複数のROMがバス形式で接続さ
れているので、ROMの制御バス2上においてエ
ラーが発生するとマイクロ命令が実行不能とな
り、その結果システムダウンに陥つてしまう。ま
た、システムダウンに陥るとエラーの診断も不可
能となる。 Control of computer hardware tends to be performed by microprograms. As a result, the capacity of memory for storing microprograms has increased, so as shown in Figure 1, multiple ROMs (read only memory) M 1 ,
M 2 , M 3 . It's on. Since a plurality of ROMs are connected in the form of a bus in this way, if an error occurs on the control bus 2 of the ROM, microinstructions become unexecutable, resulting in a system failure. Additionally, if the system goes down, it becomes impossible to diagnose errors.
これに対し、特開昭50−82950号公報に記載の
ように、マクロ命令が導入されるインストラクシ
ヨンレジスタと、該マクロ命令に基づいてマイク
ロプログラムの番地を指定するマイクロプログラ
ムカウンタと、該カウンタの内容によつてアクセ
スされるマイクロプログラムを記憶しているマイ
クロプログラムメモリとから成る内部処理装置
と、全く同様な構成の外部処理装置とを、切換え
回路で選択して、異種の命令を実行可能とするこ
とが提案されている。この手段において、内部処
理装置のマイクロプログラムメモリにCPUの基
本命令を記憶させ、外部処理装置のマイクロプロ
グラムメモリを拡張命令メモリーやオプシヨンメ
モリーとして使用することが考えられる。しかし
ながらインストラクシヨンレジスタやマイクロプ
ログラムカウンタ等も、それぞれのマイクロプロ
グラムメモリごとに装備しておく必要があり、特
〓〓〓〓
に拡張命令メモリーやオプシヨンメモリーなど、
多数のメモリーを要する場合は、ハードウエアが
大掛かりとなる。また動作指示回路やエラー判定
回路なども必要となり、制御が複雑で動作の信頼
性も劣る。 On the other hand, as described in Japanese Patent Application Laid-Open No. 50-82950, there is an instruction register into which a macro instruction is introduced, a microprogram counter that specifies the address of a microprogram based on the macro instruction, and a microprogram counter that specifies the address of the microprogram based on the macro instruction. A switching circuit can select between an internal processing device consisting of a microprogram memory that stores microprograms accessed by the contents of the microprogram, and an external processing device with exactly the same configuration to execute different instructions. It is proposed that In this means, it is conceivable to store the basic instructions of the CPU in the microprogram memory of the internal processing device, and use the microprogram memory of the external processing device as an extended instruction memory or optional memory. However, it is necessary to equip each microprogram memory with an instruction register, microprogram counter, etc.
including extended instruction memory and option memory,
If a large amount of memory is required, the hardware will be large-scale. Furthermore, an operation instruction circuit, an error determination circuit, etc. are also required, making the control complex and the reliability of the operation poor.
本発明の技術的課題は、従来のマイクロプログ
ラム制御方式におけるこのような問題を解消し、
構成および制御が簡単な方式によつて、基本命令
メモリーのみを他の拡張命令メモリーやオプシヨ
ンメモリーなどから独立可能とすることにある。
この目的を達成するために本発明は、CPU(中
央処理装置)の基本命令の実行等のようにCPU
の制御に重要なマイクロプログラムを、他の拡張
命令等とは別のROMに格納すると共に、他の拡
張命令等の制御バスから切離し、マルチプレクサ
によつてCPU基本命令ROMと他のROMとを切換
えて命令を読出す方式を採つている。このように
CPUの基本命令ROMが他のROMから切離されて
いるため、他の拡張命令ROM等の制御バス上で
エラーが発生しても、CPU基本命令ROMの読出
しは可能であり、システムダウンに陥ることは無
く、エラー解析や、エラーに関連しているROM
の制御バスからの切離しも可能である。また拡張
命令メモリーやオプシヨンメモリーなどは共通す
る制御バスに接続され、しかも該基本命令メモリ
ー、拡張命令メモリーおよびオプシヨンメモリー
並びにマルチプレクサを制御する判定回路は、そ
れぞれ共通のアドレスバスに接続されているの
で、従来のように各マイクロプログラムメモリご
とにインストラクシヨンレジスタやマイクロプロ
グラムカウンタを設ける必要がなく、かつ動作指
示回路やエラー判定回路なども不必要となり、ハ
ードウエアが簡素化され、制御も簡単で信頼性が
向上する。 The technical problem of the present invention is to solve these problems in the conventional microprogram control method,
The purpose is to enable only the basic instruction memory to be independent from other extended instruction memories, option memories, etc. by using a method that is easy to configure and control.
In order to achieve this objective, the present invention utilizes the CPU (Central Processing Unit) to
Microprograms important for the control of the CPU are stored in a ROM separate from other extended instructions, etc., and are separated from the control bus for other extended instructions, etc., and a multiplexer is used to switch between the CPU basic instruction ROM and other ROM. A method is adopted in which instructions are read out. in this way
Since the CPU basic instruction ROM is separated from other ROMs, even if an error occurs on the control bus of other extended instruction ROMs, the CPU basic instruction ROM can still be read and the system will go down. There is no error analysis or ROM related to the error.
It is also possible to disconnect the control bus from the control bus. Furthermore, the extended instruction memory, option memory, etc. are connected to a common control bus, and the basic instruction memory, extended instruction memory, option memory, and the judgment circuit that controls the multiplexer are each connected to a common address bus. There is no need to provide an instruction register or microprogram counter for each microprogram memory as in the past, and there is also no need for operation instruction circuits or error judgment circuits, simplifying the hardware and making control easy and reliable. Improves sex.
次に本発明方式の実施例を第2図に基づいて説
明する。Mc,M1′,M2′………は、マイクロプロ
グラムを記憶させるメモリー、例えばROMであ
り、メモリーMcには、CPUの基本命令の実行や
割込み制御、コンソール制御等のようなCPUの
動作に重要なマイクロプログラムが格納されてい
る。他のメモリーM1′,M2′………は、拡張命令
ROMやオプシヨンROMであり、上記のような
CPUの動作に重要な命令以外のマイクロプログ
ラムが格納されている。例えば、フローテイング
命令や関数制御、高速掛算割算等のような特殊な
命令が格納されている。そして、これらの拡張命
令メモリーやオプシヨンメモリーM1′,M2′……
…は、同一制御バス2上に接続されているが、基
本命令メモリーMcは、この制御バス2から切離
されており、マルチプレクサ4を介して命令レジ
スタ3に接続されている。マルチプレクサ4には
制御バス2も接続されており、命令読出しに当た
つては、マルチプレクサ4によつて、基本命令メ
モリーMcと他のメモリーM1′,M2′………とが切
換えられる。即ち、アドレスバス1に接続された
判定回路5でアドレスを判定することにより、マ
ルチプレクサ4で基本命令メモリーMcと他のメ
モリーM1′,M2′………が選択される。各メモリ
ーMc,M1′,M2′………では、自己のアドレスが
選択された際にゲートが開いて、マイクロプログ
ラムがマイクロ命令実行レジスタ3へ読出され
る。 Next, an embodiment of the method of the present invention will be described based on FIG. Mc, M 1 ′, M 2 ′...... are memories that store microprograms, such as ROM, and the memory Mc stores CPU operations such as execution of basic CPU instructions, interrupt control, console control, etc. contains important microprograms. Other memories M 1 ′, M 2 ′...... are extended instructions
ROM or option ROM, such as the above
Contains microprograms other than instructions important for CPU operation. For example, special instructions such as floating instructions, function control, high-speed multiplication and division, etc. are stored. These extended instruction memories and option memories M 1 ′, M 2 ′...
... are connected on the same control bus 2, but the basic instruction memory Mc is separated from this control bus 2 and is connected to the instruction register 3 via a multiplexer 4. A control bus 2 is also connected to the multiplexer 4, and when reading instructions, the multiplexer 4 switches between the basic instruction memory Mc and other memories M 1 ', M 2 ', . . . . That is, by determining the address by the determining circuit 5 connected to the address bus 1, the multiplexer 4 selects the basic instruction memory Mc and other memories M 1 ', M 2 ', . . . . In each memory Mc, M 1 ', M 2 ', . . ., when its own address is selected, the gate is opened and the microprogram is read into the microinstruction execution register 3.
このように、基本命令メモリーMcは、他のメ
モリーM1′,M2′………が接続された制御バス2
とは切離されているので、制御バス2上でエラー
が発生しても拡張命令メモリーやオプシヨンメモ
リーM1′,M2′………からの読出しが不可能にな
るだけであつて、基本命令メモリーMcからの読
出しは可能なため、従来のようにシステムダウン
に陥ることは無い。また、CPUは動作可能なた
め、制御バス2上で生じたエラーの解析もでき、
その結果エラーに係わりのあるメモリーだけを切
離して、他のメモリーでマイクロプログラム制御
することもできる。特に拡張命令メモリーやオプ
シヨンメモリーなどは共通する制御バスに接続さ
れ、しかも該基本命令メモリー、拡張命令メモリ
ーおよびオプシヨンメモリー並びにマルチプレク
サを制御する判定回路は、それぞれ共通のアドレ
スバスに接続されているので、各マイクロプログ
ラムメモリごとにインストラクシヨンレジスタや
マイクロプログラムカウンタを設ける必要がな
く、かつ動作指示回路やエラー判定回路なども不
必要となり、ハードウエアが簡素化される。また
目的のシステムダウンメモリのアクセスなどの制
御も簡単になり、信頼性が向上する。 In this way, the basic instruction memory Mc is connected to the control bus 2 to which other memories M 1 ′, M 2 ′, etc. are connected.
Since the control bus 2 is separated from Since it is possible to read from the instruction memory Mc, the system does not go down like in the past. In addition, since the CPU is operational, it is also possible to analyze errors that occur on control bus 2.
As a result, it is possible to isolate only the memory involved in the error and control the microprogram using other memories. In particular, the extended instruction memory, option memory, etc. are connected to a common control bus, and the basic instruction memory, extended instruction memory, option memory, and judgment circuits that control the multiplexer are each connected to a common address bus. There is no need to provide an instruction register or a microprogram counter for each microprogram memory, and there is also no need for an operation instruction circuit or an error determination circuit, which simplifies the hardware. Furthermore, control of access to the target system down memory becomes easier, improving reliability.
第1図は従来のマイクロプログラム制御回路を
示すブロツク図、第2図は本発明によるマイクロ
〓〓〓〓
プログラム制御方式の一例を示すマイクロプログ
ラム制御回路のブロツク図である。
図において、Mcは基本命令メモリー、M1′,
M2′………は拡張命令メモリーおよびオプシヨン
メモリー、1はアドレスバス、2は制御バス、3
はマイクロ命令実行レジスタ、4はマルチプレク
サ、5は判定回路である。
〓〓〓〓
FIG. 1 is a block diagram showing a conventional microprogram control circuit, and FIG. 2 is a block diagram showing a conventional microprogram control circuit.
FIG. 2 is a block diagram of a microprogram control circuit showing an example of a program control method. In the figure, Mc is the basic instruction memory, M 1 ′,
M 2 '...... is extended instruction memory and option memory, 1 is address bus, 2 is control bus, 3
is a microinstruction execution register, 4 is a multiplexer, and 5 is a determination circuit. 〓〓〓〓
Claims (1)
なマイクロプログラムが、他の拡張命令メモリー
やオプシヨンメモリーとは別の基本命令メモリー
に格納されると共に、 該拡張命令メモリーやオプシヨンメモリーは
夫々共通の制御バスに接続され、基本命令メモリ
ーは該制御バスとは切離され、 該制御バスおよび基本命令メモリーがマルチプ
レクサを介してマイクロ命令実行レジスタに接続
されており、 しかも該基本命令メモリー、拡張命令メモリー
およびオプシヨンメモリー並びに前記マルチプレ
クサを制御する判定回路は、それぞれ共通のアド
レスバスに接続されていることを特徴とするマイ
クロプログラム制御方式。[Scope of Claims] 1. Microprograms important for controlling the CPU, such as the basic instructions of the CPU, are stored in a basic instruction memory that is separate from other extended instruction memories and option memories. The option memories are each connected to a common control bus, the basic instruction memory is separated from the control bus, the control bus and the basic instruction memory are connected to the microinstruction execution register via a multiplexer, and the basic instruction memory is connected to the microinstruction execution register via a multiplexer. A microprogram control system characterized in that an instruction memory, an extended instruction memory, an option memory, and a determination circuit for controlling the multiplexer are each connected to a common address bus.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP55183071A JPS57106956A (en) | 1980-12-24 | 1980-12-24 | Microprogram control system |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP55183071A JPS57106956A (en) | 1980-12-24 | 1980-12-24 | Microprogram control system |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS57106956A JPS57106956A (en) | 1982-07-03 |
| JPS6135577B2 true JPS6135577B2 (en) | 1986-08-13 |
Family
ID=16129234
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP55183071A Granted JPS57106956A (en) | 1980-12-24 | 1980-12-24 | Microprogram control system |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS57106956A (en) |
-
1980
- 1980-12-24 JP JP55183071A patent/JPS57106956A/en active Granted
Also Published As
| Publication number | Publication date |
|---|---|
| JPS57106956A (en) | 1982-07-03 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US5187802A (en) | Virtual machine system with vitual machine resetting store indicating that virtual machine processed interrupt without virtual machine control program intervention | |
| US4975836A (en) | Virtual computer system | |
| JPS5955565A (en) | Multi-firmware system | |
| JPH0155505B2 (en) | ||
| JPS6135577B2 (en) | ||
| JP2680828B2 (en) | Digital device | |
| JPH0552535B2 (en) | ||
| JP2619425B2 (en) | Sequence controller | |
| US5557772A (en) | Data processing apparatus including a register storing a parameter and a microinstruction execution arrangement including a correction arrangement for causing a first value of the parameter to be change to a second, correct value | |
| JPS6057435A (en) | Microprocessor | |
| JPS6065342A (en) | Microcomputer | |
| JPS59114637A (en) | Data processing device | |
| JPS59112350A (en) | Supervising and controlling system of program | |
| JP2731618B2 (en) | emulator | |
| JPS5822765B2 (en) | Program loading method in electronic computer system | |
| JPH035617B2 (en) | ||
| JPS6029131B2 (en) | Diagnostic method | |
| JPH0211933B2 (en) | ||
| JPS60105048A (en) | Microprogram control system | |
| JPS6058491B2 (en) | Error processing method | |
| JPH0150936B2 (en) | ||
| JPH0193838A (en) | Microprocessor for debug | |
| JPS5814256A (en) | Microprogram diagnosis system | |
| JPS60233737A (en) | Incorporated test device of microprocessor | |
| JPH0450620B2 (en) |