[go: up one dir, main page]

JPS63316236A - Interruption control circuit - Google Patents

Interruption control circuit

Info

Publication number
JPS63316236A
JPS63316236A JP15259387A JP15259387A JPS63316236A JP S63316236 A JPS63316236 A JP S63316236A JP 15259387 A JP15259387 A JP 15259387A JP 15259387 A JP15259387 A JP 15259387A JP S63316236 A JPS63316236 A JP S63316236A
Authority
JP
Japan
Prior art keywords
interrupt
interruption
gates
factors
control circuit
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
JP15259387A
Other languages
Japanese (ja)
Inventor
Hideo Sakamoto
坂本 秀雄
Chifuyu Saegusa
三枝 千冬
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.)
NIPPON DENKI OFF SYST KK
NEC Corp
Original Assignee
NIPPON DENKI OFF SYST KK
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 NIPPON DENKI OFF SYST KK, NEC Corp filed Critical NIPPON DENKI OFF SYST KK
Priority to JP15259387A priority Critical patent/JPS63316236A/en
Publication of JPS63316236A publication Critical patent/JPS63316236A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/14Handling requests for interconnection or transfer
    • G06F13/20Handling requests for interconnection or transfer for access to input/output bus
    • G06F13/24Handling requests for interconnection or transfer for access to input/output bus using interrupt

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)

Abstract

PURPOSE:To attain the execution of a multiple interruption at an edge trigger mode by providing a sequential circuit to convert plural interruption factors into an independent interruption pulse and output them when the plural interrup tion factors are multiply generated. CONSTITUTION:When an interruption factor RXR is generated, an interruption signal INT, since the output of AND gates 11 and 21 is logics '1' and '0', synchronizes to CLK, the output of JK-FF1 and an interruption signal INT go to the logic '1', all the outputs of AND gates 21-23 go to the logic '0' by NOT gates 31-33, and the interruption signal INT is kept, as it is, at the logic '1' so long as the interruption factor RXR exists. Presently when respective factors RXR, TXR, and TXE are generated, sequence is determining by the actions of respective AND gates 11-13, 21-23 are respective NOT gates 31-33, 41 and the interruption signal INT is independently generated to respective interruption factors.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明はマイクロプロセッサ回路における割込制御回路
に関し、特に立上りエツジトリガ型の割込制御回路での
多重の割込みを一本の割込み線で制御する為の割込制御
回路に関する。
[Detailed Description of the Invention] [Field of Industrial Application] The present invention relates to an interrupt control circuit in a microprocessor circuit, and particularly to a rising edge trigger type interrupt control circuit that controls multiple interrupts using a single interrupt line. This invention relates to an interrupt control circuit for

〔従来の技術〕[Conventional technology]

割込みはマイクロプロセッサが実行中のプログラムを中
断して割込み信号線によって要求のあった者に対して、
緊急のサービスを行なう為に行なうものである。一般的
に割込みは割込み信号線により起動されるが、割込みの
きっかけは、割込信号線のエツジ(変化点)によるもの
と、割込み信号のレベル(論理“1′”レベル)による
割込み駆動の2種類がある。一般には、エツジトリガー
が多く使用される。
Interrupts interrupt the program being executed by the microprocessor and are sent to the requestor via the interrupt signal line.
This is done to provide emergency services. Generally, interrupts are activated by the interrupt signal line, but there are two types of triggers: one is triggered by the edge (change point) of the interrupt signal line, and the other is triggered by the level of the interrupt signal (logic "1'" level). There are different types. Generally, edge triggers are often used.

このエツジトリガーによる従来の割込制御回路のタイミ
ングは一般に第3図のようになっている。
The timing of a conventional interrupt control circuit using this edge trigger is generally as shown in FIG.

第3図で、TXR,RXRは割込み要因であり、I N
T=TXR+RXR(I NT4.tTXRとRXRの
論理和)となり、立上りエツジで割込を起動するとき、
A点で割込み起動されるが、B点は割込要因のTXR信
号との論理和の為、立上り、エツジがなくなるので起動
されない。従って、割込要因TXRの割込みはサービス
されるが、RXRの割込は割込要因T X、 Rにマス
クされ割込みサービス出来ない。
In Figure 3, TXR and RXR are interrupt factors, and I N
T=TXR+RXR (INT4.logical sum of tTXR and RXR), and when activating an interrupt at the rising edge,
An interrupt is activated at point A, but is not activated at point B because there are no rising edges or edges due to the logical sum with the TXR signal of the interrupt factor. Therefore, the interrupt caused by the interrupt factor TXR is serviced, but the interrupt caused by RXR is masked by the interrupt factors TX, R and cannot be serviced.

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

