JPS62134746A - Bus coupling adjusting circuit - Google Patents

Bus coupling adjusting circuit

Info

Publication number
JPS62134746A
JPS62134746A JP27435585A JP27435585A JPS62134746A JP S62134746 A JPS62134746 A JP S62134746A JP 27435585 A JP27435585 A JP 27435585A JP 27435585 A JP27435585 A JP 27435585A JP S62134746 A JPS62134746 A JP S62134746A
Authority
JP
Japan
Prior art keywords
bus
processor
local
request
output
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
JP27435585A
Other languages
Japanese (ja)
Inventor
Chiaki Ueda
上田 千秋
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
NEC Corp
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 NEC Corp filed Critical NEC Corp
Priority to JP27435585A priority Critical patent/JPS62134746A/en
Publication of JPS62134746A publication Critical patent/JPS62134746A/en
Pending legal-status Critical Current

Links

Landscapes

  • Multi Processors (AREA)
  • Bus Control (AREA)

Abstract

PURPOSE:To eliminate a load of a program by providing a function for determining a priority on a bus coupling adjusting circuit, making a request person of a lower priority turn off an output to this own local bus, when a request of a mutual use has collided, and processing a request of a higher priority first. CONSTITUTION:When the first processor 21 has tried to operate a local memory 24 of the second processor 22, when an operation request of the second from the first processor 21 is received, a bus coupling adjusting circuit 30 outputs a request for using a bus to a bus control part 28 of the second processor 22 side. Also, when an operation request of the first local memory 23 is generated from the second processor 22, the bus coupling adjusting circuit 30 receives the requests from both the processors 21, 22, recognizes a request of a higher priority degree by a decision of an internal priority circuit, and makes a request person having a lower priority degree output an 'output OFF request' to his own local bus. The request person who has received the 'output OFF request' turns off an output to his own local bus, and holds the present state as it is.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 複数のプロセッサとそれに接続される各プロセッサが管
理するプロセッサ毎の双方向ローカルバスとのバス結合
に関し、特にバス結合部の調停回路に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to bus coupling between a plurality of processors and a bidirectional local bus for each processor managed by each processor connected thereto, and particularly relates to an arbitration circuit of a bus coupling section.

〔従来の技術〕[Conventional technology]

第5図は第1及び第2のプロセッサ1.2と。 FIG. 5 shows first and second processors 1.2.

各プロセッサ毎の第1及び第2のローカルメモリ3.4
と、各プロセッサ毎の双方同第1及び第2のローカルバ
ス5,6と、これらのバスを結合するバス結合部7と、
各プロセッサの指示によりローカルバスの使用権を制御
する第1及び第2のバス制御部8.9を持つ従来のマル
チプロセッサシステムの構成の一例を示す図である。第
5図のマルチプロセッサシステムでは、他のプロセッサ
のメモリを操作する時例えば第1のプロセッサlが第2
のローカルメモリ4を操作する時、第1のプロセッサ1
は自分のローカルバス5を確保し、バス結合部7を介し
て第2のプロセッサ2のローカルバス6の使用権を確保
する様第2のプロセッサ2のバス制御部9に要求を行う
。バス制御部9は第2のプロセッサ2に対し、デロセ、
ソサの単位処理が終った時第2のローカルバス6の1史
用潅を開放し、第1のプロセッサlに第2のローカルバ
ス6の使用権を渡す様に要求してローカルバス6の使用
権制御を行う。第1のプロセッサ1は第2のローカルバ
ス6の使用権を得て第2のローカルメモリ4の操作を行
う。この様にして第1のプロセッサ1は他の第2のプロ
セッサのローカルメモリ・1を操作することが出来る。
First and second local memories for each processor 3.4
, first and second local buses 5 and 6 for each processor, and a bus coupling unit 7 for coupling these buses.
9 is a diagram showing an example of the configuration of a conventional multiprocessor system having first and second bus control units 8.9 that control the right to use a local bus according to instructions from each processor. FIG. In the multiprocessor system shown in FIG. 5, when operating the memory of another processor, for example, the first processor
When operating the local memory 4 of the first processor 1
secures its own local bus 5 and requests the bus control unit 9 of the second processor 2 to secure the right to use the local bus 6 of the second processor 2 via the bus coupling unit 7. The bus control unit 9 controls the second processor 2 to
When the unit processing of the processor is completed, the first processor of the second local bus 6 is released, and the first processor is requested to transfer the right to use the second local bus 6 to use the local bus 6. control rights. The first processor 1 obtains the right to use the second local bus 6 and operates the second local memory 4. In this way, the first processor 1 can manipulate the local memory 1 of another second processor.

