JPS62100836A - Control system for control memory address - Google Patents

Control system for control memory address

Info

Publication number
JPS62100836A
JPS62100836A JP24086585A JP24086585A JPS62100836A JP S62100836 A JPS62100836 A JP S62100836A JP 24086585 A JP24086585 A JP 24086585A JP 24086585 A JP24086585 A JP 24086585A JP S62100836 A JPS62100836 A JP S62100836A
Authority
JP
Japan
Prior art keywords
fault
address
stack
control
entry
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
Application number
JP24086585A
Other languages
Japanese (ja)
Inventor
Kenzo Tanimoto
谷本 謙造
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.)
NEC Corp
Original Assignee
NEC Corp
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 NEC Corp filed Critical NEC Corp
Priority to JP24086585A priority Critical patent/JPS62100836A/en
Publication of JPS62100836A publication Critical patent/JPS62100836A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To attain a fault processing system with simple constitution by storing previously plural firm ware entry addresses into a part of an address stack for execution of the fault processing and designating an entry address of the firmware when the fault is detected to perform the corresponding fault processing in response to the pulse width of the fault detecting signal. CONSTITUTION:When a fault is detected by a fault detecting means (not shown here), the contents of the fault are set and then supplied to a fault entry address control circuit 10. The circuit 10 can designate the entry address corresponding to each fault and therefore controls the pulse width of the fault detecting signal in response to the type of the fault processing to supply this signal to a stack pointer register 51. As a result, the value of the register 51 is increased and reduced with reference to the pointer where the entry address of the microprogram corresponding to the fault of an address stack 4.

Description

【発明の詳細な説明】 C産業上の利用分野〕 本発明はマイクロプログラム制御の情報処理装置に関し
、特にフォルトが検出された場合に制御メモリの固定番
地に分岐してフォルトに対応するファームウェアのルー
チンに制御を移すための制御メモリアドレス制御方式に
関する。
[Detailed Description of the Invention] C Industrial Application Field] The present invention relates to a microprogram-controlled information processing device, and in particular, a firmware routine that branches to a fixed address in a control memory when a fault is detected to deal with the fault. This invention relates to a control memory address control method for transferring control to.

〔従来の技術〕[Conventional technology]

従来、この種の制御メモリアドレス制御方式は、フォル
トが検出された場合にフォルトに対応するファームウェ
アのエントリアドレスをハードウェアで生成して制御記
憶装置に送る構成となっていた。
Conventionally, this type of control memory address control system has been configured such that when a fault is detected, a firmware entry address corresponding to the fault is generated by hardware and sent to the control storage device.

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

上述した従来の制御メモリアドレス制御方式は、フォル
トに対応するアドレスの生成回路が必要となっているの
で、ハードウェア量が増加するとともにインクフェース
が増加するという欠点がある。
The conventional control memory address control method described above requires an address generation circuit corresponding to a fault, and therefore has the disadvantage that the amount of hardware increases and the number of ink faces increases.

本発明の目的は、アドレススタックの一部に予め障害処
理を行う複数のマイクロプログラムのエントリアドレス
を格納しておき、フォルト検出時にそのフォルトに対応
するエントリアドレスを指定することにより、ハードウ
ェア量およびインタフェースの増加を抑えるようにした
制御メモリアドレス制御方式を提供することにある。
An object of the present invention is to store the entry addresses of a plurality of microprograms that handle faults in advance in a part of the address stack, and to designate the entry address corresponding to the fault when a fault is detected. An object of the present invention is to provide a control memory address control method that suppresses an increase in the number of interfaces.

〔問題点を解決するための手段〕[Means for solving problems]

