JPS6124742B2 - - Google Patents

Info

Publication number
JPS6124742B2
JPS6124742B2 JP11277978A JP11277978A JPS6124742B2 JP S6124742 B2 JPS6124742 B2 JP S6124742B2 JP 11277978 A JP11277978 A JP 11277978A JP 11277978 A JP11277978 A JP 11277978A JP S6124742 B2 JPS6124742 B2 JP S6124742B2
Authority
JP
Japan
Prior art keywords
access
bus
circuit
response
access request
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired
Application number
JP11277978A
Other languages
Japanese (ja)
Other versions
JPS5539971A (en
Inventor
Masahiko Koike
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.)
NEC Corp
Original Assignee
Nippon Electric Co 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 Nippon Electric Co Ltd filed Critical Nippon Electric Co Ltd
Priority to JP11277978A priority Critical patent/JPS5539971A/en
Publication of JPS5539971A publication Critical patent/JPS5539971A/en
Publication of JPS6124742B2 publication Critical patent/JPS6124742B2/ja
Granted legal-status Critical Current

Links

Description

【発明の詳細な説明】 本発明は2つ共通母線を結合する装置に関す
る。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a device for coupling two common busbars.

近年複数のプロセツサを結合し協力して仕事を
行なういわゆるマルチプロセツサシステムが注目
されている。マルチプロセツサシステムにおいて
有力となつてる一つの方式は、複数のプロセツサ
が互いのメモリ1/0装置を自由にアクセス可能
とするために、それぞれの母線を直接結合するも
のである。複数の母線を結合する場合困難な問題
が発生する。すなわち、それぞれ独立したプロセ
ツサが動作しているので、一方のプロセツサが他
方のプロセツサの母線を使用する場合、母線使用
の競合が発生する。この様な場合、一般的に行な
われる方法としては、一方の母線からアクセス要
求を受けると他方の母線に接続されているプロセ
ツサへ使用要求を出し承認を受けてから母線への
アクセスを行なう方式がとられている。しかし、
もし反対側のプロセツサも同時に他方の母線への
アクセスを要求した場合、両方とも他方の母線の
使用承認を受けずに動けなくなつてしまういわゆ
る“デツドローグ”を起してしまうおそれがあ
る。これを防止する方法の1つとして各アクセス
を各母線ごとに独立したサイクルとして行なわせ
る方法がある。これによれば例えば他のメモリヘ
データを書込む場合、まず、一方の母線で書込み
サイクルを終え次に他方の母線で同様に書込みサ
イクルを終えて完了する。又読み出しの時は一方
の母線で読出しサイクルを終え、次に他方の母線
で読出しサイクルを終え、続いて読出しデータの
転送が逆の順序で送り返されて完了する。この方
式は一見矛盾なく正しく動作する様に思われる
が、もし3つの母線を経由してアクセスが行なわ
れしかも、3つの目の母線でアクセスに不正が起
きた場合を考えると、2つ日のアクセスまでは正
常であるのでそのアクセスは正常として処理され
てしまい3つ目のアクセスが異常となりデータが
失われてしまうか、あるいは結合装置が動けなく
なるという欠点がある。
In recent years, so-called multiprocessor systems, in which multiple processors are combined and work cooperatively, have been attracting attention. One method that has become popular in multiprocessor systems is to directly connect the respective busbars so that multiple processors can freely access each other's memory 1/0 devices. Difficult problems arise when combining multiple busbars. That is, since each processor is operating independently, if one processor uses the bus of the other processor, a conflict in the use of the bus will occur. In such cases, the common method is to receive an access request from one bus, send a usage request to the processor connected to the other bus, receive approval, and then access the bus. It is taken. but,
If the processors on the opposite side also request access to the other bus at the same time, a so-called "dead log" may occur in which both processors are stuck without being authorized to use the other bus. One method for preventing this is to perform each access as an independent cycle for each bus. According to this, when writing data to another memory, for example, a write cycle is first completed on one bus line, and then a write cycle is similarly completed on the other bus line, thereby completing the write cycle. When reading, the read cycle is completed on one bus line, then the read cycle is completed on the other bus line, and then the read data transfer is completed in the reverse order. At first glance, this method seems to work correctly without any contradictions, but if we consider the case where access is performed via three buses and an unauthorized access occurs on the third bus, it becomes impossible to Since the first access is normal, that access is processed as normal, and the third access becomes abnormal, resulting in data loss or the coupling device becoming unable to operate.

