JPS6134660A - Priority selection controlling system - Google Patents

Priority selection controlling system

Info

Publication number
JPS6134660A
JPS6134660A JP15664284A JP15664284A JPS6134660A JP S6134660 A JPS6134660 A JP S6134660A JP 15664284 A JP15664284 A JP 15664284A JP 15664284 A JP15664284 A JP 15664284A JP S6134660 A JPS6134660 A JP S6134660A
Authority
JP
Japan
Prior art keywords
processing
interrupt
adapter
interruption
circuit
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
JP15664284A
Other languages
Japanese (ja)
Inventor
Toshiyuki Odakawa
小田川 敏之
Yoshihisa Ogawa
小川 義久
Hiroshi Takahashi
弘 高橋
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP15664284A priority Critical patent/JPS6134660A/en
Publication of JPS6134660A publication Critical patent/JPS6134660A/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)
  • Bus Control (AREA)

Abstract

PURPOSE:To execute in a short time a priority selection of an interruption processing request from an I/O, and also to reduce an interruption processing signal applied to a processing circuit by executing the priority selection of an interruption processing between adaptors of plural I/Os. CONSTITUTION:Adaptors #0-#3 have a circuit for controlling an I/O, and a priority order of an interruption, etc. is determined by this circuit. An interrupting signal is stored in an interruption register IR01, and its output is provided to an OR gate OR01 and OR is executed. This result is outputted to a common part 1 and an AND gate A01, and the common part 1 outputs an interruption receiving signal to the adaptors #0-#3. As a result, the adaptors #0-#3 execute a priority selection of an interruption processing by its signal and reply automatically in response to an interruption reception of a common processing circuit successively from an interruption of a high level. In this way, the priority selection of the interruption processing request from the I/O can be executed in a short time, and an interruption processing signal applied to the processing circuit can be reduced.

Description

【発明の詳細な説明】 (1)発明の技術分野 本発明は割込み信号を有する制御システムに係わり、特
に割込み信号を発生した装置が優先順位の高いものより
自動的に動作する優先選択制御方式に関する。
DETAILED DESCRIPTION OF THE INVENTION (1) Technical Field of the Invention The present invention relates to a control system having an interrupt signal, and more particularly to a priority selection control method in which a device that generates an interrupt signal automatically operates over a device with a higher priority. .

(2)技術の背景 コンピュータの入出力装置において、並列処理等を行う
ために一般的には割込み処理が多くなされている。たと
えば、1行印字の命令を出力装置に出力した時には、1
行の印字終了と同時に割込みが処理装置に加わり、処理
装置はその割込みによって次行の印字の命令を再度出力
装置に出力する。また何らかの異常によって処理装置へ
の処理要求が発生した時にも、この割込みによって処理
装置は処理を実行する。
(2) Background of the Technology In computer input/output devices, interrupt processing is generally performed frequently in order to perform parallel processing and the like. For example, when outputting a command to print one line to an output device, one
Simultaneously with the completion of printing a line, an interrupt is applied to the processing device, and the processing device uses the interrupt to output a command for printing the next line to the output device again. Further, even when a processing request to the processing device is generated due to some abnormality, the processing device executes the processing by this interruption.

前述のような割込み信号は一台の入出力装置より出力さ
れるとは限らず、多数の入出力装置が接続された場合に
は同時に多数の入出力装置より割込み信号が処理装置に
加わることがある。このような場合にはあらかじめ設定
されている優先順位によってその割込みに対する処理を
処理装置は実行する。
The interrupt signal mentioned above is not necessarily output from a single input/output device, but when multiple input/output devices are connected, interrupt signals may be applied to the processing device from multiple input/output devices at the same time. be. In such a case, the processing device executes processing for the interrupt according to preset priorities.

また、同一の入出力装置内においてもその割込みに対す
る処理を複数有する場合もありその処理においても優先
順位を要求する。このような場合にも前述と同様にあら
かじめ設定されている優先順位によってその割込みに対
する処理装置は実行する。
Furthermore, even within the same input/output device, there may be multiple processes for the interrupt, and these processes also require priority. In such a case, the processing device for the interrupt executes the interrupt according to the preset priority order as described above.

