JPS5846725B2 - Interrupt input control method - Google Patents
Interrupt input control methodInfo
- Publication number
- JPS5846725B2 JPS5846725B2 JP53084263A JP8426378A JPS5846725B2 JP S5846725 B2 JPS5846725 B2 JP S5846725B2 JP 53084263 A JP53084263 A JP 53084263A JP 8426378 A JP8426378 A JP 8426378A JP S5846725 B2 JPS5846725 B2 JP S5846725B2
- Authority
- JP
- Japan
- Prior art keywords
- data processing
- interrupt input
- interrupt
- read
- processing devices
- 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
Links
Landscapes
- Bus Control (AREA)
Description
【発明の詳細な説明】
本発明は1つの割込み入力装置7を複数のデータ処理装
置によって共用するときの割込み入力制御方式に関する
ものである。DETAILED DESCRIPTION OF THE INVENTION The present invention relates to an interrupt input control method when one interrupt input device 7 is shared by a plurality of data processing devices.
データ処理装置を冗長化して信頼性を高めた場合等に、
割込み入力信号を冗長化接続された複数のデータ処理装
置に共通に与える必要がある。When increasing reliability by making data processing equipment redundant, etc.
It is necessary to commonly apply an interrupt input signal to a plurality of redundantly connected data processing devices.
その場合データ処理装置ごとに割込み入力装置を設ける
のは不経済であり、また割込み信号源からの導線を各割
込み入力装置に分岐して接続しなければならないのが厄
介である。In this case, it is uneconomical to provide an interrupt input device for each data processing device, and it is also troublesome that the conductor from the interrupt signal source must be branched and connected to each interrupt input device.
これに対して1つの割込み入力装置を複数のデータ処理
装置によって共用するようにすればそのような問題はな
くなるが、割込み入力信号は1つのデータ処理装置によ
って読取られるとクリアされるので、その後に他のデー
タ処理装置は割込み入力信号を知ることができない。On the other hand, if one interrupt input device is shared by multiple data processing devices, this problem will disappear, but since the interrupt input signal is cleared when it is read by one data processing device, Other data processing devices are not aware of the interrupt input signal.
冗長化されたデータ処理装置が、非同期でそれぞれ独自
のタイミングで動作するものであるとき、このようなこ
とは常に発生する。This always occurs when redundant data processing devices operate asynchronously and at their own timing.
1つのデータ処理装置が割込み入力信号を読み取った後
で、他のデータ処理装置が割込み入力信号を知ることが
できるようにするには、割込み入力信号を読取ったデー
タ処理から装置割込人力信号を他のデータ処理装置にも
伝達するようにすればよいが、そのようにするにはデー
タ処理装置間の結合を密にする必要があり、また特別な
接続線も必要とされる。After one data processing device reads an interrupt input signal, in order for other data processing devices to be able to learn about the interrupt input signal, the device interrupt input signal must be output from the data processing device that read the interrupt input signal. It may be possible to transmit the information to other data processing devices, but this requires tight coupling between the data processing devices and also requires special connection lines.
データ処理装置間の結合は所期の目的が達成される範囲
でできるだけ粗である方が好ましい。It is preferable that the coupling between data processing devices be as coarse as possible as long as the intended purpose is achieved.
本発明の目的は、読み取り後は内容がクリアされる割込
み入力装置を、非同期で動作する相互結合の比較的粗い
複数のデータ処理装置で共用するための割込み入力制御
方式を提供することにある。SUMMARY OF THE INVENTION An object of the present invention is to provide an interrupt input control method that allows an interrupt input device whose contents are cleared after reading to be shared by a plurality of asynchronously operated and relatively loosely interconnected data processing devices.
本発明は、複数のデータ処理装置ごとに割込み入力信号
コピー用の記憶器を設け、1つのデータ処理装置が割込
み入力装置を読取るたびに他のデータ処理装置用の記憶
器にコピーを取り、他のデータ処理装置がその後で割込
み入力装置を読み取るときは、割込み入力装置の内容と
自己用の記憶器の記憶値との論理和を読み取るようにし
たものである。The present invention provides a storage device for copying an interrupt input signal for each of a plurality of data processing devices, and each time one data processing device reads an interrupt input device, a copy is made to the storage device for another data processing device, and the other data processing devices When the data processing device subsequently reads the interrupt input device, it reads the logical sum of the contents of the interrupt input device and the value stored in its own storage device.
以下図面によって本発明を説明する。The present invention will be explained below with reference to the drawings.
第1図は本発明実施例の概念的構成図である。FIG. 1 is a conceptual block diagram of an embodiment of the present invention.
第1図において、CPUA、CPUBはデータ処理装置
、INTは割込み入力装置、■PCは割込み入力制御ζ
置である。In Figure 1, CPUA and CPUB are data processing devices, INT is an interrupt input device, and PC is an interrupt input control ζ
It is a place.
割込み人力装置INTは、割込み入力信号すなわち各ビ
ットがそれぞれ割込み原因に対応づけられたディジタル
信号を複数ワード分保持している。The human interrupt device INT holds a plurality of words of an interrupt input signal, that is, a digital signal in which each bit is associated with an interrupt cause.
データ処理装置CPUA、CPUBは割込み入力制御装
置IPCを通じてこれら割込み入力信号の読込みを行う
。The data processing devices CPUA and CPUB read these interrupt input signals through the interrupt input control device IPC.
割込み入力制御装置IPCは、制御回路CNT、セレク
タSEL、レジスタRG、記憶器(ランダム・アクセス
・メモリ等) RAMA 、 RAMB 、アンド・ゲ
ートGAI 、GA2 、 GB、 、 GB2、およ
び、オア・ゲートGAa 、GA4.GB3.GB4を
持っている。The interrupt input control device IPC includes a control circuit CNT, a selector SEL, a register RG, memory devices (random access memory, etc.) RAMA, RAMB, AND gates GAI, GA2, GB, GB2, and an OR gate GAa. GA4. GB3. I have a GB4.
記憶器RAMA 、RAMBはそれぞれデータ処理装置
CPUA、CPUB用である。The memories RAMA and RAMB are for data processing units CPUA and CPUB, respectively.
制御回路CNTにはデータ処理装置CPUA、CPUB
から割込み入力装置INTの読込み要求信号REQA。The control circuit CNT includes data processing devices CPUA and CPUB.
to the read request signal REQA of the interrupt input device INT.
REQBがそれぞれ与えられる。REQB is given to each.
制御回路CNTは先着順に従っていずれか一方に読込み
権を与えるための選択信号5LCTA 、5LCTBを
生じる。The control circuit CNT generates selection signals 5LCTA and 5LCTB for granting reading rights to either one on a first-come, first-served basis.
選択信号5LCTAおよび5LCTBはそれぞれアンド
・ゲートGAI t G A2およびGBl、GB2の
開閉を制御する。Selection signals 5LCTA and 5LCTB control opening and closing of AND gates GAI t G A2 and GB1, GB2, respectively.
選択信号5LCTAはセレクタSELに与えられ、その
切換えを制御する。Selection signal 5LCTA is applied to selector SEL to control its switching.
セレクタSELにはデータ処理装置CPUA、CPUB
から割込み入力装置INTの読込みのためのアドレス信
号ADR8(A)、ADR8(B)が与エラレ、いずれ
か一方が選択されてレジスタRGに与えられる。The selector SEL has data processing devices CPUA and CPUB.
Then, address signals ADR8(A) and ADR8(B) for reading from the interrupt input device INT are applied, and one of them is selected and applied to the register RG.
レジスタRGには制御回路CNTが発する読込み要求信
号REQによってアドレスがセットされる。An address is set in register RG by read request signal REQ issued by control circuit CNT.
この読込み要求信号REQは割込み入力装置INTに与
えられる。This read request signal REQ is applied to the interrupt input device INT.
レジスタRGにセットされたアドレスは割込み入力装置
INTおよび記憶器RAMA、RAMBにアドレスAD
R8として与えられる。The address set in the register RG is the address AD in the interrupt input device INT and the memories RAMA and RAMB.
Given as R8.
割込み要求信号REQおよび読込みアドレスADR8に
従って、割込み入力装置INTからは読込み応答信号A
CKおよび割込み入力信号DIが出力される。According to interrupt request signal REQ and read address ADR8, read response signal A is output from interrupt input device INT.
CK and interrupt input signal DI are output.
読込み応答信号ACKは制御回路CNTに与えられると
ともに、アンド・ゲートGA1またはGBtを通じて読
込み権を持つ方のデータ処理装置に読込み応答信号AC
KAまたはACKBとして与えられる。The read response signal ACK is given to the control circuit CNT, and the read response signal AC is sent to the data processing device having the read right through the AND gate GA1 or GBt.
Given as KA or ACKB.
割込み入力信号DIは記憶器RAMA、RAMB O)
データ入力端子に与えられる。Interrupt input signal DI is stored in memory RAMA, RAMB O)
Given to the data input terminal.
割込み入力信号DIはまたオア・ゲートG、A4 t
GI34によってそれぞれ記憶器RAMA。The interrupt input signal DI is also an OR gate G, A4 t
Memory RAMA by GI34 respectively.
RAMBの出力信号D 0(A) 、 D 0(B)と
論理和されて、それぞれデータ処理装置CPUA、CP
UBに入力データD I(A) 、 D I(B)とし
て与えられる。They are logically summed with the output signals D 0 (A) and D 0 (B) of RAMB and sent to the data processing devices CPUA and CP, respectively.
The input data is given to UB as input data DI(A) and DI(B).
読込み権を持つ方のデータ処理装置CPUAまたはCP
UBは読込み応答信号ACKAまたはACKBに従って
入力データを読込む。Data processing device CPUA or CP with read permission
UB reads input data according to read response signal ACKA or ACKB.
読込み応答信号ACKAおよびACKBはそれぞれオア
・ゲートGB3およびGA3を通じてそれぞれ記憶器R
AMBおよびRAMAのライト・イネーブル端子に与え
られる。Read response signals ACKA and ACKB are applied to memory R through OR gates GB3 and GA3, respectively.
Provided to the write enable terminals of AMB and RAMA.
これによって読込み権を持つデータ処理装置に入力デー
タの読込みが行われるとき、読込み権を持たないデータ
処理装置側の記憶器には割込み入力信号の書込みすなわ
ちコピーが行われる。As a result, when input data is read into a data processing device that has read authority, the interrupt input signal is written, that is, copied, to the memory of the data processing device that does not have read authority.
読込みが終了すると制御回路CNTからクリア信号PW
Rが出力され、アンド・ゲ゛−トGA2とオア・ゲート
GA3またはアンド・ゲートGB2とオア・ゲートGB
3を通じて、記憶器RAMAまたはRAMBのライト・
イネーブル端子に与えられる。When the reading is completed, a clear signal PW is sent from the control circuit CNT.
R is output, and AND gate GA2 and OR gate GA3 or AND gate GB2 and OR gate GB
3, write/write memory RAMA or RAMB.
Given to the enable terminal.
アンド・ゲートGA2 、GB2は読込み権が与えられ
ている方が開くから、クリア信号PWRは読込み権が与
えられている側にある記憶器に与えられる。Since the AND gates GA2 and GB2 are opened on the side to which the read right is granted, the clear signal PWR is applied to the memory device on the side to which the read right is granted.
クリア信号PWRが記憶器に与えられるとき割込み入力
信号はすでにクリアされているので、それが書込まれる
ことにより記憶値のクリアが行われる。Since the interrupt input signal has already been cleared when the clear signal PWR is applied to the memory, the stored value is cleared by writing it.
このように構成された装置の動作は次のとおりである。The operation of the device configured in this way is as follows.
動作説明図を第2図に示す。データ処理装置CPUAが
$10(16進表示)番地を指定して読込み要求信号R
EQAを発し、それに遅れてデータ処理装置CPUBが
#20番地を指定して読込み要求信号REQBを発した
とすると、先着のデータ処理装置CPUAの要求が制御
回路CNTに受付けられ、データ処理装置CPUAに読
込み権を与える選択信号5LCTAが発生する。An explanatory diagram of the operation is shown in FIG. The data processing device CPUA specifies address $10 (in hexadecimal) and sends a read request signal R.
Suppose that the data processing device CPUB issues a read request signal REQB specifying address #20 after issuing EQA, then the request from the first arriving data processing device CPUA is accepted by the control circuit CNT, and the request is sent to the data processing device CPUA. A selection signal 5LCTA is generated which gives read permission.
これによってアンド・ゲー1’ GAI 、GA2が開
かれ、セレクタSELによりデータ処理装置CPUA。As a result, AND game 1' GAI and GA2 are opened, and data processing unit CPUA is opened by selector SEL.
が選択される。is selected.
そして制御回路CNTから読込み要求信号REQが出力
され、これがレジスタRGと割込み入力装置INTに与
えられる。Then, a read request signal REQ is outputted from the control circuit CNT, and is applied to the register RG and the interrupt input device INT.
これによってレジスタRGにアドレス#10番地がセッ
トされ、これが割込み入力装置INTと記憶器RAMA
、RAMBにアドレスADR8として与えられる。As a result, address #10 is set in register RG, which is used by interrupt input device INT and memory RAMA.
, RAMB as address ADR8.
割込み入力装置INTは読込み要求信号REQによって
起動され、#10番地に保持していた割込み入力信号$
AAAAを出力しかつ読込み応答信号ACKを発する。The interrupt input device INT is activated by the read request signal REQ and receives the interrupt input signal $ held at address #10.
It outputs AAAA and issues a read response signal ACK.
割込み入力信号#AAAAは記憶器RAMA、RAMB
に与えられるとともに、オア・ゲートGA、4.GB4
によって記憶器RAMA。Interrupt input signal #AAAA is sent to memory devices RAMA and RAMB
Or Gate GA, 4. GB4
By memory RAMA.
RAMBの#10番地の内容とそれぞれ論理和されてデ
ータ処理装置CPUA、CPUBに与えられる。They are logically summed with the contents of address #10 of RAMB and provided to data processing devices CPUA and CPUB.
記憶器RAMAにおいて#10番地の内容が#5555
であったとすると、これと#AAAAの論理和によりデ
ータ処理装置CPUAの入力データDI(A)は#FF
FFとなる。The contents of address #10 in memory RAMA are #5555
If so, the input data DI(A) of the data processing device CPUA becomes #FF by the logical sum of this and #AAAA.
Becomes FF.
データ処理装置CPUAは開いているアンド・ゲ゛−ト
GA1を通じて与えられる読込み応答信号ACKAに従
って入力データ#FFFFを読込みかつ読込み要求信号
REQAを落とす。Data processing device CPUA reads input data #FFFF in accordance with read response signal ACKA applied through open AND gate GA1 and drops read request signal REQA.
一方アンド・ゲートGB1は閉じているのでデータ処理
装置CPUBには読込み応答信号ACKBは与えられず
、したがって入力データD■(B)の読込みは行われな
い。On the other hand, since the AND gate GB1 is closed, the read response signal ACKB is not applied to the data processing unit CPUB, and therefore the input data D■(B) is not read.
データ処理装置CPUAに与えられた読込み応答信号A
CKAはオア・ゲートGB3を通じて記憶器RAMHの
ライト・イネーブル端子に与えられる。Read response signal A given to data processing device CPUA
CKA is applied to the write enable terminal of memory RAMH through OR gate GB3.
これによって記憶器RAMBの#10番地には割込み入
力信号#AAAAが書込まれる。As a result, interrupt input signal #AAAA is written to address #10 of memory RAMB.
すなわち割込み入力信号は読込み権を持たない側の記憶
器にコピーされる。That is, the interrupt input signal is copied to the memory on the side that does not have read authority.
割込み入力信号の読込みおよびコピーが終ると割込み入
力装置INTの読込み応答信号ACKが落とされ、かつ
#10番地の割込み入力信号はクリアされる。When the reading and copying of the interrupt input signal is completed, the read response signal ACK of the interrupt input device INT is dropped, and the interrupt input signal at address #10 is cleared.
読込み応答信号ACKが落ちると、制御回路CNTは適
当なタイミングでクリア信号PWRを発する。When the read response signal ACK falls, the control circuit CNT issues a clear signal PWR at an appropriate timing.
この信号は開いているアンド・ゲートGA2とオア・ゲ
ートGA3を通じて記憶器RAMAのライト・イネーブ
ル端子に与えられ、記憶器RAMAの書込みが行われる
。This signal is applied to the write enable terminal of the memory RAMA through the open AND gate GA2 and OR gate GA3, and writing to the memory RAMA is performed.
このとき割込み入力信号DIはクリアされているので、
それが書込まれることにより記憶器RAMAの#10番
地の内容がクリアされる。At this time, the interrupt input signal DI is cleared, so
By writing this, the contents of address #10 of the memory RAMA are cleared.
これでデータ処理装置CPUAの読込み要求の1回当り
の動作が終る。This completes the operation of one read request by the data processing device CPUA.
次いで制御回路CNTはデータ処理装置CPUBが読込
み要求信号REQBを出していることにより、データ処
理装置CPUBに読込み権を与える選択信号5LCTB
−3発し、アンド・ゲー1”GBttGB2を開いてア
ンド・ゲートGA1.. GA2を閉じ、かつセレクタ
SELにデータ処理装置CPU Bを選択させる。Next, since the data processing device CPUB has issued the read request signal REQB, the control circuit CNT generates a selection signal 5LCTB that gives read authority to the data processing device CPUB.
-3, opens the AND gate 1''GBttGB2, closes the AND gates GA1...GA2, and causes the selector SEL to select the data processing device CPU B.
これによってデータ処理装置CPUAとCPUBの立場
が入れ替わり、その状態で上述と同様な動作が行われ、
データ処理装置CPUBによる割込み入力信号の読込み
と、記憶器RAMAによるコピーが行われる。As a result, the positions of the data processing devices CPUA and CPUB are swapped, and in that state, the same operation as described above is performed.
The interrupt input signal is read by the data processing unit CPUB and copied by the memory RAMA.
このように、本発明は、複数のデータ処理装置ごとに割
込み入力信号をコピーするための記憶器を設け、1つの
データ処理装置が割込み入力装置を読取るたびに他のデ
ータ処理装置用の記憶器にコピーを取り、他のデータ処
理装置がその後側込み入力装置を読み取るときは、割込
み入力装置の内容と自己用の記憶器の記憶値との論理和
を読み取るようにした。Thus, the present invention provides a memory for copying the interrupt input signal for each of a plurality of data processing devices, and each time one data processing device reads the interrupt input device, the memory for the other data processing devices is copied. When another data processing device subsequently reads the side input device, it reads the logical sum of the contents of the interrupt input device and the value stored in its own storage device.
このため、非同期で動作する複数のデータ処理装置の結
合が比較的粗のままで1つの割込み入力装置を共用する
ことができる。Therefore, a plurality of data processing devices that operate asynchronously can share one interrupt input device while remaining relatively loosely coupled.
また共用側脚は比較的簡単な手段によって実現できる。Also, the shared side legs can be realized by relatively simple means.
第1図は本発明実施例の概念的構成図、第2図は第1図
の装置の動作説明図である。
CPUA、CPUB・・・・・・データ処理装置、■N
T・・・・・・割込み入力装置、■PC・・・・・・割
込み入力制御装置、CNT・・・・・・制御回路、SE
L・・・・・・セレクタ、RG・・・・・・レジスタ、
RAMA、RAMB・・・・・・記憶器。FIG. 1 is a conceptual block diagram of an embodiment of the present invention, and FIG. 2 is an explanatory diagram of the operation of the apparatus shown in FIG. CPUA, CPUB... Data processing device, ■N
T...Interrupt input device, ■PC...Interrupt input control device, CNT...Control circuit, SE
L...Selector, RG...Register,
RAMA, RAMB... Memory device.
Claims (1)
の割込み人力装置から、非同期で動作する相互結合が比
較的粗な複数のデータ処理装置に割込み信号を入力する
ための制御方式であって、複数のデータ処理装置のおの
おのに対応して設けられた複数の記憶手段と、割込み入
力装置から読み取られた割込み信号と前記記憶手段から
読出された割り込み信号との論理和をそれぞれ対応する
データ処理装置に与える手段と、複数のデータ処理装置
による割込み人力装置の読み取りの競合を調整して1つ
のデータ処理装置に読み取りを許可する手段と、1つの
データ処理装置が割込み入力装置を読み取ったときその
読み取った割込み信号を他のデータ処理装置用の記憶手
段に記憶させる手段とを具備する割込み入力制御方式。1 A control method for inputting interrupt signals from a common interrupt manual device whose contents are cleared after reading the interrupt signal to multiple data processing devices that operate asynchronously and are relatively loosely interconnected. A plurality of storage means provided corresponding to each of the data processing devices, and a logical sum of the interrupt signal read from the interrupt input device and the interrupt signal read from the storage means, are stored in the respective data processing devices. means for adjusting the contention for reading the interrupt input device by a plurality of data processing devices to allow one data processing device to read; An interrupt input control method comprising means for storing an interrupt signal in a storage means for another data processing device.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP53084263A JPS5846725B2 (en) | 1978-07-11 | 1978-07-11 | Interrupt input control method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP53084263A JPS5846725B2 (en) | 1978-07-11 | 1978-07-11 | Interrupt input control method |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS5523505A JPS5523505A (en) | 1980-02-20 |
| JPS5846725B2 true JPS5846725B2 (en) | 1983-10-18 |
Family
ID=13825557
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP53084263A Expired JPS5846725B2 (en) | 1978-07-11 | 1978-07-11 | Interrupt input control method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS5846725B2 (en) |
Family Cites Families (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS5131140A (en) * | 1974-09-10 | 1976-03-17 | Matsushita Electric Industrial Co Ltd | Dokiuntenhoshiki |
| JPS54136149A (en) * | 1978-04-13 | 1979-10-23 | Toshiba Corp | Interruption input system |
-
1978
- 1978-07-11 JP JP53084263A patent/JPS5846725B2/en not_active Expired
Also Published As
| Publication number | Publication date |
|---|---|
| JPS5523505A (en) | 1980-02-20 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| KR900005287A (en) | Data control device and system using it | |
| JPS5846725B2 (en) | Interrupt input control method | |
| JPS61114362A (en) | Access control system for share memory | |
| JPH03152651A (en) | Information transmission system | |
| JP3137489B2 (en) | Write access contention adjustment circuit | |
| JP2906440B2 (en) | Memory access method for multiplex transmission equipment | |
| SU1283850A2 (en) | Buffer storage | |
| JPH04160458A (en) | DMA controller peripheral circuit | |
| JPH03248242A (en) | Memory control circuit | |
| JPH03250343A (en) | Tlb controlling system | |
| JPH0377545B2 (en) | ||
| JPH0258156A (en) | data processing equipment | |
| JPH03276346A (en) | Memory card | |
| JPS5921062B2 (en) | Memory contention control method | |
| JPH0481221B2 (en) | ||
| JPS58213359A (en) | Memory device provided with debugging means | |
| JPS63249235A (en) | Address decoder circuit | |
| JPS63201810A (en) | Time system of information processing system | |
| JPS60156153A (en) | Communication controlling device | |
| JPS592468A (en) | Communication system in multiprocessor system | |
| JPH01180664A (en) | Direct memory access circuit | |
| JPS5845117B2 (en) | Memory protection method | |
| JPS5690355A (en) | Data processing unit | |
| JPS61136343A (en) | Access method of series digital signal | |
| JPS62273692A (en) | Memory access system |