しかし、上記の様な他のプロセッサのローカルメモリを
操作する動作が各プロセッサで同時に起きた時11例え
ば第1のプロセッサIが第2のローカルメモリ4を、第
2のプロセッサ2が第1のローカルメモリ3を操作する
動作が同時に起きると。
However, when the operation of operating the local memory of another processor as described above occurs simultaneously in each processor 11, for example, the first processor I operates the second local memory 4, and the second processor 2 operates the first local memory 4. When operations to manipulate memory 3 occur at the same time.

第1のプロセッサ1は自分のローカルバス5を確保し、
又第2のプロセッサ2も自分のローカルバス6を確保し
、相互に相手のローカルバスを確保しようとする。この
様な状況では各プロセッサが単位処理を終了しない為、
バス制御部8,9はプロセッサにバスの使用権開放を要
求しても開放出来す、相互に相手ローカルバスを確保し
ようとしてロックしてしまう。
The first processor 1 secures its own local bus 5,
The second processor 2 also secures its own local bus 6, and each tries to secure the other party's local bus. In such a situation, each processor does not finish its unit processing, so
Even if the bus control units 8 and 9 request the processor to release the right to use the bus, the bus control units 8 and 9 can release the bus, but they lock each other when they try to secure the other's local bus.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

この為、従来は、相互のローカルバスな使用する為に相
互のプロセッサで識別制御出来る状態指示フリノゾフロ
ノf (F/F) 10を持チ、相手のローカルバスな
使用する時はこのF/Fを調べ、相手が自分のローカル
バス使用を要求していない時はこのF/Fに使用中を表
示し、相手バスを使用することにより相互のローカルバ
ス使用の衝突を防゛bでいた。従って従来の装置フリノ
ブフロノブなどによりバス相互使用の制御を行う必要が
あり、このためマイクロプロセッサのプログラムが非常
に複雑になるという欠点があった。
For this reason, conventionally, in order to use each other's local bus, we have a status indicator f (F/F) 10 that can be identified and controlled by each other's processors, and when using the other party's local bus, this F/F is used. According to research, when the other party did not request the use of their own local bus, this F/F displayed that it was in use, and by using the other party's bus, it was possible to prevent conflicts between mutual uses of the local bus. Therefore, it is necessary to control the mutual use of the buses using a conventional device such as a flinnobuflonobu, which has the disadvantage that the microprocessor program becomes extremely complicated.

〔問題点を解決するための手段〕[Means for solving problems]

本発明は複数のプロセッサと、各プロセッサ毎の双方向
ローカルバスと、各ローカルバスな相互に結合するバス
結合部を有するマルチプロセッサシステムにおいて、相
互のローカルバスを使用する為に結合された互いのロー
カルバスの管理部へバス使用の要求と使用権受理を行う
手段と、相互のローカルバス使用要求の競合時これを調
停する手段と、調停の結果バス使用を遅らすべき側のロ
ーカルバスの要求者に対し、ローカルバスへの出力を中
断させる手段とを有することを特徴とするバス、結合調
停回路である。
The present invention provides a multiprocessor system having a plurality of processors, a bidirectional local bus for each processor, and a bus coupling unit that interconnects each local bus. A means for requesting bus use from a local bus management unit and accepting the right to use the bus, a means for arbitrating between competing local bus use requests, and a local bus requester whose use of the bus should be delayed as a result of the arbitration. The bus coupling arbitration circuit is characterized in that it has means for interrupting output to the local bus.

