JPH0227694B2 - - Google Patents

Info

Publication number
JPH0227694B2
JPH0227694B2 JP60107642A JP10764285A JPH0227694B2 JP H0227694 B2 JPH0227694 B2 JP H0227694B2 JP 60107642 A JP60107642 A JP 60107642A JP 10764285 A JP10764285 A JP 10764285A JP H0227694 B2 JPH0227694 B2 JP H0227694B2
Authority
JP
Japan
Prior art keywords
address
address register
control memory
access
speed control
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
Application number
JP60107642A
Other languages
Japanese (ja)
Other versions
JPS61265643A (en
Inventor
Shuntaro Fujioka
Hideaki Fujimaki
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP60107642A priority Critical patent/JPS61265643A/en
Publication of JPS61265643A publication Critical patent/JPS61265643A/en
Publication of JPH0227694B2 publication Critical patent/JPH0227694B2/ja
Granted legal-status Critical Current

Links

Description

【発明の詳細な説明】 〔概要〕 高速制御メモリHCSと中速制御メモリLCSを
併用したマイクロプログラム制御の計算機におい
て、HCS及びLCSをアクセスする各アドレス・
レジスタに、そのアドレスがHCSとLCSのどち
らのものであるかを指示するフラグ情報をセツト
し、マイクロ命令の実行中断時に、実行アドレス
をそのフラグ情報と共に保持させることにより、
既に実行したマイクロ命令を再マクセスすること
を可能にした。
[Detailed Description of the Invention] [Summary] In a microprogram-controlled computer that uses both a high-speed control memory HCS and a medium-speed control memory LCS, each address and address accessing the HCS and LCS are
By setting flag information in a register to indicate whether the address belongs to HCS or LCS, and holding the execution address together with the flag information when execution of a microinstruction is interrupted,
It is now possible to re-access microinstructions that have already been executed.

〔産業上の利用分野〕[Industrial application field]

本発明は、先頭アドレスのマイクロ命令が格納
されている高速制御メモリとその他のアドレスの
マイクロ命令が格納されている中速制御メモリを
併用したマイクロプログラム制御の計算機におい
て、トラツプバツクやリトライバツク処理又はエ
ラー処理等でそれまで実行されたマイクロ命令を
再アクセスする場合の実行マイクロ命令再アクセ
ス制御方式に関する。
The present invention provides trapback, retryback processing, and error processing in a microprogram-controlled computer that uses both a high-speed control memory in which microinstructions at the first address are stored and a medium-speed control memory in which microinstructions at other addresses are stored. This invention relates to a control system for re-accessing executed micro-instructions when re-accessing micro-instructions that have been executed up to that point in processing.

近年、半導体技術の著しい進歩に伴ない、メモ
リの低価格化が進んで来たこと、又設計の容易性
と制御の変更の容易性から、マイクロプログラム
制御の計算機アーキテクチヤを採用したマシンが
増加している。
In recent years, with the remarkable progress in semiconductor technology, the price of memory has become lower, and the number of machines adopting microprogram-controlled computer architectures has increased due to the ease of design and control changes. are doing.

そして、マイクロプログラム制御のデータ処理
装置においては、マイクロプログラム処理の範囲
が増大するに伴い制御メモリの量も増大する様に
なると、アクセス時間を短縮する為に高速のメモ
リの使用が必要となつてきた。更に、データ処理
の高速化の要求により、一層高速のメモリを使用
することが必要になつてきた。
In microprogram-controlled data processing devices, as the scope of microprogram processing increases and the amount of control memory also increases, it becomes necessary to use high-speed memory to shorten access time. Ta. Additionally, demands for faster data processing have necessitated the use of even faster memories.

然しながら、高速のメモリは高価であることか
ら、高速のメモリを多量に使用するデータ処理機
構のコストは、極めて高いものとなる。この為、
高価な高速のメモリの使用を少くしてしかも高速
な処理が可能なマイクロプログラム制御方式が、
要求されていた。
However, since high-speed memory is expensive, the cost of a data processing mechanism that uses large amounts of high-speed memory becomes extremely high. For this reason,
A microprogram control method that enables high-speed processing while reducing the use of expensive high-speed memory,
It was requested.

〔従来の技術〕[Conventional technology]

第3図は、前述の要求を達成すべく同一出願人
によつて提案されたマイクロプログラム・アクセ
ス方式(特願昭58−212014)の原理を示したもの
である。
FIG. 3 shows the principle of a microprogram access system (Japanese Patent Application No. 58-212014) proposed by the same applicant to achieve the above-mentioned requirements.

第3図において、210は1マシン・サイクル
でアクセス可能な高速制御メモリ(HCS)で、
1つの機械語命令を実行するための一連のマイク
ロ命令中の先頭アドレスのマイクロ命令だけが格
納されている高速小容量の制御メモリである。
In FIG. 3, 210 is a high-speed control memory (HCS) that can be accessed in one machine cycle.
It is a high-speed, small-capacity control memory that stores only the first address microinstruction in a series of microinstructions for executing one machine language instruction.

220は1マシン・サイクルではアクセス出来
ない中速制御メモリ(LCS)で、先頭アドレスを
除いたそれ以後のアドレスのマイクロ命令が格納
されている中速大容量の制御メモリである。LCS
220は、偶数アドレスのマイクロ命令が格納さ
れているメモリ・バンクLCS(E)221と奇数アド
レスのマイクロ命令が格納されているメモリ・バ
ンクLCS(O)222を備えている。
Reference numeral 220 denotes a medium-speed control memory (LCS) which cannot be accessed in one machine cycle, and is a medium-speed, large-capacity control memory in which microinstructions for addresses after the first address are stored. LCS
220 includes a memory bank LCS(E) 221 in which microinstructions at even addresses are stored and a memory bank LCS(O) 222 in which microinstructions at odd addresses are stored.

230は高速制御メモリアドレス・レジスタ
(HCAR)で、HCS210をアクセスするアドレ
スがセツトされる。
230 is a high speed control memory address register (HCAR) in which an address for accessing HCS 210 is set.

240は中速制御メモリアドレス・レジスタ
(LCAR)部で、LCS(E)221をアクセスするア
ドレスがセツトされるLCAR(E)241及びLCS
(O)222をアクセスするアドレスがセツトさ
れるLCAR(O)242を備えている。
240 is a medium-speed control memory address register (LCAR) section, in which the address for accessing LCS(E) 221 is set, and LCAR(E) 241 and LCS
An LCAR (O) 242 is provided in which an address for accessing (O) 222 is set.

次に、第3図の動作を、第4図を参照して説明
する。第4図は第3図の動作タイミング・チヤー
トで、上段の0,1,2等はマシン・サイクルを
示し、各段のA〜Dは各アドレス・レジスタの各
マシン・サイクルにおけるアドレスの内容を示
す。
Next, the operation shown in FIG. 3 will be explained with reference to FIG. 4. Figure 4 is an operation timing chart of Figure 3, where 0, 1, 2, etc. in the upper row indicate machine cycles, and A to D in each stage indicate the contents of the address in each address register in each machine cycle. show.

マイクロ命令に対する先頭アドレスAは、
HCAR230及びLCAR(E)241の両者にセツ
トされ、マシン・サイクル(O)においてHCS
210及びLCS(E)221が同時にアクセスされ
る。それと共に、LCAR(O)242にLCS(O)
222をアクセスするアドレスBがセツトされ
る。
The starting address A for the microinstruction is
It is set in both HCAR230 and LCAR(E)241, and the HCS is set in the machine cycle (O).
210 and LCS(E) 221 are accessed simultaneously. At the same time, LCS (O) to LCAR (O) 242
Address B accessing 222 is set.

HCS210は、1マシン・サイクルで読み出
しが可能な高速メモリであるので、マシン・サイ
クル(1)においてアドレスAに対するマイクロ命令
を読み出して、データレジスタ(CSDR、図示せ
ず)に格納する。
Since the HCS 210 is a high-speed memory that can be read in one machine cycle, it reads the microinstruction for address A in machine cycle (1) and stores it in a data register (CSDR, not shown).

一方、LCS(E)221は、読み出しに2マシン・
サイクルを要する中速メモリであるので、マシ
ン・サイクル(2)においてアドレスAに対するマイ
クロ命令を読み出して、CSDRに格納する。それ
と共に、LCAR(E)241に次のアドレスCがセツ
トされる。
On the other hand, LCS(E)221 requires two machines for reading.
Since this is a medium-speed memory that requires cycles, the microinstruction for address A is read out in machine cycle (2) and stored in CSDR. At the same time, the next address C is set in LCAR(E) 241.

LCS(O)222は、マシン・サイクル1にお
いてアドレスBでアクセスされると、2マシン・
サイクル後のマシン・サイクル(3)においてアドレ
スBに対するマイクロ命令を読み出してCSDRに
格納する。それと共に、LCAR(O)242に次
のアドレスDがセツトされる。
When LCS(O) 222 is accessed at address B in machine cycle 1, it
In the machine cycle (3) after the cycle, the microinstruction for address B is read and stored in CSDR. At the same time, the next address D is set in LCAR(O) 242.

以下、LCS(E)221及びLCS(O)222が交
互にアクセスされる。これにより、先頭のマイク
ロ命令がHCS210により1マシン・サイクル
で読み出され、次のマシン・サイクルからは、
LCS(E)221及びLCS(O)222が交互にアク
セスされて、実行上1マシン・サイクルで各マイ
クロ命令が読み出される。
Thereafter, LCS(E) 221 and LCS(O) 222 are accessed alternately. As a result, the first microinstruction is read by the HCS 210 in one machine cycle, and from the next machine cycle,
LCS(E) 221 and LCS(O) 222 are accessed alternately, and each microinstruction is read out in one machine cycle.

以上の様に、先頭アドレスのアイクロ命令を格
納するだけの小容量のHCS210と他のアドレ
スのマイクロ命令を格納するLCS220を併用す
ることにより、全体の制御メモリを高速制御メモ
リHCSで構成したと同等の高速アクセスを低コ
ストの制御メモリで実現することが出来る。
As described above, by using the small-capacity HCS210 that only stores microinstructions at the start address and the LCS220 that stores microinstructions at other addresses, it is equivalent to configuring the entire control memory with high-speed control memory HCS. High-speed access can be achieved using low-cost control memory.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

前述のHCSとLCSを併用した先願の方式は、
低コストの制御メモリにより、全体が高コストの
HCSで構成されたと同様に実行上1マシン・サ
イクルで各制御メモリのマイクロ命令をアクセス
することが可能になる反面、次の様な問題があ
る。
The method of the earlier application that combines HCS and LCS mentioned above is
Low-cost control memory eliminates high-cost overall
Although it is possible to access microinstructions in each control memory in one machine cycle in execution, as in the HCS configuration, there are the following problems.

即ち、前述の方式においては、マイクロ・プロ
グラムはシーケンシヤルな形で格納されているわ
けではなくHCS210とLCS220の2つの制
御メモリにまたがつて存在している。各メモリ・
アドレスの制御及び構成も各制御メモリによつて
異なつている。この為、例外処理終了後のトラツ
プバツクやリトライバツク処理又はエラー処理等
によつてマイクロ・プログラムの再試行が必要と
なつた時、単純に一度実行してしまつたマイクロ
命令のアドレスをたどつて再び元の実行時のアド
レスを求めることは、実際上出来ないという問題
があつた。
That is, in the above-described system, the microprogram is not stored in a sequential manner but exists across two control memories, HCS 210 and LCS 220. Each memory
The control and configuration of addresses is also different for each control memory. For this reason, when it is necessary to retry a microprogram due to trapback, retryback processing, or error processing after exception processing is completed, the program simply traces the address of the previously executed microinstruction and executes it again. There was a problem in that it was practically impossible to find the address at the time of the original execution.

特にエラー処理の場合、単位容量当りのソフト
エラー率は、高速のHCSの方がはるかに高く、
いかに小容量といえども無視できない数のエラー
が発生していた。然るに、従来の方式ではエラー
の発生したHCS又はLCSのマイクロ命令を再ア
クセス出来ないので、エラー処理によつてエラー
が修正されても、その修正データを元のHCS又
はLCSに再書き込みすることが出来ないという問
題があつた。
Especially in the case of error handling, the soft error rate per unit capacity is much higher for high-speed HCS.
No matter how small the capacity, a non-negligible number of errors occurred. However, with conventional methods, it is not possible to re-access the microinstruction in the HCS or LCS where the error occurred, so even if the error is corrected through error handling, the corrected data cannot be rewritten to the original HCS or LCS. There was a problem that I couldn't do it.

E 〔問題点を解決するための手段〕 従来のマイクロプログラム・アクセス制御方式
における前述の問題点を解決する為に本発明の講
じた手段を、第1図を参照して説明する。第1図
は、本発明の構成をブロツク図で示したものであ
る。
E [Means for Solving the Problems] The means taken by the present invention to solve the above-mentioned problems in the conventional microprogram access control system will be explained with reference to FIG. FIG. 1 is a block diagram showing the structure of the present invention.

第1図において、110は1マシン・サイクル
でアクセス可能な高速制御メモリ(HCS)で、
第3図のHCS210と同様に、一連のマイクロ
命令中の先頭アドレスに対するマイクロ命令だけ
が格納されている高速小容量の制御メモリであ
る。
In FIG. 1, 110 is a high-speed control memory (HCS) that can be accessed in one machine cycle.
Similar to the HCS 210 in FIG. 3, it is a high-speed, small-capacity control memory in which only the microinstructions for the first address in a series of microinstructions are stored.

120は1マシン・サイクルではアクセス出来
ない中速制御メモリ(LCS)で、第3図のLCS2
20と同様に、先頭アドレスを除いたそれ以後の
アドレスのマイクロ命令が格納されている中速大
容量の制御メモリである。
120 is a medium-speed control memory (LCS) that cannot be accessed in one machine cycle, and is similar to LCS2 in Figure 3.
20, it is a medium-speed, large-capacity control memory in which microinstructions for addresses after the first address are stored.

130は高速制御メモリアドレス・レジスタ
(HCAR)で、HCS110をアクセスするアドレ
スがセツトされる。
130 is a high speed control memory address register (HCAR) in which an address for accessing the HCS 110 is set.

140は、中速制御メモリアドレス・レジスタ
(LCAR)部で、LCS120をアクセスるアドレ
スがセツトされる。
Reference numeral 140 denotes a medium speed control memory address register (LCAR) section in which an address for accessing the LCS 120 is set.

HCAR130及びLCAR部140にはフラグ
部HLが設けられ、そのアドレスがHCS110又
はLCS120のどちらのものであるかを指示する
フラグ情報がセツトされる。
A flag section HL is provided in the HCAR 130 and LCAR section 140, and flag information indicating whether the address belongs to the HCS 110 or the LCS 120 is set.

150は再アクセスアドレス・レジスタ
(RAAR)部で、HCAR130又はLCAR部14
0にある再アクセスの対象となるマイクロ命令に
対するアドレスをそのフラグ情報と共に保持する
再アクセスアドレス・レジスタ(RAAR)15
1を少くとも1組有している。
150 is a re-access address register (RAAR) section, which is connected to HCAR 130 or LCAR section 14.
A re-access address register (RAAR) 15 that holds the address for the microinstruction to be re-accessed at 0 along with its flag information.
It has at least one set of 1.

160は再アクセス制御手段(RACM)で、
RAAR部150の中から再アクセス・アドレス
がセツトされているRAARを選択し、再アクセ
ス信号が入力されると、RAARのフラグ情報の
指示に従つて所定のHCAR130又はLCAR部
140にRAARのアドレスをそのフラグ情報と
共にセツトする。
160 is a re-access control means (RACM);
When a RAAR with a re-access address set is selected from the RAAR unit 150 and a re-access signal is input, the RAAR address is input to a predetermined HCAR 130 or LCAR unit 140 according to the instructions of the flag information of the RAAR. Set along with the flag information.

なお、第1図は本発明の構成の原理を示すもの
で、実際の制御方式においては、構成の一部が重
複する場合がある。
Note that FIG. 1 shows the principle of the configuration of the present invention, and in an actual control system, a part of the configuration may overlap.

〔作用〕[Effect]

HCAR130及びLCAR部140によりHCS
110及びLCS120をアクセスして、実行上1
マシン・サイクルで各制御メモリのマイクロ命令
の呼び出しが行われることは、第3図及び第4図
の従来方式と同様である。
HCS by HCAR130 and LCAR part 140
110 and LCS120, execute 1
It is the same as in the conventional system shown in FIGS. 3 and 4 that each control memory microinstruction is called in a machine cycle.

いま、何らかの例外処理やエラー処理等を行う
事態が発生した場合は、HCAR130又は
LCAR部140にあつて前記処理の終了後に再ア
クセスの対象となるマイクロ命令に対するアドレ
スが、そのフラグ情報と共にRAAR部150中
の所定のRAAR151に保持される。
If a situation arises that requires exception handling or error handling, use HCAR130 or
The address of the microinstruction to be accessed again after the completion of the processing in the LCAR unit 140 is held in a predetermined RAAR 151 in the RAAR unit 150 together with its flag information.

例外処理やエラー処理が終了すると、中断した
マイクロ命令に対する再アクセスを指示する再ア
クセス信号がRACM160に入力される。
When exception processing or error processing is completed, a re-access signal is input to the RACM 160 instructing re-access to the interrupted microinstruction.

RACM160は、RAAR部150の中から再
アクセス・アドレスがセツトされているRAAR
151を選択し、再アクセス信号を受けると、
RAAR151のフラグ情報の指示に従つて所定
のHCAR130又はLCAR部140にRAAR1
51のアドレスをそのフラグ情報と共にセツトす
る。
The RACM 160 selects the RAAR in which the re-access address is set from the RAAR section 150.
151 and receives a re-access signal,
RAAR 1 is sent to a predetermined HCAR 130 or LCAR section 140 according to the instructions of the flag information of RAAR 151.
51 address along with its flag information.

以上の様にすることにより、例外処理発生時や
エラー検出時等において、既に実行したマイクロ
命令がHCS110とLCS120のどちらに格納
されていても、例外処理やエラー処理終了後それ
らのマイクロ命令を容易に再アクセスして、再試
行したりエラー処理により修正されたデータの再
書き込みを行うことが出来る。
By doing the above, when an exception handling occurs or an error is detected, regardless of whether the already executed microinstructions are stored in the HCS 110 or the LCS 120, those microinstructions can be easily executed after the exception handling or error handling is completed. The data can be re-accessed and retried or the data corrected by error handling can be rewritten.

〔実施例〕〔Example〕

本発明の各実施例を、第2図を参照して説明す
る。第2図は、本発明の一実施例の構成をブロツ
ク図で示したものである。
Each embodiment of the present invention will be described with reference to FIG. FIG. 2 is a block diagram showing the configuration of an embodiment of the present invention.

(構成の説明) 第2図において、HCS110、LCS120、
RAAR部150、RACM160については、第
1図で説明した通りである。
(Description of configuration) In Figure 2, HCS110, LCS120,
The RAAR unit 150 and RACM 160 are as described in FIG.

HCAR130とLCAR部140は、共通の制
御メモリアドレス・レジスタ(CSAR)部170
中に包含される。CSAR部170において、17
1は現制御アドレス・レジスタ(CCAR)で、現
在実行中のマイクロ命令のアドレスがセツトされ
る。CCAR171にはフラグ部HLが設けられ、
現在アクセス中の制御メモリがHCS110と
LCS120のどちらであるかを指示するフラグ情
報がセツトされる。172は次制御アドレス・レ
ジスタ(NCAR)で、次に実行すべきマイクロ
命令のアドレスがセツトされる。173は更次制
御アドレス・レジスタ(MCAR)で、次の次に
実行すべきマイクロ命令のアドレスがセツトされ
る。NCAR172及び及びMCAR173には、
CCAR171と同様にフラグ部HLが設けられ、
各アドレス・レジスタがHCS110とLCS12
0のどちらに対するものであるかを指示するフラ
グ情報がセツトされる。
HCAR 130 and LCAR section 140 share a common control memory address register (CSAR) section 170.
contained within. In the CSAR section 170, 17
1 is the current control address register (CCAR), in which the address of the microinstruction currently being executed is set. CCAR171 is equipped with a flag part HL,
The control memory currently being accessed is HCS110.
Flag information indicating which LCS 120 it is is set. 172 is a next control address register (NCAR) in which the address of the next microinstruction to be executed is set. 173 is a further control address register (MCAR) in which the address of the next microinstruction to be executed is set. NCAR172 and MCAR173 include
Like CCAR171, a flag part HL is provided,
Each address register is HCS110 and LCS12
Flag information indicating which of the 0's it is for is set.

フラグとしては、例えば2ビツトを設けて一方
をHCS110用、他方をLCS120用とし、
“00”はそのアドレスが無効であることを示す様
にすればよい。
As a flag, for example, two bits are provided, one for HCS110 and the other for LCS120,
“00” may indicate that the address is invalid.

CCAR171は、マイクロ命令の開始時には先
頭アドレスがセツトされ、HCAR130として
機能する、それ以後はNCAR172及びMCAR
173と共にLCAR部140として機能する。そ
の構成は、第3図の従来方式と同様であるので、
詳細な説明は省略する。
The first address of CCAR171 is set at the start of a microinstruction, and it functions as HCAR130.After that, NCAR172 and MCAR
It functions as the LCAR section 140 together with 173. Its configuration is the same as the conventional system shown in Figure 3, so
Detailed explanation will be omitted.

尚、第2図の如く、HCAR130とLCAR1
40が兼用される場合は、CCAR171の内容を
そのフラグ部HLに応じてHCS110及び(又
は)LCS120に送る。又、第1図の様に別々に
設ける場合は、夫々から対応する制御記憶へアド
レスを送る。
In addition, as shown in Figure 2, HCAR130 and LCAR1
40 is also used, the contents of CCAR 171 are sent to HCS 110 and/or LCS 120 according to the flag part HL. If they are provided separately as shown in FIG. 1, addresses are sent from each to the corresponding control memory.

RAAR部150において、152は第1のリ
トライアドレス・レジスタ(R1CAR)で、現在
よりも前に実行されたアドレスが、そのフラグ情
報と共にセツトされる。153は第2のリトライ
アドレス・レジスタ(R2CAR)で、現在の前の
前に実行されたアドレスが、そのフラグ情報と共
にセツトされる。この操作は、CCAR171の全
内容を順次シフトすることにより行われる。この
R1CAR152及びR2CAR153は、リトライバ
ツク動作に用いられる。
In the RAAR unit 150, 152 is a first retry address register (R 1 CAR) in which an address executed before the current one is set together with its flag information. Reference numeral 153 denotes a second retry address register (R 2 CAR) in which the previously executed address before the current one is set together with its flag information. This operation is performed by sequentially shifting the entire contents of CCAR 171. this
R 1 CAR 152 and R 2 CAR 153 are used for retry back operation.

154は第1のトラツプアドレス・レジスタ
(T1CAR)で、CCAR151と同じアドレスが、
そのフラグ情報と共にセツトされる。155は第
2のトラツプアドレス・レジスタ(T2CAR)で、
R1CAR152と同じアドレスが、そのフラグ情
報と共にセツトされる。このT1CAR154及び
T2CAR155は、トラツプバツク動作時に用い
られる。
154 is the first trap address register (T 1 CAR), and the same address as CCAR151 is
It is set together with the flag information. 155 is the second trap address register (T 2 CAR);
The same address as R 1 CAR 152 is set along with its flag information. This T 1 CAR154 and
T 2 CAR 155 is used during trapback operation.

156はエラー制御アドレス・レジスタ
(ECAR)で、エラーが発生したデータに対する
アドレスが、そのフラグ情報と共にセツトされ
る。
156 is an error control address register (ECAR) in which an address for data in which an error has occurred is set together with its flag information.

〔動作の説明) CSAR部170によりHCS110及びLCS1
20をアクセスして、実行上1マシン・サイクル
で各制御メモリ110及び120のマイクロ命令
の呼び出しが行われることは、第3図及び第4図
で説明した従来方式と同様である。
[Explanation of operation] The CSAR unit 170 controls the HCS110 and LCS1.
20 and calling the microinstructions in each control memory 110 and 120 in one machine cycle is the same as in the conventional method described in FIGS. 3 and 4.