本発明の制御メモリアドレス制御方式は、マイクロ命令
を格納する制御メモリと、この制御メモリから読み出さ
れた前記マイクロ命令を保持するマイクロ命令レジスタ
と、このマイクロ命令レジスタの内容を解読する解読手
段と、サブルーチンの戻りアドレスおよび障害処理を行
うマイクロプログラムのエントリアドレスを格納するア
ドレススタックと、前記マイクロ命令の一部と前記アド
レススタックの出力とを切り替えて前記制御メモリのア
ドレスとする切替手段と、フォルトが検出されたときに
前記障害処理の種類に応したパルス幅を有する障害検出
信号を発生するフォルトエントリアドレス制御手段と、
前記障害検出信号のパルス幅に応じて前記フォルトに対
応するマイクロプログラムのエントリアドレスを指定す
るように前記アドレススタックのスタックポインタを増
減するスタックポインタ増減手段とを有する。
The control memory address control method of the present invention includes a control memory for storing microinstructions, a microinstruction register for holding the microinstructions read from the control memory, and a decoding means for decoding the contents of the microinstruction register. , an address stack that stores a return address of a subroutine and an entry address of a microprogram that handles a fault; a switching unit that switches between a part of the microinstruction and an output of the address stack to set the address of the control memory; fault entry address control means for generating a fault detection signal having a pulse width corresponding to the type of fault processing when the fault processing is detected;
and stack pointer increasing/decreasing means for increasing/decreasing the stack pointer of the address stack so as to specify the entry address of the microprogram corresponding to the fault in accordance with the pulse width of the fault detection signal.

〔実施例〕〔Example〕

次に、本発明について図面を参照して説明する。 Next, the present invention will be explained with reference to the drawings.

第1図は本発明の一実施例を示すブロック図である。本
実施例の制御メモリアドレス制御方式は、制御メモリ1
、マイクロ命令レジスタ2、インクリメントレジスタ3
、アドレススタック4、スタックポインタ制御回路5、
切替回路6、デコード回路7、加算回路8、フォルトス
テータスレジスタ9およびフォルトエントリアドレス制
御回路10から構成されている。
FIG. 1 is a block diagram showing one embodiment of the present invention. The control memory address control method of this embodiment is based on the control memory 1
, microinstruction register 2, increment register 3
, address stack 4, stack pointer control circuit 5,
It is composed of a switching circuit 6, a decoding circuit 7, an adding circuit 8, a fault status register 9, and a fault entry address control circuit 10.

第2図を参照すると、スタックポインタ制御回路5はス
タックポインタレジスタ51および増減回路52を含ん
で構成されている。
Referring to FIG. 2, the stack pointer control circuit 5 includes a stack pointer register 51 and an increase/decrease circuit 52.

複数のマイクロ命令を格納する制御メモリ1は、信号線
101を介してマイクロ命令レジスタ2に接続されてい
る。マイクロ命令レジスタ2の一部分は、次に実行すべ
きマイクロ命令が格納されている制御メモリ1のアドレ
スを示しており、信号線102を介して切替回路6に接
続されている。また、マイクロ命令レジスタ2の残りの
部分は、演算の実行やマイクロプログラムの実行順序の
制御を示しており、信号線103を介してデコード回路
7に接続されている。
A control memory 1 storing a plurality of microinstructions is connected to a microinstruction register 2 via a signal line 101. A portion of the microinstruction register 2 indicates an address in the control memory 1 where a microinstruction to be executed next is stored, and is connected to the switching circuit 6 via a signal line 102. The remaining portion of the microinstruction register 2 controls the execution of operations and the execution order of microprograms, and is connected to the decoding circuit 7 via a signal line 103.

アドレススタック4は、サブル−チンからの戻り番地を
複数個格納することができるとともに、戻り番地を格納
する領域とは別の領域にシステム立上げ時に障害処理を
行うマイクロプログラムのエントリアドレスを複数個格
納している。このアドレススタック4は、信号線107
を介して切替回路6に接続されている。
The address stack 4 can store multiple return addresses from subroutines, and also stores multiple entry addresses for microprograms that handle failures at system startup in an area separate from the area that stores the return addresses. It is stored. This address stack 4 has a signal line 107
It is connected to the switching circuit 6 via.

