JPH07295949A - Multi-cpu processing system provided with two system buses - Google Patents

Multi-cpu processing system provided with two system buses

Info

Publication number
JPH07295949A
JPH07295949A JP8425694A JP8425694A JPH07295949A JP H07295949 A JPH07295949 A JP H07295949A JP 8425694 A JP8425694 A JP 8425694A JP 8425694 A JP8425694 A JP 8425694A JP H07295949 A JPH07295949 A JP H07295949A
Authority
JP
Japan
Prior art keywords
cpu
bus
shared memory
buses
processing system
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
JP8425694A
Other languages
Japanese (ja)
Inventor
Tokuji Obayashi
徳二 大林
Seiji Nishioka
誠治 西岡
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
Nippon Telegraph and Telephone Corp
Original Assignee
NEC Corp
Nippon Telegraph and Telephone 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, Nippon Telegraph and Telephone Corp filed Critical NEC Corp
Priority to JP8425694A priority Critical patent/JPH07295949A/en
Publication of JPH07295949A publication Critical patent/JPH07295949A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To provide a multi-CPU processing system for which a system bus is divided, plural CPUs are connected to the respective system buses, loads are distributed and functions are distributed. CONSTITUTION:First CPU groups 101, 102,..., 10n are in charge of a processing relating to the system bus 60 based on the mediation of a bus/interruption mediation circuit 20 and second CPU groups 10n+1, 10n+2,..., 10m are in charge of the processing relating to the system bus 70 based on the mediation of the bus/interruption mediation circuit 50. A dual port shared memory 40 is used for the processing when it is needed. When the first CPU groups are required to perform communication with the side of the system bus 70 and when the second CPU groups are required to perform the communication with the side of the system bus 60, the bus/interruption mediation circuits 20 and 50 let the communication be executed through an inter-system-bus communication line 80 and the dual port shared memory 40.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は密結合型共有メモリ方式
のマルチCPU処理システムに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a tightly coupled shared memory multi-CPU processing system.

【0002】[0002]

【従来の技術】マイクロコンピュータの発展と共に、複
数のマイクロコンピュータを用いた分散処理装置が広く
産業上利用されている。例えば、システムの性能を上げ
るためにマルチCPU方式がある。マルチCPU方式
は、処理方式によって分類すると、(1)各プロセッサ
が同一の機能を持ち、負荷を平等に分担する形態のシス
テムである、負荷分散型と、(2)各プロセッサがそれ
ぞれの専用の機能を持つ形態のシステムである機能分散
型とがある。また、結合方式による分類では、バスによ
る接続を特徴とする(1)密結合型とプロセッサ間通信
を特徴とする(2)疎結合型とがある。
2. Description of the Related Art With the development of microcomputers, distributed processing devices using a plurality of microcomputers are widely used in industry. For example, there is a multi-CPU method to improve the system performance. The multi-CPU system is classified according to the processing system. (1) Each processor has the same function and shares the load evenly. There is a function distribution type that is a system having functions. Further, the classification by the coupling method includes (1) a tight coupling type characterized by bus connection and (2) a loose coupling type characterized by interprocessor communication.

【0003】図2は密結合型共有メモリ方式のマルチC
PU処理システムの従来例を示すブロック図である。C
PU111,112,〜,11pと、I/O311,3
2,〜,31qと、共有メモリ41とがシステムバス6
1を介して接続されている。この場合、バス/割込み調
停回路は、各CPU111,112,〜,11pと基板上
で一体化されている。
FIG. 2 shows a tightly coupled shared memory type multi-C.
It is a block diagram which shows the prior art example of a PU processing system. C
PU11 1 , 11 2 , ~, 11 p , and I / O 31 1 , 3
1 2 , ..., 31 q and the shared memory 41 are the system bus 6
1 is connected. In this case, the bus / interrupt arbitration circuit, the CPU 11 1, 11 2, ~, are integrated with 11 p and substrate.

【0004】[0004]

