JPH09258988A - Interruption control system - Google Patents

Interruption control system

Info

Publication number
JPH09258988A
JPH09258988A JP8067904A JP6790496A JPH09258988A JP H09258988 A JPH09258988 A JP H09258988A JP 8067904 A JP8067904 A JP 8067904A JP 6790496 A JP6790496 A JP 6790496A JP H09258988 A JPH09258988 A JP H09258988A
Authority
JP
Japan
Prior art keywords
interrupt
cpu
pulse signal
interrupt request
pulse
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
JP8067904A
Other languages
Japanese (ja)
Other versions
JP2800767B2 (en
Inventor
Mitsugi Anezaki
貢 姉崎
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 JP8067904A priority Critical patent/JP2800767B2/en
Publication of JPH09258988A publication Critical patent/JPH09258988A/en
Application granted granted Critical
Publication of JP2800767B2 publication Critical patent/JP2800767B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Bus Control (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide interruption control method/circuit by which multiple interruptions to CPU can be received and circuit/device constitution can be facilitated. SOLUTION: An interruption control circuit is provided with plural interruption control parts 1, 2...N and a high-order interruption control part 20 arbitrating interruption coming from plural interruption lines. The interruption control part 1 is provided with plural interruption request parts 1, 2...M having interruption generation circuits for an interruption request pulse signal 101, a clock generation part 10 generating a clock signal 600, an interruption request pulse detection part 11 detecting the interruption request pulse signal 101 and detecting a pulse position (M), an interruption request number register 12 where the interruption request number (M) being a number allocated to the interruption generation circuit is set, an interruption line control part 14 arbitrating interruption coming within one interruption line and an interruption response pulse generation part 13 generating an interruption response pulse signal 102 in a pulse position.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明はCPUへの割込み制
御方法及び割込み制御回路に関し、特に複数の割込みを
受付け調停するCPUヘの割込み制御方法及び割込み制
御回路に関する。
The present invention relates to an interrupt control method and an interrupt control circuit for a CPU, and more particularly to an interrupt control method and an interrupt control circuit for a CPU that receives and arbitrates a plurality of interrupts.

【0002】[0002]

【従来の技術】従来の技術では、Nヶの割込み発生回路
を収容する場合、その割込み発生回路のNヶの割込み信
号線を用意しなければならない。
2. Description of the Related Art In the prior art, when N interrupt generating circuits are accommodated, N interrupt signal lines of the interrupt generating circuits must be prepared.

【0003】または特開昭57−83839号公報で開
示された「割込み要求優先制御方式」のように、信号線
を1つにするために割込み発生要求部を直列に従属接続
(以下デイジーチェインという)して接続を行う。
[0003] Alternatively, as in the "interrupt request priority control system" disclosed in Japanese Patent Application Laid-Open No. 57-83839, an interrupt generation request section is serially cascaded in order to reduce the number of signal lines to one (hereinafter referred to as a daisy chain). ) To make the connection.

【0004】[0004]

【発明が解決しようとする課題】従来の技術における第
1の問題点は、通常コネクタの信号線に制約があるため
割込み発生部の数が数ヶ程度が限度であった。
A first problem in the prior art is that the number of interrupt generating units is limited to about several due to the restriction on the signal lines of the normal connector.

【0005】第2の間題点は、デイジーチェインによる
場合は、各割込み発生部が全て信号の中継が可能な状態
であること、また数が多くなると遅延が大きくなるとと
もに固定優先となる欠点があった。
A second problem is that in the case of the daisy chain, all the interrupt generation units are in a state where signals can be relayed, and when the number is large, the delay becomes large and fixed priority is given. there were.

【0006】第3の間題点は、既存の装置に対して変更
を少なくする必要があるため信号線を増やせない問題が
あった。
A third problem is that the number of signal lines cannot be increased because it is necessary to reduce changes to existing devices.

【0007】本発明の目的は、CPUへの多数の割り込
み受付が可能で回路・装置構成の簡易化が図れる割込み
制御方法及び割込み制御回路を提供することにある。
An object of the present invention is to provide an interrupt control method and an interrupt control circuit capable of accepting a large number of interrupts to a CPU and simplifying a circuit / device configuration.

【0008】[0008]

【課題を解決するための手段】本発明のCPUヘの割込
み制御回路は、CPUヘの割込み制御回路において、割
込み制御回路はそれぞれ1の割込み回線を有する複数の
割込み制御部と、複数の割込み回線からくる割込みを調
停する上位の割込み制御部とから構成され、割込み制御
回路は、割込み要求パルス信号線に対し割込み発生回路
を有する複数の割込み要求部と、割込み要求パルス信号
や割込み応答パルス信号を同期させるためのクロック信
号を発生するクロック生成部と、割込み要求パルス検出
回路とパルス位置検出部とを有する割込み要求パルス検
出部と、割込み発生回路に割り当てられた番号である割
込み要求番号が設定される割込み要求番号レジスタと、
1つの割込み回線内からくる割込みを調停し割込み要求
パルス信号によりCPUバスから割込み要求番号を上位
の割込み制御部へ通知する手段と、割込み応答パルス信
号によりCPUバスから割込み応答番号を割込み応答パ
ルス生成部へ通知する手段とを備える割込み回線制御部
と、CPUからの割込み応答番号に対応するタイムスロ
ット部分であるパルス位置に、割込み応答パルス信号を
クロック信号に同期させて生成する割込み応答パルス生
成部とから構成され、割込み要求部は、割込みが同時に
発生した時、割込みをクロック信号に同期させて割り込
み要求パルス信号を発生させるとともに、割込み要求番
号に対応するタイムスロット部分であるパルス位置に割
り込み要求パルス信号を送出することにより、複数の割
り込み受付を可能とする手段を備え、割込み要求パルス
検出部は、割り込み要求パルス信号を検出する割込み要
求パルス検出回路と、タイムスロット部分であるパルス
位置を検出するパルス位置検出部と、パルス位置に対応
する割込み要求番号を割込み要求番号レジスタに設定す
るとともに、割込み要求パルス信号によりCPUバスか
ら割込み要求番号を割込み回線制御部へ通知する手段と
を備え、上位の割込み制御部は、複数の割込み回線から
くる割込みを調停し割込み要求パルス信号によりCPU
バスから割込み要求番号をCPUへ通知する手段と、割
込み応答パルス信号によりCPUバスからCPUからの
割込み応答番号をCPUから受け取る手段と、割込み応
答パルス信号によりCPUバスからCPUからの割込み
応答番号を割込み回線制御部へ通知する手段とを備えて
いる。
According to the present invention, there is provided an interrupt control circuit for a CPU, wherein the interrupt control circuit includes a plurality of interrupt control units each having one interrupt line, and a plurality of interrupt lines. And an upper-level interrupt controller that arbitrates incoming interrupts.The interrupt control circuit transmits a plurality of interrupt request units having an interrupt generation circuit to the interrupt request pulse signal line, and interrupt request pulse signals and interrupt response pulse signals. A clock generator for generating a clock signal for synchronization, an interrupt request pulse detector having an interrupt request pulse detector and a pulse position detector, and an interrupt request number assigned to the interrupt generator are set. Interrupt request number register
Means for arbitrating an interrupt coming from one interrupt line and notifying an interrupt request number from the CPU bus to a higher-level interrupt control unit using an interrupt request pulse signal, and generating an interrupt response pulse from the CPU bus using an interrupt response pulse signal And an interrupt response pulse generator for generating an interrupt response pulse signal in synchronization with a clock signal at a pulse position which is a time slot corresponding to an interrupt response number from the CPU. The interrupt request unit generates an interrupt request pulse signal by synchronizing the interrupt with a clock signal when an interrupt occurs simultaneously, and generates an interrupt request at a pulse position, which is a time slot corresponding to the interrupt request number. Multiple interrupts can be accepted by sending a pulse signal Means for detecting an interrupt request pulse signal, an interrupt request pulse detection circuit for detecting an interrupt request pulse signal, a pulse position detector for detecting a pulse position as a time slot portion, and an interrupt request number corresponding to the pulse position. In the interrupt request number register, and a means for notifying the interrupt request number from the CPU bus to the interrupt line control unit by an interrupt request pulse signal, and the higher-order interrupt control unit arbitrates interrupts coming from a plurality of interrupt lines. CPU by interrupt request pulse signal
Means for notifying the CPU of an interrupt request number from the bus, means for receiving an interrupt response number from the CPU from the CPU by an interrupt response pulse signal, and means for interrupting an interrupt response number from the CPU from the CPU bus by an interrupt response pulse signal Means for notifying the line control unit.

【0009】また、タイムスロット部分を使用しないで
割り込み受付を可能とする方式に割込み要求パルス信号
線毎に切り替える、モード切替部を備えていてもよい。
[0009] A mode switching unit may be provided for switching for each interrupt request pulse signal line to a method which enables interrupt acceptance without using a time slot portion.

【0010】CPUヘの割込み制御回路によるCPUヘ
の割込み制御方法は、上述のCPUヘの割込み制御回路
によるCPUヘの割込み制御方法において、割込み要求
部は、割込みが同時に発生した時、割込みをクロック信
号に同期させて割り込み要求パルス信号を発生させると
ともに、割込み発生回路に割り当てられた番号である割
込み要求番号に対応するタイムスロット部分であるパル
ス位置に割り込み要求パルス信号を送出することによ
り、複数の割り込み受付を可能とし、割込み要求パルス
検出部は、割込み要求パルス検出回路により割り込み要
求パルス信号を検出し、パルス位置検出部によりタイム
スロット部分であるパルス位置を検出し、パルス位置に
対応する割込み要求番号を割込み要求番号レジスタに設
定するとともに、割込み要求パルス信号によりCPUバ
スから割込み要求番号を割込み回線制御部へ通知し、割
込み回線制御部は、1つの割込み回線内からくる割込み
を調停し割込み要求パルス信号によりCPUバスから割
込み要求番号を上位の割込み制御部へ通知し、上位の割
込み制御部は、複数の割込み回線からくる割込みを調停
し割込み要求パルス信号によりCPUバスから割込み要
求番号をCPUへ通知し、CPUは、割込み応答パルス
信号によりCPUバスからCPUからの割込み応答番号
を上位の割込み制御部へ通知し、上位の割込み制御部
は、割込み応答パルス信号によりCPUバスからCPU
からの割込み応答番号を割込み回線制御部へ通知し、割
込み回線制御部は、割込み応答パルス信号によりCPU
バスから割込み応答番号を割込み応答パルス生成部へ通
知し、割込み応答パルス生成部は、CPUからの割込み
応答番号に対応するタイムスロット部分であるパルス位
置に、割込み応答パルス信号をクロック信号に同期させ
て生成する。
[0010] The interrupt control method for the CPU by the interrupt control circuit for the CPU is the same as the interrupt control method for the CPU by the interrupt control circuit for the CPU. By generating an interrupt request pulse signal in synchronization with a signal and transmitting an interrupt request pulse signal to a pulse position that is a time slot portion corresponding to an interrupt request number that is a number assigned to the interrupt generation circuit, The interrupt request pulse detector detects an interrupt request pulse signal by an interrupt request pulse detection circuit, detects a pulse position as a time slot by a pulse position detector, and outputs an interrupt request corresponding to the pulse position. Number in the interrupt request number register, The interrupt request number is notified from the CPU bus to the interrupt line controller by a request pulse signal. The interrupt line controller arbitrates an interrupt from one interrupt line, and the interrupt request number is higher from the CPU bus by the interrupt request pulse signal. The upper-level interrupt controller arbitrates interrupts coming from a plurality of interrupt lines, notifies the CPU of an interrupt request number from the CPU bus by an interrupt request pulse signal, and the CPU responds by an interrupt response pulse signal. An interrupt response number from the CPU is notified from the CPU bus to a higher-level interrupt control unit.
To the interrupt line control unit, and the interrupt line control unit sends an interrupt response pulse signal to the CPU.
The interrupt response number is notified from the bus to the interrupt response pulse generator, and the interrupt response pulse generator synchronizes the interrupt response pulse signal with the clock signal at a pulse position that is a time slot corresponding to the interrupt response number from the CPU. Generate.

【0011】従って本発明により、割込みが同時に発生
した時、割込み要求信号線はN本とし、各々の1本の信
号線内をタイムスロットによりMヶに分割し、割り込み
発生回路の割り込みパルス位置(M)により識別するこ
とにより、最大N×Mヶまで複数の割り込み受付が可能
となる。
Therefore, according to the present invention, when an interrupt occurs simultaneously, the number of interrupt request signal lines is set to N, and each of the signal lines is divided into M by time slots, and the interrupt pulse position ( M), it is possible to accept a plurality of interrupts up to a maximum of N × M.

【0012】[0012]

【発明の実施の形態】次に、本発明の実施の形態につい
て図面を参照して説明する。図1は本発明の実施の形態
のブロック構成図、図2は割込み回線1の割込み要求信
号のタイミング図である。
Next, embodiments of the present invention will be described with reference to the drawings. FIG. 1 is a block diagram of an embodiment of the present invention, and FIG. 2 is a timing chart of an interrupt request signal of an interrupt line 1.

【0013】図中符号1は割込み回線1の割込み制御
部、10はクロック生成部、11は割込み要求パルス検
出部#1、12は割込み要求番号レジスタ#1、13は
割込み応答パルス生成部#1、14は割込み回線1制御
部#1、15は割込み要求部1、16は割込み要求部
2、17は割込み要求部M、20は上位の割込み制御
部、101は割込み要求パルス検出部#1への割込み回
線1の割込み要求パルス信号、102は割込み応答パル
ス生成部#1からの割込み応答パルス信号、201は割
込み回線1制御部ヘの割込み回線1の割込み要求パルス
信号、202は割込み回線1制御部からの割込み応答パ
ルス信号、301は上位の割込み制御部ヘの割込み回線
1の割込み要求パルス信号、302は上位の割込み制御
部からの割込み応答パルス信号、401はCPUヘの割
込み要求パルス信号、402はCPUからの割込み応答
パルス信号、501はCPUバス、600はクロック信
号、Nは割込み回線Nの割込み制御部である。
In the figure, reference numeral 1 denotes an interrupt controller of the interrupt line 1, 10 denotes a clock generator, 11 denotes an interrupt request pulse detector # 1, 12 denotes an interrupt request number register # 1, and 13 denotes an interrupt response pulse generator # 1. , 14 is an interrupt line 1 control unit # 1, 15 is an interrupt request unit 1, 16 is an interrupt request unit 2, 17 is an interrupt request unit M, 20 is an upper interrupt control unit, and 101 is an interrupt request pulse detection unit # 1. , An interrupt request pulse signal from the interrupt response pulse generation unit # 1, an interrupt request pulse signal for the interrupt line 1 to the interrupt line 1 control unit, and an interrupt line 1 control for the interrupt line 1 , An interrupt response pulse signal from the upper-level interrupt controller, an interrupt request pulse signal from the upper-level interrupt controller, and an interrupt request pulse signal from the upper-level interrupt controller. Signal, 401 is an interrupt request pulse signal of CPU vi, 402 interrupt response pulse signal from the CPU, the 501 CPU bus, the 600 clock signal, N represents an interrupt controller interrupt line N.

【0014】図1に示すように、本発明のCPUヘの割
込み制御回路は、それぞれ1の割込み回線を有する複数
の割込み制御部1、2、・・・、Nと、複数の割込み回
線1、2、・・・、Nからくる割込みを調停する上位の
割込み制御部20とから構成されている。即ち、上位の
割込み制御部20は、割込み回線1の割込み制御部1、
割込み回線2の割込み制御部2、・・・、割込み回線N
の割込み制御部Nからくる割込みを調停する。
As shown in FIG. 1, an interrupt control circuit for a CPU according to the present invention comprises a plurality of interrupt controllers 1, 2,..., N each having one interrupt line, and a plurality of interrupt lines 1, 2,. , N,..., And an upper-level interrupt controller 20 that arbitrates interrupts coming from N. That is, the higher-level interrupt control unit 20 transmits the interrupt control unit 1 of the interrupt line 1,
.., Interrupt line N of interrupt line 2
Arbitrates for the interrupt coming from the interrupt control unit N of FIG.

【0015】割込み回線1の割込み制御部1は、クロッ
ク生成部10、割込み要求パルス検出部#1 11、割
込み要求番号レジスタ#1 12、割込み応答パルス生
成部#1 13、割込み回線1制御部#1 14、割込
み要求部1 15、割込み要求部2 16、割込み要求
部3、・・・、割込み要求部M17から構成されてい
る。
The interrupt controller 1 of the interrupt line 1 includes a clock generator 10, an interrupt request pulse detector # 1 11, an interrupt request number register # 1 12, an interrupt response pulse generator # 1 13, and an interrupt line 1 controller # , An interrupt request unit 115, an interrupt request unit 216, an interrupt request unit 3,..., An interrupt request unit M17.

【0016】割込み要求部1、2、・・・、Mは、割込
み要求パルス信号線に対する割込み発生回路を有する。
割込み要求パルス検出部#1 11は割込み要求パルス
検出回路とパルス位置検出部とを有する。
Each of the interrupt request units 1, 2,..., M has an interrupt generation circuit for an interrupt request pulse signal line.
The interrupt request pulse detection unit # 111 has an interrupt request pulse detection circuit and a pulse position detection unit.

【0017】図2に示すように、割込み要求部1、2、
・・・、Mでは、割込みが同時に発生した時、割込み要
求パルス信号101をクロック信号600に同期し、か
つ、割込み発生回路に割り当てられた番号である割込み
要求番号(M)に対応するタイムスロット部分に割り込
み要求パルス信号101をアクテイブとすることにより
要求する。即ち、割込み要求番号(M)に対応するタイ
ムスロット部分であるパルス位置(M)に割り込み要求
パルス信号101を送出することにより、複数の割り込
み受付を可能とする。
As shown in FIG. 2, interrupt request units 1, 2,.
.., M, when an interrupt occurs simultaneously, the interrupt request pulse signal 101 is synchronized with the clock signal 600 and the time slot corresponding to the interrupt request number (M), which is the number assigned to the interrupt generation circuit. The request is made by activating the interrupt request pulse signal 101 in the portion. That is, a plurality of interrupts can be accepted by transmitting the interrupt request pulse signal 101 to the pulse position (M), which is the time slot corresponding to the interrupt request number (M).

【0018】割込み要求パルス検出部#1 11は、割
込み要求パルス検出回路により割り込み要求パルス信号
101を検出し、パルス位置検出部によりタイムスロッ
ト部分であるパルス位置(M)を検出し、パルス位置
(M)に対応する割込み要求番号(M)を割込み要求番
号レジスタ#1 12に設定するとともに、割込み要求
パルス信号201によりCPUバス501から割込み要
求番号(M)を割込み回線1制御部#1 14へ通知す
る。
The interrupt request pulse detecting section # 1 11 detects the interrupt request pulse signal 101 by the interrupt request pulse detecting circuit, detects the pulse position (M) as a time slot by the pulse position detecting section, and outputs the pulse position (M). The interrupt request number (M) corresponding to M) is set in the interrupt request number register # 1 12 and the interrupt request number (M) is sent from the CPU bus 501 to the interrupt line 1 control unit # 114 by the interrupt request pulse signal 201. Notice.

【0019】割込み回線1制御部#1 14は、1つの
割込み回線1内からくる割込みを調停し割込み要求パル
ス信号301によりCPUバス501から割込み要求番
号(M)を上位の割込み制御部20へ通知する。
The interrupt line 1 control unit # 114 arbitrates an interrupt from one interrupt line 1 and notifies the interrupt request number (M) from the CPU bus 501 to the higher-level interrupt control unit 20 by the interrupt request pulse signal 301. I do.

【0020】上位の割込み制御部20は、複数の割込み
回線1、2、・・・、Nからくる割込み回線N本間の調
停をし、割込み要求パルス信号401によりCPUバス
501から割込み要求番号(M)をCPUへ通知する。
The upper-level interrupt control unit 20 arbitrates between N interrupt lines coming from a plurality of interrupt lines 1, 2,..., N, and sends an interrupt request number (M ) To the CPU.

【0021】CPUは割込み応答パルス信号402によ
りCPUバス501からCPUからの割込み応答番号
(M)を上位の割込み制御部20へ通知する。
The CPU notifies the higher-level interrupt controller 20 of the interrupt response number (M) from the CPU from the CPU bus 501 by the interrupt response pulse signal 402.

【0022】上位の割込み制御部20は割込み応答パル
ス信号302によりCPUバス501からCPUからの
割込み応答番号(M)を割込み回線1制御部#1 14
へ通知する。
The higher-level interrupt control unit 20 receives the interrupt response number (M) from the CPU from the CPU bus 501 by the interrupt response pulse signal 302 and outputs the interrupt line 1 control unit # 114.
Notify to

【0023】割込み回線1制御部#1 14は、割込み
応答パルス信号202によりCPUバス501から割込
み応答番号(M)を割込み応答パルス生成部#1 13
へ通知する。
The interrupt line 1 control unit # 1 14 outputs the interrupt response number (M) from the CPU bus 501 by the interrupt response pulse signal 202 to the interrupt response pulse generation unit # 1 13
Notify to

【0024】割込み応答パルス生成部#1 13は、C
PUからの割込み応答番号(M)に対応するタイムスロ
ット部分であるパルス位置(M)に、割込み応答パルス
信号102をクロック信号600に同期させて生成す
る。
The interrupt response pulse generation unit # 1 13
An interrupt response pulse signal 102 is generated in synchronization with the clock signal 600 at a pulse position (M) which is a time slot portion corresponding to the interrupt response number (M) from the PU.

【0025】また、モード切替部を備えることにより、
タイムスロット部分を使用しないで割り込み受付を可能
とする従来の方式に割込み要求パルス信号線毎に切り替
えることができる。
Further, by providing the mode switching unit,
It is possible to switch to a conventional method that enables interrupt acceptance without using a time slot portion for each interrupt request pulse signal line.

【0026】[0026]

【発明の効果】以上説明したように本発明は、割込みが
同時に発生した時、割込み要求信号線はN本とし、各々
の1本の信号線内をタイムスロットによりMヶに分割
し、割り込み発生回路の割り込みパルス位置(M)によ
り識別することにより、最大N×Mヶまで複数の割り込
み受付が可能となるという効果がある。
As described above, according to the present invention, when an interrupt occurs simultaneously, the number of interrupt request signal lines is set to N, and each of the signal lines is divided into M by time slots to generate an interrupt. Identification by the interrupt pulse position (M) of the circuit has an effect that a plurality of interrupts can be received up to N × M.

【0027】また、回路・装置構成の簡易化が図れるの
で割込み要求受付遅延を少なくするという効果がある。
Further, since the circuit / device configuration can be simplified, there is an effect that the delay in interrupt request acceptance is reduced.

【0028】こうしてCPUへの多数の割り込み受付が
可能で回路・装置構成の簡易化が図れる割込み制御回路
及び該割込み制御回路によるCPUへの割込み制御方法
を実現できる。
In this way, it is possible to realize an interrupt control circuit capable of accepting a large number of interrupts to the CPU and simplifying the circuit / device configuration, and a method of controlling an interrupt to the CPU by the interrupt control circuit.

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

【図1】本発明の実施の形態のブロック構成図である。FIG. 1 is a block configuration diagram of an embodiment of the present invention.

【図2】割込み回線1の割込み要求パルス信号のタイミ
ング図である。
FIG. 2 is a timing chart of an interrupt request pulse signal of an interrupt line 1;

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

1 割込み回線1の割込み制御部 10 クロック生成部 11 割込み要求パルス検出部#1 12 割込み要求番号レジスタ#1 13 割込み応答パルス生成部#1 14 割込み回線1制御部#1 15 割込み要求部1 16 割込み要求部2 17 割込み要求部M 20 上位の割込み制御部 101 割込み要求パルス検出部#1への割込み回線
1の割込み要求パルス信号 102 割込み応答パルス生成部#1からの割込み応
答パルス信号 201 割込み回線1制御部ヘの割込み回線1の割込
み要求パルス信号 202 割込み回線1制御部からの割込み応答パルス
信号 301 割込み制御部ヘの割込み回線1の割込み要求
パルス信号 302 割込み制御部からの割込み応答パルス信号 401 CPUヘの割込み要求パルス信号 402 CPUからの割込み応答パルス信号 501 CPUバス 600 クロック信号 N 割込み回線Nの割込み制御部
Reference Signs List 1 Interrupt control unit of interrupt line 1 10 Clock generation unit 11 Interrupt request pulse detection unit # 1 12 Interrupt request number register # 1 13 Interrupt response pulse generation unit # 1 14 Interrupt line 1 control unit # 1 15 Interrupt request unit 1 16 Interrupt Request unit 2 17 Interrupt request unit M 20 Upper interrupt control unit 101 Interrupt request pulse signal of interrupt line 1 to interrupt request pulse detection unit # 1 102 Interrupt response pulse signal from interrupt response pulse generation unit # 1 201 Interrupt line 1 Interrupt request pulse signal of interrupt line 1 to control unit 202 Interrupt response pulse signal of interrupt line 1 control unit 301 Interrupt request pulse signal of interrupt line 1 to interrupt control unit 302 Interrupt response pulse signal of interrupt control unit 401 CPU Interrupt request pulse signal 402 Interrupt response from CPU The interrupt control unit of the pulse signal 501 CPU bus 600 clock signal N interrupt line N

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 CPUヘの割込み制御回路において、 該割込み制御回路はそれぞれ1つの割込み回線を有する
複数の割込み制御部と、複数の割込み回線からくる割込
みを調停する上位の割込み制御部とから構成され、 前記割込み制御部は、 割込み要求パルス信号線に対し割込み発生回路を有する
複数の割込み要求部と、 割込み要求パルス信号や割込み応答パルス信号を同期さ
せるためのクロック信号を発生するクロック生成部と、 割込み要求パルス検出回路とパルス位置検出部とを有す
る割込み要求パルス検出部と、 前記割込み発生回路に割り当てられた番号である割込み
要求番号が設定される割込み要求番号レジスタと、 1つの割込み回線内からくる割込みを調停し前記割込み
要求パルス信号によりCPUバスから前記割込み要求番
号を前記上位の割込み制御部へ通知する手段と、割込み
応答パルス信号により前記CPUバスから割込み応答番
号を割込み応答パルス生成部へ通知する手段とを備える
割込み回線制御部と、 CPUからの前記割込み応答番号に対応するタイムスロ
ット部分であるパルス位置に、前記割込み応答パルス信
号を前記クロック信号に同期させて生成する割込み応答
パルス生成部とから構成され、 前記割込み要求部は、割込みが同時に発生した時、前記
割込みを前記クロック信号に同期させて割り込み要求パ
ルス信号を発生させるとともに、前記割込み要求番号に
対応するタイムスロット部分であるパルス位置に前記割
り込み要求パルス信号を送出することにより、複数の割
り込み受付を可能とする手段を備え、 前記割込み要求パルス検出部は、 前記割り込み要求パルス信号を検出する前記割込み要求
パルス検出回路と、 前記タイムスロット部分であるパルス位置を検出する前
記パルス位置検出部と、 前記パルス位置に対応する前記割込み要求番号を前記割
込み要求番号レジスタに設定するとともに、前記割込み
要求パルス信号により前記CPUバスから前記割込み要
求番号を前記割込み回線制御部へ通知する手段とを備
え、 前記上位の割込み制御部は、 複数の割込み回線からくる割込みを調停し前記割込み要
求パルス信号により前記CPUバスから前記割込み要求
番号を前記CPUへ通知する手段と、 前記割込み応答パルス信号により前記CPUバスから前
記CPUからの前記割込み応答番号を前記CPUから受
け取る手段と、 前記割込み応答パルス信号により前記CPUバスから前
記CPUからの前記割込み応答番号を前記割込み回線制
御部へ通知する手段とを備えていることを特徴とするC
PUヘの割込み制御回路。
1. An interrupt control circuit for a CPU, comprising: a plurality of interrupt control units each having one interrupt line; and a higher-order interrupt control unit for arbitrating interrupts coming from the plurality of interrupt lines. The interrupt control unit includes: a plurality of interrupt request units having an interrupt generation circuit for an interrupt request pulse signal line; and a clock generation unit that generates a clock signal for synchronizing an interrupt request pulse signal and an interrupt response pulse signal. An interrupt request pulse detection unit having an interrupt request pulse detection circuit and a pulse position detection unit; an interrupt request number register in which an interrupt request number which is a number assigned to the interrupt generation circuit is set; Arbitrates the interrupt coming from the CPU and the interrupt request number from the CPU bus by the interrupt request pulse signal. An interrupt line control unit comprising means for notifying the higher-order interrupt control unit, and means for notifying an interrupt response number from the CPU bus to the interrupt response pulse generation unit using an interrupt response pulse signal; and the interrupt response number from the CPU. An interrupt response pulse generating unit that generates the interrupt response pulse signal in synchronization with the clock signal at a pulse position that is a time slot corresponding to the interrupt request unit. By synchronizing the interrupt with the clock signal to generate an interrupt request pulse signal and transmitting the interrupt request pulse signal to a pulse position that is a time slot corresponding to the interrupt request number, a plurality of interrupt requests can be received. Means for enabling, the interrupt request pulse detection unit, The interrupt request pulse detection circuit for detecting the interrupt request pulse signal; the pulse position detection unit for detecting the pulse position which is the time slot portion; and the interrupt request number register for the interrupt request number corresponding to the pulse position. Means for notifying the interrupt request number from the CPU bus to the interrupt line control unit by the interrupt request pulse signal, wherein the higher-order interrupt control unit arbitrates interrupts coming from a plurality of interrupt lines. Means for notifying the CPU of the interrupt request number from the CPU bus by the interrupt request pulse signal; means for receiving the interrupt response number from the CPU from the CPU bus from the CPU by the interrupt response pulse signal; The CPU receives the interrupt response pulse signal from the CPU bus. Means for notifying the interrupt line control unit of the interrupt response number from a CPU.
Interrupt control circuit to PU.
【請求項2】 請求項1記載のCPUヘの割込み制御回
路において、 前記タイムスロット部分を使用しないで割り込み受付を
可能とする方式に前記割込み要求パルス信号線毎に切り
替える、モード切替部を備えていることを特徴とするC
PUヘの割込み制御回路。
2. The interrupt control circuit for a CPU according to claim 1, further comprising: a mode switching unit configured to switch for each of the interrupt request pulse signal lines to a method that enables an interrupt to be accepted without using the time slot part. C characterized by being
Interrupt control circuit to PU.
【請求項3】 請求項1または請求項2記載のCPUヘ
の割込み制御回路によるCPUヘの割込み制御方法にお
いて、 前記割込み要求部は、割込みが同時に発生した時、前記
割込みを前記クロック信号に同期させて割り込み要求パ
ルス信号を発生させるとともに、前記割込み発生回路に
割り当てられた番号である前記割込み要求番号に対応す
るタイムスロット部分であるパルス位置に前記割り込み
要求パルス信号を送出することにより、複数の割り込み
受付を可能とし、 前記割込み要求パルス検出部は、 前記割込み要求パルス検出回路により前記割り込み要求
パルス信号を検出し、 前記パルス位置検出部により前記タイムスロット部分で
あるパルス位置を検出し、 前記パルス位置に対応する前記割込み要求番号を前記割
込み要求番号レジスタに設定するとともに、前記割込み
要求パルス信号により前記CPUバスから前記割込み要
求番号を前記割込み回線制御部へ通知し、 前記割込み回線制御部は、1つの割込み回線内からくる
割込みを調停し前記割込み要求パルス信号により前記C
PUバスから前記割込み要求番号を上位の割込み制御部
へ通知し、 前記上位の割込み制御部は、複数の割込み回線からくる
割込みを調停し前記割込み要求パルス信号により前記C
PUバスから前記割込み要求番号を前記CPUへ通知
し、 前記CPUは割込み応答パルス信号により前記CPUバ
スから前記CPUからの割込み応答番号を上位の割込み
制御部へ通知し、 前記上位の割込み制御部は、割込み応答パルス信号によ
り前記CPUバスから前記CPUからの割込み応答番号
を前記割込み回線制御部へ通知し、 前記割込み回線制御部は、前記割込み応答パルス信号に
より前記CPUバスから前記割込み応答番号を前記割込
み応答パルス生成部へ通知し、 前記割込み応答パルス生成部は、前記CPUからの前記
割込み応答番号に対応するタイムスロット部分であるパ
ルス位置に、前記割込み応答パルス信号を前記クロック
信号に同期させて生成することを特徴とするCPUヘの
割込み制御回路によるCPUヘの割込み制御方法。
3. The interrupt control method for a CPU by an interrupt control circuit for a CPU according to claim 1 or 2, wherein the interrupt request unit synchronizes the interrupt with the clock signal when the interrupts occur simultaneously. And generating the interrupt request pulse signal, and transmitting the interrupt request pulse signal to a pulse position that is a time slot portion corresponding to the interrupt request number that is a number assigned to the interrupt generation circuit. The interrupt request pulse detecting unit detects the interrupt request pulse signal by the interrupt request pulse detecting circuit, detects the pulse position which is the time slot part by the pulse position detecting unit, and The interrupt request number corresponding to the position is stored in the interrupt request number register. And the interrupt request pulse signal is used to notify the interrupt request number from the CPU bus to the interrupt line control unit. The interrupt line control unit arbitrates an interrupt coming from one interrupt line, and By the pulse signal, the C
The upper-level interrupt controller notifies the upper-level interrupt controller of the interrupt request number from the PU bus. The upper-level interrupt controller arbitrates interrupts coming from a plurality of interrupt lines, and uses the interrupt request pulse signal to control the C level.
The CPU notifies the CPU of the interrupt request number from a PU bus, and the CPU notifies an interrupt response number from the CPU to an upper interrupt control unit from the CPU bus by an interrupt response pulse signal. Notifying an interrupt response number from the CPU to the interrupt line control unit from the CPU bus using an interrupt response pulse signal, the interrupt line control unit transmitting the interrupt response number from the CPU bus using the interrupt response pulse signal Notifying an interrupt response pulse generator, the interrupt response pulse generator synchronizes the interrupt response pulse signal with the clock signal at a pulse position that is a time slot portion corresponding to the interrupt response number from the CPU. Interrupt to CPU by interrupt control circuit to CPU characterized by generating Control method.
JP8067904A 1996-03-25 1996-03-25 Interrupt control method Expired - Lifetime JP2800767B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP8067904A JP2800767B2 (en) 1996-03-25 1996-03-25 Interrupt control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8067904A JP2800767B2 (en) 1996-03-25 1996-03-25 Interrupt control method

Publications (2)

Publication Number Publication Date
JPH09258988A true JPH09258988A (en) 1997-10-03
JP2800767B2 JP2800767B2 (en) 1998-09-21

Family

ID=13358359

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8067904A Expired - Lifetime JP2800767B2 (en) 1996-03-25 1996-03-25 Interrupt control method

Country Status (1)

Country Link
JP (1) JP2800767B2 (en)

Also Published As

Publication number Publication date
JP2800767B2 (en) 1998-09-21

Similar Documents

Publication Publication Date Title
JP2500973B2 (en) Exchange connection system
JP3424901B2 (en) Synchronization method and synchronization method for multiplex system controller
EP0152013A2 (en) Synchronous/asynchronous communication system
US5729701A (en) Method and arrangement to control a data network
JP2800767B2 (en) Interrupt control method
KR20010015874A (en) A/d converter
EP1835410B1 (en) Handling interrupts in a synchronous environment
JP2776417B2 (en) Multiplexed clock distribution method
KR100560565B1 (en) Device and method for controlling bus possession and data transmission in inter-processor communication block of full electronic exchange
JP2502030B2 (en) Synchronizer for a synchronous data processing system.
KR100244682B1 (en) Synchronizing device of system for controlling multiple motor of robot
JPH11136309A (en) Data processing system
JP2000250624A (en) Monitoring system for intra-device state
JPH09114776A (en) Data transmission system
KR100427789B1 (en) Data input / output method
JPH10254821A (en) Data transferring device and its method
JPH04236531A (en) Message communication route switching system
JPH0484255A (en) Mediation system for shared serial bus
KR19990039498U (en) Malfunction Processor Detection Circuit in IPC System
JP2000196603A (en) Device and method for switching atm transmission line
JPH03201050A (en) Data input/output system
JPH01173255A (en) Synchronizing system for plural cpu's
KR20000043347A (en) Data input/output device
JPH01204169A (en) Bus transfer control system
JPH01236851A (en) Selector for system clock distribution line