JPH01199231A - Microprogram changing device - Google Patents

Microprogram changing device

Info

Publication number
JPH01199231A
JPH01199231A JP2278588A JP2278588A JPH01199231A JP H01199231 A JPH01199231 A JP H01199231A JP 2278588 A JP2278588 A JP 2278588A JP 2278588 A JP2278588 A JP 2278588A JP H01199231 A JPH01199231 A JP H01199231A
Authority
JP
Japan
Prior art keywords
microinstruction
address
microprogram
execution
changed
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
JP2278588A
Other languages
Japanese (ja)
Other versions
JPH0823816B2 (en
Inventor
Toshihisa Taniguchi
谷口 俊久
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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP63022785A priority Critical patent/JPH0823816B2/en
Publication of JPH01199231A publication Critical patent/JPH01199231A/en
Publication of JPH0823816B2 publication Critical patent/JPH0823816B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Stored Programmes (AREA)

Abstract

PURPOSE:To omit the stoppage of the computer drive that is needed for change of a microprogram and to reduce the loss of the data processing time by using a microinstruction rewriting means while the computer is working. CONSTITUTION:A control memory 1 and a microinstruction reloading instruction bit memory CRIS2 have the same addresses. Then the bit that secures the value '1' when the microinstruction of each address of the CRIS2 should be changed is written into said address in the early stages of the changing operation of a microprogram. Then the contents of a control memory address register 3 are supplied to the memory 1 and the CRIS2 as the microprogram is carried out. Then a microinstruction execution suppressing means 101 works in case the contents read out of the CRIS2 are equal to '1'. Thus the execution 102 of the microinstruction is suppressed. Then the execution 104 of the rewritten microinstruction is carried out after the rewriting 103 of the microinstruction is ended.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、マイクロプログラム制御装置に関し、特に、
制御メモリに格納されているマイクロプログラムを変更
するための装置に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a microprogram control device, and in particular,
The present invention relates to a device for modifying microprograms stored in a control memory.

〔従来の技術〕[Conventional technology]

従来、制御メモリに格納されたマイクロプログラムの変
更は、たとえ部分的な変更の場合でも。
Traditionally, changes to microprograms stored in control memory, even partial changes.

変更されたマイクロ命令を含むマイクロプログラムの全
体を別の計算機でアセンブルした後、サービスプロセッ
サ(svp)等の保守機構が持つイニシャルマイクロプ
ログラムロード(IMPL)機能を用いて、マイクロプ
ログラムの全体を入替えることによって、遂行されてい
る。
After assembling the entire microprogram including the changed microinstructions on another computer, the entire microprogram is replaced using the initial microprogram load (IMPL) function of a maintenance mechanism such as a service processor (SVP). It is carried out by this.

特開昭62−31432号公報には、マイクロ命令を実
行時点で一時的に修正(モディファイ)する装置が記載
されている。この装置は、マイクロプログラムの開発を
支援するためのものであって、稼動中に制御メモリ内の
マイクロ命令を書替えるものではない。
Japanese Unexamined Patent Publication No. 62-31432 describes a device for temporarily modifying microinstructions at the time of execution. This device is intended to support the development of microprograms, and does not rewrite microinstructions in control memory during operation.

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

従来の方法では、IMPL処理によりマイクロプログラ
ムの全体を入替えるので、その期間中データ処理を中断
しなければならない。ところで、マイクロプログラムの
変更は、バグの除去2機能の変更又は強化などの目的で
、かなり頻繁に必要となるのが実情であり、ハードウェ
アの信頼性が向上した現在では、しばしば、マイクロプ
ログラムの変更のためにデータ処理が中断される回数が
、故障に起因する中断の10倍を越す。
In the conventional method, the entire microprogram is replaced by IMPL processing, so data processing must be interrupted during that period. By the way, the reality is that changes to microprograms are required quite frequently for purposes such as removing bugs, changing or enhancing functions, and now that hardware reliability has improved, it is often necessary to change microprograms. Data processing is interrupted more than 10 times more often due to changes than due to failures.

本発明の目的は、変更を要するマイクロ命令のみを、し
かもマイクロプログラムの正常な実行と実質上並行して
、書替えることを可能にし、それにより、マイクロプロ
グラムの部分的変更の操作に伴うデータ処理時間のロス
を、最小限にとどめることにある。
An object of the present invention is to make it possible to rewrite only the microinstructions that require modification, and substantially in parallel with the normal execution of the microprogram, thereby making it possible to process data that accompanies partial modification of the microprogram. The goal is to keep time loss to a minimum.

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

本発明のマイクロプログラム変更装置は、変更すべきマ
イクロ命令のアドレスを識別する情報を記憶する手段と
、マイクロプログラムの実行中にアドレス識別情報によ
り識別されるアドレスがアクセスされたことを検出する
手段と、この検出手段の出力に応答して当該アドレスか
ら読出されたマイクロ命令の実行を抑止する手段と、前
記検出手段の出力に応答して当該アドレスに変更された
マイクロ命令を転送する手段と、この転送に続いて同じ
アドレスに対してマイクロ命令の読出し実行回路を再起
動する手段とを備える。
The microprogram changing device of the present invention includes means for storing information identifying the address of a microinstruction to be changed, and means for detecting that an address identified by address identification information is accessed during execution of the microprogram. , means for suppressing execution of the microinstruction read from the address in response to the output of the detection means; means for transferring the changed microinstruction to the address in response to the output of the detection means; and means for restarting a microinstruction read execution circuit for the same address following the transfer.

〔作用〕[Effect]

前記の構成によれば、マイクロプログラムの実行中に、
変更対象アドレスからマイクロ命令が読出されると、そ
のことが検出されて、そのマイクロ命令の実行は阻止さ
れ、代りに、そのアドレスに変更されたマイクロ命令が
書込まれ、続いて、この変更されたマイクロ命令が読出
され、実行される。すなわち、計算機の稼動中に、マイ
クロ命令の書替えが行なわれる。
According to the above configuration, during execution of the microprogram,
When a microinstruction is read from a modified address, this is detected, execution of the microinstruction is prevented, and a modified microinstruction is written to that address in its place; The microinstruction that was created is read and executed. That is, the microinstructions are rewritten while the computer is operating.

〔実施例〕〔Example〕

第1図は、後で詳述する実施例の要点を示し、それによ
り1本発明の概念の明確な理解を助けるものである。制
御メモリ(C8)1とマイクロ命令リロード指示ピッI
−メモリ (CRIS)2は、同じアドレスを持ち、C
RIS2の各アドレスには、そのアドレスのマイクロ命
令が変更されるべきときに1”の値を取るピッI−が、
マイクロプログラム変更操作の初期に書込まれる。その
後、マイクロプログラムの実行につれて、制御メモリア
ドレスレジスタ(C3AR)3の内容は、C3IとC3
IR2の双方に供給され、したがって、実行のために読
出されたマイクロ命令と同じアドレスのCRIS2の内
容、すなわちマイクロ命令リロード指示ビット100が
、読出される。このビット100が111 I+ならば
、マイクロ命令実行抑止手段101が働いて、当該アド
レスから読出されたマイクロ命令の実行102は抑止さ
れ、更に、当該アドレスのマイクロ命令の書替え103
が行なわれ、それが終ると、この書替えられたマイクロ
命令の実行104が行なわれる。
FIG. 1 shows the main points of the embodiments described in detail later, thereby helping to clearly understand the concept of the present invention. Control memory (C8) 1 and microinstruction reload instruction pin I
- Memory (CRIS) 2 has the same address and CRIS
Each address in RIS2 has a pin that takes the value 1" when the microinstruction at that address is to be modified.
Written early in a microprogram change operation. Thereafter, as the microprogram is executed, the contents of control memory address register (C3AR) 3 are changed between C3I and C3.
IR2 and thus the contents of CRIS2 at the same address as the microinstruction read for execution, ie, the microinstruction reload indication bit 100, is read. If this bit 100 is 111 I+, the microinstruction execution inhibiting means 101 operates, inhibiting the execution 102 of the microinstruction read from the address, and further rewriting the microinstruction 103 at the address.
is performed, and upon completion of this, the rewritten microinstruction is executed 104.

第2図は、本発明の一実施例をブ′ロックダイヤグラム
で示す。制御メモリ(C8)1と、制御メモリアドレス
レジスタ(C8AR)3と、制御メ分は、通常のマイク
ロプログラム制御様溝である。
FIG. 2 shows in block diagram form one embodiment of the invention. The control memory (C8) 1, the control memory address register (C8AR) 3, and the control section are common microprogram control-like grooves.

平常状態において、C3AR3からのアドレスに従って
CSIがアクセスされると、そのアドレスのマイクロ命
令データがC3DR4に読出され、そこからC3DRD
IIに転送された後、デコーダ14を介して、対応する
制御信号201となり、被制御ハードウェア15に供給
される。一方、C3DR4中のマイクロ命令の次マイク
ロ命令アドレス部202は、セレクタ16を経てC3A
R3にセットされ、次のマイクロ命令のアドレスを指定
する。C81の内容の原データ(C8D)は。
Under normal conditions, when the CSI is accessed according to the address from C3AR3, the microinstruction data at that address is read to C3DR4, and from there the C3DRD
After being transferred to II, it becomes a corresponding control signal 201 via the decoder 14 and is supplied to the controlled hardware 15. On the other hand, the next microinstruction address field 202 of the microinstruction in C3DR4 is transferred to the C3A through the selector 16.
Set to R3 to specify the address of the next microinstruction. The original data (C8D) of the contents of C81 is as follows.

図示されていない補助メモリ(例えば磁気ディスク)に
保持されている。
It is held in an auxiliary memory (for example, a magnetic disk) that is not shown.

本発明により、マイクロ命令リロード指示ビットメモリ
 (CRIS)2が設けられる。CRIS2は、C3I
と同一のアドレスを持ち、各アドレスの容量(ワード長
)は1ピッ1−である。通常。
According to the invention, a microinstruction reload indication bit memory (CRIS) 2 is provided. CRIS2 is C3I
The capacity (word length) of each address is 1-pi. usually.

CRISZ中の全ビットは“0”である。マイクロプロ
グラムの部分的変更が必要になると、オペレータは、補
助メモリ中のマイクロプログラム原データ(C8D)に
おける変更対象マイクロ命令を書替え、かつ変更対象ア
ドレスと値“1″′のりロード指示ビットとから成る変
更対象アドレス指示データ(I D)を、補助メモリに
格納して、図示されていないサービスプロセッサ(sv
P)に、マイクロプログラムの変更を指令する。この指
令に応答して、SvPは、主メモリの適当な領域7(こ
の領域は、予め定められても、あるいはオペレータによ
り指定されてもよい)に、ID71とC3D72を転送
し5次いで、CRIS2へのりロード指示ビットの書込
みを開始する。
All bits in CRISZ are "0". When it is necessary to partially change the microprogram, the operator rewrites the microinstruction to be changed in the microprogram original data (C8D) in the auxiliary memory, and writes the microinstruction to be changed to the address to be changed and a load instruction bit with a value of "1". The change target address instruction data (ID) is stored in an auxiliary memory and is executed by a service processor (not shown).
P) to change the microprogram. In response to this command, SvP transfers ID 71 and C3D 72 to an appropriate area 7 in main memory (this area may be predetermined or specified by the operator) 5 and then to CRIS 2. Start writing the glue load instruction bit.