(3)従来技術と問題点 従来、前述のような多数の割込みが発生するようなシス
テムにおいては次のような優先順位の割込み処理がなさ
れていた。その第1の割込み処理は複数の割込みに対す
る優先選択処理用の共通回路を設εす、その共通回路で
優先順位を求めてその処理を処理回路で選択的に実行す
るものである。
(3) Prior Art and Problems Conventionally, in a system in which a large number of interrupts as described above occur, interrupt processing has been performed in the following priority order. The first interrupt processing involves setting up a common circuit for priority selection processing for a plurality of interrupts, determining priorities in the common circuit, and selectively executing the processing in a processing circuit.

第2の割込み処理は割込みを発生する入出力装置側に優
先選択用のインターフェース回路を設け。
For the second interrupt processing, an interface circuit for priority selection is provided on the input/output device side that generates the interrupt.

このインターフェース回路において入出力装置相互間で
優先順位を比較し、優先する入出力装置を選択して実行
するものである。
This interface circuit compares the priorities among the input/output devices, selects and executes the input/output device with priority.

前述の第1の割込み処理は全ての入出力装置から必要な
情報を信号として共通回路に加る為の専用の信号線が各
々必要であり、さらにその信号の優先順位を決定するた
めの回路が大きくなる問題を有していた。第2の割込み
処理は入出力装置の優先順位を時分割で比較するためそ
の優先順位決定に時間がかかる問題を有していた。
The above-mentioned first interrupt processing requires a dedicated signal line for each input/output device to send the necessary information as a signal to the common circuit, and a circuit to determine the priority of the signals. I had a growing problem. The second interrupt processing has a problem in that it takes time to determine the priorities because the priorities of the input/output devices are compared on a time-sharing basis.

(4)発明の目的 本発明は前記問題点を解決するものであり、その目的と
するところは入出力装置からの割込み処理要求の優先選
択を短時間で行い、さらに処理回路に加わる割込み処理
信号が少ない優先選択制御方式を提供することにある。
(4) Purpose of the Invention The present invention is intended to solve the above-mentioned problems, and its purpose is to prioritize interrupt processing requests from input/output devices in a short time, and furthermore, to reduce interrupt processing signals applied to processing circuits. The object of the present invention is to provide a priority selection control method with fewer problems.

(5)発明の構成 本発明の特徴とするところは、マイクロプロセッサによ
ってそれぞれ制御される複数のアダプタが処理回路に接
続された制御システムにおいて。
(5) Structure of the Invention The present invention is characterized by a control system in which a plurality of adapters each controlled by a microprocessor are connected to a processing circuit.

前記アダプタは前記処理回路に加わる割込み信号の優先
順位を制御する共通ハスにそれぞれ接続され、該共通バ
スに前記アダプタより加える信号に対しすべてのアダプ
タが同一に処理するプログラムと同一の優先順位決定用
テーブルをそれぞれ有し、前記処理回路への割込のは共
通になされ、処理回路の割込み応答に対しは、前記優先
順位決定用−i−−フルニ基ツいて対応する高いレベル
ノアタプタが動作することを特徴とした優先選択制御方
式にある。
The adapters are each connected to a common bus that controls the priorities of interrupt signals applied to the processing circuit, and all adapters process the signals applied from the adapters to the common bus in the same way as a program for determining the priority. Each table has a table, interrupts to the processing circuit are made in common, and a corresponding high-level adapter operates based on the priority determination -i-Fulni base for interrupt responses of the processing circuit. The priority selection control method is characterized by:

(6)発明の実施例 以下2図面を用いて本発明の詳細な説明する。(6) Examples of the invention The present invention will be described in detail below using two drawings.

第1図は本発明の実施例の回路構成図である。FIG. 1 is a circuit diagram of an embodiment of the present invention.

