JPH0375830A - Interruption control circuit - Google Patents

Interruption control circuit

Info

Publication number
JPH0375830A
JPH0375830A JP21162589A JP21162589A JPH0375830A JP H0375830 A JPH0375830 A JP H0375830A JP 21162589 A JP21162589 A JP 21162589A JP 21162589 A JP21162589 A JP 21162589A JP H0375830 A JPH0375830 A JP H0375830A
Authority
JP
Japan
Prior art keywords
interrupt
cpu
circuit
interruption
control
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
JP21162589A
Other languages
Japanese (ja)
Inventor
Hiroto Miyazaki
浩人 宮崎
Toshihiro Ide
井手 利弘
Akio Hirahata
平畑 秋穂
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial Co Ltd
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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP21162589A priority Critical patent/JPH0375830A/en
Publication of JPH0375830A publication Critical patent/JPH0375830A/en
Pending legal-status Critical Current

Links

Landscapes

  • Control By Computers (AREA)
  • Bus Control (AREA)

Abstract

PURPOSE:To recognize an interruption occurred destination by means of one access on a CPU-side by controlling a CPU part and plural interruption supply sources only by two signal lines. CONSTITUTION:Pulse generation circuits 3 provided to the interruption supply sources 1, a control signal line 7 for task-processing plural pulse generation circuits 3 and an interruption recognition circuit 4 provided to the CPU part 2 are provided. The CPU part 2 and plural interruption supply sources 1 are controlled by two signal lines 6 and 7. Thus, the CPU part 2 can recognize the interruption occurred destination by one access on the CPU-side.

Description

【発明の詳細な説明】 産業上の利用分野 本発明は割り込みの制御を行う割り込み制御回路に関す
る。
DETAILED DESCRIPTION OF THE INVENTION Field of the Invention The present invention relates to an interrupt control circuit that controls interrupts.

従来の技術 第5図,第6図は従来にむける割り込み制御回路を示す
ものである。第5図に唱いて、51は割り込みの供給源
、52は割り込みを受けるマイクロコンピュータよシな
るCPU部、53は信号のラッチ回路、54は4人力の
OR回路、55は割2・\−7 シ込み供給源1からの割り込み信号線である。
Prior Art FIGS. 5 and 6 show conventional interrupt control circuits. Referring to FIG. 5, 51 is an interrupt source, 52 is a CPU section such as a microcomputer that receives interrupts, 53 is a signal latch circuit, 54 is a four-man OR circuit, and 55 is an interrupt source. This is an interrupt signal line from the interrupt supply source 1.

第6図にあ・いて、56は各割り込み供給源1からの割
り込みを1本にした信号線、57はCPU2のアドレヌ
とデータのバスである。
In FIG. 6, reference numeral 56 indicates a signal line in which one interrupt from each interrupt supply source 1 is provided, and reference numeral 57 indicates an address and data bus for the CPU 2.

従来の割り込みの制御方法は、1ず第6図の回「各にち
−いて書1]シ込みは、供給源51別に各々1木の割り
込み信号線10を持ちCPU52側に入力し、OR回路
54で1本に変換してCPUに割り込みを発生させると
ともにラッチ回路53にてCPU側で割り込みをラッチ
して、割り込みの供給源51を認識している。
The conventional interrupt control method is as follows: 1. As shown in FIG. 54 converts it into one line to generate an interrupt to the CPU, and a latch circuit 53 latches the interrupt on the CPU side to recognize the interrupt supply source 51.

第6図の回路において割り込みは、供給源1にかかわら
ず1本の信号線56でCPU52側に入力するようにし
、供給源51を認識するために、CPU52は直接全て
の割り込み供給源51に割り込みを発生させているかど
うかをアクセスし認識している。
In the circuit shown in FIG. 6, interrupts are input to the CPU 52 through one signal line 56 regardless of the source 1, and in order to recognize the source 51, the CPU 52 directly interrupts all interrupt sources 51. access and recognize whether or not it is occurring.