動作中は、CCAR171及びT1CAR154に
は、現在実行中のアドレスがセツトされている。
NCAR172には、次に実行すべきアドレスが
セツトされており、T2CAR173には、次の次
に実行すべきアドレスがセツトされている。
R1CAR152、T2CAR155及びECAR156
には、前に実行されたアドレスがセツトされてお
り、R2CAR153には、前の前に実行されたア
ドレスセツトされている。各アドレス・レジスタ
のフラグ部HLには、セツトされているアドレス
がHCS110とLCS120のどちらのものであ
るかを指示するフラグ情報が、セツトされてい
る。
During operation, the address currently being executed is set in CCAR 171 and T 1 CAR 154.
The address to be executed next is set in NCAR 172, and the address to be executed next is set in T 2 CAR 173.
R 1 CAR152, T 2 CAR155 and ECAR156
The previously executed address is set in R 2 CAR 153, and the previously executed address is set in R 2 CAR 153. Flag information indicating whether the set address belongs to HCS 110 or LCS 120 is set in the flag portion HL of each address register.

この実施例における実行マイクロ命令再アクセ
ス制御動作を、トラツプバツクの場合を例にとつ
て説明する。
The execution microinstruction re-access control operation in this embodiment will be explained using a trapback case as an example.

マイクロ命令の実行中に何らかの例外処理の為
にそれまでのマイクロ命令が中断されると、トラ
ツプ時のマイクロ命令及びその次に実行すべきマ
イクロ命令に対するCCAR171及びNCAR1
72の内容が、T2CAR155及びT1CAR154
にそれぞれセーブされて保持される。
If the previous microinstruction is interrupted due to some exception handling during the execution of a microinstruction, CCAR171 and NCAR1 for the microinstruction at the time of trapping and the microinstruction to be executed next.
The contents of 72 are T 2 CAR 155 and T 1 CAR 154
are saved and maintained respectively.

