JPH0744487A - Multi-processor system - Google Patents

Multi-processor system

Info

Publication number
JPH0744487A
JPH0744487A JP18512993A JP18512993A JPH0744487A JP H0744487 A JPH0744487 A JP H0744487A JP 18512993 A JP18512993 A JP 18512993A JP 18512993 A JP18512993 A JP 18512993A JP H0744487 A JPH0744487 A JP H0744487A
Authority
JP
Japan
Prior art keywords
processor
bus
processors
cpui
access
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
JP18512993A
Other languages
Japanese (ja)
Inventor
Tetsuji Matsuda
哲治 松田
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.)
Toshiba Corp
Original Assignee
Toshiba 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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP18512993A priority Critical patent/JPH0744487A/en
Publication of JPH0744487A publication Critical patent/JPH0744487A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To provide a multi-processor system in which plural processors are arbitrated to share a resource in common efficiently by a simple configuration additional circuit with respect to the multi-processor system using plural independent processors to make high speed processing. CONSTITUTION:The system is configured by using plural independent processor CPUi (i=1, 2), a common resource 4 shared in common by the plural processors CPUi, and an arbitration means 3 applying allocation control so as to allow one CPUi in the plural processors to access the common resource 4, and the arbitration means 3 outputs an interrupt signal 9 commanding the interruption of the access of the processor CPUi to the common resource 4.

Description

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

【0001】[0001]

【発明の技術分野】本発明は、複数の互いに独立したプ
ロセッサを用いて高速処理を行うマルチプロセッサシス
テムに関し、特に、簡単な構成の付加回路によって、複
数のプロセッサが効率よく資源を共有するように調停可
能としたマルチプロセッサシステムに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a multiprocessor system for performing high-speed processing by using a plurality of independent processors, and more particularly, to enable a plurality of processors to efficiently share resources by using an additional circuit having a simple structure. The present invention relates to a multiprocessor system capable of arbitration.

【0002】近年、中央処理装置(CPU)等のプロセ
ッサの動作周波数は年々高速化されてきている。一方、
周辺装置のアクセス速度についても向上してはいるもの
の、中央処理装置の速度に追い付いて来ていないのが現
状である。
In recent years, the operating frequency of a processor such as a central processing unit (CPU) has been increased year by year. on the other hand,
Although the access speed of peripheral devices has improved, the current situation is that they have not caught up with the speed of the central processing unit.

【0003】このように、中央処理装置内部の処理速度
と外部周辺装置に対するアクセス速度との速度比は拡大
の傾向にあり、共有資源を備えるマルチプロセッサシス
テムにおいて、優先度の低いプロセッサの共有資源に対
するアクセスが終了するまで、優先度の高いプロセッサ
が待つ待ち時間が、システム全体のスループットにより
大きな影響を及ぼすことが予想され、システム全体のス
ループットを低下させない資源割当の制御方法が望まれ
ている。
As described above, the speed ratio between the processing speed inside the central processing unit and the access speed to the external peripheral devices tends to increase, and in a multiprocessor system having a shared resource, the shared resource of a processor having a low priority is shared. It is expected that the waiting time of a high-priority processor until the access is completed has a great influence on the throughput of the entire system, and a resource allocation control method that does not reduce the throughput of the entire system is desired.

【0004】[0004]

【従来の技術】従来のマルチプロセッサシステムの構成
図を図6に示す。
2. Description of the Related Art FIG. 6 shows a configuration diagram of a conventional multiprocessor system.

【0005】同図に示すマルチプロセッサシステムは、
互いに独立した2つのプロセッサCPU1及びCPU2
によって構成され、2つのプロセッサCPU1及びCP
U2はメモリ4を共有している。また本従来例の構成で
は、メモリ4に対するアクセスの優先順位は、プロセッ
サCPU2の方が高いものとする。
The multiprocessor system shown in FIG.
Two independent processors CPU1 and CPU2
Composed of two processors CPU1 and CP
U2 shares the memory 4. Further, in the configuration of the conventional example, the processor CPU 2 has a higher priority of access to the memory 4.

【0006】また、調停回路3は、プロセッサCPU1
及びCPU2が共有資源(メモリ4)を同時にアクセス
しようとした場合、プロセッサCPU2のアクセス要求
を選択し、プロセッサCPU1を待機させるように制御
する。プロセッサCPU1に関して、アドレスバス5が
調停回路3、1方向バスドライバ10、及び共有アドレ
スバス14を介してメモリ4に、データバス6が双方向
バスドライバ11及び共有データバス15を介してメモ
リ4に、それぞれ接続されている。
The arbitration circuit 3 includes a processor CPU1.
When the CPU 2 and the CPU 2 try to access the shared resource (memory 4) at the same time, the access request from the processor CPU 2 is selected and the processor CPU 1 is controlled to stand by. Regarding the processor CPU 1, the address bus 5 is connected to the memory 4 via the arbitration circuit 3, the one-way bus driver 10 and the shared address bus 14, and the data bus 6 is connected to the memory 4 via the bidirectional bus driver 11 and the shared data bus 15. , Each connected.