なお、複数の線よりなるものは全て方線で表している。Note that all lines made up of multiple lines are represented by normal lines.

アダプタ#0〜#3は例えば、入出力装置を制御する回
路を含むものであり、この回路によって割込み等の優先
順位が決定される。そしてアダプタ#0〜#3は本発明
の実施例における回路をそれぞれ有している。なお、後
述するが優先度によって一部の接続が異なる。以下では
まずアダプタ#0を用いてその動作を説明する。
Adapters #0 to #3 include, for example, a circuit that controls input/output devices, and this circuit determines the priority order of interrupts and the like. Adapters #0 to #3 each have a circuit according to an embodiment of the present invention. Note that, as will be described later, some connections differ depending on the priority. In the following, the operation will first be explained using adapter #0.

割込みレジスタIRoには図示しない回路より加わる割
込み信号が格納される。アダプタ#0は4レベルの割込
み要求があり、レジスタIRaは4ビツトのレジスタで
ある。その出力はオアゲー)ORQIに加わり+ If
!理和かなされる。オアゲ一部○Ro+はこれらの4レ
ベルの割込みのうち少なくともルベルの割込めが発生じ
1”)した時に出力を1″とするための回路である。そ
して、その出力は共通部1とアンドゲートAo+に加わ
る。(オアゲートORθ1はオーブンコレクタ出力であ
り、アダプタ#0〜#3の全ての出方が共通に共通部1
に加わる。)この入力によって共通部1はいづれかのア
ダプタより割込みが発生したことを検出する。しかしな
がら共通部1は割込みの発生は検出してもどのアダプタ
からの割込みであるかをその入力信号によって検出する
ことはできない。どのアダプタからの割込みであり。
An interrupt signal applied from a circuit not shown is stored in the interrupt register IRo. Adapter #0 has four levels of interrupt requests, and register IRa is a 4-bit register. The output is added to ORQI + If
! Reasonable. Orage part ○Ro+ is a circuit for setting the output to 1'' when at least a level interrupt occurs (1'') among these four level interrupts. Then, the output is applied to the common section 1 and the AND gate Ao+. (OR gate ORθ1 is the oven collector output, and all outputs of adapters #0 to #3 are common to common part 1.
join. ) By this input, the common unit 1 detects that an interrupt has occurred from any adapter. However, even if the common unit 1 detects the occurrence of an interrupt, it cannot detect which adapter the interrupt is from based on its input signal. Which adapter is the interrupt from?

さらにどのような割込みであるかを検出するための割込
み受付信号を共通部1は全てのアダプタ#0〜#3に出
力する。各アダプタ#0〜#3はその信号によって割込
み処理のためのデータを共通部1に出力するのであるが
、その出力はレベルの高いアダプタがまず出力する。な
お、高いレベルとは順にアダプタ付0.アダプタ#1.
アダプタ#2.アダプタ#3であり1割込み要求を発生
した最も高いものが前述の信号に対して応答する。
Further, the common unit 1 outputs an interrupt acceptance signal to all adapters #0 to #3 to detect what kind of interrupt it is. Each adapter #0 to #3 outputs data for interrupt processing to the common unit 1 according to the signal, and the adapter with the higher level outputs first. In addition, the highest level is 0.0 with an adapter. Adapter #1.
Adapter #2. Adapter #3, which generated one interrupt request the highest, responds to the aforementioned signal.

そして、その割込み処理がなされ、以後、順次低いレベ
ルに対しての割込み処理がなされる。前述の割込み受付
信号に対する応答に関し2割込み処理を要求すなわち割
込みを発生しているアダプタのうちで、各アダプタが最
も高いレベルであるか否かを各アダプタで検出しなくて
は順次共通部よりの割込み受付は信号に対する応答がで
きない。
Then, the interrupt processing is performed, and thereafter, interrupt processing is performed for successively lower levels. Regarding the response to the above-mentioned interrupt acceptance signal, each adapter must detect whether or not it is at the highest level among the adapters that request two interrupt processing, that is, generate an interrupt. Interrupt acceptance cannot respond to signals.