【発明が解決しようとする課題】図2で示された従来の
マルチCPU処理システムは、CPUの数の増加に伴う
共有メモリへのアクセスのオーバヘッドが問題になる。
また、各CPUが同一バス上にあるために、バス/割込
み調停回路を各CPUの基板内に入れる必要があり、調
停回路が複雑となり、各基板の回路規模が大きくなると
いう問題がある。。また、疎結合型では、CPU間通信
によるオーバヘッドが大きくなるため、これを極力小さ
くするように特別な回路等を工夫する必要がある。一
方、2機能分散型では、通常、各専用プロセッサへの適
切な機能割当てが必要であり、不適切な場合、マルチC
PU化した効果は得られないなどの各種問題点があっ
た。
In the conventional multi-CPU processing system shown in FIG. 2, the overhead of accessing the shared memory due to the increase in the number of CPUs becomes a problem.
Further, since each CPU is on the same bus, it is necessary to put the bus / interrupt arbitration circuit in the board of each CPU, which makes the arbitration circuit complicated and increases the circuit scale of each board. . Further, in the loosely coupled type, the overhead due to the communication between the CPUs becomes large, so it is necessary to devise a special circuit or the like so as to minimize the overhead. On the other hand, in the two-function distributed type, it is usually necessary to appropriately allocate functions to each dedicated processor.
There were various problems such as the effect of being converted to PU cannot be obtained.

【0005】本発明は上記の負荷分散、機能分散に見ら
れる問題点を、負荷分散型をベースとして、バスの分割
とデュアルポートの共有メモリ、バス/割込み調停回路
を独立にすることにより解決した、簡便な構成で、処理
能力の向上と機能分散を図ったマルチCPU処理システ
ムを提供することを目的とする。
The present invention solves the above-mentioned problems found in load distribution and function distribution by making the bus division and dual port shared memory and the bus / interrupt arbitration circuit independent based on the load distribution type. It is an object of the present invention to provide a multi-CPU processing system having a simple structure with improved processing capability and distributed functions.

【0006】[0006]

【課題を解決するための手段】上記問題を解決するため
に、本発明の密結合型共有メモリ方式のマルチCPU処
理システムは、第1,第2のシステムバスと、第1,第
2のシステムバスにそれぞれ接続され、第1,第2のシ
ステムバスにそれぞれ割込み要求を行なう第1,第2の
入出力装置と、第1,第2のシステムバスにそれぞれ接
続され、それぞれ密結合構成とされたた複数のCPUか
らなる第1,第2のCPU群と、第1,第2のポートが
それぞれ第1,第2のシステムバスに接続され、第1,
第2のCPU群の共有メモリとして働くデュアルポート
共有メモリと、第1,第2のシステムバスにそれぞれ接
続され、第1,第2のCPU群がそれぞれ第1,第2の
システムバスに行なうバス獲得要求および割込み要求並
びに第1,第2の入出力装置がそれぞれ第1,第2のシ
ステムバスに行なう割込み要求を、それぞれ調停すると
ともに、第1のCPU群と第2のCPU群との間の通信
を、デュアルポート共有メモリを介して行なわせる第
1,第2のバス/割込み調停回路とを有する。
In order to solve the above problems, a tightly coupled shared memory multi-CPU processing system of the present invention is provided with a first and a second system buses and a first and a second system. First and second input / output devices that are respectively connected to the buses and that make interrupt requests to the first and second system buses, and that are respectively connected to the first and second system buses, and have a tightly coupled configuration. A first and a second CPU group consisting of only a plurality of CPUs, and a first and a second port are connected to a first and a second system bus, respectively.
A dual-port shared memory that functions as a shared memory for the second CPU group, and a bus that is connected to the first and second system buses, respectively, and that the first and second CPU groups perform on the first and second system buses, respectively. Between the first CPU group and the second CPU group while arbitrating the acquisition request and the interrupt request and the interrupt requests made by the first and second input / output devices to the first and second system buses, respectively. And the first and second bus / interrupt arbitration circuits for performing the communication of 1) via the dual port shared memory.