【0007】同様にして、プロセッサCPU2に関し
て、アドレスバス7が調停回路3、1方向バスドライバ
12、及び共有アドレスバス14を介してメモリ4に接
続され、データバス8が双方向バスドライバ13及び共
有データバス15を介してメモリ4に接続されている。
Similarly, regarding the processor CPU2, the address bus 7 is connected to the memory 4 via the arbitration circuit 3, the one-way bus driver 12, and the shared address bus 14, and the data bus 8 is shared by the bidirectional bus driver 13 and the shared bus. It is connected to the memory 4 via the data bus 15.

【0008】プロセッサCPU1が共有資源であるメモ
リ4をアクセス中に、優先度の高いプロセッサCPU2
のメモリ4に対するアクセス要求があった場合のタイミ
ングチャートを図7に示す。
While the processor CPU1 is accessing the memory 4 which is a shared resource, the processor CPU2 having a high priority
7 shows a timing chart when there is an access request to the memory 4 of FIG.

【0009】本従来例では、プロセッサCPU1がメモ
リ4に対するアクセス権を受けて、バスサイクルをT1
のタイミングから実行中である時に、それよりも優先度
の高いプロセッサCPU2が、T2のタイミングからメ
モリ4をアクセスしようとしても、優先度の低いプロセ
ッサCPU1が実行中のバスサイクルを終了するT3の
タイミングからでしか、次のアクセス要求を受け付けな
いようになっていた。
In this conventional example, the processor CPU1 receives the access right to the memory 4 and sets the bus cycle to T1.
When the processor CPU2 having a higher priority tries to access the memory 4 from the timing of T2 during execution from the timing of T3, the timing of T3 at which the processor CPU1 with lower priority ends the bus cycle being executed It was supposed to accept the next access request only because.

【0010】また、バスサイクルを中断すると、中断さ
れたバスサイクル中のデータが失われるため、いずれバ
スサイクルを再開する際に、中断したバスサイクルを再
実行する必要があった。しかしながら、再実行のための
機能を付加すると調停回路3等のハードウエア量が大き
くなってしまうため、バスサイクル実行途中での中断は
行われていなかった。尚、パリティエラー等で正しいデ
ータが得られなかった場合に、同じバスサイクルを再実
行するリトライ動作を行うための入力を持つプロセッサ
は、従来技術でも開発されている。
Further, when the bus cycle is interrupted, the data in the interrupted bus cycle is lost. Therefore, when the bus cycle is restarted, it is necessary to re-execute the interrupted bus cycle. However, if the function for re-execution is added, the amount of hardware such as the arbitration circuit 3 becomes large, and therefore the interruption is not performed during the execution of the bus cycle. It should be noted that a processor having an input for performing a retry operation for re-executing the same bus cycle when correct data cannot be obtained due to a parity error or the like has been developed in the related art.

【0011】[0011]

【発明が解決しようとする課題】以上のように、従来の
マルチプロセッサシステムでは、実行中のバスサイクル
を中断できないシステム構成のため、アクセス権を獲得
する際のオーバーヘッド時間が大きくなってしまい、シ
ステム全体としての処理効率が落ちるという問題があっ
た。
As described above, in the conventional multiprocessor system, since the system configuration in which the bus cycle being executed cannot be interrupted, the overhead time for acquiring the access right becomes large, and the system There was a problem that the processing efficiency as a whole fell.

【0012】本発明は、上記問題点を解決するもので、
簡単な構成の付加回路によって、複数のプロセッサが効
率よく資源を共有するように調停可能としたマルチプロ
セッサシステムを提供することを目的とする。
The present invention solves the above problems,
It is an object of the present invention to provide a multiprocessor system in which a plurality of processors can arbitrate so as to efficiently share resources by using an additional circuit having a simple structure.

【0013】[0013]

