JPH04352057A - Interruption information circuit - Google Patents

Interruption information circuit

Info

Publication number
JPH04352057A
JPH04352057A JP15403491A JP15403491A JPH04352057A JP H04352057 A JPH04352057 A JP H04352057A JP 15403491 A JP15403491 A JP 15403491A JP 15403491 A JP15403491 A JP 15403491A JP H04352057 A JPH04352057 A JP H04352057A
Authority
JP
Japan
Prior art keywords
interrupt
cpu
signal
circuit
interrupt request
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
JP15403491A
Other languages
Japanese (ja)
Inventor
Yoshiyuki Mihashi
三橋 嘉之
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 JP15403491A priority Critical patent/JPH04352057A/en
Publication of JPH04352057A publication Critical patent/JPH04352057A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To make it possible to surely execute the whole interrupting processing even when the generation of plural kinds of interruption requests generated at optional timing is informed to a CPU through one signal line. CONSTITUTION:This interruption informing circuit is provided with an OR circuit 3 to be an informing circuit for informing the generation of plural kinds of interruption requests generated at optional timing through one signal line, flip-flops(FFs) 11 to 13 to be storing circuits for storing the contents of the kinds of the generated interruption requests and a gate circuit 10 to be a sending circuit for sending the contents of the FFs 11 to 13 to the CPU in response to an interruption receiving signal 8 outputted from the CPU. Since plural interruption requests are informed through one signal line, the number of signal lines is not increased and the system can be compacted.

Description

【発明の詳細な説明】[Detailed description of the invention]

【0001】0001

【技術分野】本発明は割込み通知回路に関し、特にマイ
クロコンピュータシステムにおける割込み通知回路に関
する。
TECHNICAL FIELD The present invention relates to an interrupt notification circuit, and more particularly to an interrupt notification circuit in a microcomputer system.

【0002】0002

【従来技術】マイクロコンピュータシステムにおいては
、優先度の高い処理はCPUへの割込みによって処理す
ることが一般的である。CPUには割込み要求入力と割
込み受付出力とがあり、処理要求が発生するとCPUに
対して割込み信号が発生し、CPUで受付けられると割
込み受付出力がCPUより出力され割込み信号がクリア
される。
2. Description of the Related Art In microcomputer systems, high priority processing is generally processed by interrupting the CPU. The CPU has an interrupt request input and an interrupt acceptance output, and when a processing request occurs, an interrupt signal is generated to the CPU, and when accepted by the CPU, an interrupt acceptance output is output from the CPU and the interrupt signal is cleared.

【0003】従来、その割込み信号をCPUに通知する
場合、複数本の信号線で通知していたため、システムの
小型化の妨げとなっていた。これを解決するため、一本
の信号線で通知する方式が考えられる。
Conventionally, when notifying the CPU of the interrupt signal, multiple signal lines were used to notify the CPU, which hindered miniaturization of the system. To solve this problem, a method of notification using a single signal line can be considered.

【0004】しかし、マイクロコンピュータシステムに
おける割込み処理おいて、複数の割込み要因をまとめて
一本の割込み信号線で通知する場合、割込みがCPUに
対して非同期に発生するためある要因での割込みに対す
る割込み受付信号と他の要因での割込み要求とがほぼ同
時に発生した場合、後から発生した割込み要求が処理さ
れないことが起こるという欠点があった。
However, in interrupt processing in a microcomputer system, when multiple interrupt factors are notified together via a single interrupt signal line, the interrupts occur asynchronously with respect to the CPU. There is a drawback that when an acceptance signal and an interrupt request due to other factors occur almost simultaneously, the interrupt request that occurs later may not be processed.

【0005】[0005]

【発明の目的】本発明は上述した従来の欠点を解決する
ためになされたものであり、その目的は一本の割込み信
号線でCPUに通知しても、確実に全割込み処理を行う
ことができる割込み通知回路を提供することである。
[Object of the Invention] The present invention has been made to solve the above-mentioned conventional drawbacks, and its purpose is to ensure that all interrupts are processed even if the CPU is notified through a single interrupt signal line. An object of the present invention is to provide an interrupt notification circuit that can perform interrupt notifications.

【0006】[0006]