〔実施例〕〔Example〕

第1図は本発明の一実施例であるバス結合調停回路の構
成を示す図であり、11と12は各プロセッサから相手
側のローカルバスへの動作指示受付けと、相手側ローカ
ルバスへのバス使用要求と。
FIG. 1 is a diagram showing the configuration of a bus coupling arbitration circuit according to an embodiment of the present invention. Reference numerals 11 and 12 are used to receive operation instructions from each processor to the other party's local bus, and to receive operation instructions from each processor to the other party's local bus. With usage requests.

使用権受理の制御とを行う第1及び第2のバス要求処理
部である。又13はバス結合部の制御と相互のバス操作
競合時の調停を行うバス制御部であり、14と15はバ
ス制御部13で調停された結果バス使用を遅らされる側
へのバス出力中断の制御出力を行う第1及び第2のバス
出力゛訓御部である。
These are first and second bus request processing units that control acceptance of usage rights. Further, 13 is a bus control unit that controls the bus coupling unit and arbitrates in case of mutual bus operation conflict, and 14 and 15 are bus outputs to the side whose bus use is delayed as a result of arbitration by the bus control unit 13. These are first and second bus output controllers that perform interruption control output.

第2図は本発明のバス調停制御回路を用いたマルチプロ
セッサシステムの一構成例を示す図である。21.22
は第1及び第2のマイクロプロセッサ(以下第1及び第
2のプロセッサと称す。)。
FIG. 2 is a diagram showing an example of the configuration of a multiprocessor system using the bus arbitration control circuit of the present invention. 21.22
are first and second microprocessors (hereinafter referred to as first and second processors).

23.24はプロセッサ毎の第1及び第2のローカルメ
モIJ、25,26はプロセッサ毎の第1及び第2のロ
ーカルバス、27,28Uローカルバス毎の第1及び第
2のバス制御部、29は各ローカルバスな制御する為の
バス結合部、30は各プロセッサが相互にローカルバス
の使用権を得る為に本発明を実施したバス結合調停回路
である。
23 and 24 are first and second local memories IJ for each processor; 25 and 26 are first and second local buses for each processor; 27 and 28 are first and second bus control units for each local bus; 29 is a bus coupling unit for controlling each local bus, and 30 is a bus coupling arbitration circuit implementing the present invention so that each processor can mutually obtain the right to use the local bus.

各プロセッサのローカルバスは、データ転送時の制御タ
イミングを示す第3図に示すように、バスの要求者がバ
スを介してバス上の制呻部にデータ転送を行う時、要求
者からの“動作指示”と制御部からの“動作完了”で、
1回のデータ転送を行う非同期バスである。
As shown in FIG. 3, which shows the control timing during data transfer, the local bus of each processor is used when a requester of the bus transfers data via the bus to the control unit on the bus. “Operation instruction” and “Operation completion” from the control unit.
This is an asynchronous bus that performs one data transfer.

第1のプロセッサ21が第2のプロセッサ220ローカ
ルメモリ24を操作しようとした時、バス結合調停回路
30は第1のプロセッサ2Iからの第20−カルメモリ
24操作要求を受けると。
When the first processor 21 attempts to operate the local memory 24 of the second processor 220, the bus coupling arbitration circuit 30 receives a request to operate the 20th local memory 24 from the first processor 2I.

第2のプロセッサ22側のバス制御部28へバス使用の
要求を出す。又同時に第2のプロセッサ22側から同様
な要求がないか調べる。
A request to use the bus is issued to the bus control unit 28 on the second processor 22 side. At the same time, it is checked whether there is a similar request from the second processor 22 side.