発明が解決しようとする課題 しかし、第5図のような回路形態では、割シ込み信号線
55が割り込みの供給源51の数だけ必要となり、固定
されたバスなどを用いたシステムにおいては、割シ込み
線が足らなくなることがある。
Problems to be Solved by the Invention However, in the circuit configuration shown in FIG. 5, the number of interrupt signal lines 55 equal to the number of interrupt supply sources 51 is required. Sometimes there are not enough indentation lines.

また第6図のような回路形態では、固定されたバス」二
でよく使われ、割り込み信号線56は1木でずむが、C
PU52が割シ込みの供給源51を認識するために、全
ての割り込み供給源51をアクセスし認識しなければな
らない。
In addition, in the circuit configuration shown in FIG.
In order for the PU 52 to recognize the interrupt sources 51, all interrupt sources 51 must be accessed and recognized.

そこで、本発明は割り込み供給源の数にかかわらず割シ
込みのための信号線を2本にし、割り込み供給源の認識
を1箇所で行なえるようにしたものである。
Therefore, the present invention provides two signal lines for interrupts regardless of the number of interrupt sources, so that recognition of the interrupt sources can be performed at one location.

課題を解決するための手段 上記の問題を解決するために、本発明は割り込み供給源
側に設けたパルス発生回路と、割り込み供給源間とCP
Uとを接続し、複数のパルス発生回路を排他制御するた
めのコントロールCPU側に設けた割り込み認識回路と
いう(コ14或をイriiiえたものである。
Means for Solving the Problems In order to solve the above-mentioned problems, the present invention provides a pulse generation circuit provided on the interrupt supply source side, and a pulse generation circuit provided between the interrupt supply source and the CP.
This is an interrupt recognition circuit connected to U and provided on the control CPU side for exclusive control of a plurality of pulse generating circuits.

作   用 上記した構成によると、割り込み供給源側に設けた複数
のパルヌ発生回路をタスク処理するためのコン1−ロー
ル信号線と、CPU側に割り込み認識回路を備えること
により、割り込みの供給源の数にかかわらず、割り込み
のため信号線は2本で、割シ込み供給源の認識もCPU
よシ1つのアドレスのアクセスのみで行なえる。
Operation According to the above configuration, by providing the control signal line for task processing of the plurality of parnu generation circuits provided on the interrupt supply source side and the interrupt recognition circuit on the CPU side, the interrupt supply source can be controlled. Regardless of the number of interrupts, there are two signal lines for interrupts, and the CPU also recognizes the interrupt source.
This can be done by accessing only one address.

実施例 以下、本発明の一実施例を添付図面を参照して説明する
。第1図にお−いて、1は割り込み供給源、2は割り込
みを設けるCPU部、3は割り込み供給源1に設けたパ
ルヌ発生回路、4はCPU部2に設けた割シ込み認識回
路、5は割り込みの発生信号、6は割り込み供給源1間
とCPU2をつなぐ割り込みパルス線、7は割り込み供
給源1間とCPU2を結ぶ排他制御するためのコントロ
ール信号線かつ割り込み信号線である。
EXAMPLE Hereinafter, an example of the present invention will be described with reference to the accompanying drawings. In FIG. 1, 1 is an interrupt supply source, 2 is a CPU section that provides an interrupt, 3 is a parnu generation circuit provided in the interrupt supply source 1, 4 is an interrupt recognition circuit provided in the CPU section 2, and 5 1 is an interrupt generation signal, 6 is an interrupt pulse line connecting the interrupt source 1 and the CPU 2, and 7 is a control signal line and an interrupt signal line for exclusive control connecting the interrupt source 1 and the CPU 2.

第2図は、本発明のパルス発生回路3の構成を示すもの
である。また、第3図は、本発明の割り込み認識回路4
の構成を示すものである。第2図にあ・いて、8は割り
込みの発生信号線、9は割り込み供給源内のクロック信
写・線、10は2一つのイネーブル入力付きカウンタで
ある。第4図は第3図のカウンタ10の動作仕様を示す
もので、dは制御動作、bはカウント動作を示すもので
ある。
FIG. 2 shows the configuration of the pulse generating circuit 3 of the present invention. Further, FIG. 3 shows an interrupt recognition circuit 4 of the present invention.
This shows the configuration of In FIG. 2, 8 is an interrupt generation signal line, 9 is a clock copy line in the interrupt supply source, and 10 is a counter with one enable input. FIG. 4 shows the operational specifications of the counter 10 shown in FIG. 3, where d indicates a control operation and b indicates a counting operation.

第1図,第2図,第3図に示す回路構成例についてその
動作を説[υ]する。
The operation of the circuit configuration examples shown in FIGS. 1, 2, and 3 will be explained [υ].

基本の動作は、第1図の割り込み供給源1の1つから割
り込みが発生すると、第1図の割り込み信号終了を経て
CPU2に割り込みを発生させるとどもに、その、供給
源1のパルス発生回路3よシその供給源独自のパルヌが
発生し、第1図の割り込みパルヌ信す線6を経て、CP
U部2の割り込み認識回路でそのパルヌをカウント、ラ
ッチスルことによりそれをCPU2が取シ込み、割シ込
みを認識する。
The basic operation is that when an interrupt is generated from one of the interrupt sources 1 in FIG. 1, the pulse generation circuit of the source 1 generates an interrupt to the CPU 2 after the interrupt signal ends in 3, a parnu unique to the source is generated, and the CP
The interrupt recognition circuit of the U unit 2 counts and latches the parnu, and the CPU 2 receives it and recognizes the interrupt.

しかし、同時に数カ所で割シ込みが発生した場合のため
に、第1図,第2図,第3図の信号線6と第2図のカウ
ンタ10以外のような回路を設け、1箇所より割り込み
が発生しパルスがでてくると、6・\− / 第1図の排他制御のためのコントロール信号線を経て、
他の割り込み供給源にたとえ割り込みが発生しても、先
に発生した割り込みのパルス出力が終了する1で割シ込
みパルスを発生しないように排他制御を行なっている。
However, in case interrupts occur in several places at the same time, a circuit other than the signal line 6 in Figures 1, 2, and 3 and the counter 10 in Figure 2 is provided to handle interrupts from one place. When a pulse is generated, 6・\- / passes through the control signal line for exclusive control shown in Figure 1,
Even if an interrupt occurs in another interrupt supply source, exclusive control is performed so that no interrupt pulse is generated at 1, when the pulse output of the interrupt that occurred first ends.

瞥た、CPUがCPU部に入力したパルヌを読み込む時
に、割り込みが発生しカウント数が変化するのを避ける
ために、第1図,第2図,第3図の信号線6と第3図の
カウンタ10以外のような回路を設け、読み込みの間は
、たとえ割り込みが発生しても読み込みが終了する昔で
割シ込みパルスが発生しないようにしている。
I noticed that when the CPU reads the PALNU input to the CPU section, in order to avoid the occurrence of an interrupt and the change in the count number, the signal line 6 in Figures 1, 2, and 3 and the signal line 6 in Figure 3 are connected. A circuit other than the counter 10 is provided to prevent an interrupt pulse from occurring during reading, even if an interrupt occurs, since the reading ends.

以上のように、割シ込みの供給側に設けるパルス発生回
路3と、複数のパルス発生回路3をタスク処理するため
のコンl−ロール信号線と、CPU側に設ける割り込み
認識回路4とを設けることにより、CPUと複数の割り
込み供給源の間を2本の信号線でコントロールでき、C
PUが割り込み発色光の認識を1回のアクセスでできる
ようになる。
As described above, the pulse generation circuit 3 provided on the interrupt supply side, the control signal line for task processing the plurality of pulse generation circuits 3, and the interrupt recognition circuit 4 provided on the CPU side are provided. This allows control between the CPU and multiple interrupt sources with two signal lines, and
The PU can now recognize interrupt colored light with one access.

発明の効果 以」二のように本発明は、割シ込みの供給側に設けるパ
ルス発生回路と、複数のパルス発生回路をタスク処理す
る/どめのコントロール CPU側に設ける割り込み認識回路とで構成すると、C
PUと複数の割り込み供給源の間を2本の信号線のみで
コントロールが可能になり、CPUが割り込み発生光の
認識をCPU側の1回アクセスでできるようになる。
Effects of the Invention As described in 2, the present invention comprises a pulse generation circuit provided on the interrupt supply side and an interrupt recognition circuit provided on the control CPU side that processes the plurality of pulse generation circuits. Then, C
It becomes possible to control the connection between the PU and a plurality of interrupt sources using only two signal lines, and the CPU can recognize an interrupt generated light with a single access from the CPU side.

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

第1図は本発明に釦ける割り迭み制御の全体構成図、第
2図は従来の技術にわける割り込み制御回路の構成図、
第3図は本発明の割り込み認識回路の構成図、第4図は
第2図,第3図のカウンタの動作仕様を示す説明図、第
5図,第6図は従来の技術にかける割り込みの制御回路
図である。 1・・・・割り込み供給源、2・・・・・・CPU部、
3・・・・・パルス発生回路、4・・・・・・割り込み
認識回路、6。 7・・・・・信号線。
FIG. 1 is an overall configuration diagram of the interrupt control circuit according to the present invention, and FIG. 2 is a configuration diagram of the interrupt control circuit according to the conventional technology.
Fig. 3 is a block diagram of the interrupt recognition circuit of the present invention, Fig. 4 is an explanatory diagram showing the operational specifications of the counters shown in Figs. 2 and 3, and Figs. It is a control circuit diagram. 1... Interrupt supply source, 2... CPU section,
3...Pulse generation circuit, 4...Interrupt recognition circuit, 6. 7...Signal line.

Claims (1)

【特許請求の範囲】[Claims] 割り込み供給側に設けたパルス発生回路と、複数のパル
ス発生回路を排他制御するためのコントロール信号線と
、CPU側に設けた割り込み認識回路とで構成し、CP
Uと複数の割り供給源の間を2本の信号線で接続したこ
とを特徴とする割り込み制御回路。
The CPU consists of a pulse generation circuit provided on the interrupt supply side, a control signal line for exclusive control of multiple pulse generation circuits, and an interrupt recognition circuit provided on the CPU side.
An interrupt control circuit characterized in that two signal lines connect U and a plurality of interrupt supply sources.
JP21162589A 1989-08-17 1989-08-17 Interruption control circuit Pending JPH0375830A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP21162589A JPH0375830A (en) 1989-08-17 1989-08-17 Interruption control circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP21162589A JPH0375830A (en) 1989-08-17 1989-08-17 Interruption control circuit

Publications (1)

Publication Number Publication Date
JPH0375830A true JPH0375830A (en) 1991-03-29

Family

ID=16608871

Family Applications (1)

Application Number Title Priority Date Filing Date
JP21162589A Pending JPH0375830A (en) 1989-08-17 1989-08-17 Interruption control circuit

Country Status (1)

Country Link
JP (1) JPH0375830A (en)

Similar Documents

Publication Publication Date Title
US4320450A (en) Protection apparatus for multiple processor systems
JPH0375830A (en) Interruption control circuit
JPS62157961A (en) Method of controlling interruption in multiprocessor system
WO1994006079A1 (en) Fault tolerant three port communications module
JP2847741B2 (en) Microcomputer
JPS5866136A (en) Interruption detection
JP2566139B2 (en) Bus interface circuit
JPH05324407A (en) Cpu monitor system
JPH0713879A (en) Bus connecting device
JPH053016B2 (en)
JPS59173827A (en) Direct memory access control device
JPS61184645A (en) Interruption control system
JPH02249054A (en) Data processor
JPS62190953A (en) Control circuit for communication control unit of communication control equipment
JPS6128146B2 (en)
JPH04266147A (en) Bus adaptor device
JPH0223445A (en) Bus supervisory and controlling system
JPS61150062A (en) Interruption control circuit
JPH10333920A (en) Interruption processing circuit
JPS58121453A (en) Processor module
JPS6320633A (en) Information processor
JPH02266435A (en) Data processing circuit
JPS59208627A (en) Data processor
JPH0668015A (en) Assign information holding circuit
JPH04170653A (en) Cache memory system