まず、CSリロード許可クラッチCREr、)9がリセ
ットされる。CREL9がリセット状態にあると、セレ
クタ17は、SvPから転送されるID71中のりロー
ド指示ビット203を選択し、セレクタ18は、CRI
Sアドレスレジスタ(ISA)19の内容、すなわちs
vpから転送されるID71中の変更対象アドレス20
4を、選択する。したがって、変更対象アドレスは、セ
レクタ18を経てCRI S 2のアドレス選択回路に
供給され、また、対応するりロード指示ビットは、セレ
クタ17とリロード指示データレジスタ(RIDR)5
を経て、CRIS2の書込回路に供給され、その結果、
変更対象マイクロ命令のアドレスと同じCRIS2のア
ドレスに、11″が書込まれる。同様にして、CRIS
2における他のすべての変更対象アドレスに、tz 1
 ppが書込まれる。CREL9がリセット状態にある
と、CRIS2は、マイクロプログラムの実行に際して
参照されない。したがって、前述したりロード指示ビッ
トのVRIS2への書込みは、マイクロプログラムの実
行と並行して行なわれる。
First, the CS reload permission clutch CREr,)9 is reset. When the CREL9 is in the reset state, the selector 17 selects the load instruction bit 203 in the ID71 transferred from SvP, and the selector 18 selects the CRI
The contents of the S address register (ISA) 19, that is, s
Change target address 20 in ID71 transferred from vp
Select 4. Therefore, the address to be changed is supplied to the address selection circuit of the CRIS 2 via the selector 18, and the corresponding reload instruction bit is supplied to the selector 17 and the reload instruction data register (RIDR) 5.
is supplied to the write circuit of CRIS2, and as a result,
11'' is written to the same CRIS2 address as the address of the microinstruction to be changed.Similarly, CRIS
tz 1 to all other modified addresses in 2.
pp is written. When CREL9 is in the reset state, CRIS2 is not referenced during microprogram execution. Therefore, the above-mentioned writing of the load instruction bit to VRIS2 is performed in parallel with the execution of the microprogram.

