JPS6320633A - Information processor - Google Patents

Information processor

Info

Publication number
JPS6320633A
JPS6320633A JP16723686A JP16723686A JPS6320633A JP S6320633 A JPS6320633 A JP S6320633A JP 16723686 A JP16723686 A JP 16723686A JP 16723686 A JP16723686 A JP 16723686A JP S6320633 A JPS6320633 A JP S6320633A
Authority
JP
Japan
Prior art keywords
interrupt
signal
control part
control unit
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.)
Pending
Application number
JP16723686A
Other languages
Japanese (ja)
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
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 JP16723686A priority Critical patent/JPS6320633A/en
Publication of JPS6320633A publication Critical patent/JPS6320633A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To prevent another processing of a microprogram control part from being hindered to facilitate analyzing the trouble of a hardware control part by preventing interrupts other than forecasted interrupts. CONSTITUTION:If an interrupt factor (c) is turned on in a hardware control part 1 because of trouble or the like, an interrupt permitting circuit 14 outputs '0' to a signal line 34 because value '11' for the occurrence of an interrupt factor (a) is held in a register 22. Therefore, a microprogram control part 2 is not interrupted through the interrupt factor (c) is turned on, and another processing executed in the microprogram control part 2 is not hindered. Since the microprogram control part 2 gives no instructions to the hardware control part 1, information before giving of extra instructions is held as contents of the hardware control part 1.

Description

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

ハードウェア制f:4部は通常、自分自身の4]J断で
処理を行っているが、マイクロプログラム制御部の判断
や処理が必要になると、マイクロプログラム制御部に対
して割込みの形で割込みの種別を判断する情報を伴なっ
て割込み要求を上げ、マイクロプログラム制御部の指示
があるまで動作を中断する。これに対してマイクロプロ
グラム制御部は、ハードウェア制御部の割込み要因が何
であるかを判断し、ハードウェア制御部に対して割込み
に応じた指示分出す。ハードウェア制御部では、マイク
ロプログラム制御部の指示によって処理を再開し、再び
マイクロプログラム制御部の判断や処理と必要とするま
で、処理を続行する。
The hardware system f:4 normally performs processing using its own 4]J interrupt, but when judgment or processing by the microprogram control unit is required, an interrupt is sent to the microprogram control unit in the form of an interrupt. The interrupt request is raised with information for determining the type of the interrupt, and the operation is suspended until an instruction 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. The hardware control section resumes processing according to instructions from the microprogram control section, and continues processing until the microprogram control section makes a decision and processes again.

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

上述した従来の情報処理装置では、ハードウェア制御部
が故障などの原因で誤って割込み要求を上げても、マイ
クロプログラム制御部は上げられた割込み要求に対する
動作指示を与える。しかし、故障などの原因で誤って割
込みを上げている場合には、マイクロプログラム制御部
がハードウェア制御部に対して動作指示を与えても割込
み要因がリセットされず、同一の割込み含繰り返し、マ
イクロプログラム制御部で実行される池の処理を阻害す
るという問題点があった。また、マイクロプログラム制
御部の動作指示によって、ハードウェア制御部の内部が
変化してしまいハードウェア制御部の障害解析の複雑さ
を招くという問題点もあった。
In the conventional information processing apparatus described above, even if the hardware control section erroneously raises an interrupt request due to a failure or the like, the microprogram control section gives an operation instruction in response to the raised interrupt request. However, if an interrupt is raised by mistake due to a malfunction or other cause, the interrupt cause will not be reset even if the microprogram control unit issues an operation instruction to the hardware control unit, and the There was a problem in that it interfered with the pond processing executed by the program control section. Further, there is a problem in that the inside of the hardware control section changes depending on the operation instructions of the microprogram control section, which complicates failure analysis of the hardware control section.

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