切替回路6にはデコード回路7の出力信号の一部が信号
&%106を介して供給され、この信号の論理値に応し
てマイクロ命令レジスタ2の出力の一部、インクリメン
トレジスタ3の出力またはアドレススタック4の出力が
切り替えられて出力されるようになっている。この切替
回路6の出力は、信号線108を介して制御メモリ1に
接続され、また加算回路8に接続されている。
A part of the output signal of the decoding circuit 7 is supplied to the switching circuit 6 via the signal &% 106, and depending on the logical value of this signal, a part of the output of the microinstruction register 2, an output of the increment register 3, or The output of the address stack 4 is switched and output. The output of this switching circuit 6 is connected to the control memory 1 via a signal line 108 and also to the adding circuit 8.

加算回路8は、切替回路6の出力に1を加える機能を有
し、信号線109を介してインクリメントレジスタ3に
接続されている。
The adder circuit 8 has a function of adding 1 to the output of the switching circuit 6, and is connected to the increment register 3 via a signal line 109.

インクリメントレジスタ3は、現在実行中のマイクロ命
令のアドレスに1を加えた値を保持しており、信号線1
10を介してアドレススタック4に接続されている。こ
のインクリメントレジスタ3は、サブルーチンの呼出し
があった場合にはサブルーチンの戻り番地を示す。
Increment register 3 holds a value obtained by adding 1 to the address of the microinstruction currently being executed, and signal line 1
10 to the address stack 4. This increment register 3 indicates the return address of the subroutine when the subroutine is called.

デコード回路7は、マイクロ命令レジスタ2の出力信号
の一部をデコードし、デコードされた出力信号のうちの
一部は前述したように信号線106を介して切替回路6
に供給される。また、デコード回路7の出力信号のうち
の他の一部は、アドレススタック4のストローブおよび
アドレススタック4のアドレス制御の機能を有しており
、信号線104を介してアドレススタック4に接続され
、信号線401および402を介してスタックポインタ
制御回路5に接続されている。さらに、デコード回路7
の出力信号のうちの残りの部分は、演算実行装置(図示
せず)を制御する。
The decode circuit 7 decodes a part of the output signal of the microinstruction register 2, and a part of the decoded output signal is sent to the switching circuit 106 via the signal line 106 as described above.
is supplied to Further, another part of the output signals of the decoding circuit 7 has functions of strobe of the address stack 4 and address control of the address stack 4, and is connected to the address stack 4 via the signal line 104. It is connected to the stack pointer control circuit 5 via signal lines 401 and 402. Furthermore, the decoding circuit 7
The remaining portion of the output signal controls an arithmetic execution unit (not shown).

スタックポインタ制御回路5は、デコード回路7の出力
信号を入力としてスタックポインタの増減などの制御を
行い、信号線105を介してアドレススタック4に接続
されている。
The stack pointer control circuit 5 receives the output signal of the decoding circuit 7 as input and controls the increase/decrease of the stack pointer, etc., and is connected to the address stack 4 via a signal line 105.

第2図はスタックポインタ制御回路5の構成をさらに詳
細に示したブロック図である。第1図中に示したアドレ
ススタック4のあきエントリを示すスタックポインタレ
ジスタ51は、信号線301を介して増減回路52に接
続されるとともに信号線105を介してアドレススタッ
ク4に接続されている。
FIG. 2 is a block diagram showing the configuration of the stack pointer control circuit 5 in more detail. A stack pointer register 51 indicating a free entry in the address stack 4 shown in FIG.

増減回路52は、第1図中に示したデコード回路7の出
力でサブルーチンの呼出しを意味している信号線402
の論理値に応してスタックポインタレジスタ51に1を
加えるか1を減するかを行う回路であり、信号線302
を介してスタックポインタレジスタ51に接続されてい
る。
The increase/decrease circuit 52 connects the signal line 402, which is the output of the decode circuit 7 shown in FIG.
This circuit adds 1 to or subtracts 1 from the stack pointer register 51 according to the logical value of the signal line 302.
It is connected to the stack pointer register 51 via.

