JPH06301643A - Bus arbitration circuit - Google Patents

Bus arbitration circuit

Info

Publication number
JPH06301643A
JPH06301643A JP5112119A JP11211993A JPH06301643A JP H06301643 A JPH06301643 A JP H06301643A JP 5112119 A JP5112119 A JP 5112119A JP 11211993 A JP11211993 A JP 11211993A JP H06301643 A JPH06301643 A JP H06301643A
Authority
JP
Japan
Prior art keywords
bus
interrupt
bus access
access
signal
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.)
Withdrawn
Application number
JP5112119A
Other languages
Japanese (ja)
Inventor
Hiroyuki Saito
宏行 齋藤
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 JP5112119A priority Critical patent/JPH06301643A/en
Publication of JPH06301643A publication Critical patent/JPH06301643A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Information Transfer Systems (AREA)
  • Multi Processors (AREA)
  • Bus Control (AREA)

Abstract

(57)【要約】 (修正有) 【目的】 並列処理形マルチプロセッサシステムにおけ
る割込み完全分散形のバス調停回路に関するものであ
り、並列処理形構成のシステムにおいて、割込み処理を
均等的に分散できるようにして負荷に偏りが生じないよ
うにすることを目的とする。 【構成】 バス・アクセスの競合を調停するために各プ
ロセッサのバス調停回路であって、CPU31からの制
御信号等を解読してバス獲得を依頼するバス・リクエス
ト信号と、通常バス・アクセスか割込みバス・アクセス
かを判別するバス・アクセス判別信号とを生成する解読
部32と、バス・リクエスト信号を受信するとバス36
に対してバス獲得のためのバス調停を実行するバス調停
部33と、バス・アクセス判別信号に基づいて、割込み
バス・アクセス用プライオリティ・ビットをセット/リ
セットする割込みバス・アクセス管理部34と、通常バ
スアクセス用プライオリティ・ビットをセット/リセッ
トする通常バス・アクセス管理部35とを備える。
(57) [Summary] (Modified) [Purpose] The present invention relates to a bus arbitration circuit of a complete interrupt type in a parallel processing type multiprocessor system, so that interrupt processing can be evenly distributed in a parallel processing type system. The purpose is to prevent uneven load. [Configuration] A bus arbitration circuit of each processor for arbitrating bus access contention, which decodes a control signal or the like from the CPU 31 and requests bus acquisition, and a normal bus access or interrupt A decoding unit 32 for generating a bus access discrimination signal for discriminating a bus access and a bus 36 for receiving a bus request signal.
A bus arbitration unit 33 that executes bus arbitration for bus acquisition, an interrupt bus access management unit 34 that sets / resets an interrupt bus access priority bit based on a bus access determination signal, A normal bus access management unit 35 for setting / resetting a priority bit for normal bus access is provided.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は並列処理形マルチプロセ
ッサ構成のシステムにおいてスレーブのI/Oボード等
から上がって来る割込み要求を各プロセッサに均等的に
分散させて処理する割込み完全分散形のバス調停回路に
関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a system of parallel processing type multiprocessor, and a bus of a complete interrupt type in which an interrupt request coming from a slave I / O board or the like is evenly distributed to each processor and processed. It relates to an arbitration circuit.

【0002】並列処理形マルチプロセッサ構成をとる装
置として例えば無線通信用の各種制御装置があるが、こ
れらの制御装置では、スレーブのI/Oボード等から上
がって来る割込み要求を各プロセッサに均等的に分散さ
せて処理することにより、各プロセッサに加わる負荷を
均等的に分散できることが望ましい。
As a device having a parallel processing type multiprocessor configuration, there are various control devices for wireless communication, for example. In these control devices, interrupt requests coming from slave I / O boards and the like are evenly distributed to each processor. It is desirable to be able to evenly distribute the load applied to each processor by distributing and processing the above.

【0003】プロセッサが割込み要求に応答してその割
込み処理を起動するためには、共通バス上のスレーブの
I/Oボード等から割込みベクターを獲得する必要があ
る。したがって、上述のように各プロセッサの負荷の均
等分散を実現するためには、マルチプロセッサ構成シス
テムの各プロセッサが共通バス上のI/Oボード等から
割込みベクターを均等に獲得できることが必要とされ
る。
In order for the processor to start the interrupt processing in response to the interrupt request, it is necessary to acquire the interrupt vector from the slave I / O board or the like on the common bus. Therefore, in order to evenly distribute the loads of the processors as described above, it is necessary that the processors of the multiprocessor configuration system can evenly obtain the interrupt vector from the I / O board or the like on the common bus. .

【0004】[0004]

【従来の技術】図6には並列処理形マルチプロセッサ・
システムの構成例が示される。図示するように、共通バ
ス20に複数のプロセッサとスレーブのメモリやI/O
ボード等が接続された構成となっている。
2. Description of the Related Art FIG. 6 shows a parallel processing type multiprocessor.
A system configuration example is shown. As shown in the figure, the common bus 20 has a plurality of processors and slave memories and I / Os.
The board is connected.

【0005】このシステムでは、例えばI/Oボードか
ら割込み要求が発生すると、この割込み要求は共通バス
20を介して各プロセッサに伝えられる。この割込み要
求を処理するプロセッサは一つであるが、そのプロセッ
サが割込み要求に応答して割込み処理を起動するために
は、共通バス20を介して当該I/Oボードから割込み
ベクターを獲得しなければならないので、共通バスの使
用権を獲得する必要がある。しかし複数のプロセッサが
同時に共通バス20を使用することはできないので、他
のプロセッサと競合しないように共通バス使用のための
調停を行う必要があり、各プロセッサはバス調停回路を
備えている。
In this system, for example, when an interrupt request is issued from the I / O board, this interrupt request is transmitted to each processor via the common bus 20. Although there is only one processor that processes this interrupt request, in order for that processor to start interrupt processing in response to the interrupt request, an interrupt vector must be acquired from the I / O board via the common bus 20. It is necessary to acquire the right to use the common bus because it has to be. However, since a plurality of processors cannot use the common bus 20 at the same time, it is necessary to perform arbitration for using the common bus so as not to compete with other processors, and each processor has a bus arbitration circuit.

【0006】図7にはこのバス調停回路の動作フローが
示される。各プロセッサは、割込み要求等に基づいて共
通バス使用要求が発生すると、共通バスが使用終了で開
放されるのを待って、自パネルID(識別番号)とAC
(acquisition)信号を共通バスに送出し、他のプロセッ
サと競合しないようにバス使用の調停を行う。
FIG. 7 shows an operation flow of this bus arbitration circuit. When a common bus use request is generated based on an interrupt request or the like, each processor waits for the common bus to be released at the end of use, and then its own panel ID (identification number) and AC.
Sends the (acquisition) signal to the common bus and arbitrates bus usage so that it does not conflict with other processors.