本発明の装置は、マイクロプログラム制御部と、これに
割込み要求信号と割込みを特定する特定情報とからなる
割込み要求を出力し前記マイクロプログラム制御部から
供給される前記割込み要求に対応した動作指示に応答し
て動作するハードウェア制御部とにより構成される情報
処理装置において、前記特定情報の供給に応答して次に
発生が予測される割込み要因に対応する予測信号を発生
する予測信号発生手段と、予め発生順序が知られている
複数の割込み要因のそれぞれに対して設けられ前記対応
する予測信号の供給をうけ発生した割込み要因が予測さ
れたものであるときには予測−致信号を発生する予測一
致信号発生手段と、前記予測一致信号の供給に応答して
前記割込み要求信号を発生する割込み要求信号発生手段
と、前記予測一致信号の供給のうけて前記発生した割込
み要因を特定する前記特定情報を生成する割込み要因特
定手段とを含んで構成される。
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. and a hardware control unit that operates in response to the information processing device, a prediction signal generation unit that generates a prediction signal corresponding to an interrupt factor that is predicted to occur next in response to the supply of the specific information. , a prediction match that is provided for each of a plurality of interrupt factors whose occurrence order is known in advance, and generates a prediction-match signal when the interrupt factor that has occurred in response to the supply of the corresponding prediction signal is predicted. a signal generating means, an interrupt request signal generating means for generating the interrupt request signal in response to the supply of the predicted coincidence signal, and the specifying information for specifying the cause of the generated interrupt in response to the supply of the predicted coincidence signal. and generating interrupt factor specifying means.

〔実施例〕〔Example〕

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

第1図は本発明の一実施例を示すブロック図である。第
1図の情報処理装置は、ハードウェア制御部1と、マイ
クロプログラム制御部2とを含んで構成され、ハードウ
ェア制御部1は割込要因a〜dのそれぞれに対応したア
ンド回路15〜18と、割込み許可回路14と、オア回
路19と、エンコーダ20と、フリップフロップ21と
、レジスタ22とを含んで構成される。
FIG. 1 is a block diagram showing one embodiment of the present invention. The information processing apparatus shown in FIG. 1 includes a hardware control section 1 and a microprogram control section 2. The hardware control section 1 includes AND circuits 15 to 18 corresponding to interrupt factors a to d, respectively. , an interrupt permission circuit 14 , an OR circuit 19 , an encoder 20 , a flip-flop 21 , and a register 22 .

ハードウェア制御部1からマイクロプログラム制御部2
へは割込み要求信号60および割込パラメータ30.3
1が、マイクロプログラム制御部2からハードウェア制
御部1へは指示信号70および指示パラメータ71がそ
れぞれ送出される。
From hardware control unit 1 to microprogram control unit 2
to interrupt request signal 60 and interrupt parameter 30.3
1, an instruction signal 70 and an instruction parameter 71 are sent from the microprogram control section 2 to the hardware control section 1, respectively.

第2図はハードウェア制御部1の割込み要因a〜dの発
生順序を示した図である。第2図において割込み要因a
の次は割込み要因a又はb、割込み要因すの次は割込み
要因C又はd、割込み要因Cの次は割込み要因a、割込
み要因dの次は割込み要因aの割込みが起こる事を示し
ている。これ以外の組み合せ、例えば割込み要因Cの次
に割込み要因dの割込みは正常な状態では起こらない。
FIG. 2 is a diagram showing the order in which interrupt factors a to d of the hardware control unit 1 occur. In Figure 2, interrupt factor a
This indicates that the next occurrence is interrupt factor a or b, the next one is interrupt factor C or d, the next one is interrupt factor C, the next one is interrupt factor a, and the next one after interrupt factor d is one of interrupt factor a. Any combination other than this, for example, an interrupt in which interrupt factor C is followed by interrupt factor d does not occur under normal conditions.

第3図はエンコーダ20の入力と出力との関係を表わし
た図である。第3図において信号線36が“1”の時エ
ンコーダ20の出力は’ 11 ”になり割込み要因が
aがオンになったことを示す°。
FIG. 3 is a diagram showing the relationship between the input and output of the encoder 20. In FIG. 3, when the signal line 36 is "1", the output of the encoder 20 becomes '11', indicating that the interrupt factor a has been turned on.