第1図に戻って、フォルトステータスレジスタ9はフォ
ルト検出手段(図示せず)に接続されており、信号線1
11を介してフォルトエントリアドレス制御回路10に
接続されている。フォルトエントリアドレス制御回路1
0は、各フォルI・に対応するエントリアドレスを指定
可能とするために、障害検出信号を障害処理の種類に応
じてパルス幅を制御して信号線112に出力する。この
フォルトエントリアドレス制御回路10は、信号線11
2を介してスタックポインタ制御回路5のスタックポイ
ンタレジスタ51(第2図参照)に接続されている。
Returning to FIG. 1, fault status register 9 is connected to fault detection means (not shown) and signal line 1
11 to the fault entry address control circuit 10. Fault entry address control circuit 1
0 outputs a fault detection signal to the signal line 112 with the pulse width controlled according to the type of fault processing in order to enable specification of the entry address corresponding to each fault I. This fault entry address control circuit 10 has a signal line 11
2 to a stack pointer register 51 (see FIG. 2) of the stack pointer control circuit 5.

次に、このように構成された本実施例の制御メモリアド
レス制御方式の動作について説明する。
Next, the operation of the control memory address control system of this embodiment configured as described above will be explained.

フォルト検出手段(図示せず)によりフォルトが検出さ
れると、フォルトステータスレジスタ9にフォルトの内
容がセットされ、信号線111を介してフォルトエント
リアドレス制御回路10にフォルトの内容が入力される
。フォルトエントリアドレス制御回路10は、各フォル
トに対応するエントリアドレスを指定可能とするために
、障害検出信号を障害処理の種類に応じてパルス幅を制
御して信号線112に出力する。信号線112はスタッ
クポインタレジスタ51に接続され、障害検出信号はア
ドレススタック4のフォルトに対応するマイクロプログ
ラムのエントリアドレスが格納されているポインタまで
スタックポインタレジスタ51を増減させる。これによ
り、アドレススタック4から検出されたフォルトに対応
する障害処理を行うマイクロプログラムのエントリアド
レスが信号線107に出力され、切り替えられた切替回
路6および信号線108を介して制御メモリ1がアクセ
スされる。
When a fault is detected by a fault detection means (not shown), the contents of the fault are set in the fault status register 9, and the contents of the fault are inputted to the fault entry address control circuit 10 via the signal line 111. The fault entry address control circuit 10 outputs a fault detection signal to a signal line 112 by controlling the pulse width according to the type of fault processing in order to be able to specify an entry address corresponding to each fault. The signal line 112 is connected to the stack pointer register 51, and the fault detection signal increases or decreases the stack pointer register 51 to the pointer where the entry address of the microprogram corresponding to the fault in the address stack 4 is stored. As a result, the entry address of the microprogram that performs fault processing corresponding to the fault detected from the address stack 4 is output to the signal line 107, and the control memory 1 is accessed via the switched switching circuit 6 and the signal line 108. Ru.

よって、制?1’Uメモリ1の8亥当するエントリアド
レスに格納されたマイクロプログラムに制御が移行し、
検出されたフォルトに対応する障害処理が実行される。
Therefore, the system? Control is transferred to the microprogram stored at the entry address corresponding to 8 in 1'U memory 1,
Fault handling corresponding to the detected fault is executed.

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

以上説明したように本発明は、アドレススタックの一部
に予め障害処理を行う複数のファームウェアのエントリ
アドレスを格納しておき、フォルl−検出時に障害検出
信号のパルス幅に応じてスタックポインタを制御して該
当する障害処理を行うファームウェアのエントリアドレ
スを指定することにより、ハードウェア量およびインタ
フェースを削減できる効果がある。
As explained above, the present invention stores the entry addresses of a plurality of firmware that performs failure processing in a part of the address stack in advance, and controls the stack pointer according to the pulse width of the failure detection signal when a failure is detected. By specifying the entry address of the firmware that performs the corresponding failure processing, it is possible to reduce the amount of hardware and interfaces.

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