第2のプロセッサ22側から同様な要求が生じていない
時、第1のバス制御部27は第2のバス制御部28から
の使用許可を待ち、許可受付は後第1のプロセッサのロ
ーカルバス25の拡張ハスとして第2のローカルバス2
6を動作させる。第2のローカルメモリ24はローカル
バス26を通し第1のプロセッサ21からの“動作指示
°′を受は付け、“動作完了°“を第1のプロセッサ2
1に送る。第1のプロセッサ2Iは第2のマイクロメモ
リ24からの°゛動作完了”を受けると、バス結合調停
回路30を通して得た第2のローカルバス26の使用権
を開放する。
When a similar request has not been issued from the second processor 22 side, the first bus control unit 27 waits for permission to use the second bus control unit 28, and the permission is later received from the local bus 25 of the first processor. second local bus 2 as an extension of the lotus
Operate 6. The second local memory 24 accepts "operation instructions" from the first processor 21 through the local bus 26, and indicates "operation completion" from the first processor 21.
Send to 1. When the first processor 2I receives "operation complete" from the second micromemory 24, it releases the right to use the second local bus 26 obtained through the bus coupling arbitration circuit 30.

前記の状態の時さらに第2のプロセッサ22かも第1の
ローカルメモリ23の操作要求が生じた時、バス結合、
調停回路30は両プロセッサ21゜22からの要求を受
け、内部の使先回路(図示せず)の判定により優先度の
高い方の要求を認め。
In the above state, when the second processor 22 also requests operation of the first local memory 23, the bus connection,
The arbitration circuit 30 receives requests from both processors 21 and 22, and recognizes the request with higher priority based on the determination of an internal usage circuit (not shown).

優先度の低い方の要求者に自分のローカルバスへの“出
力OFF要求”を出させる13゛出力OFF 9求”を
受けた要求者は、自分のローカルバスへの出力をOFF
にし、現在の状四のまま保持する。
Have the requester with lower priority issue an "output OFF request" to its local bus 13. The requester who receives the "output OFF 9 request" turns off the output to its own local bus.
and maintain it in its current state.

第1のプロセッサ21からの要求と第2のプロセッサ2
2からの要求が重なった時、バス結合x、4停回路30
内部の優先順位が第1のプロセッサ21の方が高いとす
ると、競合時の動作を示す第・1図に示す様な順で制御
される。この第4図の(a)は競合時の制御タイミング
を示し、同じ<(b)は第2図の回路の一部に(a)で
示す順序(1)、(肋、・・・(V)に従って信号がど
う流れるかを示す図である。以下(1)、(II)、・
・・の順序に従って動作の流れの形を説明すると、(I
)第1のプロセッサ21からの第2のローカルメモリ2
4への操作要求と、第2のプロセッサ22から第1のロ
ーカルメモリ24への操作要求とが衝突し、バス結合調
停回路30による使先順位の決定が行われ、(■)バス
結合調停回路30、J: l)第2のプロセッサ22の
ローカルバス26への“出力OFF要求”が出力され、
(■)プロセッサ21からローカルメモリ24へ“動作
指示”と“動作完了″が送られ、(IV)7”ロセノサ
21からの要求が完了したことにより“出力OFF要求
”が解除され、(V)プロセッサ22からローカルメモ
リ23へ“動作指示”と“動作完了”を送る。
Request from first processor 21 and second processor 2
When requests from 2 overlap, bus connection x, 4-stop circuit 30
Assuming that the first processor 21 has a higher internal priority, control is performed in the order shown in FIG. 1, which shows the operation at the time of contention. (a) of FIG. 4 shows the control timing at the time of contention, and the same < (b) shows the sequence (1), (rib, ... (V ) is a diagram showing how signals flow according to the following (1), (II),
If we explain the flow of operations according to the order of..., (I
) second local memory 2 from the first processor 21;
4 and the operation request from the second processor 22 to the first local memory 24 collide, and the bus coupling arbitration circuit 30 determines the usage order, and (■) the bus coupling arbitration circuit 30, J: l) An "output OFF request" is output to the local bus 26 of the second processor 22,
(■) "Operation instruction" and "Operation completion" are sent from the processor 21 to the local memory 24, and (IV) 7" The "output OFF request" is canceled due to the completion of the request from the Losenosa 21, and (V) The processor 22 sends an "operation instruction" and "operation completion" to the local memory 23.