【0007】[0007]

【作用】第1のCPU群は、第1のバス/割込み調停回
路の調停に基づいて、第1のシステムバスに係わる処理
を分担し、第2のCPU群は、第2のバス/割込み調停
回路の調停に基づいて、第2のシステムバスに係わる処
理を分担する。この処理に必要があるときはデュアルポ
ート共有メモリが用いられる。第1のCPU群が第2の
システムバス側と通信をする必要が生じたときや、第2
のCPU群が第1のシステムバス側と通信をする必要が
生じたときには、第1,第2のバス/割込み調停回路
は、デュアルポート共有メモリを介して、この通信を実
行させる。
The first CPU group shares the processing relating to the first system bus based on the arbitration of the first bus / interrupt arbitration circuit, and the second CPU group the second bus / interrupt arbitration. The processes related to the second system bus are shared based on the arbitration of the circuit. Dual port shared memory is used when needed for this process. When the first CPU group needs to communicate with the second system bus side,
When it becomes necessary for the CPU group of 1 to communicate with the first system bus side, the first and second bus / interrupt arbitration circuits execute this communication via the dual port shared memory.

【0008】[0008]

【実施例1】次に、本発明の実施例について図面を参照
して説明する。図1は本発明のマルチCPU処理システ
ムの一実施例を示すブロック図である。CPU101
102,〜,10nと、バス/割込み調停回路20と、I
/O301,302,〜,30iと、デュアルポート共有
メモリ40の一方のポートとがシステムバス60を介し
て接続されている。また、CPU10n+1,10n+2
〜,10mと、バス/割込み調停回路50と、I/O3
i+1,30i+2,〜,30jと、デュアルポート共有メ
モリ40の他方のポートとがシステムバス70を介して
接続されている。バス/割込み調停回路20,50の間
はシステムバス間通信ライン80により接続されてい
る。
Embodiment 1 Next, an embodiment of the present invention will be described with reference to the drawings. FIG. 1 is a block diagram showing an embodiment of a multi-CPU processing system of the present invention. CPU10 1 ,
10 2 , ..., 10 n , the bus / interrupt arbitration circuit 20, and I
/ O 30 1 , 30 2 , ..., 30 i and one port of the dual port shared memory 40 are connected via the system bus 60. Also, CPUs 10 n + 1 , 10 n + 2 ,
~, 10 m , bus / interrupt arbitration circuit 50, and I / O3
0 i + 1 , 30 i + 2 , ..., 30 j and the other port of the dual port shared memory 40 are connected via the system bus 70. The bus / interrupt arbitration circuits 20 and 50 are connected by a system bus communication line 80.

【0009】次に図1の実施例のマルチCPU動作につ
いて説明する。システムバス60に接続されたCPU1
1,102,〜,10nがシステムバス60を使用しよ
うとするバス獲得要求は、バス/割込み調停回路により
調停され、調停された結果の信号を受けたCPUがバス
マスタとなり、システムバス60を使用する。
Next, the multi-CPU operation of the embodiment shown in FIG. 1 will be described. CPU1 connected to system bus 60
A bus acquisition request for 0 1 , 10 2 , ..., 10 n to use the system bus 60 is arbitrated by the bus / interrupt arbitration circuit, and the CPU that receives the signal of the arbitration result becomes the bus master and the system bus 60 To use.

【0010】バスマスタのシステムバス60の使用後、
システムバス60に接続された他のCPUからバス獲得
要求があれば、バス/割込み調停回路20は、調停結果
をバス獲得要求したCPUに通知する。また、I/O3
1,302,〜,30iおよびCPU101,102
〜,10nからの割込み要求も全て、バス/割込み調停
回路20により処理される。CPU101,102,〜,
10nの間の通信は、デュアルポート共有メモリ40を
用いて、データの共有および通信が可能である。
After using the system bus 60 of the bus master,
If there is a bus acquisition request from another CPU connected to the system bus 60, the bus / interrupt arbitration circuit 20 notifies the CPU that has requested the bus acquisition of the arbitration result. Also, I / O3
0 1, 30 2, ~, 30 i and CPU10 1, 10 2,
~, Also all interrupt request from 10 n, is processed by the bus / interrupt arbitration circuit 20. CPU10 1, 10 2, ~,
For communication during 10 n , data can be shared and communicated by using the dual port shared memory 40.

