JPH0330044A - Interruption control method - Google Patents
Interruption control methodInfo
- Publication number
- JPH0330044A JPH0330044A JP16390089A JP16390089A JPH0330044A JP H0330044 A JPH0330044 A JP H0330044A JP 16390089 A JP16390089 A JP 16390089A JP 16390089 A JP16390089 A JP 16390089A JP H0330044 A JPH0330044 A JP H0330044A
- Authority
- JP
- Japan
- Prior art keywords
- signal
- interrupt
- cpu
- interruption
- timing
- 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
Links
- 238000000034 method Methods 0.000 title claims description 20
- 238000010586 diagram Methods 0.000 description 4
- 230000000694 effects Effects 0.000 description 2
- QWXYZCJEXYQNEI-OSZHWHEXSA-N intermediate I Chemical compound COC(=O)[C@@]1(C=O)[C@H]2CC=[N+](C\C2=C\C)CCc2c1[nH]c1ccccc21 QWXYZCJEXYQNEI-OSZHWHEXSA-N 0.000 description 2
- 230000001360 synchronised effect Effects 0.000 description 2
Landscapes
- Bus Control (AREA)
Abstract
Description
【発明の詳細な説明】
[産業上の利用分野]
本発明は、複数のI/Oがらの割込要求に対し、CPU
の割込サイクルを各I/Oへ通知する割込制御方法に関
する。[Detailed Description of the Invention] [Field of Industrial Application] The present invention provides a method for handling interrupt requests from a plurality of I/Os by a CPU.
The present invention relates to an interrupt control method for notifying each I/O of an interrupt cycle.
[従来の技術]
複数のI/Oからの割込要求に対してCPUの割込サイ
クルを通知するには、従来より2つの方法が知られてい
る。[Prior Art] Two methods are conventionally known for notifying a CPU interrupt cycle in response to interrupt requests from a plurality of I/Os.
第1の方法は、各I/Oで独立に割込要求信号を出力し
、CPU側で各割込要求信号に対応して各I/Oヘアク
ノリッジ信号を出力する方法である。この第1の方法を
第3図に示す。The first method is to output an interrupt request signal independently for each I/O, and output a hair acknowledge signal for each I/O in response to each interrupt request signal on the CPU side. This first method is shown in FIG.
第3図に示すI/O−1、I/O−2および工/0−n
からの割込要求信号1,2、3に対して、CPUから割
込アクノリッジ信号4、5、6がそれぞれ対応する各I
/Oへ出力される。I/O-1, I/O-2 and engineering/0-n shown in Figure 3
In response to interrupt request signals 1, 2, and 3 from the CPU, interrupt acknowledge signals 4, 5, and 6 are sent from the CPU to each corresponding I
Output to /O.
また、複数のI/Oからの割込要求に対してCPUの割
込サイクルを通知する第2の方法は、各I/Oで共通の
割込要求信号を使用し、CPU側から1本の割込アクノ
リッジ信号を出力する方法であり、各I/Oはデイジー
チェーンで接続されている。この第2の方法を第4図に
示す。The second method of notifying CPU interrupt cycles in response to interrupt requests from multiple I/Os uses a common interrupt request signal for each I/O, and a single signal from the CPU side. This is a method of outputting an interrupt acknowledge signal, and each I/O is connected in a daisy chain. This second method is shown in FIG.
I/O−1、I/O−2およびI / O − nから
の割込要求信号7に対して、CPUから最初のI/O
(ここではI/O−1)への割込アクノリツジ信号8を
出力する。I/O−1は、自己が割込要求信号を送出し
ていなければ、下位のI/O−2へ割込アクノリツジ信
号中継出力9を出力する。The first I/O from the CPU in response to interrupt request signal 7 from I/O-1, I/O-2 and I/O-n.
It outputs an interrupt acknowledge signal 8 to (here, I/O-1). If the I/O-1 does not send out an interrupt request signal, it outputs an interrupt acknowledge signal relay output 9 to the lower I/O-2.
I/O−2が割込要求信号を出力していれば、I/O−
2は、下位゛のI / O − nへの割込アクノリッ
ジ信号中継出力10を出力せずに、CPUの割込サイク
ルを獲得する。If I/O-2 is outputting an interrupt request signal, I/O-
2 acquires the CPU interrupt cycle without outputting the interrupt acknowledge signal relay output 10 to the lower I/O-n.
第4図に示す第2の方法では、例えば工/〇一1が取り
外されると、CPUからの割込アクノリッジ信号8はI
/O−1で中断されることになるので、割込アクノリッ
ジ信号8を割込アクノリツジ信号中継出力9へ中継する
手段が必要となる。In the second method shown in FIG.
Since the interrupt is interrupted at /O-1, means for relaying the interrupt acknowledge signal 8 to the interrupt acknowledge signal relay output 9 is required.
[発明が解決しようとする課題コ
上述した第1の方法では、各I/OとCPU側との接続
が個別に必要となり、配線が複雑となる欠点がある。[Problems to be Solved by the Invention] The first method described above has the disadvantage that each I/O and the CPU side must be individually connected, making the wiring complicated.
また、第2の方法では、各I/Oの間の割込アクノリッ
ジ信号がデイジーチェーンで接続されるため、途中のI
/Oを取り外した場合に割込アクノリッジ信号を中継す
る手段が必要となる欠点がある。In addition, in the second method, the interrupt acknowledge signals between each I/O are connected in a daisy chain.
There is a drawback that a means for relaying the interrupt acknowledge signal is required when /O is removed.
[課題を解決するための手段]
本発明は、上記の問題点に鑑みてなされたもので、各I
/O間を共通信号で接続し、かつ途中のI/Oを取り外
しても特別な信号の中継手段が不要となるようにするこ
とを目的とする。[Means for Solving the Problems] The present invention has been made in view of the above problems, and each
It is an object of the present invention to connect I/Os with a common signal, and to eliminate the need for special signal relay means even if I/Os in the middle are removed.
この目的を達或するために、本発明による割込制御方法
は、複数のI/Oから出力される共通の割込要求信号と
、CPUの割込サイクルを示す割込アクノリッジ信号と
、割込アクノリッジ信号に同期し、かつ複数のI/Oの
アドレスに割り当てられたタイムスロットを有するタイ
ミング信号と、CPUの割込サイクルが使用されている
ことを示すビジー信号を用いることにより、複数のI/
Oのアドレスに割り当てられたタイミング信号のタイム
スロットにおいて、ビジー信号の判断を行うことで割込
サイクルを獲得するように構成されている。In order to achieve this objective, the interrupt control method according to the present invention uses a common interrupt request signal output from a plurality of I/Os, an interrupt acknowledge signal indicating a CPU interrupt cycle, and an interrupt control method. By using a timing signal that is synchronized with the acknowledge signal and has time slots assigned to the addresses of multiple I/Os, and a busy signal that indicates that a CPU interrupt cycle is being used, multiple I/O
It is configured to obtain an interrupt cycle by determining a busy signal in the time slot of the timing signal assigned to address O.
[実施例コ 以下、,本発明を図面に基づいて説明する。[Example code] Hereinafter, the present invention will be explained based on the drawings.
第1図は、本発明による割込制御方法の一実施例を示す
ブロック回路図であり、第2図は、第1図に示す回路の
動作を説明するタイミングチャートである。なお、実施
例の説明としては、I/O−2が割込要求を゛出した場
合を例示する。FIG. 1 is a block circuit diagram showing an embodiment of the interrupt control method according to the present invention, and FIG. 2 is a timing chart illustrating the operation of the circuit shown in FIG. 1. In addition, as an explanation of the embodiment, a case where the I/O-2 issues an interrupt request will be exemplified.
I/O−2が割込要求することにより、割込要求信号1
1がアクティブとなり、CPUへ伝送される。CPUは
、割込要求を受け付けると、割込アクノリッジ信号12
をアクティブとすると共に、割込アクノリッジ信号l2
に同期してタイミング信号13を出力する。When the I/O-2 requests an interrupt, the interrupt request signal 1
1 becomes active and is transmitted to the CPU. When the CPU receives an interrupt request, it sends an interrupt acknowledge signal 12.
is activated, and the interrupt acknowledge signal l2 is activated.
The timing signal 13 is outputted in synchronization with.
I/O−1は、自己のアドレスに対応したタイミング信
号13のタイムスロットt1で割込要求の有無をチェッ
クする。このときI/O−1は、自己が割込要求を出力
していなければ、ビジー信号l4をインアクティブに保
つ。I/O-1 checks whether there is an interrupt request at time slot t1 of timing signal 13 corresponding to its own address. At this time, I/O-1 keeps the busy signal 14 inactive unless it outputs an interrupt request.
I/O−2は、自己のアドレスに対応したタイミング信
号13のタイムスロットt2で割込要求を有無をチェッ
クする。このとき、ビジー信号14がインアクティブで
あることを確認し、自己が割込サイクルを獲得できるこ
とを検出してから、ビジー信号14をアクティブとする
。その後、割込アクノリッジ信号12がアクティブの間
、ビジー信号14をアクティブに保持する。I/O-2 checks whether there is an interrupt request at time slot t2 of timing signal 13 corresponding to its own address. At this time, after confirming that the busy signal 14 is inactive and detecting that it can acquire an interrupt cycle, the busy signal 14 is activated. Thereafter, the busy signal 14 is held active while the interrupt acknowledge signal 12 is active.
I/O−Mは、自己のアドレスに対応したタイミング信
号13のタイムスロットtnでで割込要求を有無をチェ
ックするが、このとき既にビジー信号14がアクティブ
となっているので、自己が割込要求を出力していても、
割込サイクルを獲得できないことを検出する。The I/O-M checks whether there is an interrupt request at the time slot tn of the timing signal 13 corresponding to its own address, but since the busy signal 14 is already active at this time, the I/O-M does not accept the interrupt request. Even if you output the request,
Detects failure to obtain an interrupt cycle.
このようにして、各I/O間を共通信号で接続するよう
にし、各I/Oのアドレスに対応するタイムスロットで
割込サイクルを獲得するようにしたことで、途中のI/
Oを取り外しても特別な信号の中継手段を用いることは
不要となるようにしている。In this way, each I/O is connected by a common signal, and an interrupt cycle is acquired in the time slot corresponding to the address of each I/O, so that intermediate I/O
Even if O is removed, there is no need to use a special signal relay means.
[発明の効果コ
以上で説明したように、本発明は、複数の工/0から出
力される共通の割込要求信号と、CPUの割込サイクル
を示す割込アクノリツジ信号と、割込アクノリッジ信号
に同期し、かつ複数のI/Oのアドレスに割り当てられ
たタイムスロットを有するタイミング信号と、CPUの
割込サイクルが使用されていることを示すビジー信号を
用いることにより、複数のI/Oのアドレスに割り当て
られたタイミング信号のタイムスロットにおいて、ビジ
ー信号の判断を行うことで割込サイクルを獲得するよう
に構或したことにより、各I/O間を共通信号で接続す
ることが可能となり、途中のI/Oを取り外しても特別
な信号の中継手段が不要となる効果がある。[Effects of the Invention] As explained above, the present invention provides a common interrupt request signal output from a plurality of processors/0s, an interrupt acknowledge signal indicating a CPU interrupt cycle, and an interrupt acknowledge signal. By using a timing signal that has time slots that are synchronized to the address of the multiple I/Os and assigned to the addresses of the multiple I/Os, and a busy signal that indicates that a CPU interrupt cycle is being used, By configuring the system to obtain an interrupt cycle by determining a busy signal in the time slot of the timing signal assigned to the address, it is possible to connect each I/O with a common signal. Even if the intermediate I/O is removed, there is an effect that no special signal relay means is required.
第1図は、本発明による割込制御方法の一実施例を示す
ブロック回路図、
第2図は、第工図に示す回路の動作を説明するタイミン
グチャート、
第3図は、従来の割込制御方法の一例を示すブロック回
路図、
第4図は、従来の割込制御方法の他の例を示すブロック
回路図である。
11
12
工3
1 4
割込要求信号
割込アクノリッジ信号
タイミング信号
ビジー信号FIG. 1 is a block circuit diagram showing one embodiment of the interrupt control method according to the present invention, FIG. 2 is a timing chart explaining the operation of the circuit shown in FIG. 3, and FIG. 3 is a conventional interrupt control method. Block circuit diagram showing an example of a control method FIG. 4 is a block circuit diagram showing another example of a conventional interrupt control method. 11 12 Engineering 3 1 4 Interrupt request signal Interrupt acknowledge signal Timing signal Busy signal
Claims (1)
/Oのアドレスに割り当てられたタイムスロットを有す
るタイミング信号と、 CPUの割込サイクルが使用されていることを示すビジ
ー信号を用いることにより、 前記複数のI/Oのアドレスに割り当てられた前記タイ
ミング信号のタイムスロットにおいて、前記ビジー信号
の判断を行うことで割込サイクルを獲得することを特徴
とする割込制御方法。[Scope of Claims] A common interrupt request signal output from a plurality of I/Os; an interrupt acknowledge signal indicating an interrupt cycle of a CPU;
By using a timing signal having a time slot assigned to the /O address and a busy signal indicating that a CPU interrupt cycle is being used, the timing assigned to the plurality of I/O addresses is determined. An interrupt control method characterized in that an interrupt cycle is obtained by determining the busy signal in a signal time slot.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP1163900A JP2536622B2 (en) | 1989-06-28 | 1989-06-28 | Interrupt control method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP1163900A JP2536622B2 (en) | 1989-06-28 | 1989-06-28 | Interrupt control method |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH0330044A true JPH0330044A (en) | 1991-02-08 |
| JP2536622B2 JP2536622B2 (en) | 1996-09-18 |
Family
ID=15782956
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP1163900A Expired - Fee Related JP2536622B2 (en) | 1989-06-28 | 1989-06-28 | Interrupt control method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP2536622B2 (en) |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2006191247A (en) * | 2005-01-05 | 2006-07-20 | Nec Corp | Both polarized wave receiving device |
| JP2007089043A (en) * | 2005-09-26 | 2007-04-05 | Sharp Corp | Control method and control system |
Citations (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS50156335A (en) * | 1974-06-05 | 1975-12-17 |
-
1989
- 1989-06-28 JP JP1163900A patent/JP2536622B2/en not_active Expired - Fee Related
Patent Citations (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS50156335A (en) * | 1974-06-05 | 1975-12-17 |
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2006191247A (en) * | 2005-01-05 | 2006-07-20 | Nec Corp | Both polarized wave receiving device |
| US7742549B2 (en) | 2005-01-05 | 2010-06-22 | Nec Corporation | Dual-polarization receiver |
| JP2007089043A (en) * | 2005-09-26 | 2007-04-05 | Sharp Corp | Control method and control system |
Also Published As
| Publication number | Publication date |
|---|---|
| JP2536622B2 (en) | 1996-09-18 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP2533192B2 (en) | Power-on reset circuit in multiprocessor system | |
| KR100583214B1 (en) | Information processing apparatus | |
| JP2968733B2 (en) | Serial bus controller | |
| JP2536622B2 (en) | Interrupt control method | |
| JPH02105961A (en) | Multiprocessor synchronization system | |
| JP2588290B2 (en) | Data input / output system | |
| JPS6356755A (en) | Abnormality supervising system for slave processor | |
| JPS59176863A (en) | Timer synchronizing system | |
| JPH0426914Y2 (en) | ||
| KR100244682B1 (en) | Synchronizing device of system for controlling multiple motor of robot | |
| JPH0318958A (en) | Multiprocessor system | |
| JPH08206Y2 (en) | Parallel multiple electronic interlocking device | |
| JPH04654A (en) | Bus control system | |
| JPH0287260A (en) | Multi-cpu system with safety interlocking function | |
| JPS61204757A (en) | Inter-processor communication system | |
| JPS59142661A (en) | Dual type processing unit | |
| JPS60230254A (en) | Use bus informing system in distributed processing system | |
| JPS63271512A (en) | Resetting circuit for plural central arithmetic processor | |
| JPH02270010A (en) | Time synchronizing method for multiple computer system | |
| JPH0370266B2 (en) | ||
| JPH03156552A (en) | Direct memory access control circuit system | |
| JPH07248803A (en) | Synchronizing device for dual device | |
| JPH02240752A (en) | Time informing system in information processor | |
| JPS63214865A (en) | Additional processor control circuit | |
| JPH06325002A (en) | Synchronizing method for plural computers |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| LAPS | Cancellation because of no payment of annual fees |