【発明の構成】本発明による割込み通知回路は、任意の
タイミングで発生する複数種類の割込み要求の発生の旨
を一本の信号線でCPUに通知する通知回路と、発生し
た割込み要求の種類の内容を保持する保持回路と、前記
通知回路による通知に応答してCPUから出力される割
込み受付信号に応答して前記保持回路の内容をCPUに
送出する送出回路とを有することを特徴とする。
SUMMARY OF THE INVENTION The interrupt notification circuit according to the present invention includes a notification circuit that notifies a CPU of the occurrence of multiple types of interrupt requests that occur at arbitrary timing, and a notification circuit that notifies the CPU of the occurrence of multiple types of interrupt requests that occur at arbitrary timings, and The present invention is characterized by comprising a holding circuit that holds contents, and a sending circuit that sends out the contents of the holding circuit to the CPU in response to an interrupt acceptance signal output from the CPU in response to a notification from the notification circuit.

【0007】[0007]

【実施例】次に、本発明について図面を参照して説明す
る。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Next, the present invention will be explained with reference to the drawings.

【0008】図1は本発明による割込み通知回路の一実
施例の構成を示すブロック図である。図において、本発
明の一実施例による割込み通知回路は、3種類の割込み
要求トリガ信号51〜53を入力とし、これらを一本の
信号線で図示せぬCPUに通知するものである。
FIG. 1 is a block diagram showing the configuration of an embodiment of an interrupt notification circuit according to the present invention. In the figure, an interrupt notification circuit according to an embodiment of the present invention receives three types of interrupt request trigger signals 51 to 53 as input and notifies them to a CPU (not shown) through a single signal line.

【0009】割込み要求フリップフロップ(以下、割込
み要求F/Fと略する)11,12及び13は、各々対
応する割込みトリガ信号51〜53を保持するものであ
る。そして、その出力である各割込み要求信号61〜6
3は、オア回路3によってまとめられ、一本の信号線に
よりCPUに通知される。
Interrupt request flip-flops (hereinafter abbreviated as interrupt request F/F) 11, 12, and 13 hold corresponding interrupt trigger signals 51 to 53, respectively. And each interrupt request signal 61 to 6 which is the output
3 are put together by the OR circuit 3 and notified to the CPU through a single signal line.

【0010】また、割込み要求ラッチレジスタ2はCP
Uからの割込み受付信号8の立上りタイミングで割込み
要求信号61〜63を保持し、その値を、ゲート回路1
0を介してCPUのデータバスに送出する他、ナンド回
路41〜43に入力せしめるものである。
[0010] Also, the interrupt request latch register 2 is CP
The interrupt request signals 61 to 63 are held at the rising timing of the interrupt acceptance signal 8 from U, and the values are sent to the gate circuit 1.
In addition to being sent to the data bus of the CPU via 0, it is also input to NAND circuits 41-43.

【0011】ナンド回路41〜43は、各ナンド条件が
成立すると、対応する割込み要求F/Fの初期化を行う
回路である。
The NAND circuits 41 to 43 are circuits that initialize the corresponding interrupt request F/F when each NAND condition is satisfied.

【0012】ゲート回路10は、イネーブル端子ENを
有し、このイネーブル端子への入力がローレベルになる
とイネーブル状態となってラッチレジスタ2の内容をC
PUのデータバスへ送出する回路である。なお、80は
インバータである。
The gate circuit 10 has an enable terminal EN, and when the input to this enable terminal becomes low level, the gate circuit 10 enters the enabled state and transfers the contents of the latch register 2 to C.
This is a circuit that sends data to the PU data bus. Note that 80 is an inverter.

【0013】かかる構成において、割込み要求トリガ信
号51〜53は、割込み要因が発生すると夫々オンにな
り、これをトリガとして対応する割込み要求F/F11
〜13の出力である割込み要求信号61〜63がハイレ
ベルなる。各割込み要求信号6はオア回路3で論理和が
とられ、一本にまとめられて割込み信号7としてCPU
に通知される。図示せぬCPUは割込み要求信号7を受
付けると割込み受付信号8を出力する。割込み受付信号
8は通常パルスであり、この場合もハイレベルのパルス
とする。
In this configuration, the interrupt request trigger signals 51 to 53 are respectively turned on when an interrupt factor occurs, and this is used as a trigger to trigger the corresponding interrupt request F/F 11.
Interrupt request signals 61 to 63, which are the outputs of signals 1 to 13, become high level. Each interrupt request signal 6 is logically summed by an OR circuit 3, and is combined into one signal as an interrupt signal 7 to be sent to the CPU.
will be notified. When a CPU (not shown) receives the interrupt request signal 7, it outputs an interrupt acceptance signal 8. The interrupt acceptance signal 8 is normally a pulse, and in this case also is a high level pulse.