信号線36が“O゛で信号線37が“1パの時はエンコ
ーダ20の出力が“10”になり割込み要因すがオンに
なったことを示す。信号線36,37が“O“で信号線
38が°°1パの時はエンコーダ20の出力が“01”
になり割込み要因Cがオンになったことを示す。信号線
36,37.38がO“で信号線39が“1”の時はエ
ンコーダ20の出力が“OO゛になり割込み要因dがオ
ンになったことを示す。また信号線36〜39が全て“
0”の時にはエンコーダ20の出力は不定である。
When the signal line 36 is "O" and the signal line 37 is "1", the output of the encoder 20 becomes "10", indicating that the interrupt factor is turned on. When the signal lines 36 and 37 are “O” and the signal line 38 is °°1 pa, the output of the encoder 20 is “01”
, indicating that interrupt factor C has been turned on. When the signal lines 36, 37, and 38 are O'' and the signal line 39 is ``1'', the output of the encoder 20 becomes ``OO'', indicating that the interrupt factor d is turned on. Also, all signal lines 36 to 39 are “
0'', the output of the encoder 20 is undefined.

第4図は割込み許可回路14の入力と出力の関係を表わ
した図である。第4図において、割込み許可回路14の
入力である割込みパラメータ30゜31が°“11”の
時には割込み許可回路14の出力(信号線32.3B、
34.35)は“1100”になる。これは前回の割込
みが割込み要因aであって、次回予測される割込みは、
割込み要因a又は割込み要因すであることを示す。割込
みパラメータ30.31が“10”の時には割込み許可
回路14の出力は“0011″“になり、前回の割込み
が割込み要因すであって、次回予測される割込みは割込
み要因C又は割込み要因dであることを示す。さらに割
込みパラメータ30.31が“01゛の時は割込み許可
回路14の出力はパ1o o o ”になり前回の割込
みが割込み要因Cであって、次回予測される割込みは割
込み要因aであることを示し、割込みパラメータ30.
31か“OO“の時は割込み許可回路14の出力は10
o o ”になり前回の割込みが割込み要因dであって
、次回予測される割込みは割込み要因aであることを示
す。
FIG. 4 is a diagram showing the relationship between the input and output of the interrupt permission circuit 14. In FIG. 4, when the interrupt parameter 30, 31, which is the input to the interrupt enable circuit 14, is "11", the output of the interrupt enable circuit 14 (signal line 32.3B,
34.35) becomes "1100". This means that the previous interrupt was interrupt factor a, and the next predicted interrupt is
Indicates that it is interrupt factor a or interrupt factor i. When the interrupt parameter 30.31 is "10", the output of the interrupt enable circuit 14 becomes "0011", which indicates that the previous interrupt was the interrupt factor and the next predicted interrupt is the interrupt factor C or the interrupt factor d. Furthermore, when the interrupt parameter 30.31 is "01", the output of the interrupt enable circuit 14 becomes "P1o o o", indicating that the previous interrupt was interrupt cause C, and the next predicted interrupt is an interrupt. Indicates that the cause is a, and sets the interrupt parameter 30.
31 or "OO", the output of the interrupt enable circuit 14 is 10.
o o'', indicating that the previous interrupt was the interrupt factor d, and the next predicted interrupt is the interrupt factor a.