CRIS2へのりロード指示ビットの書込みが完了する
と、SvPは、CREL9のセットを要求するラッチ(
図示省略)をセットし、その後、マイクロプログラムの
適当な処理ポイント(例えばE OP : End o
f Process)において、前記の要求が受付けら
れて、CREL9がセットされる。
When the writing of the load instruction bit to CRIS2 is completed, SvP writes the latch (
(not shown), and then set an appropriate processing point of the microprogram (for example, E OP: End o
f Process), the above request is accepted and CREL9 is set.

その結果、セレクタ17とセレクタ18は、それぞれ“
O”とC3AR3の出力を選択するように切替えられ、
そして、C3IR2は、C8lと同期して読出されるよ
うになる。
As a result, selector 17 and selector 18 are each “
O” and C3AR3 output.
Then, C3IR2 is read out in synchronization with C8l.

以後、C81からマイクロ命令が読出されるたびに、そ
れと同じアドレスのCRIS2の内容が読出される。な
おC3AR3の内容は、平常状態(C5ARD) においてはC5AR遅延レジスタ△8°に転送され、後
述する変更対象アドレスの保存に備える。
Thereafter, every time a microinstruction is read from C81, the contents of CRIS2 at the same address are read. Note that in the normal state (C5ARD), the contents of C3AR3 are transferred to the C5AR delay register Δ8° in preparation for saving the address to be changed, which will be described later.

CRIS2の出力205が“0″ならば、その時読出さ
れたマイクロ命令には変更がない。この場合、AND回
路12の出力はII OIIであり、CStがら読出さ
れたマイクロ命令は、平常通り実行される。他方、CR
ISの出力205が11111ならば、AND回路12
の出力は“1”になり、CSリロードモードラッチ(C
RML)10をセットする。
If the output 205 of CRIS2 is "0", there is no change in the microinstruction read at that time. In this case, the output of the AND circuit 12 is II OII, and the microinstruction read from CSt is executed as usual. On the other hand, CR
If the IS output 205 is 11111, the AND circuit 12
The output of becomes “1” and the CS reload mode latch (C
RML) Set to 10.

セットされたCRMLloの“1”出力は、デコーダ1
4の平常機能部分を抑止して、その時読出されたマイク
ロ命令の実行を阻止する。C5AnD8の更新は、CR
MLloの“1”出力により禁止され、それにより、変
更対象アドレスを保存する。
The set CRMLlo “1” output is the decoder 1
4 is inhibited from executing the microinstruction read at that time. For updates of C5AndD8, please refer to CR
It is prohibited by outputting "1" of MLlo, thereby saving the address to be changed.

AND回路12のパ1”出力は、また、新マイクロ命令
をC8Iに書込むためのマイクロプログラムルーチン(
CSリロードルーチン)へのブレークインを制御する論
理回路13を起動する。
The output of the AND circuit 12 is also used as a microprogram routine (
The logic circuit 13 that controls break-in to the CS reload routine is activated.

ブレークイン制御論理回路13は、起動されると、5T
ART信号を発生して、CRリロ一ドル−チンのための
実行ステージを起動し、かつ、セレクタ16を切替えて
、CSリロードルーチンの先頭アドレスをC3AR3に
セットする。こうして起動されたOSリロードルーチン
は、対応するC3D72 (そのアドレスは、C8AR
D8に保存されている変更対象アドレスと、主メモリ7
におけるC8Dの先頭アドレスとから決定することがで
きる)をC8書込データレジスタ(C5WDR)6に読
出すとともに、セレクタ17により選択された“0″を
RIDR5にセットし、続いて、C8ARDB中の変更
対象アドレスをC3AR3に転送した後、C8IとCR
IS2に書込動作を行なわせ、それにより、C81に変
更されたマイクロ命令を書込むとともに、CRISZ中
のりロード指示ビットを0”にリセットする。最後に、
CRMLloがリセットされて、デコーダ14の平常機
能部分が復活し、次いで、平常のマイクロプログラム実
行シーケンスが再開される。その結果、この時点でのC
3AR3の内容が指定するOSアドレス(変更対象アド
レス)の内容、すなわち令書替えられたマイクロ命令が
、読出されて、実行される。CSリロードルーチンの実
行中は、マイクロ命令解読・実行機構において、このル
ーチンの専用機能部分のみが働き、平常機能部分は凍結
されている。なお、CREL9は、変更を要する全マイ
クロ命令の書替えが完了した時にリセットしてもよい。
When the break-in control logic circuit 13 is activated, the 5T
The ART 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 C3AR3. The OS reload routine started in this way is executed by the corresponding C3D72 (its address is C8AR
Address to be changed stored in D8 and main memory 7
) is read to the C8 write data register (C5WDR) 6, and "0" selected by the selector 17 is set to RIDR5, and then the change in C8ARDB is read out to the C8 write data register (C5WDR) 6. After transferring the target address to C3AR3, C8I and CR
Make IS2 perform a write operation, thereby writing the modified microinstruction to C81 and resetting the load instruction bit in CRISZ to 0''.Finally,
CRMLlo is reset to restore normal functioning of the decoder 14, and the normal microprogram execution sequence then resumes. As a result, at this point C
The contents of the OS address (address to be changed) specified by the contents of 3AR3, that is, the rewritten microinstruction, are read out and executed. While the CS reload routine is being executed, only the special function part of this routine is operated in the microinstruction decoding/execution mechanism, and the normal function part is frozen. Note that CREL 9 may be reset when all microinstructions that require modification have been rewritten.

しかし、CRIS2の全内容が“0”にリセットされた
後は、AND回路12の出力が“1”になることはない
から、CREL9の状態はマイクロプログラムの実行に
影響せず、したがって、CREL9のリセットは1次の
変更操作の開始時に行なえば充分である。
However, after all the contents of CRIS2 are reset to "0", the output of the AND circuit 12 will never become "1", so the state of CREL9 will not affect the execution of the microprogram, and therefore the state of CREL9 will not affect the execution of the microprogram. It is sufficient to perform the reset at the beginning of the primary change operation.

第3図は、マイクロ命令実行ステージを説明するための
図である。EXOステージはC81へのアクセスを行な
うステージであり、EXIステージはマイクロ命令の読
出しを行なうステージであり、EX2ステージはマイク
ロ命令の解読及び実行を行なうステージである。CRI
S2の変更対象アドレスがアクセスされて、EXIステ
ージにおけるCRMLloがセットされると、その出力
によってEX2ステージの付勢信号EX2が抑止され、
それにより、変更対象アドレスから読出されたマイクロ
命令の実行が阻止される。CRMLIOのセット出力に
より抑止されるのは、平常機能のための解読・実行部分
14aであり、CSリロードルーチンの専用の解読・実
行部分14bは、後述するEXR2ステージに属し、C
Sリロードルーチンが実行される時に付勢される。なお
、図中の符号TAとTBはデータがセットされるタイミ
ングを表わし、TBは隣合うTAの中間に生じる。
FIG. 3 is a diagram for explaining the microinstruction execution stage. The EXO stage is a stage for accessing C81, the EXI stage is a stage for reading microinstructions, and the EX2 stage is a stage for decoding and executing microinstructions. CRI
When the change target address of S2 is accessed and CRMLlo in the EXI stage is set, the output suppresses the energizing signal EX2 of the EX2 stage,
This prevents execution of the microinstruction read from the address to be changed. What is suppressed by the set output of CRMLIO is the decoding/execution part 14a for normal functions, and the dedicated decoding/execution part 14b of the CS reload routine belongs to the EXR2 stage, which will be described later.
Energized when the S reload routine is executed. Note that symbols TA and TB in the figure represent timings at which data is set, and TB occurs between adjacent TAs.

第5図は、マイクロ命令書替え動作のタイムチャートで
あり、マイクロ命令■が書替えられる場合を示す。マイ
クロ命令■がEXIステージに入ると、CRMLloが
“1”にセットされ、それにより、マイクロ命令■の実
行は抑止され、そして、以後のEXO/EXI/EX2
ステージは抑止される。代りに、EXO/EXI/EX
2Xテージにそれぞれ相当するCSリロード専用のEX
RO/EXRI/EXR2ステージが、CSリロードル
ーチン先頭アドレスの生成と同時に5TART信号によ
り開始される。マイクロ命令■のアドレスは、C5AR
D8に保存されて、変更されたマイクロ命令■がC81
に書込まれる直前に、C3AR3にセットされる。C8
Iへの書込みの開始と同時にCRMLIOはリセットさ
れ、C81への書込みの終了に続いて、EXO/EXI
/EX2ステージが再起動されて、令書替えられたマイ
クロ命令■が読出され、実行される。
FIG. 5 is a time chart of the microinstruction rewriting operation, and shows the case where the microinstruction (2) is rewritten. When the microinstruction ■ enters the EXI stage, CRMLlo is set to “1”, thereby inhibiting the execution of the microinstruction ■, and subsequent EXO/EXI/EX2
The stage is suppressed. Instead, EXO/EXI/EX
EX dedicated to CS reload corresponding to each 2X stage
The RO/EXRI/EXR2 stage is started by the 5TART signal at the same time as the CS reload routine start address is generated. The address of microinstruction ■ is C5AR
The microinstruction ■ saved in the D8 and modified is the C81
Set to C3AR3 immediately before being written to C3AR3. C8
At the same time as writing to C81 begins, CRMLIO is reset, and following the end of writing to C81, EXO/EXI
The /EX2 stage is restarted, and the rewritten microinstruction (2) is read and executed.

第5図は、本発明の他の実施例を示す。これの第2図の
実施例からの相違は、CSリロード処理が、マイクロプ
ログラムではなく、SvPにより行なわれる点にある。
FIG. 5 shows another embodiment of the invention. This differs from the embodiment of FIG. 2 in that the CS reload process is performed by SvP rather than by a microprogram.

本実施例では、CRMLIOがセットされると、第2図
の実施例におけるのと同様なEXO/EXI/EX2ス
テージの抑止の後、SvPにCSリロード要求を発し、
これに応答して、SvPは、CSリロード処理20を行
なう。
In this embodiment, when CRMLIO is set, after inhibiting the EXO/EXI/EX2 stage similar to the embodiment in FIG. 2, a CS reload request is issued to SvP,
In response to this, SvP performs CS reload processing 20.

すなわち、SvPはC3ARD8に保存されている変更
対象アドレスをC3AR3に転送した後、対応するC3
D72をC8Iに書込むとともに、CRISZ中のりロ
ード指示ビットをリセットする。それが終ると、SvP
は、CR札10をリセットし、マイクロプログラム実行
ステージを再起動する(21)。
That is, after SvP transfers the change target address stored in C3ARD8 to C3AR3, the corresponding C3
Writes D72 to C8I and resets the load instruction bit in CRISZ. After that, SvP
resets the CR tag 10 and restarts the microprogram execution stage (21).

第2図の実施例は、マイクロ命令を高速で書替えること
ができるが、その反面、CSリロード専用のハードウェ
アを必要とする。第5図の実施例は、そのような特別の
ハードウェアを必要としない代りに、速度は遅い。
The embodiment shown in FIG. 2 allows microinstructions to be rewritten at high speed, but on the other hand, requires hardware dedicated to CS reload. The embodiment of FIG. 5 does not require such special hardware, but is slow.

CRIS2の代りに、変更対象アドレスを記憶するレジ
スタ群と、C3AR3の内容をこのレジスタ群の内容と
比較する比較器とを用いてもよい。
Instead of CRIS2, a group of registers for storing addresses to be changed and a comparator for comparing the contents of C3AR3 with the contents of this register group may be used.

ただし、この変形では、1回の操作で変更できるマイク
ロ命令の個数が、レジスタの個数で制限される。
However, in this modification, the number of microinstructions that can be changed in one operation is limited by the number of registers.

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

本発明によれば、マイクロプログラムを、それの実行と
実質上並行して変更することができ、したがって、マイ
クロプログラムの変更のために計算機を停止させる必要
がない。
According to the present invention, a microprogram can be changed substantially in parallel with its execution, and therefore there is no need to stop the computer for changing the microprogram.

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

第1図は本発明の概念を表わすブロックダイヤグラム、
第2図は本発明の一実施例のブロックダイヤグラム、第
3図は第2図の装置におけるマイクロ命令実行ステージ
を示すブロックダイヤグラム、第4図は第2図の装置に
おけるマイクロ命令書替え動作のタイムチャート、第5
図は本発明の他の実施例のブロックダイヤグラムである
。 l・・・制御メモリ、2・・・変更対象アドレスを識別
するりロード指示ビットを記憶するメモリ、3・・・制
御メモリアドレスレジスタ、7・・・主メモリの領域、
8・・・アクセスされた変更対象アドレスを保存するた
めのレジスタ、10・・・変更対象アドレスがアクセス
されたことによりリセットされるラッチ、12・・・変
更対象アドレスがアクセスされたことを検出するAND
回路、13・・・!IIIJ御メモリ書替えルーチンを
起動する論理回路、14・・・マイクロ命令解読・実行
回路、71・・・変更対象アドレスデータ、72・・・
変更されたマイクロ命令。
FIG. 1 is a block diagram representing the concept of the present invention.
FIG. 2 is a block diagram of an embodiment of the present invention, FIG. 3 is a block diagram showing microinstruction execution stages in the device shown in FIG. 2, and FIG. 4 is a time chart of microinstruction rewriting operation in the device shown in FIG. 2. , 5th
The figure is a block diagram of another embodiment of the invention. l... Control memory, 2... Memory for identifying the address to be changed or storing load instruction bits, 3... Control memory address register, 7... Area of main memory,
8...Register for storing the accessed address to be changed; 10...Latch that is reset when the address to be changed is accessed; 12...Detecting that the address to be changed has been accessed. AND
Circuit, 13...! Logic circuit for starting the IIIJ memory rewrite routine, 14... Microinstruction decoding/execution circuit, 71... Address data to be changed, 72...
Modified microinstructions.

Claims (1)

【特許請求の範囲】 1、マイクロプログラムを構成する複数のマイクロ命令
をそれぞれのアドレスに記憶する書替え可能な制御メモ
リと、前記制御メモリから前記クイクロ命令を逐次読出
して実行する回路とを有するマイクロプログラム制御装
置において、変更されたマイクロ命令を記憶する手段と
、変更すべきマイクロ命令のアドレスを識別する情報を
記憶する手段と、前記マイクロプログラムの実行中に前
記アドレス識別情報により識別されるアドレスがアクセ
スされたことを検出する手段と、前記検出手段の出力に
応答して当該アドレスから読出されたマイクロ命令の実
行を抑止する手段と、前記検出手段の出力に応答して当
該アドレスに前記変更されたマイクロ命令を転送する手
段と、前記転送に続いて同じアドレスに対して前記読出
し実行回路を再起動する手段とを備えたマイクロプログ
ラム変更装置。 2、特許請求の範囲1において、前記アドレス識別情報
記憶手段は、前記制御メモリと同じアドレスを持ち、各
アドレスにそれぞれが変更対象アドレスか否かを示す情
報を記憶するマイクロプログラム変更装置。 3、特許請求の範囲1又は2において、前記マイクロ命
令転送手段と再起動手段は前記マイクロプログラムの一
部により制御され、前記読出し実行回路はマイクロプロ
グラムの前記部分のための専用部分を含むマイクロプロ
グラム変更装置。
[Scope of Claims] 1. A microprogram that has a rewritable control memory that stores a plurality of microinstructions constituting the microprogram at respective addresses, and a circuit that sequentially reads and executes the microinstructions from the control memory. In a control device, means for storing a changed microinstruction, means for storing information identifying an address of the microinstruction to be changed, and an address identified by the address identification information being accessed during execution of the microprogram. means for detecting that the microinstruction has been changed to the address in response to the output of the detection means; A microprogram modification device comprising means for transferring a microinstruction and means for restarting said read execution circuit for the same address following said 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. In claim 1 or 2, the microinstruction transfer means and restart means are controlled by a part of the microprogram, and the read execution circuit is a microprogram including a dedicated part for the part of the microprogram. Change device.
JP63022785A 1988-02-04 1988-02-04 Micro program change device Expired - Lifetime JPH0823816B2 (en)

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 true JPH01199231A (en) 1989-08-10
JPH0823816B2 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)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06214782A (en) * 1992-12-15 1994-08-05 Internatl Business Mach Corp <Ibm> System and method for introduction of processor control code

Citations (2)

* Cited by examiner, † Cited by third party
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

Patent Citations (2)

* Cited by examiner, † Cited by third party
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

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06214782A (en) * 1992-12-15 1994-08-05 Internatl Business Mach Corp <Ibm> System and method for introduction of processor control code

Also Published As

Publication number Publication date
JPH0823816B2 (en) 1996-03-06

Similar Documents

Publication Publication Date Title
US5119483A (en) Application of state silos for recovery from memory management exceptions
US20040017708A1 (en) Computer system with NAND flash memory for booting and storage
US5003458A (en) Suspended instruction restart processing system based on a checkpoint microprogram address
US5146569A (en) System for storing restart address of microprogram, determining the validity, and using valid restart address to resume execution upon removal of suspension
US6925522B2 (en) Device and method capable of changing codes of micro-controller
US5713035A (en) Linking program access register number with millicode operand access
JPH0810437B2 (en) Guest execution control method for virtual machine system
EP0870237B1 (en) Processing system and method for reading and restoring information in a ram configuration
US4124892A (en) Data processing systems
KR920006768B1 (en) Method and apparatus for executing two command sequences in a predetermined order
JPH08137751A (en) Processor device and control method thereof
JPH01199231A (en) Microprogram changing device
US5625808A (en) Read only store as part of cache store for storing frequently used millicode instructions
JP4471947B2 (en) Data processing apparatus and data processing method
US3731285A (en) Homogeneous memory for digital computer systems
US5813039A (en) Guest execution control system, method and computer process for a virtual machine system
JPS6232508B2 (en)
JPH0954694A (en) Pipeline processor and its processing method
JPH06324861A (en) System and method for controlling cpu
JPH06348503A (en) Device having master / slave control system and control method thereof
JPS6167156A (en) Data reading/altering apparatus
JPH06149569A (en) Register number changing device
JPH0578052B2 (en)
JPH05257807A (en) Cache memory controller
JPH01130226A (en) Control memory correction system