JPH04170645A - Interrupt request input circuit of interrupt arbiter - Google Patents
Interrupt request input circuit of interrupt arbiterInfo
- Publication number
- JPH04170645A JPH04170645A JP29915190A JP29915190A JPH04170645A JP H04170645 A JPH04170645 A JP H04170645A JP 29915190 A JP29915190 A JP 29915190A JP 29915190 A JP29915190 A JP 29915190A JP H04170645 A JPH04170645 A JP H04170645A
- Authority
- JP
- Japan
- Prior art keywords
- interrupt
- request
- input
- interruption
- level
- 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
Links
- 230000000630 rising effect Effects 0.000 claims description 8
- 238000010586 diagram Methods 0.000 description 3
- 238000000034 method Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 1
- 238000005070 sampling Methods 0.000 description 1
Abstract
Description
本発明は外部からの割込要求に基づいてCPUに割込処
理要求を与えるエツジ入力型の割込調停器に割込要求を
入力する回路、
特に構成や操作を簡易化することができる割込調停器の
割込要求入力回路に関する。
なお以下各図において同一の符号は同一もしくは相当部
分を示す。The present invention relates to a circuit that inputs an interrupt request to an edge input type interrupt arbiter that provides an interrupt processing request to the CPU based on an external interrupt request, and particularly an interrupt that can simplify the configuration and operation. This invention relates to an interrupt request input circuit for an arbiter. Note that in the following figures, the same reference numerals indicate the same or corresponding parts.
第3図はこの種の割込要求入力回路の構成例を示す。同
図において2はCPU、1はエツジ入力型の割込調停器
、3はD型フリップフロップである。また第4図は第3
図の要部動作説明用のタイムチャートである。
この種のエツジ入力型の割込調停器1は割込要求入力と
しての調停器入力割込要求11の立上がりエツジを検出
することにより、CPU2に対して割込処理要求14を
行う。このときの調停器入力割込要求11は、CP U
2がらの割込受付応答信号15が返ってくるまで保持し
、割込処理要求14を安定に保つことが必要であり、応
答以前に要求11を落としてしまうと正しい割込は受付
られない。このため第3図、第4図に示す通り、外部か
らの割込要求13を一旦り型フリップフロップ3に人力
し、このフリップフロップ3にサンプリング・クロンク
34を与えて割込要求13をランチし、このようにラッ
チした調停器入力割込要求11を割込調停器1に入力し
、またC P U2からの割込応答信号15を割込調停
器1へ返して割込処理要求1・4をリセットするほかに
、この応答信号15をフリップフロップ3にも与えてラ
ッチした割込要求11をクリアすることにより、正しい
割込シーケンスを形成していた。FIG. 3 shows an example of the configuration of this type of interrupt request input circuit. In the figure, 2 is a CPU, 1 is an edge input type interrupt arbiter, and 3 is a D-type flip-flop. Also, Figure 4 shows the 3rd
It is a time chart for explaining the operation of the main part of the figure. This type of edge input type interrupt arbiter 1 issues an interrupt processing request 14 to the CPU 2 by detecting a rising edge of an arbiter input interrupt request 11 as an interrupt request input. The arbiter input interrupt request 11 at this time is
It is necessary to keep the interrupt processing request 14 stable by holding it until the two-part interrupt acceptance response signal 15 is returned, and if the request 11 is dropped before responding, the correct interrupt will not be accepted. For this reason, as shown in FIGS. 3 and 4, the interrupt request 13 from the outside is temporarily input to the type flip-flop 3, and the sampling clock 34 is applied to this flip-flop 3 to launch the interrupt request 13. The arbiter input interrupt request 11 latched in this way is input to the interrupt arbiter 1, and the interrupt response signal 15 from the CPU 2 is returned to the interrupt arbiter 1 to process interrupt processing requests 1 and 4. In addition to resetting the response signal 15, the response signal 15 is also applied to the flip-flop 3 to clear the latched interrupt request 11, thereby forming a correct interrupt sequence.
上述したように従来の割込入力方法では正しい割込受付
シーケンスを作るため、第4図中の調停器入力割込要求
1量の立上がりエツジ■とCPU2からの割込受付応答
信号15の立上がりエツジ■が返るまでの間、ラッチさ
れた割込要求11のアクティブ状態■の保持が規程され
ており、この条件を満足するために第3図のD型フリッ
プフロップ3の付加回路が必要であった。そこで本発明
では、この付加回路を簡略化することができる割込調停
器の割込要求入力回路を提供することを課題とする。As mentioned above, in the conventional interrupt input method, in order to create a correct interrupt acceptance sequence, the rising edge of the arbiter input interrupt request 1 quantity and the rising edge of the interrupt acceptance response signal 15 from the CPU 2 in FIG. It is stipulated that the latched interrupt request 11 is kept in the active state (■) until the return of (■), and in order to satisfy this condition, an additional circuit of the D-type flip-flop 3 shown in FIG. 3 was required. . Therefore, it is an object of the present invention to provide an interrupt request input circuit for an interrupt arbitrator that can simplify this additional circuit.
前記の課題を解決するために、請求項I)の割込要求入
力回路は、「割込要求入力(調停器人力要求14など)
の立上がり(立下がり)エツジを検出したのち該割込要
求入力がHレベル(Lレベル)に維持されることによっ
て安定な割込処理要求(14など)をCPU (2など
)に出力し、前記CPUからの割込受付応答信号(15
など)を入力して前記割込処理要求をリセットするエツ
ジ入力型の割込調停器(1など)において、
前記割込要求入力を常時Hレベル(Lレベル)に維持す
ると共に、原割込要求(外部割込要求13など)に基づ
いて前記割込要求入力にLレベル(Hレベル)の方形波
パルスを重畳させる手段を備えたJものとし、また
請求項2)の割込要求入力回路では前記請求項1)の割
込要求入力回路において、「前記手段はNOT回路(4
など)からなる」ようにする。In order to solve the above problem, the interrupt request input circuit of claim I) provides an interrupt request input circuit (arbitrator manual request 14, etc.).
After the rising (falling) edge of Interrupt acceptance response signal from the CPU (15
In an edge input type interrupt arbiter (such as 1) that resets the interrupt processing request by inputting a signal (e.g., In the interrupt request input circuit according to claim 2, the interrupt request input circuit includes means for superimposing an L level (H level) square wave pulse on the interrupt request input based on an external interrupt request 13, etc. In the interrupt request input circuit according to claim 1), ``the means includes a NOT circuit (4).
etc.).
外部割込要求13のHレベル(正)の方形波パルスをN
OT回路4を介し反転して割込調停器lへの割込要求人
力11とすることにより、II込調停器1への割込要求
人力11を常時Hレベルに保ち、前記外部割込要求13
によってこの調停器1への割込要求人力11にLレベル
(負)の方形波パルスを重畳させ、このパルスの後縁の
立上がりと常時のHレベルの維持とによって割込調停器
1への割込要求入力条件を満たすようにする。The H level (positive) square wave pulse of external interrupt request 13 is
By inverting through the OT circuit 4 and setting it as the interrupt request input 11 to the interrupt arbiter 1, the interrupt request input 11 to the II interrupt arbiter 1 is always kept at H level, and the external interrupt request 13
By superimposing an L level (negative) square wave pulse on the interrupt request power 11 to the arbiter 1, the interrupt to the interrupt arbiter 1 is input conditions.
【実施例1
第1図は本発明の実施例としての割込入力回路の構成図
で第3図に対応するものである。また第2図は第1図の
要部動作説明用のタイムチャートである。
第1図においては第3図に対しD型フリップフロップが
省略され、これに代わり単にNOT回路4が用いられて
いる6本発明ではエツジ入力型割込調停器1で正しい割
込入力条件である調停器入力割込要求11の「立上がり
エツジjおよび「CPU2からの割込受付応答信号15
が返るまでの調停器入力割込要求11の保持通の2条件
に着目し、外部割込要求13をNOT回路4で反転して
なる調停器入力割込要求11を割込調停器1に入力する
ことにより、第2図で示すように調停器入力割込要求1
量を「要求なし」の状態からアクティブ(Hレベル)に
しておく(■)。
このとき調停器入力割込要求11に立上がりエツジは存
在しないので割込要求は、調停器1によって認識されな
い。
次に割込要求を行うときに、外部割込要求13を反転し
負のパルス■として調停器1に送ることにより、この負
のパルス■の後縁の立上がり■で調停器1に割込が認識
され、かつ調停器入力割込要求11のアクティブ状態■
が以後継続されることになり、エツジ入力型割込調停器
1の割込入力の認識に必要な条件を満足することができ
る。これにより割込調停器1からCP U2に安定に割
込処理要求14が出力される。その1cPU2から割込
応答信号15が出力され、これを割込調停器lが人力す
ることによって割込処理要求14がリセットされる。
【発明の効果】
本発明によれば、調停器入力割込要求11の立上がりエ
ツジを検出したのち該調停器入力割込要求11がHレベ
ルに維持されることによって安定な割込処理要求14を
CPU2に出力し、前記CPU2からの割込受付応答信
号15を入力して前記割込処理要求14をリセットする
エツジ入力型の割込調停器1において、
前記調停器入力割込要求11を常時Hレベルに維持する
と共に、Hレベル(正)の方形波パルスとしての外部割
込要求13に基づいて前記調停器入力割込要求11にL
レベル(負)の方形波パルスを重畳させるNOT回路4
を備えたものとしたので、
割込調停器に対する割込入力回路の構成を簡素化できる
のみならず、割込事象の発生による割込要求のラッチ、
ラッチ回路へのCPUからの割込応答信号の発行、およ
び応答信号によるランチされた割込要求のクリアの諸操
作が不要となる。Embodiment 1 FIG. 1 is a block diagram of an interrupt input circuit as an embodiment of the present invention, and corresponds to FIG. 3. Further, FIG. 2 is a time chart for explaining the operation of the main part of FIG. 1. In FIG. 1, the D-type flip-flop is omitted compared to FIG. 3, and a NOT circuit 4 is simply used instead.6 In the present invention, the edge input type interrupt arbiter 1 is used to meet the correct interrupt input conditions. ``Rising edge j'' of arbiter input interrupt request 11 and ``interrupt acceptance response signal 15 from CPU 2
Focusing on the two conditions of holding the arbiter input interrupt request 11 until it returns, the arbiter input interrupt request 11 obtained by inverting the external interrupt request 13 by the NOT circuit 4 is input to the interrupt arbiter 1. By doing so, as shown in Fig. 2, the arbiter input interrupt request 1
The amount is changed from "no request" to active (H level) (■). At this time, since there is no rising edge of the arbiter input interrupt request 11, the interrupt request is not recognized by the arbiter 1. Next, when making an interrupt request, by inverting the external interrupt request 13 and sending it to the arbiter 1 as a negative pulse ■, an interrupt will be sent to the arbiter 1 at the rising edge ■ of the trailing edge of this negative pulse ■. Recognized and active state of arbiter input interrupt request 11 ■
This will continue from now on, and the conditions necessary for the edge input type interrupt arbiter 1 to recognize an interrupt input can be satisfied. As a result, the interrupt processing request 14 is stably output from the interrupt arbitrator 1 to the CPU 2. An interrupt response signal 15 is output from the 1cPU 2, and the interrupt processing request 14 is reset by the interrupt arbitrator 1 manually inputting the interrupt response signal 15. Effects of the Invention According to the present invention, after detecting the rising edge of the arbiter input interrupt request 11, the arbiter input interrupt request 11 is maintained at the H level, thereby stably processing the interrupt processing request 14. In an edge input type interrupt arbiter 1 that outputs to a CPU 2 and resets the interrupt processing request 14 by inputting an interrupt acceptance response signal 15 from the CPU 2, the arbiter input interrupt request 11 is always set to H. level, and the arbiter input interrupt request 11 is set to L based on the external interrupt request 13 as a square wave pulse of H level (positive).
NOT circuit 4 that superimposes level (negative) square wave pulses
This not only simplifies the configuration of the interrupt input circuit for the interrupt arbiter, but also latches interrupt requests upon the occurrence of an interrupt event.
It becomes unnecessary to issue an interrupt response signal from the CPU to the latch circuit and to clear the launched interrupt request using the response signal.
第1図は本発明の実施例としての構成を示すブロック回
路図、
第2図は第1図の要部動作説明用のタイムチャート、
第3図は第1図に対応する従来のブロック回路図、
第4図は第3図の要部動作説明用のタイムチャートであ
る。
■=割込調停器、11 =調停器入力割込要求、2:C
PU、4:NOT回路、13;外部割込要求、14:割
込処理要求、15:割込応答信号。
第1図
オ 2図
第3図
第4図Fig. 1 is a block circuit diagram showing the configuration of an embodiment of the present invention, Fig. 2 is a time chart for explaining the operation of the main parts of Fig. 1, and Fig. 3 is a conventional block circuit diagram corresponding to Fig. 1. , FIG. 4 is a time chart for explaining the operation of the main part of FIG. 3. ■ = Interrupt arbiter, 11 = Arbitrator input interrupt request, 2:C
PU, 4: NOT circuit, 13: external interrupt request, 14: interrupt processing request, 15: interrupt response signal. Figure 1 Figure 2 Figure 3 Figure 4
Claims (1)
したのち該割込要求入力がHレベル(Lレベル)に維持
されることによって安定な割込処理要求をCPUに出力
し、前記CPUからの割込受付応答信号を入力して前記
割込処理要求をリセットするエッジ入力型の割込調停器
において、前記割込要求入力を常時Hレベル(Lレベル
)に維持すると共に、原割込要求に基づいて前記割込要
求入力にLレベル(Hレベル)の方形波パルスを重畳さ
せる手段を備えたことを特徴とする割込調停器の割込要
求入力回路。 2)特許請求の範囲第1項に記載の割込要求入力回路に
おいて、前記手段はNOT回路からなることを特徴とす
る割込調停器の割込要求入力回路。[Claims] 1) After detecting the rising (falling) edge of the interrupt request input, the interrupt request input is maintained at the H level (L level) to send a stable interrupt processing request to the CPU. In an edge input type interrupt arbiter that resets the interrupt processing request by inputting an interrupt acceptance response signal from the CPU, the interrupt request input is always maintained at H level (L level). An interrupt request input circuit for an interrupt arbitrator, further comprising means for superimposing an L level (H level) square wave pulse on the interrupt request input based on the original interrupt request. 2) An interrupt request input circuit for an interrupt arbitrator according to claim 1, wherein the means comprises a NOT circuit.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP29915190A JPH04170645A (en) | 1990-11-05 | 1990-11-05 | Interrupt request input circuit of interrupt arbiter |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP29915190A JPH04170645A (en) | 1990-11-05 | 1990-11-05 | Interrupt request input circuit of interrupt arbiter |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH04170645A true JPH04170645A (en) | 1992-06-18 |
Family
ID=17868788
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP29915190A Pending JPH04170645A (en) | 1990-11-05 | 1990-11-05 | Interrupt request input circuit of interrupt arbiter |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH04170645A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH08101778A (en) * | 1994-09-30 | 1996-04-16 | Nec Corp | Data processor |
-
1990
- 1990-11-05 JP JP29915190A patent/JPH04170645A/en active Pending
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH08101778A (en) * | 1994-09-30 | 1996-04-16 | Nec Corp | Data processor |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JPH05274259A (en) | Serial input interface circuit | |
US5373204A (en) | Self-timed clocking transfer control circuit | |
JPH05217393A (en) | Flip-flop circuit for controllable copying between slave latch and scanning latch | |
JPH0556085A (en) | Interface circuit | |
JPH04170645A (en) | Interrupt request input circuit of interrupt arbiter | |
JPH04250712A (en) | Semiconductor integrated circuit | |
JPH1173389A (en) | Data transmission line | |
JPS5979630A (en) | logic circuit | |
JPH03274810A (en) | Semiconductor integrated circuit | |
JPH03223949A (en) | Bus mediation circuit | |
KR100213801B1 (en) | Interrupt generating circuit | |
JPS5934188Y2 (en) | signal input circuit | |
JPH04347923A (en) | Multiplying device | |
TW437190B (en) | Signal receiving device and method for eliminating jitter effect | |
JP2615504B2 (en) | Microcontroller | |
JP2664109B2 (en) | Real-time port | |
JPH09148891A (en) | Monostable multivibrator circuit | |
JPS59140559A (en) | Buffer register | |
JPS6166571A (en) | Gate pulse controller of thyristor inverter | |
JPS6290024A (en) | Noise elimination circuit | |
JPS6246017B2 (en) | ||
JPH0568749B2 (en) | ||
JP2002149395A (en) | Asynchronous computing equipment | |
JPS6285363A (en) | Interruption signal control method | |
JPH02135914A (en) | Differentiation circuit |