【課題を解決するための手段】前記課題を解決するため
に、本発明のマルチプロセッサシステムの第1の特徴
は、図1に示す如く、複数の互いに独立したプロセッサ
CPUi(i=1,2)と、前記複数のプロセッサCP
Uiが共有する共有資源4と、前記複数のプロセッサの
内1つCPUiを前記共有資源4に対してアクセス可能
となるよう割当制御する調停手段3とを具備し、前記調
停手段3は、前記少なくとも1つのプロセッサCPUi
に対して、該プロセッサCPUiの前記共有資源4に対
するアクセスを中断するよう指示する中断信号9を出力
することである。
In order to solve the above problems, the first feature of the multiprocessor system of the present invention is that a plurality of independent processor CPUs i (i = 1, 2) are provided as shown in FIG. And the plurality of processors CP
A shared resource 4 shared by Ui, and an arbitration unit 3 for performing allocation control so that one CPUi of the plurality of processors can be accessed to the shared resource 4, the arbitration unit 3 includes at least the arbitration unit 3. One processor CPUi
To output the interrupt signal 9 instructing to interrupt the access of the processor CPUi to the shared resource 4.

【0014】また、本発明の第2の特徴は、請求項1に
記載のマルチプロセッサシステムにおいて、前記調停手
段3は、前記割当制御を前記プロセッサCPUiの持つ
優先順位に従って行うことである。
A second feature of the present invention is that in the multiprocessor system according to the first aspect, the arbitration means 3 performs the allocation control according to the priority order of the processor CPUi.

【0015】また、本発明の第3の特徴は、請求項1ま
たは2に記載のマルチプロセッサシステムにおいて、前
記プロセッサCPUiは、前記中断信号9によって中断
された前記共有資源4に対するアクセスを、中断された
状態から再実行可能であることである。
The third feature of the present invention is that in the multiprocessor system according to claim 1 or 2, the processor CPUi suspends the access to the shared resource 4 suspended by the suspend signal 9. It is possible to re-execute from the state where it was put.

【0016】更に、本発明の第4の特徴は、請求項1、
2、または3に記載のマルチプロセッサシステムにおい
て、前記プロセッサCPUiは、中央処理装置(CP
U)、またはバスマスタであることである。
Further, the fourth feature of the present invention is as follows.
2 or 3, the processor CPUi is a central processing unit (CP).
U) or a bus master.

【0017】[0017]

【作用】本発明の第1、第2、第3、及び第4の特徴の
マルチプロセッサシステムでは、図1に示す如く、複数
の互いに独立したプロセッサCPUi(i=1,2)が
特定の資源4を共有するマルチプロセッサシステムの資
源割当制御において、優先度の低いプロセッサCPUi
が実行中のバスサイクルよりも、優先度の高いプロセッ
サCPUj(j≠i)からのバスアクセス要求があった
場合に、現在実行中の優先度の低いプロセッサCPUi
のバスサイクルを中断し、優先度の高いプロセッサCP
Ujのバスサイクルを優先的に行う調停方式を採用して
いる。
In the multiprocessor system of the first, second, third, and fourth features of the present invention, as shown in FIG. 1, a plurality of independent processor CPUs i (i = 1, 2) have specific resources. In a resource allocation control of a multiprocessor system sharing 4
When there is a bus access request from a processor CPUj (j ≠ i) having a higher priority than the bus cycle being executed, the processor CPUi having a lower priority currently being executed.
Interrupts the bus cycle of the processor CP with a high priority
An arbitration method that preferentially performs the Uj bus cycle is adopted.

【0018】調停手段3が行う資源割当制御は、少なく
とも1つのプロセッサCPUiに対して、該プロセッサ
CPUiの共有資源4に対するバスアクセスを中断する
よう指示する中断信号9を出力して、該プロセッサCP
Uiのバスサイクルを実行途中であっても強制的に中断
させる。
The resource allocation control performed by the arbitration means 3 outputs an interruption signal 9 for instructing at least one processor CPUi to interrupt the bus access to the shared resource 4 of the processor CPUi, and the processor CPi.
Even if the bus cycle of Ui is being executed, it is forcibly interrupted.

【0019】以上のように、簡単な構成の付加回路によ
り、優先度の高いプロセッサのアクセス待ちのオーバー
ヘッド時間を減少でき、マルチプロセッサシステム全体
のスループットの低下を抑さえることができ、複数のプ
ロセッサが効率よく資源を共有するように調停可能なマ
ルチプロセッサシステムを実現できる。
As described above, the additional circuit having a simple structure can reduce the overhead time of the access wait of the high-priority processor, suppress the decrease in the throughput of the multiprocessor system, and allow the plurality of processors to operate. It is possible to realize a multiprocessor system that can arbitrate so as to efficiently share resources.

【0020】[0020]

【実施例】以下、本発明に係る実施例を図面に基づいて
説明する。
Embodiments of the present invention will be described below with reference to the drawings.

