JPH053016B2 - - Google Patents

Info

Publication number
JPH053016B2
JPH053016B2 JP15821586A JP15821586A JPH053016B2 JP H053016 B2 JPH053016 B2 JP H053016B2 JP 15821586 A JP15821586 A JP 15821586A JP 15821586 A JP15821586 A JP 15821586A JP H053016 B2 JPH053016 B2 JP H053016B2
Authority
JP
Japan
Prior art keywords
interrupt
control unit
signal
factor
microprogram 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
JP15821586A
Other languages
Japanese (ja)
Other versions
JPS6314237A (en
Inventor
Katsuhiro Yagi
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
Nippon Electric Co 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 Nippon Electric Co Ltd filed Critical Nippon Electric Co Ltd
Priority to JP15821586A priority Critical patent/JPS6314237A/en
Publication of JPS6314237A publication Critical patent/JPS6314237A/en
Publication of JPH053016B2 publication Critical patent/JPH053016B2/ja
Granted legal-status Critical Current

Links

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は情報処理装置に関し、特にマイクロプ
ログラム制御部とマイクロプログラム制御部に割
込み、マイクロプログラム制御部の指示によつて
動作するバードウエア制御部とを含んで構成され
る情報処理装置に関する。
[Detailed Description of the Invention] [Industrial Application Field] The present invention relates to an information processing device, and particularly to a microprogram control unit and a hardware control unit 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.

〔従来の技術〕[Conventional technology]

近年マイクロプログラム制御の情報処理装置が
ますます増加の傾向にあるが、マイクロプログラ
ム制御を用いた装置の一つにマイクロプログラム
制御部とマイクロプログラム制御部に割込みマイ
クロプログラム制御部の指示によつて動作するハ
ードウエア制御部を持ち、以下の動作を行う装置
がある。
In recent years, the number of information processing devices using microprogram control has been increasing, and one type of device that uses microprogram control is a microprogram control unit that interrupts the microprogram control unit and operates according to instructions from the microprogram control unit. There is a device that has a hardware control unit that 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 support is received from the microprogram control unit. 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.

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

上述した従来の情報処理装置では、ハードウエ
ア制御部が故障などの原因で誤つた割込み要求を
上げても、マイクロプログラム制御部は上げられ
た割込み要求に対する動作指示を与える。
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.

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

本発明の装置は、マイクロプログラム制御部
と、これに割込み要求信号と割込みを特定する特
定情報とからなる割込み要求を出力し前記マイク
ロプログラム制御部から供給される前記割込み要
求に対応した動作指示に応答して動作するハード
ウエア制御部とにより構成される情報処理装置に
おいて、予め発生順序が知られている複数の割込
み要因の何れか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;
a prediction signal generating means for generating a prediction signal corresponding to an interrupt factor predicted to occur next in response to the supply of the specific information; and a prediction signal generating means provided for each of the interrupt factors for supplying the corresponding prediction signal. predicted coincidence signal generation means for generating a predicted coincidence signal when the generated interrupt factor is predicted; and an interrupt factor that generates the specific information for specifying the generated interrupt factor in response to the predicted coincidence signal. and identifying means.

〔実施例〕〔Example〕

次に本発明の実施例について図面を参照して説
明する。
Next, embodiments of the present invention will be described with reference to the drawings.

第1図は本発明の一実施例を示すブロツク図で
ある。第1図の情報処理装置は、ハードウエア制
御部1と、マイクロプログラム制御部2とを含ん
で構成され、ハードウエア制御部1は割込要因a
〜cのそれぞれに対応したアンド回路14〜16
と、割込み許可回路13と、オア回路17と、エ
ンコーダ18と、フリツプフロツプ19と、レジ
スタ20とを含んで構成される。
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.
AND circuits 14 to 16 corresponding to each of ~c
, an interrupt permission circuit 13 , an OR circuit 17 , an encoder 18 , a flip-flop 19 , and a register 20 .

ハードウエア制御部1からマイクロプログラム
制御部2へは割込み要求信号60および割込パラ
メータ30,31が、マイクロプログラム制御部
2からハードウエア制御部1へは指示信号70お
よび指示パラメータ71がそれぞれ送出される。
An interrupt request signal 60 and interrupt parameters 30, 31 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, interrupt factor a or b occurs next to interrupt factor a, interrupt factor c occurs after interrupt factor b, and interrupt factor a occurs after 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図はエンコーダ18の入力と出力との関係
を表わした図である。第3図において信号線35
が“1”の時エンコーダ18の出力(信号線3
8,39)は“11”になり割込み要因がaがオン
になつたことを示す。信号線35が“0”で信号
線36が“1”の時はエンコーダ18の出力が
“10”になり割込み要因bがオンになつとことを
示す。信号線35,36が“0”で信号線37が
“1”の時はエンコーダ18の出力が“01”にな
り割込み要因cがオンになつたことを示す。信号
線35,36,37全てが“0”の時はエンコー
ダ18出力が“00”になり割込みがエラー割込み
であることを示す。
FIG. 3 is a diagram showing the relationship between the input and output of the encoder 18. In Fig. 3, the signal line 35
is “1”, the output of the encoder 18 (signal line 3
8, 39) becomes "11", indicating that the interrupt factor a has been turned on. When the signal line 35 is "0" and the signal line 36 is "1", the output of the encoder 18 becomes "10", indicating that the interrupt factor b is turned on. When the signal lines 35 and 36 are "0" and the signal line 37 is "1", the output of the encoder 18 becomes "01", indicating that the interrupt factor c is turned on. When the signal lines 35, 36, and 37 are all "0", the encoder 18 output becomes "00", indicating that the interrupt is an error interrupt.

第4図は割込み許可回路13の入力と出力の関
係を表わした図である。第4図において、割込み
許可回路13の入力である割込みパラメータ3
0,31が“11”の時には割込み許可回路13の
出力(信号線32,33,34)は“110”にな
る。これは前回の割込みが割込み要因aであつ
て、次回予測される割込みは、割込み要因a又は
割込み要因bであることを示す。割込みパラメー
タ30,31が“10”の時には割込み許可回路1
3の出力は“001”になり、前回の割込みが割込
み要因bであつて、次回予測される割込みは割込
み要因cであることを示す。さらに割込みパラメ
ータ30,31が“01”の時は割込み許可回路1
3の出力は“100”になり前回の割込みが割込み
要因cであつて、次回予測される割込みは割込み
要因aであることを示し、割込みパラメータ3
0,31が“00”の時は割込み許可回路13の出
力は“000”になり前回の割込みがエラー割込み
であり以後割込みは全て抑止されることを示す。
FIG. 4 is a diagram showing the relationship between the input and output of the interrupt permission circuit 13. In FIG. 4, an interrupt parameter 3 which is an input of the interrupt enable circuit 13
When 0 and 31 are "11", the output of the interrupt permission circuit 13 (signal lines 32, 33, and 34) becomes "110". This indicates that the previous interrupt was interrupt factor a, and the next predicted interrupt is either interrupt factor a or interrupt factor b. When interrupt parameters 30 and 31 are “10”, interrupt enable circuit 1
The output of 3 becomes "001", indicating that the previous interrupt was the interrupt factor b, and the next predicted interrupt is the interrupt factor c. Furthermore, when interrupt parameters 30 and 31 are “01”, interrupt enable circuit 1
The output of 3 becomes "100", indicating that the previous interrupt was interrupt factor c, and the next predicted interrupt is interrupt factor a, and the interrupt parameter 3
When 0 and 31 are "00", the output of the interrupt enable circuit 13 becomes "000", indicating that the previous interrupt was an error interrupt and that all subsequent interrupts will be suppressed.

今ハードウエア制御部1のレジスタ20に
“11”の値が保持されているとすると、割込み許
可回路13の出力は“110”になつている。この
状態で割込み要因aがオンになると、割込み要因
aはオア回路17を通して、フリツプフロツプ1
9をセツトし、レジスタ20にエンコーダ18の
出力データ(信号線38,39)を取り込む。こ
の時、エンコーダ18は割込み要因aと信号線3
2のアンド結果である信号線35が“1”である
ので、割込みが割込み要因aである事を示すデー
タ“11”が出力される。フリツプフロツプ19が
セツトされると割込み要求信号60がオンにな
り、ハードウエア制御部1はマイクロプログラム
制御部2の指示があるまで動作を停止する。この
時、フリツプフロツプ19は割込みが受け付けら
れるまで、レジスタ20は次の割込みが起こるま
で内容は保持される。
Assuming that the value "11" is currently held in the register 20 of the hardware control unit 1, the output of the interrupt permission circuit 13 is "110". When interrupt factor a turns on in this state, interrupt factor a passes through OR circuit 17 to flip-flop 1.
9 is set, and the output data of the encoder 18 (signal lines 38, 39) is taken into the register 20. At this time, the encoder 18 detects the interrupt factor a and the signal line 3.
Since the signal line 35 which is the AND result of 2 is "1", data "11" indicating that the interrupt is the interrupt factor a is output. When the flip-flop 19 is set, the interrupt request signal 60 is turned on, and the hardware control section 1 stops operating until an instruction from the microprogram control section 2 is received. At this time, the contents of the flip-flop 19 are held until the interrupt is accepted, and the contents of the register 20 are held until the next interrupt occurs.

マイクロプログラム制御部2は割込みを受け付
けると、割込みパラメータ30,31が“11”で
あることにより、割込み要因aの割込みであるこ
とを知り、この割込みに対する指示を指示信号7
0、指示パラメータ71を通して行う。ハードウ
エア制御部1はこの指示を受けて、停止中の動作
を再開し、再び動き始める。
When the microprogram control unit 2 receives an interrupt, it knows that it is an interrupt caused by interrupt cause a because the interrupt parameters 30 and 31 are "11", and sends an instruction for this interrupt to the instruction signal 7.
0, through instruction parameter 71. Upon receiving this instruction, the hardware control section 1 resumes the stopped operation and starts moving again.

その後、ハードウエア制御部1で割込み要因c
が故障などの原因でオンになつたとする。割込み
要因cはオア回路17を通して、フリツプフロツ
プ19をセツトし、レジスタ20にエンコーダ1
8の出力データ(信号線38,39)を取り込
む。この時のエンコーダ18の出力データはエラ
ー割込みを示す“00”になつている。これは、レ
ジスタ20に割込み要因aが起つた時の値“11”
が保持されでいるので、割込み許可回路13が信
号線34に対して“0”を出力し、割込み要因c
がオンになつても、信号線37が“1”にならな
いためである。
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 sets the flip-flop 19 through the OR circuit 17, and sets the encoder 1 in the register 20.
8 output data (signal lines 38, 39). At this time, the output data of the encoder 18 is "00" indicating an error interrupt. This is the value “11” when interrupt factor a occurs in register 20.
is held, the interrupt enable circuit 13 outputs "0" to the signal line 34, and the interrupt cause c
This is because the signal line 37 does not become "1" even if it is turned on.

マイクロプログラム制御部2は割込パラメータ
30,31が“00”のエラー割込を受け付ける
と、ハードウエア制御部1が障害状態にあること
を知り、ハードウエア制御部1のデータを採取し
たのち、ハードウエア制御部1を切り離すなどの
障害に対する処置をすることができる。
When the microprogram control unit 2 receives an error interrupt whose interrupt parameters 30 and 31 are "00," it learns that the hardware control unit 1 is in a failure state, and after collecting data from the hardware control unit 1, 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 section 2 as error interrupts, and the microprogram control section 2 can then take appropriate measures.

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

以上説明したように本発明には、予測される割
込み以外は全てエラー割込みにしマイクロプログ
ラム制御部に報知することによつて、ハードウエ
ア制御部の障害を早期に発見し、ハードウエア制
御部の障害解析を容易にすると共に、マイクロプ
ログラム制御部で実行される他の処理を阻害する
のを防止できるという効果がある。
As explained above, the present invention detects failures in the hardware control unit early by converting all interrupts other than predicted interrupts into error interrupts and notifying the microprogram control unit. This has the effect of facilitating analysis and preventing interference with other processing executed by the microprogram control section.

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

第1図は本発明の一実施例を示すブロツク図、
第2図はハードウエア制御部1の割込み要因の発
生順序を示した図、第3図はエンコーダ18の入
力と出力との関係図、第4図は割込み許可回路1
3の入力と出力との関係図である。 1……ハードウエア制御部、2……マイクロプ
ログラム制御部、13……割込み許可回路、14
〜16……アンド回路、17……オア回路、18
……エンコーダ、19……フリツプフロツプ、2
0……レジスタ、30,31……割込パラメー
タ、60……割込要求信号、70……指示信号、
71……指示パラメータ、32〜39……信号
線、a,b,c……割込み要因。
FIG. 1 is a block diagram showing one embodiment of the present invention;
2 is a diagram showing the order in which interrupt factors occur in the hardware control unit 1, FIG. 3 is a diagram showing the relationship between the input and output of the encoder 18, and FIG. 4 is a diagram showing the interrupt enable circuit 1.
FIG. 3 is a relationship diagram between input and output of No. 3; 1...Hardware control unit, 2...Microprogram control unit, 13...Interrupt permission circuit, 14
~16...AND circuit, 17...OR circuit, 18
... Encoder, 19 ... Flip-flop, 2
0...Register, 30, 31...Interrupt parameter, 60...Interrupt request signal, 70...Instruction signal,
71...Instruction parameters, 32-39...Signal lines, a, b, c...Interrupt factors.

Claims (1)

【特許請求の範囲】 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. and a hardware control unit that operates in response to an interrupt 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. request signal generation means; prediction signal generation means for generating a prediction signal corresponding to an interrupt factor that is predicted to occur next in response to the supply of the specific information; prediction matching signal generating means for generating a prediction matching signal when the interrupt factor that has occurred in response to the prediction signal being supplied is the predicted one; An information processing device comprising: interrupt factor identification means that generates information.
JP15821586A 1986-07-04 1986-07-04 Information processor Granted JPS6314237A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP15821586A JPS6314237A (en) 1986-07-04 1986-07-04 Information processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP15821586A JPS6314237A (en) 1986-07-04 1986-07-04 Information processor

Publications (2)

Publication Number Publication Date
JPS6314237A JPS6314237A (en) 1988-01-21
JPH053016B2 true JPH053016B2 (en) 1993-01-13

Family

ID=15666795

Family Applications (1)

Application Number Title Priority Date Filing Date
JP15821586A Granted JPS6314237A (en) 1986-07-04 1986-07-04 Information processor

Country Status (1)

Country Link
JP (1) JPS6314237A (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4554402B2 (en) * 2005-03-11 2010-09-29 富士通セミコンダクター株式会社 Microcomputer with built-in interrupt controller

Also Published As

Publication number Publication date
JPS6314237A (en) 1988-01-21

Similar Documents

Publication Publication Date Title
JPH04649A (en) Fault information transfer system for remote channel device
JPH053016B2 (en)
JPH053017B2 (en)
JPS6320633A (en) Information processor
JPS62279430A (en) Information processor
JPS6095663A (en) Automatic switching device of dual type magnetic disk device
JP2744113B2 (en) Computer system
JPS63155330A (en) Microprogram controller
JPH0784814A (en) Error detecting device of computer
JPH01120652A (en) Setting system for monitor time of input/output device
JPS5983438A (en) Program failure detecting system
JPS58107932A (en) Common bus failure check system
JPS62117054A (en) Confirmation system for state of input and output device
JPS58114141A (en) Fault reporting system for multimicroprocessor
JPH05143379A (en) Program monitoring device
JPS6330660B2 (en)
JPS61131135A (en) Runway detector of microprocessor
JPH0448332A (en) Information processor
JPS6165345A (en) Channel processing system
JPS6339065A (en) Data transfer device
JPS60173647A (en) Detecting system of error generating part of information processing unit
JPH04102154A (en) Information processor
JPH0469755A (en) Information processor
JPS62190953A (en) Control circuit for communication control unit of communication control equipment
JPH01209516A (en) System for monitoring timer working