Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JPS5851294B2 - Multiprocessor control method - Google Patents
[go: Go Back, main page]

JPS5851294B2 - Multiprocessor control method - Google Patents

Multiprocessor control method

Info

Publication number
JPS5851294B2
JPS5851294B2 JP54151228A JP15122879A JPS5851294B2 JP S5851294 B2 JPS5851294 B2 JP S5851294B2 JP 54151228 A JP54151228 A JP 54151228A JP 15122879 A JP15122879 A JP 15122879A JP S5851294 B2 JPS5851294 B2 JP S5851294B2
Authority
JP
Japan
Prior art keywords
processor
bus
clock
common bus
control circuit
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
JP54151228A
Other languages
Japanese (ja)
Other versions
JPS5674767A (en
Inventor
隆男 坂田
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP54151228A priority Critical patent/JPS5851294B2/en
Publication of JPS5674767A publication Critical patent/JPS5674767A/en
Publication of JPS5851294B2 publication Critical patent/JPS5851294B2/en
Expired legal-status Critical Current

Links

Landscapes

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

Description

【発明の詳細な説明】 本発明は複数個のマイクロプロセッサを用いたマルチプ
ロセッサにおいて、各プロセッサの共通バス占有の制御
を行なうマルチプロセッサ制御方式に関するものである
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a multiprocessor control method for controlling occupancy of a common bus by each processor in a multiprocessor using a plurality of microprocessors.

複数個のマイクロプロセッサが共通バスおよびこれに接
続された共有メモリを共有するマルチプロセッサシステ
ムにおいては、同時に共通バスを占有し得るマイクロプ
ロセッサは1個に限られるため、共通バス使用の制御を
行なう必要がある。
In a multiprocessor system where multiple microprocessors share a common bus and shared memory connected to it, only one microprocessor can occupy the common bus at the same time, so it is necessary to control the use of the common bus. There is.

従来、このようなマルチプロセッサ制御方式として、ク
ロック信号の位相をプロセッサの数と同数に分割し、各
プロセッサは、時分割的にそのプロセッサに割当てられ
たクロック位相の期間のみ共通バスを使用し得るマルチ
プロセッサ制御方式%式% このマルチプロセッサ制御方式においては、各プロセッ
サは、クロック周期ごとに共通バスを使用し得るため、
バス使用のための待時間を生じないという利点がある。
Conventionally, in such a multiprocessor control method, the phase of the clock signal is divided into the same number of processors, and each processor can use a common bus only during the period of the clock phase assigned to that processor in a time-sharing manner. Multiprocessor control method % formula % In this multiprocessor control method, each processor can use a common bus every clock period, so
This has the advantage that there is no waiting time for bus use.

しかしながら、プロセッサの数が多くなるにつれて、各
プロセッサに割当てられる時間が短くなり、従ってバス
の転送速度を上げることが必要になり、さらにバスとプ
ロセッサ間のインタフェースが複雑になるという欠点が
あった。
However, as the number of processors increases, the time allotted to each processor becomes shorter, so it is necessary to increase the transfer speed of the bus, and the interface between the bus and the processors becomes more complex.

本発明は、このような従来技術の欠点を除去しようとす
るものであって、その目的は、バス転送速度を上げる必
要がなく、共通バスとマルチプロセッサ間のインタフェ
ースが単純で、ハードウェア構成が簡単なマルチプロセ
ッサ制御方式を提供することにある。
The present invention attempts to eliminate these drawbacks of the prior art, and its purpose is to eliminate the need to increase the bus transfer speed, simplify the interface between the common bus and multiprocessors, and reduce the hardware configuration. The objective is to provide a simple multiprocessor control method.

この目的を達成するため、本発明のマルチプロセッサ制
御方式においては、2相クロツクで動作するプロセッサ
を共通バスを介して2個以上接続してなるマルチプロセ
ッサシステムにおいて、プロセッサからバス使用要求信
号を受けたとき共通バスが使用可能であればバス使用許
可信号を該プロセッサへ送るバス制御回路と、基準2相
クロツクを発生する基準クロック発生器と、共通バスに
接続され該共通バスを介して各プロセッサから共通にア
クセス可能な共有メモリとを各プロセッサに共通に設け
るとともに、前記バス制御回路からバス使用許可信号を
得られない場合は対応するプロセッサの実行を一時停止
するため基準クロックをバス使用要求信号発生時の極性
に保持し、それ以外の場合は基準クロックを直接対応す
るプロセッサへ入力するクロック制御回路を各プロセッ
サごとに設けて、各プロセッサの共通バス占有の制御を
行なうことを特徴としている。
In order to achieve this object, the multiprocessor control system of the present invention receives a bus use request signal from the processor in a multiprocessor system in which two or more processors operating on a two-phase clock are connected via a common bus. a bus control circuit that sends a bus use permission signal to the processor if the common bus is available; a reference clock generator that generates a reference two-phase clock; In addition, each processor is provided with a shared memory that can be accessed in common from the bus control circuit, and the reference clock is used as a bus request signal in order to temporarily stop the execution of the corresponding processor if a bus permission signal is not obtained from the bus control circuit. It is characterized in that each processor is provided with a clock control circuit that maintains the polarity at the time of generation and otherwise inputs the reference clock directly to the corresponding processor, thereby controlling the occupancy of the common bus by each processor.

以下実施例について説明する。Examples will be described below.

第1図は本発明のマルチプロセッサ制御方式の一実施例
の構成を示すブロック図である。
FIG. 1 is a block diagram showing the configuration of an embodiment of the multiprocessor control system of the present invention.

同図において、1−1tl−2+・・・、1−nは処理
装置(CPU)、2はバス制御回路、3は基準クロック
発生器、4は共通バス、5は共有メモリである。
In the figure, 1-1tl-2+..., 1-n are processing units (CPUs), 2 is a bus control circuit, 3 is a reference clock generator, 4 is a common bus, and 5 is a shared memory.

またILl 、IL2.・・・、11−nはマイクロプ
ロセッサ、12−1.12−2.・・・、12−nはク
ロック制御回路である。
Also ILl, IL2. ..., 11-n is a microprocessor, 12-1.12-2. ..., 12-n is a clock control circuit.

第2図は第1図のマルチプロセッサ制御方式における各
部信号を示すタイムチャートである。
FIG. 2 is a time chart showing signals of various parts in the multiprocessor control system shown in FIG.

同図において、a、I)はそれぞれ基準2相クロック信
号φa31φb8.cは各プロセッサの共通バス使用要
求信号RQi 、dはバス制御回路2から各プロセッサ
に対するバス使用許可信号GJ、eは各プロセッサがア
ドレス信号を出力する位相φai 、fは各プロセッサ
がデータを転送する位相φbiをあられしている。
In the figure, a, I) are reference two-phase clock signals φa31φb8 . c is a common bus use request signal RQi for each processor, d is a bus use permission signal GJ from the bus control circuit 2 to each processor, e is a phase φai at which each processor outputs an address signal, and f is a phase at which each processor transfers data. The phase φbi is changed.