【0021】図1に本発明の第1の実施例に係るマルチ
プロセッサシステムのシステム構成図を示す。
FIG. 1 shows a system configuration diagram of a multiprocessor system according to a first embodiment of the present invention.

【0022】本実施例のマルチプロセッサシステムは、
互いに独立した2つのプロセッサCPU1及びCPU2
によって、メモリ4を共有している。プロセッサCPU
1には、バスサイクルを実行途中で強制的に中断する入
力端子として、パリティエラー等で繰り返し同じバスサ
イクルを実行し続けるための入力(以下、「中断入力と
いう」)端子を備えている。
The multiprocessor system of this embodiment is
Two independent processors CPU1 and CPU2
Share the memory 4. Processor CPU
1 has an input (hereinafter, referred to as “interruption input”) terminal as an input terminal for forcibly interrupting a bus cycle during execution, for continuing to repeatedly execute the same bus cycle due to a parity error or the like.

【0023】また本実施例では、メモリ4に対するアク
セスの優先順位は、プロセッサCPU1よりもプロセッ
サCPU2の方が高いものとする。プロセッサCPU1
に関しては、アドレスバス5が、調停回路3及び1方向
バスドライバ10と共有アドレスバス14を介してメモ
リ4に、データバス6が、双方向バスドライバ11と共
有データバス15を介してメモリ4にそれぞれ接続され
ている。
Further, in the present embodiment, the priority order of access to the memory 4 is higher in the processor CPU2 than in the processor CPU1. Processor CPU1
As for the address bus 5, the address bus 5 is connected to the memory 4 via the arbitration circuit 3 and the one-way bus driver 10 and the shared address bus 14, and the data bus 6 is connected to the memory 4 via the bidirectional bus driver 11 and the shared data bus 15. Each is connected.

【0024】同様にして、プロセッサCPU2に関して
は、アドレスバス7が調停回路3及び1方向バスドライ
バ12と共有アドレスバス14を介してメモリ4に接続
され、データバス8が双方向バスドライバ13と共有デ
ータバス15を介してメモリ4に接続されている。更
に、プロセッサCPU1の中断入力には、調停回路3か
らの中断信号9が接続されている。
Similarly, regarding the processor CPU2, the address bus 7 is connected to the memory 4 via the arbitration circuit 3 and the one-way bus driver 12 and the shared address bus 14, and the data bus 8 is shared with the bidirectional bus driver 13. It is connected to the memory 4 via the data bus 15. Further, the interruption signal 9 from the arbitration circuit 3 is connected to the interruption input of the processor CPU1.

【0025】本実施例の調停回路3の回路例を図2に示
す。プロセッサCPU1及びCPU2のアドレス信号
は、それぞれデコーダ105及び107によりデコード
される。デコーダ105及び107はいわゆるアドレス
デコーダであり、プロセッサCPU1及びCPU2がそ
れぞれ共有資源としているメモリ4をアクセスしようと
した場合、デコーダ105及び107からの出力信号1
01及び17がイネーブルになる。
FIG. 2 shows a circuit example of the arbitration circuit 3 of this embodiment. The address signals of the processors CPU1 and CPU2 are decoded by the decoders 105 and 107, respectively. The decoders 105 and 107 are so-called address decoders, and output signals 1 from the decoders 105 and 107 when the processors CPU1 and CPU2 try to access the memory 4, which is a shared resource, respectively.
01 and 17 are enabled.

【0026】論理ゲート109は、プロセッサCPU1
がメモリ4に対してアクセスしており、プロセッサCP
U2がメモリ4に対してアクセスをしていない時に信号
線16をイネーブルにする。論理ゲート103は、プロ
セッサCPU1及びCPU2が同時にメモリ4に対して
アクセスをしている間、中断信号9をイネーブルにする
中断信号出力回路である。
The logic gate 109 is the processor CPU1.
Is accessing the memory 4 and the processor CP
The signal line 16 is enabled when U2 is not accessing the memory 4. The logic gate 103 is an interruption signal output circuit that enables the interruption signal 9 while the processors CPU1 and CPU2 are simultaneously accessing the memory 4.

【0027】プロセッサCPU1がメモリ4にアクセス
中に、プロセッサCPU2のメモリ4へのアクセスが始
まった場合について、図3に示すタイミングチャートを
参照して説明する。
A case where the processor CPU2 starts to access the memory 4 while the processor CPU1 is accessing the memory 4 will be described with reference to a timing chart shown in FIG.