【0007】ここで、各プロセッサから共通バスへの自
パネルIDの送出は負論理のワイヤードOR回路を介し
てなされる。よって、共通バスに載せられるIDは、複
数のプロセッサが同時に共通バスに自パネルIDを送出
している場合でも、それらのプロセッサのうち最も値が
大きいIDを送出しているプロセッサのIDとなる。す
なわち、各プロセッサのIDは値の大きいものが優先さ
れて共通バスに載せられる。
Here, the transmission of the own panel ID from each processor to the common bus is performed through a negative logic wired OR circuit. Therefore, even if a plurality of processors simultaneously send their own panel IDs to the common bus, the ID placed on the common bus is the ID of the processor that sends the largest ID among these processors. That is, the ID of each processor having the larger value is prioritized and placed on the common bus.

【0008】したがって、共通バス上のIDが自パネル
IDと一致した場合には、そのプロセッサはID値が最
も大きくバス獲得の権利が最優先にあるものであるか
ら、共通バスが獲得できたものとして共通バスの使用を
開始する。
Therefore, when the ID on the common bus matches the own panel ID, the processor has the largest ID value and the right to acquire the bus has the highest priority, so that the common bus can be acquired. Start using the common bus as.

【0009】一方、不一致の場合には、共通バス上のI
Dが自パネルIDよりも大きければ他のプロセッサにバ
ス獲得の権利があるものであるから、現時点でのバス獲
得は断念して、次の調停時にバス獲得を可能にするため
にプライオリティ・ビットをセットしてウェイトし、共
通バスの使用終了を持って再びバス調停を行う。
On the other hand, if they do not match, I on the common bus
If D is larger than the own panel ID, the other processor has the right to acquire the bus, so abandon the acquisition of the bus at the present time and set the priority bit to enable the acquisition of the bus at the next arbitration. It sets and waits, and performs bus arbitration again when it finishes using the common bus.

【0010】ここで、このプライオリティ・ビットは自
パネルIDの最上位ビットの一桁上にセットされるよう
になっており、したがってプライオリティ・ビットがセ
ットされたIDは、それがセットされていないIDより
も値が大きくなってバス獲得の優先権が高くなるもので
ある。
Here, this priority bit is set to one digit higher than the most significant bit of its own panel ID. Therefore, an ID for which the priority bit is set is an ID for which it is not set. The higher the value, the higher the priority for bus acquisition.

【0011】また、不一致の場合において共通バス上の
IDよりも自パネルIDの方が大きければ、現時点にお
いて共通バスを他のプロセッサが使用中であると考えら
れるから、そのままウェイトし、共通バスの使用終了を
待って再びバス調停を行う。
If the own panel ID is larger than the ID on the common bus in the case of a mismatch, it is considered that another processor is currently using the common bus. Wait for the end of use and perform bus arbitration again.

【0012】[0012]

【発明が解決しようとする課題】以上ではI/O等から
の割込み要求に対して割込みベクターを獲得するために
共通バスにアクセスする場合について述べたが、共通バ
スへのアクセスはこの割込みに起因するものの他に、通
常時におけるメモリ間とのアクセスなどのための通常の
共通バス・アクセスの場合もある。上述した従来技術で
は、この通常の共通バス・アクセスの場合も割込みに起
因する共通バス・アクセスの場合も区別なく同じプライ
オリティ・ビットを使用して、共通バスの使用が各プロ
セッサに均等的に割り振られるようにしている。
The case of accessing the common bus in order to acquire an interrupt vector in response to an interrupt request from I / O or the like has been described above, but the access to the common bus is caused by this interrupt. In addition to the above, there is also a case of a normal common bus access for accessing between the memories at a normal time. In the above-described conventional technique, the same priority bit is used regardless of whether the common bus access is caused by the normal bus access or the common bus access caused by the interrupt, and the use of the common bus is evenly distributed to the processors. I am trying to do it.

【0013】したがって、あるプロセッサが割込みベク
ターを獲得するために共通バス調停を行い、バスが獲得
できずにプライオリティ・ビットをセットしたが、この
割込みの共通バス・アクセスに続いて通常の共通バス・
アクセスが発生したような場合に、そのプロセッサがそ
の通常の共通バス・アクセスで共通バスを獲得してしま
うと、割込みの共通バス・アクセス用にセットしたプラ
イオリティ・ビットがリセットされてしまう。このため
次回以降において割込みベクター獲得のために共通バス
・アクセスが生じても、プライオリティ・ビットがセッ
トされていないため、共通バスを獲得できる可能性が小
さくなってしまう。
Therefore, a processor performs common bus arbitration to acquire the interrupt vector, and the priority bit is set because the bus cannot be acquired. However, the common bus access for this interrupt is followed by the normal common bus access.
If an access occurs and the processor acquires the common bus in the normal common bus access, the priority bit set for the common bus access of the interrupt is reset. Therefore, even if the common bus is accessed to acquire the interrupt vector from the next time onward, the possibility that the common bus can be acquired becomes small because the priority bit is not set.

【0014】この結果、ソフトウェアの走行状態等によ
っては、割込みベクターの獲得の可能性に偏りが生じ
て、各プロセッサへの割込み処理の均等的な分散が保証
されなくなり、プロセッサに加わる負荷が個々のプロセ
ッサによって偏ってしまう。
As a result, the possibility of acquisition of the interrupt vector is biased depending on the running state of the software, the even distribution of the interrupt processing to each processor cannot be guaranteed, and the load applied to each processor is different. It is biased depending on the processor.

【0015】本発明は上述の問題点に鑑みてなされたも
のであり、その目的とするところは、並列処理形マルチ
プロセッサ構成のシステムにおいて、割込み処理を各プ
ロセッサに均等的に分散できるようにして個々のプロセ
ッサによって加わる負荷に偏りが生じないようにするこ
とにある。
The present invention has been made in view of the above problems, and an object of the present invention is to enable interrupt processing to be evenly distributed to each processor in a parallel processing type multiprocessor system. The goal is to ensure that the loads applied by the individual processors are not biased.

【0016】[0016]

【課題を解決するための手段】図1は本発明に係る原理
説明図である。上述の課題を解決するために、本発明に
おいては、並列処理形マルチプロセッサ・システムにお
いてバス・アクセスの競合を調停するために各プロセッ
サに備えられたバス調停回路であって、CPU31から
の制御信号等を解読してその解読結果に基づいてバス獲
得を依頼するバス・リクエスト信号とバス・アクセスが
通常バス・アクセスか割込みバス・アクセスかを判別す
るバス・アクセス判別信号とを生成する解読部32と、
バス・リクエスト信号を受信するとバス36に対してバ
ス獲得のためのバス調停をプライオリティ・ビットを適
宜行使しつつ実行するバス調停部33と、バス・アクセ
ス判別信号に基づいて割込みバス・アクセスに関して割
込みバス・アクセス用プライオリティ・ビットをセット
/リセットする割込みバス・アクセス管理部34と、バ
ス・アクセス判別信号に基づいて通常バス・アクセスに
関して通常バスアクセス用プライオリティ・ビットをセ
ット/リセットする通常バス・アクセス管理部35とを
備えたバス調停回路が提供される。
FIG. 1 is a diagram illustrating the principle of the present invention. In order to solve the above-mentioned problems, the present invention relates to a bus arbitration circuit provided in each processor for arbitrating bus access contention in a parallel processing type multiprocessor system, which is a control signal from a CPU 31. And the like, and generates a bus request signal for requesting bus acquisition based on the decoding result and a bus access determination signal for determining whether the bus access is a normal bus access or an interrupt bus access. When,
When a bus request signal is received, a bus arbitration unit 33 that executes bus arbitration for bus acquisition on the bus 36 while appropriately exercising priority bits, and an interrupt for bus access based on the bus access determination signal An interrupt bus access management unit 34 for setting / resetting a priority bit for bus access, and a normal bus access for setting / resetting a priority bit for normal bus access with respect to a normal bus access based on a bus access determination signal A bus arbitration circuit including a management unit 35 is provided.