本発明の目的は、2つの独立して動作するそれ
ぞれのプロセツサが管理する2つの母線を結合
し、一方の母線からのアクセス要求を受け、一度
のアクセスを終了し他方の母線へアクセス要求を
行ない、他方のプロセツサへ使用要求を行い、使
用要求が承認されている他方の母線からのアクセ
ス応答を受け、応答状態を保持し一方の母線に対
し受付けられたアクセス要求に対応するアクセス
が行われると一方の母線へアクセス応答を返す機
能を有する結合装置を提供することにある。
The purpose of the present invention is to combine two buses managed by two independently operating processors, receive an access request from one bus, complete the access, and issue an access request to the other bus. , makes a usage request to the other processor, receives an access response from the other bus whose usage request has been approved, maintains the response state, and when access corresponding to the accepted access request is made to one bus. An object of the present invention is to provide a coupling device having a function of returning an access response to one bus.

本発明の結合装置によれば、アクセスが途中で
何らかの原因によつて不正アクセスとなつた場合
でも必ずその応答が返されるのでこれを要求側に
返すことによりデータが失われたり“デツドロツ
グ”を起すおそれがないので容易にマルチプロセ
ツサシステム実現を可能とした。
According to the coupling device of the present invention, even if unauthorized access occurs for some reason during the access, a response is always returned, and by returning this to the requesting side, data is not lost or "dead log" occurs. Since there is no risk, it is possible to easily realize a multiprocessor system.

以下に本発明を実施例を用いて詳細に説明す
る。
The present invention will be explained in detail below using examples.

第1図は本発明の一実施例の構成を示すための
ブロツク図で、10,20,は母線であり、1は
アクセス要求受付回路、2はアクセス要求回路、
P1,P2はプロセツサは3はアクセス応答受付
回路であり4はアクセス応答回路である。
FIG. 1 is a block diagram showing the configuration of an embodiment of the present invention, in which 10 and 20 are bus bars, 1 is an access request reception circuit, 2 is an access request circuit,
P1 and P2 are processors, 3 is an access response reception circuit, and 4 is an access response circuit.

アクセス要求受付回路1は母線10で特定のア
ドレス範囲がアクセスされたことを検知しアクセ
ス要求を受付け母線10のアクセスを一度終了さ
せ、アクセス要求回路2に起動指令101を出
す。
The access request reception circuit 1 detects that a specific address range has been accessed on the bus 10, accepts the access request, once ends the access to the bus 10, and issues a start command 101 to the access request circuit 2.

アクセス要求回路2は起動指令101と受けプ
ロセツサP2へ使用要求104を出し使用承認1
05を受けると母線20へアクセス要求を出す。
アクセス応答受付回路3は母線20よりアクセス
応答を受けるかあるいはアクセス要求を出した時
受付けられない信号を受けると応答状態102を
出す。アクセス応答回路4は応答状態102入力
し、母線10より受付けられたアクセス要求に対
応するアクセスが行われる母線へアクセス応答を
出し解除信号103を出しアクセス要求受付回路
1のビジー状態を解除する。
The access request circuit 2 sends a start command 101 and a use request 104 to the receiving processor P2, and issues a use approval 1.
05, it issues an access request to the bus 20.
The access response reception circuit 3 issues a response state 102 when it receives an access response from the bus 20 or when it receives a signal that the access request is not accepted when issued. The access response circuit 4 receives the response state 102, issues an access response to the bus to which the access corresponding to the access request received from the bus 10 is performed, issues a release signal 103, and releases the access request reception circuit 1 from the busy state.