【0028】先ず、プロセッサCPU1のみが共有資源
であるメモリ4に対して、T1のタイミングからアドレ
スバスにアドレスAを出力しバスサイクルの実行を開始
する。この時、1方向バスドライバ10がアクティブに
なり共有アドレスバス14にアドレスAが出力される。
次にこのバスサイクル中のT2のタイミングで、プロセ
ッサCPU2がメモリ4をアクセスするためアドレスバ
ス7にアドレスBを出力する。これを受けて調停回路3
は、中断信号9を出力することによってプロセッサCP
U1が実行中のバスサイクルを中断する。
First, only the processor CPU1 outputs the address A to the address bus with respect to the memory 4, which is a shared resource, from the timing T1 and starts the execution of the bus cycle. At this time, the one-way bus driver 10 becomes active and the address A is output to the shared address bus 14.
Next, at the timing of T2 in this bus cycle, the processor CPU2 outputs the address B to the address bus 7 to access the memory 4. In response to this, arbitration circuit 3
Outputs the interrupt signal 9 to the processor CP
U1 suspends the bus cycle being executed.

【0029】従って、1方向バスドライバ10がインア
クティブになり、1方向バスドライバ12がアクティブ
になって、アドレスBが共有アドレスバス14に出力さ
れる。つまりプロセッサCPU2はメモリ4に対するア
クセス権を得て、T2のタイミングからアクセスを始め
ることになる。
Therefore, the one-way bus driver 10 becomes inactive, the one-way bus driver 12 becomes active, and the address B is output to the shared address bus 14. That is, the processor CPU2 obtains the access right to the memory 4 and starts the access at the timing of T2.

【0030】プロセッサCPU2がメモリ4をアクセス
中は、調停装置3からプロセッサCPU1に中断信号9
が出力され続ける。本実施例では、プロセッサCPU2
はT2’のタイミングからデータ転送を行っている。プ
ロセッサCPU2がメモリ4のアクセスをT3のタイミ
ングで終了すると、調停回路3は中断信号9をディセー
ブルにする。
While the processor CPU2 is accessing the memory 4, the arbitration device 3 sends a suspend signal 9 to the processor CPU1.
Continues to be output. In this embodiment, the processor CPU2
Starts data transfer from the timing of T2 '. When the processor CPU2 finishes accessing the memory 4 at the timing of T3, the arbitration circuit 3 disables the interruption signal 9.

【0031】プロセッサCPU1は、中断信号9がディ
セーブルになると、中断されていたバスサイクルをT3
のタイミングよりもう一度最初から実行し直す。図3の
例では、プロセッサCPU1はT3’のタイミングから
データ転送を行っている。また、本実施例では、プロセ
ッサCPU1はバスサイクルを中断している間、停止し
た待ち状態に入るが、そのバスサイクルを中断している
間に、例えば、ローカルメモリ(図示せず)への命令フ
ェッチ等を行いながら待つようにしても良い。尚、ここ
でいうプロセッサCPU1及びCPU2は、キャッシュ
メモリ等を内蔵する広義のプロセッサを指す。
When the suspend signal 9 is disabled, the processor CPU1 sets the suspended bus cycle to T3.
Start again from the timing of. In the example of FIG. 3, the processor CPU1 starts data transfer from the timing of T3 ′. Further, in the present embodiment, the processor CPU1 enters a stopped waiting state while suspending the bus cycle, but while suspending the bus cycle, for example, an instruction to a local memory (not shown) is given. You may make it wait while fetching or the like. The processors CPU1 and CPU2 referred to here are processors in a broad sense that include a cache memory and the like.

【0032】次に、第2の実施例として、n個のプロセ
ッサCPU1〜CPUnを用いて構成した場合のマルチ
プロセッサシステムのシステム構成図を図4に示す。ま
た、第2の実施例の調停回路の回路図を図5に示す。
Next, as a second embodiment, FIG. 4 shows a system configuration diagram of a multiprocessor system when it is configured by using n processors CPU1 to CPUn. A circuit diagram of the arbitration circuit according to the second embodiment is shown in FIG.

【0033】図4において、本実施例のマルチプロセッ
サシステムは、複数の互いに独立したプロセッサCPU
i(i=1〜n)と、複数のプロセッサCPUiが共有
するメモリ4と、プロセッサCPUiのアドレスバス5
−i及び共有アドレスバス14間のアドレスの方向制御
を行う1方向バスドライバ10−iと、プロセッサCP
Uiのデータバス6−i及び共有データバス15間のデ
ータの方向制御を行う双方向バスドライバ11−iと、
複数のプロセッサの内1つCPUiをメモリ4に対して
アクセス可能となるよう、プロセッサCPUj(j=1
〜n−1)に中断信号9−jを、また1方向バスドライ
バ10−i及び双方向バスドライバ11−iにイネーブ
ル/ディセーブル信号16−iをそれぞれ発して割当制
御する調停回路3nとから構成されている。
Referring to FIG. 4, the multiprocessor system of this embodiment has a plurality of independent processor CPUs.
i (i = 1 to n), a memory 4 shared by a plurality of processors CPUi, and an address bus 5 of the processors CPUi.
-I and the one-way bus driver 10-i for controlling the direction of the address between the shared address bus 14 and the processor CP
A bidirectional bus driver 11-i for controlling the direction of data between the Ui data bus 6-i and the shared data bus 15;
In order that one of the plurality of processors, CPUi, can access the memory 4, the processor CPUj (j = 1
To n-1), and an arbitration circuit 3n for controlling allocation by issuing an interruption signal 9-j and an enable / disable signal 16-i to the one-way bus driver 10-i and the bidirectional bus driver 11-i, respectively. It is configured.