【0017】上述のバス調停回路において、割込みバス
・アクセス管理部34は、割込みバス・アクセスによる
バス獲得が失敗したときに割込みバス・アクセス用プラ
イオリティ・ビットをセットし、成功したときにリセッ
トするよう構成し、通常バス・アクセス管理部35は、
通常バス・アクセスによるバス獲得が失敗したときに通
常バス・アクセス用プライオリティ・ビットをセット
し、成功したときにリセットするよう構成することがで
きる。
In the above bus arbitration circuit, the interrupt bus access management unit 34 sets the priority bit for interrupt bus access when the bus acquisition by the interrupt bus access fails and resets it when it succeeds. And the normal bus access management unit 35,
The priority bit for normal bus access can be set when the bus acquisition by the normal bus access fails and reset when succeeding.

【0018】また上述のバス調停回路において、割込み
バス・アクセス管理部34は、割込みバス・アクセスに
対してバス36からACK信号を受信したことを条件に
して割込みバス・アクセス用プライオリティ・ビットを
リセットするように構成することができる。
In the bus arbitration circuit described above, the interrupt bus access management unit 34 resets the interrupt bus access priority bit on condition that the ACK signal is received from the bus 36 for the interrupt bus access. Can be configured to.

【0019】また上述のバス調停回路において、CPU
31からの制御信号等に基づいて割込みバス・アクセス
の割込み応答レベルを解読する割込みレベルデコーダ
と、割込みレベルデコーダからの割込み応答レベルとバ
ス上の割込み信号の割込み応答レベルとを比較する比較
部とを備え、割込みバス・アクセス管理部34は比較部
の比較結果が一致したことを条件にして割込みバス・ア
クセス用プライオリティ・ビットをリセットするように
構成することができる。
In the bus arbitration circuit described above, the CPU
An interrupt level decoder which decodes the interrupt response level of the interrupt bus access based on the control signal from 31 and a comparator which compares the interrupt response level from the interrupt level decoder with the interrupt response level of the interrupt signal on the bus The interrupt bus access management unit 34 can be configured to reset the interrupt bus access priority bit on condition that the comparison results of the comparison unit match.

【0020】また本発明においては、並列処理形マルチ
プロセッサ・システムにおいてバス・アクセスの競合を
調停するバス調停方法であって、バス獲得のための機会
を均等化するためのプライオリティ・ビットの管理を、
スレーブボートからの割込み要求に対する割込みバス・
アクセスに際して行使する割込みプライオリティ・ビッ
トと、通常のバス・アクセスに際して行使する通常プラ
イオリティ・ビットとに分けて別々に行うことを特徴と
するバス調停方法が提供される。
Further, according to the present invention, there is provided a bus arbitration method for arbitrating bus access contention in a parallel processing type multiprocessor system, wherein priority bit management for equalizing opportunities for bus acquisition is performed. ,
Interrupt bus for interrupt request from slave board
There is provided a bus arbitration method characterized in that an interrupt priority bit used for access and a normal priority bit used for normal bus access are separately performed.

【0021】[0021]

【作用】解読部32はCPU31からの制御信号等を解
読してその解読結果に基づいてバス獲得を依頼するバス
・リクエスト信号とバス・アクセスが通常バス・アクセ
スか割込みバス・アクセスかを判別するバス・アクセス
判別信号とを生成する。バス調停部33は、解読部32
からバス・リクエスト信号を受信すると、バス36に対
してバス獲得のためのバス調停をプライオリティ・ビッ
トを適宜行使しつつ実行する。
The decoding section 32 decodes the control signal and the like from the CPU 31 and determines whether the bus request signal for requesting bus acquisition and the bus access are normal bus access or interrupt bus access based on the decoding result. And a bus access determination signal. The bus arbitration unit 33 includes the decoding unit 32.
When the bus request signal is received from the bus 36, bus arbitration for bus acquisition is executed for the bus 36 while appropriately exercising priority bits.

【0022】その際、割込みバス・アクセス管理部34
はバス・アクセス判別信号が割込みバス・アクセスを示
すものであれば、割込みバス・アクセス用プライオリテ
ィ・ビットを、例えば割込みバス・アクセスによるバス
獲得が失敗したときにセットし、成功したときにリセッ
トする。
At this time, the interrupt bus access management unit 34
If the bus access determination signal indicates an interrupt bus access, the priority bit for interrupt bus access is set, for example, when bus acquisition by interrupt bus access fails, and reset when successful. .

【0023】同様に、通常バス・アクセス管理部35は
バス・アクセス判別信号が通常バス・アクセスを示すも
のであれば、通常バスアクセス用プライオリティ・ビッ
トを、例えば通常バス・アクセスによるバス獲得が失敗
したときにセットし、成功したときにリセットする。
Similarly, if the bus access determination signal indicates a normal bus access, the normal bus access management unit 35 fails to acquire the priority bit for normal bus access, for example, bus acquisition by normal bus access. Set when done and reset when successful.

【0024】このようにすることで、バス獲得のための
機会を均等化するためのプライオリティ・ビットの管理
を、スレーブボートからの割込み要求に対する割込みバ
ス・アクセスに際して行使する割込みプライオリティ・
ビットと、通常のバス・アクセスに際して行使する通常
プライオリティ・ビットとに分けて別々に行うことがで
き、これによりスレーブボードからの割込み要求に対し
ての各プロセッサのバス獲得の機会を通常バス・アクセ
スの有無にかかわりなく均等的に分散させることがで
き、各プロセッサに加わる負荷が均等的に分散される。
By doing so, the management of priority bits for equalizing the opportunities for bus acquisition is exercised at the time of interrupt bus access for interrupt requests from slave ports.
Bits and normal priority bits used for normal bus access can be divided and performed separately. This allows the bus acquisition opportunity of each processor to the interrupt request from the slave board to the normal bus access. The load on each processor can be evenly distributed regardless of the presence or absence of the load.