第1図は本発明の一実施例を示すブロック図、第2図は
第1図中に示したスタックポインタ制御回路をさらに詳
細に示すブロック図である。 図において、 4 1・・・制御メモリ、 2・・・マイクロ命令レジスタ、 3・・・インクリメントレジスタ、 4・・・アドレススタック、 5・・・スタックポインタ制御回路、 6・・・切替回路、 7・・・デコード回路、 8・・・加算回路、 9・・・フォルトステータスレジスタ、10・・・フォ
ルトエントリアドレス制御回路、51・・・スタックポ
インタレジスタ、52・・・増減回路である。
FIG. 1 is a block diagram showing one embodiment of the present invention, and FIG. 2 is a block diagram showing the stack pointer control circuit shown in FIG. 1 in more detail. In the figure, 4 1... Control memory, 2... Micro instruction register, 3... Increment register, 4... Address stack, 5... Stack pointer control circuit, 6... Switching circuit, 7 . . . decoding circuit, 8 . . . addition circuit, 9 . . . fault status register, 10 .

Claims (1)

【特許請求の範囲】 マイクロ命令を格納する制御メモリと、 この制御メモリから読み出された前記マイクロ命令を保
持するマイクロ命令レジスタと、 このマイクロ命令レジスタの内容を解読する解読手段と
、 サブルーチンの戻りアドレスおよび障害処理を行うマイ
クロプログラムのエントリアドレスを格納するアドレス
スタックと、 前記マイクロ命令の一部と前記アドレススタックの出力
とを切り替えて前記制御メモリのアドレスとする切替手
段と、 フォルトが検出されたときに前記障害処理の種類に応じ
たパルス幅を有する障害検出信号を発生するフォルトエ
ントリアドレス制御手段と、前記障害検出信号のパルス
幅に応じて前記フォルトに対応するマイクロプログラム
のエントリアドレスを指定するように前記アドレススタ
ックのスタックポインタを増減するスタックポインタ増
減手段と、 を有することを特徴とする制御メモリアドレス制御方式
[Scope of Claims] A control memory that stores microinstructions, a microinstruction register that holds the microinstructions read from the control memory, decoding means that decodes the contents of the microinstruction register, and a return of a subroutine. an address stack that stores an address and an entry address of a microprogram that handles a fault; a switching means that switches between a portion of the microinstruction and an output of the address stack to set the address of the control memory; and a fault is detected. a fault entry address control means for generating a fault detection signal having a pulse width depending on the type of fault processing; and a fault entry address control means for specifying an entry address of a microprogram corresponding to the fault in accordance with the pulse width of the fault detection signal. A control memory address control system comprising: stack pointer increase/decrease means for increasing/decreasing the stack pointer of the address stack as shown in FIG.
JP24086585A 1985-10-28 1985-10-28 Control system for control memory address Pending JPS62100836A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP24086585A JPS62100836A (en) 1985-10-28 1985-10-28 Control system for control memory address

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP24086585A JPS62100836A (en) 1985-10-28 1985-10-28 Control system for control memory address

Publications (1)

Publication Number Publication Date
JPS62100836A true JPS62100836A (en) 1987-05-11

Family

ID=17065852

Family Applications (1)

Application Number Title Priority Date Filing Date
JP24086585A Pending JPS62100836A (en) 1985-10-28 1985-10-28 Control system for control memory address

Country Status (1)

Country Link
JP (1) JPS62100836A (en)

Similar Documents

Publication Publication Date Title
US4616313A (en) High speed address calculation circuit for a pipeline-control-system data-processor
KR860004355A (en) Processor capable of running one or several programs on multiple calculations
JPH031699B2 (en)
JPS63226732A (en) Sequencer circuit
JPH0332818B2 (en)
JPS62100836A (en) Control system for control memory address
JPH0550015B2 (en)
JPH06342397A (en) Circuit device for mapping of logical address space
JPH0218729B2 (en)
JPS6221131B2 (en)
JP2761324B2 (en) High-speed processing method
JPH0644066A (en) Information processor
JPS63120336A (en) Switching system for memory access mode
JPH05189231A (en) Error processing system in instruction fetch
JPS6254340A (en) Information processor
JPH04137138A (en) Information processor
JPS6293734A (en) Information processor
JPS6024642A (en) Microprogram controlling system
JPS63147236A (en) Information processor
JPS61143848A (en) Microprogram controller
JPS60193047A (en) Mode checking system of microprogram
JPH0326860B2 (en)
JPS61118836A (en) Microprogram controller
JPS5935239A (en) Microprogram control system
JPS59186048A (en) Microprogram control system