【0014】割込み要求ラッチレジスタ2は割込み受付
信号8の立上りタイミングで、その時点の各割込み要求
信号61〜63をラッチする。ラッチされた信号は割込
み受付信号8と夫々ナンドがとられ、その出力が各割込
み要求F/F11〜13のクリア端子に入力される。割
込み要求信号がオンとなっている割込み要求F/F11
〜13は、割込み要求ラッチレジスタ2の出力と割込み
受付信号8とのナンド出力がローレベルになるため、こ
の信号により割込み要求F/Fが初期化され、割込み要
求信号6はオフになる。割込み受付信号8が入力された
時点で割込み要求信号6がオフである割込み要求F/F
に対しては初期化信号はオフのままであるため初期化さ
れることはない。割込み受付信号8がオンとなっている
間に発生した割込み要求は正常に割込み信号7として出
力される。
The interrupt request latch register 2 latches each of the interrupt request signals 61 to 63 at the rising timing of the interrupt acceptance signal 8. The latched signals are NANDed with the interrupt acceptance signal 8, and their outputs are input to the clear terminals of the interrupt request F/Fs 11-13. Interrupt request F/F11 whose interrupt request signal is on
13, since the NAND output of the interrupt request latch register 2 and the interrupt acceptance signal 8 becomes low level, the interrupt request F/F is initialized by this signal and the interrupt request signal 6 is turned off. Interrupt request F/F where interrupt request signal 6 is off at the time when interrupt acceptance signal 8 is input
Since the initialization signal remains off for , it is not initialized. An interrupt request that occurs while the interrupt acceptance signal 8 is on is normally output as an interrupt signal 7.

【0015】次に、図2のタイムチャートを用いて図1
の回路の動作をより詳細に説明する。図2には、図1の
回路の各部の信号である割込み要求トリガ信号51〜5
3と、割込み要求信号61〜63と、CPUへの割込み
信号7と、CPUからの割込み受付信号8と、割込み要
求ラッチレジスタ2の出力91〜93と、ナンド回路4
1〜43の出力の出力410 〜430 と、CPUの
データバスの値とが示されている。
Next, using the time chart of FIG.
The operation of the circuit will be explained in more detail. FIG. 2 shows interrupt request trigger signals 51 to 5, which are signals of each part of the circuit in FIG.
3, interrupt request signals 61 to 63, interrupt signal 7 to the CPU, interrupt acceptance signal 8 from the CPU, outputs 91 to 93 of the interrupt request latch register 2, and the NAND circuit 4.
The outputs 410 to 430 of the outputs 1 to 43 and the values of the data bus of the CPU are shown.

【0016】まず最初に、割込み要求トリガ信号51の
入力後に割込み要求トリガ信号53が入力された場合に
は以下の動作となる。
First, when the interrupt request trigger signal 53 is input after the interrupt request trigger signal 51 is input, the following operation occurs.

【0017】すなわち、割込み要求トリガ信号51が入
力されると、これに応答して割込み要求F/F11の出
力である割込み要求信号61がハイレベルになり、割込
み信号7としてCPUに通知される(■)。この通知に
応答してCPUから割込み受付信号8が入力されると割
込み要求ラッチレジスタ2の出力91がハイレベルにな
ると共に、ナンド条件が成立して出力410 がローレ
ベルになり、割込み信号7はローレベルになる(■)。
That is, when the interrupt request trigger signal 51 is input, in response, the interrupt request signal 61 which is the output of the interrupt request F/F 11 becomes high level, and is notified to the CPU as the interrupt signal 7 ( ■). When the interrupt acceptance signal 8 is input from the CPU in response to this notification, the output 91 of the interrupt request latch register 2 becomes high level, the NAND condition is satisfied, the output 410 becomes low level, and the interrupt signal 7 becomes The level becomes low (■).

【0018】この出力410 がローレベルの状態にお
いてデータバスには、出力91〜93の内容、すなわち
順に、オン、オフ、オフがCPUに通知される。これに
より、CPUは割込み要求の内容を認識できることとな
る。
When the output 410 is at a low level, the contents of the outputs 91 to 93, that is, ON, OFF, OFF, are notified to the CPU on the data bus. This allows the CPU to recognize the contents of the interrupt request.