【0025】また、割込みバス・アクセス管理部34
が、割込みバス・アクセスに対してバス36からACK
信号を受信したことを条件にして割込みバス・アクセス
用プライオリティ・ビットをリセットするように構成す
れば、ソフトウェア走行状態の相違等によって割込み要
求に対してのバス調停部の起動が他のプロセッサよりも
遅れた場合でも、当該プロセッサが割込み処理を実行し
ないと割込みバス・アクセス用プライオリティ・ビット
がリセットされないので、割込み分散が一層厳密に実現
される。
Further, the interrupt bus access management unit 34
ACKs from bus 36 for interrupt bus access
If the priority bit for interrupt bus access is reset on the condition that a signal is received, the bus arbitration unit is activated more than other processors in response to an interrupt request due to a difference in software running state. Even if there is a delay, the interrupt bus access priority bit is not reset unless the processor executes interrupt processing, so interrupt distribution is more strictly realized.

【0026】また割込みバス・アクセス管理部34が、
比較部の比較結果が一致したことを条件にして割込みバ
ス・アクセス用プライオリティ・ビットをリセットする
ように構成することによっても、ソフトウェア走行状態
の相違等によって割込み要求に対してのバス調停部の起
動が他のプロセッサよりも遅れた場合でも、他のプロセ
ッサに割込み処理が渡されてバス上の割込み信号がOF
Fとなっているときには、割込みバス・アクセス用プラ
イオリティ・ビットがリセットされないので、割込み分
散が一層厳密に実現される。
Further, the interrupt bus access management unit 34 is
By configuring the interrupt bus access priority bit to be reset on the condition that the comparison result of the comparison unit matches, the bus arbitration unit is activated in response to an interrupt request due to a difference in software running state. Is delayed compared to other processors, the interrupt processing is passed to the other processors and the interrupt signal on the bus becomes OF.
When F is set, the interrupt bus access priority bit is not reset, so that interrupt distribution is more strictly realized.

【0027】[0027]

【実施例】以下、図面を参照して本発明の実施例を説明
する。図2には、本発明の一実施例としての割込み完全
分散形のバス調停回路が示される。図2において、1は
CPU(中央処理装置)である。このCPU1は共通バ
ス20上の信号を監視しており、I/Oボード等から割
込み要求に対して割込みベクター獲得のための処理の指
示等を行う。
Embodiments of the present invention will be described below with reference to the drawings. FIG. 2 shows a completely distributed interrupt arbitration circuit as an embodiment of the present invention. In FIG. 2, reference numeral 1 is a CPU (central processing unit). The CPU 1 monitors signals on the common bus 20 and issues an instruction for processing for acquiring an interrupt vector in response to an interrupt request from an I / O board or the like.

【0028】2はデコーダであり、このデコーダ2はC
PU1からのアドレスや制御信号に基づいて後述の共通
バス調停部に対して共通バス獲得を依頼するBR(Bus
Request )信号を発生したり,その共通バス・アクセス
が通常のバス・アクセスか割みに基づく割込みバス・ア
クセスかを判別する信号を発生する。
2 is a decoder, and this decoder 2 is C
A BR (Bus) requesting a common bus arbitration unit, which will be described later, to acquire a common bus based on an address and a control signal from PU1.
Request) signal or a signal that determines whether the common bus access is a normal bus access or an interrupt bus access based on a split.

【0029】3は共通バス調停部であり、この共通バス
調停部3はデコーダ2からBR信号を受けると共通バス
20に対して自パネルIDとAC信号を送出して共通バ
ス獲得の調停を実行する回路である。その際、プライオ
リティ信号(NP信号またはIP信号)が入力されてい
る場合には、自パネルIDにプライオリティビットをセ
ットするよう動作する。また共通バス上のIDを常に監
視していて、共通バス上のIDが自パネルIDと一致す
ればWIN信号を、またそれが自パネル番号よりも大き
ければ>ID信号をそれぞれ出力する。またバス獲得に
成功したときにはBG(bus Grant )信号を、失敗した
ときにはLOSE信号をそれぞれ出力する。
Reference numeral 3 is a common bus arbitration unit. When the common bus arbitration unit 3 receives a BR signal from the decoder 2, it sends its own panel ID and AC signal to the common bus 20 to execute arbitration for acquiring the common bus. It is a circuit to do. At that time, when the priority signal (NP signal or IP signal) is input, the operation is performed to set the priority bit in the own panel ID. Also, the ID on the common bus is constantly monitored, and if the ID on the common bus matches the own panel ID, the WIN signal is output, and if it is larger than the own panel number, the> ID signal is output. When the bus acquisition is successful, a BG (bus Grant) signal is output, and when it fails, a LOSE signal is output.

【0030】4は通常バス・アクセス用のプライオリテ
ィ・ビットNPを管理するためのフリップフロップ、5
は割込みアクセス用のプライオリティ・ビットIPを管
理するためのフリップフロップである。また6〜14は
ANDゲート、15と16はORゲートである。
Reference numeral 4 is a flip-flop for managing the priority bit NP for normal bus access, and 5
Is a flip-flop for managing the priority bit IP for interrupt access. Further, 6 to 14 are AND gates, and 15 and 16 are OR gates.

【0031】ここで、通常バス・アクセス信号および>
ID信号が入力されるANDゲート6の出力信号はフリ
ップフロップ4のセット端子Sへ、また通常バス・アク
セス信号およびWIN信号が入力されるANDゲート7
の出力信号はフリップフロップ4のリセット端子Rへそ
れぞれ入力され、通常バス・アクセス信号およびフリッ
プフロップ4の出力信号Qが入力されるANDゲート8
の出力信号は通常バス・アクセス用プライオリティ・ビ
ットNPとしてORゲート15を介して共通バス調停部
3に入力される。
Here, the normal bus access signal and>
The output signal of the AND gate 6 to which the ID signal is input is input to the set terminal S of the flip-flop 4, and the AND gate 7 to which the normal bus access signal and the WIN signal are input.
Output signal of each of the AND gates 8 is input to the reset terminal R of the flip-flop 4, and the normal bus access signal and the output signal Q of the flip-flop 4 are input.
Is output to the common bus arbitration unit 3 via the OR gate 15 as a normal bus access priority bit NP.

【0032】また、割込みバス・アクセス信号および>
ID信号が入力されるANDゲート9の出力信号はフリ
ップフロップ5のセット端子Sへ、また割込みバス・ア
クセス信号およびWIN信号が入力されるANDゲート
10の出力信号はフリップフロップ5のリセット端子R
へそれぞれ入力され、割込みバス・アクセス信号および
フリップフロップ5の出力信号Qが入力されるANDゲ
ート11の出力信号は割込みバス・アクセス用プライオ
リティ・ビットIPとしてORゲート15を介して共通
バス調停部3に入力される。
Also, interrupt bus access signals and>
The output signal of the AND gate 9 to which the ID signal is input is set to the set terminal S of the flip-flop 5, and the output signal of the AND gate 10 to which the interrupt bus access signal and the WIN signal are input are the reset terminal R of the flip-flop 5.
The output signal of the AND gate 11 to which the interrupt bus access signal and the output signal Q of the flip-flop 5 are respectively input to the common bus arbitration unit 3 as the interrupt bus access priority bit IP via the OR gate 15. Entered in.

