JPH053017B2 - - Google Patents
Info
- Publication number
- JPH053017B2 JPH053017B2 JP16591486A JP16591486A JPH053017B2 JP H053017 B2 JPH053017 B2 JP H053017B2 JP 16591486 A JP16591486 A JP 16591486A JP 16591486 A JP16591486 A JP 16591486A JP H053017 B2 JPH053017 B2 JP H053017B2
- Authority
- JP
- Japan
- Prior art keywords
- interrupt
- control unit
- microprogram control
- signal
- factor
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Lifetime
Links
- 230000010365 information processing Effects 0.000 claims 2
Description
【発明の詳細な説明】
〔産業上の利用分野〕
本発明は情報処理装置に関し、特にマイクロプ
ログラム制御部とマイクロプログラム制御部に割
込み、マイクロプログラム制御部の指示によつて
動作するバードウエア制御とを含んで構成される
情報処理装置に関する。[Detailed Description of the Invention] [Field of Industrial Application] The present invention relates to an information processing device, and particularly to a microprogram control unit and a hardware control device that interrupts the microprogram control unit and operates according to instructions from the microprogram control unit. The present invention relates to an information processing device configured to include the following.
近年マイクロプログラム制御の情報処理装置が
ますます増加の傾向にあるが、マイクロプログラ
ム制御を用いた装置の一つにマイクロプログラム
制御部と、マイクロプログラム制御部に割込みマ
イクロプログラム制御部の指示によつて動作する
ハードウエア制御部を持ち、以下の動作を行う装
置がある。
In recent years, there has been an increasing trend in the number of information processing devices using microprogram control. There is a device that has a hardware control unit that operates and performs the following operations.
ハードウエア制御部は通常、自分自身の判断で
処理を行つているが、マイクロプログラム制御部
の判断や処理が必要になると、マイクロプログラ
ム制御部に対して割込みの形で割込みの種別を判
断する情報を伴なつて割込み要求を上げ、マイク
ロプログラム制御部の指示があるまで動作を中断
する。これに対してマイクロプログラム制御部
は、ハードウエア制御部の割込み要因が何である
かを判断し、ハードウエア制御部に対して割込み
に応じた指示を出す。ハードウエア制御部では、
マイクロプログラム制御部の指示によつて処理を
再開し、再びマイクロプログラム制御部の判断や
処理を必要とするまで、処理を続行する。 The hardware control unit usually performs processing based on its own judgment, but when the microprogram control unit needs to make a decision or process, it sends information to the microprogram control unit in the form of an interrupt to determine the type of interrupt. The interrupt request is raised along with the interrupt request, and the operation is suspended until an instruction is received from the microprogram control section. On the other hand, the microprogram control section determines what is the cause of the interrupt in the hardware control section, and issues an instruction to the hardware control section according to the interrupt. In the hardware control section,
Processing is restarted in response to an instruction from the microprogram control unit, and continues until judgment and processing by the microprogram control unit are required again.
上述した従来の情報処理装置では、ハードウエ
ア制御部が故障などの原因で誤つた割込み要求を
上げても、マイクロプログラム制御部は上げられ
た割込み要求に対する動作指示を与える。
In the conventional information processing apparatus described above, even if the hardware control section raises an erroneous interrupt request due to a failure or the like, the microprogram control section gives an operation instruction for the raised interrupt request.
しかし、故障などの原因で誤つて割込み要求を
上げている場合には、マイクロプログラム制御部
がハードウエア制御部に対して動作指示を与えて
も割込み要因がリセツトされず、同一の割込み要
求を繰返し、マイクロプログラム制御部で実行さ
れる他の処理が阻害されるという問題点があつ
た。 However, if an interrupt request is raised by mistake due to a malfunction or other cause, the interrupt cause will not be reset even if the microprogram control section issues an operation instruction to the hardware control section, and the same interrupt request will be repeated. However, there was a problem in that other processing executed by the microprogram control unit was inhibited.
また、マイクロプログラム制御部の動作指示に
よつて、ハードウエア制御部の内部が変化してし
まいハードウエア制御部の障害解析の複雑さを招
くという問題点もあつた。 Further, there is a problem in that the inside of the hardware control section changes depending on the operation instructions from the microprogram control section, which complicates failure analysis of the hardware control section.
本発明の装置は、マイクロプログラム制御部
と、これに割込み要求信号と割込みを特定する特
定情報とからなる割込み要求を出力し前記マイク
ロプログラム制御部から供給される前記割込み要
求に対応した動作指示に応答して動作するハード
ウエア制御部とにより構成される情報処理装置に
おいて、予め発生順序が知られている複数の割込
み要因の何れか1つの発生に応答して前記割込み
要求信号を発生する割込み要求信号発生手段と、
前記割込み要因のそれぞれに対して設けられ前記
発生順序と発生した割込み要因とに基づいて前記
マイクロプログラム制御部から送出される動作指
示により次に発生が予測される割込み要因に対応
する予測信号を発生する予測信号発生手段と、前
記割込み要因のそれぞれに対して設けられ前記対
応する予測信号の供給をうけ発生した割込み要因
が予測されたものであるときには予測一致信号を
発生する予測一致信号発生手段と、前記予測一致
信号の供給をうけ前記発生割込み要因を特定する
前記特定情報をマイクロプログラム制御部に送出
する割込み要因特定手段とを含んで構成される。
The device of the present invention includes a microprogram control unit, outputs an interrupt request consisting of an interrupt request signal and specific information specifying the interrupt to the microprogram control unit, and responds to an operation instruction corresponding to the interrupt request supplied from the microprogram control unit. An interrupt request that generates the interrupt request signal in response to the occurrence of any one of a plurality of interrupt factors whose occurrence order is known in advance in an information processing device configured with a hardware control unit that operates in response. signal generating means;
Generating a prediction signal corresponding to the next interrupt factor that is provided for each of the interrupt factors and is predicted to occur next based on the operation instruction sent from the microprogram control unit based on the order of occurrence and the interrupt factor that has occurred. prediction signal generation means for generating a predicted coincidence signal when the interrupt factor generated in response to the supply of the corresponding prediction signal, which is provided for each of the interrupt factors, is predicted. , an interrupt factor specifying means for receiving the predicted coincidence signal and sending the specifying information specifying the generated interrupt factor to the microprogram control section.
次に本発明の実施例について図面を参照して説
明する。
Next, embodiments of the present invention will be described with reference to the drawings.
第1図は本発明の一実施例を示すブロツク図で
ある。第1図の情報処理装置は、ハードウエア制
御部1と、マイクロプログラム制御部2とを含ん
で構成され、ハードウエア制御部1は割込要因a
〜cのそれぞれに対応したフリツプフロツプ20
〜22と、アンド回路30〜32と、オア回路4
0と、エンコーダ50を含んで構成される。 FIG. 1 is a block diagram showing one embodiment of the present invention. The information processing device shown in FIG. 1 includes a hardware control section 1 and a microprogram control section 2.
Flip-flop 20 corresponding to each of ~c
~22, AND circuits 30~32, and OR circuit 4
0 and an encoder 50.
ハードウエア制御部1からマイクロプログラム
制御部2へは割込み要求信号60および割込パラ
メータ51,52が、マイクロプログラム制御部
2からハードウエア制御部1へは指示信号70お
よび指示パラメータ71がそれぞれ送出される。 An interrupt request signal 60 and interrupt parameters 51 and 52 are sent from the hardware control section 1 to the microprogram control section 2, and an instruction signal 70 and instruction parameters 71 are sent from the microprogram control section 2 to the hardware control section 1. Ru.
第2図はハードウエア制御部1の割込み要因a
〜cの発生順序を示した図である。第2図におい
て割込み要因aの次は割込み要因a又はb、割込
み要因bの次は割込み要因c、割込み要因cの次
は割込み要因aが起こる事を示している。これ以
外の組み合せ、例えば割込み要因aの次に割込み
要因cの割込みは正常な状態では起こらない。 Figure 2 shows the interrupt factor a of the hardware control unit 1.
It is a diagram showing the order of occurrence of ~c. In FIG. 2, the interrupt factor a or b occurs after the interrupt factor a, the interrupt factor c occurs after the interrupt factor b, and the interrupt factor a occurs after the interrupt factor c. A combination other than this, for example, an interrupt in which interrupt factor a is followed by interrupt factor c does not occur under normal conditions.
第3図はエンコーダ50の入力と出力との関係
を表わした図である。第3図において信号線33
が“1”の時、エンコーダ50の出力である割込
みパラメータ51,52は“11”になり割込み要
因がaがオンになつたことを示す。信号線33が
“0”で信号線34が“1”の時はエンコーダ5
0の出力は、“10”になり割込み要因bがオンに
なつたことを示す。さらに信号線33,34がと
もに“0”で信号線35が“1”の時はエンコー
ダ50の出力は“0”になり割込み要因cがオン
になつたことを示し、信号線33,34,35が
全て“0”の時には出力が“00”になり、割込み
がエラー割込みであることを示す。 FIG. 3 is a diagram showing the relationship between the input and output of the encoder 50. In Fig. 3, the signal line 33
When is "1", the interrupt parameters 51 and 52, which are the outputs of the encoder 50, become "11", indicating that the interrupt factor a has been turned on. When the signal line 33 is “0” and the signal line 34 is “1”, the encoder 5
The output of 0 becomes "10", indicating that interrupt factor b has been turned on. Furthermore, when the signal lines 33, 34 are both "0" and the signal line 35 is "1", the output of the encoder 50 becomes "0", indicating that the interrupt factor c is turned on, and the signal lines 33, 34, When all 35 are "0", the output becomes "00", indicating that the interrupt is an error interrupt.
今ハードウエア制御部1で割込み要因aがオン
になり、この時フリツプフロツプ20がセツト状
態にあつたとすると、割込み要因aはオア回路4
0を通して、割込要求信号60となりマイクロプ
ログラム制御部2に送出され、それと同時に割込
み要因aはアンド回路30、エンコーダ50を通
して値が“11”の割込みパラメータ51,52と
なり、マイクロプログラム制御部2に送出され
る。そしてハードウエア制御部1はマイクロプロ
グラム制御部2の指示があるまで動作を停止す
る。 Now, if interrupt factor a is turned on in hardware control unit 1 and flip-flop 20 is in the set state at this time, interrupt factor a is turned on by OR circuit 4.
0, the interrupt request signal 60 is sent to the microprogram control unit 2, and at the same time, the interrupt factor a passes through the AND circuit 30 and the encoder 50, and becomes the interrupt parameters 51 and 52 with a value of “11”, and is sent to the microprogram control unit 2. Sent out. The hardware control section 1 then stops operating until an instruction is given from the microprogram control section 2.
マイクロプログラム制御部2は割込みを受け付
けると、割込みパラメータ51,52が“11”で
あることにより、割込み要因aが起つた事を知
り、この割込みに対する指示を指示信号70と指
示パラメータ71とを通して行う。それと同時に
次に予測される割込みに対応するフリツプフロツ
プ(ここではフリツプフロツプ20とフリツプフ
ロツプ21)をセツトし、それ以外をリセツトす
る。 When the microprogram control unit 2 receives an interrupt, it learns that the interrupt factor a has occurred because the interrupt parameters 51 and 52 are "11", and issues an instruction for this interrupt through the instruction signal 70 and instruction parameter 71. . At the same time, the flip-flops (here, flip-flops 20 and 21) corresponding to the next predicted interrupt are set, and the others are reset.
ハードウエア制御部1はマイクロプログラム制
御部2の指示を受けると停止中の動作を再開し、
再び動き始める。 When the hardware control unit 1 receives an instruction from the microprogram control unit 2, it resumes the stopped operation,
Start moving again.
その後、ハードウエア制御部1で割込み要因c
が故障などの原因でオンになつたとする。割込み
要因cはオア回路40を通して、割込要求信号6
0となり、マイクロプログラム制御部2に送出さ
れる。しかし、この割込み要因cは予測された割
込みではないので、フリツプフロツプ22はセツ
トされていない。このため信号線35は“0”に
なり、エンコーダ50の入力全てが“0”にな
る。エンコーダ50の入力全てが“0”であると
エンコーダ50の出力は“00”となり、エラー割
込みであることを示している。 After that, the hardware control unit 1 detects the interrupt cause c.
Suppose that the switch is turned on due to a malfunction or other reason. The interrupt factor c is transmitted through the OR circuit 40 to the interrupt request signal 6.
It becomes 0 and is sent to the microprogram control section 2. However, since this interrupt factor c is not a predicted interrupt, flip-flop 22 is not set. Therefore, the signal line 35 becomes "0", and all inputs of the encoder 50 become "0". If all the inputs to the encoder 50 are "0", the output of the encoder 50 will be "00", indicating an error interrupt.
マイクロプログラム制御部2は割込みを受け付
けると割込みパラメータ51,52を調べこれが
“00”であることからハードウエア制御部1が障
害状態にあることを知り、ハードウエア制御部1
のデータを採取したのちハードウエア制御部1を
切り離すなどの障害に対する処置をすることがで
きる。 When the microprogram control unit 2 receives an interrupt, it checks the interrupt parameters 51 and 52, and since these are “00”, it knows that the hardware control unit 1 is in a failure state, and the hardware control unit 1
After collecting the data, it is possible to take measures against the failure, such as disconnecting the hardware control unit 1.
以上のように本実施例では予測される割込み要
因以外はすべてエラー割込みとしてマイクロプロ
グラム制御部2に報知することができ、マイクロ
プログラム制御部2からその後の適切な処理をほ
どこすことができる。 As described above, in this embodiment, all interrupt factors other than predicted interrupt causes can be reported to the microprogram control unit 2 as error interrupts, and the microprogram control unit 2 can then perform appropriate processing.
以上説明したように本発明には、予測される割
込み要因以外は全てエラー割込みにしマイクロプ
ログラム制御部に報知することによつて、ハード
ウエア制御部の障害を早期に発見し、ハードウエ
ア制御部の障害解析を容易にするとともに、マイ
クロプログラム制御部で実行される他の処理を阻
害するのを防止できるという効果がある。
As explained above, the present invention detects failures in the hardware control section early by converting all but predicted interrupt causes into error interrupts and notifying the microprogram control section. This has the effect of facilitating failure analysis and preventing interference with other processes executed by the microprogram control unit.
第1図は本発明の一実施例を示すブロツク図、
第2図はハードウエア制御部1の割込み要因の発
生順序を示した図、第3図はエンコーダ50の入
力と出力との関係図である。
1……ハードウエア制御部、2……マイクロプ
ログラム制御部、20,21,22……フリツプ
フロツプ(F/F)、30〜32……アンド回路、
33〜35……信号線、40……オア回路、50
……エンコーダ、51,52……割込パラメー
タ、60……割込み要求信号、70……指示信
号、71……指示パラメータ、a,b,c……割
込み要因。
FIG. 1 is a block diagram showing one embodiment of the present invention;
FIG. 2 is a diagram showing the order in which interrupt factors occur in the hardware control section 1, and FIG. 3 is a diagram showing the relationship between input and output of the encoder 50. 1...Hardware control unit, 2...Microprogram control unit, 20, 21, 22...Flip-flop (F/F), 30-32...AND circuit,
33-35... Signal line, 40... OR circuit, 50
... Encoder, 51, 52 ... Interrupt parameter, 60 ... Interrupt request signal, 70 ... Instruction signal, 71 ... Instruction parameter, a, b, c ... Interrupt factor.
Claims (1)
要求信号と割込みを特定する特定情報とからなる
割込み要求を出力し前記マイクロプログラム制御
部から供給される前記割込み要求に対応した動作
指示に応答して動作するハードウエア制御部とに
より構成される情報処理装置において、 予め発生順序が知られている複数の割込み要因
の何れか1つの発生に応答して前記割込み要求信
号を発生する割込み要求信号発生手段と、 前記割込み要因のそれぞれに対して設けられ前
記発生順序と発生した割込み要因とに基づいて前
記マイクロプログラム制御部から送出される動作
指示により次に発生が予測される割込み要因に対
応する予測信号を発生する予測信号発生手段と、 前記割込み要因のそれぞれに対して設けられ前
記対応する予測信号の供給をうけ発生した割込み
要因が予測されたものであるときには予測一致信
号を発生する予測一致信号発生手段と、 前記予測一致信号の供給をうけ前記発生した割
込み要因を特定する前記特定情報をマイクロプロ
グラム制御部に送出する割込み要因特定手段とを
含むことを特徴とする情報処理装置。[Scope of Claims] 1. A microprogram control unit, which outputs an interrupt request consisting of an interrupt request signal and specific information specifying the interrupt, and provides an operation instruction corresponding to the interrupt request supplied from the microprogram control unit. In an information processing device configured with a hardware control unit that operates in response to an interrupt, the interrupt request signal is generated in response to the occurrence of any one of a plurality of interrupt factors whose occurrence order is known in advance. a request signal generating means, which is provided for each of the interrupt factors, and generates an interrupt factor that is predicted to occur next based on an operation instruction sent from the microprogram control unit based on the order of occurrence and the interrupt factor that has occurred; a prediction signal generating means for generating a corresponding prediction signal; and a prediction signal generating means provided for each of the interrupt factors, generating a prediction coincidence signal when the interrupt factor generated in response to the supply of the corresponding prediction signal is predicted. An information processing device comprising: predicted coincidence signal generating means; and interrupt factor specifying means for receiving the predicted coincidence signal and sending the specific information specifying the generated interrupt factor to a microprogram control unit.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP16591486A JPS6320540A (en) | 1986-07-14 | 1986-07-14 | Information processor |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP16591486A JPS6320540A (en) | 1986-07-14 | 1986-07-14 | Information processor |
Publications (2)
Publication Number | Publication Date |
---|---|
JPS6320540A JPS6320540A (en) | 1988-01-28 |
JPH053017B2 true JPH053017B2 (en) | 1993-01-13 |
Family
ID=15821410
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP16591486A Granted JPS6320540A (en) | 1986-07-14 | 1986-07-14 | Information processor |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPS6320540A (en) |
-
1986
- 1986-07-14 JP JP16591486A patent/JPS6320540A/en active Granted
Also Published As
Publication number | Publication date |
---|---|
JPS6320540A (en) | 1988-01-28 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JPH04649A (en) | Fault information transfer system for remote channel device | |
JPH053017B2 (en) | ||
JPH053016B2 (en) | ||
JPS62187901A (en) | Control method of redundant controller | |
JPH03219333A (en) | Stand-by duplex system device | |
JPS6218060B2 (en) | ||
JPS62279430A (en) | Information processor | |
JPH0272436A (en) | Redundant system for microcomputer | |
JPS5854470A (en) | Controlling system for constitution of multiple electronic computer | |
JPS6113627B2 (en) | ||
JPH01120652A (en) | Setting system for monitor time of input/output device | |
JPS6320633A (en) | Information processor | |
JP2749994B2 (en) | Numerical control unit | |
JPS6126090B2 (en) | ||
JPH01284947A (en) | Duplex bus switching method | |
JPH01120653A (en) | Processing system for recovery of abnormality | |
JPS6116340A (en) | Emergency operation device of processor system | |
JPH0452983B2 (en) | ||
JPH05143379A (en) | Program monitoring device | |
JPS63155330A (en) | Microprogram controller | |
JPH05233576A (en) | Duplex system | |
JPH10200602A (en) | Master/slave communication system | |
JPS58134359A (en) | Bus switching device | |
JPH036741A (en) | Data output device for duplex system | |
JPS60201447A (en) | Service processor switching circuit |