例外処理が終了すると、トラツプバツクを指示
する再アクセス信号がRACM160に入力され
る。
When the exception processing is completed, a re-access signal instructing trapback is input to the RACM 160.

RACM160は、この再アクセス信号を受け
ると、T2CAR155及びT1CAR154を順次選
択してそのアドレスとフラグ情報をCSAR部17
0に転送し、そのフラグ情報の指示に従つて所定
のHCS110又LCS120をアクセスするアド
レス・レジスタにセツトする。
When the RACM 160 receives this re-access signal, it sequentially selects the T 2 CAR 155 and the T 1 CAR 154 and sends the address and flag information to the CSAR section 17.
0, and sets a predetermined HCS 110 or LCS 120 in the address register to be accessed according to the instruction of the flag information.

その場合、フラグ情報の指示に従つて、直接に
所定のHCS110又はLCS120をアクセスす
るアドレス・レジスタにセツトする他、選択され
たT2CAR155又はT1CAR154のアドレスと
フラグ情報をそのままCSAR170に転送し、
CSAR部170においてそのフラグ情報の指示に
従つて、所定のアドレス・レジスタにセツトする
様にしても良い。後者の場合は、CSAR部170
に、RACM160の一部として機能することに
なる。
In that case, in addition to directly setting the specified HCS 110 or LCS 120 in the address register to be accessed, the address and flag information of the selected T 2 CAR 155 or T 1 CAR 154 are transferred to the CSAR 170 as is, according to the flag information instructions. ,
The CSAR section 170 may set the flag in a predetermined address register according to the instruction of the flag information. In the latter case, the CSAR section 170
In other words, it will function as part of RACM 160.