【0034】また、調停回路3nの構成は図5に示す如
く、プロセッサCPUiに対するデコーダ105−i
と、デコーダ105−iからの出力信号線101−iの
論理演算によりイネーブル/ディセーブル信号16−i
を生成する論理ゲート109−iと、デコーダ105−
iからの出力信号線101−iの論理演算により中断信
号9−jを生成する論理ゲート103−i及び104−
iとから構成されている。
The configuration of the arbitration circuit 3n is, as shown in FIG. 5, a decoder 105-i for the processor CPUi.
And the enable / disable signal 16-i by the logical operation of the output signal line 101-i from the decoder 105-i.
To generate a logic gate 109-i and a decoder 105-
logic gates 103-i and 104- that generate the interruption signal 9-j by the logical operation of the output signal line 101-i from i.
i and.

【0035】本実施例のマルチプロセッサシステムは、
2個のプロセッサCPU1及びCPU2で構成される第
1の実施例を、n個のプロセッサCPU1〜CPUnで
構成されるように拡張したものであり、個別のプロセッ
サCPUiの動作は、第1の実施例と同様である。
The multiprocessor system of this embodiment is
The first embodiment including two processors CPU1 and CPU2 is expanded to include n processors CPU1 to CPUn, and the operation of each individual processor CPUi is the same as that of the first embodiment. Is the same as.

【0036】第1及び第2の実施例では、パリティエラ
ー用のリトライ動作を行うために用意された端子を中断
信号9の入力として用いたが、本発明の目的から言っ
て、この端子は特にリトライ動作用である必要はない。
In the first and second embodiments, the terminal prepared for performing the retry operation for parity error is used as the input of the interruption signal 9, but for the purpose of the present invention, this terminal is particularly It does not have to be for retry operation.

【0037】以上のように、第1及び第2の実施例のマ
ルチプロセッサシステムによれば、複数のプロセッサC
PUi(i=1〜n)の共有に係るメモリ4をアクセス
しようとする時、既に、あるプロセッサCPUiがバス
アクセス中だった場合でも、該プロセッサCPUiに対
して中断信号9−iを発することにより、そのバスサイ
クルを強制的に中断させることができる。
As described above, according to the multiprocessor systems of the first and second embodiments, a plurality of processors C are provided.
When an attempt is made to access the memory 4 related to sharing of PUi (i = 1 to n), even if a certain processor CPUi is already accessing the bus, by issuing an interruption signal 9-i to the processor CPUi. , The bus cycle can be forcibly interrupted.

【0038】その結果、従来例のタイミング(図7)と
本発明の第1の実施例のタイミング(図3)を比較する
と、従来例に比べて第1の実施例の方が、優先度の高い
プロセッサCPU2のアクセスを3システムクロック早
く始めることができる。以上の理由から、上述した実施
例は、優先度の高いプロセッサのアクセス待ちのオーバ
ーヘッド時間を減少でき、マルチプロセッサシステム全
体の効率を低下させることがない。
As a result, comparing the timing of the conventional example (FIG. 7) and the timing of the first embodiment of the present invention (FIG. 3), the first embodiment has a higher priority than the conventional example. The high processor CPU2 access can be started 3 system clocks earlier. For the above reasons, the above-described embodiment can reduce the access waiting overhead time of the high-priority processor and does not reduce the efficiency of the entire multiprocessor system.

【0039】[0039]