【0033】また共通バス20からのBERR(バス・
エラー)信号および共通バス調停部3からのBG信号が
入力されるANDゲート13の出力信号はORゲート1
6を介してCPU1のBERR端子に入力され、共通バ
ス20からのACK信号および共通バス調停部3からの
BG信号が入力されるANDゲート12の出力信号はC
PU1のACK端子に入力される。さらに割込みバス・
アクセス信号および共通バス調停部3からのLOSE信
号が入力されるANDゲート14の出力信号はORゲー
ト16を介してCPU1のBERR端子に入力される。
Further, the BERR (bus
The error signal and the output signal of the AND gate 13 to which the BG signal from the common bus arbitration unit 3 is input are the OR gate 1
The output signal of the AND gate 12 to which the ACK signal from the common bus 20 and the BG signal from the common bus arbitration unit 3 are input to the BERR terminal of the CPU 1 via C 6 is C
It is input to the ACK terminal of PU1. Further interrupt bus
The output signal of the AND gate 14 to which the access signal and the LOSE signal from the common bus arbitration unit 3 are input is input to the BERR terminal of the CPU 1 via the OR gate 16.

【0034】この実施例回路の動作を以下に説明する。
デコーダ2はCPU1から出力されるアドレスやファン
クションコード等の制御信号をデコードし、それが共通
バス・アクセス要求であると解読した場合には、共通バ
ス調停部3に対してBR信号を送出して当該共通バス調
停部3による共通バス調停を起動する。同時に、デコー
ダ2はその共通バス・アクセス要求が通常バス・アクセ
スなのか割込みバス・アクセスなのかを判定し、判定結
果に応じて該当する側の信号線をアクティブにする。
The operation of the circuit of this embodiment will be described below.
The decoder 2 decodes a control signal such as an address or a function code output from the CPU 1, and when it decodes the control signal as a common bus access request, sends a BR signal to the common bus arbitration unit 3. The common bus arbitration by the common bus arbitration unit 3 is activated. At the same time, the decoder 2 determines whether the common bus access request is a normal bus access or an interrupt bus access, and activates the corresponding signal line according to the determination result.

【0035】これにより、バス調停を行う場合に、プラ
イオリティ・ビットを使用するときには、そのアクセス
の種類に応じてNPまたはIPの何れかが選択されて使
用されることになる。この動作を例えばそのアクセスが
割込みバス・アクセスであるものとして以下に説明す
る。
As a result, when the priority bit is used for bus arbitration, either NP or IP is selected and used according to the type of access. This operation is described below, for example, assuming that the access is an interrupt bus access.

【0036】いま割込みバス・アクセスがあり、共通バ
ス調停部3がバス調停を起動したが、共通バス上のID
が自パネルIDと不一致であるので、現時点でのバス獲
得を断念したものとする。この場合、共通バス調停部3
からは>ID信号が出力される。この結果、ANDゲー
ト9からセット信号が出力されてフリップフロップ5に
割込みバス・アクセス用のプライオリティ・ビットとし
て“1”がセットされる。この結果、ANDゲート11
に割込みバス・アクセス信号が入力されると、同AND
ゲート11が開かれて、フリップフロップ5の割込みバ
ス・アクセス用プライオリティ・ビットIPがORゲー
ト15を介して共通バス調停部3に入力することが可能
になる。
Now that there is an interrupt bus access and the common bus arbitration unit 3 has started the bus arbitration, the ID on the common bus
Since it does not match the own panel ID, it is assumed that the current bus acquisition is abandoned. In this case, the common bus arbitration unit 3
Outputs a> ID signal. As a result, a set signal is output from the AND gate 9 and "1" is set to the flip-flop 5 as a priority bit for interrupt bus access. As a result, the AND gate 11
When an interrupt bus access signal is input to
The gate 11 is opened, and the interrupt bus access priority bit IP of the flip-flop 5 can be input to the common bus arbitration unit 3 via the OR gate 15.

【0037】次回の共通バス・アクセスも割込みバス・
アクセスであった場合、割込みバス・アクセス信号によ
りANDゲート11が開かれた状態になり、フリップフ
ロップ5からプライオリティ・ビットIPが共通バス調
停部3に入力され、よって共通バス調停部3は自パネル
IDにプライオリティ・ビットをセットしてバス調停を
起動する。このようにプライオリティが高い自パネルI
Dを使用するので、共通バスを獲得できる可能性が高く
なる。
The next common bus access will be the interrupt bus
If it is an access, the AND bus 11 is opened by the interrupt bus access signal, and the priority bit IP is input from the flip-flop 5 to the common bus arbitration unit 3, so that the common bus arbitration unit 3 performs its own panel operation. Set the priority bit in the ID to activate bus arbitration. This is my own panel I with high priority
Since D is used, there is a high possibility that a common bus can be acquired.

【0038】共通バスの獲得に成功した場合、共通バス
調停部3からはWIN信号とBG信号が出力される。こ
のWIN信号によりANDゲート10が開かれて割込み
バス・アクセス信号がフリップフロップ5のリセット端
子Rに入力され、それに保持されていた割込みバス・ア
クセス用プライオリティ・ビットIPをリセットする。
したがってANDゲート11からの割込みバス・アクセ
ス用プライオリティ・ビットIPは送出停止され、共通
バス調停部3はプライオリティ・ビットのセットを解除
する。
When the acquisition of the common bus is successful, the common bus arbitration unit 3 outputs the WIN signal and the BG signal. The AND gate 10 is opened by this WIN signal, the interrupt bus access signal is input to the reset terminal R of the flip-flop 5, and the interrupt bus access priority bit IP held therein is reset.
Therefore, transmission of the priority bit IP for interrupt bus access from the AND gate 11 is stopped, and the common bus arbitration unit 3 cancels the setting of the priority bit.

【0039】一方、上述した次回の共通バス・アクセス
が通常バス・アクセスであった場合、上述同様な動作が
通常バス・アクセス用のフリップフロップ4側で行わ
れ、その時点でのフリップフロップ4の保持内容に応じ
て通常バス・アクセス用プライオリティ・ビットNPが
送出または送出停止される。この場合、割込みバス・ア
クセス信号は出力されていないので、ANDゲート9、
10は閉じられた状態にあり、よってフリップフロップ
5に割込みバス・アクセス用プライオリティ・ビットI
Pがセットされている場合でも、通常バス・アクセスに
対して生成されたWIN信号によってそれがリセットさ
れることはない。
On the other hand, when the next common bus access described above is a normal bus access, the same operation as described above is performed on the normal bus access flip-flop 4 side, and the flip-flop 4 at that time is operated. The normal bus access priority bit NP is transmitted or stopped in accordance with the held contents. In this case, since the interrupt bus access signal is not output, the AND gate 9,
10 is in the closed state, so that the flip-flop 5 has the priority bit I for interrupt bus access.
Even if P is set, it will not be reset by the WIN signal generated for a normal bus access.

【0040】よって、例えば次次回の共通バス・アクセ
スが割込みバス・アクセスであった場合には、割込みバ
ス・アクセス信号の入力によりプライオリティ・ビット
IPが共通バス調停部3に入力されるので、共通バス調
停部3はプライオリティ・ビットをセットしてバス調停
を起動することができる。
Therefore, for example, when the next common bus access is the interrupt bus access, the priority bit IP is input to the common bus arbitration unit 3 by the input of the interrupt bus access signal. The bus arbitration unit 3 can activate the bus arbitration by setting the priority bit.

【0041】このように、本実施例回路によれば、共通
バス調停部3は、割込みバス・アクセスに対するバス獲
得動作毎にプライオリティ・ビットのセット・リセット
を交互に繰り返すことができるので、割込み処理に関す
る各プロセッサの負荷を均等的に分散することができ
る。
As described above, according to the circuit of this embodiment, the common bus arbitration unit 3 can alternately repeat the setting and resetting of the priority bit for each bus acquisition operation for the interrupt bus access. Load of each processor can be evenly distributed.

【0042】なお、バス獲得に成功してスレーブのI/
O等のスレーブボート等とアクセスし、I/Oボード等
が正しい割込みベクターを渡した場合、当該I/Oボー
ト等からACK信号が共通バス20を介して返送される
が、このACK信号はANDゲート12を介してCPU
1に入力される。
It should be noted that when the bus is successfully acquired, the slave I /
When the slave board such as O is accessed and the I / O board or the like passes the correct interrupt vector, an ACK signal is returned from the I / O board or the like via the common bus 20, and this ACK signal is ANDed. CPU through gate 12
Input to 1.

【0043】また、バス獲得に失敗した場合、共通バス
調停部3でLOSE信号が生成され、このLOSE信号
がANDゲート14、ORゲート16を介してCPU1
に入力されることによってスプリアス割込みベクターが
生成されて割込みベクター獲得のアクセスを終了させ
る。
If the bus acquisition fails, the common bus arbitration unit 3 generates a LOSE signal, and the LOSE signal is transmitted via the AND gate 14 and the OR gate 16 to the CPU 1
A spurious interrupt vector is generated by inputting the input to, and the access for acquiring the interrupt vector is terminated.

【0044】図3は上述の実施例回路の動作フローを示
したものである。この図3に従って実施例回路の動作を
説明すると、共通バス使用要求が発生した場合、それが
通常のバス・アクセスであれば、従来と同じ動作フロー
(図7)を通ってバス調停を行う。その結果、共通バス
が獲得できなかった場合には、自パネルIDが共通バス
上のIDよりも小さいときには、通常バス・アクセス用
のプライオリティ・ビットNPをセットし、次回におい
て通常バス・アクセスで調停動作を行う必要がある場合
には、このプライオリティ・ビットNPを行使する。
FIG. 3 shows an operation flow of the circuit of the above embodiment. The operation of the embodiment circuit will be described with reference to FIG. 3. When a common bus use request occurs, if it is a normal bus access, bus arbitration is performed through the same operation flow (FIG. 7) as in the conventional case. As a result, when the common bus cannot be acquired, if the own panel ID is smaller than the ID on the common bus, the priority bit NP for normal bus access is set, and next time normal bus access is arbitrated. This priority bit NP is exercised when an action needs to be taken.

【0045】また、共通バス使用要求が割込みベクター
獲得アクセスであった場合には、従来と同じ動作フロー
(図7)を通って調停を行う。その結果、共通バスが獲
得できなかった場合、自パネルIDが共通バス上のID
よりも小さいときには、割込み用のプライオリティ・ビ
ットIPをセットし、この現時点の割込みベクター獲得
アクセスはスプリアス割込みベクターを与えることによ
り終了させ、次回の割込みが発生して割込みベクター獲
得アクセスが生じた場合には、この割込み処理用プライ
オリティ・ビットIPを行使する。
If the common bus use request is an interrupt vector acquisition access, arbitration is performed through the same operation flow (FIG. 7) as the conventional one. As a result, if the common bus cannot be acquired, the own panel ID is the ID on the common bus.
If it is smaller than the above, the priority bit IP for the interrupt is set, and this interrupt vector acquisition access at this time is terminated by giving the spurious interrupt vector, and when the next interrupt occurs and the interrupt vector acquisition access occurs. Uses this interrupt processing priority bit IP.

【0046】これにより、ソフトウェアの走行状態等と
は関係なく通常バス・アクセスと割込みベクター獲得ア
クセスのバス使用はそれぞれ別個に各プロセッサに均等
的に与えられるので、各プロセッサの負荷は均等的にな
る。
As a result, the bus usage for the normal bus access and the bus usage for the interrupt vector acquisition access are equally given to the respective processors independently of the running state of the software, so that the loads on the respective processors are equalized. .

【0047】図4には本発明の他の実施例としてのバス
調停回路が示される。図4において、この実施例回路の
大略構成は前述の図3の実施例回路とほぼ同じであり、
図2と同じ機能の回路には同じ参照番号が付されてい
る。相違点として、フリップフロップ5側のANDゲー
ト10の入力として共通バス調停部3からのWIN信号
の代わりに共通バス20からのACK信号がANDゲー
ト12を介して入力されるようになっている。
FIG. 4 shows a bus arbitration circuit as another embodiment of the present invention. 4, the schematic configuration of this embodiment circuit is almost the same as that of the above-described embodiment circuit of FIG.
Circuits having the same functions as in FIG. 2 are given the same reference numerals. The difference is that, instead of the WIN signal from the common bus arbitration unit 3, the ACK signal from the common bus 20 is input as an input to the AND gate 10 on the flip-flop 5 side via the AND gate 12.

【0048】このような構成としたのは以下に理由によ
る。個々のプロセッサはその走行状態等により割込み要
求に対して割込みバス・アクセスの起動を行うまでの時
間がそれぞれ相違する。このため、割込みバス・アクセ
スの起動がソフトウェアの走行状態により他のプロセッ
サにより遅れて起動された場合、割込み元のスレーブの
I/Oボードは既に他のプロセッサに割込みベクターを
通知し、割込みをOFFにしている可能性がある。この
ような場合、I/OボートからBERR信号等がプロセ
ッサに返されてスプリアス割込みが与えられて割込みバ
ス・アクセスは処理終了とされる。
The reason for having such a configuration is as follows. The individual processors have different times until the interrupt bus access is activated in response to the interrupt request, depending on the running state and the like. Therefore, if the activation of the interrupt bus access is delayed by another processor due to the running state of software, the slave I / O board of the interrupt source has already notified the other processor of the interrupt vector and turned off the interrupt. May have In such a case, a BERR signal or the like is returned from the I / O boat to the processor, a spurious interrupt is given, and the interrupt bus access ends.

【0049】しかし、それに到るまでに、当該プロセッ
サが他プロセッサよりも遅れて自パネルIDを送出する
と、競合する他パネルIDがないため、共通バス20上
のIDは自パネルIDと一致し、したがって共通バス調
停部3からはWIN信号が出力され、割込み処理を実行
していないにもかかわらず、割込みバス・アクセス用の
フリップフロップ5がリセットされる可能性がある。し
たがって、割込み分散の厳密性を一層期す場合には、上
述のような場合にはプライオリティ・ビットIPをOF
Fにすべきではないので、スレーブのI/Oボードが正
しいベクターを渡したときに送出するACK信号をAN
Dゲート12を介してANDゲート10に入力すること
でANDゲート10を開閉して、フリップフロップ5を
リセットするようにしている。これにより、自プロセッ
サが割込みベクター獲得アクセスに成功し、かつI/O
ボートからACK信号が返送されたときに限りフリップ
フロップ5がリセットされることになる。
However, if the processor sends its own panel ID later than the other processors by that time, there is no competing other panel ID, so the ID on the common bus 20 matches the own panel ID, Therefore, the common bus arbitration unit 3 outputs the WIN signal, and there is a possibility that the flip-flop 5 for interrupt bus access may be reset although the interrupt processing is not executed. Therefore, when the strictness of interrupt distribution is further enhanced, the priority bit IP is set to OF in the above case.
Since it should not be F, the ACK signal to be sent when the slave I / O board has passed the correct vector is AN.
The AND gate 10 is opened and closed by inputting it to the AND gate 10 via the D gate 12, and the flip-flop 5 is reset. As a result, the local processor succeeds in the access to obtain the interrupt vector, and the I / O
The flip-flop 5 is reset only when the ACK signal is returned from the boat.

【0050】図5には本発明のまた他の実施例としての
バス調停回路が示される。この実施例も前述の図4の実
施例と同様に、割込み分散の厳密性を一層期すようにし
たものである。
FIG. 5 shows a bus arbitration circuit as another embodiment of the present invention. Similar to the embodiment of FIG. 4 described above, this embodiment is designed to further ensure the strictness of interrupt distribution.

【0051】この実施例回路を図3の実施例回路と比較
すると、割込みレベルデコーダ19とANDゲート1
7、18を備え、ANDゲート18にはWIN信号とA
NDゲート17の出力信号が入力され、ANDゲート1
0への入力としてWIN信号の代わりにANDゲート1
8の出力信号が用いられていることが相違する。ここで
割込みレベルデコーダ18はCPU1のアドレスや制御
信号に基づいてCPUの割込み応答レベルを解読する回
路であり、ANDゲート17は割込みレベルデコーダ1
8で解読された割込み応答レベルと共通バス上の割込み
信号の割込み応答レベルとを比較し一致したときに
“1”を出力する回路である。
Comparing this embodiment circuit with the embodiment circuit of FIG. 3, the interrupt level decoder 19 and the AND gate 1
The AND gate 18 has a WIN signal and an A signal.
The output signal of the ND gate 17 is input to the AND gate 1
AND gate 1 instead of WIN signal as input to 0
The difference is that eight output signals are used. Here, the interrupt level decoder 18 is a circuit that decodes the interrupt response level of the CPU based on the address and control signal of the CPU 1, and the AND gate 17 is the interrupt level decoder 1.
This circuit compares the interrupt response level decoded in 8 with the interrupt response level of the interrupt signal on the common bus, and outputs "1" when they match.

【0052】このようにすると、割込みバス・アクセス
時にCPUの応答割込みレベルが共通バス上でアクティ
ブであるときだけ、プライオリティ・ビットIPを管理
するフリップフロップ5にリセット信号が入るようにな
る。したがって、割込みバス・アクセス時にスレーブの
I/Oボードが既に割込みベクターを他のプロセッサに
渡して割込み信号をOFFしていた場合には、ANDゲ
ート17での比較結果は不一致となるので、ANDゲー
ト18、10は閉じられ、フリップフロップ5のプライ
オリティ・ビットIPはリセットされない。
In this way, the reset signal comes into the flip-flop 5 which manages the priority bit IP only when the response interrupt level of the CPU is active on the common bus during the interrupt bus access. Therefore, when the slave I / O board has already passed the interrupt vector to another processor and turned off the interrupt signal at the time of accessing the interrupt bus, the comparison result in the AND gate 17 becomes a non-coincidence. 18, 10 are closed and the priority bit IP of flip-flop 5 is not reset.

【0053】[0053]

【発明の効果】以上に説明したように、本発明によれ
ば、ソフトウェアの走行状態等によらず、通常バス・ア
クセスと割込みバス・アクセスに対してそれぞれ独立に
バス使用の均等性が保証されるので、マルチプロセッサ
構成システムにおける各プロセッサに加わる負荷が均等
的に分散される。
As described above, according to the present invention, the equality of bus usage is guaranteed independently of normal bus access and interrupt bus access regardless of the running state of software. Therefore, the load applied to each processor in the multiprocessor configuration system is evenly distributed.

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

【図1】本発明に係る原理説明図である。FIG. 1 is a diagram illustrating the principle of the present invention.

【図2】本発明の一実施例としてのバス調停回路を示す
図である。
FIG. 2 is a diagram showing a bus arbitration circuit as an embodiment of the present invention.

【図3】実施例回路の動作フローを示した図である。FIG. 3 is a diagram showing an operation flow of an embodiment circuit.

【図4】本発明の他の実施例としてのバス調停回路を示
す図である。
FIG. 4 is a diagram showing a bus arbitration circuit as another embodiment of the present invention.

【図5】本発明のまた他の実施例としてのバス調停回路
を示す図である。
FIG. 5 is a diagram showing a bus arbitration circuit as another embodiment of the present invention.

【図6】マルチプロセッサ構成システムを示す図であ
る。
FIG. 6 is a diagram showing a multiprocessor configuration system.

【図7】従来のバス調停回路の動作フローを示した図で
ある。
FIG. 7 is a diagram showing an operation flow of a conventional bus arbitration circuit.

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

1 CPU(中央処理装置) 2 デコーダ 3 共通バス調停部 4 通常バス・アクセス用プライオリティ・ビットを管
理するフリップフロップ 5 割込みバス・アクセス用プライオリティ・ビットを
管理するフリップフロップ 6〜14、17 ANDゲート 15、16 ORゲート 20 共通バス
1 CPU (Central Processing Unit) 2 Decoder 3 Common Bus Arbitration Unit 4 Flip-Flop for Managing Priority Bits for Normal Bus Access 5 Flip-Flops for Managing Priority Bits for Interrupt Bus Access 6-14, 17 AND Gate 15 , 16 OR gate 20 common bus

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】 並列処理形マルチプロセッサ・システム
においてバス・アクセスの競合を調停するために各プロ
セッサに備えられたバス調停回路であって、 CPU(31)からの制御信号等を解読してその解読結
果に基づいてバス獲得を依頼するバス・リクエスト信号
とバス・アクセスが通常バス・アクセスか割込みバス・
アクセスかを判別するバス・アクセス判別信号とを生成
する解読部(32)と、 該バス・リクエスト信号を受信するとバス(36)に対
してバス獲得のためのバス調停をプライオリティ・ビッ
トを適宜行使しつつ実行するバス調停部(33)と、 該バス・アクセス判別信号に基づいて割込みバス・アク
セスに関して割込みバス・アクセス用プライオリティ・
ビットをセット/リセットする割込みバス・アクセス管
理部(34)と、 該バス・アクセス判別信号に基づいて通常バス・アクセ
スに関して通常バスアクセス用プライオリティ・ビット
をセット/リセットする通常バス・アクセス管理部(3
5)とを備えたバス調停回路。
1. A bus arbitration circuit provided in each processor for arbitrating bus access contention in a parallel processing type multiprocessor system, which decodes a control signal or the like from a CPU (31). The bus request signal that requests bus acquisition based on the decoding result and the bus access are normal bus access or interrupt bus
A decoding unit (32) that generates a bus access determination signal that determines whether it is an access, and when the bus request signal is received, bus arbitration for bus acquisition is applied to the bus (36) and priority bits are appropriately used. And a bus arbitration unit (33) for executing interrupt bus access priority based on the bus access determination signal.
An interrupt bus access management unit (34) that sets / resets a bit, and a normal bus access management unit (34) that sets / resets a priority bit for normal bus access for normal bus access based on the bus access determination signal ( Three
5) A bus arbitration circuit comprising:
【請求項2】 該割込みバス・アクセス管理部は、割込
みバス・アクセスによるバス獲得が失敗したときに割込
みバス・アクセス用プライオリティ・ビットをセット
し、成功したときにリセットするよう構成され、 該通常バス・アクセス管理部は、通常バス・アクセスに
よるバス獲得が失敗したときに通常バス・アクセス用プ
ライオリティ・ビットをセットし、成功したときにリセ
ットするよう構成された請求項1記載のバス調停回路。
2. The interrupt bus access management unit is configured to set a priority bit for interrupt bus access when bus acquisition by interrupt bus access fails and reset when the bus acquisition is successful. 2. The bus arbitration circuit according to claim 1, wherein the bus access management unit is configured to set the priority bit for normal bus access when the bus acquisition by the normal bus access fails and to reset it when it succeeds.
【請求項3】 該割込みバス・アクセス管理部は、割込
みバス・アクセスに対して該バスからACK信号を受信
したことを条件にして該割込みバス・アクセス用プライ
オリティ・ビットをリセットするように構成された請求
項1または2記載のバス調停回路。
3. The interrupt bus access management unit is configured to reset the interrupt bus access priority bit on condition that an ACK signal is received from the bus for the interrupt bus access. The bus arbitration circuit according to claim 1 or 2.
【請求項4】 CPUからの制御信号等に基づいて割込
みバス・アクセスの割込み応答レベルを解読する割込み
レベルデコーダと、 該割込みレベルデコーダからの割込み応答レベルとバス
上の割込み信号の割込み応答レベルとを比較する比較部
とを備え、 該割込みバス・アクセス管理部は該比較部の比較結果が
一致したことを条件にして該割込みバス・アクセス用プ
ライオリティ・ビットをリセットするように構成された
請求項1または2記載のバス調停回路。
4. An interrupt level decoder for decoding an interrupt response level of interrupt bus access based on a control signal from a CPU, an interrupt response level from the interrupt level decoder and an interrupt response level of an interrupt signal on the bus. The interrupt bus access management unit is configured to reset the interrupt bus access priority bit on condition that the comparison results of the comparison unit match. The bus arbitration circuit described in 1 or 2.
【請求項5】 並列処理形マルチプロセッサ・システム
においてバス・アクセスの競合を調停するバス調停方法
であって、 バス獲得のための機会を均等化するためのプライオリテ
ィ・ビットの管理を、スレーブボートからの割込み要求
に対する割込みバス・アクセスに際して行使する割込み
プライオリティ・ビットと、通常のバス・アクセスに際
して行使する通常プライオリティ・ビットとに分けて別
々に行うことを特徴とするバス調停方法。
5. A bus arbitration method for arbitrating bus access contention in a parallel processing multiprocessor system, wherein priority bit management for equalizing opportunities for bus acquisition is managed from a slave board. Bus arbitration method, which is characterized in that the interrupt priority bit used for interrupt bus access to the above interrupt request and the normal priority bit used for normal bus access are separately performed.
JP5112119A 1993-04-15 1993-04-15 Bus arbitration circuit Withdrawn JPH06301643A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5112119A JPH06301643A (en) 1993-04-15 1993-04-15 Bus arbitration circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5112119A JPH06301643A (en) 1993-04-15 1993-04-15 Bus arbitration circuit

Publications (1)

Publication Number Publication Date
JPH06301643A true JPH06301643A (en) 1994-10-28

Family

ID=14578664

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5112119A Withdrawn JPH06301643A (en) 1993-04-15 1993-04-15 Bus arbitration circuit

Country Status (1)

Country Link
JP (1) JPH06301643A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7778267B2 (en) 2001-04-17 2010-08-17 Samsung Electronics Co., Ltd. Bus system
JP2021105753A (en) * 2019-12-26 2021-07-26 Necプラットフォームズ株式会社 I2C bus communication device, I2C bus communication system, I2C bus communication method, and I2C bus communication program

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7778267B2 (en) 2001-04-17 2010-08-17 Samsung Electronics Co., Ltd. Bus system
JP2021105753A (en) * 2019-12-26 2021-07-26 Necプラットフォームズ株式会社 I2C bus communication device, I2C bus communication system, I2C bus communication method, and I2C bus communication program

Similar Documents

Publication Publication Date Title
US5996037A (en) System and method for arbitrating multi-function access to a system bus
US4980854A (en) Lookahead bus arbitration system with override of conditional access grants by bus cycle extensions for multicycle data transfers
US5862353A (en) Systems and methods for dynamically controlling a bus
US5111424A (en) Lookahead bus arbitration system with override of conditional access grants by bus cycle extensions for multicycle data transfer
EP0369264B1 (en) Multiprocessor system having distributed shared resources and deadlock prevention
US4947368A (en) Lookahead bus arbitration system with override of conditional access grants by bus cycle extensions for multicycle data transfers
US20010056515A1 (en) Method and apparatus for bus/arbitration with weighted bandwidth allocation
US20030135537A1 (en) Semaphore system based on process events
KR840003370A (en) Common bus use detection logic circuit of data processing system
JPH0625985B2 (en) Method and apparatus for ensuring proper access to system resources by a processor in a multiprocessor computer system
JPH0773137A (en) Method, adaptor and system for arbitration of multilevel bus
JPH1097490A (en) Method and device for distributing interruption without changing bus width or bus protocol in scalable symmetrical multiprocessor
US7890686B2 (en) Dynamic priority conflict resolution in a multi-processor computer system having shared resources
US5317696A (en) Bus arbitration scheme
JPH10143467A (en) Method and device for arbitrating bus ownership in data processing system
US5034883A (en) Lockhead bus arbitration system with override of conditional access grants by bus cycle extensions for multicycle data transfers
JP7233932B2 (en) Service request interrupt router for virtual interrupt service providers
US20040019722A1 (en) Method and apparatus for multi-core on-chip semaphore
JPH06301643A (en) Bus arbitration circuit
CN107678993B (en) Computer system and bus arbitration method
US6167478A (en) Pipelined arbitration system and method
JPH0352052A (en) Bus arbitration system for multi-cpu system
JPS6336545B2 (en)
JP3185737B2 (en) Bus arbiter control circuit
JP2001344195A (en) Multi-processor system and method of arbitrating exclusive control thereof

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20000704