これを検出するのが第1図に示した各アダプタ#0〜#
3の回路である。
Each adapter #0 to ## shown in Figure 1 detects this.
This is the third circuit.

以下ではまずアダプタ#0より割込みが発生した場合を
説明する。割込み優先選択処理(テーブル書き換え動作
)が可能の時にはセントリセットフリップフロップRO
2はリセットされているのでその出力″0”がインバー
タ1口Iによってインバートされ1″がアンドゲートA
o+の入力に加わる。これによってアンドゲートAo+
はオンとなる。オアゲートORθ1より加わる“1”の
信号はアンドゲートAo+を介してセットリセットフリ
ップフロップRo+をセットする。このセントリセット
フリップフロップRo+のセットにより出力は“1”と
なり他のアダプタに割込みが発生したことを出力する。
In the following, the case where an interrupt occurs from adapter #0 will be explained first. When interrupt priority selection processing (table rewriting operation) is possible, the center reset flip-flop RO
Since 2 is reset, its output "0" is inverted by the inverter 1 I, and 1" is the AND gate A.
Adds to the input of o+. By this, and gate Ao+
is turned on. A signal of "1" applied from the OR gate ORθ1 sets the set/reset flip-flop Ro+ via the AND gate Ao+. By setting the center reset flip-flop Ro+, the output becomes "1" and outputs to other adapters that an interrupt has occurred.

一方アダプタ#0のオアゲート0RO2の入力は全て接
地(“0”が入力)されているのでその出力も“0″と
なり、インパークro2を介して1″がアントゲ−1−
An2の第1の入力に加わる。また、セントリセットフ
リップフロップRO3はこの時リセットされているので
“0”が出力されている。そしてインパークIo3〜I
o5を介して“1”となりアンドゲートAO2の第2の
入力に加わる。アントゲ−)・An2の第1、第2の入
力には前述したように“1”が加わっているので、第3
の入力に加わっているセントリセットフリップフロップ
Ro+の信号(このときには“1″)がアンドゲートA
O2を介してセットリセットフリッププロップR[13
に加わりセットリセットフリップフロップRO3をセン
トする。このセントリセットフリップフロップRo3の
七ノドにより、出力が“1”となりナントゲートNAo
Iをオンとする。
On the other hand, all the inputs of the OR gate 0RO2 of adapter #0 are grounded (“0” is input), so the output is also “0”, and 1” is sent to the ant game 1-1 through imper ro2.
It is added to the first input of An2. Furthermore, since the center reset flip-flop RO3 has been reset at this time, it outputs "0". And Impark Io3~I
It becomes "1" through o5 and is applied to the second input of AND gate AO2. Antogame)・Since "1" is added to the first and second inputs of An2 as mentioned above, the third input
The signal (“1” at this time) of the center reset flip-flop Ro+ that is applied to the input of the AND gate A
Set-reset flip-prop R[13 via O2
and sends the set-reset flip-flop RO3. The output of this center reset flip-flop Ro3 becomes "1" and the Nantes gate NAo
Turn on I.

一方アダプタより割込み要求が発生した時にはそのレベ
ルとアダプタに対応したプロセッサの選択処理スタート
アドレス(テーブル作成用スタートアドレス)がレジス
タIRo 2に格納される。
On the other hand, when an interrupt request is generated from the adapter, its level and the processor selection processing start address (table creation start address) corresponding to the adapter are stored in register IRo2.

ナンドゲー)NAθ1が前述した動作によりオンとなっ
ているので、アドレスバスBAにはそのアドレスのイン
バート値が出力される。この時インバータIo7には前
述したセットリセットフリップフロップRo3の出力す
なわち1″が加わっているので、その出力が加わるアン
ドゲートAO3は0″を出力する。
Since NAθ1 (Nando Game) is turned on by the above-described operation, the inverted value of the address is output to the address bus BA. At this time, since the output of the aforementioned set-reset flip-flop Ro3, ie, 1'' is applied to the inverter Io7, the AND gate AO3 to which the output is applied outputs 0''.