第1図において任意の1(i=1〜n)番目の処理装置
1− iにおいて、プロセッサ11−1は対応するクロ
ック制御回路12−1のクロック信号φaiの位相でア
ドレス信号を出力し、クロック信号φbiの位相でデー
タの転送を行なう2相クロツクで動作するプロセッサを
想定している。
In an arbitrary 1st (i=1 to n) processing device 1-i in FIG. 1, the processor 11-1 outputs an address signal at the phase of the clock signal φai of the corresponding clock control circuit 12-1, and It is assumed that a processor operates with a two-phase clock that transfers data in accordance with the phase of signal φbi.

第2図においてe、fは2相クロックφ2iyφ、iを
やられし、各クロックφai 、φbiは1800位相
が異なっている。
In FIG. 2, e and f are driven by two-phase clocks φ2iyφ,i, and each clock φai and φbi have a phase difference of 1800 degrees.

今、i番目のプロセッサ11−i、が共通バス4に接続
されている共有メモリ5を使用しようとするどきは、共
通バス使用要求信号RQiをバス制御回路2に対して出
力する。
Now, when the i-th processor 11-i wishes to use the shared memory 5 connected to the common bus 4, it outputs a common bus use request signal RQi to the bus control circuit 2.

第2図においてCは共通バス使用要求信号RQiを示し
、基準クロックφb8の位相から時間τだけ遅れている
In FIG. 2, C indicates the common bus use request signal RQi, which is delayed by a time τ from the phase of the reference clock φb8.