第2図は本発明のアクセス要求受付回路1の構
成例を示すためのブロツク図である。21は制御
回路、22はアドレス検出回路、23はバストラ
ンシーバである。アドレス回路22は母線10上
のアドレス線210が特定のアドレス領域をアク
セスしたことを検出し検出出力205を出す。制
御回路21はアクセス要求201を受け検出出力
205を受けるとバストランシーバ23に母線1
0の情報のセツト指令206を出す。202,2
03,204,はそれぞれ承認,非承認,待機信
号であり、制御回路21は、アクセス要求201
を正常に受付ると承認信号202を返し、スター
ト信号207をアクセス要求回路2へ伝える。も
しすででに処理中でビジー状態の時は待機信号2
04を出す。又何かの不正なアクセス要求の時は
非承認信号203を出す。
FIG. 2 is a block diagram showing an example of the configuration of the access request reception circuit 1 of the present invention. 21 is a control circuit, 22 is an address detection circuit, and 23 is a bus transceiver. The address circuit 22 detects that the address line 210 on the bus 10 accesses a specific address area and outputs a detection output 205. When the control circuit 21 receives the access request 201 and receives the detection output 205, the control circuit 21 sends the bus 1 to the bus transceiver 23.
A command 206 to set information of 0 is issued. 202,2
03, 204 are approval, disapproval, and standby signals, respectively, and the control circuit 21 receives the access request 201.
If the access request circuit 2 successfully receives the request, it returns an approval signal 202 and transmits a start signal 207 to the access request circuit 2. If it is already being processed and is in a busy state, wait signal 2
Roll out 04. Further, in the case of some kind of unauthorized access request, a disapproval signal 203 is issued.

バストランシーバ23は母線10の情報を信号
線208を通してアドレス要求回路2へ伝える。
第3図はアドレス要求回路2の構成例を示すため
のブロツク図であり、31は制御回路、32はバ
スドライブ回路である。
Bus transceiver 23 transmits information on bus 10 to address request circuit 2 through signal line 208.
FIG. 3 is a block diagram showing an example of the configuration of the address request circuit 2, in which 31 is a control circuit and 32 is a bus drive circuit.

制御回路31はスタート信号207を受けると
プロセツサ2へ使用要求104を出しプロセツサ
P2より使用承認105を入力すると母線20へ
アクセス要求301を出し、バスドライブ回路3
2へ情報208の母線20の情報線305へ出力
指令を出す。
When the control circuit 31 receives a start signal 207, it issues a use request 104 to the processor 2, and when a use approval 105 is input from the processor P2, it issues an access request 301 to the bus 20, and the bus drive circuit 3
An output command is issued to the information line 305 of the bus 20 of the information 208 to 2.

302,303,304はそれぞれ母線20上
の承認,非承認,待機信号であり、制御回路31
は承認信号302あるいは非承認信号303を受
けるとアクセス要求を終了させる。も待機信号3
04を受けると一度度アクセス要求を終了させ、
再度アクセス要求を行ない承認信号302,ある
いは非承認信号303が得られるまで繰りかえ
す。
302, 303, and 304 are approval, disapproval, and standby signals on the bus 20, respectively, and the control circuit 31
When receiving the approval signal 302 or disapproval signal 303, the access request is terminated. Also standby signal 3
When receiving 04, the access request is terminated once,
The access request is made again and the process is repeated until the approval signal 302 or disapproval signal 303 is obtained.

第4図はアクセス応答受付回路3の構成を示す
ためのブロツク図である。41は制御回路、42
はトランシーバ、43は状態保持回路である。制
御回路41は母線20のアクセス応答306が出
されると承認信号302を出しその時の母線20
上の情報のセツト指令410を出す。
FIG. 4 is a block diagram showing the configuration of the access response reception circuit 3. As shown in FIG. 41 is a control circuit, 42
is a transceiver, and 43 is a state holding circuit. When the access response 306 for the bus 20 is issued, the control circuit 41 outputs an approval signal 302 to access the bus 20 at that time.
A command 410 to set the above information is issued.

制御回路41は又アクセス要求301が出され
て非承認信号303が出された時にもセツト指令
410を出し不正なアクセス要求時にもアクセス
応答を返す準備とする。状態保持回路43はセツ
ト指令410が出された時の承認信号302、非
承認信号303の情報を保持し承認状態402、
非承認状態403を出力する。トランシーバ42
は母線20の情報をセツト指令410に従つてア
クセス応答回路4へ伝える。
The control circuit 41 also issues a set command 410 when an access request 301 is issued and a disapproval signal 303 is issued, and prepares to return an access response even in the event of an unauthorized access request. The state holding circuit 43 holds information on the approval signal 302 and non-approval signal 303 when the set command 410 is issued, and maintains the approval state 402,
A non-approval status 403 is output. Transceiver 42
transmits information about the bus 20 to the access response circuit 4 in accordance with the set command 410.