アンドゲートka 4. An fi、オアゲートOR
3,インバータIo[IはレジスタTRo 2の出力と
インバータIll、6の出力六を選択する回路を構成し
ている。アンドゲートAO3の出力が“0″の時には、
インバータIoaを介して“1″がアンドゲートAO4
に加わりオンとなり、レジスタIRo 2の出力をプロ
セッサ回路Mo+に出力する。またアンドゲートAO3
の出力が“1″の時にはアンドゲートAoaに1″が加
わり。
and gate ka 4. An fi, or gate OR
3. Inverter Io [I constitutes a circuit that selects the output of register TRo 2 and the output 6 of inverter Ill and 6. When the output of AND gate AO3 is “0”,
“1” is passed through inverter Ioa to AND gate AO4
The register IRo2 is turned on and the output of the register IRo2 is output to the processor circuit Mo+. Also, and gate AO3
When the output of is "1", 1" is added to the AND gate Aoa.

アンドゲートAoI、がオンとなり、アドレスバスBA
の内容を反転(インバータIo6にて)した値をプロセ
ッサ回路Mo+に出力する。なお、この反転はアドレス
バスBAを負論理信号の伝達としたためであり、正論的
とした時にはアンドゲートで良く、この時にはインバー
タIo6は必要でない。
AND gate AoI is turned on, and address bus BA
The value obtained by inverting the contents of (at inverter Io6) is output to the processor circuit Mo+. Note that this inversion is because the address bus BA is used to transmit a negative logic signal, and if it is logical, an AND gate may be used, and in this case, the inverter Io6 is not necessary.

前述の動作においてはアントゲ−)An3は“O”を出
力しているのでプロセッサ回路Mo+にはレジスタIR
o 2の出力が加わる。
In the above operation, since An3 is outputting "O", the register IR is in the processor circuit Mo+.
o The output of 2 is added.

インバータI[13には前述したように1”が加わって
いるのでこの状態においてはO”をアドレス切替え信号
Asに出力する。アドレス切替信号線Asが0″の時に
は9例えばアダプタ#3ではインバータI34に“0”
が加わるのでアンドゲートの一方には1”が入力する。
Since 1'' is added to the inverter I[13 as described above, in this state, O'' is output as the address switching signal As. When the address switching signal line As is 0'', 9. For example, in adapter #3, inverter I34 is set to 0.
is added, so 1'' is input to one side of the AND gate.

また上位より割込み要求が発生した時にはオア回路0R
32の出力は“l”となるので、アンドゲートA32に
はインバータ132を介して0”が加わり2割込み要求
が発生してもアンドゲートの出力は0”となる。これゆ
え、セントリセットフリップフロップR33はセソl−
されずこの出力も“θ″となり、インバータ13?を介
してアンドゲートA33の他方の入力には“1”が加わ
る。
Also, when an interrupt request occurs from the upper level, the OR circuit 0R
Since the output of the AND gate A32 becomes "1", 0" is added to the AND gate A32 via the inverter 132, and even if two interrupt requests occur, the output of the AND gate becomes 0". Therefore, the center reset flip-flop R33 is
Therefore, this output also becomes “θ”, and the inverter 13? "1" is added to the other input of AND gate A33 via.

よってアントゲ−)A33の入力は全て1″となりその
出力もul”となるのでアンドゲートA35がオンとな
り、アドレスバスのデータをプロセッサ回路M31に加
わる。他のアダプタも同様であり全てアドレスバスAB
上の値をプロセッサ回路に出力する。
Therefore, all the inputs of the controller A33 are 1" and its output is also ul", so the AND gate A35 is turned on and the data on the address bus is applied to the processor circuit M31. The same goes for other adapters, all address bus AB.
Outputs the above value to the processor circuit.

前述の動作で明らかな様に最上位レベルのアダプタより
割込み要求が発生した時には下位のアダプタには全て選
択処理スタートアドレスがプロセッサ回路に加わり処理
要求の順を表すテーブルが作成される。
As is clear from the above operation, when an interrupt request is generated from the highest level adapter, the selection processing start address is added to the processor circuit for all lower adapters, and a table representing the order of processing requests is created.

また、中間等のアダプタより割込み要求が発生し、その
アダプタより上位レベルより割込み要求が発生していな
い場合にはその全てのアダプタに選択処理スタートアド
レスが加わる。
Further, if an interrupt request is generated from an intermediate adapter, and no interrupt request is generated from a higher level than that adapter, the selection processing start address is added to all the adapters.

第1図では、アダプタ#0とアダプタ#3しが記されて
いないが他のアダプタも同様の回路を有し、それらが同
様に接続される。なお、処理線RQ o ” RQ 3
はそれぞれ対応するアダプタのオアゲートORn 2 
 (nは0〜3)に加わるもので(上位レベルのアダプ
タの処理線RQo〜RQ 3のみ接続される。)あり、
この点のみが各アダプタのレベルによって異なる。これ
によって各アダプタより出力される選択処理スタートア
ドレスが順次高レベルのアダプタより入力し、各アダプ
タが有するプロセッサMo+〜M31はそのアドレスよ
り処理を開始する。
Although adapter #0 and adapter #3 are not shown in FIG. 1, the other adapters have similar circuits and are connected in the same way. Note that the processing line RQ o ” RQ 3
is the OR gate ORn 2 of the corresponding adapter.
(n is 0 to 3) (only processing lines RQo to RQ 3 of the upper level adapter are connected),
Only this point differs depending on the level of each adapter. As a result, the selection processing start address outputted from each adapter is inputted sequentially from the higher level adapter, and the processors Mo+ to M31 included in each adapter start processing from that address.

プロセッサM o +〜M31は全て同じプログラムを
有するので、そのスタートアドレスが加わることによっ
て全く同じ動作となり、その結果として作られるテーブ
ルも同じものとなる。なおナントゲートNAo1〜NA
31.インバータTO3〜133.オアゲートORo 
+ 〜OR31はオープンコレクタ出力であり、またナ
ントゲートNAQI 〜NA31.アンドゲートAo4
〜Ao5.オアゲート0R03〜0R33インバータI
O6〜136はスタートアドレスを表すビット数の回路
である。なお、アダプタ#0のセットリセットフリップ
Ra +、Ro2+  Ro 3はプロセッサMo+が
テーブル作成を終了した時点でリセットする。
Since the processors M o + to M31 all have the same program, adding the start address results in exactly the same operation, and the tables created as a result are also the same. In addition, Nantes Gate NAo1~NA
31. Inverter TO3-133. Or Gate ORo
+ ~OR31 is an open collector output, and Nant gate NAQI ~NA31. And Gate Ao4
~Ao5. OR gate 0R03~0R33 inverter I
O6-136 are circuits with the number of bits representing the start address. Note that the set/reset flips Ra +, Ro2+ Ro 3 of adapter #0 are reset when the processor Mo+ finishes creating the table.

第2図は8台のアダプタの場合の割込み要求のチャー)
 (fa1図)と作成されたテーブルの内容((b)図
)を表す図である。まずアダプタ#2よりレベル2が発
生し、つづいてアダプタ#1のレベル4.アダプタ#5
のレベル2.アダプタ#6のレベル3が順次発生してい
る。アダプタ#3より発生したレベル2の割込み要求と
同時に処理要求が共通部1に加わるがその処理要求に対
する応答は点2の時点でなされる。割込み受付信号が共
通部より出力された時には各アダプタはテーブルを参照
しレベルの高いアダプタが応答する。第2図の場合には
まず、アダプタ#1が応答する。そして、その処理がな
され、終了が順次低レベルのアダプタへと処理がなされ
る。
Figure 2 is a chart of interrupt requests in the case of 8 adapters)
(Figure fa1) and the contents of the created table (Figure (b)). First, level 2 is generated from adapter #2, followed by level 4 from adapter #1. Adapter #5
level 2. Level 3 of adapter #6 is occurring sequentially. A processing request is applied to common section 1 at the same time as the level 2 interrupt request generated by adapter #3, but a response to the processing request is made at point 2. When an interrupt acceptance signal is output from the common section, each adapter refers to the table, and the adapter with the highest level responds. In the case of FIG. 2, adapter #1 responds first. Then, that processing is performed, and the processing is sequentially performed on lower-level adapters.