ここでては図示されないCPU内に設けた共通バス使用
要求信号送出のためのデコーダの遅延時間である。
Here, it is the delay time of a decoder provided in the CPU (not shown) for sending out a common bus use request signal.

バス制御回路2は、これに対して共通バス4が使用可能
な状態にあるときは、i番目のプロセッサに対するバス
使用許可信号GRiを出力する。
On the other hand, when the common bus 4 is available, the bus control circuit 2 outputs a bus use permission signal GRi to the i-th processor.

第2図においてdはこのようにして出力されたバス使用
許可信号GRiを示している。
In FIG. 2, d indicates the bus use permission signal GRi output in this manner.

クロック制御回路12−iはバス使用許可信号GRiが
得られたときは、基準クロック発生器3の基準クロック
φa8.φb8をそのままクロックφai 、φbiと
してプロセッサ11−iに出力する。
When the clock control circuit 12-i receives the bus use permission signal GRi, the clock control circuit 12-i outputs the reference clock φa8. of the reference clock generator 3. φb8 is directly output to the processor 11-i as clocks φai and φbi.

プロセッサ11−1はこのサイクルで共有メモリ5をア
クセスする。
Processor 11-1 accesses shared memory 5 in this cycle.

第2図において11,13はこのようなタイミング位置
を示している。
In FIG. 2, numerals 11 and 13 indicate such timing positions.

共通バス使用要求信号が出ても、共通バスが使用中その
他の理由によってバス使用許可信号が得られないときは
、クロックφai、φbiは共通バス使用要求信号発生
時の基準クロックφa3jφb8の位相を保持して待ち
状態となる。
Even if the common bus use request signal is issued, if the bus use permission signal cannot be obtained because the common bus is in use or for some other reason, the clocks φai and φbi maintain the phase of the reference clock φa3jφb8 when the common bus use request signal was generated. and enters a waiting state.

第2図においてt2はこのようなタイミング位置を示し
ている。
In FIG. 2, t2 indicates such a timing position.

すなわち各プロセッサは共有メモリを使用する場合、共
通バス使用許可信号をバス制御回路に出力し、バス使用
許可信号を得てから共有メモリをアクセスするが、複数
個のプロセッサから同時に共通バス使用許可信号が出力
された場合には、共通バス使用許可信号が受は付けられ
た1個のプロセッサだけが共有メモリをアクセスするこ
とができ、他のプロセッサは共通バスを使用できないた
め一時実行停止する必要があり、このため上述のような
制御が行われる。
In other words, when each processor uses shared memory, it outputs a common bus use permission signal to the bus control circuit, and accesses the shared memory after obtaining the bus use permission signal, but multiple processors simultaneously output the common bus use permission signal. If this is output, only one processor to which the common bus usage permission signal has been accepted can access the shared memory, and other processors cannot use the common bus, so execution must be temporarily halted. Therefore, the above-mentioned control is performed.

第3図は第1図におけるクロック制御回路の一実施例の
構成を示す回路図である。
FIG. 3 is a circuit diagram showing the configuration of one embodiment of the clock control circuit in FIG. 1.

同図において21はNAND回路、22はフリップフロ
ップである。
In the figure, 21 is a NAND circuit, and 22 is a flip-flop.

第3図において、フリップフロップ22は、NAND回
路21の出力をプリセット端子PRに加えられ、基準ク
ロックφb8をクリア端子CLRに加えられていて、出
力Qからクロックφbiを、出力Qからクロックφai
を出力するようlど構成されている。
In FIG. 3, the flip-flop 22 has the output of the NAND circuit 21 applied to the preset terminal PR, the reference clock φb8 applied to the clear terminal CLR, the clock φbi from the output Q, and the clock φai from the output Q.
It is configured to output .