第5図はアクセス応答回路4の構成例を示すた
めのブロツク図である。51は制御回路、52は
バスドライブ回路である。制御回路51は母線1
0より受付けられたアクセス要求に対するアクセ
ス502が行われた時アクセス応答受付回路3か
ら承認状態402あるいは非承認状態403を受
けるとアクセス応答207を出しバスドライブ回
路52へ出力指令501を出す。承認信号202
が得られるとアクセス要求受付回路1へ解除信号
103を出しビジー状態を解除してアクセス応答
を終了させる。
FIG. 5 is a block diagram showing an example of the structure of the access response circuit 4. As shown in FIG. 51 is a control circuit, and 52 is a bus drive circuit. The control circuit 51 is connected to the bus 1
When an access 502 is performed in response to an access request accepted from 0, when an approval state 402 or a non-approval state 403 is received from the access response reception circuit 3, an access response 207 is issued and an output command 501 is issued to the bus drive circuit 52. Approval signal 202
When obtained, a release signal 103 is sent to the access request receiving circuit 1 to release the busy state and terminate the access response.

バスドライブ回路52は、出力指令501を受
けアクセス応答受付け回路3からの情報405を
母線10へ出力する。
The bus drive circuit 52 receives the output command 501 and outputs the information 405 from the access response reception circuit 3 to the bus 10.

以上実施例を下に詳しく説明したとおり、本発
明は複数のプロセツサが后いの母線を結合して処
理を行なうシステムにおいて、一つのプロセツサ
が他のプロセツサの母線をアクセスする場合、そ
のアクセス要求を受け一度アクセスを終了し他の
母線へアクセス要求を行ない、アクセス応答が出
されると受付けもし、アクセス要求時に受付けが
非承認された場合にも一方の母線アクセス応答を
返し、アクセス受付のビジー状態を解除する機能
を持つ回路から構成されプロセツサ間で相互にア
クセスを行う場合のアクセスが途中で不正アクセ
スとなつても応答が返されるので障害にも対処可
能な結合装置が提供される。
As described above in detail below, the present invention is applicable to a system in which a plurality of processors perform processing by combining subsequent bus lines, and when one processor accesses the bus line of another processor, the access request is Once received, the access is terminated and an access request is made to the other bus, and when an access response is issued, it is accepted.Even if the acceptance is not approved at the time of the access request, an access response from one bus is returned and the busy state of the access reception is confirmed. A coupling device is provided which is composed of a circuit having a release function and can respond to failures even if unauthorized access occurs during mutual access between processors.

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

第1図は本発明の一実施例を示すブロツク図で
ある。第2図は本発明に用いられるアクセス要求
受付回路の1つの構成例を示すためのブロツク
図、第3図は本発明に用いられるアクセス要求回
路の1つの構成例を示するためのブロツク図、第
4図は本発明に用いられるアクセス応答受付回路
の1つの構成例を示すためのブロツク図、第5図
は本発明に用いられるアクセス応答回路の1つの
構成例を示すためのブロツク図である。 図中、10,20……母線、P1,P2……プ
ロセツサ、1……アクセス要求受付回路、2……
アクセス要求回路、3……アクセス応答受付回
路、4……アクセス応答回路、21,31,4
1,51……制御回路、22……アドレス検出回
路、23,42……バストランシーバー、32,
52……バスドライブ回路、43……状態保持回
路をそれぞれ示す。
FIG. 1 is a block diagram showing one embodiment of the present invention. FIG. 2 is a block diagram showing one example of the configuration of an access request receiving circuit used in the present invention, and FIG. 3 is a block diagram showing one example of the configuration of the access request circuit used in the present invention. FIG. 4 is a block diagram showing one example of the configuration of the access response reception circuit used in the present invention, and FIG. 5 is a block diagram showing one example of the configuration of the access response circuit used in the invention. . In the figure, 10, 20...Bus line, P1, P2...Processor, 1...Access request receiving circuit, 2...
Access request circuit, 3...Access response reception circuit, 4...Access response circuit, 21, 31, 4
1, 51... Control circuit, 22... Address detection circuit, 23, 42... Bus transceiver, 32,
52 shows a bus drive circuit, and 43 shows a state holding circuit.

