[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

JPS63174131A - Interruption controller - Google Patents

Interruption controller

Info

Publication number
JPS63174131A
JPS63174131A JP635487A JP635487A JPS63174131A JP S63174131 A JPS63174131 A JP S63174131A JP 635487 A JP635487 A JP 635487A JP 635487 A JP635487 A JP 635487A JP S63174131 A JPS63174131 A JP S63174131A
Authority
JP
Japan
Prior art keywords
interruption
interrupt
pulses
shift
priority
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
JP635487A
Other languages
Japanese (ja)
Inventor
Makoto Sato
誠 佐藤
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP635487A priority Critical patent/JPS63174131A/en
Publication of JPS63174131A publication Critical patent/JPS63174131A/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
    • G06F13/26Handling requests for interconnection or transfer for access to input/output bus using interrupt with priority control

Landscapes

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

Abstract

PURPOSE:To respond with equal priority to plural interruption requests, by providing a shift pulse generation circuit, and setting the leading of plural outputting pulses as the sampling timings of corresponding interruption inputs. CONSTITUTION:The leading of the pulses p1, p2, p3, and p4 outputted from the shift pulse generation circuit 1 are set as the sampling timings of the corresponding interruption inputs. And when interruption input signals i1 and i3 are inputted, and first leading transition occurs in the p3, an OR circuit 6 asserts a common interruption signal (i) by asserting the output of a q3 by an FF4, then, all of the shift pulses are invalidated. Next, an interruption processing on the interruption i3 is performed, and when it is completed, all of the shift pulses are validated again. And next, the interruption processing is performed on the interruption i1 with a similar procedure. In this case, it is likely that the i1 is processed first based on the phase state of the shift pulse, therefore, it is possible to set the priority of the interruption i1, i2, i3, and i4 on equal terms.

Description

【発明の詳細な説明】 (技術分野) 本発明は外部装置からのマイクロプロセッサへの割込み
要求に対応する割込み制御装置に関するものである。
DETAILED DESCRIPTION OF THE INVENTION (Technical Field) The present invention relates to an interrupt control device that responds to interrupt requests from external devices to a microprocessor.

(従来技術) 従来、複数の割込み信号を同一レベルに位置させる場合
、その割込に信号線は優先度順エンコーダに入力され、
その共通信号がマイクロプロセッサ等に与えられていた
。この場合、同時に複数の割込みが入力された時には、
前記(憂先度順にエンコーダに高位の優先度として接続
しである割込み信号が有効になる。つまりマイクロプロ
セッサには同一レベルに映る複数の割込み要素でも、実
際には更に細かく優先順位が決められていることになる
。これは同一レベルに位置し、その生起確率がほぼ同じ
で、その割込み処理が等しいような複数の割込み要素を
扱うシステムには不都合なことである。
(Prior Art) Conventionally, when multiple interrupt signals are placed at the same level, the signal lines for the interrupts are input to a priority encoder,
The common signal was given to a microprocessor and the like. In this case, when multiple interrupts are input at the same time,
An interrupt signal is enabled when it is connected to the encoder as a higher priority in order of priority.In other words, even if multiple interrupt elements appear to be at the same level to the microprocessor, their priorities are actually determined in more detail. This is inconvenient for a system that handles multiple interrupt elements that are located at the same level, have approximately the same probability of occurrence, and have the same interrupt processing.

〔目的〕〔the purpose〕

本発明はマイクロプロセッサから見て同一レベルに並ぶ
生起確率がほぼ一定で、割込み処理が同一であるような
複数の割込み要素に対して、時分割方式によって各々の
割込み信号が等しい優先度でもってマイクロプロセッサ
に入力されることを保証するものである。
The present invention uses a time-sharing method to divide each interrupt signal into a microprocessor with equal priority for a plurality of interrupt elements whose probability of occurrence at the same level is almost constant when viewed from the microprocessor, and whose interrupt processing is the same. This ensures that the data is input to the processor.

〔実施例〕〔Example〕

以下、本発明を好ましい実施例に基づいて説明する。 The present invention will be explained below based on preferred embodiments.

第1図は本発明の実施例で、ここでは4個の割込み信号
を処理している。1はシフトパルス発生回路でpi、p
2.p3.p4の4種のパルスを出力するものである。
FIG. 1 shows an embodiment of the present invention, in which four interrupt signals are processed. 1 is a shift pulse generation circuit pi, p
2. p3. It outputs four types of pulses p4.

2,3,4.5はそれぞれフリップフロップ(F/F)
でCLR入力がロウの時はQ出力はハイ、CLR入力が
ハイでCKに立下がりパルスが入力された時にのみQ出
力がロウになるものである。6は4入力の負論理ORゲ
ート、7は優先度順エンコーダである。(S分線it、
i2.i3.i4はそれぞれ割込み入力信号、ql、q
2.q3.q4はそれぞれF/F2,3,4.5のQ出
力、iは割込み入力信号it、i2.i3.i4の共通
割込み信号、Cは割り込み入力信号it、i2゜i3.
i4を区別するためのコード信号で2ビツト構成である
2, 3, and 4.5 are flip-flops (F/F) respectively.
When the CLR input is low, the Q output is high, and the Q output becomes low only when the CLR input is high and a falling pulse is input to CK. 6 is a four-input negative logic OR gate, and 7 is a priority order encoder. (S line it,
i2. i3. i4 is an interrupt input signal, ql, q
2. q3. q4 is the Q output of F/F2, 3, 4.5, respectively, and i is the interrupt input signal it, i2. i3. i4 is the common interrupt signal, C is the interrupt input signal it, i2゜i3.
It is a code signal for distinguishing i4 and has a 2-bit configuration.

つぎに動作タイミング図である第2図と合わせて第1図
の動作を説明する。シフトパルス発生回路1から出力さ
れる4種のパルスpt、p2゜p3.p4は第2図のご
とくで、各パルスの立上がりがその対応する割込み入力
のサンプリングタイミングとなる。第2図の例では11
および13の割込みがほぼ同時に入力されている(1)
Next, the operation shown in FIG. 1 will be explained together with FIG. 2 which is an operation timing diagram. Four types of pulses pt, p2°p3. are output from the shift pulse generation circuit 1. p4 is as shown in FIG. 2, and the rising edge of each pulse is the sampling timing of the corresponding interrupt input. In the example in Figure 2, 11
and 13 interrupts are input almost simultaneously (1)
.

それぞれのシフトパルスpi、p3を見ると、割り込み
if、i3が入力されてから最初にその立ち上がり遷移
が起こるのはp3である。
Looking at the respective shift pulses pi and p3, p3 is the first to undergo a rising transition after the interrupts if and i3 are input.

p3の立ち上がり遷移によってF/F4はq3出力をア
サートする(2)。q3のアサートによってOR回路6
は共通割込み信号iをアサートする(3)。これによっ
てすべてのシフトパルスは無効になる。
Due to the rising transition of p3, F/F4 asserts the q3 output (2). By asserting q3, OR circuit 6
asserts the common interrupt signal i (3). This disables all shift pulses.

割込みi3に対する処理ルーチンが起動されその割込み
要因が解除されると、q3はネゲートされる(4)。q
3のネゲートによって共通割込み信号iもネゲートされ
、再びすべてのシフトパルスが有効になる(5)。
When the processing routine for interrupt i3 is activated and the interrupt factor is canceled, q3 is negated (4). q
3 also negates the common interrupt signal i, and all shift pulses become valid again (5).

今まで処理待ちにあった割込み11は共通割込み信号i
のネゲート後の最初のplの立上がり遷移でサンプリン
グされ、qlさらに共通割込み信号iがアサートされそ
の割込み処理が開始される(b)。
Interrupt 11 that has been waiting for processing until now is the common interrupt signal i
The signal is sampled at the first rising transition of pl after negation of ql, and the common interrupt signal i is asserted to start the interrupt processing (b).

前記第2図の例では、はぼ同時に入力された割込みil
、i3に対して最初にその割込みIA埋が行われたのは
割込みi3であったが、シフトパルスp1〜p4の位相
状態によっては11の割込み処理が先に行われる可能性
もあり、全体的に見ると割込みit、i2.i3.i4
とも最初に自分の割込み処理が行われる確率は各々等し
くなる。したがって割込みil、i2゜i3.i4の優
先度はすべて等しくなる。
In the example of FIG. 2, the interrupts input at approximately the same time
, the interrupt IA filling was performed first for interrupt i3, but depending on the phase state of shift pulses p1 to p4, there is a possibility that interrupt processing for 11 is performed first, so the overall If you look at interrupt it, i2. i3. i4
Both have the same probability that their own interrupt processing will be performed first. Therefore, interrupts il, i2°i3. All i4s have the same priority.

この様に複数の割込みを同じ優先度で扱う必要のあるシ
ステムに、この割り込み制御回路は有効である。
This interrupt control circuit is effective for systems that need to handle multiple interrupts with the same priority.

(効果〕 以上説明した様に、本発明によると複数の割込み要求に
対して等しい優先度で対応可能となるものである。
(Effects) As described above, according to the present invention, it is possible to respond to a plurality of interrupt requests with equal priority.

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

第1図は割込み要素数4の割込み制御回路の構成図、 第2図は割込み制御回路の動作タイミング図であり、 1はシフトパルス発生回路、2,3,4.5はフリップ
フロップ、7は優先度順エンコーダである。
Fig. 1 is a configuration diagram of an interrupt control circuit with four interrupt elements, and Fig. 2 is an operation timing diagram of the interrupt control circuit, where 1 is a shift pulse generation circuit, 2, 3, and 4.5 are flip-flops, and 7 is a shift pulse generation circuit. It is a priority encoder.

Claims (1)

【特許請求の範囲】[Claims] 同一レベルに入力される割込みに対して絶対的な優先度
をつけず、時分割で各々の割込み信号をマイクロプロセ
ッサに与えることを特徴とする割込み制御装置。
An interrupt control device characterized in that an absolute priority is not given to interrupts input at the same level, and each interrupt signal is given to a microprocessor in a time-sharing manner.
JP635487A 1987-01-14 1987-01-14 Interruption controller Pending JPS63174131A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP635487A JPS63174131A (en) 1987-01-14 1987-01-14 Interruption controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP635487A JPS63174131A (en) 1987-01-14 1987-01-14 Interruption controller

Publications (1)

Publication Number Publication Date
JPS63174131A true JPS63174131A (en) 1988-07-18

Family

ID=11636032

Family Applications (1)

Application Number Title Priority Date Filing Date
JP635487A Pending JPS63174131A (en) 1987-01-14 1987-01-14 Interruption controller

Country Status (1)

Country Link
JP (1) JPS63174131A (en)

Similar Documents

Publication Publication Date Title
JP3099927B2 (en) Microcomputer
JPS63174131A (en) Interruption controller
US8832475B1 (en) Programmable power mode sequencer
JPH04323755A (en) Dma device
JP2806771B2 (en) Bus arbitration circuit
JPS5672753A (en) Selective processor for occupation of common bus line
JPS63211438A (en) Interruption control circuit
JPS61501661A (en) Parallel synchronous operation
JPH02183844A (en) Control method for decoding signal
JPH01128152A (en) Serial i/o circuit
JPH0528093A (en) Circuit for generating burst transfer end interrupt signal
JPS5914797B2 (en) coordinate input device
JPS6054051A (en) Multiple system interrupt processing device
JPH0561813A (en) Data transfer system
EP0278263A3 (en) Multiple bus dma controller
JPH0369224A (en) Communicating system for data between cpus
JPH01302938A (en) Bus stack detection display circuit
JPH05181811A (en) Interruption control signal generator for multi-processor system
JPH01216626A (en) Pulse count circuit
JPH0210418A (en) Synchronizing logic circuit
JPS6246017B2 (en)
JPH04335458A (en) Information processor
JPS63271512A (en) Resetting circuit for plural central arithmetic processor
JPH10333920A (en) Interruption processing circuit
JPH08288849A (en) Digital signal processor