【0011】また、システムバス70上の動作は、CP
U101,102,〜,10nをCPU10n+1,1
n+2,〜,10mに、I/O301,302,〜,30i
をI/O30 i+1,30i+2,〜,30jに、バス/割込
み調停回路20をバス/割込み調停回路50にそれぞれ
置き換えて考えれば、システムバス60上の動作から容
易に理解できよう。
The operation on the system bus 70 is CP
U101, 102, ~, 10nCPU 10n + 1, 1
0n + 2, ~, 10mI / O301, 302, ~, 30i
I / O30 i + 1, 30i + 2, ~, 30jOn the bus / interruption
The arbitration circuit 20 to the bus / interrupt arbitration circuit 50, respectively.
Considering it as a replacement, the operation on the system bus 60 is
Easy to understand.

【0012】上述の実施例の説明で明らかなように、C
PU101,102,〜,10nは、I/O301,3
2,〜,30iが要求する処理に対応できる同一の第1
のプログラムを実行可能にされているので、負荷を複数
のCPUで分散して担うことができる。また、CPU1
n+1,10n+2,〜,10mもI/O30i+1,3
i+2,〜,30jの要求する処理に対応できる同一の第
2のプログラムを実行可能にされているので、I/O3
i+1,30i+2,〜,30jに対応してマルチCPU負
荷分散を実現できるとともに、CPU101,102
〜,10nとは異なる第2のプログラムによる機能を働
かせることができる。つまり、システムバス60とシス
テムバス70とを分離することにより、各々のシステム
バス上のI/O固有の処理に適したプログラムを各シス
テムバス上のCPUに適用できる。
As is clear from the above description of the embodiment, C
PU10 1 , 10 2 , ~, 10 n are I / O 30 1 , 3
0 2, -, first the same to accommodate the processing of requests 30 i
Since the above program can be executed, the load can be shared by a plurality of CPUs. Also, CPU1
0 n + 1 , 10 n + 2 , ..., 10 m are also I / O 30 i + 1 , 3
Since the same second program that can handle the processing requested by 0 i + 2 , ..., 30 j is made executable, I / O 3
Multi CPU load distribution can be realized corresponding to 0 i + 1 , 30 i + 2 , ..., 30 j , and CPUs 10 1 , 10 2 ,
~, It can work function of different second programs and 10 n. In other words, by separating the system bus 60 and the system bus 70, a program suitable for I / O-specific processing on each system bus can be applied to the CPU on each system bus.

【0013】上述のバス分離により、システムバス60
側とシステムバス70側とに負荷分散を図ることができ
るとともに、システムバス60側とシステムバス70側
とに異なる機能を分担させることにより機能分散が容易
に図れる。さらに、システムバス60と、システムバス
70とに別々に接続されたCPU101,102,〜,1
nとCPU10n+1,10n+2,〜,10mとの間の通信
(例えば、制御信号の授受)は、バス/割込み調停回路
20,50間のシステムバス間通信ライン80を用いる
とともに、データをデュアルポート共有メモリ4を使用
して伝達すれば高速で実行できる。
Due to the aforementioned bus separation, the system bus 60
The load can be distributed between the system side and the system bus 70 side, and the function distribution can be easily achieved by sharing different functions between the system bus 60 side and the system bus 70 side. Further, CPU 10 1, 10 2 and the system bus 60, are separately connected to the system bus 70, ~, 1
Communication between the 0 n and the CPUs 10 n + 1 , 10 n + 2 , ..., 10 m (for example, transfer of control signals) uses a system bus communication line 80 between the bus / interrupt arbitration circuits 20, 50. At the same time, the data can be transmitted at high speed by using the dual port shared memory 4.