【0019】その出力410 がローレベルの最中に割
込み要求トリガ信号53が入力されると、これに応答し
て割込み要求F/F13の出力である割込み要求信号6
3がハイレベルになり、割込み信号7としてCPUに通
知される(■)。この通知に応答してCPUから割込み
受付信号8が入力されると、ナンド条件が成立して出力
430 がローレベルになり、割込み信号7はローレベ
ルになる(■)。
When the interrupt request trigger signal 53 is input while the output 410 is at a low level, in response, the interrupt request signal 6 which is the output of the interrupt request F/F 13 is input.
3 becomes high level and is notified to the CPU as an interrupt signal 7 (■). When the interrupt acceptance signal 8 is input from the CPU in response to this notification, the NAND condition is satisfied, the output 430 becomes low level, and the interrupt signal 7 becomes low level (■).

【0020】この出力430 がローレベルの状態にお
いてデータバスには、出力91〜93の内容、すなわち
順に、オフ、オフ、オンがCPUに通知される。これに
より、CPUは割込み要求の種類の内容を認識できるこ
ととなる。
When the output 430 is at a low level, the CPU is notified of the contents of the outputs 91 to 93, that is, off, off, and on in this order, on the data bus. This allows the CPU to recognize the content of the type of interrupt request.

【0021】次に、割込み要求トリガ信号51と52と
がほぼ同時に入力された場合には以下の動作となる。
Next, when the interrupt request trigger signals 51 and 52 are input almost simultaneously, the following operation occurs.

【0022】すなわち、割込み要求トリガ信号51が入
力されると、これに応答して割込み要求F/F11の出
力である割込み要求信号61がハイレベルになり、割込
み信号7としてCPUに通知される(■)。また、その
直後に割込み要求トリガ信号52が入力されると、これ
に応答して割込み要求F/F12の出力である割込み要
求信号62もハイレベルになる(■)。この場合、すで
に割込み信号7としてCPUに通知されており、割込み
信号7はハイレベルのままである。
That is, when the interrupt request trigger signal 51 is input, the interrupt request signal 61 which is the output of the interrupt request F/F 11 becomes high level in response, and is notified to the CPU as the interrupt signal 7 ( ■). Further, when the interrupt request trigger signal 52 is input immediately after that, the interrupt request signal 62 which is the output of the interrupt request F/F 12 also becomes high level (■) in response. In this case, the CPU has already been notified as the interrupt signal 7, and the interrupt signal 7 remains at a high level.

【0023】割込み信号7の通知に応答してCPUから
割込み受付信号8が入力されると、割込み要求ラッチレ
ジスタ2の出力91及び92がハイレベルになると共に
、ナンド条件が成立して出力410 及び420 がロ
ーレベルになり、割込み信号7はローレベルになる(■
)。
When the interrupt acceptance signal 8 is input from the CPU in response to the notification of the interrupt signal 7, the outputs 91 and 92 of the interrupt request latch register 2 become high level, and the NAND condition is satisfied, so that the outputs 410 and 420 becomes low level, and interrupt signal 7 becomes low level (■
).

【0024】この出力410 及び420 がローレベ
ルの状態においてデータバスには、出力91〜93の内
容、すなわち順に、オン、オン、オフがCPUに通知さ
れる。これにより、CPUは割込み要求の種類の内容を
認識できることとなる。
When the outputs 410 and 420 are at a low level, the contents of the outputs 91 to 93, that is, ON, ON, OFF, are notified to the CPU on the data bus. This allows the CPU to recognize the content of the type of interrupt request.

【0025】以上のように、複数種類の割込み要求がど
のようなタイミングで発生しても、その発生の旨を一本
の信号線でCPUに通知できると共に、その内容を通知
することができるのである。さらに、CPUにもともと
設けられているデータバスを利用して割込み要求の内容
を通知するため、信号線の本数が増加せずに済むのであ
る。
As described above, no matter what timing multiple types of interrupt requests occur, it is possible to notify the CPU of the occurrence through a single signal line, and also to notify the contents. be. Furthermore, since the content of the interrupt request is notified using the data bus originally provided in the CPU, there is no need to increase the number of signal lines.

【0026】なお、本実施例においては、割込み要求が
3種類の場合について説明したが、更に多くの種類の場
合についても同様に構成すれば、同様の効果が得られる
ことは明らかである。
Although the present embodiment has been described for the case where there are three types of interrupt requests, it is clear that the same effect can be obtained if the same configuration is applied to cases where there are more types of interrupt requests.

【0027】[0027]