第3図において、NAND回路21にはクロックφb8
と、共通バス使用要求信号とバス使用許可信号の加算信
号(RQi+GRi)が加えられていて、加算信号(π
Qi+GRi)が”1′′のときクロックφb8の立上
りでクロックφaiが″0″レベル、クロックφbiが
1″となり、クロックφb8の立下りではφaiが″1
″レベル、φbiがO′”レベルになる。
In FIG. 3, the NAND circuit 21 has a clock φb8.
, the addition signal (RQi+GRi) of the common bus use request signal and the bus use permission signal is added, and the addition signal (π
Qi+GRi) is "1'', clock φai goes to "0" level and clock φbi goes to 1" at the rising edge of clock φb8, and φai goes to "1" at the falling edge of clock φb8.
'' level, φbi becomes O''' level.

また加算信号(RQi+GRi)が′0″のとき、クロ
ックφai 、φbiの極性をそのまま保持する。
Further, when the addition signal (RQi+GRi) is '0'', the polarities of the clocks φai and φbi are maintained as they are.

このようにして各プロセッサにおけるクロックφai+
φbiの位相を制御するので、プロセッサが使用要求を
出したとき他のプロセッサが共通バスを使用中であれば
、後で使用要求を出したプロセッサは共通バス使用要求
信号発生時の基準クロック位相を保持して一時動作を停
止して待ち状態となるので、複数個のプロセッサが共通
バスを介して共有メモリを使用することができる。
In this way, the clock φai+ in each processor
Since the phase of φbi is controlled, if another processor is using the common bus when a processor issues a usage request, the processor that issues the usage request later can change the reference clock phase at the time the common bus usage request signal is generated. Since the processor is held and temporarily stops operating to enter a wait state, a plurality of processors can use the shared memory via a common bus.

すなわち従来のマルチプロセッサ制御方式においては、
共通バスの使用時間を各プロセッサに分割して与えてお
り、このため共通バスにおけるデータ転送を高速化する
必要があった。
In other words, in the conventional multiprocessor control method,
The usage time of the common bus is divided and given to each processor, so there is a need to speed up data transfer on the common bus.

しかしながら本発明の方式においては、各プロセッサの
使用時間を固定的に割り当てることをせず、使用要求を
出したとき共通バスが空いていれば直ちに使用でき、他
のプロセッサが使用していれば空くまで待たせるように
している。
However, in the method of the present invention, the usage time of each processor is not fixedly allocated, and if the common bus is free when a usage request is issued, it can be used immediately, and if it is used by another processor, it can be used immediately. I'm trying to make them wait until then.

従って共有メモ+7 ?こ対する入出力データの転送速
度はプロセッサの数に拘わず一定であり、そのため共通
バスのデータ転送を高速化する必要がなくなる。
So shared memo +7? On the other hand, the transfer speed of input/output data is constant regardless of the number of processors, so there is no need to increase the speed of data transfer on the common bus.

以上説明したように本発明のマルチプロセッサ制御方式
によれば、複数個のマイクロプロセッサが共通バスおよ
びこれに接続された共有メモリを共有スるマルチプロセ
ッサシステムにおいて、バス転送速度を上げる必要がな
く、かつ共通バスとマルチプロセッサ間のインタフェー
スが単純で、ハードウェア構成が簡単なマルチプロセッ
サ制御方式を実現することができて、優れた効果が得ら
れる。
As explained above, according to the multiprocessor control method of the present invention, there is no need to increase the bus transfer speed in a multiprocessor system in which a plurality of microprocessors share a common bus and a shared memory connected to the common bus. Moreover, the interface between the common bus and the multiprocessors is simple, and a multiprocessor control system with a simple hardware configuration can be realized, resulting in excellent effects.

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

第1図は本発明のマルチプロセッサ制御方式の一実施例
の構成を示すブロック図、第2図は第1図のマルチプロ
セッサ制御方式における各部信号を示すタイムチャート
、第3図はクロック制御回路の一実施例の構成を示す回
路図である。 Ll、L2.・・’l−n:処理装置(CPU)、2:
バス制御回路、3:基準クロック発生器、4:共通バス
、5:共有メモリ、11□、IL2.・・・11−n:
マイクロプロセッサ、12−1.12−2゜・・−,1
1n: クロック制御回路、21 : NAND回路
、22:フリップフロップ。
FIG. 1 is a block diagram showing the configuration of an embodiment of the multiprocessor control method of the present invention, FIG. 2 is a time chart showing various signals in the multiprocessor control method of FIG. 1, and FIG. 3 is a clock control circuit diagram. FIG. 2 is a circuit diagram showing the configuration of an embodiment. Ll, L2. ...'l-n: Processing unit (CPU), 2:
Bus control circuit, 3: Reference clock generator, 4: Common bus, 5: Shared memory, 11□, IL2. ...11-n:
Microprocessor, 12-1.12-2゜...-,1
1n: clock control circuit, 21: NAND circuit, 22: flip-flop.

Claims (1)

【特許請求の範囲】[Claims] 12和クロツクで動作するプロセッサを共通バスを介し
て2個以上接続してなるマルチプロセッサシステムにお
いて、プロセッサからバス使用要求信号を受けたとき共
通バスが使用可能でればバス使用許可信号を該プロセッ
サへ送るバス制御回路と、基準2相クロツクを発生する
基準クロック発生器と、共通バスに接続され該共通バス
を介して各プロセッサから共通にアクセス可能な共有メ
モリとを各プロセッサに共通に設けるとともに、前記バ
ス制御回路からバス使用許可信号を得られない場合は対
応するプロセッサの実行を一時停止するため基準クロッ
クをバス使用要求信号発生時の極性1?ニー保持し、そ
れ以外の場合は基準クロックを直接対応するプロセッサ
へ入力するクロック制御回路を各プロセッサごとに設け
て、各プロセッサの共通バス占有の制御を行なうことを
特徴とするマルチプロセッサ制御方式。
In a multiprocessor system in which two or more processors operating on a 12-sum clock are connected via a common bus, when a bus use request signal is received from a processor, if the common bus can be used, a bus use permission signal is sent to the processor. A bus control circuit for sending data to the processor, a reference clock generator for generating a reference two-phase clock, and a shared memory connected to a common bus and commonly accessible from each processor via the common bus are provided in common for each processor. , if a bus use permission signal cannot be obtained from the bus control circuit, the reference clock is set to the polarity 1 when the bus use request signal is generated in order to temporarily stop the execution of the corresponding processor. A multiprocessor control system characterized in that each processor is provided with a clock control circuit that maintains a clock and inputs a reference clock directly to the corresponding processor in other cases, thereby controlling the occupancy of a common bus by each processor.
JP54151228A 1979-11-21 1979-11-21 Multiprocessor control method Expired JPS5851294B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP54151228A JPS5851294B2 (en) 1979-11-21 1979-11-21 Multiprocessor control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP54151228A JPS5851294B2 (en) 1979-11-21 1979-11-21 Multiprocessor control method

Publications (2)

Publication Number Publication Date
JPS5674767A JPS5674767A (en) 1981-06-20
JPS5851294B2 true JPS5851294B2 (en) 1983-11-15

Family

ID=15514036

Family Applications (1)

Application Number Title Priority Date Filing Date
JP54151228A Expired JPS5851294B2 (en) 1979-11-21 1979-11-21 Multiprocessor control method

Country Status (1)

Country Link
JP (1) JPS5851294B2 (en)

Also Published As

Publication number Publication date
JPS5674767A (en) 1981-06-20

Similar Documents

Publication Publication Date Title
US4449183A (en) Arbitration scheme for a multiported shared functional device for use in multiprocessing systems
US5195185A (en) Dynamic bus arbitration with concurrent same bus granting every cycle
US4368514A (en) Multi-processor system
US5862356A (en) Pipelined distributed bus arbitration system
JP2574967B2 (en) Arbitration apparatus and method for multiprocessor system
US4797815A (en) Interleaved synchronous bus access protocol for a shared memory multi-processor system
US5590299A (en) Multiprocessor system bus protocol for optimized accessing of interleaved storage modules
US5293491A (en) Data processing system and memory controller for lock semaphore operations
JPH09218847A (en) Method and apparatus for reducing bus arbitration latency
US4180855A (en) Direct memory access expander unit for use with a microprocessor
JPS5851294B2 (en) Multiprocessor control method
US5446847A (en) Programmable system bus priority network
JPH0210459A (en) Bus use right determining system
US5898847A (en) Bus arbitration method and appparatus for use in a multiprocessor system
JP3240863B2 (en) Arbitration circuit
JPH081632B2 (en) Data processing system having shared bus and its priority determining circuit
JPS60116059A (en) Bus controlling system
JPH04225458A (en) Computer
JPH05120206A (en) Dma controller
KR950013114B1 (en) Computer Data Multiprocessing System
JPS61248153A (en) Memory access controlling system in multiprocessor system
JPS6054065A (en) synchronous control device
JPS6341973A (en) Multi-processor system
JP3098550B2 (en) Bus control method
JPS6217263B2 (en)