前述したように割込み受付信号に対して高レベルのアダ
プタから順次応答が可能なのは、全てのアダプタが同じ
テーブルを有し、その割込み受付信号に対して、各アダ
プタが応答可能か否かをそテーブルを参照して判別する
からである。
As mentioned above, the reason why it is possible to respond to an interrupt acceptance signal sequentially from the high-level adapters is because all adapters have the same table, which determines whether or not each adapter can respond to the interrupt acceptance signal. This is because the determination is made by referring to .

なお、第2図+a)においては各アダプタへの割込み要
求は同一時点ではないが、同一時点の時には高いレベル
のものより順次テーブルに登録される。
Note that in FIG. 2+a), the interrupt requests to each adapter are not made at the same time, but when they are made at the same time, they are registered in the table in order from the higher level.

また1割込み処理の優先順位はアダプタの番号とその内
部のレベル、例えば4レベルの順ではなく、テーブルの
参照において別途優先順位を設けることも可能である。
Furthermore, the priority order of one interrupt processing is not based on the adapter number and its internal level, for example, 4 levels, but it is also possible to set a separate priority order when referring to a table.

(7)発明の効果 以上述べたように本発明は複数の入出力装置のアダプタ
間で割込み処理の優先選択を行い、自動的に高いレベル
の割込みより順次共通処理回路の割込み受付に対して応
答するものであり9本発明によれば割込み処理要求の優
先選択を共通処理回路で行う必要がなく短時間で優先選
択を行う優先選択方式を得ることができる。さらに、共
通処理回路には1本の割込み信号線が加わるだけである
ので比較回路等は必要とせず共通処理回路が簡単な優先
選択方式を得ることができる。
(7) Effects of the Invention As described above, the present invention prioritizes interrupt processing among the adapters of multiple input/output devices, and automatically responds to interrupt acceptance of the common processing circuit in order from higher level interrupts. According to the present invention, it is possible to obtain a priority selection method that performs priority selection in a short time without requiring a common processing circuit to perform priority selection of interrupt processing requests. Furthermore, since only one interrupt signal line is added to the common processing circuit, a comparison circuit or the like is not required, and a priority selection system with a simple common processing circuit can be obtained.

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