上述したように、従来の第3図のタイミングで示される
エツジトリガーを利用した割込み制御回路は、一本の割
込み信号線に対して複数の割込要因を割当てた時、通常
、各割込要因の論理和により一本にまとめ割込み信号と
するが、複数の割込みが同時に発生すると変化点がなく
なり、割込み信号による駆動が出来ない場合があるとい
う欠点がある0本発明の目的は、上記欠点を除去し得る
割込制御回路を提供することにある。
As mentioned above, in the conventional interrupt control circuit using the edge trigger shown in the timing diagram of FIG. 3, when multiple interrupt factors are assigned to one interrupt signal line, each interrupt factor is normally are combined into one interrupt signal by the logical sum of An object of the present invention is to provide a removable interrupt control circuit.

〔問題点を解決するための手段〕  ”本発明の割込制
御回路の構成は、複数の割込要因を一本の割込み信号線
でエツジ割込みにより割込を検知する割込制御回路にお
いて、前記複数の割込要因の各割込要因が多重に発生し
た場合、それらを独立の割込パルスに変換して出力する
様に順序回路を具備することにより、エツジトリガーモ
ードにおける多重割込を可能とすることを特徴とする。
[Means for Solving the Problems] ``The configuration of the interrupt control circuit of the present invention is such that the interrupt control circuit detects interrupts by edge interrupts using a single interrupt signal line for a plurality of interrupt factors. Multiple interrupts in edge trigger mode are possible by providing a sequential circuit that converts and outputs independent interrupt pulses when multiple interrupt factors occur multiple times. It is characterized by

〔実施例〕〔Example〕

次に、本発明について図面を参照して説明する。 Next, the present invention will be explained with reference to the drawings.

第1図は本発明の一実施例の割込制御回路の回路図、第
2図は第1図のタイムチャートである。
FIG. 1 is a circuit diagram of an interrupt control circuit according to an embodiment of the present invention, and FIG. 2 is a time chart of FIG. 1.

第1図で1〜3は各割込要因RX R、T X R。In FIG. 1, 1 to 3 are interrupt factors RXR and TXR.