これまでの説明はトラツプバツクの動作説明で
あるが、R1CAR152とR2CAR153を使用し
たリトライバツクの動作及びECAR156を使用
したエラー修正データの再書き込み動作も、同様
にして行われる。エラー処理の場合は、エラー処
理が終了すると、ECAR156のアドレス及びフ
ラグ情報によりエラーの発生したHCS110又
はLCS120のマイクロ命令がアクセスされ、エ
ラーが修正されたデータの再書き込みが行われ
る。
The explanation so far has been about the trapback operation, but the retryback operation using the R 1 CAR 152 and R 2 CAR 153 and the rewriting operation of error correction data using the ECAR 156 are performed in the same way. In the case of error processing, when the error processing is completed, the microinstruction of the HCS 110 or LCS 120 in which the error occurred is accessed based on the address and flag information of the ECAR 156, and data with the error corrected is rewritten.

以上の様にして、従来方式のものにおいては実
際上出来なかつたトラツプバツクやリトライバツ
ク、更にエラー修正されたデータの再書き込みを
行うことが出来る。
In the manner described above, it is possible to carry out trapback and retryback, which were practically impossible in conventional systems, as well as to rewrite error-corrected data.

以上、本発明の一実施例について説明したが、
本発明はこの実施例に限定されるものでは無く、
他の既に実行したマイクロ命令の再アクセス制御
方式に適用されるものである。HCAR130と
LCAR部140を、第1図に示す様に別個に設け
てる様にしても良いことは、もちろんである。
又、RAAR部150及びCSAR部170(LCAR
部140も同様)内の各アドレス・レジスタの段
数は、2倍に限定されるものでは無い。
Although one embodiment of the present invention has been described above,
The present invention is not limited to this example,
This method is applied to other re-access control methods for microinstructions that have already been executed. HCAR130 and
Of course, the LCAR section 140 may be provided separately as shown in FIG.
In addition, the RAAR section 150 and the CSAR section 170 (LCAR
The number of stages of each address register in the section 140 is not limited to twice.

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

以上説明した様に、本発明によれば、次の様な
諸効果を生じる。
As explained above, according to the present invention, the following effects are produced.

(イ) HCAR130及びLCAR部140(又は
CSAR部170)の各アドレス・レジスタに、
そのアドレスがHCS110又はLCS120の
どちらに対するものであるかを指示するフラグ
情報をセツトすることにより、トラツプ時、リ
トライ時、エラー検出時等において、既に実行
したマイクロ命令がHCS110とLCS120
のどちらに入つていても、再アクセス時に容易
に呼び出すことが出来る。
(a) HCAR130 and LCAR section 140 (or
In each address register of CSAR section 170),
By setting flag information that indicates whether the address is for HCS 110 or LCS 120, microinstructions that have already been executed can be transferred to HCS 110 and LCS 120 at the time of trapping, retrying, error detection, etc.
No matter which one is in it, it can be easily called upon re-access.

(ロ) エラーがHCS110とLCS120のどちら
に発生しても、エラー処理によつて修正された
データの再書き込みを行うことが出来る。
(b) Even if an error occurs in either the HCS 110 or the LCS 120, data corrected by error processing can be rewritten.

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

第1図―本発明の構成のブロツク説明図、第2
図―本発明の一実施例のブロツク説明図、第3図
―従来のマイクロプログラム・アクセス方式の原
理図、第4図―第3図の動作タイミング・チヤー
ト。 第1図において、110…高速制御メモリ
(HCS)、120…中速制御メモリ(LCS)、13
0…高速制御メモリアドレス・レジスタ
(HCAR)、140…中速制御メモリアドレス・
レジスタ部(LCAR部)、150…再アクセスア
ドレス・レジスタ部(RAAR部)、151…再ア
クセスアドレス・レジスタ(RAAR)、160…
再アクセス制御手段(RACM)。
Fig. 1 - Block explanatory diagram of the configuration of the present invention, Fig. 2
FIG. 3 is an illustration of the principle of a conventional microprogram access method; FIG. 4 is an operational timing chart of FIG. 3. In FIG. 1, 110...high speed control memory (HCS), 120...medium speed control memory (LCS), 13
0...High-speed control memory address register (HCAR), 140...Medium-speed control memory address
Register section (LCAR section), 150... Re-access address register section (RAAR section), 151... Re-access address register (RAAR), 160...
Re-access control means (RACM).

Claims (1)

【特許請求の範囲】 1 先頭アドレスのマイクロ命令が格納されてい
る高速制御メモリ110とその他のアドレス命令
が格納されている中速制御メモリ120を併用し
たマイクロプログラム制御の計算機における実行
マイクロ命令再アクセス制御方式であつて、 (a) 高速制御メモリ110及び中速制御メモリ1
20に対する各アドレス・レジスタとして、高
速及び中速制御メモリ110,120に対する
アドレスと共に、そのアドレスが高速又は中速
メモリ110,120のどちらに対するもので
あるかを指示するフラグ情報がセツトされる高
速制御メモリアドレス・レジスタ130及び中
速制御メモリアドレス・レジスタ部140を設
け、 (b) 高速制御メモリアドレス・レジスタ130又
は中速制御メモリアドレス・レジスタ部140
にある再アクセスの対象となるマイクロ命令に
対するアドレスをそのフラグ情報と共に保持す
る再アクセスアドレス・レジスタ151を少く
とも1組有する再アクセスアドレス・レジスタ
部150を設け、 (c) 再アクセス時は、再アクセスアドレス・レジ
スタ部150中より所定の再アクセス・アドレ
スがセツトされている再アクセスアドレス・レ
ジスタを選択し、そのフラグ情報の指示に従つ
て所定の高速制御メモリアドレス・レジスタ1
30又は中速制御メモリアドレス・レジスタ部
140にその再アクセスアドレス・レジスタの
アドレスをそのフラグ情報と共にセツトする再
アクセス制御手段160、 を設けたことを特徴とする実行マイクロ命令再ア
クセス制御方式。
[Scope of Claims] 1. Re-access to executed microinstructions in a microprogram-controlled computer using both a high-speed control memory 110 in which microinstructions at the top address are stored and a medium-speed control memory 120 in which other address instructions are stored. The control method includes: (a) high-speed control memory 110 and medium-speed control memory 1;
As each address register for 20, an address for the high-speed and medium-speed control memories 110, 120 and flag information indicating whether the address is for the high-speed or medium-speed memory 110, 120 are set. A memory address register 130 and a medium-speed control memory address register section 140 are provided; (b) a high-speed control memory address register 130 or a medium-speed control memory address register section 140;
A re-access address register unit 150 is provided which has at least one set of re-access address registers 151 that hold the address of the microinstruction to be re-accessed in the micro-instruction along with its flag information; A re-access address register in which a predetermined re-access address is set is selected from the access address register section 150, and a predetermined high-speed control memory address register 1 is selected according to the instructions of the flag information.
30 or a medium-speed control memory address register section 140 includes a re-access control means 160 for setting the address of the re-access address register together with its flag information.
JP60107642A 1985-05-20 1985-05-20 Executing micro-instruction reaccess controlling system Granted JPS61265643A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60107642A JPS61265643A (en) 1985-05-20 1985-05-20 Executing micro-instruction reaccess controlling system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60107642A JPS61265643A (en) 1985-05-20 1985-05-20 Executing micro-instruction reaccess controlling system

Publications (2)

Publication Number Publication Date
JPS61265643A JPS61265643A (en) 1986-11-25
JPH0227694B2 true JPH0227694B2 (en) 1990-06-19

Family

ID=14464366

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60107642A Granted JPS61265643A (en) 1985-05-20 1985-05-20 Executing micro-instruction reaccess controlling system

Country Status (1)

Country Link
JP (1) JPS61265643A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0333990U (en) * 1989-08-09 1991-04-03

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0333990U (en) * 1989-08-09 1991-04-03

Also Published As

Publication number Publication date
JPS61265643A (en) 1986-11-25

Similar Documents

Publication Publication Date Title
JP2539199B2 (en) Digital processor controller
JPH0581935B2 (en)
JP3432734B2 (en) DMA control device and DMA control method
JPH0227694B2 (en)
JPH0754467B2 (en) Data processing device
JPH0227693B2 (en)
JP3130798B2 (en) Bus transfer device
JPS58107977A (en) Accessing system for storage device
JPH01125633A (en) System for debugging multi-processing system
JPH04181331A (en) Instruction retry system
JPS58154043A (en) Information processor
JPH0561660B2 (en)
JPS6028014B2 (en) microprocessor
JPS592586Y2 (en) information processing equipment
JP2568708B2 (en) How to update the double link queue
JPS58166454A (en) Data processor
JPH0474254A (en) Microprocessor diagnostic system
JPS6326416B2 (en)
JPS59125453A (en) Retrying system
JPH01166144A (en) Debugging system for firmware program
JPH01223547A (en) Input/output instruction converting system
JPH0740226B2 (en) Branch instruction control method
JPH0454257B2 (en)
JPH0640304B2 (en) Control memory error processing method
JPH0239812B2 (en)