【0014】[0014]

【発明の効果】以上説明したように本発明は、密結合型
のマルチCPU処理システムにおいてシステムバスを分
割し、分割したシステムバスにデュアルポート共有メモ
リを接続使用することにより、それぞれのシステムバス
側に異なる機能を分担させ機能分散処理を実現するとと
もに、同一バス上に複数のCPUを接続することによ
り、負荷分散処理を実現できる。つまり、バス分割と、
密結合型共有メモリマルチCPUシステムとを組み合せ
ることにより、簡便な方法で、負荷分散と機能分散を同
時に実現できるとともに、従来の各個別の方式で問題と
なっていた事項に対して、影響を少なくできるだけでな
く、負荷分散と機能分散の能力および性能を向上できる
という効果を奏する。
As described above, according to the present invention, in a tightly coupled multi-CPU processing system, the system buses are divided, and dual port shared memories are connected to the divided system buses to use them. It is possible to share the different functions with each other to realize the function distributed processing and to realize the load distributed processing by connecting a plurality of CPUs on the same bus. In other words, with bus division,
By combining with the tightly-coupled shared memory multi-CPU system, load distribution and function distribution can be realized at the same time by a simple method, and the problems that are problematic in each conventional method can be affected. Not only can it be reduced, but the ability and performance of load distribution and function distribution can be improved.

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

【図1】本発明のマルチCPU処理システムの一実施例
を示すブロック図である。
FIG. 1 is a block diagram showing an embodiment of a multi-CPU processing system of the present invention.

【図2】従来例を示すブロック図である。FIG. 2 is a block diagram showing a conventional example.

【符号の説明】[Explanation of symbols]

101,102,〜,10n,10n+1,10n+2,〜,1
m CPU 20,50 バス/割込み調停回路 301,302,〜,30i,30i+1,30i+2,〜,3
j I/O 40 デュアルポート共有メモリ 60,70 システムバス
10 1 , 10 2 , ~, 10 n , 10 n + 1 , 10 n + 2 , ~, 1
0 m CPU 20,50 Bus / interrupt arbitration circuit 30 1 , 30 2 , ~, 30 i , 30 i + 1 , 30 i + 2 , ~, 3
0 j I / O 40 dual port shared memory 60, 70 system bus

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 密結合型共有メモリ方式のマルチCPU
処理システムであって、 第1,第2のシステムバスと、 第1,第2のシステムバスにそれぞれ接続され、第1,
第2のシステムバスにそれぞれ割込み要求を行なう第
1,第2の入出力装置と、 第1,第2のシステムバスにそれぞれ接続され、それぞ
れ密結合構成とされたた複数のCPUからなる第1,第
2のCPU群と、 第1,第2のポートがそれぞれ第1,第2のシステムバ
スに接続され、第1,第2のCPU群の共有メモリとし
て働くデュアルポート共有メモリと、 第1,第2のシステムバスにそれぞれ接続され、第1,
第2のCPU群がそれぞれ第1,第2のシステムバスに
行なうバス獲得要求および割込み要求並びに第1,第2
の入出力装置がそれぞれ第1,第2のシステムバスに行
なう割込み要求を、それぞれ調停するとともに、第1の
CPU群と第2のCPU群との間の通信を、デュアルポ
ート共有メモリを介して行なわせる第1,第2のバス/
割込み調停回路とを有することを特徴とするマルチCP
U処理システム。
1. A tightly coupled shared memory multi-CPU
A processing system, which is connected to the first and second system buses and the first and second system buses, respectively.
A first and a second input / output device for respectively making an interrupt request to the second system bus, and a first CPU comprising a plurality of CPUs respectively connected to the first and second system buses and having a tightly coupled configuration. A second CPU group, a dual port shared memory having first and second ports respectively connected to the first and second system buses, and serving as a shared memory of the first and second CPU groups, , Connected to the second system bus respectively,
A bus acquisition request and an interrupt request that the second CPU group makes to the first and second system buses, respectively, and the first and second
Arbitrates interrupt requests made by the I / O device to the first and second system buses, respectively, and communicates between the first CPU group and the second CPU group via the dual port shared memory. First and second buses to be carried out /
Multi-CP having an interrupt arbitration circuit
U processing system.
【請求項2】 第1,第2のバス/割込み調停回路は、
第1のCPU群と第2のCPU群との間の通信を、デュ
アルポート共有メモリを介して行なわせる際に、必要な
信号の授受を両者間を接続するシステムバス間通信ライ
ンを介して行なう請求項1記載のマルチCPU処理シス
テム。
2. The first and second bus / interrupt arbitration circuits,
When communication between the first CPU group and the second CPU group is performed via the dual port shared memory, necessary signals are exchanged via a system bus communication line connecting the two. The multi-CPU processing system according to claim 1.
【請求項3】 第1,第2のCPU群は、それぞれ異な
る機能を分担している請求項1記載のマルチCPU処理
システム。
3. The multi-CPU processing system according to claim 1, wherein the first and second CPU groups share different functions.
【請求項4】 第1,第2の入出力装置は複数である請
求項1記載のマルチCPU処理システム。
4. The multi-CPU processing system according to claim 1, wherein the first and second input / output devices are plural.
JP8425694A 1994-04-22 1994-04-22 Multi-cpu processing system provided with two system buses Pending JPH07295949A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP8425694A JPH07295949A (en) 1994-04-22 1994-04-22 Multi-cpu processing system provided with two system buses

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8425694A JPH07295949A (en) 1994-04-22 1994-04-22 Multi-cpu processing system provided with two system buses