TXEの割込要求を保持するJK〜フリップフロップ(
以下JK−FFと称す)、11〜13および21〜23
はANDゲート、31〜33および42はNOTゲート
、41はORゲートである。
JK~Flip-flop that holds TXE interrupt request (
(hereinafter referred to as JK-FF), 11-13 and 21-23
is an AND gate, 31 to 33 and 42 are NOT gates, and 41 is an OR gate.

以下に、第2図のタイミングヂャートにより第1図の動
作を説明する。
The operation shown in FIG. 1 will be explained below using the timing chart shown in FIG.

割込要因RXRが発生すると、INT(割込信号)はA
点でANDゲート11および21の出力が論理゛1″お
よび“0″のため、CL Kに同期してJK−FFIの
出力が論理°“1パとなり割込信号INTが論理゛1″
となる。
When interrupt factor RXR occurs, INT (interrupt signal) becomes A.
Since the outputs of AND gates 11 and 21 are logic "1" and "0" at the point, the output of JK-FFI becomes logic "1" in synchronization with CLK, and the interrupt signal INT becomes logic "1".
becomes.

この時、NOTゲート31〜33により、ANDゲート
21〜23の出力は全て論理” o ”となっているの
で、他の割込要因TXR,TXEが発生しても、先に発
生した割込要因RXRが無くならない限り割込信号IN
Tは論理°“1”のまま保たれる。
At this time, the outputs of AND gates 21 to 23 are all logic "o" due to NOT gates 31 to 33, so even if other interrupt factors TXR and TXE occur, the interrupt factor that occurred first will be ignored. Interrupt signal IN until RXR runs out
T remains at logic "1".

今、第2図の様に、各割込要因RXR,TXRおよびT
XEが発生したとすると、各ANDゲート11,12.
13および21,22,23、各NOTゲート31,3
2.33および41の動作により割込要因順序が決定さ
れて第2図のA。
Now, as shown in Figure 2, each interrupt factor RXR, TXR and T
If XE occurs, each AND gate 11, 12 .
13 and 21, 22, 23, each NOT gate 31, 3
2. The order of interrupt factors is determined by the operations 33 and 41, and the sequence is A in FIG.

B、Cの各点において、それぞれの割込要因に対して割
込信号INTが独立したクロックCLKに同期したパル
スとして発生する。
At each point B and C, an interrupt signal INT is generated as a pulse synchronized with an independent clock CLK for each interrupt factor.

一般的なパソコンにおける割込コントローラにおいて、
少ない割込資源を有効に利用する必要がある0本例では
回線の割込について述べているが、回線制御LSIは一
般に送信サービス要求。
In the interrupt controller of a general personal computer,
It is necessary to make effective use of limited interrupt resources. Although this example describes line interrupts, line control LSIs generally handle transmission service requests.

交信サービス要求、送信バッファ空要求の3つの割込み
要因を備えている。これらをすべて独立の割込信号とし
て各割込信号線に対応させるのは無駄であり、かといっ
て一本の信号線にORで結合すると、前述のようにエツ
ジトリガーでのエツジ検出が出来ない場合が現われてく
る(全二重通信のような場合)。
It has three interrupt factors: communication service request and transmission buffer empty request. It is wasteful to make these all correspond to each interrupt signal line as independent interrupt signals, and on the other hand, if they are combined into one signal line using OR, edge detection using edge triggers will not be possible as described above. Cases arise (such as full-duplex communication).

従って、このような時に特に有効な回路と成る。Therefore, the circuit becomes particularly effective in such cases.

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

以上説明したように本発明は、エツジトリガーによる割
込検出回路に順序回路を具備することにより、−木の割
込発生信号線に、複数の割込要因に対してそれぞれ独立
に割込信号を発生させることができるという効果がある
As explained above, the present invention provides an edge-triggered interrupt detection circuit with a sequential circuit, so that interrupt signals can be sent to the -tree interrupt generation signal line independently for a plurality of interrupt causes. The effect is that it can be generated.

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

第1図は本発明の一実施例の割込制御回路の回路図、第
2図は第1図のタイムチャート、第3図は従来の割込制
御回路のタイムチャートである。 1〜3・・・JK−FF、11〜13.21〜23・・
・ANDゲート、31〜33.42・・・NOTゲート
、41・・・ORゲート。            1
゜、4−代理人 弁理士 内 原  晋・、
FIG. 1 is a circuit diagram of an interrupt control circuit according to an embodiment of the present invention, FIG. 2 is a time chart of FIG. 1, and FIG. 3 is a time chart of a conventional interrupt control circuit. 1~3...JK-FF, 11~13.21~23...
-AND gate, 31-33.42...NOT gate, 41...OR gate. 1
゜、4-Representative patent attorney Susumu Uchihara.

Claims (1)

【特許請求の範囲】[Claims] 複数の割込要因を一本の割込み信号線でエッジ割込みに
より割込を検知する割込制御回路において、前記複数の
割込要因の各割込要因が多重に発生した場合、それらを
独立の割込パルスに変換して出力する様に順序回路を具
備することにより、エッジトリガーモードにおける多重
割込を可能とすることを特徴とする割込制御回路。
In an interrupt control circuit that detects interrupts by edge interrupts using a single interrupt signal line, if each of the multiple interrupt factors occurs multiple times, they can be detected as independent interrupts. 1. An interrupt control circuit characterized in that the interrupt control circuit is equipped with a sequential circuit that converts the signal into an input pulse and outputs the signal, thereby making it possible to perform multiple interrupts in an edge trigger mode.
JP15259387A 1987-06-19 1987-06-19 Interruption control circuit Pending JPS63316236A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP15259387A JPS63316236A (en) 1987-06-19 1987-06-19 Interruption control circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP15259387A JPS63316236A (en) 1987-06-19 1987-06-19 Interruption control circuit

Publications (1)

Publication Number Publication Date
JPS63316236A true JPS63316236A (en) 1988-12-23

Family

ID=15543828

Family Applications (1)

Application Number Title Priority Date Filing Date
JP15259387A Pending JPS63316236A (en) 1987-06-19 1987-06-19 Interruption control circuit

Country Status (1)

Country Link
JP (1) JPS63316236A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH047641A (en) * 1990-04-25 1992-01-13 Mitsubishi Electric Corp Interruption control device
JP2016224520A (en) * 2015-05-27 2016-12-28 ルネサスエレクトロニクス株式会社 Semiconductor device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH047641A (en) * 1990-04-25 1992-01-13 Mitsubishi Electric Corp Interruption control device
JP2016224520A (en) * 2015-05-27 2016-12-28 ルネサスエレクトロニクス株式会社 Semiconductor device

Similar Documents

Publication Publication Date Title
KR100269582B1 (en) Serial interrupt bus protocol
CA1217871A (en) Duplex central processing unit synchronization circuit
JPH10207822A (en) Interruption processing method for high speed i/o controller
JPS63316236A (en) Interruption control circuit
GB2263795A (en) Interrupt priority using timer circuit.
US5584028A (en) Method and device for processing multiple, asynchronous interrupt signals
JPS62168415A (en) Latch-to-latch transmission method
JP2767990B2 (en) Microprocessor control method
JP2947195B2 (en) Interrupt mask control method
JP2890982B2 (en) Data transmission control method
JPH1185537A (en) Data processing device
JPH0635715A (en) Interruption controller
JPS60168240A (en) Interrupt processing circuit
JPS62192815A (en) clock switching circuit
JPH0318958A (en) Multiprocessor system
JPH1185306A (en) Clock switch circuit
JP2752456B2 (en) Channel device
JP2828995B2 (en) Data transmission equipment
SE1930073A1 (en) Method and system to minimize the latency in audio signal processing
JPH0210418A (en) Synchronizing logic circuit
JPS57101928A (en) Interruption controlling system
JPS5852712A (en) Data transfer processor
JPS6277666A (en) Buffer circuit
JPS61107286A (en) Testing system of crt display control circuit
JPH02271437A (en) Task running time measuring system