JPH0683642A - Interruption controller - Google Patents

Interruption controller

Info

Publication number
JPH0683642A
JPH0683642A JP23320292A JP23320292A JPH0683642A JP H0683642 A JPH0683642 A JP H0683642A JP 23320292 A JP23320292 A JP 23320292A JP 23320292 A JP23320292 A JP 23320292A JP H0683642 A JPH0683642 A JP H0683642A
Authority
JP
Japan
Prior art keywords
interrupt
signal
interruption
microprocessor
logic
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.)
Granted
Application number
JP23320292A
Other languages
Japanese (ja)
Other versions
JP2988139B2 (en
Inventor
Takahiro Fukui
孝宏 福井
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 JP4233202A priority Critical patent/JP2988139B2/en
Publication of JPH0683642A publication Critical patent/JPH0683642A/en
Application granted granted Critical
Publication of JP2988139B2 publication Critical patent/JP2988139B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Abstract

PURPOSE:To accept and process even the interruption requests that have the priority levels lower than those of the priority ordering interruption requests produced continuously by a defect. CONSTITUTION:An interruption end detecting logic 9 detects the end of the interruptions given from a microprocessor 14. An interruption mask data control logic 8 which receives an interruption end signal 108 generates the interruption mask data 110 based on the state of an interruption service register 6 set when the end of the interruptions is detected and an interruption request signal 105. Then the logic 8 writes the data 110 in an interruption mask register 7. The interruption processing jobs are carried on thereafter based on the data 110.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明はマイクロコンピュータ等
における割込み制御装置に関し、特に複数の割込み要求
の優先順位を制御する割込み制御装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an interrupt controller in a microcomputer or the like, and more particularly to an interrupt controller for controlling the priority of a plurality of interrupt requests.

【0002】[0002]

【従来の技術】従来、この種の割込み制御装置はマイク
ロプロセッサと共に用いられ、外部からマイクロプロセ
ッサへの割込み要求を制御している。
2. Description of the Related Art Conventionally, an interrupt control device of this kind has been used together with a microprocessor to control an interrupt request from the outside to the microprocessor.

【0003】図8は従来の一例を示す割込み制御装置の
ブロック図である。図8に示すように、従来の割込み制
御装置1aは、外部装置からの割込み要求信号105の
状態を保持するための割込み要求レジスタ4と、割込み
要求の禁止情報を保持するための割込みマスクレジスタ
7と、割込み要求105の優先順位を決定するための優
先決定ロジック5と、割込み要求をマイクロプロセッサ
14に通知するための制御ロジック3と、割込みルーチ
ンアドレス107を発生するための割込みルーチンアド
レス発生ロジック2と、現在受け付けられている割込み
要求を示すための割込みサービスレジスタ6とを備えて
いる。また、かかる割込み制御装置1aはこれらの他に
データバスバッファ10と、リード/ライトコントロー
ル11と、内部データバス12とを有している。この割
込み制御装置1aはデータバス13によってマイクロプ
ロセッサ14と接続され、しかも割込み(INT)信号
101と、割込みアクノリッジ(INTA)信号102
と、リード信号103およびライト信号104との送受
信を行う。尚、割込み要求信号105は通常複数本存在
し、各々装置が接続されている。
FIG. 8 is a block diagram of a conventional interrupt control device. As shown in FIG. 8, the conventional interrupt control device 1a includes an interrupt request register 4 for holding the state of an interrupt request signal 105 from an external device and an interrupt mask register 7 for holding interrupt request prohibition information. A priority determination logic 5 for determining the priority of the interrupt request 105, a control logic 3 for notifying the microprocessor 14 of the interrupt request, and an interrupt routine address generation logic 2 for generating an interrupt routine address 107. And an interrupt service register 6 for indicating the currently accepted interrupt request. In addition to these components, the interrupt control device 1a has a data bus buffer 10, a read / write control 11, and an internal data bus 12. The interrupt control device 1a is connected to the microprocessor 14 by a data bus 13, and has an interrupt (INT) signal 101 and an interrupt acknowledge (INTA) signal 102.
And the read signal 103 and the write signal 104 are transmitted and received. There are usually a plurality of interrupt request signals 105, each of which is connected to a device.

【0004】まず、各装置からの割込み要求が発生する
と、割込み制御装置1aに割込み要求信号105が送出
され、割込み要求レジスタ4をセットする。複数の割込
み要求が発生した場合は、優先決定ロジック5が割込み
マスクレジスタ7の内容を参照して割込み要求信号10
5の優先度を決定する。マイクロプロセッサ14に対す
る割込み要求は制御ロジック3を経由し、割込み(IN
T)信号101によって通知される。
First, when an interrupt request is issued from each device, an interrupt request signal 105 is sent to the interrupt control device 1a and the interrupt request register 4 is set. When a plurality of interrupt requests are generated, the priority determination logic 5 refers to the contents of the interrupt mask register 7 and interrupt request signal 10
Determine the priority of 5. An interrupt request to the microprocessor 14 passes through the control logic 3 and an interrupt (IN
T) Signaled by signal 101.

【0005】次に、マイクロプロセッサ14は割込み信
号(INT)101を受信し割込みを受け付けてもよい
と判断すると、割込みアクノリッジ(INTA)信号1
02を制御ロジック3に出力する。この割込みアクノリ
ッジ(INTA)信号102を受け取ると、制御ロジッ
ク3は割込みルーチンアドレス発生ロジック2に割込み
ルーチンアドレス発生信号106を出力する。割込みル
ーチンアドレス発生ロジック2は最も優先度の高い割込
みのルーチンアドレス107を内部データバス12と、
データバスバッファ10を経由したデータバス13とに
出力する。この時、該当する割込み要求レジスタ4がク
リアされ、該当する割込みサービスレジスタ6をセット
する。
Next, when the microprocessor 14 receives the interrupt signal (INT) 101 and determines that the interrupt may be accepted, the interrupt acknowledge (INTA) signal 1
02 is output to the control logic 3. Upon receiving the interrupt acknowledge (INTA) signal 102, the control logic 3 outputs the interrupt routine address generation signal 106 to the interrupt routine address generation logic 2. The interrupt routine address generation logic 2 uses the routine address 107 of the highest priority interrupt as the internal data bus 12.
The data is output to the data bus 13 via the data bus buffer 10. At this time, the corresponding interrupt request register 4 is cleared and the corresponding interrupt service register 6 is set.

【0006】一方、マイクロプロセッサ14はデータバ
ス13より割込みルーチンアドレス107を取り込み、
割込み処理を行う。このマイクロプロセッサ14での割
込み処理が終了すると、マイクロプロセッサ14は外部
装置に対し割込み終了データを通知する。これにより、
該当する割込みサービスレジスタ6がクリアされる。ま
た、この時までに割込み要求信号105はインアクティ
ブにする必要がある。
On the other hand, the microprocessor 14 fetches the interrupt routine address 107 from the data bus 13,
Performs interrupt processing. When the interrupt processing in the microprocessor 14 is completed, the microprocessor 14 notifies the external device of the interrupt end data. This allows
The corresponding interrupt service register 6 is cleared. Also, the interrupt request signal 105 must be inactive by this time.

【0007】更に、リード/ライトコントロール11は
マイクロプロセッサ14よりリード(RD)信号103
およびライト(WR)信号104を受信し、リードある
いはライトの制御を行うくが、割込み動作とは直接関係
ないので、説明を省略する。
Further, the read / write control 11 receives a read (RD) signal 103 from the microprocessor 14.
A read or write control is performed by receiving a write (WR) signal 104 and a write or write (WR) signal 104;

【0008】図9は図8に示す割込み制御装置の割込み
動作のタイミング図である。図9に示すように、まず割
込み要求信号105がアクティブになり割込み要求があ
ることを知らせると、割込み制御装置1aは割込み(I
NT)信号101をアクティブにしマイクロプロセッサ
14へ出力する。次に、マイクロプロセッサ14は割込
み(INT)信号101を受け付けた後、割込みアクノ
リッジ(INTA)信号102を返送する。この割込み
アクノリッジ信号102は2回のパルスが送出される。
FIG. 9 is a timing chart of the interrupt operation of the interrupt controller shown in FIG. As shown in FIG. 9, first, when the interrupt request signal 105 becomes active to notify that there is an interrupt request, the interrupt control device 1a causes the interrupt (I
NT) signal 101 is activated and output to the microprocessor 14. Next, the microprocessor 14 receives the interrupt (INT) signal 101 and then returns the interrupt acknowledge (INTA) signal 102. As the interrupt acknowledge signal 102, two pulses are transmitted.

【0009】一方、割込みルーチンアドレス107は割
込みアクノリッジ(INTA)信号102の2回目のパ
ルスに対応してデータバス13に出力される。しかる
後、マイクロプロセッサ14での割込み処理が終了する
と、マイクロプロセッサ14は外部装置に対し割込み終
了データを通知する。この時までに割込み要求信号10
5はインアクティブになっている必要がある。
On the other hand, the interrupt routine address 107 is output to the data bus 13 in response to the second pulse of the interrupt acknowledge (INTA) signal 102. Then, when the interrupt processing in the microprocessor 14 is completed, the microprocessor 14 notifies the external device of the interrupt end data. By this time interrupt request signal 10
5 must be inactive.

【0010】[0010]

【発明が解決しようとする課題】上述した従来の割込み
制御装置は、優先順位の高い割込み要求に対する処理が
終了した時、マイクロプロセッサからの割込み終了の通
知がある前に、この割込み要求をインアクティブにする
必要がある。そのため、かかる割込み要求に不具合が発
生し且つこの割込み要求がアクティブになったままのと
き、新たな割込み要求が発生したと判断して再び割込み
処理を開始する。その結果、優先順位の低い割込み要求
は、マイクロプロセッサからの命令により割込みマスク
レジスタの内容を変更しない限り、いつまでたっても受
け付けられないという欠点がある。
The above-mentioned conventional interrupt control device inactivates an interrupt request when the processing for the interrupt request with a high priority is completed and before the completion of the interrupt is notified from the microprocessor. Need to Therefore, when a defect occurs in the interrupt request and the interrupt request remains active, it is determined that a new interrupt request has occurred and the interrupt processing is restarted. As a result, a low priority interrupt request cannot be accepted forever unless the contents of the interrupt mask register are changed by an instruction from the microprocessor.

【0011】本発明の目的は、かかる優先度の高い割込
み要求が連続して発生したときでも、割込み禁止情報を
変更せずに優先度の低い割込み要求も受け付けられるよ
うにする割込み制御装置を提供することにある。
An object of the present invention is to provide an interrupt control device which can accept an interrupt request of a low priority without changing the interrupt prohibition information even when such interrupt requests of a high priority occur successively. To do.

【0012】[0012]

【課題を解決するための手段】本発明の割込み制御装置
は、複数の割込み要求を受け付けて優先順位を決定する
割込み禁止手段と、前記割込み要求の禁止情報を保持す
る手段と、マイクロプロセッサに割込み要求を通知する
手段と、割込みルーチンアドレスを発生して前記マイク
ロプロセッサに出力する手段と、前記マイクロプロセッ
サからの割込み終了信号を検知する手段と、前記割込み
終了検知手段の状態および前記割込み要求を禁止する手
段とを有して構成される。
SUMMARY OF THE INVENTION An interrupt control device of the present invention includes an interrupt prohibiting means for accepting a plurality of interrupt requests and determining a priority order, a means for holding prohibition information of the interrupt requests, and an interrupt for a microprocessor. A means for notifying a request, a means for generating an interrupt routine address and outputting it to the microprocessor, a means for detecting an interrupt end signal from the microprocessor, a state of the interrupt end detecting means and the interrupt request And means for doing so.

【0013】[0013]

【実施例】次に、本発明の実施例について図面を参照し
て説明する。図1は本発明の一実施例を示す割込み制御
装置のブロック図である。図1に示すように、本実施例
の割込み制御装置1は、外部装置からの割込み要求10
5の状態を保持するための割込み要求レジスタと、割込
み要求の禁止情報を保持するための割込みマスクレジス
タ7と、割込み要求の優先順位を決定するための優先決
定ロジック5と、割込み要求をマイクロプロセッサ14
に通知するための制御ロジック3と、割込みルーチンア
ドレスを発生するための割込みルーチンアドレス発生ロ
ジック2と、現在受け付けられている割込み要求を示す
ための割込みサービスレジスタ6と、マイクロプロセッ
サ14からの割込み終了を検知するための割込み終了検
知ロジック9と、この割込み終了検知ロジック9の状態
と割込み要求信号105および割込みサービスレジスタ
6からの情報により割込みマスクレジスタ7に書込むデ
ータを制御するための割込みマスクデータ制御ロジック
8と、データバスバッファ10と、リード/ライトコン
トロール11と、内部データバス12とを有している。
この割込み制御装置1は割込み(INT)信号101
と、割込みアクノリッジ(INTA)信号102と、リ
ート信号103およびライト信号104とをマイクロプ
ロセッサ14との間でやり取りし、データはデータバス
13により転送される。尚、割込み要求信号105は通
常複数本存在し、各々装置が接続されている。
Embodiments of the present invention will now be described with reference to the drawings. FIG. 1 is a block diagram of an interrupt control device showing an embodiment of the present invention. As shown in FIG. 1, the interrupt control device 1 of the present embodiment has an interrupt request 10 from an external device.
5, the interrupt request register for holding the state of 5, the interrupt mask register 7 for holding the prohibition information of the interrupt request, the priority determination logic 5 for determining the priority order of the interrupt request, and the microprocessor for the interrupt request. 14
Control logic 3 for notifying the user, interrupt routine address generation logic 2 for generating an interrupt routine address, interrupt service register 6 for indicating the currently accepted interrupt request, and interrupt termination from microprocessor 14. Interrupt detection logic 9 for detecting the interrupt, and interrupt mask data for controlling the data to be written in the interrupt mask register 7 according to the state of the interrupt end detection logic 9 and the information from the interrupt request signal 105 and the interrupt service register 6. It has a control logic 8, a data bus buffer 10, a read / write control 11, and an internal data bus 12.
This interrupt control device 1 uses an interrupt (INT) signal 101
And an interrupt acknowledge (INTA) signal 102, a REIT signal 103 and a write signal 104 are exchanged with the microprocessor 14, and data is transferred by the data bus 13. There are usually a plurality of interrupt request signals 105, each of which is connected to a device.

【0014】まず、各装置からの割込み要求が発生する
と、割込み要求信号105により割込み制御装置1の割
込み要求レジスタ4をセットする。このとき、複数の割
込み要求が発生した場合は優先決定ロジック5が割込み
マスクレジスタ7の内容を参照して割込み要求信号10
5の優先度を決定する。この優先決定ロジック5で優先
度が決定されると、制御ロジック3を駆動してマイクロ
プロセッサ14に対する割込み要求が行なわれる。すな
わち、制御ロジック3は割込み(INT)信号101に
よって通知する。
First, when an interrupt request is issued from each device, the interrupt request signal 105 sets the interrupt request register 4 of the interrupt control device 1. At this time, when a plurality of interrupt requests are generated, the priority determination logic 5 refers to the contents of the interrupt mask register 7 and outputs the interrupt request signal 10
Determine the priority of 5. When the priority is determined by the priority determining logic 5, the control logic 3 is driven to make an interrupt request to the microprocessor 14. That is, the control logic 3 notifies by the interrupt (INT) signal 101.

【0015】次に、マイクロプロセッサ14は割込み信
号(INT)101を受け付けた後割込み制御装置1の
制御ロジック3に出力する。このマイクロプロセッサ1
4からの割込みアクノリッジ(INTA)信号102を
受け取ると、制御ロジック3は割込みルーチンアドレス
発生ロジック2に対し割込みルーチンアドレス発生信号
106を出力する。この割込みルーチンアドレス発生回
路2からは、最も優先度の高い割込みルーチンアドレス
107が内部データバス12と、データバスバッファ1
0を経由したデータバス13とに出力される。この時、
該当する割込み要求レジスタ4がクリアされ、該当する
割込みサービスレジスタ6がセットされる。一方、マイ
クロプロセッサ14はデータバス13より割込みレーチ
ンアドレス107を取り込み、割込み処理を実行する。
しかる後、マイクロプロセッサ14での割込み処理が終
了すると、マイクロプロセッサ14は外部装置に対し割
込み終了データを通知するとともに、該当する割込みサ
ービスレジスタ6をクリアさせる。これにより、割込み
終了検知ロジック9は割込み終了データをデコードして
割込み終了信号108と、割込み要求信号105と、割
込みサービスレジスタ6からの割込みサービス信号10
9とが入力される。
Next, the microprocessor 14 receives the interrupt signal (INT) 101 and then outputs it to the control logic 3 of the interrupt control device 1. This microprocessor 1
When receiving the interrupt acknowledge (INTA) signal 102 from the control logic 4, the control logic 3 outputs the interrupt routine address generation signal 106 to the interrupt routine address generation logic 2. From the interrupt routine address generation circuit 2, the interrupt routine address 107 having the highest priority is stored in the internal data bus 12 and the data bus buffer 1.
It is output to the data bus 13 via 0. At this time,
The corresponding interrupt request register 4 is cleared and the corresponding interrupt service register 6 is set. On the other hand, the microprocessor 14 fetches the interrupt latency address 107 from the data bus 13 and executes interrupt processing.
Thereafter, when the interrupt processing in the microprocessor 14 is completed, the microprocessor 14 notifies the external device of the interrupt end data and clears the corresponding interrupt service register 6. As a result, the interrupt end detection logic 9 decodes the interrupt end data to generate the interrupt end signal 108, the interrupt request signal 105, and the interrupt service signal 10 from the interrupt service register 6.
9 and are input.

【0016】図2は図1に示す割込みマスクデータ制御
ロジックの構成図である。図2に示すように、この割込
みマスクデータ制御装置8はアンド素子24〜26と、
ラッチ21〜23とにより構成される。いま、一つの割
込み要求信号105が受け付けられ、その後割込み終了
データが通知されたのにもかかわらず割込み要求信号1
05がアクティブのままであるとする。かかる場合に
は、該当する割込み要求のアンド素子24の出力信号が
アクティブになるとする。このため、割込み終了信号1
08に対応して該当するラッチ21にデータが保持さ
れ、割込みマスクデータ110が出力される。従って、
この割込みマスクデータ110は割込み終了信号108
に対応して割込みマスクレジスタ7に書込まれる。この
ため、割込み要求は割込み禁止となり、かかる割込み要
求よりも優先度の低い割込み要求を受け付けることが出
来るようになる。
FIG. 2 is a block diagram of the interrupt mask data control logic shown in FIG. As shown in FIG. 2, the interrupt mask data control device 8 includes AND elements 24 to 26,
And the latches 21 to 23. Now, although one interrupt request signal 105 is accepted and the interrupt end data is notified thereafter, the interrupt request signal 1
Suppose 05 remains active. In such a case, the output signal of the AND element 24 of the corresponding interrupt request is activated. Therefore, interrupt end signal 1
Data is held in the corresponding latch 21 corresponding to 08, and the interrupt mask data 110 is output. Therefore,
The interrupt mask data 110 is the interrupt end signal 108.
Is written in the interrupt mask register 7 in correspondence with. Therefore, the interrupt request is disabled, and the interrupt request having a lower priority than the interrupt request can be accepted.

【0017】図3は図1に示す割込み終了検知ロジック
の構成図である。図3に示すように、この割込み終了検
知ロジック9はEXNOR素子27〜29と、NAND
素子30とにより構成される。これらEXNOR素子2
7〜29には、内部データバス12からのデータと割込
み終了データとが入力され、その結果最終的にNAND
素子30より割込み終了信号108が出力される。
FIG. 3 is a block diagram of the interrupt end detection logic shown in FIG. As shown in FIG. 3, this interrupt end detection logic 9 includes EXNOR elements 27 to 29 and NAND.
And the element 30. These EXNOR elements 2
Data from the internal data bus 12 and interrupt end data are input to 7 to 29, and as a result, finally NAND
An interrupt end signal 108 is output from the element 30.

【0018】図4は図1および図2に示す割込みマスク
データ制御ロジックの動作タイミング図である。図4に
示すように、データバス13に割込み終了データが送ら
れてくると、割込み終了検知ロジック9で割込み終了信
号108をアクティブにする。ここで、割込み終了信号
108が送られできた時に割込みマスクデータ制御ロジ
ックに入力される割込み要求信号105がアクティブの
ままであったとする。しかるに、割込み終了信号108
と割込み要求信号105と割込みサービス信号109と
により、割込みマスクデータ制御ロジック8は割込みマ
スクデータ110を生成する。この割込みマスクデータ
110により割込みマスクレジスタ7を設定すれば、割
込み要求信号105がアクティブのままであったときに
この割込み要求をマスクするので、優先順位の低い割込
み要求でも受け付けることができる。
FIG. 4 is an operation timing chart of the interrupt mask data control logic shown in FIGS. As shown in FIG. 4, when the interrupt end data is sent to the data bus 13, the interrupt end detection logic 9 activates the interrupt end signal 108. Here, it is assumed that the interrupt request signal 105 input to the interrupt mask data control logic remains active when the interrupt end signal 108 can be sent. Therefore, the interrupt end signal 108
In response to the interrupt request signal 105 and the interrupt service signal 109, the interrupt mask data control logic 8 generates the interrupt mask data 110. If the interrupt mask register 7 is set by the interrupt mask data 110, the interrupt request is masked when the interrupt request signal 105 remains active, so that an interrupt request with a low priority can be accepted.

【0019】図5は本発明の他の実施例を説明するため
の割込み制御装置における割込みマスクデータ制御ロジ
ックの構成図である。図5に示すように、本実施例にお
ける割込みマスクデータ制御ロジック8は立上がり検出
回路31,33,35と、立下がり検出回路32,3
4,36と、これらの検出回路31,33,35の出力
および割込み要求信号105の論理積をとるアンド素子
24,25,26と、SRフリップフロップ37,3
8,39と、これらフリップフロップ37〜39の出力
を一時記憶するラッチ21,22,23とにより構成さ
れる。
FIG. 5 is a block diagram of an interrupt mask data control logic in an interrupt control device for explaining another embodiment of the present invention. As shown in FIG. 5, the interrupt mask data control logic 8 in this embodiment has the rising detection circuits 31, 33 and 35 and the falling detection circuits 32 and 3.
4, 36, AND elements 24, 25, 26 for logically ANDing outputs of these detection circuits 31, 33, 35 and the interrupt request signal 105, and SR flip-flops 37, 3
8, 39 and latches 21, 22, 23 for temporarily storing the outputs of these flip-flops 37-39.

【0020】まず、割込み要求信号105が発生し、割
込み制御装置1がマイクロプロセッサ14に対して割込
みルーチンアドレス107を出力するところまでは、前
述した一実施例と同じ動作である。この時、該当割込み
要求レジスタ4はクリアされ、該当する割込みサービス
レジスタ6はセットされるので、割込みマスクデータ制
御ロジック8のフリップフロップ37はセットされる。
しかる後、割込み終了データがマイクロプロセッサ14
から通知されたとき、該当する割込み要求信号105が
アクティブのままであると、かかるフリップフロップ3
0はセットされたままであるので、割込み終了信号10
8に同期して割込み要求信号105が禁止される。
First, the operation is the same as that of the above-described embodiment until the interrupt request signal 105 is generated and the interrupt control device 1 outputs the interrupt routine address 107 to the microprocessor 14. At this time, since the corresponding interrupt request register 4 is cleared and the corresponding interrupt service register 6 is set, the flip-flop 37 of the interrupt mask data control logic 8 is set.
Then, the interrupt end data is sent to the microprocessor 14
When the corresponding interrupt request signal 105 remains active when notified from the flip-flop 3
Since 0 remains set, the interrupt end signal 10
The interrupt request signal 105 is prohibited in synchronization with 8.

【0021】次に、割込み終了データがマイクロプロセ
ッサ14から通知される以前に、該当する割込み要求信
号105がインアクティブになったとする。この場合、
立下がり検出回路32,34,36で割込み要求信号1
05の立下がりを検知し、フリップフロップ37〜39
をリセットする。その後、該当する割込み要求信号10
5がインアクティブのままであれば、割込みマスクレジ
スタ7の内容は変更されず、通常の割込み制御を続け
る。また、該当する割込み要求信号105がもう一度ア
クティブになった時でも、フリップフロップ37はリセ
ットされたままであるので、該当する割込み要求は受け
付けられる。
Next, it is assumed that the corresponding interrupt request signal 105 becomes inactive before the interrupt end data is notified from the microprocessor 14. in this case,
Interrupt request signal 1 at the fall detection circuits 32, 34, 36
The falling edge of 05 is detected, and the flip-flops 37 to 39 are detected.
To reset. Then, the corresponding interrupt request signal 10
If 5 remains inactive, the contents of the interrupt mask register 7 are not changed and normal interrupt control is continued. Further, even when the corresponding interrupt request signal 105 becomes active again, the flip-flop 37 remains reset, so that the corresponding interrupt request is accepted.

【0022】このように、本実施例は一つの割込み要求
がアクティブになり且つ割込み制御装置1に受け付けら
れた後、マイクロプロセッサ14からの割込み終了の通
知を受ける以前にこの割込み要求が一度インアクティブ
になり、もう一度前記割込み要求が発生してアクティブ
になったときにでも、前記割込み要求を禁止することな
しに制御を続けることが出来るという利点を有する。
As described above, in this embodiment, after one interrupt request becomes active and is accepted by the interrupt controller 1, this interrupt request is once inactivated before the notification of the completion of the interrupt from the microprocessor 14. Therefore, even if the interrupt request is generated again and becomes active, the control can be continued without prohibiting the interrupt request.

【0023】図6は図5に示す割込みマスクデータ制御
ロジックにおける割込み要求信号が一度もインアクティ
ブにならなかったときの動作タイミング図である。図6
に示すように、割込み要求信号105がマイクロプロセ
ッサ14からの割込み終了データを受けるまでに一度も
インアクティブにならなかった場合は、割込みマスクデ
ータ110が出力される。
FIG. 6 is an operation timing chart when the interrupt request signal in the interrupt mask data control logic shown in FIG. 5 is never inactive. Figure 6
If the interrupt request signal 105 has never become inactive by the time the interrupt request signal 105 receives the interrupt end data from the microprocessor 14, the interrupt mask data 110 is output.

【0024】図7は図5に示す割込みマスクデータ制御
ロジックにおける割込み要求信号が一度インアクティブ
になったときの動作タイミング図である。図7に示すよ
うに、割込み要求信号105がマイクロプロセッサ14
からの割込み終了データを受けるまでに一度インアクテ
ィブになり、もう一度アクティブになった場合は、割込
みマスクデータ110が出力されない。尚、111は図
5におけるフリップフロップ37の出力である。
FIG. 7 is an operation timing chart when the interrupt request signal in the interrupt mask data control logic shown in FIG. 5 once becomes inactive. As shown in FIG. 7, the interrupt request signal 105 indicates that the microprocessor 14
When it becomes inactive once before receiving the interrupt end data from, and becomes active again, the interrupt mask data 110 is not output. Incidentally, 111 is the output of the flip-flop 37 in FIG.

【0025】[0025]

【発明の効果】以上説明したように、本発明の割込み制
御装置は、マイクロプロセッサからの割込み終了信号を
検知する割込み終了検知ロジックと、この割込み終了検
知ロジックの状態および割込み要求信号により割込み要
求を禁止する割込みマスクデータ制御ロジックとを有す
ることにより、優先度の高い割込み要求が連続して発生
したときでも、マイクロプロセッサの命令により、割込
み禁止情報を変更することなしに優先順位の低い割込み
要求を受け付けることができるという効果がある。
As described above, the interrupt control device of the present invention issues an interrupt request according to the interrupt end detection logic for detecting the interrupt end signal from the microprocessor and the state of the interrupt end detection logic and the interrupt request signal. By including the interrupt mask data control logic to prohibit, even when interrupt requests with high priority occur consecutively, low priority interrupt requests can be issued without changing the interrupt disable information by the instruction of the microprocessor. The effect is that it can be accepted.

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

【図1】本発明の一実施例を示す割込み制御装置のブロ
ック図である。
FIG. 1 is a block diagram of an interrupt control device showing an embodiment of the present invention.

【図2】図1に示す割込みマスクデータ制御ロジックの
構成図である。
FIG. 2 is a configuration diagram of an interrupt mask data control logic shown in FIG.

【図3】図1に示す割込み終了検知ロジックの構成図で
ある。
FIG. 3 is a configuration diagram of an interrupt end detection logic shown in FIG.

【図4】図1および図2に示す割込みマスクデータ制御
ロジックの動作タイミング図である。
4 is an operation timing diagram of the interrupt mask data control logic shown in FIGS. 1 and 2. FIG.

【図5】本発明の他の実施例を説明するための割込み制
御装置における割込みマスクデータ制御ロジッグの構成
図である。
FIG. 5 is a configuration diagram of an interrupt mask data control logic in an interrupt control device for explaining another embodiment of the present invention.

【図6】図5に示す割込みマスクデータ制御ロジックに
おける割込み要求信号が一度もインアクティブになるな
かったときのタイミング図である。
FIG. 6 is a timing diagram when the interrupt request signal in the interrupt mask data control logic shown in FIG. 5 is never inactive.

【図7】図5に示す割込みマスクデータ制御ロジックに
おける割込み要求信号が一度インアクティブになったと
きの動作タイミング図である。
7 is an operation timing chart when the interrupt request signal in the interrupt mask data control logic shown in FIG. 5 once becomes inactive.

【図8】従来の一例を示す割込み制御装置のブロック図
である。
FIG. 8 is a block diagram of an interrupt control device showing a conventional example.

【図9】図8に示す割込み制御装置の動作タイミング図
である。
9 is an operation timing chart of the interrupt control device shown in FIG.

【符号の説明】[Explanation of symbols]

1 割込み制御装置 2 割込みルーチンアドレス発生ロジック 3 制御ロジック 4 割込み要求レジスタ 5 優先決定ロジック 6 割込みサービスレジスタ 7 割込みマスクレジスタ 8 割込みマスクデータ制御ロジック 9 割込み終了検知ロジック 12 内部データバス 13 データバス 21〜23 ラッチ 24〜26 アンド素子 27〜29 EXNOR素子 30 ナンド素子 31,33,35 立上がり検出回路 32,34,36 立下がり検出回路 37〜39 フリップフロップ 101 割込み(INT)信号 105 割込み要求信号 106 割込みルーチンアドレス発生信号 107 割込みルーチンアドレス 108 割込み終了信号 109 割込みサービス信号 110 割込みマスクデータ 1 Interrupt Control Device 2 Interrupt Routine Address Generation Logic 3 Control Logic 4 Interrupt Request Register 5 Priority Determination Logic 6 Interrupt Service Register 7 Interrupt Mask Register 8 Interrupt Mask Data Control Logic 9 Interrupt End Detection Logic 12 Internal Data Bus 13 Data Bus 21-23 Latch 24-26 AND element 27-29 EXNOR element 30 NAND element 31, 33, 35 Rise detection circuit 32, 34, 36 Fall detection circuit 37-39 Flip-flop 101 Interrupt (INT) signal 105 Interrupt request signal 106 Interrupt routine address Generation signal 107 Interrupt routine address 108 Interrupt end signal 109 Interrupt service signal 110 Interrupt mask data

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 複数の割込み要求を受け付けて優先順位
を決定する手段と、前記割込み要求の禁止情報を保持す
る手段と、マイクロプロセッサに割込み要求を通知する
手段と、割込みルーチンアドレスを発生して前記マイク
ロプロセッサに出力する手段と、前記マイクロプロセッ
サからの割込み終了信号を検知する手段と、前記割込み
終了検知手段の状態および前記割込み要求を禁止する割
込み禁止手段とを有することを特徴とする割込み制御装
置。
1. A means for receiving a plurality of interrupt requests to determine a priority order, a means for holding prohibition information of the interrupt requests, a means for notifying the microprocessor of the interrupt requests, and an interrupt routine address for generating the interrupt requests. An interrupt control characterized by having means for outputting to the microprocessor, means for detecting an interrupt end signal from the microprocessor, and an interrupt prohibiting means for prohibiting the state of the interrupt end detecting means and the interrupt request. apparatus.
JP4233202A 1992-09-01 1992-09-01 Interrupt control device Expired - Lifetime JP2988139B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4233202A JP2988139B2 (en) 1992-09-01 1992-09-01 Interrupt control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4233202A JP2988139B2 (en) 1992-09-01 1992-09-01 Interrupt control device

Publications (2)

Publication Number Publication Date
JPH0683642A true JPH0683642A (en) 1994-03-25
JP2988139B2 JP2988139B2 (en) 1999-12-06

Family

ID=16951354

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4233202A Expired - Lifetime JP2988139B2 (en) 1992-09-01 1992-09-01 Interrupt control device

Country Status (1)

Country Link
JP (1) JP2988139B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010512577A (en) * 2006-12-06 2010-04-22 マイクロソフト コーポレーション Optimized interrupt transmission in a virtual environment

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010512577A (en) * 2006-12-06 2010-04-22 マイクロソフト コーポレーション Optimized interrupt transmission in a virtual environment
JP4882005B2 (en) * 2006-12-06 2012-02-22 マイクロソフト コーポレーション Optimized interrupt transmission in a virtual environment

Also Published As

Publication number Publication date
JP2988139B2 (en) 1999-12-06

Similar Documents

Publication Publication Date Title
US4271466A (en) Direct memory access control system with byte/word control of data bus
RU2137182C1 (en) Execution of data processing instruction
JPH0743653B2 (en) Interrupt controller
US7783817B2 (en) Method and apparatus for conditional broadcast of barrier operations
US5815733A (en) System for handling interrupts in a computer system using asic reset input line coupled to set of status circuits for presetting values in the status circuits
JP2661222B2 (en) Pulse output device
US6272583B1 (en) Microprocessor having built-in DRAM and internal data transfer paths wider and faster than independent external transfer paths
US7181559B2 (en) Message based transport mechanism for level sensitive interrupts
EP0462622B1 (en) Microprocessor capable of ensuring flexible recovery time for I/O device
JPH0683642A (en) Interruption controller
KR100223096B1 (en) Method and apparatus for observing internal memory-mapped registers
JP2679440B2 (en) Information processing device
JPH064398A (en) Information processor
JP2685289B2 (en) Write enable signal check method
JPH09146662A (en) Suspend/resume method and computer system
JPH09167117A (en) Microcomputer and real time system using the microcomputer
JP3597744B2 (en) Interrupt factor signal flag register device
JP2009301116A (en) Interruption device and interruption system equipped with the same
JP2002312072A (en) Information processing device and add-in board reset method
JPH02302855A (en) Memory control system
JPH0764856A (en) Memory access control circuit
JPH06250943A (en) Bus adapter device
JPH09330294A (en) Lsi controller
JPH06324956A (en) Data processor
JPS63261451A (en) Multiport memory controller

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 19990907