Publications (1)

Publication Number Publication Date
JPH07295949A true JPH07295949A (en) 1995-11-10

Family

ID=13825382

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8425694A Pending JPH07295949A (en) 1994-04-22 1994-04-22 Multi-cpu processing system provided with two system buses

Country Status (1)

Country Link
JP (1) JPH07295949A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100736902B1 (en) * 2005-06-23 2007-07-10 엠텍비젼 주식회사 Method and apparatus for sharing memory by a plurality of processors

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100736902B1 (en) * 2005-06-23 2007-07-10 엠텍비젼 주식회사 Method and apparatus for sharing memory by a plurality of processors

Similar Documents

Publication Publication Date Title
US6101565A (en) System for multisized bus coupling in a packet-switched computer system
US5857090A (en) Input/output subsystem having an integrated advanced programmable interrupt controller for use in a personal computer
US4736319A (en) Interrupt mechanism for multiprocessing system having a plurality of interrupt lines in both a global bus and cell buses
CN101667165B (en) Bus sharing method and device for distributed multi-master CPUs
GB2085624A (en) A coupling equipment for the control of access of data processors to a data line
JPH04230558A (en) Direct-memory access apparatus
JPH07295949A (en) Multi-cpu processing system provided with two system buses
EP0473453B1 (en) Work station having a selectable CPU
US5933648A (en) Configurable arbitration device for controlling the access of components to an arbiter or the like based on a control input
EP1193607B1 (en) Apparatus and method for the exchange of signal groups between a plurality of components in a digital signal processor having a direct memory access controller
JP2705955B2 (en) Parallel information processing device
JPS6160162A (en) Bus arbitration system
KR100206471B1 (en) Apparatus for processing data communication channel of synchronous transmission system
JPS6346559A (en) Dma controller
JPS6194169A (en) Multiprocessor system
JPH052557A (en) Data transfer device
JPH05108553A (en) Bus coupling device
JPH0276054A (en) Bus control system
JPS63153662A (en) Semiconductor memory device
JPH04155481A (en) Microprocessor
JPH03290750A (en) Dma transfer method
JPS62192845A (en) Bus control system
KR20050064694A (en) Partition type bus control device
JPH04155466A (en) Multiprocessor system
JPS6393060A (en) Decentralized data processing system