Claims (1)

【特許請求の範囲】[Claims] 1 2つのプロセツサがそれぞれの母線を管理し
ている2つの母線を結合する装置であつて、前記
母線の一方に対し特定のアドレス範囲がアクセス
されたこと検知し前記アクセスを受付けた一度前
記アクセスを終了させ、ビジー状態となり以後の
アクセスを受付けないアクセス要求回路と、前記
アクセス要求回路によつて起動され他方の母線を
管理している前記他方のプロセツサに前記他方の
母線の使用要求を行い前記使用要求が承認される
と前記他方の母線にアクセス要求を行うアクセス
要求回路と前記他方の母線からの前記アクセス要
求に対するアクセス応答を受付け、応答の状態を
保持するアクセス応答受付回路と、前記アクセス
応答回路によつて起動され前記一方の母線に対し
前記受付けられたアクセス要求に対応するアクセ
スが行われると保持された前記応答の状態に対応
してアクセス応答を行ない前記アクセス要求受付
回路の前記ビジー状態を解除するアクセス応答回
路とを有することを特徴とする結合装置。
1 A device that connects two bus lines in which two processors manage each bus line, detects that a specific address range has been accessed to one of the bus lines, and once the access is accepted, the an access request circuit which becomes busy and does not accept any further access, and requests the other processor activated by the access request circuit and managing the other bus to use the other bus; an access request circuit that requests access to the other bus when the request is approved; an access response reception circuit that accepts an access response to the access request from the other bus and maintains a state of the response; and the access response circuit. When an access corresponding to the accepted access request is made to the one bus bar, an access response is made in response to the state of the response held, and the busy state of the access request receiving circuit is changed. and an access response circuit for releasing the coupling device.
JP11277978A 1978-09-12 1978-09-12 Joining device Granted JPS5539971A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP11277978A JPS5539971A (en) 1978-09-12 1978-09-12 Joining device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP11277978A JPS5539971A (en) 1978-09-12 1978-09-12 Joining device

Publications (2)

Publication Number Publication Date
JPS5539971A JPS5539971A (en) 1980-03-21
JPS6124742B2 true JPS6124742B2 (en) 1986-06-12

Family

ID=14595276

Family Applications (1)

Application Number Title Priority Date Filing Date
JP11277978A Granted JPS5539971A (en) 1978-09-12 1978-09-12 Joining device

Country Status (1)

Country Link
JP (1) JPS5539971A (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2573790B2 (en) * 1984-12-07 1997-01-22 日本電気株式会社 Transfer control device
JPH0343856A (en) * 1989-07-11 1991-02-25 Nec Corp System bus connecting device

Also Published As

Publication number Publication date
JPS5539971A (en) 1980-03-21

Similar Documents

Publication Publication Date Title
EP0681240B1 (en) Duplicate cache tag memory system
US4975838A (en) Duplex data processing system with programmable bus configuration
US6175888B1 (en) Dual host bridge with peer to peer support
JPS6124742B2 (en)
EP0169909B1 (en) Auxiliary memory device
JPH0452982B2 (en)
JPS6029141B2 (en) coupling device
JP2587586B2 (en) Data transfer method
JPS6184767A (en) Inter-system connecting method
JPS633351B2 (en)
JPH0223060B2 (en)
JPS6132162A (en) Competition preventing circuit of information transfer
JPS5834858B2 (en) Data exchange control method
JP3157513B2 (en) Extended storage device
JP3049125B2 (en) CPU interrupt controller
JPS638500B2 (en)
JPH0751633Y2 (en) Memory control circuit
JP3304503B2 (en) Dual system multiprocessor system
JP2868002B1 (en) Magnetic disk system and magnetic disk controller
JPH01133444A (en) System bus controller
JPS6379161A (en) Semiconductor memory device
JPS622343B2 (en)
JPH0553999A (en) Inter-cpu interruption controller
JPS6332649A (en) Multi-processor system
JPH0351017B2 (en)