【発明の効果】以上説明したように本発明は、任意のタ
イミングで発生する割込み要求の発生の旨を一本の信号
線で通知すると共に、CPUからの受付信号に応答して
割込み要求の種類の内容をCPUに送出することにより
、確実に全割込み処理を行うことができる他、マイクロ
プロセッサシステムの小型化が図れるという効果がある
As explained above, the present invention notifies the occurrence of an interrupt request that occurs at an arbitrary timing through a single signal line, and also detects the type of interrupt request in response to an acceptance signal from the CPU. By sending the contents to the CPU, not only can all interrupts be processed reliably, but also the microprocessor system can be made smaller.

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

【図1】本発明の実施例による割込み通知回路の構成を
示すブロック図である。
FIG. 1 is a block diagram showing the configuration of an interrupt notification circuit according to an embodiment of the present invention.

【図2】図1の各部の動作を示すタイムチャートである
FIG. 2 is a time chart showing the operation of each part in FIG. 1;

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

2  割込み要求ラッチレジスタ 3  オア回路 10  ゲート回路 11,12,13  割込み要求フリップフロップ41
,42,43  ナンド回路
2 Interrupt request latch register 3 OR circuit 10 Gate circuits 11, 12, 13 Interrupt request flip-flop 41
,42,43 NAND circuit

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】  任意のタイミングで発生する複数種類
の割込み要求の発生の旨を一本の信号線でCPUに通知
する通知回路と、発生した割込み要求の種類の内容を保
持する保持回路と、前記通知回路による通知に応答して
CPUから出力される割込み受付信号に応答して前記保
持回路の内容をCPUに送出する送出回路とを有するこ
とを特徴とする割込み通知回路。
1. A notification circuit that notifies a CPU through a single signal line of the occurrence of multiple types of interrupt requests that occur at arbitrary timing, and a holding circuit that holds the contents of the types of interrupt requests that have occurred. An interrupt notification circuit comprising: a sending circuit that sends the contents of the holding circuit to the CPU in response to an interrupt acceptance signal output from the CPU in response to the notification by the notification circuit.
JP15403491A 1991-05-29 1991-05-29 Interruption information circuit Pending JPH04352057A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP15403491A JPH04352057A (en) 1991-05-29 1991-05-29 Interruption information circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP15403491A JPH04352057A (en) 1991-05-29 1991-05-29 Interruption information circuit

Publications (1)

Publication Number Publication Date
JPH04352057A true JPH04352057A (en) 1992-12-07

Family

ID=15575467

Family Applications (1)

Application Number Title Priority Date Filing Date
JP15403491A Pending JPH04352057A (en) 1991-05-29 1991-05-29 Interruption information circuit

Country Status (1)

Country Link
JP (1) JPH04352057A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010277158A (en) * 2009-05-26 2010-12-09 Fujitsu Semiconductor Ltd Interrupt notification control device and semiconductor integrated circuit

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010277158A (en) * 2009-05-26 2010-12-09 Fujitsu Semiconductor Ltd Interrupt notification control device and semiconductor integrated circuit

Similar Documents

Publication Publication Date Title
EP0199221B1 (en) Noise resistant interrupt circuits
EP0786726A2 (en) Interrupt sharing technique for PCMCIA cards
US5519877A (en) Apparatus for synchronizing parallel processing among a plurality of processors
EP1002277B1 (en) Shared interrupt processing in a data processing system
US5578953A (en) Self-resetting status register
JPH04352057A (en) Interruption information circuit
US5584028A (en) Method and device for processing multiple, asynchronous interrupt signals
GB1570206A (en) Data processing system
KR100186220B1 (en) Rupture/mounting detection circuit of board in hardware module
JP2988139B2 (en) Interrupt control device
JPH064301A (en) Time division interruption control system
KR100214327B1 (en) Interrupt circuit
KR950014185B1 (en) Interript processing apparatus for multi trouble source system
JPS5812036A (en) Data transfer system
JPH10326194A (en) Interruption control system
JPH0744399A (en) Interruption control circuit
JPH0934727A (en) Interruption control system
JPS6019532B2 (en) Error detection control method
JPH0693226B2 (en) Interrupt reporting device
JP2842639B2 (en) Data transfer method
JP2655585B2 (en) Data bus control circuit for semiconductor integrated circuit
JPH09218848A (en) Daisy chain system for bus interface
JPS6160010A (en) Priority circuit for advanced signal
JPS6152752A (en) Fault display circuit
JPS6246017B2 (en)