なお以上の説明においては、プロセッサの数を2つの場
合について説明したが、3ノ又はそれ以上にしても、そ
れに応じてローカルメモリ、ローカルバス、バス制量回
路の数を増やし、優先順位の決定を多くのものについて
行うことができるようにすれば、同じように処理し得る
ことはいうまでもない。
In the above explanation, we have explained the case where the number of processors is two, but even if the number of processors is three or more, the number of local memories, local buses, and bus control circuits will be increased accordingly, and the priority order will be determined. It goes without saying that if you can do this for many things, you can process them in the same way.

〔発明の効果〕〔Effect of the invention〕

以上説明した様に9本発明はバス結合制定回路に優先順
位を決める機能を設け、相互使用の要求が衝突した時に
優先順位の低い方の要求者に対し自分のローカルバスへ
の出力をOFFにさせ、優先順位の高い方の要求を先に
処理することにより。
As explained above, the present invention provides a function to determine the priority order in the bus connection establishment circuit, and when requests for mutual use collide, the output to the own local bus is turned off for the requester with the lower priority order. by processing higher priority requests first.

従来行われていたフリノア″70ッゾ等によるバス相互
使用の制御を行う必要がなくなり、プログラムの負荷を
無くすことができる効果がある。
It is no longer necessary to control the mutual use of buses using Frinor "70ZZO," which was conventionally performed, and there is an effect that the load on the program can be eliminated.

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

第1図は本発明を実施したバス結合調停回路のブロック
図、第2図は前記回路を用いたマルチプロセッサシステ
ムのブロック図、第3図はローカルバスでデータ転送を
行う時の制御タイミング図。 第4図は第2図のブロック図における競合時の動作図、
第5図は従来のマルチプロセッサシステムのブロック図
である。 記号の説明:11,12は第1及び第2のバス要求処理
部、13はバス制御部、14.15は第1及び第2のバ
ス出力制御部、21.22は第1及び第2のプロセッサ
、23及び24は第1及び第2のローカルメモリ、25
及び26は第1及び第2のローカルバス、27.28は
第1及び第2のバス制御部、29はバス結合部、30は
バス調停回路をそれぞれあられしている。 代理人(7783)弁理上;自田憲保 Jυ 第3図 IWII日 第4図 (Q)
FIG. 1 is a block diagram of a bus coupling arbitration circuit embodying the present invention, FIG. 2 is a block diagram of a multiprocessor system using the circuit, and FIG. 3 is a control timing chart when data is transferred on a local bus. Figure 4 is a diagram of the operation at the time of conflict in the block diagram of Figure 2;
FIG. 5 is a block diagram of a conventional multiprocessor system. Explanation of symbols: 11 and 12 are the first and second bus request processing units, 13 is the bus control unit, 14.15 is the first and second bus output control unit, and 21.22 is the first and second bus request processing unit. processors, 23 and 24, first and second local memories, 25;
and 26 are first and second local buses, 27 and 28 are first and second bus control sections, 29 is a bus coupling section, and 30 is a bus arbitration circuit, respectively. Agent (7783) Patent Attorney; Noriyasu Jida Figure 3 IWII Day Figure 4 (Q)

Claims (1)

