JPS61216030A - Control system for microprogram - Google Patents
Control system for microprogramInfo
- Publication number
- JPS61216030A JPS61216030A JP2809785A JP2809785A JPS61216030A JP S61216030 A JPS61216030 A JP S61216030A JP 2809785 A JP2809785 A JP 2809785A JP 2809785 A JP2809785 A JP 2809785A JP S61216030 A JPS61216030 A JP S61216030A
- Authority
- JP
- Japan
- Prior art keywords
- register
- address
- contents
- instruction
- storage
- 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.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR 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/26—Address formation of the next micro-instruction ; Microprogram storage or retrieval arrangements
- G06F9/262—Arrangements for next microinstruction selection
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
Abstract
Description
【発明の詳細な説明】
〔産業上の利用分野〕
本発明は情報処理装置のマイクロプログラム処理装置に
係り、コントロールストレージをアクセ −スするマイ
クロプログラム制御方式の改良に関するものである。DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a microprogram processing device for an information processing device, and relates to an improvement in a microprogram control method for accessing control storage.
情報処理装置の性能の向上に伴ってその制御機能が複雑
化することになり、マイクロプログラムによる制御手段
を用いて、ソフトウェアおよびハードウェアの改善が図
られている。As the performance of information processing devices improves, their control functions become more complex, and improvements in software and hardware are being made using microprogram-based control means.
従□ゲ亡特にハードウェアの増大に対処するためには、
マイクロプログラム処理装置自体のハードウェアの簡略
化を目指す必要ある。In order to cope with the increase in hardware, especially
It is necessary to aim at simplifying the hardware of the microprogram processing device itself.
一般耐 コントロールストレージの内容をアクセスする
制御方式としては、コントロールストレージからマイク
ロ命苓を命令レジスタに読み出した時、′フィクロ命令
がコントロールストレージをアクセスする命令であるこ
とが識別されると、セーブレジスタにアドレスレジスタ
中の次のマイクロ命令のナトレスを退避し、マイクロ命
令の示すコントロールストレージのアドレスがアドレス
レジスタに格納され、バッファレジスタを介してコント
ロールストレージをアクセスした後、セーブレジスタか
ら退避した次のマイクロ命令のアドレスを再びアドレス
レジスタに戻し、その戻ったアドレスから次のマイクロ
命令を実行することになる。General resistance As a control method for accessing the contents of control storage, when a micro instruction is read from control storage to the instruction register, if it is identified that the micro instruction is an instruction that accesses control storage, it is stored in the save register. The natrace of the next microinstruction in the address register is saved, the address of the control storage indicated by the microinstruction is stored in the address register, the control storage is accessed via the buffer register, and the next microinstruction is saved from the save register. The address is returned to the address register, and the next microinstruction is executed from the returned address.
第3図はマイクロ命令によってコントロールストレージ
をアクセスするタイミングを示した図である。FIG. 3 is a diagram showing the timing of accessing control storage by microinstructions.
クロックサイクル1〜4によって、アドレスnに格納さ
れた命令A(アクセス命令)が指示するアドレスmの内
容が、コントロールストレージかラハッファレジスタに
読み出される時の各レジスタ、即ちアドレスレジスタ、
セーブレジスタ、命令レジスタ、バッファレジスタの内
容の経過状態を示している。Each register when the contents of address m specified by instruction A (access instruction) stored at address n is read out to the control storage or the Lahaffa register in clock cycles 1 to 4, that is, the address register;
It shows the progress of the contents of the save register, instruction register, and buffer register.
このような処理を行うためには、前記各レジスタをそれ
ぞれのタイミングで制御する回路が設けられている。In order to perform such processing, a circuit is provided to control each of the registers at respective timings.
従来はコントロールストレージをアクセスする処理のた
めには、第3図に示すようなタイミング制御がなされて
いて、これらそれぞれの制御を行う回路は複雑な回路で
あった。Conventionally, for the process of accessing the control storage, timing control as shown in FIG. 3 has been performed, and the circuits that perform each of these controls have been complicated circuits.
即ち、コントロールストレージからの読み出しデータを
命令レジスタ、バッファレジスタのいずれにセットすべ
きか、アドレスレジスタの値をセーブレジスタにセーブ
すべきか否か、セーブレジスタの内容をアドレスレジス
タに戻すか否か、などを命令レジスタの内容に応じて、
制御する回路がそれぞれ設けられていた。In other words, it determines whether data read from control storage should be set in the instruction register or buffer register, whether the value of the address register should be saved in the save register, whether the contents of the save register should be returned to the address register, etc. Depending on the contents of the instruction register,
Each had its own control circuit.
従って、マイクロプログラム処理装置の性能の向上を図
るためには、これらのハードウェアを簡略化する必要が
ある。Therefore, in order to improve the performance of microprogram processing devices, it is necessary to simplify these hardware.
以上の問題点はコントロールストレージからマイクロ命
令を命令レジスタにセットした時だけ、アドレスレジス
タからセーブレジスタにアドレスを退避するようにセー
ブレジスタを制御することによって、セーブレジスタの
タイミング制御回路を省略することができる本発明のマ
イクロプログラム制御方式によって解決する。The above problem is that the save register timing control circuit can be omitted by controlling the save register so that the address is saved from the address register to the save register only when a microinstruction is set in the instruction register from control storage. This problem is solved by the microprogram control method of the present invention.
本発明によって、セーブレジスタにアドレスを退避する
タイミングは、コントロールストレージから命令レジス
タにマイクロ命令を読み出すタイミングと同じタイミン
グとし、同じ制御回路によって動作することになる。According to the present invention, the timing at which an address is saved to the save register is the same as the timing at which a microinstruction is read from the control storage to the instruction register, and the microinstruction is operated by the same control circuit.
従って、セーブレジスタを制御する制御回路は不必要と
なって、省略することができ、それだけハードウェアが
簡略化されることになる。Therefore, a control circuit for controlling the save register becomes unnecessary and can be omitted, which simplifies the hardware accordingly.
以下、図面を参照して本発明の実施例を詳細に説明する
。Embodiments of the present invention will be described in detail below with reference to the drawings.
第1図は本発明の一実施例を示すブロック図、第2図は
本発明のタイミング制御を説明する図である。なお、a
、b、cは各レジスタのデータセントを指示するゲート
信号である。FIG. 1 is a block diagram showing an embodiment of the present invention, and FIG. 2 is a diagram explaining timing control of the present invention. In addition, a
, b, and c are gate signals instructing data cent of each register.
コントロールストレージ1からアドレスレジスタ2が示
すn番地の内容が読み出され、ゲート信号aによって命
令レジスタ3にセットされる。The contents of address n indicated by address register 2 are read from control storage 1 and set in instruction register 3 by gate signal a.
一方、コントロールストレージ1のn番地の内容を読み
出す場合には、同じゲート信号aによってアドレスレジ
スタ2の内容は歩進回路4で1が加算され、その内容は
n+1となり、且つ、その内容がアドレスレジスタ2と
セーブレジスタ5にセットされる。On the other hand, when reading the contents of address n of control storage 1, the contents of address register 2 are incremented by 1 in step circuit 4 by the same gate signal a, and the contents become n+1. 2 and is set in save register 5.
命令レジスタ3にセットされたコントロールストレージ
lの内容、即ち、マイクロ命令Aがコントロールストレ
ージ1をアクセスする命令であれば、その命令がオペラ
ンドで指定するアドレスmがゲート信号すによってアド
レスレジスタ2にセットされる。The contents of the control storage l set in the instruction register 3, that is, if the microinstruction A is an instruction to access the control storage 1, the address m specified by the operand of the instruction is set in the address register 2 by the gate signal. Ru.
アドレスレジスタ2にセットされたアドレスmで指定さ
れたコントロールストレージ1の内容は、ゲート信号C
によってバッファレジスタ6に読み出され、同時にセー
ブレジスタ5の内容n+1がアドレスレジスタ2に再び
戻される。The contents of control storage 1 specified by address m set in address register 2 are gate signal C
At the same time, the contents n+1 of the save register 5 are returned to the address register 2.
この場合、コントロールストレージ1の内容が命令レジ
スタ3にセットされないので、ゲート信号aは生じない
でアドレスレジスタ2の内容量はセーブレジスタ5に退
避しない。In this case, since the contents of the control storage 1 are not set to the instruction register 3, the gate signal a is not generated and the contents of the address register 2 are not saved to the save register 5.
次のサイクルでは、アドレスレジスタ2が示すn+1番
地の内容がコントロールストレージ1から読み出され、
ゲート信号aによって命令レジスタにセットされる。In the next cycle, the contents of address n+1 indicated by address register 2 are read from control storage 1,
It is set in the instruction register by gate signal a.
以後、同様な操作が繰り返されマイクロ命令の処理が進
行する。Thereafter, similar operations are repeated to progress microinstruction processing.
以上の説明では、マイクロ命令がコントロールストレー
ジlからその内容を読み出す命令としたが、コントロー
ルストレージlに書き込む命令であっても、バッファレ
ジスタ6の出力をコントロールストレージ1の書き込み
人力に接続すればよく、図において点線でその接続を示
す。In the above explanation, the microinstruction is an instruction to read the contents from the control storage 1, but even if the instruction is to write to the control storage 1, the output of the buffer register 6 may be connected to the write input of the control storage 1. The connections are indicated by dotted lines in the figure.
以上説明したように、本発明によれば命令レジスタにマ
イクロ命令が読み出される時に、ゲート信号aによって
アドレスレジスタの内容をセーブレジスタに退避し、ま
たバッファレジスタにデータえ読み出される時に、ゲー
ト信号Cによってセーブレジスタの内容をアドレスレジ
スタに戻すようにすることによって、セーブレジスタの
制御回路を省略して読み出しレジスタの制御回路で兼用
することができ、従ってマイクロプログラム処理装置を
構成するハードウェアを筒略化することができる。As explained above, according to the present invention, when a microinstruction is read out to the instruction register, the contents of the address register are saved to the save register by the gate signal a, and when the data is read out to the buffer register, the contents of the address register are saved by the gate signal C. By returning the contents of the save register to the address register, the control circuit for the save register can be omitted and can be used as the control circuit for the read register, thus simplifying the hardware that makes up the microprogram processing device. can do.
第1図は本発明のマイクロプログラム制御方式の一実施
例を示すブロック図、
第2図は第1図のタイミング図、
第3図は従来のマイクロプログラム制御方式のタイミン
グ図である。
図において、1はコントロールストレージ、2はアドレ
スレジスタ、3は命令レジスタ、4は歩道回路、5はセ
ーブレジスタ、6はバッファレジスタ、7は命令制御部
をそれぞれ示す。
第1図
第2図
第 3 圀FIG. 1 is a block diagram showing an embodiment of the microprogram control method of the present invention, FIG. 2 is a timing diagram of FIG. 1, and FIG. 3 is a timing diagram of a conventional microprogram control method. In the figure, 1 is a control storage, 2 is an address register, 3 is an instruction register, 4 is a sidewalk circuit, 5 is a save register, 6 is a buffer register, and 7 is an instruction control section. Figure 1 Figure 2 Figure 3
Claims (1)
アクセスする手段を有するマイクロプログラム処理装置
において、前記コントロールストレージの内容が命令レ
ジスタに読み出された時のみ該コントロールストレージ
のアドレスレジスタの内容に1を加算して退避するセー
ブレジスタを設けたことを特徴とするマイクロプログラ
ム制御方式。In a microprogram processing device having means for accessing the contents of a control storage by a microinstruction, only when the contents of the control storage are read into an instruction register, 1 is added to the contents of an address register of the control storage and saved. A microprogram control system featuring a save register.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2809785A JPS61216030A (en) | 1985-02-14 | 1985-02-14 | Control system for microprogram |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2809785A JPS61216030A (en) | 1985-02-14 | 1985-02-14 | Control system for microprogram |
Publications (1)
Publication Number | Publication Date |
---|---|
JPS61216030A true JPS61216030A (en) | 1986-09-25 |
Family
ID=12239285
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2809785A Pending JPS61216030A (en) | 1985-02-14 | 1985-02-14 | Control system for microprogram |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPS61216030A (en) |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS5714945A (en) * | 1980-07-01 | 1982-01-26 | Nec Corp | Microprogram control device |
-
1985
- 1985-02-14 JP JP2809785A patent/JPS61216030A/en active Pending
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS5714945A (en) * | 1980-07-01 | 1982-01-26 | Nec Corp | Microprogram control device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US4149242A (en) | Data interface apparatus for multiple sequential processors | |
KR930018378A (en) | Method and device for performance optimization of cache memory system | |
JPS5925254B2 (en) | Digital data processing equipment | |
JPH0769791B2 (en) | Microprocessor | |
US7376777B2 (en) | Performing an N-bit write access to an M×N-bit-only peripheral | |
JPS623461B2 (en) | ||
EP0164418B1 (en) | Microprogram control system | |
US5483566A (en) | Method and apparatus for modifying the contents of a register via a command bit | |
JPS61216030A (en) | Control system for microprogram | |
US4723258A (en) | Counter circuit | |
KR940009377B1 (en) | Information processing apparatus | |
JPH02126321A (en) | Decoder for instruction code | |
SU1205142A1 (en) | Device for controlling access to scratch-pad memory | |
JPS5925251B2 (en) | Creation method for arithmetic control signals in microprogram-controlled electronic computers | |
JPS5936838A (en) | Controlling method of interface | |
JP2716284B2 (en) | Semiconductor integrated circuit | |
JPS61161560A (en) | Memory device | |
JPH01263819A (en) | Integrated circuit | |
JPH0418634A (en) | Data processor | |
JPH0287254A (en) | External memory access system | |
JPS6362065A (en) | Data transfer control system | |
JPH0338613B2 (en) | ||
JPH03214275A (en) | Semiconductor integrated circuit | |
JPS59106048A (en) | Microprocessor system | |
JPS6368924A (en) | System for controlling data processing of microprocessor |