JPH0370266B2 - - Google Patents
Info
- Publication number
- JPH0370266B2 JPH0370266B2 JP59276368A JP27636884A JPH0370266B2 JP H0370266 B2 JPH0370266 B2 JP H0370266B2 JP 59276368 A JP59276368 A JP 59276368A JP 27636884 A JP27636884 A JP 27636884A JP H0370266 B2 JPH0370266 B2 JP H0370266B2
- Authority
- JP
- Japan
- Prior art keywords
- interrupt
- mcu
- storage control
- control device
- counter
- 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 - Lifetime
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F15/00—Digital computers in general; Data processing equipment in general
- G06F15/16—Combinations of two or more digital computers each having at least an arithmetic unit, a program unit and a register, e.g. for a simultaneous processing of several programs
- G06F15/163—Interprocessor communication
- G06F15/17—Interprocessor communication using an input/output type connection, e.g. channel, I/O port
Landscapes
- Engineering & Computer Science (AREA)
- Computer Hardware Design (AREA)
- Theoretical Computer Science (AREA)
- Software Systems (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Multi Processors (AREA)
- Bus Control (AREA)
Description
〔産業上の利用分野〕
本発明は2台の記憶制御装置MCUに対して、
各記憶制御装置MCUの1台にのみ直接接続され
るチヤネル制御装置CHPから中央処理装置CPU、
又は他の記憶制御装置MCUを通して間接的に接
続れるチヤネル制御装置CHPから中央処理装置
CPUへ割り込み処理方式において、各記憶制御
装置MCUにおける割り込み保留ラツチ群を選択
するカウンタ、及び中央処理装置CPUからの割
り込み許可信号(マスク信号)の、上記2台の記
憶制御装置MCU間での同期化方式に関する。
最近の半導体技術の著しい進歩に伴つて、論理
ブロツクの高集積化が図られ、例えばデータ処理
装置の中央処理装置CPU、チヤンネル制御装置
CHP等が1ボードで構成されるようになり、そ
れぞれの装置間を接続る為のコネクタの数が制限
されるようになつてきた。
又、最近のデータ処理装置の高速化動向に伴つ
て、2台の記憶制御装置MCUに中央処理装置
CPU、チヤンネル制御装置CHPが接続されると
云う、大型のデータ処理システムの基本的な構成
において、各装置からの信号線を伝搬する信号の
遅延が問題になるようになり、各信号線長をでき
る限り小さくしたいと云う要求から、データ処理
システムは、第3図aのような構成から、bのよ
うな構成をとるようになつてきた。
第3図aの従来のシステム構成においては、各
チヤンネル制御装置CHPO,1から中央処理装置
CPU,1,2,3に対する割り込み処理は、2
台の記憶制御装置MCUの内のマスタM側におい
て一括処理を行つていた為、チヤンネル制御装置
CHP0,1から時系列で送られてくる割り込み
要求の1つを、記憶制御装置MCUに設けられた
カウンタの値に基づいて逐一選択すると共に、同
りカウンタの出力信号に基づいて生成する中央処
理装置(CPU0〜3)からの割り込みマスク信
号を時系列で受信して、上記割り込み要求と照合
するようにして割り込み信号を生成する方式にお
いても、該割り込み処理上の問題はなかつた。
然しながら、bのようなシステム構成において
は、1つの記憶制御装置MCUに接続されている
チヤンネル制御装置CHPから中央処理装置CPU
への割り込み処理では、従来方式と同じ処理方式
であるので問題はないが、他の記憶制御装置
MCUに接続されているチヤンネル制御装置CHP
からの割り込み処理を考える場合には、該他の記
憶制御装置MCUに接続されているチヤンネル制
御装置(CHP1、又はCHP0)からの割り込み
要求と、自由中央処理装置(CPU0,2、又は
CPU1,3)からの割り込み許可信号(マスク
信号)との同期をとる必要があり、2台の記憶制
御装置MCU間における効果的な同期化方式が待
たれていた。
〔従来技術〕
第4図は、記憶制御装置MCUにおける従来の
割り込み処理機構をブロツク図で示したもので、
1はカウンタ、2はデコーダDEC、3は割り込
み保留ラツチ群、4はセレクタSEL、5は割り込
み制御部、6は補正アダーCA、70〜76はラ
ツチ、8は記憶制御装置MCUのマスタ、スレー
ブを表示するラツチ(M/S)である。
説明の便宜上、各記憶制御装置MCUに接続さ
れている中央処理装置として、CPU0,1の2
台、チヤンネル制御装置として、CHP0,1の
2台に限定したシステムで説明する。又、通常、
割り込み処理等はマスタ(M)側の記憶制御装置
MCUが行う。
今、チヤンネル制御装置(以下、CHP0,1
と云う)から中央処理装置(以下、CPU0,1
と云う)に割り込み要求があり、該割り込み情報
がそれぞれラツチ70,71にセツトされると、
デコーダDEC2においてデコードされ、割り込
み保留ラツチ群3の当該ビツトにセツトされる。
カウンタ1は、例えば4ビツト(=16カウン
ト)で構成されていて、マシンサイクル毎にカウ
ントアツプされ、その時々のカウント値によつ
て、16ビツトで構成される割り込み保留ラツチ群
3の1つをセレクタSEL4で選択するように動作
する。
一方、カウンタ1の値は補正アダーCA6にお
いて、当該カウンタ1の値に対応するマスクビツ
トをCPU0,1において読み出し、ラツチ72,
73にセツトして、割り込み制御部5で、セレク
タSEL4で選択された割り込みラツチと論理積を
とる迄の間の遅延サイクル分を補正して、ラツチ
76を通して、CPU0,1に送出される。
各CPU0,1から送出されてきた割り込みマ
スクビツトは、ラツチ72,73にセツトされ、
割り込み制御部5において、セレクタSEL4で選
択された割り込み保留ラツチと論理積がとられ、
その論理積出力により定められた優先順位に従つ
た割り込みが1つ選択され、ラツチ74、又は7
5にセツトされて、それぞれCPU0,1に送出
されることにより、CHP0,1からCPU0,1
への割り込みが行われる。
上記セレクタSEL4で選択された割り込みラツ
チ円CPU0,1の何れかに送出する為の論理表
を以下に示す。
[Industrial Application Field] The present invention applies to two storage control devices MCU.
From the channel control device CHP directly connected to only one of each storage control device MCU to the central processing unit CPU,
or from the channel controller CHP to the central processing unit indirectly connected through another storage controller MCU
In the CPU interrupt processing method, the counter that selects the interrupt pending latch group in each storage controller MCU and the interrupt enable signal (mask signal) from the central processing unit CPU are synchronized between the two storage controllers MCU. Regarding the conversion method. With recent remarkable progress in semiconductor technology, logic blocks have become highly integrated, such as central processing units (CPUs) in data processing equipment, channel control units, etc.
As CHP, etc. are now configured on one board, the number of connectors for connecting each device has become limited. In addition, with the recent trend toward faster data processing equipment, two storage controllers MCU are equipped with a central processing unit.
In the basic configuration of a large data processing system in which a CPU and a channel control device CHP are connected, delays in signals propagating through signal lines from each device have become a problem, and the length of each signal line has to be reduced. Due to the desire to be as small as possible, data processing systems have changed from the configuration shown in FIG. 3a to the configuration shown in FIG. 3b. In the conventional system configuration shown in Figure 3a, each channel controller CHPO,1 is connected to a central processing unit.
Interrupt processing for CPU, 1, 2, 3 is 2
Since batch processing was performed on the master M side of the storage control unit MCU of the
Central processing that selects one of the interrupt requests sent in time series from CHP0 and CHP1 based on the value of a counter provided in the storage control unit MCU, and generates it based on the output signal of the same counter. There was no problem with the interrupt processing even in the method of generating interrupt signals by receiving interrupt mask signals from the devices (CPUs 0 to 3) in time series and comparing them with the above-mentioned interrupt requests. However, in a system configuration like b, the channel control unit CHP connected to one storage control unit MCU is connected to the central processing unit CPU.
There is no problem with the interrupt processing for
Channel control device CHP connected to MCU
When considering interrupt processing from a free central processing unit (CPU0, 2, or
It is necessary to synchronize with the interrupt enable signal (mask signal) from the CPUs 1 and 3), and an effective synchronization method between the two storage control units MCU has been awaited. [Prior Art] Figure 4 is a block diagram of a conventional interrupt processing mechanism in a storage control unit MCU.
1 is a counter, 2 is a decoder DEC, 3 is a group of interrupt pending latches, 4 is a selector SEL, 5 is an interrupt control section, 6 is a correction adder CA, 70 to 76 are latches, and 8 is a master and slave of the storage control unit MCU. This is the latch (M/S) to display. For convenience of explanation, CPUs 0, 1 and 2 are used as central processing units connected to each storage control unit MCU.
The explanation will be based on a system limited to two CHPs 0 and 1 as channel control devices. Also, usually
Interrupt processing, etc. is done by the storage control device on the master (M) side.
The MCU does it. Now, the channel control device (hereinafter referred to as CHP0, 1)
) to the central processing unit (hereinafter referred to as CPU0,1
), and when the interrupt information is set in latches 70 and 71,
It is decoded by decoder DEC2 and set in the relevant bit of interrupt pending latch group 3. Counter 1 is made up of, for example, 4 bits (=16 counts), and is counted up every machine cycle, and depending on the count value at that time, one of the interrupt pending latch group 3 made up of 16 bits is selected. It operates as if selected by selector SEL4. On the other hand, the value of the counter 1 is determined by the correction adder CA6, which reads the mask bit corresponding to the value of the counter 1 by the CPUs 0 and 1, and sets the latch 72,
73, the interrupt controller 5 corrects the delay cycle until the interrupt latch selected by the selector SEL4 is ANDed, and the signal is sent to the CPUs 0 and 1 through the latch 76. The interrupt mask bits sent from each CPU0 and 1 are set in latches 72 and 73, and
In the interrupt control unit 5, an AND is performed with the interrupt pending latch selected by the selector SEL4,
One interrupt according to the priority determined by the AND output is selected, and the latch 74 or 7
5 and is sent to CPU0,1 respectively, from CHP0,1 to CPU0,1.
An interruption is made. A logic table for sending the interrupt latch selected by the selector SEL4 to either CPU0 or CPU1 is shown below.
このような従来方式においては、マスタ側の記
憶制御装置MCUにおいて、一括的に割り込み処
理が実行されるので、当該システムに接続される
総てのチヤンネル制御装置(例えば、CHP0,
1)中央処理装置(例えば、CPU0〜3)に対
して、上記ラツチ70〜76に対応するラツチ、
及び接続端子が必要となり、記憶制御装置MCU
の高集積化を妨げる問題があつた。
又、本来ならば、スレーブ側(又は、マスタ
側)の記憶制御装置MCUで制御されるべきチヤ
ンネル制御装置CHP、中央処理装置CPUを、マ
スタ(M)側{又は、スレーブ(S)側}の記憶
制御装置MCUにも接続する必要があり、信号線
長の伸張に伴う信号の伝搬遅延が大きくなり、当
該データ処理システムの高速化を妨げる問題があ
つた。
本発明は上記従来の欠点に鑑み、2台の記憶制
御装置MCUと、総てのチヤンネル制御装置
CHPi、或いは中央処理装置CPUjとの間で、直
接接続を行わないシステム構成において、それぞ
れの記憶制御装置MCUに直接接続されているチ
ヤンネル制御装置(例えば、CHP0、又はCHP
1から、中央処理装置(例えば、CPU,1、又
はCPU2,3)への割り込みを効果的に行う方
法を提供することを目的とするものである。
〔問題点を解決する為の手段〕
この目的は、1つのチヤネル制御装置CHPか
らの割り込み要求を、直接接続される記憶制御装
置MCUの割り込み保留ラツチ群へ設定すると共
に、該記憶制御装置MCUを通して、他の記憶制
御装置MCUの割り込み保留ラツチ群に同時に設
定する第1の交又機構と、中央処理装置CPUが
直接接続されている記憶制御装置MCUから、時
系列に送られてくる番号に従つた割り込み許可信
号(マスク信号)を、該記憶制御装置MCUの割
り込みマスクラツチ部に時系列で入力すると共
に、該記憶制御装置MCUを通して他の記憶制御
装置MCUの割り込みマスクラツチ部に入力する
第2の交又機構と、各記憶制御装置MCUにおい
ては、上記割り込み保留ラツチ群から、上記割り
込み許可信号に従つた、少なくとも1つの割り込
み信号を選択す為のカウンタを設け、該カウンタ
の一状態をデコードして、互いに相手の記憶制御
装置MCUに送出する第3の交又機構を設けると
共に、各記憶制御装置MCUでは、上記第3の交
又機構で送出したデコード信号に基づいて、自装
置内のデコード信号と、他の記憶制御装置MCU
から送られてきた該デコード信号との不一致を検
出する手段を設けて、該不一致信号により、該カ
ウンタを、予め、定められた一状態に、強制設定
し、該強制設定で得られる一致信号により、上記
の強制設定を解除して、該カウンタがカウントを
開始するように制御し、各記憶制御装置に設けら
れた上記カウンタの同期化を行う同期化機構9に
より、該カウンタの同期化を行い、該同期化され
たカウンタの出力信号によつて、対応した上記割
り込み許可信号を指定する番号を送出し、上記第
1と、第2と、第3の交又機構に基づいて、上記
2台の記憶制御装置MCU間において、割り込み
許可信号と割り込み要求との同期化を行う本発明
の同期化割込み制御回路によつて達成される。
〔作用〕
即ち、本発明によれば、2台の記憶制御装置
MCUの割り込み機構を対象的に構成し、それぞ
れの記憶制御装置MCUに接続されているチヤン
ネル制御装置CHPiからの割り込み要求情報を、
互いに交叉させると共に、中央処理装置CPUjか
ら時系列で送られてくる割り込みマスク信号を互
いに交叉させ、更に該割り込み要求情報をデコー
ドしたラツチデータとマスクラツチとが、それぞ
れの割り込み制御部において、割り込み保留ラツ
チ群から1つを選択する為のカウンタ出力と、1
対1対応がとれるように、該カウンタ出力を第3
の交叉線で交叉させて、該カウンタの状態を、特
定の一状態、例えば、‘0'状態に同期化する機構
を設けたものであるので、例えば構成制御等によ
り、1MCU→2MCUの切り替えが生じても、該カ
ウンタを一致させる為の特別な命令等の実行する
ことなく、最小限のインタフエース線で、比較的
短い時間後に、自動的に両MCUのカウンタの同
期がとれ、自記憶制御装置MCUに接続されてい
るチヤンネル制御装置CHPiからの割り込み要求
も、他の記憶制御装置MCUに接続されているチ
ヤンネル制御装置CHPiからの割り込み要求も、
同じタイミングで、任意の割り込み先の中央処理
装置CPUjに送出することができる効果がある。
〔実施例〕
以下本発明の実施例を図面によつて詳述する。
第1図は、本発明の一実施例をブロツク図で示し
たものであり、第2図は本発明の主眼となるカウ
ンタの同期化動作をタイムチヤートで示した図で
あり、第4図と同じ符号は同じ対象物を示し、ラ
ツチ80〜83、カウンタ1の同期化機構9、及
び交叉線(マスク情報、割り込み要求情報、カウ
ンタのデコード情報)が本発明を実施するのに必
要な機能ブロツクである。
本実施例におけるシステム構成は、第3図bの
構成を前提とするが、説明の便宜上、2台の記憶
制御装置(以下、MCU0,1と云う)に対して、
それぞれCPU0,CHP0,及びCPU1,CHP1
とが直接接続されているものとする。
本発明を実施しても、割り込み処理の基本的な
動作は、第4図で説明した従来方式と同じである
ので、詳細な説明は省略するが、例えば、MCU
0に接続されているCHP0からの割り込み要求
情報をデコーダDEC2でデコードして割り込み
保留ラツチ群3にセツトするタイミングと、
MCU1に接続されているCHP1からの割り込み
要求情報を、同じMCU0のデコーダDEC2でデ
コードして割り込み保留ラツチ群3にセツトする
タイミングを同じにする必要がある為、割り込み
要求情報の交又機構(第1の交又機構)と、タイ
ミング合わせの為のラツチ80,81が設けられ
ている。
同じようにして、MCU0に接続されている
CPU0から時系列で送れてくる割り込みマスク
情報と、MCU1に接続されているCPU1から時
系列で送られてくる割り込みマスク情報に対して
も、交叉機構(第2の交又機構)と、タイミング
合わせの為のラツチ82,83が設けられてい
る。
次に、MCU1に接続されているCHP1から、
MCU0に接続されているCPU0への割り込み要
求があつた時、MCU0の割り込み制御部5にお
いて、カウンタ1が示す値によつて選択された割
り込み保留ラツチと、CPU0から送られてきた
マスクラツチとを一致させる為には、MCU0,
1のカウンタ1が完全に同期して動作している必
要がある。
本発明の主眼は、上記割り込み要求情報の交又
機構(第1の交又機構)と、マスク情報の交又機
構(第2の交又機構)と、カウンタ1を同期化す
る為の機構(第3の交又機構を含む)9を設けた
所にある。
該カウンタ1の同期化動作を、第2図のタイム
チヤートを参照しながら説明する。
カウンタ1の同期化機構9において、91は‘
0'デコーダDEC、92はMCU0,1のそれぞれ
に設けられているカウンタ1の‘0'デコーダDEC
出力の不一致検出機構、MCU0におけるa〜d
(又は、MCU1におけるa′〜d′)はタイミング合
わせの為のラツチである。
今、MCU0のカウンタ1が、0からカウント
動作を始めた時、MCU1のカウンタ1は4,5,
6,……のカウント動作をしていたとする。(第
2図、,′参照)
先ず、MCU0の‘0'デコーダDEC91が付勢
され、ラツチaがオンとなり、ラツチbに送出さ
れると共に、交又線(第3の交又機構)を通して
MCU1のラツチc′にも送出される。この時、
MCU1の‘0'デコーダDEC91の出力は‘0'で
あるので、該‘0'信号がb′、及びcに送出されて
いる。
従つて、MCU0のカウンタ1の値が‘2'のタ
イミングにおいて、ラツチb,c、及びb′,c′と
が不一致検出機構92で比較され、不一致である
と、MCU0のカウンタ1の値が‘3'のタイミン
グにおいて、ラツチd,d′を‘1'にセツトし、
MCU0,1のそれぞれのカウンタ1を‘0'に強
制的にセツトするように機能する。
そして、該カウンタ1に対する‘0'セツト動作
は、それぞれの‘0'デコーダDEC91を付勢して
ラツチa,a′をオンとし、それぞれの不一致検出
機構92が一致を検出してラツチd,d′が‘0'に
セツトされる迄続けられる。
ラツチd,d′が‘0'になつたタイミングから、
MCU0,1のカウンタ1は同期して、カウンタ
アツプを始めることができる。(第2図、2,
2′参照)
MCU0,1のカウンタ1が同期してカウント
アツプを続けている限り、MCU0からCPU0へ
送出する割り込みマスク番号(即ち、カウンタ1
の値を補正した値)とMCU1かCPU1へ送出す
る割り込みマスク番号とは、全く同じであるの
で、該CPU0,1からの割り込みマスク情報も
同じとなり、該2つのマスク情報が、それぞれラ
ツチ82,83を経由して、同じタイミングで、
例えばMCU0の割り込み制御部5に送出されて
くるので、MCU1に接続されているCHP1か
ら、MCU0に接続されているCPU0への割り込
み要求があつた時でも、MCU0の割り込み制御
部5において、カウンタ1が示す値によつて選択
された割り込み保留ラツチと、CPU0から送ら
れてきたマスクラツチとを一致させることができ
る。
このように、本発明においては、カウンタ1の
一状態(例えば、‘0')をデコードし、互いに他
のMCU(例えば、MCU1)に送出すると共に、
他のMCUから受けた該当信号と自MCU(例えば、
MCU0)の該当信号の不一致により、該カウン
タ1を一状態(例えば、‘0')に設定し続け、一
致が検出されたタイミングにおいて、上記一状態
への設定を解除することにより、例えば構成制御
等により1MCUから2MCUの切り替えが生じて
も、該カウンタを一致させる為の特別な命令等の
実行も不要で、且つ両MCU0,1間の信号線も、
割り込み要求情報と、マスク情報と、カウンタの
‘0'デコーダDEC情報の3対の交又線(第1,第
2,第3の交又機構)といつた最小限の本数で、
然も比較的短い一定時間後には、両MCU0,1
のカウンタ1のカウン値を自動的に一致させるこ
とができると云う特徴がある。
〔発明の効果〕
以上、詳細に説明したように、本発明の割り込
み制御の同期化方式は、2台の記憶制御装置
MCUの割り込み機構を対象的に構成し、それぞ
れの記憶制御装置MCUに接続されているチヤン
ネル制御装置CHPiからの割り込み要求情報を、
互いに交叉させると共に、中央処理装置CPUjか
ら時系列で送られてくる割り込みマスク信号を互
いに交叉させ、更に該割り込み要求情報をデコー
ドしたラツチデータとマスクラツチとが、それぞ
れの割り込み制御部において、割り込み保留ラツ
チ部から1つを選択する為のカウンタ出力と、1
対1対応がとれるように、該カウンタ出力を第3
の交又機構で交叉させて、該カウンタの状態を、
特定の一状態、例えば、‘0'状態に同期化する機
構を設けたものであるので、例えば構成制御等に
より1MCU→2MCUの切り替えが生じても、該カ
ウンタを一致させる為の特別な命令等の実行する
ことなく、最小限のインタフエース線で、比較的
短い時間後に、自動的に両MCUのカウンタの同
期がとれ、自記憶制御装置MCUに接続されてい
るチヤンネル制御装置CHPiからの割り込み要求
も、他の記憶制御装置MCUに接続されているチ
ヤンネル制御装置CHPiからの割り込み要求も、
同じタイミングで、任意の割り込み先の中央処理
装置CPUjに送出することができる効果がある。
In such a conventional system, interrupt processing is executed collectively in the storage control unit MCU on the master side, so all channel control units connected to the system (for example, CHP0,
1) For the central processing unit (e.g. CPU0-3), latches corresponding to the latches 70-76,
and connection terminals are required, and the storage control device MCU
There were problems that hindered high integration. In addition, the channel control unit CHP and central processing unit CPU, which should normally be controlled by the storage control unit MCU on the slave side (or master side), are controlled by the storage control unit MCU on the master (M) side {or slave (S) side}. It is also necessary to connect to the storage control unit MCU, and as the signal line length increases, the signal propagation delay increases, which poses a problem that hinders the speeding up of the data processing system. In view of the above-mentioned conventional drawbacks, the present invention provides two storage control units MCU and all channel control units.
In a system configuration in which there is no direct connection between the CHPi or the central processing unit CPUj, the channel control device (for example, CHP0 or CHP
1, it is an object of the present invention to provide a method for effectively interrupting a central processing unit (eg, CPU,1, or CPU2,3). [Means for solving the problem] The purpose of this is to set an interrupt request from one channel control device CHP to the interrupt pending latch group of the directly connected storage control device MCU, and to send it through the storage control device MCU. , according to the numbers sent in chronological order from the storage control unit MCU to which the central processing unit CPU is directly connected. The interrupt enable signal (mask signal) received by the storage controller MCU is input in chronological order to the interrupt mask latch unit of the storage controller MCU, and is also input to the interrupt mask latch unit of another storage controller MCU through the storage controller MCU. Further, the mechanism and each storage control unit MCU are provided with a counter for selecting at least one interrupt signal from the group of interrupt pending latches according to the interrupt enable signal, and a state of the counter is decoded. , a third switching mechanism is provided that sends out to the other storage control unit MCU, and each storage control unit MCU transmits the decoded signal within itself based on the decoded signal sent by the third switching mechanism. and other storage controller MCU
means for detecting a discrepancy with the decoded signal sent from the decoded signal, the counter is forcibly set to a predetermined state by the discrepancy signal, and the counter is forcibly set to a predetermined state by the discrepancy signal; , the above forced setting is canceled, the counter is controlled to start counting, and the counter is synchronized by a synchronization mechanism 9 provided in each storage control device that synchronizes the counter. , based on the output signal of the synchronized counter, sends a number specifying the corresponding interrupt enable signal, and based on the first, second, and third switching mechanism, the two devices This is achieved by the synchronized interrupt control circuit of the present invention, which synchronizes the interrupt enable signal and the interrupt request between the storage control units MCU. [Operation] That is, according to the present invention, two storage control devices
The interrupt mechanism of the MCU is configured symmetrically, and the interrupt request information from the channel control device CHPi connected to each storage control device MCU is
At the same time, the interrupt mask signals sent in time series from the central processing unit CPUj are crossed with each other, and the latch data and the mask latch, which are obtained by decoding the interrupt request information, are stored in a group of interrupt pending latches in each interrupt control section. A counter output for selecting one from
In order to have a one-to-one correspondence, the output of the counter is
A mechanism is provided to synchronize the state of the counter to a specific state, for example, the '0' state, by crossing the lines at the intersection lines of the counters. Even if this happens, the counters of both MCUs will be automatically synchronized after a relatively short period of time without executing any special instructions to make the counters match, and self-memory control will be performed. Interrupt requests from the channel control device CHPi connected to the device MCU as well as interrupt requests from the channel control device CHPi connected to other storage control device MCU,
This has the advantage that it can be sent to any interrupt destination central processing unit CPUj at the same timing. [Examples] Examples of the present invention will be described in detail below with reference to the drawings.
FIG. 1 is a block diagram showing one embodiment of the present invention, FIG. 2 is a time chart showing the synchronization operation of the counter, which is the main focus of the present invention, and FIG. The same reference numerals indicate the same objects, and the latches 80 to 83, the synchronization mechanism 9 of the counter 1, and the cross line (mask information, interrupt request information, counter decoding information) are functional blocks necessary to implement the present invention. It is. The system configuration in this embodiment is based on the configuration shown in FIG. 3b, but for convenience of explanation, the system configuration is
CPU0, CHP0, and CPU1, CHP1 respectively
It is assumed that they are directly connected. Even if the present invention is implemented, the basic operation of interrupt processing is the same as the conventional method explained in FIG. 4, so a detailed explanation will be omitted.
The timing at which interrupt request information from CHP0 connected to CHP0 is decoded by decoder DEC2 and set in interrupt pending latch group 3;
Interrupt request information from CHP1 connected to MCU1 must be decoded by decoder DEC2 of the same MCU0 and set to interrupt pending latch group 3 at the same timing. 1) and latches 80 and 81 for timing adjustment. In the same way, it is connected to MCU0
Interrupt mask information sent in chronological order from CPU 0 and interrupt mask information sent in chronological order from CPU 1 connected to MCU 1 are also processed by a crossover mechanism (second crossover mechanism) and timing alignment. Latches 82 and 83 are provided for this purpose. Next, from CHP1 connected to MCU1,
When an interrupt request is received to CPU0 connected to MCU0, the interrupt control unit 5 of MCU0 matches the interrupt pending latch selected by the value indicated by counter 1 with the mask latch sent from CPU0. In order to do this, MCU0,
1 counter 1 must operate completely synchronously. The main points of the present invention are the above-mentioned interrupt request information switching mechanism (first switching mechanism), mask information switching mechanism (second switching mechanism), and mechanism for synchronizing the counter 1 ( (including the third crossing mechanism) 9. The synchronization operation of the counter 1 will be explained with reference to the time chart of FIG. In the synchronization mechanism 9 of the counter 1, 91 is '
0' decoder DEC, 92 is the '0' decoder DEC of counter 1 provided in each of MCUs 0 and 1.
Output mismatch detection mechanism, a to d in MCU0
(or a' to d' in MCU1) are latches for timing adjustment. Now, when counter 1 of MCU0 starts counting from 0, counter 1 of MCU1 will be 4, 5,
Suppose that a counting operation of 6,... is performed. (See Figure 2, ,') First, the '0' decoder DEC91 of MCU0 is energized, latch a is turned on, and the signal is sent to latch b and passed through the crossing line (third crossing mechanism).
It is also sent to latch c' of MCU1. At this time,
Since the output of the '0' decoder DEC91 of the MCU 1 is '0', the '0' signal is sent to b' and c. Therefore, at the timing when the value of counter 1 of MCU0 is '2', latches b, c and b', c' are compared by the discrepancy detection mechanism 92, and if there is a discrepancy, the value of counter 1 of MCU0 is At timing '3', set latches d and d' to '1',
It functions to forcibly set each counter 1 of MCU0 and 1 to '0'. The '0' setting operation for the counter 1 is performed by energizing each '0' decoder DEC91 to turn on latches a and a', and each mismatch detection mechanism 92 detects a match and sets latches d and d. ' is set to '0'. From the timing when latches d and d' become '0',
Counters 1 of MCU0 and 1 can synchronize and start increasing the counters. (Fig. 2, 2,
2') As long as counters 1 of MCU0 and 1 continue counting up in synchronization, the interrupt mask number sent from MCU0 to CPU0 (i.e., counter 1
Since the interrupt mask number sent to MCU 1 or CPU 1 is exactly the same, the interrupt mask information from CPUs 0 and 1 is also the same, and the two mask information are sent to latches 82 and 1, respectively. Via 83, at the same timing,
For example, it is sent to the interrupt control unit 5 of MCU0, so even when an interrupt request is received from CHP1 connected to MCU1 to CPU0 connected to MCU0, the interrupt control unit 5 of MCU0 The interrupt pending latch selected by the value indicated by can be matched with the mask latch sent from CPU0. In this way, in the present invention, one state (for example, '0') of the counter 1 is decoded and sent to other MCUs (for example, MCU1), and
Corresponding signals received from other MCUs and own MCU (for example,
Due to a mismatch in the corresponding signals of MCU0), the counter 1 is kept set to one state (for example, '0'), and at the timing when a match is detected, the setting to one state is canceled, for example, configuration control is performed. Even if switching from 1MCU to 2MCU occurs due to etc., there is no need to execute any special commands to make the counters match, and the signal line between both MCUs 0 and 1 does not need to be executed.
With a minimum number of three pairs of crossing lines (first, second, and third crossing mechanisms) for interrupt request information, mask information, and counter '0' decoder DEC information,
However, after a relatively short period of time, both MCUs 0 and 1
A feature is that the count values of counter 1 can be automatically matched. [Effects of the Invention] As described above in detail, the interrupt control synchronization method of the present invention is effective when two storage control devices
The interrupt mechanism of the MCU is configured symmetrically, and the interrupt request information from the channel control device CHPi connected to each storage control device MCU is
At the same time, the interrupt mask signals sent in time series from the central processing unit CPUj are crossed with each other, and the latch data and mask latch obtained by decoding the interrupt request information are sent to the interrupt pending latch section in each interrupt control section. A counter output for selecting one from
In order to have a one-to-one correspondence, the output of the counter is
The state of the counter is changed by crossing it with the crossing mechanism of
Since it is equipped with a mechanism to synchronize to a specific state, for example, the '0' state, even if switching from 1MCU to 2MCU occurs due to configuration control, etc., there is no need for special commands etc. to make the counters match. The counters of both MCUs are automatically synchronized after a relatively short period of time, with a minimum of interface wires, and without the need for interrupt requests from the channel controller CHPi connected to the own memory controller MCU. Also, interrupt requests from the channel control unit CHPi connected to other storage control unit MCU,
This has the advantage that it can be sent to any interrupt destination central processing unit CPUj at the same timing.
第1図は本発明の一実施例をブロツク図で示し
た図、第2図はカウンタの同期化動作をタイムチ
ヤートで示した図、第3図はデータ処理システム
の構成例を示した図、第4図は従来方式による割
り込み処理機構をブロツク図で示した図、であ
る。
図面において、MCU0,1は記憶制御装置、
CPU0〜3は中央処理装置、CHP0,1はチヤ
ネル制御装置、MSU0,1は主記憶装置、1は
カウンタ、2はデコーダDEC、3は割り込み保
留ラツチ群、4はセレクタ(SEL)、5は割り込
み制御部、6は補正アダー(CA)、70〜76,
80〜84はラツチ、9はカウンタ同期化機構、
91は‘0'デコーダ(DEC)、92は不一致検出
機構、をそれぞれ示す。
FIG. 1 is a block diagram showing an embodiment of the present invention, FIG. 2 is a time chart showing counter synchronization operation, and FIG. 3 is a diagram showing an example of the configuration of a data processing system. FIG. 4 is a block diagram showing a conventional interrupt processing mechanism. In the drawing, MCU0 and 1 are storage control devices,
CPU0 to 3 are central processing units, CHP0 and 1 are channel control units, MSU0 and 1 are main storage units, 1 is a counter, 2 is a decoder DEC, 3 is a group of interrupt pending latches, 4 is a selector (SEL), and 5 is an interrupt Control unit, 6 is a correction adder (CA), 70 to 76,
80 to 84 are latches, 9 is a counter synchronization mechanism,
Reference numeral 91 indicates a '0' decoder (DEC), and reference numeral 92 indicates a mismatch detection mechanism.
Claims (1)
制御装置MCUの1台にのみ直接接続されるチヤ
ネル制御装置CHPから、又は、他の記憶制御装
置MCUを通して間接的に接続されるチヤネル制
御装置CHPから、該記憶制御装置MCUに直接接
続されている中央処理装置CPUへの複数の割り
込みを時系列に処理する時の割り込み許可信号と
割り込み要求の同期化を行う為の同期化制御回路
であつて、 1つのチヤネル制御装置CHPからの割り込み
要求を、直接接続される記憶制御装置MCUの割
り込み保留ラツチ群へ設定すると共に、該記憶制
御装置MCUを通して、他の記憶制御装置MCUの
割り込み保留ラツチ群に同時に設定する第1の交
又機構と、 中央処理装置CPUが直接接続されている記憶
制御装置MCUから、時系列に送られてくる番号
に従つた割り込み許可信号(マスク信号)を、該
記憶制御装置MCUの割り込みマスクラツチ部に
時系列で入力すると共に、該記憶制御装置MCU
を通して他の記憶制御装置MCUの割り込みマス
クラツチ部に入力する第2の交又機構と、 各記憶制御装置MCUにおいては、上記割り込
み保留ラツチ群から、上記割り込み許可信号に従
つた、少なくとも1つの割り込み信号を選択する
為のカウンタを設け、該カウンタの一状態をデコ
ードして、互いに相手の記憶制御装置MCUに送
出する第3の交又機構を設け、 各記憶制御装置MCUでは、上記第3の交又機
構で送出したデコード信号に基づいて、自装置内
のデコード信号と、他の記憶制御装置MCUから
送られてきた該デコード信号との不一致を検出す
る手段を設けて、 該不一致検出手段によつて検出されたカウンタ
の不一致信号により、該カウンタを、予め、定め
られた一状態に、強制設定し、該強制設定で得ら
れる一致信号により、上記の強制設定を解除し
て、該カウンタがカウントを開始するように制御
し、各記憶制御装置MCUに設けられた上記カウ
ンタの同期化を行う同期化機構9により、該カウ
ンタの同期化を行い、 該同期化されたカウンタの出力信号によつて、
対応した上記割り込み許可信号を指定する番号を
送出し、上記第1と、第2と、第3の交又機構に
基づいて、上記2台の記憶制御装置MCU間にお
いて、割り込み許可信号と割り込み要求との同期
化を行うことを特徴とする同期化割り込み制御回
路。[Claims] 1. For two storage control devices MCU, from a channel control device CHP directly connected to only one of each storage control device MCU, or indirectly through another storage control device MCU For synchronizing interrupt permission signals and interrupt requests when processing multiple interrupts in chronological order from the connected channel control device CHP to the central processing unit CPU directly connected to the storage control device MCU. A synchronization control circuit that sets an interrupt request from one channel control device CHP to a group of interrupt pending latches of a directly connected storage control device MCU, and sends an interrupt request from one channel control device CHP to another storage control device through the storage control device MCU. A first switching mechanism that simultaneously sets the interrupt pending latches of the MCU and an interrupt enable signal (mask signals) to the interrupt mask latch section of the storage control device MCU in chronological order, and
a second switching mechanism that inputs an input signal to the interrupt mask latch unit of another storage control unit MCU through the interrupt mask latch unit of the other storage control unit MCU; A counter is provided for selecting the counter, and a third switching mechanism is provided that decodes one state of the counter and sends it to the other storage control unit MCU, and each storage control unit MCU selects the third switching mechanism. Further, means is provided for detecting a mismatch between the decoded signal within the own device and the decoded signal sent from another storage control unit MCU based on the decoded signal sent by the mechanism, and the mismatch detection means The counter is forcibly set to a predetermined state by the detected counter mismatch signal, and the above forced setting is canceled by the match signal obtained by the forced setting, so that the counter starts counting. The counters are synchronized by a synchronization mechanism 9 that synchronizes the counters provided in each storage control unit MCU, and the output signals of the synchronized counters are used to synchronize the counters. ,
A number specifying the corresponding interrupt enable signal is sent, and the interrupt enable signal and interrupt request are exchanged between the two storage control units MCU based on the first, second, and third switching mechanisms. A synchronized interrupt control circuit characterized in that it performs synchronization with a synchronized interrupt control circuit.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP59276368A JPS61165164A (en) | 1984-12-28 | 1984-12-28 | Synchronizing system of interruption control |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP59276368A JPS61165164A (en) | 1984-12-28 | 1984-12-28 | Synchronizing system of interruption control |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS61165164A JPS61165164A (en) | 1986-07-25 |
| JPH0370266B2 true JPH0370266B2 (en) | 1991-11-07 |
Family
ID=17568454
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP59276368A Granted JPS61165164A (en) | 1984-12-28 | 1984-12-28 | Synchronizing system of interruption control |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS61165164A (en) |
-
1984
- 1984-12-28 JP JP59276368A patent/JPS61165164A/en active Granted
Also Published As
| Publication number | Publication date |
|---|---|
| JPS61165164A (en) | 1986-07-25 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JPH0370266B2 (en) | ||
| US5446847A (en) | Programmable system bus priority network | |
| EP0251234B1 (en) | Multiprocessor interrupt level change synchronization apparatus | |
| JP2502030B2 (en) | Synchronizer for a synchronous data processing system. | |
| JPS60168240A (en) | Interrupt processing circuit | |
| JPH07219887A (en) | Dma transfer controller | |
| KR950008393B1 (en) | Multi-Process System Arbiter Delay Circuit | |
| JP2667285B2 (en) | Interrupt control device | |
| JPS6316780B2 (en) | ||
| JPH0330044A (en) | Interruption control method | |
| KR100223983B1 (en) | Collision Avoidance Circuit | |
| JPH0318958A (en) | Multiprocessor system | |
| JPS61166662A (en) | Interruption control system | |
| JPH03137754A (en) | Access control system for shared memory | |
| JPS6197777A (en) | Interruption processing circuit | |
| SU1649559A1 (en) | Interface for two computers | |
| JPS5844426Y2 (en) | Inter-processor information transfer device | |
| JPH04654A (en) | Bus control system | |
| JPH07248803A (en) | Synchronizing device for dual device | |
| JPH01144134A (en) | Space switching system | |
| JPH04308955A (en) | Multiprocessor device | |
| JPH049350B2 (en) | ||
| JPH0236454A (en) | Control system for bus between main storage controllers | |
| JPS6022249A (en) | Analysis method of process interruption | |
| JPS63271635A (en) | High-speed arithmetic processor |