第1図は本発明の実施例の回路構成図、第2図ta+は
割込み要求のチャート図、第2図(b)は割込みによっ
て作成されたテーブルの内容図である。 IRo1〜lR311IRo2〜lR32・・・・・レ
ジスフ、    Ro1〜R3II Ro2〜R32,
RO3〜R33・・・・・セットリセットフリッププロ
ップ、     A o I〜A31゜Ao2ゞA32
.A口3ゞA33.AO4ゞA34.八〇5〜A35・
・・・・アンドゲート。 0R01〜oR3110R02〜0R32・・・・・オ
アゲート+     To+〜I:+1.[02〜13
2.IO3〜132.TO4−I34゜roaNI:+
+++  ro6〜136.To7〜137.108〜
T311・・・・・インバータ。 Mo+〜M3+・・・・・プロセッサ回路。 BA・−−アドレスバス、     RQ o−RQ 
3・・・・・処理線。
FIG. 1 is a circuit configuration diagram of an embodiment of the present invention, FIG. 2 ta+ is a chart of an interrupt request, and FIG. 2(b) is a diagram of the contents of a table created by an interrupt. IRo1~lR311IRo2~lR32...Regisfu, Ro1~R3II Ro2~R32,
RO3~R33...Set reset flip prop, Ao I~A31゜Ao2ゞA32
.. A exit 3ゞA33. AO4ゞA34. 805~A35・
...and gate. 0R01~oR3110R02~0R32....ORGATE+To+~I:+1. [02-13
2. IO3~132. TO4-I34゜roaNI:+
+++ ro6~136. To7~137.108~
T311...Inverter. Mo+~M3+... Processor circuit. BA--address bus, RQ o-RQ
3... Processing line.

Claims (1)

【特許請求の範囲】[Claims] マイクロプロセッサによってそれぞれ制御される複数の
アダプタが処理回路に接続された制御システムにおいて
、前記アダプタは前記処理回路に加わる割込み信号の優
先順位を制御する共通バスにそれぞれ接続され、該共通
バスに前記アダプタより加える信号に対しすべてのアダ
プタが同一に処理するプログラムと同一の優先順位決定
用テーブルをそれぞれ有し、前記処理回路への割込みは
共通になされ、処理回路の割込み応答に対しては、前記
優先順位決定用テーブルに基づいて対応する高いレベル
のアダプタが動作することを特徴とした優先選択制御方
式。
In a control system in which a plurality of adapters each controlled by a microprocessor are connected to a processing circuit, the adapters are each connected to a common bus that controls the priority of interrupt signals applied to the processing circuit, and the adapters are connected to a common bus that controls the priority of interrupt signals applied to the processing circuit. All adapters have the same program and the same priority determination table for processing signals applied by the adapter, interrupts to the processing circuits are common, and interrupt responses of the processing circuits are processed according to the priority order. A priority selection control method characterized in that a corresponding high-level adapter operates based on a ranking determination table.
JP15664284A 1984-07-27 1984-07-27 Priority selection controlling system Pending JPS6134660A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP15664284A JPS6134660A (en) 1984-07-27 1984-07-27 Priority selection controlling system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP15664284A JPS6134660A (en) 1984-07-27 1984-07-27 Priority selection controlling system

Publications (1)

Publication Number Publication Date
JPS6134660A true JPS6134660A (en) 1986-02-18

Family

ID=15632125

Family Applications (1)

Application Number Title Priority Date Filing Date
JP15664284A Pending JPS6134660A (en) 1984-07-27 1984-07-27 Priority selection controlling system

Country Status (1)

Country Link
JP (1) JPS6134660A (en)

Similar Documents

Publication Publication Date Title
US5542076A (en) Method and apparatus for adaptive interrupt servicing in data processing system
JPH04223511A (en) Microcomputer
EP0443557B1 (en) Interrupt controller capable of realizing interrupt nesting function
EP0150767B1 (en) Program controlled bus arbitration for a distributed array processing system
US5640519A (en) Method and apparatus to improve latency experienced by an agent under a round robin arbitration scheme
JPH06161952A (en) Arbitration device of access request
US5596749A (en) Arbitration request sequencer
US4604685A (en) Two stage selection based on time of arrival and predetermined priority in a bus priority resolver
US5070447A (en) Interrupt circuit and interrupt processing method for microcomputer
US5450591A (en) Channel selection arbitration
JPS586177B2 (en) Interface circuit selection system
JPS6134660A (en) Priority selection controlling system
US4180855A (en) Direct memory access expander unit for use with a microprocessor
JP3105554B2 (en) Interrupt controller
JPS63231661A (en) Precedence controller
JPH02115962A (en) System for connecting computer device to its peripheral device
JP3206483B2 (en) Interrupt control device
JPH0443302B2 (en)
JPH04346140A (en) Access controller for shared memory
JPH05233479A (en) Panel monitor system
JPS62152064A (en) Single-chip microcomputer
JPH06110828A (en) Memory controller
JPH11212902A (en) Interrupt control circuit
JPH02222058A (en) Multiprocessor system
JPH06309179A (en) Interrupt controller