今ハードウェア制御部1のレジスタ22に°°00”°
の値が保持されているとすると、割込み許可回路14の
出力は“1000”になっている。この状態で割込み要
因aがオンになると、割込み要因aはアンド回路15.
オア回路19を通して、フリップフロップ21をセット
し、レジスタ22にエンコーダ20の出力データを取り
込む。この時エンコーダ20は信号線36が1”である
ので、割込みが割込み要因aである事を示すデータ“1
1”が出力される。フリップフロップ21がセットされ
ると割込み要求信号60がオンになり、ハードウェア制
御部1はマイクロプログラム制御部2の指示があるまで
動作を停止する。この時、フリップフロップ21は割込
みが受は付けられるまで、レジスタ22は次の割込みが
起こるまで内容は保持される。
Now register 22 of hardware control unit 1 is set to °°00”°
Assuming that the value of is held, the output of the interrupt permission circuit 14 is "1000". When interrupt factor a turns on in this state, interrupt factor a is turned on by AND circuit 15.
The flip-flop 21 is set through the OR circuit 19, and the output data of the encoder 20 is taken into the register 22. At this time, since the signal line 36 of the encoder 20 is "1", the data "1" indicates that the interrupt is the interrupt factor a.
1" is output. When the flip-flop 21 is set, the interrupt request signal 60 is turned on, and the hardware control section 1 stops operating until an instruction is received from the microprogram control section 2. At this time, the flip-flop The contents of register 21 are held until the interrupt is accepted, and the contents of register 22 are held until the next interrupt occurs.

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

その後、ハードウェア制御部1で割込み要因Cが故障な
どの原因でオンになったとする。この時、レジスタ22
には割込み要因aが起った時の値“11“が保持されて
いるので、割込み許可回路14は信号線34に対して“
O”を出力している。
Suppose that the interrupt factor C is then turned on in the hardware control unit 1 due to a failure or the like. At this time, register 22
holds the value “11” when interrupt factor a occurred, so the interrupt enable circuit 14 outputs “11” to the signal line 34.
O” is output.

このため割込み要因Cがオンになっても、マイクロプロ
グラム制御部2に対する割込みは起らず、マイクロプロ
グラム制御部2で実行される他の処理を阻害しない。ま
た、マイクロプログラム制御部2はハードウェア制御部
1に対して何の指示も行なわないため、ハードウェア制
御部1の内容は余分な指示を与える前の情報が保持され
る。
Therefore, even if the interrupt factor C is turned on, no interruption occurs to the microprogram control section 2, and other processing executed by the microprogram control section 2 is not inhibited. Furthermore, since the microprogram control section 2 does not issue any instructions to the hardware control section 1, the contents of the hardware control section 1 retain the information before giving any extra instructions.

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

以上説明したように本発明には、予測される割込み以外
は割込まないようにすることによって、マイクロプログ
ラム制御部の他の処理が阻害されるのを防ぎ、ハードウ
ェア制御部の障害解析を容易にするという効果がある。
As explained above, the present invention prevents interruptions other than predicted interrupts to prevent other processing of the microprogram control unit from being inhibited, and facilitates failure analysis of the hardware control unit. It has the effect of making

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

第1図は本発明の−・実施例を示すブロック図、第2図
はハードウェア制御部1の割込み要因の発生順序を示し
た図、第3図はエンコーダ20の入力と出力との関係図
、第4図はv1込み許可回路14の入力と出力との関係
図である。 1・−・ハードウェア制御部、2・・・マイクロプログ
ラム制御部、14・・・割込み許可回路、15〜18・
・・アンド回路、19・・・オア回路、20・・・エン
コーダ、21・・フリップフロップ、22・・・レジス
タ、30.31・・・割込パラメータ、60・・・割込
み要求信号、70・・・指示信号、71・・・指示パラ
メータ、32〜41・・・信号線、a、b、c、d・・
・割込み要因。 第3図
FIG. 1 is a block diagram showing an embodiment of the present invention, FIG. 2 is a diagram showing the order in which interrupt factors occur in the hardware control unit 1, and FIG. 3 is a diagram showing the relationship between input and output of the encoder 20. , FIG. 4 is a diagram showing the relationship between the input and output of the v1 inclusion permission circuit 14. 1.--Hardware control section, 2.. Microprogram control section, 14.. Interrupt permission circuit, 15-18.
...AND circuit, 19...OR circuit, 20...encoder, 21...flip-flop, 22...register, 30.31...interrupt parameter, 60...interrupt request signal, 70... ...Indication signal, 71...Indication parameter, 32-41...Signal line, a, b, c, d...
- Interrupt factor. Figure 3

