JPS6016659B2 - Interrupt priority control method - Google Patents

Interrupt priority control method

Info

Publication number
JPS6016659B2
JPS6016659B2 JP2640478A JP2640478A JPS6016659B2 JP S6016659 B2 JPS6016659 B2 JP S6016659B2 JP 2640478 A JP2640478 A JP 2640478A JP 2640478 A JP2640478 A JP 2640478A JP S6016659 B2 JPS6016659 B2 JP S6016659B2
Authority
JP
Japan
Prior art keywords
sub
control device
priority
control
flip
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.)
Expired
Application number
JP2640478A
Other languages
Japanese (ja)
Other versions
JPS54118747A (en
Inventor
立機 市橋
茂雄 中塚
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP2640478A priority Critical patent/JPS6016659B2/en
Publication of JPS54118747A publication Critical patent/JPS54118747A/en
Publication of JPS6016659B2 publication Critical patent/JPS6016659B2/en
Expired legal-status Critical Current

Links

Landscapes

  • Bus Control (AREA)

Description

【発明の詳細な説明】 この発明は一つの主制御装置と複数の副制御装置からな
るデジタル処理装置における割込み磯先順位の制御方式
に関するものである。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a control system for interrupt priority in a digital processing device comprising one main control device and a plurality of sub-control devices.

一般に一つの主制御装置が多数の副制御装置を制御する
際に、主制御装置の割込み受付け可能数が同時には一つ
であるため、同時発生した割込みを処理するために、各
副制御装置に優先順位を付す必要がある。
Generally, when one main controller controls many sub-control devices, the main controller can only accept one interrupt at a time, so each sub-control device must be It is necessary to prioritize.

従来、この種の穣先順位はあらかじめ固定的に決定され
ている場合が多く、優先順位付きェンコーダを用いたり
、割込み発生機構を持つ制御装置間の布線によって決定
される場合が大部分であった。
Conventionally, this type of priority order has often been fixedly determined in advance, and in most cases it has been determined by using a priority encoder or by wiring between control devices that have an interrupt generation mechanism. Ta.

第1図は従来の実施例における後者の例で、図中1は割
込み処理を行う主制御装置、2,2a,2b,2i,2
nは優先順位制御線、3は割込み信号線、4a,4b,
4i,4nは副制御装置で、特に4i‘ま同様の副制御
装置が複数台接続されていることを示す。
FIG. 1 shows an example of the latter in a conventional embodiment, in which 1 is a main controller that performs interrupt processing, 2, 2a, 2b, 2i, 2
n is a priority control line, 3 is an interrupt signal line, 4a, 4b,
4i and 4n are sub-control devices, and in particular 4i' indicates that a plurality of similar sub-control devices are connected.

5a,5b,5nは割込み要求フリップ・フロップを示
しているが、その入力条件等は省略している。
Reference numerals 5a, 5b, and 5n indicate interrupt request flip-flops, but their input conditions are omitted.

6a,6b,6nは割込み要求信号線、7a,7b,7
nはその入力が共に論理“1”のときのみその出力が論
理“1”になるANDゲート、8a,8b,8nは入力
の論理を反転させた出力を持つィンバータ、9a,9b
,9nは論理薄ゲート出力を反転させた出力を持つ論理
簿反転ゲートで、出力がオープン・コレクタのため布線
結合された出力信号線3は各劉制御装置で発生した割込
み要求6a,6b,6nの論理和をとった論理値になる
6a, 6b, 6n are interrupt request signal lines, 7a, 7b, 7
n is an AND gate whose output becomes logic "1" only when both of its inputs are logic "1"; 8a, 8b, and 8n are inverters having outputs that invert the logic of the inputs; 9a, 9b
, 9n is a logic register inversion gate having an output that is an inversion of the logic thin gate output, and since the output is an open collector, the wire-coupled output signal line 3 receives interrupt requests 6a, 6b, 6b, It becomes a logical value obtained by calculating the logical sum of 6n.

ここで優先順位の制御は信号線2,2a,2b,2i,
2nおよびゲート7a,7b,7n,8a,8b,8n
によって行われている。
Here, priority control is performed by signal lines 2, 2a, 2b, 2i,
2n and gates 7a, 7b, 7n, 8a, 8b, 8n
It is carried out by

最も高い優先順位を与えたい副制御装置は主制御装置1
からの優先順位制御線2が接続され、この信号線2は主
制御装置1内で常に論理“1”に保たれるため、副制御
装置4a内の優先順位制御ゲート7aは常に開いた状態
に保たれ、副制御装置4a内の割込み要求6aが、ア
論理“1”のとき(即ち割込み要求が有るとき)は、ゲ
ート9aを通じて割込み信号線3が駆動され、主制御装
置1に割込み要求が伝達されると共に、制御ゲート7a
はィンバータ8aの出力によって閉じられ、優先順位制
御線2aは論理“0”に保たれる。
The sub-control unit to which you want to give the highest priority is main control unit 1.
Since this signal line 2 is always kept at logic "1" in the main controller 1, the priority control gate 7a in the sub controller 4a is always open. is maintained, and the interrupt request 6a in the sub-control device 4a is
When the logic is "1" (that is, when there is an interrupt request), the interrupt signal line 3 is driven through the gate 9a, the interrupt request is transmitted to the main controller 1, and the control gate 7a
is closed by the output of the inverter 8a, and the priority control line 2a is kept at logic "0".

ィ 論理“0”のとき(即ち割込み要求が無いとき)は
、割込み信号線3は駆動されず、同時にィンバータ8a
の出力は“1”になるため、優先順位制御線2aは論理
“1”になる。
When the logic is “0” (that is, when there is no interrupt request), the interrupt signal line 3 is not driven, and at the same time the inverter 8a
Since the output becomes "1", the priority control line 2a becomes logic "1".

次に優先順位制御線2aが接続される副制御装置4bに
ついて優先順位を考えると、優先順位制御線2aが論理
“1”のときには副制御装置4aと同様な動作が行える
が、論理“0”のときには、割込み要求信号線6bが論
理“1”であっても、割込み信号線3は駆動できず、同
時に制御ゲート7bが閉じられるため、その出力2bは
論理“0”に保たれる。
Next, considering the priority of the sub-control device 4b to which the priority control line 2a is connected, when the priority control line 2a is logic "1", it can perform the same operation as the sub-control device 4a, but when the priority control line 2a is logic "0" At this time, even if the interrupt request signal line 6b is at logic "1", the interrupt signal line 3 cannot be driven and at the same time, the control gate 7b is closed, so its output 2b is kept at logic "0".

即ち副制御装置4bは副制御袋贋4bは副制御装贋4a
が割込み要求を発生していないときにのみ割込み要求を
出せることになり、従って両装置間の優先順位は、副制
御装置4a>副制御装置4bとなる。
That is, the sub-control device 4b is the sub-control device counterfeit 4b, and the sub-control device counterfeit 4a is the sub-control device counterfeit 4a.
An interrupt request can be issued only when the sub-control device 4a is not generating an interrupt request, and therefore the priority order between the two devices is sub-control device 4a>sub-control device 4b.

副制御装置4i,4nも同様の動作をするため副制御装
置の後先順位は、結局副制御装置4a>副制御装置4b
>副制御装置4i>副制御装置4nとなる。
Since the sub-control devices 4i and 4n also operate in the same way, the order of priority after the sub-control devices is ultimately sub-control device 4a>sub-control device 4b.
>Sub-control device 4i>Sub-control device 4n.

これは割込み優先順位が優先順位制御線の布線によって
一義的に決定されていることを表わしている。
This indicates that the interrupt priority is uniquely determined by the wiring of the priority control line.

このような制御方式の特徴は、副制御装置からの割込み
要求の同時発生確率が低い場合には比較的簡単な回路で
対応できること、割込み要求が発生してから受付けられ
るまでの待時間に制限が無い場合や、すべての都制御装
置に穣先順位を附して良い場合に有効であることなどで
ある。
The characteristics of this control method are that it can be handled with a relatively simple circuit when the probability of simultaneous occurrence of interrupt requests from the sub-control device is low, and that there is no limit to the waiting time from when an interrupt request is generated until it is accepted. This is effective when there is no such system, or when it is okay to assign a priority order to all control devices.

しかし、このような形式の優先順位制御を行うと、例え
ば、副制御装置4a,4nに同時に割込み要求が発生し
、主制御装置1が副制御装置4aの割込みを受付けて処
理を行っているときに、副制御装置4bに割込み要求が
発生すると、主制御装置1は、副制御装置4aの割込み
処理の次に劉制御装置4nよりも優先順位の高い副制御
装置4bの割込み要求を処理することになる。
However, if this type of priority control is performed, for example, when interrupt requests occur simultaneously in the sub-control devices 4a and 4n, and the main control device 1 is accepting and processing the interrupt from the sub-control device 4a, When an interrupt request is generated in the sub-control device 4b, the main control device 1 processes the interrupt request of the sub-control device 4b, which has a higher priority than the Liu control device 4n, after the interrupt processing of the sub-control device 4a. become.

さらに、副制御装置4bの割込処理が行われている最中
に再び副制御装置4aの割込みが発生すると、主制御装
置1は副制御装置4bの割込み処理が終了すると同時に
副制御装置4aの割込み処理に入る。結局副制御装置4
nの割込み要求は、それよりも商い優先順位を持つ副制
御装置4a,4b,4iの割込み要求がすべて処理され
た後に割込み処理が行われることになり、各劉制御装置
4a,4b,4i,4nからの割込み要求の同時発生確
率が高い場合には、割込み要求が発生してから処理され
るまでの待時間の平均は、より高い優先順位を持つ副制
御装置の割込み要求が発生してから処理されるまでの待
時間の平均に較べて長くなる。このようなことは、各副
制御装置が同種の処理を行うために均等な割込み処理サ
ービスを必要とする場合においては、割込み要求の重複
確率(同時発生確率)が高い場合に、優先順位の高低に
よって割込み要求が発生してから処理されるまでの待時
間に差が生じるため均等な割込み処理サービスが実現で
きず、好ましくない。なお、割込み発生中の副制御装置
番号を、王制御装置が認識することは、主制御装置が各
畠8制御装置に対し、一斎に入力命令を実行したときに
割込み信号線3を駆動している副制御装置が自装置番号
をバス・ラインを通じて主制御装置に伝達する機構を待
つことにより、容易になされることが一般に知られてい
るためここでは説明、および図面は省略する。
Furthermore, if an interrupt from the sub-control device 4a occurs again while the interrupt processing by the sub-control device 4b is being performed, the main control device 1 will terminate the sub-control device 4a at the same time that the interrupt processing by the sub-control device 4b is completed. Enter interrupt processing. After all, sub-control device 4
The interrupt request of n is processed after all the interrupt requests of the sub-control devices 4a, 4b, 4i which have a higher priority are processed. When the probability of simultaneous occurrence of interrupt requests from 4n is high, the average waiting time from when an interrupt request is generated until it is processed is equal to This will be longer than the average waiting time until processing. In cases where each sub-control device requires equal interrupt processing services to perform the same type of processing, it is important to note that if the probability of duplicate interrupt requests (simultaneous occurrence probability) is high, priority This is undesirable because a difference occurs in the waiting time from when an interrupt request is generated until it is processed, making it impossible to achieve uniform interrupt processing services. The main controller recognizes the sub-control device number where an interrupt is occurring by driving the interrupt signal line 3 when the main controller executes an input command to each Hatake 8 control device. It is generally known that this can be easily done by waiting for a mechanism in which the sub-control device in question transmits its own device number to the main control device through the bus line, and therefore the explanation and drawings will be omitted here.

この発明は各副制御装置の優先順位を順次変化させるこ
とによって、主制御装置が各畠正制御装置に対し、平均
的に均等な割込み処理サービスを提供できるようにした
もので、以下図面を用いて詳細に説明する。
This invention enables the main controller to provide uniform interrupt processing services to each Hatamasa control device on average by sequentially changing the priority order of each sub-control device. This will be explained in detail.

第2図はこの発明の実施例であり、11は割込み処理を
行う主制御装置、12a,12b,12i,12nは副
制御装置、13a,13b,13nは割込み要求フリッ
プ・フロツプ、14a,14b,14nは優先順位制御
装置フリップフロップ、15a,15b,15nはオー
プン・コレクター出力を持つインバータ、16はインバ
ータ15a,15b,15nの出力を布線結合し、論理
和をとった制御用データ線、17a,17b,17nは
論理和ゲート、18a,18b,18nは優先順位制御
線、19a,19b,19i,19nは優先順位制御用
データ線で、通常次の優先順位制御用フリップ・フロッ
プ14a,14b,14nのデータ入力に接続される。
FIG. 2 shows an embodiment of the present invention, in which 11 is a main controller that performs interrupt processing, 12a, 12b, 12i, and 12n are sub controllers, 13a, 13b, and 13n are interrupt request flip-flops, and 14a, 14b, and 13n are interrupt request flip-flops. 14n is a priority control device flip-flop; 15a, 15b, 15n are inverters with open collector outputs; 16 is a control data line in which the outputs of the inverters 15a, 15b, 15n are wire-coupled and logically summed; 17a; , 17b, 17n are OR gates, 18a, 18b, 18n are priority control lines, 19a, 19b, 19i, 19n are priority control data lines, and normally the next priority control flip-flops 14a, 14b, 14n data input.

20a,20b,20nは割込み要求フリップ・フロツ
プ13a,13b,13nの出力、21は各優先順位制
御用フリツプ・フロツプ14a,14b,14nのクロ
ック入力に共通に接続されるクロツク信号である。初め
に、優先順位制御用フリップ・フロップ14a,14b
,14nの動作を説明する。
20a, 20b, 20n are the outputs of the interrupt request flip-flops 13a, 13b, 13n, and 21 is a clock signal commonly connected to the clock input of each priority control flip-flop 14a, 14b, 14n. First, priority control flip-flops 14a, 14b
, 14n will be explained.

第3図は優先順位制御用フリップ・フロツプ14a,1
4b,14nの部分を表わす図、第4図は第3図の動作
波形例である。
FIG. 3 shows priority control flip-flops 14a, 1.
FIG. 4, which is a diagram showing the portions 4b and 14n, is an example of the operating waveform of FIG. 3.

第3図でフリップ・フロツプ14a,14b,14nは
、T入力の立ち上りでD入力の内容をラッチし、Q出力
に出力するD型フリップ・フロップである。右端に位置
するフリップ・フロップの出力19nは制御用データ線
16には接続しない。
In FIG. 3, flip-flops 14a, 14b, and 14n are D-type flip-flops that latch the contents of the D input at the rising edge of the T input and output it to the Q output. The output 19n of the flip-flop located at the right end is not connected to the control data line 16.

このような構成を持つ論理回路は、D型フリップ・フロ
ップ14a,14b,14nのうち唯一つが論理“1”
の出力を持つリングカウンタとして動作し、第4図に示
すように論理“1”の信号が唯一つのフリツプ・フロツ
プの出力に現われ、クロックに同期してシフトされる。
この論理“1”の信号は第2図で最高優先順位を示す信
号として使われている。
In the logic circuit having such a configuration, only one of the D-type flip-flops 14a, 14b, and 14n has logic "1".
As shown in FIG. 4, a logic "1" signal appears at the output of only one flip-flop and is shifted synchronously with the clock.
This logic "1" signal is used in FIG. 2 as a signal indicating the highest priority.

例えば、優先順位制御用データ線19aが論理“1”の
ときには副制御装置12aにおける論理和ゲート17a
の出力は、他の副制御装置の割込み要求の有無にかかわ
らず、論理“1”になり、優先順位制御用論理積ゲート
7aは開いた状態、になる。この状態は副制御装置12
aが、他の副制御装置12b,12i,12nに優先し
て割込み要求を主制御装鷹11に伝達しうろことを意味
し、即ち、副制御装置12aが最高割込み優先順位を持
っていることを表わしている。このとき各副制御装置1
2a,12b,12i,12nの優先順位は、第1図の
例と同様に布線によって定まり、副制御装置12a>副
制御装置12b>副制御装魔12i>副制御装置12n
となる。
For example, when the priority control data line 19a is logic "1", the OR gate 17a in the sub-control device 12a
The output becomes logic "1" regardless of the presence or absence of an interrupt request from another sub-control device, and the priority control AND gate 7a becomes open. In this state, the sub-control device 12
a means that the interrupt request will be transmitted to the main controller 11 with priority over the other sub-control devices 12b, 12i, and 12n, that is, the sub-control device 12a has the highest interrupt priority. It represents. At this time, each sub-control device 1
The priority order of 2a, 12b, 12i, and 12n is determined by the wiring as in the example of FIG.
becomes.

次に、主制御装置11から、クロック線21上にクロツ
クパルスが1つ出されると、優先順位制御用データ線1
9a上にあった論理“1”信号は、フリップ・フロップ
14bに読込まれ、優先順位制御用データ線19b上に
出力されるため、今度は、副制御装置12bが割込み最
高優先順位を持つことになる。
Next, when one clock pulse is output from the main controller 11 onto the clock line 21, the priority control data line 21
The logic "1" signal on 9a is read into the flip-flop 14b and output on the priority control data line 19b, so the sub-control unit 12b now has the highest interrupt priority. Become.

このとき各副制御装置12a,12b,12i,12n
の優先順位は、右端の副制御装置12nの優先順位制御
用データ線18nが、主制御装置11を通って副制御装
置12aに接続されているところから副制御装置12b
>副制御装置12i>副制御装置12n>副制御装置1
2aとなる。
At this time, each sub-control device 12a, 12b, 12i, 12n
The priority of the rightmost sub-control device 12n is determined from the point where the priority control data line 18n of the right-most sub-control device 12n is connected to the sub-control device 12a through the main control device 11 to the sub-control device 12b.
>Sub-control device 12i>Sub-control device 12n>Sub-control device 1
It becomes 2a.

即ち、副制御装置12b,12i,12nの優先順位は
それぞれ1つづつ高くなり、最高優先順位にあった副制
御装置12aの優先順位は最低となる。
That is, the priority of the sub-control devices 12b, 12i, and 12n increases one by one, and the priority of the sub-control device 12a, which had the highest priority, becomes the lowest.

ここでクロツクパルスが、一つの割込みが処理される毎
に、あるいは連続的に適当な間隔で供孫合されると、上
記過程が繰り返されることになり、これを一つの副制御
装置に着目して、その装置の優先順位の変化として表わ
したものが第5図である。
Here, if the clock pulse is applied each time one interrupt is processed or continuously at appropriate intervals, the above process will be repeated, and this can be explained by focusing on one sub-control device. FIG. 5 shows changes in the priority order of the device.

第5図で、円内の数字は優先順位を表わしており、1が
最高、nが最低である。nは接続される副制御装置の数
に等しい。ところで、各劉制御装贋12a,12b,1
2i,12nが、それぞれ第5図のような優先順位の変
化を持つとすれば、適当な間隔を持つ多数のク。
In FIG. 5, the numbers in circles represent priorities, with 1 being the highest and n being the lowest. n is equal to the number of connected subcontrollers. By the way, each Liu control device 12a, 12b, 1
If 2i and 12n each have a change in priority order as shown in FIG.

ックパルスが存在するような、ある一定期間を考えると
、各劉制御装置に与えられる優先順位は、平均的には、
等しくなる。この発明は以上のよるな作用を利用して、
見かけ上優先順位の等しい優先順位制御方式を提供する
ものである。
Considering a certain period of time during which a clock pulse exists, the priority given to each Liu controller is, on average,
be equal. This invention takes advantage of the above-mentioned effects,
This provides a priority control method in which the priorities are apparently equal.

以上のようにこの発明に係る優先順位制御方式では各畠
山制御装置の割込み優先順位を、最高順位から最低順位
まで均等に変化させることにより、各劉制御装置に等し
い割込み優先順位を与えることができるため、従来の方
式で発生した各畠。制御装置の割込み要求が発生してか
ら割込み処理が行われるまでの時間の平均が、各副制御
装置によって大きく異なるという事機を解消することが
でき、均等な割込み処理が実現できる。
As described above, in the priority control system according to the present invention, by equally changing the interrupt priority of each Hatakeyama control device from the highest priority to the lowest priority, it is possible to give equal interrupt priority to each Liu control device. Therefore, each field generated by the traditional method. It is possible to eliminate the situation in which the average time from the generation of an interrupt request of the control device until the interrupt processing is performed varies greatly depending on each sub-control device, and uniform interrupt processing can be realized.

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

第1図は従来の優先順位制御方式の構成図、第2図は本
発明の一実施例を示す図、第3図は第2図より優先順位
制御用フリツプ・フロツプおよびオープンコレクタ出力
インバータの部分を抜き出した図、第4図は第3図の回
路の動作波形例を示す図、第5図は第2図における副制
御装置のうちの一つに着目して前記装置の陵先順位が変
化する様子を示した図である。 図中1は割込み処理を行う主制御装贋、2,2a,2b
,2i,2nは優先順位制御線、3は割込み信号線、4
a,4b.4i,4nは副制御菱直で、特に4iは同様
の副制御袋直が複数台接続されることを示している。 5a,5b,5nは割込み要求フリツブ・フロツプ、6
a,6b,6nは割込み要求信号線7a,7b,7nは
論理積ゲート、8a,8b,8nはインバータ、9a,
9b,gnはオープン・コレクタ出力を持つ論理穣反転
ゲートであり、11は主制御葬贋、12a,12b,1
2i,12nは副制御装置、13a,13b,13nは
割込み要求フリツプ・フロツプ、14a.14b,14
nは優先順位制御用フリツプ・フロツプ、15a,15
b,15nはオープン・コレクター出力を持つインバー
タ、16は制御用データ線、17a,17b,17nは
論理和ゲート18a,18b,18nは優先順位制御線
19a,19b,19i,19nは優先順位制御用デー
タ線、20a,20b,20nは割込み要求フリツブ・
フロツプ13a.13b,13nの出力、21は各優先
順位制御用フリップ・フロップのクロック入力に共通に
接続されるクロツク信号である。 なお、図中、同一あるいは相当部分には同一符号を付し
て示してある。多l図 多Z図 多ミ図 多4図 多5図
FIG. 1 is a block diagram of a conventional priority control system, FIG. 2 is a diagram showing an embodiment of the present invention, and FIG. 3 is a diagram of a priority control flip-flop and an open collector output inverter shown in FIG. FIG. 4 is a diagram showing an example of the operation waveform of the circuit in FIG. 3, and FIG. 5 is a diagram showing an example of the operation waveform of the circuit in FIG. 3, and FIG. FIG. In the figure, 1 is the main control device that performs interrupt processing, 2, 2a, 2b
, 2i, 2n are priority control lines, 3 is an interrupt signal line, 4
a, 4b. 4i and 4n are sub-controllers; in particular, 4i indicates that a plurality of similar sub-controllers are connected. 5a, 5b, 5n are interrupt request flip-flops, 6
a, 6b, 6n are interrupt request signal lines 7a, 7b, 7n are AND gates, 8a, 8b, 8n are inverters, 9a,
9b, gn are logic inverting gates with open collector output, 11 is a main control gate, 12a, 12b, 1
2i, 12n are sub-control units; 13a, 13b, 13n are interrupt request flip-flops; 14a. 14b, 14
n is a flip-flop for priority control, 15a, 15
b, 15n are inverters with open collector outputs, 16 is control data lines, 17a, 17b, 17n are OR gates 18a, 18b, 18n are priority control lines 19a, 19b, 19i, 19n are for priority control Data lines 20a, 20b, 20n are interrupt request fritubs.
Flop 13a. The outputs 13b and 13n, 21, are clock signals commonly connected to the clock inputs of each priority control flip-flop. In the drawings, the same or corresponding parts are denoted by the same reference numerals. Multiple diagrams, multiple Z diagrams, multiple diagrams, multiple 4 diagrams, multiple 5 diagrams

Claims (1)

【特許請求の範囲】[Claims] 1 割込み発生機構を持つ複数の副制御装置から発生す
る複数の割込みを、割込み受付機構を持つ主制御装置が
、受付けて処理を行うものにおいて、上記各副制御装置
に一つずつ優先順位制御のためのフリツプ・フロツプを
設け、上記フリツプ・フロツプを直列に接続して、上記
フリツプ・フロツプのうち一つのフリツプ・フロツプの
みを論理“1”(または“0”)に設定するリングカウ
ンタを構成し、上記論理“1”(または“0”)のフリ
ツプ・フロツプを有する上記副制御装置を最も高い優先
順位とし、上記リングカウンタを構成する各フリツプ・
フロツプに、上記主制御装置から共通に与えられるパル
スにより、上記フリツプ・フロツプに保持される論理“
1”4(または“0”)をシストさせるようにし、かつ
、上記副制御装置は入力を持ち、この入力と上記フリツ
プ・フロツプの出力の論理和をとるORゲートと、割込
み要求の否定をとるNOTゲートと、このNOTゲート
の出力と上記ORゲートの出力の論理積をとるANDゲ
ートと、このANDゲートの出力を上記副制御装置から
送り出す出力を持ち、全ての上記各副制御装置の上記出
力を次段の副制御装置の上記入力に接続することにより
上記各副制御装置を環状に接続し、上記フリツプ・フロ
ツプが論理“1”にセツトされた上記副制御装置が最高
の優先順位を持ち、以下、次段の上記副制御装置が順次
低い優先順位を持ち、上記最高優先順位を持つ副制御装
置の入力に接続された出力を持つ副制御装置が最低の優
先順位を持つようにし、上記パルスにより上記各フリツ
プ・フロツプに保持される論理“1”をシフトさせるよ
うにして、上記各副制御装置の持つ優先順位を最低から
最高まで巡回的に順次変化させるようにしたことを特徴
とする割込み優先順位制御方式。
1. In a device in which a main control device with an interrupt reception mechanism receives and processes multiple interrupts generated from a plurality of sub-control devices with an interrupt generation mechanism, each of the above-mentioned sub-control devices is assigned priority control one by one. A ring counter is constructed by connecting the flip-flops in series and setting only one of the flip-flops to logic "1" (or "0"). , the sub-control device having the logic "1" (or "0") flip-flop is given the highest priority, and each flip-flop constituting the ring counter is given the highest priority.
The logic held in the flip-flop is controlled by a pulse commonly applied to the flip-flop from the main controller.
1"4 (or "0"), and the sub-control device has an input, and an OR gate that logically ORs this input with the output of the flip-flop, and negates the interrupt request. It has a NOT gate, an AND gate that takes the logical product of the output of this NOT gate and the output of the above OR gate, and an output that sends the output of this AND gate from the above-mentioned sub-control device, and the above-mentioned output of each of the above-mentioned sub-control devices. The sub-control units are connected in a ring by connecting the sub-control unit to the input of the next sub-control unit, and the sub-control unit whose flip-flop is set to logic “1” has the highest priority. , the sub-control devices in the next stage have sequentially lower priorities, and the sub-control device whose output is connected to the input of the sub-control device with the highest priority has the lowest priority; The logic "1" held in each of the flip-flops is shifted by a pulse, so that the priority of each of the sub-control devices is sequentially changed cyclically from the lowest to the highest. Interrupt priority control method.
JP2640478A 1978-03-08 1978-03-08 Interrupt priority control method Expired JPS6016659B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2640478A JPS6016659B2 (en) 1978-03-08 1978-03-08 Interrupt priority control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2640478A JPS6016659B2 (en) 1978-03-08 1978-03-08 Interrupt priority control method

Publications (2)

Publication Number Publication Date
JPS54118747A JPS54118747A (en) 1979-09-14
JPS6016659B2 true JPS6016659B2 (en) 1985-04-26

Family

ID=12192607

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2640478A Expired JPS6016659B2 (en) 1978-03-08 1978-03-08 Interrupt priority control method

Country Status (1)

Country Link
JP (1) JPS6016659B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0436905B2 (en) * 1989-02-20 1992-06-17 Tokico Ltd

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS60180050U (en) * 1985-04-18 1985-11-29 カシオ計算機株式会社 Common bus line occupancy control device
EP0295901B1 (en) * 1987-06-16 1995-12-20 Canon Kabushiki Kaisha An image fixing apparatus

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0436905B2 (en) * 1989-02-20 1992-06-17 Tokico Ltd

Also Published As

Publication number Publication date
JPS54118747A (en) 1979-09-14

Similar Documents

Publication Publication Date Title
JP2507833B2 (en) Micro computer
US4542455A (en) Signal-processing multiprocessor system
JPS6016659B2 (en) Interrupt priority control method
US4805096A (en) Interrupt system
GB2263795A (en) Interrupt priority using timer circuit.
US3999170A (en) Multiple access interconnect system
JPH0259949A (en) Daisy chain interruption processor
SU679983A1 (en) Priority unit
SU397911A1 (en) PROGRAMMABLE AUTOMATIC
JP2828994B2 (en) Data transmission equipment
KR200446071Y1 (en) Logic gateway circuit for bus that supports multiple interrput request signals
JP2636937B2 (en) Multi-stage data buffer transfer circuit
JPH0267665A (en) Interface circuit
JPS6335042A (en) Line scanning controller
SU1290321A1 (en) Dynamic priority device
JPS59229643A (en) Sorting operation circuit
SU1381504A1 (en) Microprogram controller
SU1374224A1 (en) Priority interruption device
JP2828995B2 (en) Data transmission equipment
JPS61281622A (en) Counter circuit
JPS592931B2 (en) Data output order control method to common bus
JPS60138636A (en) General-purpose pipeline arithmetic device
JPS5947335B2 (en) Interrupt processing method
JPH04192059A (en) Control method for data processing circuit and data latch circuit used to this processing circuit
JPH05120031A (en) Micro computer