【発明の効果】以上のように本発明によれば、複数の互
いに独立したプロセッサが特定の資源を共有するマルチ
プロセッサシステムの資源割当制御において、優先度の
低いプロセッサが実行中のバスサイクルよりも、優先度
の高いプロセッサからのバスアクセス要求があった場合
に、調停手段から中断信号を発して、現在実行中の優先
度の低いプロセッサのバスサイクルを強制的に中断し、
優先度の高いプロセッサのバスサイクルを優先的に行う
調停方式を採用したので、簡単な構成の付加回路によ
り、優先度の高いプロセッサのアクセス待ちのオーバー
ヘッド時間を減少させて、マルチプロセッサシステム全
体のスループットの低下を抑さえることができ、複数の
プロセッサが効率よく資源を共有するように調停可能な
マルチプロセッサシステムを提供することができる。
As described above, according to the present invention, in the resource allocation control of a multiprocessor system in which a plurality of independent processors share a specific resource, a processor with a lower priority than a bus cycle under execution. When there is a bus access request from a high-priority processor, the arbitration means issues a suspend signal to forcibly suspend the bus cycle of the currently-running low-priority processor,
Since the arbitration method that gives priority to the bus cycle of the high-priority processor is adopted, the overhead time of the access wait of the high-priority processor is reduced by the additional circuit with a simple structure, and the throughput of the entire multiprocessor system is reduced. It is possible to provide a multiprocessor system capable of suppressing the degradation of the power consumption and arbitrating so that a plurality of processors can share resources efficiently.

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

【図1】本発明の第1の実施例に係るマルチプロセッサ
システムのシステム構成図である。
FIG. 1 is a system configuration diagram of a multiprocessor system according to a first embodiment of the present invention.

【図2】第1の実施例における調停回路の内部構成例を
示す回路構成図である。
FIG. 2 is a circuit configuration diagram showing an internal configuration example of an arbitration circuit according to the first embodiment.

【図3】第1の実施例の動作を説明するタイミングチャ
ートである。
FIG. 3 is a timing chart illustrating the operation of the first embodiment.

【図4】本発明の第2の実施例に係るマルチプロセッサ
システムのシステム構成図である。
FIG. 4 is a system configuration diagram of a multiprocessor system according to a second embodiment of the present invention.

【図5】第2の実施例における調停回路の回路構成図で
ある。
FIG. 5 is a circuit configuration diagram of an arbitration circuit according to a second embodiment.

【図6】従来のマルチプロセッサシステムのシステム構
成図である。
FIG. 6 is a system configuration diagram of a conventional multiprocessor system.

【図7】従来例の動作を説明するタイミングチャートで
ある。
FIG. 7 is a timing chart illustrating the operation of a conventional example.

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

CPU1,CPU2 プロセッサ 3 調停回路 4 共有メモリ 5 CPU1のアドレスバス 6 CPU1のデータバス 7 CPU2のアドレスバス 8 CPU2のデータバス 9 中断信号(線) 10 1方向バスドライバ 11 双方向バスドライバ 12 1方向バスドライバ 13 双方向バスドライバ 14 共有アドレスバス 15 共有データバス 16 CPU1側のバスドライバのイネーブル/ディセ
ーブル信号線 17 CPU2側のバスドライバのイネーブル/ディセ
ーブル信号線 105,107 デコーダ 101 デコーダ105からの出力信号線 103,109 論理ゲート CPU1〜CPUn プロセッサ 3n 調停回路 5−i(i=1〜n) CPUiのアドレスバス 6−i(i=1〜n) CPUiのデータバス 9−i(i=1〜n−1) 第i中断信号(線) 10−i(i=1〜n) CPUiに対する1方向バス
ドライバ 11−i(i=1〜n) CPUiに対する双方向バス
ドライバ 16−i(i=1〜n) 第iバスドライバのイネーブ
ル/ディセーブル信号線 105−i(i=1〜n) CPUiに対するデコーダ 101−i(i=1〜n) デコーダ105−iからの
出力信号線 103−i(i=1〜n−1),104−i(i=1〜
n−2) 論理ゲート 109−i(i=1〜n−1) 論理ゲート
CPU1, CPU2 Processor 3 Arbitration circuit 4 Shared memory 5 CPU1 address bus 6 CPU1 data bus 7 CPU2 address bus 8 CPU2 data bus 9 Interrupt signal (line) 10 1-way bus driver 11 Bidirectional bus driver 12 1-way bus Driver 13 Bidirectional bus driver 14 Shared address bus 15 Shared data bus 16 CPU driver side enable / disable signal line 17 CPU2 side bus driver enable / disable signal line 105, 107 Decoder 101 Decoder 105 output Signal line 103,109 Logic gate CPU1 to CPUn processor 3n Arbitration circuit 5-i (i = 1 to n) CPUi address bus 6-i (i = 1 to n) CPUi data bus 9-i (i = 1 to 1) n-1) Suspension signal (line) 10-i (i = 1 to n) One-way bus driver for CPUi 11-i (i = 1 to n) Bidirectional bus driver for CPUi 16-i (i = 1 to n) i-th bus Driver enable / disable signal line 105-i (i = 1 to n) Decoder for CPUi 101-i (i = 1 to n) Output signal line from decoder 105-i 103-i (i = 1 to n-) 1), 104-i (i = 1 to 1
n-2) Logic gate 109-i (i = 1 to n-1) Logic gate

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 複数の互いに独立したプロセッサと、 前記複数のプロセッサが共有する共有資源と、 前記複数のプロセッサの内1つを前記共有資源に対して
アクセス可能となるよう割当制御する調停手段とを有
し、 前記調停手段は、前記少なくとも1つのプロセッサに対
して、該プロセッサの前記共有資源に対するアクセスを
中断するよう指示する中断信号を出力することを特徴と
するマルチプロセッサシステム。
1. A plurality of independent processors, a shared resource shared by the plurality of processors, and an arbitration unit that controls allocation of one of the plurality of processors so that the shared resource can be accessed. The multi-processor system, wherein the arbitration means outputs, to the at least one processor, an interruption signal instructing to interrupt access to the shared resource by the processor.
【請求項2】 前記調停手段は、前記割当制御を前記プ
ロセッサの持つ優先順位に従って行うことを特徴とする
請求項1に記載のマルチプロセッサシステム。
2. The multiprocessor system according to claim 1, wherein the arbitration unit performs the allocation control according to a priority order of the processors.
【請求項3】 前記プロセッサは、前記中断信号によっ
て中断された前記共有資源に対するアクセスを、中断さ
れた状態から再実行可能であることを特徴とする請求項
1または2に記載のマルチプロセッサシステム。
3. The multiprocessor system according to claim 1, wherein the processor can re-execute access to the shared resource interrupted by the interrupt signal from an interrupted state.
【請求項4】 前記プロセッサは、中央処理装置(CP
U)、またはバスマスタであることを特徴とする請求項
1、2、または3に記載のマルチプロセッサシステム。
4. The processor is a central processing unit (CP).
U), or a bus master, The multiprocessor system according to claim 1, 2 or 3.
JP18512993A 1993-07-27 1993-07-27 Multi-processor system Pending JPH0744487A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP18512993A JPH0744487A (en) 1993-07-27 1993-07-27 Multi-processor system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP18512993A JPH0744487A (en) 1993-07-27 1993-07-27 Multi-processor system

