JPH0823816B2 - Micro program change device - Google Patents
Micro program change deviceInfo
- Publication number
- JPH0823816B2 JPH0823816B2 JP63022785A JP2278588A JPH0823816B2 JP H0823816 B2 JPH0823816 B2 JP H0823816B2 JP 63022785 A JP63022785 A JP 63022785A JP 2278588 A JP2278588 A JP 2278588A JP H0823816 B2 JPH0823816 B2 JP H0823816B2
- Authority
- JP
- Japan
- Prior art keywords
- address
- microprogram
- microinstruction
- execution
- read
- 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 - Lifetime
Links
Landscapes
- Stored Programmes (AREA)
Description
【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、マイクロプログラム制御装置に関し、特
に、制御メモリに格納されているマイクロプログラムを
変更するための装置に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a microprogram control device, and more particularly to a device for modifying a microprogram stored in a control memory.
従来、制御メモリに格納されたマイクロプログラムの
変更は、たとえ部分的な変更の場合でも、変更されたマ
イクロ命令を含むマイクロプログラムの全体を別の計算
機でアセンブルした後、サービスプロセツサ(SVP)等
の保守機構が持つイニシヤルマイクロプログラムロード
(IMPL)機能を用いて、マイクロプログラムの全体を入
替えることによつて、遂行されている。Conventionally, even if the microprogram stored in the control memory is partially modified, after assembling the entire microprogram including the modified microinstruction on another computer, the service processor (SVP), etc. This is accomplished by replacing the entire microprogram by using the initial microprogram load (IMPL) function of the maintenance mechanism of.
特開昭62−31432号公報には、マイクロ命令を実行時
点で一時的に修正(モデイフアイ)する装置が記載され
ている。この装置は、マイクロプログラムの開発を支援
するためのものであつて、稼動中に制御メモリ内のマイ
クロ命令を書替えるものではない。Japanese Unexamined Patent Publication (Kokai) No. 62-31432 describes a device for temporarily modifying (modifying) a micro instruction at the time of execution. This device is intended to support the development of microprograms, not to rewrite microinstructions in the control memory during operation.
従来の方法では、IMPL処理によりマイクロプログラム
の全体を入替えるので、その期間中データ処理を中断し
なければならない。ところで、マイクロプログラムの変
更は、バグの除去,機能の変更又は強化などの目的で、
かなり頻繁に必要となるのが実情であり、ハードウエア
の信頼性が向上した現在では、しばしば、マイクロプロ
グラムの変更のためにデータ処理が中断される回数が、
故障に起因する中断の10倍を越す。In the conventional method, the entire microprogram is replaced by the IMPL process, so that the data processing must be interrupted during that period. By the way, changes in microprograms are aimed at eliminating bugs, changing or strengthening functions, etc.
Nowadays, it is necessary to do it quite often, and now that the reliability of the hardware has improved, the number of times data processing is interrupted due to changes in microprograms is often
Over 10 times the interruption due to a failure.
本発明の目的は、変更を要するマイクロ命令のみを、
しかもマイクロプログラムの正常な実行と実質上並行し
て、書替えることを可能にし、それにより、マイクロプ
ログラムの部分的変更の操作に伴うデータ処理時間のロ
スを、最小限にとどめることにある。The object of the present invention is to provide only microinstructions that require modification
Moreover, it is possible to rewrite the program substantially in parallel with the normal execution of the microprogram, thereby minimizing the loss of data processing time due to the operation of partial modification of the microprogram.
本発明のマイクロプログラム変更装置は、変更すべき
マイクロ命令のアドレスを識別する情報を記憶する手段
と、この記憶手段に所望のアドレス識別情報をマイクロ
プログラムの正常な実行と並行して書込む手段と、マイ
クロプログラムの実行中にアドレス識別情報により識別
されるアドレスがアクセスされたことを検出する手段
と、この検出手段の出力に応答して当該アドレスから読
出されたマイクロ命令の実行を抑止する手段と、前記検
出手段の出力に応答して当該アドレスに変更されたマイ
クロ命令を転送する手段と、この転送に続いて同じアド
レスに対してマイクロ命令の読出し実行回路を再起動す
る手段とを備える。The microprogram changing device of the present invention comprises means for storing information for identifying the address of a microinstruction to be changed, and means for writing desired address identification information in the storage means in parallel with normal execution of the microprogram. A means for detecting that the address identified by the address identification information is accessed during the execution of the microprogram, and a means for suppressing the execution of the microinstruction read from the address in response to the output of the detecting means. , A means for transferring the microinstruction changed to the address in response to the output of the detecting means, and a means for restarting the microinstruction read execution circuit for the same address following the transfer.
前記の構成によれば、マイクロプログラムの実行と並
行して、変更対象アドレスを示す情報がそのための記憶
装置に書込まれ、そして、マイクロプログラムの実行中
に、変更対象アドレスからマイクロ命令が読出される
と、そのことが検出されて、そのマイクロ命令の実行は
阻止され、代りに、そのアドレスに変更されたマイクロ
命令が書込まれ、続いて、この変更されたマイクロ命令
が読出され、実行される。すなわち、データ処理を中断
することなしに、マイクロ命令の書替えが行なわれる。According to the above configuration, in parallel with the execution of the microprogram, the information indicating the change target address is written in the storage device therefor, and the microinstruction is read from the change target address during the execution of the microprogram. Then, it is detected and execution of the microinstruction is blocked, instead the modified microinstruction is written to that address, which is subsequently read and executed. It That is, the microinstruction is rewritten without interrupting the data processing.
第1図は、後で詳述する実施例の要点を示し、それに
より、本発明の概念の明確な理解を助けるものである。
制御メモリ(CS)1とマイクロ命令リロード指示ビツト
メモリ(CRIS)2は、同じアドレスを持ち、CRIS2の各
アドレスには、そのアドレスのマイクロ命令が変更され
るべきときに“1"の値を取るビツトが、マイクロプログ
ラム変更操作の初期に書込まれる。その後、マイクロプ
ログラムの実行につれて、制御メモリアドレスレジスタ
(CSAR)3の内容は、CS1とCSIR2の双方に供給され、し
たがつて、実行のために読出されたマイクロ命令と同じ
アドレスのCRIS2の内容、すなわちマイクロ命令リロー
ド指示ビツト100が、読出される。このビツト100が“1"
ならば、マイクロ命令実行抑止手段101が働いて、当該
アドレスから読出されたマイクロ命令の実行102は抑止
され、更に、当該アドレスのマイクロ命令の書替え103
が行なわれ、それが終ると、この書替えられたマイクロ
命令の実行104が行なわれる。FIG. 1 shows the essentials of the embodiment described in detail later, thereby helping to clearly understand the concept of the present invention.
The control memory (CS) 1 and the microinstruction reload instruction bit memory (CRIS) 2 have the same address, and each address of CRIS2 is a bit that takes the value of "1" when the microinstruction of that address should be changed. Is written early in the microprogram change operation. Then, as the microprogram is executed, the contents of the control memory address register (CSAR) 3 are supplied to both CS1 and CSIR2, thus the contents of CRIS2 at the same address as the microinstruction read for execution, That is, the micro instruction reload instruction bit 100 is read. This bit 100 is "1"
Then, the microinstruction execution inhibiting means 101 operates to inhibit the execution 102 of the microinstruction read from the address, and further rewrites 103 the microinstruction at the address.
Then, when it is finished, execution 104 of the rewritten microinstruction is performed.
第2図は、本発明の一実施例をブロツクダイヤグラム
で示す。制御メモリ(CS)1と、制御メモリアドレスレ
ジスタ(CSAR)3と、制御メモリデータレジスタ(CSD
R)4と、CSDR遅延レジスタ(CSDRD)11と、デコーダ14
とから成る部分は、通常のマイクロプログラム制御機構
である。平常状態において、CSAR3からのアドレスに従
つてCS1がアクセスされると、そのアドレスのマイクロ
命令データがCSDR4に読出され、そこからCSDRD11に転送
された後、デコーダ14を介して、対応する制御信号201
となり、被制御ハードウエア15に供給される。一方、CS
DR4中のマイクロ命令の次マイクロ命令アドレス部202
は、セレクタ16を経てCSAR3にセツトされ、次のマイク
ロ命令のアドレスを指定する。CS1の内容の原データ(C
SD)は、図示されていない補助メモリ(例えば磁気デイ
スク)に保持されている。FIG. 2 is a block diagram showing an embodiment of the present invention. Control memory (CS) 1, control memory address register (CSAR) 3, control memory data register (CSD)
R) 4, CSDR delay register (CSDRD) 11, and decoder 14
The part consisting of and is a normal microprogram control mechanism. In the normal state, when CS1 is accessed according to the address from CSAR3, the microinstruction data at that address is read into CSDR4, transferred from there to CSDRD11, and then the corresponding control signal 201 via decoder 14.
And is supplied to the controlled hardware 15. On the other hand, CS
Next microinstruction address section 202 of microinstruction in DR4
Is set in CSAR3 via selector 16 and specifies the address of the next microinstruction. Original data of the contents of CS1 (C
SD) is held in an auxiliary memory (for example, a magnetic disk) not shown.
本発明により、マイクロ命令リロード指示ビツトメモ
リ(CRIS)2が設けられる。CRIS2は、CS1と同一のアド
レスを持ち、各アドレスの容量(ワード長)は1ビツト
である。通常、CRIS2中の全ビツトは“0"である。マイ
クロプログラムの部分的変更が必要になると、オペレー
タは、補助メモリ中のマイクロプログラム原データ(CS
D)における変更対象マイクロ命令を書替え、かつ変更
対象アドレスと値“1"のリロード指示ビツトとから成る
変更対象アドレス指示データ(ID)を、補助メモリに格
納して、図示されていないサービスプロセツサ(SVP)
に、マイクロプログラムの変更を指令する。この指令に
応答して、SVPは、主メモリの適当な領域7(この領域
は、予め定められても、あるいはオペレータにより指定
されてもよい)に、ID71とCSD72を転送し、次いで、CRI
S2へのリロード指示ビツトの書込みを開始する。According to the present invention, a microinstruction reload instruction bit memory (CRIS) 2 is provided. CRIS2 has the same address as CS1, and the capacity (word length) of each address is 1 bit. Normally, all bits in CRIS2 are "0". When a partial change in the microprogram is required, the operator must write the original microprogram data (CS
The change target microinstruction in D) is rewritten, and the change target address instruction data (ID) consisting of the change target address and the reload instruction bit with the value "1" is stored in the auxiliary memory, and the service processor (not shown) is stored. (SVP)
To change the microprogram. In response to this command, the SVP transfers the ID71 and CSD72 to the appropriate area 7 of main memory (which may be predetermined or specified by the operator) and then the CRI.
Start writing the reload instruction bit to S2.
まず、CSリロード許可ラツチ(CREL)9がリセツトさ
れる。CREL9がリセツト状態にあると、セレクタ17は、S
VPから転送されたID71中のリロード指示ビツト203を選
択し、セレクタ18は、CRISアドレスレジスタ(ISA)19
の内容、すなわちSVPから転送されたID71中の変更対象
アドレス204を、選択する。したがつて、変更対象アド
レスは、セレクタ18を経てCRIS2のアドレス選択回路に
供給され、また、対応するリロード指示ビツトは、セレ
クタ17とリロード指示データレジスタ(RIDR)5を経
て、CRIS2の書込回路に供給され、その結果、変更対象
マイクロ命令のアドレスと同じCRIS2のアドレスに、
“1"が書込まれる。同様にして、CRIS2における他のす
べての変更対象アドレスに、“1"が書込まれる。CREL9
がリセツト状態にあると、AND回路12の出力が“0"に固
定されるので、CRIS2は、マイクロプログラムの実行に
際して参照されない。したがつて、前述したリロード指
示ビツトのVRIS2への書込みは、マイクロプログラムの
実行と並行して行なわれる。First, the CS reload permission latch (CREL) 9 is reset. When CREL9 is in the reset state, selector 17
The reload instruction bit 203 in the ID 71 transferred from the VP is selected, and the selector 18 selects the CRIS address register (ISA) 19
, The change target address 204 in the ID 71 transferred from the SVP is selected. Therefore, the address to be changed is supplied to the address selection circuit of the CRIS2 via the selector 18, and the corresponding reload instruction bit is passed through the selector 17 and the reload instruction data register (RIDR) 5 to the writing circuit of the CRIS2. As a result, to the same CRIS2 address as the microinstruction target address,
"1" is written. Similarly, "1" is written in all other addresses to be changed in CRIS2. CREL9
Is in the reset state, the output of the AND circuit 12 is fixed to "0", so that CRIS2 is not referred to when the microprogram is executed. Therefore, the writing of the reload instruction bit to the VRIS2 is performed in parallel with the execution of the microprogram.
CRIS2へのリロード指示ビツトの書込みが完了する
と、SVPは、CREL9のセツトを要求するラツチ(図示省
略)をセツトし、その後、マイクロプログラムの適当な
処理ポイント(例えばEOP:End of Process)において、
前記の要求が受付けられて、CREL9がセツトされる。そ
の結果、セレクタ17とセレクタ18は、それぞれ“0"とCS
AR3の出力を選択するように切替えられ、そして、CSIR2
は、CS1と同期して読出されるようになる。When the writing of the reload instruction bit to CRIS2 is completed, the SVP sets a latch (not shown) requesting the setting of CREL9, and then at an appropriate processing point (eg, EOP: End of Process) of the microprogram,
The above request is accepted and CREL9 is set. As a result, the selectors 17 and 18 are set to "0" and CS, respectively.
Switched to select the output of AR3, and then CSIR2
Will be read in synchronization with CS1.
以後、CS1からマイクロ命令が読出されるたびに、そ
れと同じアドレスのCRIS2の内容が読出される。なおCSA
R3の内容は、平常状態においてはCSAR遅延レジスタ(CC
ARD)8に転送され、後述する変更対象アドレスの保存
に備える。CRIS2の出力205が“0"ならば、その時読出さ
れたマイクロ命令には変更がない。この場合、AND回路1
2の出力は“0"であり、CS1から読出されたマイクロ命令
は、平常通り実行される。他方、CRISの出力205が“1"
ならば、AND回路12の出力は“1"になり、CSリロードモ
ードラツチ(CRML)10をセツトする。セツトされたCRML
10の“1"出力は、デコーダ14の平常機能部分を抑止し
て、その時読出されたマイクロ命令の実行を阻止する。
CSARD8の更新は、CRML10の“1"出力により禁止され、そ
れにより、変更対象アドレスを保存する。AND回路12の
“1"出力は、また、新マイクロ命令をCS1に書込むため
のマイクロプログラムルーチン(CSリロードルーチン)
へのブレークインを制御する論理回路13を起動する。Thereafter, every time a micro instruction is read from CS1, the contents of CRIS2 at the same address as that are read. CSA
The contents of R3 are the contents of the CSAR delay register (CC
ARD) 8 to prepare for saving the change target address described later. If the output 205 of CRIS2 is "0", the microinstruction read at that time is unchanged. In this case, AND circuit 1
The output of 2 is "0", and the microinstruction read from CS1 is executed normally. On the other hand, CRIS output 205 is “1”
Then, the output of the AND circuit 12 becomes "1" and the CS reload mode latch (CRML) 10 is set. Set CRML
The "1" output of 10 inhibits the normal functioning portion of the decoder 14 and prevents execution of the then read microinstruction.
Update of CSARD8 is prohibited by “1” output of CRML10, thereby saving the change target address. The "1" output of the AND circuit 12 is also a microprogram routine (CS reload routine) for writing a new microinstruction into CS1.
2. Activate the logic circuit 13 that controls the break-in to.
ブレークイン制御論理回路13は、起動されると、STAR
T信号を発生して、CRリロードルーチンのための実行ス
テージを起動し、かつ、セレクタ16を切替えて、CSリロ
ードルーチンの先頭アドレスをCSAR3にセツトする。こ
うして起動されたCSリロードルーチンは、対応するCSD7
2(そのアドレスは、CSARD8に保存されている変更対象
アドレスと、主メモリ7におけるCSDの先頭アドレスと
から決定することができる)をCS書込データレジスタ
(CSWDR)6に読出すとともに、セレクタ17により選択
された“0"をRIDR5にセツトし、続いて、CSARD8中の変
更対象アドレスをCSAR3に転送した後、CS1とCRIS2に書
込動作を行なわせ、それにより、CS1に変更されたマイ
クロ命令を書込むとともに、CRIS2中のリロード指示ビ
ツトを“0"にリセツトする。最後に、CRML10がリセツト
されて、デコーダ14の平常機能部分が復活し、次いで、
平常のマイクロプログラム実行シーケンスが再開され
る。その結果、この時点でのCSAR3の内容が指定するCS
アドレス(変更対象アドレス)の内容、すなわち今書替
えられたマイクロ命令が、読出されて、実行される。CS
リロードルーチンの実行中は、マイクロ命令解読・実行
機構において、このルーチンの専用機能部分のみが働
き、平常機能部分は凍結されている。なお、CREL9は、
変更を要する全マイクロ命令の書替えが完了した時にリ
セツトしてもよい。しかし、CRIS2の全内容が“0"にリ
セツトされた後は、AND回路12の出力が“1"になること
はないから、CREL9の状態はマイクロプログラムの実行
に影響せず、したがつて、CREL9のリセツトは、次の変
更操作の開始時に行なえば充分である。When the break-in control logic circuit 13 is activated, the STAR
A T signal is generated to activate the execution stage for the CR reload routine, and the selector 16 is switched to set the start address of the CS reload routine to CSAR3. The CS reload routine started in this way is the corresponding CSD7
2 (the address can be determined from the change target address stored in CSARD8 and the start address of the CSD in the main memory 7) is read into the CS write data register (CSWDR) 6 and the selector 17 The "0" selected by is set in RIDR5, the change target address in CSARD8 is transferred to CSAR3, and then CS1 and CRIS2 perform a write operation, which causes the microinstruction changed to CS1. While writing, reset the reload instruction bit in CRIS2 to "0". Finally, the CRML10 is reset, the normal function part of the decoder 14 is restored, and then
The normal microprogram execution sequence is resumed. As a result, the contents of CSAR3 at this point specify CS
The content of the address (address to be changed), that is, the microinstruction just rewritten, is read and executed. CS
During the execution of the reload routine, only the dedicated function part of this routine works in the microinstruction decoding / execution mechanism, and the normal function part is frozen. CREL9 is
It may be reset when the rewriting of all microinstructions that require modification is complete. However, after the entire contents of CRIS2 have been reset to "0", the output of the AND circuit 12 will not be "1", so the state of CREL9 does not affect the execution of the microprogram. It is sufficient to reset CREL9 at the beginning of the next change operation.
第3図は、マイクロ命令実行ステージを説明するため
の図である。EX0ステージはCS1へのアクセスを行なうス
テージであり、EX1ステージはマイクロ命令の読出しを
行なうステージであり、EX2ステージはマイクロ命令の
解読及び実行を行なうステージである。CRIS2の変更対
象アドレスがアクセスされて、EX1ステージにおけるCRM
L10がセツトされると、その出力によつてEX2ステージの
付勢信号EX2が抑止され、それにより、変更対象アドレ
スから読出されたマイクロ命令の実行が阻止される。CR
ML10のセツト出力により抑止されるのは、平常機能のた
めの解読・実行部分14aであり、CSリロードルーチンの
専用の解読・実行部分14bは、後述するEXR2ステージに
属し、CSリロードルーチンが実行される時に付勢され
る。なお、図中の符号TAとTBはデータがセツトされるタ
イミングを表わし、TBは隣合うTAの中間に生じる。FIG. 3 is a diagram for explaining the micro instruction execution stage. The EX0 stage is a stage for accessing CS1, the EX1 stage is a stage for reading microinstructions, and the EX2 stage is a stage for decoding and executing microinstructions. The target address of CRIS2 is accessed and CRM in EX1 stage is accessed.
When L10 is set, its output inhibits the energizing signal EX2 of the EX2 stage, thereby preventing the execution of the microinstruction read from the address to be changed. CR
What is suppressed by the set output of ML10 is the decryption / execution portion 14a for normal functions, and the dedicated decryption / execution portion 14b of the CS reload routine belongs to the EXR2 stage described below, and the CS reload routine is executed. Is urged when The symbols TA and TB in the figure represent the timing at which data is set, and TB occurs in the middle of adjacent TAs.
第4図は、マイクロ命令書替え動作のタイムチヤート
であり、マイクロ命令が書替えられる場合を示す。マ
イクロ命令がEX1ステージに入ると、CRML10が“1"に
セツトされ、それにより、マイクロ命令の実行は抑止
され、そして、以後のEX0/EX1/EX2ステージは抑止され
る。代りに、EX0/EX1/EX2ステージにそれぞれ相当するC
Sリロード専用のEXR0/EXR1/EXR2ステージが、CSリロー
ドルーチン先頭アドレスの生成と同時にSTART信号によ
り開始される。マイクロ命令のアドレスは、CSARD8に
保存されて、変更されたマイクロ命令がCS1に書込ま
れる直前に、CSAR3にセツトされる。CS1への書込みの開
始と同時にCRML10はリセツトされ、CS1への書込みの終
了に続いて、EX0/EX1/EX2ステージが再起動されて、今
書替えられたマイクロ命令が読出され、実行される。FIG. 4 is a time chart of the microinstruction rewriting operation, and shows a case where the microinstruction is rewritten. When the microinstruction enters the EX1 stage, CRML10 is set to "1", which inhibits the execution of the microinstruction and the subsequent EX0 / EX1 / EX2 stages. Instead, C corresponding to EX0 / EX1 / EX2 stages respectively
EXR0 / EXR1 / EXR2 stages dedicated to S reload are started by the START signal at the same time when the CS reload routine start address is generated. The microinstruction address is stored in CSARD8 and set in CSAR3 just before the modified microinstruction is written to CS1. CRML10 is reset at the same time as the writing to CS1 is started, and following the end of writing to CS1, the EX0 / EX1 / EX2 stages are restarted and the microinstruction just rewritten is read and executed.
第5図は、本発明の他の実施例を示す。これの第2図
の実施例からの相違は、CSリロード処理が、マイクロプ
ログラムではなく、SVPにより行なわれる点にある。本
実施例では、CRML10がセツトされると、第2図の実施例
におけるのと同様なEX0/EX1/EX2ステージの抑止の後、S
VPにCSリロード要求を発し、これに応答して、SVPは、C
Sリロード処理20を行なう。すなわち、SVPはCSARD8に保
存されている変更対象アドレスをCSAR3に転送した後、
対応するCSD72をCS1に書込むとともに、CRIS2中のリロ
ード指示ビツトをリセツトする。それが終ると、SVP
は、CRML10をリセツトし、マイクロプログラム実行ステ
ージを再起動する(21)。FIG. 5 shows another embodiment of the present invention. The difference from the embodiment shown in FIG. 2 is that the CS reload processing is performed by the SVP instead of the microprogram. In this embodiment, when CRML10 is set, after the EX0 / EX1 / EX2 stages are suppressed as in the embodiment of FIG.
In response to the CS reload request to the VP, the SVP responds to the C
S Reload processing 20 is performed. That is, SVP transfers the address to be changed stored in CSARD8 to CSAR3,
Write the corresponding CSD72 to CS1 and reset the reload instruction bit in CRIS2. After that, SVP
Resets CRML10 and restarts the microprogram execution stage (21).
第2図の実施例は、マイクロ命令を高速で書替えるこ
とができるが、その反面、CSリロード専用のハードウエ
アを必要とする。第5図の実施例は、そのような特別の
ハードウエアを必要としない代りに、速度は遅い。In the embodiment shown in FIG. 2, microinstructions can be rewritten at high speed, but on the other hand, hardware dedicated to CS reload is required. The embodiment of FIG. 5 does not require such special hardware, but is slower.
CRIS2の代りに、変更対象アドレスを記憶するレジス
タ群と、CSAR3の内容をこのレジスタ群の内容と比較す
る比較器とを用いてもよい。ただし、この変形では、1
回の操作で変更できるマイクロ命令の個数が、レジスタ
の個数で制限される。Instead of CRIS2, a register group that stores the change target address and a comparator that compares the contents of CSAR3 with the contents of this register group may be used. However, in this variant, 1
The number of microinstructions that can be changed in one operation is limited by the number of registers.
〔発明の効果〕 本発明によれば、マイクロプログラムを、それの実行
と実質上並行して変更することができ、したがつて、マ
イクロプログラムの変更のために本来の業務であるデー
タ処理を中断させる必要がない。[Effects of the Invention] According to the present invention, a microprogram can be changed substantially in parallel with the execution of the microprogram. Therefore, the data processing, which is the original task, is interrupted due to the change of the microprogram. You don't have to let me.
第1図は本発明の概念を表わすブロツクダイヤグラム、
第2図は本発明の一実施例のブロツクダイヤグラム、第
3図は第2図の装置におけるマイクロ命令実行ステージ
を示すブロツクダイヤグラム、第4図は第2図の装置に
おけるマイクロ命令書替え動作のタイムチヤート、第5
図は本発明の他の実施例のブロツクダイヤグラムであ
る。 1……制御メモリ、2……変更対象アドレスを識別する
リロード指示ビツトを記憶するメモリ、3……制御メモ
リアドレスレジスタ、7……主メモリの領域、8……ア
クセスされた変更対象アドレスを保存するためのレジス
タ、10……変更対象アドレスがアクセスされたことによ
りリセツトされるラツチ、12……変更対象アドレスがア
クセスされたことを検出するAND回路、13……制御メモ
リ書替えルーチンを起動する論理回路、14……マイクロ
命令解読・実行回路、71……変更対象アドレスデータ、
72……変更されたマイクロ命令。FIG. 1 is a block diagram showing the concept of the present invention.
2 is a block diagram of an embodiment of the present invention, FIG. 3 is a block diagram showing a microinstruction execution stage in the apparatus of FIG. 2, and FIG. 4 is a time chart of microinstruction rewriting operation in the apparatus of FIG. , Fifth
The figure is a block diagram of another embodiment of the present invention. 1 ... Control memory, 2 ... Memory for storing reload instruction bit for identifying change target address, 3 ... Control memory address register, 7 ... Main memory area, 8 ... Save accessed change target address Register for resetting, 10 ... Latch reset when the change target address is accessed, 12 ... AND circuit for detecting that the change target address is accessed, 13 ... Logic for activating the control memory rewriting routine Circuit, 14 …… Micro instruction decoding / execution circuit, 71 …… Change target address data,
72 …… Changed microinstructions.
Claims (3)
クロ命令をそれぞれのアドレスに記憶する書替え可能な
制御メモリと、前記制御メモリから前記マイクロ命令を
逐次読出して実行する回路とを有するマイクロプログラ
ム制御装置において、変更されたマイクロ命令を記憶す
る手段と、変更すべきマイクロ命令のアドレスを識別す
る情報を記憶する手段と、所望のアドレス識別情報を前
記アドレス識別情報記憶手段に前記マイクロプログラム
の正常な実行と並行して書込む手段と、前記マイクロプ
ログラムの実行中に前記アドレス識別情報により識別さ
れるアドレスがアクセスされたことを検出する手段と、
前記検出手段の出力に応答して当該アドレスから読出さ
れたマイクロ命令の実行を抑止する手段と、前記検出手
段の出力に応答して当該アドレスに前記変更されたマイ
クロ命令を転送する手段と、前記転送に続いて同じアド
レスに対して前記読出し実行回路を再起動する手段とを
備えたマイクロプログラム変更装置。1. A microprogram controller having a rewritable control memory for storing a plurality of microinstructions forming a microprogram at respective addresses, and a circuit for sequentially reading and executing the microinstructions from the control memory. A means for storing the changed microinstruction, a means for storing information for identifying the address of the microinstruction to be changed, and a desired execution of the microprogram in the address identification information storage means for normal execution of the microprogram. Means for writing in parallel, means for detecting that an address identified by the address identification information is accessed during execution of the microprogram,
Means for suppressing execution of a microinstruction read from the address in response to the output of the detecting means, and means for transferring the modified microinstruction to the address in response to the output of the detecting means, Means for restarting the read execution circuit for the same address following the transfer.
識別情報記憶手段は、前記制御メモリと同じアドレスを
持ち、各アドレスにそれぞれが変更対象アドレスか否か
を示す情報を記憶するマイクロプログラム変更装置。2. The microprogram changing device according to claim 1, wherein the address identification information storage means has the same address as the control memory and stores information indicating whether each address is a change target address or not. .
イクロ命令転送手段と再起動手段は前記マイクロプログ
ラムの一部により制御され、前記読出し実行回路はマイ
クロプログラムの前記一部のための専用部分を含むマイ
クロプログラム変更装置。3. The microinstruction transfer means and the restart means according to claim 1 or 2, wherein the microinstruction transfer means and the restart means are controlled by a part of the microprogram, and the read execution circuit is a dedicated part for the part of the microprogram. A microprogram changer including.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP63022785A JPH0823816B2 (en) | 1988-02-04 | 1988-02-04 | Micro program change device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP63022785A JPH0823816B2 (en) | 1988-02-04 | 1988-02-04 | Micro program change device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH01199231A JPH01199231A (en) | 1989-08-10 |
| JPH0823816B2 true JPH0823816B2 (en) | 1996-03-06 |
Family
ID=12092329
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP63022785A Expired - Lifetime JPH0823816B2 (en) | 1988-02-04 | 1988-02-04 | Micro program change device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0823816B2 (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2710195B2 (en) * | 1992-12-15 | 1998-02-10 | インターナショナル・ビジネス・マシーンズ・コーポレイション | Storage controller |
Family Cites Families (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS60230238A (en) * | 1984-04-27 | 1985-11-15 | Toshiba Corp | Microprogram control device |
| JPS62182929A (en) * | 1986-02-07 | 1987-08-11 | Nec Corp | Micro instruction correcting circuit |
-
1988
- 1988-02-04 JP JP63022785A patent/JPH0823816B2/en not_active Expired - Lifetime
Also Published As
| Publication number | Publication date |
|---|---|
| JPH01199231A (en) | 1989-08-10 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JPS6341093B2 (en) | ||
| JP2710195B2 (en) | Storage controller | |
| US5261084A (en) | Error judgment method | |
| KR100223844B1 (en) | Optional automatic setting circuit | |
| JP3055999B2 (en) | Microprogram control device group | |
| JP3462245B2 (en) | Central processing unit | |
| JP4471947B2 (en) | Data processing apparatus and data processing method | |
| JPH01199231A (en) | Microprogram changing device | |
| JPS6031643A (en) | Storage circuit of state history | |
| US3731285A (en) | Homogeneous memory for digital computer systems | |
| US20060053268A1 (en) | Storing bios in persistent system memory | |
| JPS6232508B2 (en) | ||
| JPH06348503A (en) | Device having master / slave control system and control method thereof | |
| JPH05216507A (en) | Program changing method for programmable controller | |
| JP2748056B2 (en) | Disk controller | |
| JPH01302452A (en) | Microprogram control device | |
| JP2665039B2 (en) | Micro program controller | |
| JPS6215645A (en) | Central processing unit | |
| JPH0578052B2 (en) | ||
| JPH02163856A (en) | Loading control method for initial program | |
| JPH06103056A (en) | Address controller | |
| JPH0810429B2 (en) | Micro program controller | |
| JPH0667914A (en) | Control storage read error correcting system | |
| JPH0954692A (en) | Microprogram control system | |
| JPH0877061A (en) | Information processing device |