【特許請求の範囲】[Claims] 1、複数のプロセッサと、各プロセッサ毎の双方向ロー
カルバスと、各ローカルバスを相互に結合するバス結合
部を有するマルチプロセッサシステムにおいて、相互の
ローカルバスを使用する為に結合された互いのローカル
バスの管理部へバス使用の要求と使用権受理を行う手段
と、相互のローカルバス使用要求の競合時これを調停す
る手段と、調停の結果バス使用を遅らすべき側のローカ
ルバスの要求者に対し、ローカルバスへの出力を中断さ
せる手段とを有することを特徴とするバス結合調停回路
1. In a multiprocessor system that has a plurality of processors, a bidirectional local bus for each processor, and a bus coupling unit that interconnects each local bus, mutual local buses are coupled to each other to use each other's local bus. A means for requesting bus use from the bus management unit and accepting the right to use the bus, a means for arbitrating between competing local bus use requests, and a means for requesting the local bus requester whose bus use should be delayed as a result of the arbitration. On the other hand, a bus coupling arbitration circuit characterized in that it has means for interrupting output to a local bus.
JP27435585A 1985-12-07 1985-12-07 Bus coupling adjusting circuit Pending JPS62134746A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP27435585A JPS62134746A (en) 1985-12-07 1985-12-07 Bus coupling adjusting circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP27435585A JPS62134746A (en) 1985-12-07 1985-12-07 Bus coupling adjusting circuit

Publications (1)

Publication Number Publication Date
JPS62134746A true JPS62134746A (en) 1987-06-17

Family

ID=17540500

Family Applications (1)

Application Number Title Priority Date Filing Date
JP27435585A Pending JPS62134746A (en) 1985-12-07 1985-12-07 Bus coupling adjusting circuit

Country Status (1)

Country Link
JP (1) JPS62134746A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7266630B2 (en) 2002-12-16 2007-09-04 Matsushita Electric Industrial Co., Ltd. CPU contained LSI

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5680722A (en) * 1979-12-06 1981-07-02 Nippon Telegr & Teleph Corp <Ntt> Interprocessor control system

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5680722A (en) * 1979-12-06 1981-07-02 Nippon Telegr & Teleph Corp <Ntt> Interprocessor control system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7266630B2 (en) 2002-12-16 2007-09-04 Matsushita Electric Industrial Co., Ltd. CPU contained LSI

Similar Documents

Publication Publication Date Title
EP0370018B1 (en) Apparatus and method for determining access to a bus
US6986005B2 (en) Low latency lock for multiprocessor computer system
US5119480A (en) Bus master interface circuit with transparent preemption of a data transfer operation
EP0278264A2 (en) Data processing system with overlap bus cycle operations
JPS62500549A (en) Method and apparatus for ordering multiprocessor operations in a multiprocessor system
JP3084218B2 (en) Communication method and synchronous communication system
US6782439B2 (en) Bus system and execution scheduling method for access commands thereof
US6275890B1 (en) Low latency data path in a cross-bar switch providing dynamically prioritized bus arbitration
JP2708289B2 (en) Access request arbitration device
US5455912A (en) High speed/low overhead bus arbitration apparatus and method for arbitrating a system bus
EP1187029B1 (en) Peripheral component interconnect arbiter implementation with dynamic priority scheme
EP0924623A3 (en) Computer system including arbitration mechanism allowing multiple bus masters to access a graphics bus
JP2004133942A (en) Data bus system and inter-bus crossing accessing method
JPS62134746A (en) Bus coupling adjusting circuit
JP2002342295A (en) Multiprocessor system
JPS6280753A (en) Bus control system
JPS63175964A (en) Shared memory
JP2842501B2 (en) Interrupt processing method, multiprocessor system, and interrupt processing method
JPH0830549A (en) Bus control device
JP4432268B2 (en) Bus arbitration system and interrupt processing method for a device serving as a bus master in this system
JP2659248B2 (en) Bus arbitration processing method
JPH0234062B2 (en) MARUCHIPUROSETSUSASHISUTEMUNIOKERUMEMORIAKUSESUSEIGYOHOSHIKI
JP3365419B2 (en) Bus arbitration method
JPS61208160A (en) Dual processor system using common bus
JPH03240151A (en) Data transfer control system