JPS6180346A - Input/output control device - Google Patents
Input/output control deviceInfo
- Publication number
- JPS6180346A JPS6180346A JP59201018A JP20101884A JPS6180346A JP S6180346 A JPS6180346 A JP S6180346A JP 59201018 A JP59201018 A JP 59201018A JP 20101884 A JP20101884 A JP 20101884A JP S6180346 A JPS6180346 A JP S6180346A
- Authority
- JP
- Japan
- Prior art keywords
- priority
- interrupt
- input
- output
- signal
- 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
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/14—Handling requests for interconnection or transfer
- G06F13/20—Handling requests for interconnection or transfer for access to input/output bus
- G06F13/24—Handling requests for interconnection or transfer for access to input/output bus using interrupt
- G06F13/26—Handling 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)
- Multi Processors (AREA)
Abstract
Description
【発明の詳細な説明】
〔産業上の利用分野〕
本発明は、複数の中央処理装置と複数の入出力装置との
間のデータの流れを制御する入出力制御装置に係り、特
に割込みステータスと起動信号とを最適に制御する入出
力制御装置に関する。[Detailed Description of the Invention] [Field of Industrial Application] The present invention relates to an input/output control device that controls the flow of data between a plurality of central processing units and a plurality of input/output devices, and particularly relates to an input/output control device that controls the flow of data between a plurality of central processing units and a plurality of input/output devices. The present invention relates to an input/output control device that optimally controls a start signal.
一般に、最近の計算機システムには中央処理装置(以下
CPUと称する)が、プロクラムの各命令の実行ごとに
、外部の非同期的なできごとが売口1モしたかどうかを
調べ1発生がなければ次の命令をプログラムのロジック
に従って実行し2発生があれば特定の番地に制御を移す
割込み機構が設けである。Generally, in modern computer systems, a central processing unit (hereinafter referred to as CPU) checks whether an external asynchronous event has occurred every time each program instruction is executed, and if no external asynchronous event has occurred. An interrupt mechanism is provided that executes the next instruction according to the logic of the program and transfers control to a specific address if 2 occurs.
割込み制御は通常割込み原因の発生があれば。Interrupt control is normally performed when an interrupt cause occurs.
プログラムのロジックの進行と異なる強jlill的な
制御の転移を引き起こす、即ち、高優先度の制御プログ
ラムへの制御の転移である。This causes a strong transfer of control that is different from the progress of the program's logic, that is, transfer of control to a high-priority control program.
しかし9割込み原因の内容によっては必−4′シも高優
先度のものばかりとは限らず1例えばプログラム命令の
終了をcpuに報告するための割込み等・のように、プ
ログラムの命令実行終了時点でh11込み制御を行うも
のもある。However, depending on the content of the interrupt cause, not all interrupts are necessarily of high priority.1 For example, an interrupt to report the end of a program instruction to the CPU, etc. There are some that perform h11-inclusive control.
一方、計算機システムの高速化、大規模化に伴い演算速
度の速いcpuが開発実用化され、複合化された計算機
システムにこれらが絹合わされた場合、演算速度の速い
CPllと演算速度が比較的遅いCPUとで命令処理時
間に極端なアンバランスが生じることになる。On the other hand, as computer systems become faster and larger, CPUs with fast calculation speeds are developed and put into practical use, and when these are combined into a complex computer system, CPLLs with fast calculation speeds and CPUs with relatively slow calculation speeds This results in an extreme imbalance in instruction processing time with the CPU.
かかるシステムでの割込み制御を行うに当たって、これ
らのアンバランスを是正し、適正化された割込み制御を
行う入出力制御装置の開発が要望されている。When performing interrupt control in such a system, there is a demand for the development of an input/output control device that corrects these imbalances and performs optimized interrupt control.
第3図は多重処理を行う複合計算機システムのブロック
ダイヤグラムを示す。FIG. 3 shows a block diagram of a compound computer system that performs multiple processing.
第3図に示すシステムにおいて1例えば、複数の入出力
装置38〜3n(以下10[] 3a〜3nと称する)
に対する上位語?W]a(例えば、 CPll >から
の入出力コマント命令をパス2aを経由して実行し、実
マ〒終了報告を十位装置1aにするために、該当の10
03a〜3n、例えば1003aからのステータス割込
みを入出力制御装置2(以下l0C2と称する)が処理
する場合、従来は以下の2つの方法で処理されていた。In the system shown in FIG. 3, for example, a plurality of input/output devices 38 to 3n (hereinafter referred to as 10[] 3a to 3n)
Hypernym for? W]a (For example, to execute the input/output command command from CPll> via path 2a, and to send the real machine completion report to the 10th device 1a,
When the input/output control device 2 (hereinafter referred to as 10C2) processes status interrupts from 03a to 3n, for example 1003a, conventionally, the following two methods are used to process the status interrupts.
即ち、 l0D3aからの割込みステータスが制御部6
経由割込み指示回路7と起動優先指示回路8に出力され
ると、起動優先指示回路8は予め設定している信号51
=1(起動優先信号)をパス2aの起動判別回路4aに
出力する。That is, the interrupt status from l0D3a is
When output to the via interrupt instruction circuit 7 and the activation priority instruction circuit 8, the activation priority instruction circuit 8 outputs a preset signal 51.
=1 (activation priority signal) is output to the activation determination circuit 4a of the path 2a.
同時に割込み指示回路7は9割込み発生回路5aと起動
判別回路4bに割込み指示信号を出し1割込み発生回路
5aは上位装置1aに対してリクエストイン■を送出し
、又起動判別回路4bは上位装置1bに対してl0C2
使用中■′を報告し1割込み処理が実行される。At the same time, the interrupt instruction circuit 7 sends an interrupt instruction signal to the 9-interrupt generation circuit 5a and the activation determination circuit 4b, and the 1-interrupt generation circuit 5a sends a request-in (2) to the host device 1a, and the activation determination circuit 4b sends an interrupt instruction signal to the host device 1b. for l0C2
In use ■' is reported and 1 interrupt processing is executed.
(1,1: l、かじ1割込みステータスが発生してか
ら引続きパス2bに対して上位装置1bから起動■′が
かかると、 l0C2は起動判別回路4aに出力されて
いる信号が81=1で起動を優先する信号であることか
ら、リクエストイン■の処理は待機させられ、起動■′
の処理が優先処理される。(1, 1: After l, key 1 interrupt status occurs, if the host device 1b continues to activate the path 2b, l0C2 will determine that the signal output to the activation determination circuit 4a is 81=1. Since this is a signal that gives priority to startup, the processing of request in ■ is put on standby, and startup ■′
processing is given priority.
(2)ニ一方、起動優先指示回路8に予め設定している
信号が31=O(割込み優先信号)である場合に。(2) On the other hand, when the signal preset in the activation priority instruction circuit 8 is 31=O (interrupt priority signal).
上位装置1bから起動■′がかかると、 l0C2は起
動判別回路4aに出力されている信号が81−0である
ことから、 l0C2使用中■′を起動判別回路4hが
出力し、同時に割込み発生回路5aからのリクエストイ
ン■を優先処理する。When the host device 1b issues a startup ■', the signal output to the activation determination circuit 4a of l0C2 is 81-0, so the activation determination circuit 4h outputs l0C2 in use ■', and at the same time the interrupt generation circuit Prioritize processing of request in from 5a.
上述のような2つの従来方法例において、(1)の方法
で処理する場合では、第3図に示す複合システムで例え
ば、上位装置1bが−F位装置1aより演算処理が速い
場合で、しかも−上位装置1bからの入出力コマント命
令頻度が妬い場合、上位装置1bからの入出力コマント
命令が常に優先処理されるため。In the above-mentioned two examples of conventional methods, in the case of processing using method (1), in the complex system shown in FIG. - If the frequency of input/output commands from the host device 1b is too high, the input/output commands from the host device 1b are always processed with priority.
」−位装置W 1 aへの割込みステータス処理が進ま
ないケースが発生ずる。A case may occur in which the interrupt status processing for the device W 1 a does not proceed.
又、(2)の方法で処理する場合では、多重処理が期待
する稈進まない等の問題点があった。Furthermore, when processing using the method (2), there were problems such as the culm not progressing as expected due to multiple processing.
本発明は、上記問題点を解消した新規な入出力制御装置
を実現することを目的とするものであり。An object of the present invention is to realize a novel input/output control device that solves the above problems.
該問題点は、起動優先手段と前記割込み優先手段とを優
先選択する優先選択手段を設け、前記優先選択手段によ
り前記複数の上位装置と複数の入出力装置との間のデー
タの流れを制御する本発明による入出力制御装置により
解決される。The problem is solved by providing a priority selection means for preferentially selecting the activation priority means and the interrupt priority means, and controlling the flow of data between the plurality of host devices and the plurality of input/output devices by the priority selection means. This problem is solved by the input/output control device according to the present invention.
即ち、入出力制御装置で所定入出力装置からの割込みス
テータスを保持した時、上位装置からの入出力コマンド
による入出力装置の起動を優先する手段と9割込みを優
先する手段とのどちらか一方を所定周期を持って優先選
択する起動/割込み優先選択回路を用いて、複合システ
ムより入出力制御装置が共用される場合の最適なステー
タス割込み処理を行い、複合システムの処理能力の効率
化と適正化を図るようにした。That is, when the input/output control device holds the interrupt status from a predetermined input/output device, either a means for prioritizing the activation of the input/output device by an input/output command from a host device or a means for prioritizing 9 interrupts is selected. Using a startup/interrupt priority selection circuit that prioritizes selection at predetermined intervals, performs optimal status interrupt processing when the input/output control device is shared by a complex system, making the processing capacity of the complex system more efficient and appropriate. I tried to do this.
以下本発明の要旨を第1図、第2図に示す実施例により
具体的に説明する。The gist of the present invention will be specifically explained below with reference to embodiments shown in FIGS. 1 and 2.
第1図は本発明に係る入出力制御装置を有する複合シス
テムで、 (A)は複合システムのブロックダイヤグラ
ム、 (B)は本発明に係る起動/割込み優先選択回路
の一実施例、 (C)は本発明に係る優先選択回路のタ
イムチャート、第2図は本発明に係る入出力制御装置の
流れ図をそれぞれ示す。尚全図を通じて同一記号は同一
対象物又は内容を示す。FIG. 1 shows a complex system having an input/output control device according to the present invention, (A) is a block diagram of the complex system, (B) is an embodiment of the activation/interrupt priority selection circuit according to the present invention, and (C) is a block diagram of the complex system. 2 shows a time chart of the priority selection circuit according to the present invention, and FIG. 2 shows a flowchart of the input/output control device according to the present invention. The same symbols indicate the same objects or contents throughout the figures.
第1図(B)、 (C)に示すT1は割込み優先信号
51−0出力区間を示し、 T2は起動優先信号51=
1出力区間を示す。又T1出力区間と12出力区間との
比率は、一定比率ではなく、1対1〜1対10ぐらいの
幅を一定の変動周期を持って循環しているものとする。T1 shown in FIGS. 1(B) and (C) indicates the interrupt priority signal 51-0 output section, and T2 indicates the activation priority signal 51=
1 output section is shown. Further, it is assumed that the ratio between the T1 output section and the 12 output section is not a constant ratio, but cycles within a range of about 1:1 to 1:10 with a constant fluctuation cycle.
尚第1図(B)のTOはl0C2内で発生するクロック
信号、第1図(C)の数値はTl出力区間と12出力区
間との比率の一例を示すもので1例えば、最初の比率は
1対52次は1対6,1対7と順次循環するものとする
。Note that TO in FIG. 1(B) is a clock signal generated in l0C2, and the numerical values in FIG. 1(C) indicate an example of the ratio between the Tl output section and the 12 output section.1For example, the first ratio is It is assumed that the 1:52 order is sequentially circulated as 1:6 and 1:7.
尚、起動/割込み優先選択回路9の動作は次のように行
う。即ち、カウンタ10の出力信号から順次循環する比
率の信号を論理アレー11で作成し。The activation/interrupt priority selection circuit 9 operates as follows. That is, a ratio signal that is sequentially circulated from the output signal of the counter 10 is created by the logic array 11.
この出力をデコーダ12で1I信号、 T2信号として
起動判定回路4a、4bに出力する。The decoder 12 outputs this output as a 1I signal and a T2 signal to activation determination circuits 4a and 4b.
次に本実施例を第2図の流れ図をもとにして説明する。Next, this embodiment will be explained based on the flow chart of FIG.
尚第2図の(al領域は起動/割込み優先選択回路9の
動作領域で、(b)領域は起動判別回路4a、4b +
割込み発生回路5a、5bの動作領域、(C)はl0C
2使用中のセット、(d)は割込み受付シーケンス、(
e)は起動受付シーケンスをそれぞれ示す。In FIG. 2, the (al area) is the operating area of the activation/interrupt priority selection circuit 9, and the (b) area is the activation discrimination circuit 4a, 4b +
Operating area of interrupt generation circuits 5a and 5b, (C) is l0C
2 sets in use, (d) is the interrupt acceptance sequence, (
e) shows the activation acceptance sequence.
(ST −1) :例えば、 l0D3aからl0C
2に対して割込み信号が発生すると、制御部6は起動/
割込み(優先選択回路9の状態がTl出力区間かT2出
力区間かを見る。(ST-1): For example, l0D3a to l0C
When an interrupt signal is generated for 2, the control unit 6 activates/
Interruption (Check whether the state of the priority selection circuit 9 is in the Tl output section or the T2 output section.
(ST −2) : Tl出力区間であれば(ST
−3>へ。(ST -2) : If it is the Tl output section, (ST
Go to -3>.
12出力区間であれば(ST −6)へ進む。If it is the 12 output section, proceed to (ST-6).
(sr −3) : Tl信号と割込み信号をパス2
a (上位装置1aに対する割込みの場合)自起動判別
回路4aにセットする。(sr −3): Pass Tl signal and interrupt signal 2
a (In the case of an interrupt to the host device 1a) Set in the self-start discrimination circuit 4a.
尚パス2a以外からl0C2に対して起動■′が有った
場合は1割込み指示回路7は起動判別回路4bに対して
1Oc2使用中の表示を出させ、起動■′を拒否する。If there is an activation ■' for l0C2 from a path other than the path 2a, the 1 interrupt instruction circuit 7 causes the activation determination circuit 4b to display that 1Oc2 is in use, and rejects the activation ■'.
(ST −4) :割込み信号をセットしたパス2a
以外からのパス(パス2b等)より起動があればI O
C2使用中をセットし、他パスからの起動がなければ次
の動作に移る。(ST-4): Path 2a with interrupt signal set
If there is a startup from a path other than the path (such as path 2b), I O
Set C2 in use and move on to the next operation if there is no activation from another path.
(ST −5) :割込み発生回路5aへの起動指示
により1割込みシーケンスfd+を実行する。(ST-5): Execute one interrupt sequence fd+ by instructing the interrupt generation circuit 5a to start.
(ST −6) : T2信号と割込み信号をパス2
a内起動判別回路4aにセントする。(ST-6): Pass T2 signal and interrupt signal to 2
A is sent to the start-up determination circuit 4a.
尚パス2a以外への起動が有った場合は起動受付可能と
する。Note that if there is activation to a path other than path 2a, activation can be accepted.
(ST −7) :割込み信号をセットしたパス2a
以外からのパス(パス2b等)より起動があれば起動受
付シーケンス(e+を実行し、パス2a以外からの起動
がなければ次に進む。(ST-7): Path 2a with interrupt signal set
If there is activation from a path other than path 2b (such as path 2b), execute the activation acceptance sequence (e+), and if there is no activation from any path other than path 2a, proceed to the next step.
(ST −8) :割込み発生回路5aへの起動指示
により1割込みシーケンス(dlを実行する。(ST-8): Execute one interrupt sequence (dl) by instructing the interrupt generation circuit 5a to start.
以上のような本発明によれば、複合システムより共用さ
れる場合の入出力制御装置の割込み処理が当該システム
に順応して適正比され、入出力装置への入出力命令がよ
り円滑に推移すると言う効果がある。According to the present invention as described above, when the input/output control device is shared by a complex system, the interrupt processing of the input/output control device is appropriately proportioned in accordance with the system, and input/output commands to the input/output device can be smoothly processed. It has the effect of saying.
第1図は本発明に係る入出力制御装置を有する複合シス
テムで、 (A)は複合システムのブロックダイヤグラ
ム、 (B)は本発明に係る起動/割込み優先選択回路
の一実施例、 (C)は本発明に係る優先選択回路のタ
イムチャート。
第2図は本発明に係る入出力制御装置の流れ図。
第3図は多重処理を行う複合計算機システムのブロック
ダイヤグラム。
をそれぞれ示す。
図において。
la、 lbは上位装置、 2はroc 。
2a、2bはパス、 3a〜3nはl0I)
。
4a、4bは起動判別回路、 5a、5bは割込み発生
回路。
6は制御部。
7は割込み指示回路、 8は起動優先指示回路。
9は起動/割込み優先選択回路。
10はカウンタ、11は論、理アレー。
12はデコーダ、13はインバータ。
をそれぞれ示す。FIG. 1 shows a complex system having an input/output control device according to the present invention, (A) is a block diagram of the complex system, (B) is an embodiment of the activation/interrupt priority selection circuit according to the present invention, and (C) is a block diagram of the complex system. 1 is a time chart of a priority selection circuit according to the present invention. FIG. 2 is a flowchart of the input/output control device according to the present invention. Figure 3 is a block diagram of a multi-processing computer system. are shown respectively. In fig. la and lb are upper-level devices, and 2 is roc. 2a and 2b are passes, 3a to 3n are l0I)
. 4a and 4b are activation determination circuits; 5a and 5b are interrupt generation circuits. 6 is a control unit. 7 is an interrupt instruction circuit, and 8 is a startup priority instruction circuit. 9 is a startup/interrupt priority selection circuit. 10 is a counter, 11 is logic, a logical array. 12 is a decoder, and 13 is an inverter. are shown respectively.
Claims (1)
の該上位装置への割込みステータスを保持している時で
も、他方の該上位装置からの入出力コマンドを優先して
受けつける起動優先手段と、前記割込みステータスを保
持した時は前記割込みステータスが処理されるまで前記
入出力コマンド処理を待機させる割込み優先手段とを有
する装置において、前記起動優先手段と前記割込み優先
手段とを優先選択する優先選択手段を設け、前記優先選
択手段により前記複数の上位装置と複数の入出力装置と
の間のデータの流れを制御することを特徴とする入出力
制御装置。A startup priority system that is located between multiple host devices and multiple input/output devices, and even when the interrupt status for one of the host devices is maintained, priority is given to accepting input/output commands from the other host device. and interrupt priority means for waiting the input/output command processing until the interrupt status is processed when the interrupt status is held, in which the activation priority means and the interrupt priority means are selected preferentially. An input/output control device comprising a priority selection means, and the priority selection means controls the flow of data between the plurality of host devices and the plurality of input/output devices.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP59201018A JPS6180346A (en) | 1984-09-26 | 1984-09-26 | Input/output control device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP59201018A JPS6180346A (en) | 1984-09-26 | 1984-09-26 | Input/output control device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS6180346A true JPS6180346A (en) | 1986-04-23 |
| JPH0340416B2 JPH0340416B2 (en) | 1991-06-18 |
Family
ID=16434103
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP59201018A Granted JPS6180346A (en) | 1984-09-26 | 1984-09-26 | Input/output control device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS6180346A (en) |
-
1984
- 1984-09-26 JP JP59201018A patent/JPS6180346A/en active Granted
Also Published As
| Publication number | Publication date |
|---|---|
| JPH0340416B2 (en) | 1991-06-18 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US6920632B2 (en) | Dynamic multilevel task management method and apparatus | |
| US3421150A (en) | Multiprocessor interrupt directory | |
| US5083261A (en) | Dynamically alterable interrupt priority circuit | |
| US6141713A (en) | Bus arbitrator with a hierarchical control structure | |
| JPS646488B2 (en) | ||
| JP2003256221A (en) | Parallel process execution method and multiprocessor computer | |
| JPS5841538B2 (en) | Multiprocessor system instructions | |
| US5228127A (en) | Clustered multiprocessor system with global controller connected to each cluster memory control unit for directing order from processor to different cluster processors | |
| CN112363972B (en) | Electronic device and method for supporting communication among multiple CPUs | |
| JPH01214939A (en) | Single-chip microcomputer | |
| JPH0340416B2 (en) | ||
| JPH11249917A (en) | Parallel computers, their batch processing method, and storage medium | |
| JPH05314144A (en) | Production management system and method | |
| JPH04233068A (en) | Scheduling method | |
| JPS59172030A (en) | Data channel control system | |
| JPH0229831A (en) | Input/output interruption control system for virtual computer system | |
| JPH02311903A (en) | Programmable controller | |
| JPH0198047A (en) | Interruption processing system | |
| JPS62204354A (en) | Control system for input/output instruction | |
| JPS6292058A (en) | Multiprocessor system | |
| JPS6217842A (en) | Program management method | |
| JPH0350662A (en) | Processing control system for parallel computer | |
| JPS61105660A (en) | Interruption control method | |
| JPS6290729A (en) | Controlling system for virtual calculator system | |
| JPH0869382A (en) | Semiconductor device |