Claims (1)

【特許請求の範囲】 マイクロプログラム制御部と、これに割込み要求信号と
割込みを特定する特定情報とからなる割込み要求を出力
し前記マイクロプログラム制御部から供給される前記割
込み要求に対応した動作指示に応答して動作するハード
ウェア制御部とにより構成される情報処理装置において
、 前記特定情報の供給に応答して次に発生が予測される割
込み要因に対応する予測信号を発生する予測信号発生手
段と、 予め発生順序が知られている複数の割込み要因のそれぞ
れに対して設けられ前記対応する予測信号の供給をうけ
発生した割込み要因が予測されたものであるときには予
測一致信号を発生する予測一致信号発生手段と、 前記予測一致信号の供給に応答して前記割込み要求信号
を発生する割込み要求信号発生手段と、 前記予測一致信号の供給のうけて前記発生した割込み要
因を特定する前記特定情報を生成する割込み要因特定手
段とを含むことを特徴とする情報処理装置。
[Scope of Claims] A microprogram control unit, which outputs an interrupt request consisting of an interrupt request signal and specific information specifying the interrupt, and responds to an operation instruction corresponding to the interrupt request supplied from the microprogram control unit. and a hardware control unit that operates in response to the information processing device, the information processing device comprising: a prediction signal generation unit that generates a prediction signal corresponding to an interrupt factor that is predicted to occur next in response to the supply of the specific information; , a prediction match signal that is provided for each of a plurality of interrupt factors whose occurrence order is known in advance and generates a prediction match signal when the interrupt factor that has occurred in response to the supply of the corresponding prediction signal is predicted; generating means; interrupt request signal generating means for generating the interrupt request signal in response to the supply of the prediction match signal; and generating the specific information for specifying the cause of the generated interrupt in response to the supply of the prediction match signal. An information processing device comprising: interrupt factor identification means.
JP16723686A 1986-07-15 1986-07-15 Information processor Pending JPS6320633A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP16723686A JPS6320633A (en) 1986-07-15 1986-07-15 Information processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP16723686A JPS6320633A (en) 1986-07-15 1986-07-15 Information processor

Publications (1)

Publication Number Publication Date
JPS6320633A true JPS6320633A (en) 1988-01-28

Family

ID=15845980

Family Applications (1)

Application Number Title Priority Date Filing Date
JP16723686A Pending JPS6320633A (en) 1986-07-15 1986-07-15 Information processor

Country Status (1)

Country Link
JP (1) JPS6320633A (en)

Similar Documents

Publication Publication Date Title
US3409879A (en) Computer organization employing plural operand storage
EP0290942B1 (en) Guest machine execution control system for virtual machine system
JPS6320633A (en) Information processor
JPH053016B2 (en)
JPS62279430A (en) Information processor
JPS6320540A (en) Information processor
JPS60128541A (en) Microprocessor
JPS61267137A (en) System for controlling interrupting action
JPS58107932A (en) Common bus failure check system
JPS63120336A (en) Switching system for memory access mode
JPS5870361A (en) Input controlling system
JPS62190953A (en) Control circuit for communication control unit of communication control equipment
JPH01120634A (en) Interruption controller
JPH10161887A (en) Method and device for interruption signal synchronization
JPH02311933A (en) Interruption control system
JPS61289749A (en) Serial data transmitter
JPS5896353A (en) Malfunction detector of information processor
JPH0540666A (en) Interruption monitoring device for integrated circuit microprocessor
JPH02242347A (en) Program debug controller
JPH0194444A (en) Detector for execution level exception
JPS60193049A (en) Microprogram loading system
JPS62217335A (en) Monitor circuit for cpu runaway
JPH01290041A (en) Interruption control circuit
JPS61131135A (en) Runway detector of microprocessor
JPH01199238A (en) Data processor