Publications (1)

Publication Number Publication Date
JPH0744487A true JPH0744487A (en) 1995-02-14

Family

ID=16165386

Family Applications (1)

Application Number Title Priority Date Filing Date
JP18512993A Pending JPH0744487A (en) 1993-07-27 1993-07-27 Multi-processor system

Country Status (1)

Country Link
JP (1) JPH0744487A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6954206B2 (en) 1996-09-30 2005-10-11 Hitachi, Ltd. Data processor having unified memory architecture using register to optimize memory access

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6954206B2 (en) 1996-09-30 2005-10-11 Hitachi, Ltd. Data processor having unified memory architecture using register to optimize memory access
US7333116B2 (en) 1996-09-30 2008-02-19 Renesas Technology Corporation Data processor having unified memory architecture using register to optimize memory access

Similar Documents

Publication Publication Date Title
US4270167A (en) Apparatus and method for cooperative and concurrent coprocessing of digital information
US10706496B2 (en) Function callback mechanism between a Central Processing Unit (CPU) and an auxiliary processor
EP3979072B1 (en) Firmware boot task distribution to enable low latency boot performance
CN114168271B (en) Task scheduling method, electronic device and storage medium
JPH0635849A (en) Method of controlling usage of bus and computer-system
JP4168281B2 (en) Parallel processing system, interconnection network, node and network control program
JPH0689269A (en) Processor control device, processor pausing device and method thereof
JP2001195242A (en) Data processing system
JPH0744487A (en) Multi-processor system
JP3006676B2 (en) Multiprocessor
US11461134B2 (en) Apparatus and method for deferral scheduling of tasks for operating system on multi-core processor
JPH07244595A (en) Process switch controller and process controlling method
JP3169878B2 (en) Memory control circuit
JPH08115272A (en) Method and apparatus for remote retrial in data-processing system
JPS63298555A (en) Shared memory control system
JPS62219058A (en) Exclusive control system for shared memory
JPS6336543B2 (en)
JPH06259383A (en) Method and device for interruption control
JPH04306757A (en) Micro processor
JPH10187596A (en) System bus optimization system
JP2003029966A (en) Data processor
JPH03127162A (en) Access method for shared memory of cpu
JPH05282256A (en) Intra-processor message communicating method
JP2001125880A (en) Real time multi-processor system
JPS5840216B2 (en) Test and set method